Hi
After the order is filled , immediately Cancellation request has been triggered for the evaluation accounts only, this is not happening with the Sim accounts.
I am using Bluenox propfirm
Order filled log
2024-08-22 08:46:18:950|1|32|Order='1923628038/BX37460-10' Name='Stop1 ' New state='Accepted' Instrument='MNQ SEP24' Action='Sell' Limit price=0 Stop price=0 Quantity=1 Type='Market' Time in force=DAY Oco='rm-6e34daa0005541ae8b4434bf4165f327-BX37460-10' Filled=0 Fill price=0 Error='No error' Native error='' 2024-08-22 08:46:18:951|1|32|Order='1923628038/BX37460-10' Name='Stop1 ' New state='Cancel submitted' Instrument='MNQ SEP24' Action='Sell' Limit price=0 Stop price=0 Quantity=1 Type='Market' Time in force=DAY Oco='rm-6e34daa0005541ae8b4434bf4165f327-BX37460-10' Filled=0 Fill price=0 Error='No error' Native error='' 2024-08-22 08:46:18:969|1|32|Order='1923628038/BX37460-10' Name='Stop1 ' New state='[B]Filled[/B]' Instrument='MNQ SEP24' Action='Sell' Limit price=0 Stop price=0 Quantity=1 Type='Market' Time in force=DAY Oco='rm-6e34daa0005541ae8b4434bf4165f327-BX37460-10' Filled=1 Fill price=19954.25 Error='No error' Native error=''
2024-08-22 08:46:19:216|1|32|Order='1923628038/BX37460-10' Name='Stop1 ' New state='Filled' Instrument='MNQ SEP24' Action='Sell' Limit price=0 Stop price=0 Quantity=1 Type='Market' Time in force=DAY Oco='rm-6e34daa0005541ae8b4434bf4165f327-BX37460-10' Filled=1 Fill price=19954.25 Error='[B]Unable to cancel order' Native error='[COLOR=#e74c3c]Cancellation rejected by the Order Management System - Order is complete. Further cancellations on this order may lead to logoff/disable[/COLOR][/B]'
Attaching full logs , this happened 2-3 times today morning, one instance is at 2024-08-22 08:46
I have 10 accounts BX37460-1 thru 10, its happening same with all the accounts.
from the addon I am only placing market order for sell or buy, no ATM strategy used.
Code to create and submit order.
Order myOrder= account.CreateOrder(newInstrument, orderAction, orderType, OrderEntry.Manual, TimeInForce.Day, quantity, limitPrice, stopPrice, oco1, name, Core.Globals.MaxDate, null);
account.Submit(new[] { myOrder});
I haven't coded anything for cancellation, not sure why its being triggering cancellation that too specific to propfirm eval accounts..
Please advice..

Comment