I am using your SampleOnOrderUpdate example in one script but it does not work properly yet.
Is there any substancial difference between define only entryOrder, stopOrder and targetOrder and later in OnExecutionUpdate break up longs and shorts entries through Market.Position method or it is better using entryLongOrder, entryShortOrder, stopLongOrder etc... from the beginning?
Thanks
Comment