OnPositionClosed & Close events not consistent
Created at 15 Jun 2017, 13:05
OnPositionClosed & Close events not consistent
15 Jun 2017, 13:05
Hey Guys :)
If i understood right OnPositionClosed is for positions the bot has opened and Position.Close fired when any position is closed.
I have some code that open and closes positions in the OnPositionClosed* and also in Position.Close.
In the long run I see that the OnPositionClosed* and also in Position.Close are not called for each position that was closed.
I wanted to know, if this because something I did wrong? or it something that happens and I should relay on OnTick even for my logic?
Thanks!!