I'm having problem using the IOrders from TradeManager. How come this code can't work all the time ? (.net 8.8 build 9191)
When the strategy is added, I should receive the list of orders but I don't get it all the times ?
Same things when the strategy is turn off, the list of orders should be output ... but it's not or it's out partially ?
I'm using CQG with API 6.00.7
Thanks
TradeManager IOrders problem
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: TradeManager IOrders problem
Hello franky,
There is some odd filter for accounts in your code - "MyAccount".
Usually CQG accounts do not have such name.
If you indeed have such account name then make sure the chart is updating frequently enough or you have IOG turned on for the signal to call TradeManager.ProcessEvents() to receive the updates.
There is some odd filter for accounts in your code - "MyAccount".
Usually CQG accounts do not have such name.
If you indeed have such account name then make sure the chart is updating frequently enough or you have IOG turned on for the signal to call TradeManager.ProcessEvents() to receive the updates.