This comes from the following post regarding connecting TradingView alerts to IBKR with Python
BUT ALAS, there is a slight hiccup in the plans. This don’t auto-trade
tradingview.com/support/solutions/43000481026-how-to-autotrade-using-pine-script-strategies/
How to autotrade using Pine Script strategies
Strategy trading is limited to the backtesting mode only. Automated strategy trading with a brokerage account is not available on TradingView yet. We are considering implementing this in the future.
ARRGHH!!! This means you will need to set up an alert to manually trade it which is delivered by SMS or Email. You could post to a HTTP to trigger an event which will then execute the trade.
The latest status:
reddit.com/r/TradingView/comments/12empdb/strategy_trading_automation/
Here is a solution from someone
Here is the Python source code which is not proper to the video
github.com/Jake0303/InteractiveBrokersPythonBot
Better
https://github.com/hackingthemarkets/tradingview-interactive-brokers/tree/main/templates
Comentarios