I'm setting the Strategy Properties > Trade Size > Fixed Shares/Contracts.
How can I then access this value in code?
I've tried:
Code: Select all
Contracts.Default.Contract
but it returns 0.
I've also tried:
Code: Select all
_longMO = OrderCreator.MarketNextBar(new SOrderParameters(Contracts.Default, "LongMO", EOrderAction.Buy));
...
_longMO.Send();
...
_longMO.Info.Contracts.Contract
Many thanks,
Ed