Talking with IB support, once a week they do maintenance of the platform, therefore ninjatrader strategies will be disconnected. By implementing them again as you could do so that your next action is a exit position (If I had previously entered).
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Problem when the strategy stops
Collapse
X
-
Problem when the strategy stops
Talking with IB support, once a week they do maintenance of the platform, therefore ninjatrader strategies will be disconnected. By implementing them again as you could do so that your next action is a exit position (If I had previously entered).Tags: None
-
Hello 7robert, thanks for your post.
For the strategy startup, you would need to set your start behavior to "Adopt Account Position". This startup behavior requires you to program your strategy such that your orders are handled with Order objects such that GetRealtimeOrder() can be used to get any real account positions that might exist. This startup behavior also requires IsAdoptAccountPositionAware be set to true.
See this reference sample for an example of using GetRealTimeOrder().
I look forward to hearing of your results.
Chris L.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by andrewtrades, Today, 04:57 PM
|
1 response
10 views
0 likes
|
Last Post Today, 05:02 PM | ||
Started by chbruno, Today, 04:10 PM
|
0 responses
6 views
0 likes
|
Last Post
by chbruno
Today, 04:10 PM
|
||
Started by josh18955, 03-25-2023, 11:16 AM
|
6 responses
436 views
0 likes
|
Last Post
by Delerium
Today, 03:42 PM
|
||
Started by FAQtrader, Today, 03:35 PM
|
0 responses
9 views
0 likes
|
Last Post
by FAQtrader
Today, 03:35 PM
|
||
Started by rocketman7, Today, 09:41 AM
|
5 responses
20 views
0 likes
|
Last Post Today, 03:33 PM |
Comment