Hello everyone,
I sometimes get the following error from Order and Position Trackers Windows
"Order rejected: Multicharts generate the order but was not able to send it because TWS API returned that the connection was broken".
Question: since by looking at File/Broker profiles, Interactive Brokers appears connected and data feed on charts is presente, is there anyway to realzie the API connection is broken BEFORE Multicharts tries to send an order?
Thanks
Order rejected TWS API connection broken [SOLVED]
- TJ
- Posts: 7745
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2224 times
- TJ
- Posts: 7745
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2224 times
Re: Order rejected TWS API connection broken
I am sure the data was present when you looked . . .Thanks TJ, I'll try it even if, as said, real time data are present
-
- Posts: 1
- Joined: 10 Aug 2018
Re: Order rejected TWS API connection broken
Hello everyone,
same problem for me.
If I close and reopen the platform, the problem is solved (but only temporarily)
same problem for me.
If I close and reopen the platform, the problem is solved (but only temporarily)
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Order rejected TWS API connection broken [SOLVED]
This is something we have improved in MultiCharts 12 Release 2:
Interactive Brokers: solved false error “MultiCharts generated the order, but was not able to send it because TWS API returned that the connection was broken” that may appear while the connection was ok.
Interactive Brokers: solved false error “MultiCharts generated the order, but was not able to send it because TWS API returned that the connection was broken” that may appear while the connection was ok.
Re: Order rejected TWS API connection broken
Hello Henry, thanks.
However I'm talking about a situation where everything seems fine, datafeed is present and MC is connected to the TWS but whenever an order is sent, the error message appears and the order is NOT actually sent to the TWS (or does not reach TWS)
However I'm talking about a situation where everything seems fine, datafeed is present and MC is connected to the TWS but whenever an order is sent, the error message appears and the order is NOT actually sent to the TWS (or does not reach TWS)
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Order rejected TWS API connection broken
Leo, that's the exact issue we have resolved in MultiCharts 12 Release 2.