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
No announcement yet.
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.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
46 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
67 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
35 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
95 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
59 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment