I created two different uniq orders and marked ordersperdireciton to 2 and sometimes I get one order hanging... I think its an issue with quanity. I was looking for a good example
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Example of opening 2 orders and leaving one runner
Collapse
X
-
Example of opening 2 orders and leaving one runner
Hi i was wondering if we have an example of how to submit 2 orders for example in strategy and leave one as a runner?
I created two different uniq orders and marked ordersperdireciton to 2 and sometimes I get one order hanging... I think its an issue with quanity. I was looking for a good exampleTags: None
-
Hello tkaboris,
Without more specific details I would not be able to say why that may have happened.
To have targets for each entry you would need to use unique signal names so you have unique targets for each entry.
There is not a specific sample that I can suggest that shows entering multiple orders and leaving one running, you can see the documentation for EntriesPerDirection and EntryHandling which give general guidelines on how to place orders in the same direction.
Comment
-
HI it happened again in live market, and it doesnt happen in market replay.
I attach trace and log portion where it opened 2 sell orders at 11:04
I have two limit orders, one hits and when first limit order hits, second order moves to break even. For some reason if i remember when order moves to breakeven it held 2 orders instead of one.
I was wondering if you have a minute to see if there is anything that jumps at you for the error?Attached Files
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
39 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
124 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
64 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
41 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment