Suppose I enter into a long trade via myOrder = SubmitOrder(0,OrderAction.Buy,OrderType.Market,5,0 ,0,"","Long");
So, once myOrder is filled, I am now long 5 units.
Later, if I do this,
ChangeOrder(myOrder,10,0,0);
What will happen? Will NT place a market order for five more units? Even though myOrder is already in a filled state?
If I do this
ChangeOrder(myOrder,1,0,0);
What will happen? NT cannot sell 9 (or 4) units because I have not specified how to sell them.
Nowhere in the NT documentation does it mention how order quantity affects filled orders. Am I missing something?
I want to dynamically change the order quantity (either increase or decrease), without having to manage a million unique IOrder orders (which would be fairly complex).
Thanks!
Comment