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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
67 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
36 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
60 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
62 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
53 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment