2025-04-02 07:09:29:472|1|32|Order='194103833191/DEMO724162' Name='' New state='Submitted' Instrument='ES 06-25' Action='Sell' Limit price=5642.75 Stop price=5641.75 Quantity=1 Type='Stop Limit' Time in force=DAY Oco='' Filled=0 Fill price=0 Error='No error' Native error='' 2025-04-02 07:09:29:472|1|16|OnOrderUpdateHandler triggered for OrderId: 194103833191 2025-04-02 07:09:29:472|1|16|Wrote order log entry to CSV: C:\Users\ASUS\Documents\NinjaTrader 8\GlefdarAutoTrader\NinjaTraderOrderIDLog.csv 2025-04-02 07:09:29:474|1|32|Order='194103833191/DEMO724162' Name='' New state='Accepted' Instrument='ES 06-25' Action='Sell' Limit price=5642.75 Stop price=5641.75 Quantity=1 Type='Stop Limit' Time in force=DAY Oco='' Filled=0 Fill price=0 Error='No error' Native error='' 2025-04-02 07:09:29:474|1|16|OnOrderUpdateHandler triggered for OrderId: 194103833191 2025-04-02 07:09:29:474|1|16|Wrote order log entry to CSV: C:\Users\ASUS\Documents\NinjaTrader 8\GlefdarAutoTrader\NinjaTraderOrderIDLog.csv 2025-04-02 07:09:29:475|1|32|Order='194103833191/DEMO724162' Name='' New state='Working' Instrument='ES 06-25' Action='Sell' Limit price=5642.75 Stop price=5641.75 Quantity=1 Type='Stop Limit' Time in force=DAY Oco='' Filled=0 Fill price=0 Error='No error' Native error='' 2025-04-02 07:09:29:475|1|16|OnOrderUpdateHandler triggered for OrderId: 194103833191 [snip] 2025-04-02 07:09:44:924|1|64|Instrument='ES 06-25' Account='DEMO724162' Average price=0 Quantity=0 Market position=Flat Operation=Remove 2025-04-02 07:09:46:654|1|1|ATI, 'CANCEL;;;;0;;0;0;;;194103833191;;' processing 2025-04-02 07:09:46:654|3|1|OIF, 'CANCEL;;;;0;;0;0;;;194103833191;;' order with ID/Name '194103833191' does not exist
Order='194103833191/DEMO724162' Name='' New state='Working' Instrument='ES 06-25' Action='Sell' Limit price=5642.75 Stop price=5641.75 Quantity=1 Type='Stop Limit' Time in force=DAY Oco='' Filled=0 Fill price=0 Error='No error' Native error=''
This seems completely insane to me. What am I missing? Is there a simple, straightforward answer for what the ID parameter needs to contain instead of "194103833191" to make the cancellation process correctly instead of returning "order with ID/Name does not exist"?

Comment