EnterShort at : 2024-05-15 10:26:00 AM at price 18531.25
Strategy 'AlgoTEST/327195422': Entered internal SubmitOrderManaged() method at 2024-05-15 10:25:45 AM: BarsInProgress=0 Action=SellShort OrderType=Market Quantity=1 LimitPrice=0 StopPrice=0 SignalName='MyShort1' FromEntrySignal=''
The most current order state is: Submitted
EXIT SHORT at 2024-05-15 10:26:00 AM at price 18531.5 Entry Price WAS 0 High[0] > BollDefault.Middle[0] 18538.5 18520.9761904762
Strategy 'AlgoTEST/327195422': Entered internal SubmitOrderManaged() method at 2024-05-15 10:25:45 AM: BarsInProgress=0 Action=BuyToCover OrderType=Market Quantity=1 LimitPrice=0 StopPrice=0 SignalName='ExitShort1' FromEntrySignal='MyShort1'
Strategy 'AlgoTEST/327195422': Ignored SubmitOrderManaged() method at 2024-05-15 10:25:45 AM: BarsInProgress=0 Action=BuyToCover OrderType=Market Quantity=1 LimitPrice=0 StopPrice=0 SignalName='ExitShort1' FromEntrySignal='MyShort1' Reason='This was an exit order but no position exists to exit'
The most current order state is: Accepted
The most current order state is: Working
The most current order state is: Filled
I've bolded some key concern areas. My questions are:
1. How / why might an order get stuck at Submitted and what can I do to identify and address this in strategy logic?
2. ExitShort fired (which it likely shouldn't have given enter appears to not have completed). But a trace on Order using protected override void OnOrderUpdate suggests something went through order states right up to filled. If EnterShort didn't conclude, and Trace suggests ExitShort failed, how did order state get to "Filled".
ADDITION: FYI, Just noticed Position.MarketPosition is Flat at the end of this.
Help! And thank you.

Comment