Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Quantity in trade ?
Collapse
X
-
Quantity in trade ?
As soon as possible after an "EnterLong()" order has been filled, I'd like to submit an "ExitLongLimit()" order. So, where is the best place to put that limit order? In "OnBarUpdate()", "OnOrderUpdate", "OnExecutionUpdate()", someplace else? Moreso, I want its quantity to be for all of the contracts that were filled as a result of that "EnterLong()" order (eg, this should be flexible regarding partial fills). So, where is the best place to find that quantity, in "OnBarUpdate()", "OnOrderUpdate", "OnExecutionUpdate()", someplace else?Tags: None
-
Hello spottysallrite,
OnExecutionUpdate() would be the method that runs the moment the entry order fills and would be an appropriate place to submit exit orders.
Below are links to examples.
Hello, I see in the documentation you have fixed: 15048 Added Adapter, Rithmic Updated Rithmic API to version 11.3.0.0 Can you elaborate on that please? Will OnOrderUpdate() OnExecutionUpdate() and OnPositionUpdate() be called in the expected order?
The execution.Quantity would be the amount filled for this execution.Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
91 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
137 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
68 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
121 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
72 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|
Comment