Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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.Kate W.NinjaTrader Customer Service
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by kaywai, Today, 06:26 AM
|
1 response
6 views
0 likes
|
Last Post
by kaywai
Today, 06:35 AM
|
||
Started by ct, 05-07-2023, 12:31 PM
|
6 responses
205 views
0 likes
|
Last Post
by wisconsinpat
Today, 06:29 AM
|
||
Started by kevinenergy, 02-17-2023, 12:42 PM
|
118 responses
2,780 views
1 like
|
Last Post
by kevinenergy
Today, 05:41 AM
|
||
Started by briansaul, Today, 05:31 AM
|
0 responses
10 views
0 likes
|
Last Post
by briansaul
Today, 05:31 AM
|
||
Started by traderqz, Yesterday, 12:06 AM
|
11 responses
28 views
0 likes
|
Last Post Today, 05:11 AM |
Comment