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 SalmaTrader, 07-07-2026, 10:26 PM
|
0 responses
35 views
0 likes
|
Last Post
by SalmaTrader
07-07-2026, 10:26 PM
|
||
|
Started by CarlTrading, 07-05-2026, 01:16 PM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
07-05-2026, 01:16 PM
|
||
|
Started by CaptainJack, 06-17-2026, 10:32 AM
|
0 responses
12 views
0 likes
|
Last Post
by CaptainJack
06-17-2026, 10:32 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:15 AM
|
0 responses
18 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:15 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:06 AM
|
0 responses
20 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:06 AM
|

Comment