Template works fine on sim account but not on live
06.10.2020 15.56

Algorithmic Trading with NinjaTrader

Rick

Im using the template code from the course with basic settings. It works fine for how I want to trade it the only problem is on a live account it never sets profits and targets but on sim it does it. I looked couldn't fix it so I figured I ask here. (Thanks for the course it has been amazing looking forward to the next one!)


10/5/2020 12:06:00 PM Strategy ' Architect2 V1.1/204101380': Entered internal SubmitOrderUnmanaged() method at 10/5/2020 12:06:00 PM: BarsInProgress=0 Action=Buy OrderType=Market Quantity=3 LimitPrice=0 StopPrice=0 SignalName='Long'
10/5/2020 12:06:00 PM Strategy ' Architect2 V1.1/204101380': Entered internal SubmitOrderUnmanaged() method at 10/5/2020 12:06:00 PM: BarsInProgress=0 Action=Sell OrderType=StopMarket Quantity=3 LimitPrice=0 StopPrice=11410.25 SignalName='Stop Long'
10/5/2020 12:06:00 PM Strategy ' Architect2 V1.1/204101380': Entered internal SubmitOrderUnmanaged() method at 10/5/2020 12:06:00 PM: BarsInProgress=0 Action=Sell OrderType=Limit Quantity=1 LimitPrice=11446.50 StopPrice=0 SignalName='Profit Long 1'
10/5/2020 12:06:00 PM Strategy ' Architect2 V1.1/204101380': Entered internal SubmitOrderUnmanaged() method at 10/5/2020 12:06:00 PM: BarsInProgress=0 Action=Sell OrderType=Limit Quantity=2 LimitPrice=11452.75 StopPrice=0 SignalName='Profit Long 2'
10/5/2020 12:22:00 PM Strategy ' Architect2 V1.1/204101380': Cancelled custom managed order: orderId='NT-00088-3711' account='LL004851-001' name='Stop Long' orderState=Working instrument='NQ 12-20' orderAction=Sell orderType='Stop Market' limitPrice=0 stopPrice=11410.25 quantity=3 tif=Gtc oco='' filled=0 averageFillPrice=0 onBehalfOf='' id=-1 time='2020-10-05 12:06:00' gtd='2099-12-01' statementDate='2020-10-06'
10/5/2020 12:22:00 PM Strategy ' Architect2 V1.1/204101380': Entered internal SubmitOrderUnmanaged() method at 10/5/2020 12:22:00 PM: BarsInProgress=0 Action=Sell OrderType=StopMarket Quantity=2 LimitPrice=0 StopPrice=11410.25 SignalName='Stop Long'
10/5/2020 12:24:00 PM Strategy ' Architect2 V1.1/204101380': Cancelled custom managed order: orderId='NT-00091-3711' account='LL004851-001' name='Stop Long' orderState=Working instrument='NQ 12-20' orderAction=Sell orderType='Stop Market' limitPrice=0 stopPrice=11410.25 quantity=2 tif=Gtc oco='' filled=0 averageFillPrice=0 onBehalfOf='' id=-1 time='2020-10-05 12:22:00' gtd='2099-12-01' statementDate='2020-10-06'
10/5/2020 12:24:00 PM Strategy ' Architect2 V1.1/204101380': Entered internal SubmitOrderUnmanaged() method at 10/5/2020 12:24:00 PM: BarsInProgress=0 Action=Sell OrderType=StopMarket Quantity=2 LimitPrice=0 StopPrice=11430.25 SignalName='Stop Long'
10/5/2020 1:20:00 PM Strategy ' Architect2 V1.1/204101380': Cancelled custom managed order: orderId='NT-00090-3711' account='LL004851-001' name='Profit Long 2' orderState=Working instrument='NQ 12-20' orderAction=Sell orderType='Limit' limitPrice=11452.75 stopPrice=0 quantity=2 tif=Gtc oco='' filled=0 averageFillPrice=0 onBehalfOf='' id=-1 time='2020-10-05 12:06:00' gtd='2099-12-01' statementDate='2020-10-06'