I can`t see RestartDelaySeconds in the connection loss tab, is it something we can control or is it hardwired?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
restart delay seconds
Collapse
X
-
restart delay seconds
Recalculate: Strategies will attempt to recalculate its strategy position when a connection is reestablished and held for longer than RestartDelaySeconds (default = 10)
I can`t see RestartDelaySeconds in the connection loss tab, is it something we can control or is it hardwired?Tags: None
-
Hello jitterbug,
Thank you for your inquiry.
RestartDelaySeconds is a NinjaScript property that can be modified programmatically inside of a script's code.
The RestartDelaySeconds property indicates the amount of time a reestablished connection needs to be held before certain connection loss handling actions will be taken.
To utilize RestartDelaySeconds in code, here's an example below:
For more information about the RestartDelaySeconds property, please take a look at the NinjaTrader help guide at this link: http://ninjatrader.com/support/helpG...layseconds.htmCode:protected override void Initialize() { // Recalculate strategy only after connection is reestablished for at least 10 seconds RestartDelaySeconds = 10; }
Please, let us know if we may be of further assistance.Zachary G.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
117 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
166 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
85 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
130 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
88 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment