Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Major Problem
Collapse
X
-
Major Problem
As Murphys law goes, something went wrong today, the first day I was not only live but not around to watch. Basically the stradegy had an error and quit, leaving me an open position. As I understood the documentation, when a stradegy errors, the positions are exited, not left open. Is there someone I can send the logs too and see what happened?Tags: None
-
Originally posted by NinjaTrader_Ray View PostCan you point to where in the Help Guide is stated positions are exited? For sure, any working orders should be cancelled.
Sure:
Error handling - Stop, cancel and close
It is a fact that during live operation of a NinjaScript strategy, orders can return errors. These errors can be things like order rejection due to insufficient margin, exchange is shut down, unable to cancel or modify an order. When a NinjaScript strategy detects an order error it will immediately terminate itself, send cancel requests for all working strategy submitted orders and close any current strategy positions.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by ninza33, Today, 07:16 AM
|
0 responses
1 view
0 likes
|
Last Post
by ninza33
Today, 07:16 AM
|
||
Started by linkcou, Today, 07:01 AM
|
0 responses
3 views
0 likes
|
Last Post
by linkcou
Today, 07:01 AM
|
||
Started by brunoviveiros, 02-17-2020, 05:31 AM
|
4 responses
63 views
0 likes
|
Last Post Today, 06:25 AM | ||
Started by volIQ, 03-27-2024, 04:28 PM
|
3 responses
21 views
0 likes
|
Last Post
by RJay
Today, 05:41 AM
|
||
Started by Nickgiaco, 02-26-2024, 10:23 AM
|
2 responses
72 views
0 likes
|
Last Post Today, 05:12 AM |
Comment