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 CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
475 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
316 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
253 views
1 like
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
340 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
305 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
Comment