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 charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
55 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
142 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
160 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
96 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
276 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment