I am stumped as to what i have done wrong. I have tried another 5 times over the last hour and it has not worked, and i havent changed anything since i last got it to work. Then a few hours later if i try - it may work. MSFT), the JSON webhook registers on the asyncio message checker, the Redis database and the flask application with no errors, but again no order is processed in TWS and nothing in the API Log file. If i then try to test send a different stock ticker (e.g. If i try to send another JSON webhook order through Insominia, or automatically triggered by the Tradingview Webhook the order is registered in everything except TWS and nothing is recorded in the TWS API log. When i trial the API using Insomnia REST sending a JSON webhook Stock MKT order (AAPL) it sends through to TWS perfectly and records in the API Log. I have the webhook alerts working, sending data to a database, and also triggering a asyncio message checker, Redis database and registering on the Flask application successfully with no error messages. ![]() I have consumed a lot of time trying to resolve why TWS API is only executing one order, and not others received and cannot work out the problem nor solution (as i still have a lot to learn). I am trying to implement a Tradingview/Interactive Brokers API using IB-Insync to automatically place orders with Interactive Brokers TWS via tradingview webhook alerts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |