Doing something dumb, but I'm trying to assign the value generated in iExecution related to market position in a variable for later processing.
I'm trying the following in the iExecution section:
protected override void OnExecution(IExecution execution) { trade_TypeofTrade = execution.MarketPosition; }
If I want to store the execution.MarketPosition variable, what would be the correct code?
Thanks in advance!
Comment