![]() |
|
|||||||
| Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Apr 2006
Location: Toronto
Posts: 1,321
Thanks: 1
Thanked 7 times in 7 posts
|
please provide syntax for ChangeOrder() in beta 10
not in documentation/help |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
ChangeOrder(IOrder order, int quantity, double limitPrice, double stopPrice)
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Apr 2006
Location: Toronto
Posts: 1,321
Thanks: 1
Thanked 7 times in 7 posts
|
thanks Josh
|
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Jan 2009
Posts: 124
Thanks: 0
Thanked 1 time in 1 post
|
Josh,
I also have a question regarding ChangeOrder. Is ChangeOrder an amend request OR is it a Cancel-New order? Essentially I'd like to know if the change request gets rejected for some reason, will the original order still be active/working? It is my understanding that rejected amend requests will leave the original order in tact while cancel-new rejections will not. To clarify, these are two types of ChangeOrders, I just want to know how NT has programmed this method 'under the hood', in order to properly protect my positions. thanks! |
|
|
|
|
The following user says thank you to jonmoron for this post: |
|
|
|
#5 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
It is a change-request not a cancel-new. I believe your understanding is correct, but you may need to test it to be sure we are on the same page. You can just run in a simulator and submit a change that is invalid and see how it behaves.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Jan 2009
Posts: 124
Thanks: 0
Thanked 1 time in 1 post
|
Unfortunately my tests are showing something different...can i get verification from someone else or from someone at NT regarding this?
Will rejected ChangeOrders result in the original order to be working or not? Simple question. Any insight? |
|
|
|
|
|
#7 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
>> Will rejected ChangeOrders result in the original order to be working or not?
yes
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#8 |
|
Senior Member
Join Date: Dec 2007
Posts: 310
Thanks: 0
Thanked 5 times in 3 posts
|
|
|
|
|
|
|
#9 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
monpere,
If you have a working order already in working, you send a ChangeOrder, the change is not accepted, you are still left with the original state of working.
Josh
NinjaTrader Customer Service |
|
|
|
|
The following user says thank you to NinjaTrader_Josh for this post: |
|
| Thread Tools | |
| Display Modes | |
|
|