Here is a snippet of the output for the LONG and FLAT request:
LOMTestStrategy01 60 INST(CL 08-15) Time: 7/15/2015 6:14:01 PM MarkPos: Flat OSS: 1 CSS: 0 MESSAGE: OnOrderUpdate: PROCESSING: orderId='NT-00000-254' account='Sim101' name='GoLongMarket0' orderState=Submitted instrument='CL 08-15' orderAction=Buy orderType='Market' limitPrice=0 stopPrice=0 quantity=1 tif=Gtc oco='ENTER0__48559767_1' filled=0 averageFillPrice=0 id=-1 gtd='2099-12-01' [A=51.4400 B=51.4400 C=51.4400]
LOMTestStrategy01 60 INST(CL 08-15) Time: 7/15/2015 6:14:01 PM MarkPos: Flat OSS: 1 CSS: 0 MESSAGE: OnOrderUpdate: PROCESSING: orderId='NT-00000-254' account='Sim101' name='GoLongMarket0' orderState=Accepted instrument='CL 08-15' orderAction=Buy orderType='Market' limitPrice=0 stopPrice=0 quantity=1 tif=Gtc oco='ENTER0__48559767_1' filled=0 averageFillPrice=0 id=-1 gtd='2099-12-01' [A=51.4400 B=51.4400 C=51.4400]
LOMTestStrategy01 60 INST(CL 08-15) Time: 7/15/2015 6:14:01 PM MarkPos: Flat OSS: 1 CSS: 0 MESSAGE: OnOrderUpdate: PROCESSING: orderId='NT-00000-254' account='Sim101' name='GoLongMarket0' orderState=Working instrument='CL 08-15' orderAction=Buy orderType='Market' limitPrice=0 stopPrice=0 quantity=1 tif=Gtc oco='ENTER0__48559767_1' filled=0 averageFillPrice=0 id=-1 gtd='2099-12-01' [A=51.4400 B=51.4400 C=51.4400]
LOMTestStrategy01 CL 08-15 LocalOrderSubmitted: orderId='NT-00000-254' account='Sim101' name='GoLongMarket0' orderState=Working instrument='CL 08-15' orderAction=Buy orderType='Market' limitPrice=0 stopPrice=0 quantity=1 tif=Gtc oco='ENTER0__48559767_1' filled=0 averageFillPrice=0 id=-1 gtd='2099-12-01'
LOMTestStrategy01 60 INST(CL 08-15) Time: 7/15/2015 6:14:01 PM MarkPos: Flat OSS: 1 CSS: 0 MESSAGE: OnOrderUpdate: PROCESSING: orderId='NT-00000-254' account='Sim101' name='GoLongMarket0' orderState=Filled instrument='CL 08-15' orderAction=Buy orderType='Market' limitPrice=0 stopPrice=0 quantity=1 tif=Gtc oco='ENTER0__48559767_1' filled=1 averageFillPrice=51.45 id=-1 gtd='2099-12-01' [A=51.4400 B=51.4400 C=51.4400]
LOMTestStrategy01 60 INST(CL 08-15) Time: 7/15/2015 6:14:01 PM MarkPos: Flat OSS: 1 CSS: 0 MESSAGE: OnExecute: PROCESSING: orderId='NT-00000-254' account='Sim101' name='GoLongMarket0' orderState=Filled instrument='CL 08-15' orderAction=Buy orderType='Market' limitPrice=0 stopPrice=0 quantity=1 tif=Gtc oco='ENTER0__48559767_1' filled=1 averageFillPrice=51.45 id=-1 gtd='2099-12-01' OrderState=Filled [A=51.4400 B=51.4400 C=51.4400]
============================================= Try to Go Flat =============
7/15/2015 6:16:10 PM Strategy 'LOMTestStrategy01/48559767': Entered internal SubmitOrderUnmanaged() method at 7/15/2015 6:16:10 PM: BarsInProgress=0 Action=Sell OrderType=Market Quantity=1 LimitPrice=0 StopPrice=0 SignalName='ExitMarketLong0'
LOMTestStrategy01 70 INST(CL 08-15) Time: 7/15/2015 6:16:10 PM MarkPos: Long OSS: 0 CSS: 0 MESSAGE: OnOrderUpdate: PROCESSING: orderId='NT-00003-256' account='Sim101' name='ExitMarketLong0' orderState=Submitted instrument='CL 08-15' orderAction=Sell orderType='Market' limitPrice=0 stopPrice=0 quantity=1 tif=Gtc oco='EXIT0__48559767_3' filled=0 averageFillPrice=0 id=-1 gtd='2099-12-01' [A=51.4600 B=51.4600 C=51.4600]
LOMTestStrategy01 70 INST(CL 08-15) Time: 7/15/2015 6:16:10 PM MarkPos: Long OSS: 0 CSS: 0 MESSAGE: OnOrderUpdate: PROCESSING: orderId='NT-00003-256' account='Sim101' name='ExitMarketLong0' orderState=Accepted instrument='CL 08-15' orderAction=Sell orderType='Market' limitPrice=0 stopPrice=0 quantity=1 tif=Gtc oco='EXIT0__48559767_3' filled=0 averageFillPrice=0 id=-1 gtd='2099-12-01' [A=51.4600 B=51.4600 C=51.4600]
LOMTestStrategy01 70 INST(CL 08-15) Time: 7/15/2015 6:16:10 PM MarkPos: Long OSS: 0 CSS: 0 MESSAGE: OnOrderUpdate: PROCESSING: orderId='NT-00003-256' account='Sim101' name='ExitMarketLong0' orderState=Working instrument='CL 08-15' orderAction=Sell orderType='Market' limitPrice=0 stopPrice=0 quantity=1 tif=Gtc oco='EXIT0__48559767_3' filled=0 averageFillPrice=0 id=-1 gtd='2099-12-01' [A=51.4600 B=51.4600 C=51.4600]
Comment