How can I get my position entry price using for a position that was executed with the EnterLong command?
I have tried the following, however, the realEntryPrice value was set to zero. Am I doing something wrong or is it because I'm using a demo account?
IOrder _realEntryOrder = EnterLong(); double _realEntryPrice = _realEntryOrder.AvgFillPrice;
IOrder _realExitOrder = ExitLong(); double _realExitOrder = ExitShort();
Comment