I'm implementing an automated trading system using the file interface.
I have no problem sending orders with OIFs using the PLACE command and tracking/managing their state using the Order State Files (OSF) and other OIF commands.
In my system, I have my own "Order State Life Cycle" (OSLC) implemented, that is maintained for every entry order sent by a local strategy.
I want to use some existing ATM strategies I have on the NT platform, on entry orders sent through my local system, however I still want my system to be able to track the positions that were opened by a specific entry order (the local strategy's position). The problem is that the orders managed by an ATM strategy, for example the stop market of an Auto Trail Stop Strategy, have an internally generated Order Id and thus my system cannot determine the OSF relating to these orders i.e. I cannot maintain my local OSLC.
Is there some way for me to track the state of orders managed by ATM strategies through the file interface?
Thanks In Advance

Comment