TradeManager IOrders problem

Questions about MultiCharts .NET and user contributed studies.
franky
Posts: 24
Joined: 25 Nov 2012
Has thanked: 4 times
Been thanked: 4 times

TradeManager IOrders problem

Postby franky » 28 May 2014

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
Attachments
_trademanagerProblem.pln
(2.14 KiB) Downloaded 453 times

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: TradeManager IOrders problem

Postby Henry MultiСharts » 29 May 2014

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.


Return to “MultiCharts .NET”