Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy error in Log -- what is it?
Collapse
X
-
For those following this thread, Dierk said that he found a bug in the core NT code, which will be corrected soon.
One question though, Dierk: You said the error happened with the CancelOrder event. Did the error prevent the CancelOrder code from executing an OnOrderUpdate call? Because if that's the case and that will be corrected in the next release, then my strategy should work again after the release. If not, then I have another problem with something not calling OnOrderUpdate properly.
Thanks!
BryanLast edited by cassb; 04-23-2008, 09:05 PM.
Comment
-
Hey... I just discovered something. What's this order state mean:
Order='e...f/Sim101' Name='TestShort' New State=PendingChange Instrument='YM 06-08' Action=SellShort Limit price=0 Stop price=12908 Quantity=4 Type=Stop Filled=0 Fill price=0 Error=NoError Native error=''
It seems like when I already have an accepted order, and then place another order with the same IOrder name, it comes up with this order state and then automatically cancels the old older and places the new one. So I don't need to cancel the old order manually at all! What a revelation. I guess I don't need to wait for the fix to CancelOrder after all.
Bryan
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
659 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
374 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
109 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
574 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
579 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment