Back to browse
Python script to place order on Interactive Brokers
write a python program to take a webhook from trading view in this format {"Action": "Buy", "Ticker": "AAPL", "Price": 370} and place an order on Interactive B…
Added May 19, 20260 views0 copies
Prompt
write a python program to take a webhook from trading view in this format
{"Action": "Buy", "Ticker": "AAPL", "Price": 370}
and place an order on Interactive Brokers. Take relevant values from the webhook and place the order with 30% of the account balanceReplace text in [BRACKETS] with your own values before pasting.