Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy to Send Email on Data Feed Disconnect
Collapse
X
-
Strategy to Send Email on Data Feed Disconnect
Is there a guide somewhere on creating a strategy that will send a notification every time the NT data feed disconnects? Seems like a simple request/feature, but 1/2 hour of perusing the forums didn't yield a real answer.Tags: None
-
Hello dniedrauer,
Thank you for your post.
Since this is in relation to Strategy development rather than general technical support, I've moved it to the appropriate forum.
You could certainly try to send a notification from a strategy if the data feed disconnects, however, if you totally lose internet it wouldn't be able to send.
You could monitor in OnConnectionStatusUpdate and then use a Share service or SendMail() to share a message if a disconnection is reported:
I should note that monitoring the connection status would not be able to be done from a Strategy Builder strategy - you would need to unlock the code to add this logic.
Please let us know if we may be of further assistance to you.
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
43 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
30 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
47 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
38 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment