What is the difference between OrderAction.BuyToCover and OrderAction.Buy in unmanaged code?
Example:
1. Position is Flat
2. Submit Order OrderAction.Sell @ 1
3. I am 1 contract short
In order to reverse the position, what should I do?
a) Submit Order OrderAction.Buy @ 2
Or
b) Submit Order OrderAction.BuyToCover @ 1 and then Submit Order OrderAction.Buy @ 1
In other words, when do I have to use OrderAction.BuyToCover / OrderAction.SellShort?
Thanks.
Comment