Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
EnterLongLimit and EnterShortLimit fail
Collapse
X
-
Hello ipso33,
Yes, you can enable TraceOrders = true; in the strategies Initialize() method, and view output related to this using Tools > Output window. You are likely running into internal order handling rules, detailed here:Originally posted by ipso33 View Post
-
EnterLongLimit and EnterShortLimit fail
Hi,
Can anyone let me know as to in what circumstances EnterLongLimit and EnterShortLimit can fail? I'm very often getting nulls from those functions. Is there any programmatic way of getting more details as to what exactly fails?
I've got the default (1 minute) and 4 additional (daily) series. Every day I select one of these daily series and submit a limit order i.e.
EnterShortLimit(seriesIndex , true, contract, price, "short_entry");
Quite often a null is returned and there doesn't seem to be any information what went wrong.
Any help much appreciated
Cheers,
IpsoTags: None
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
33 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
117 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
70 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
228 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
312 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|

Leave a comment: