When reducing the size again, it appears that Chart Trader loops through each open order, newest to oldest, and cancels each order until it get's to the correct orders size. And if the last open order is still greater than the provided quantity it will update that order with the requested quantity. Is this the correct logic used?
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Chart Trader - adjusting size through order flag logic
Collapse
X
-
Chart Trader - adjusting size through order flag logic
When adjusting an open limit order size through the Chart Trader flag, it appears that separate orders are created instead of updating the existing open order. Is there a specific reason for that?
When reducing the size again, it appears that Chart Trader loops through each open order, newest to oldest, and cancels each order until it get's to the correct orders size. And if the last open order is still greater than the provided quantity it will update that order with the requested quantity. Is this the correct logic used?Tags: None
-
Hello martyn73, thanks for your post.
NT is designed to submit a new order for increasing quantity, thats just the design pattern we used. If you would like I can submit a feature request to add an option to modify the existing order. For stock trading, there is a setting in the Chart Trader properties that lets you pick to modify the preexisting order instead of submitting a new order for stocks if you are trading stocks.
Kind regards.Chris L.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by nandhumca, Yesterday, 03:41 PM
|
1 response
12 views
0 likes
|
Last Post Today, 06:27 AM | ||
Started by The_Sec, Yesterday, 03:37 PM
|
1 response
11 views
0 likes
|
Last Post Today, 06:17 AM | ||
Started by vecnopus, Today, 06:15 AM
|
0 responses
1 view
0 likes
|
Last Post
by vecnopus
Today, 06:15 AM
|
||
Started by Aviram Y, Today, 05:29 AM
|
0 responses
5 views
0 likes
|
Last Post
by Aviram Y
Today, 05:29 AM
|
||
Started by quantismo, 04-17-2024, 05:13 PM
|
3 responses
27 views
0 likes
|
Last Post Today, 05:23 AM |
Comment