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 NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
65 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
139 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
75 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
50 views
0 likes
|
Last Post
|
Comment