I'm trying to obtain information about a running strategy and the account.
I have a strategy running, and in paralell I put an indicator sending messages to me when a new order is sent.
I do get the information from the strategy (direction, volume and position of the strategy), but when I try to get the information from the account it doesn't work to me.
Is because I'm doing it from an indicator?, should I do it from a strategy?
I'm running the strategy on the main instrument (YM) in SIM, and sending the real orders to MYM..., because of that I have to check both the strategy and the real account.
Thanks!
Comment