I am trying to write a business layer object to recall details about an ATM strategy and it's orders from a running strategy. I call an ATM from the strategy but can't get back the price of a stop or target. It may have moved interactively by the user. The orderid and atmid are not easily accessible in NT's database.
Neither GetAtmStrategyEntryOrderStatus nor GetAtmStrategyStopTargetOrderStatus gives you the current price of the orders.
I found this archived post from a Ninjatrader programmer that claims orderID is in the userdata field but stored as a BLOB.
OrderID not used? [Archive] - NinjaTrader Support Forum (
So the question is does anybody know how to get the orderID out of field nt_order.userdata from Ninja's db NinjaTrader.sdf?
PS - I'd also like to be able to dynamically set the quantity of an ATM before entering the market with the strategy.