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 jaybedreamin, Today, 05:56 PM
|
0 responses
3 views
0 likes
|
Last Post
by jaybedreamin
Today, 05:56 PM
|
||
Started by DJ888, 04-16-2024, 06:09 PM
|
6 responses
18 views
0 likes
|
Last Post
by DJ888
Today, 05:12 PM
|
||
Started by Jon17, Today, 04:33 PM
|
0 responses
1 view
0 likes
|
Last Post
by Jon17
Today, 04:33 PM
|
||
Started by Javierw.ok, Today, 04:12 PM
|
0 responses
6 views
0 likes
|
Last Post
by Javierw.ok
Today, 04:12 PM
|
||
Started by timmbbo, Today, 08:59 AM
|
2 responses
10 views
0 likes
|
Last Post
by bltdavid
Today, 04:10 PM
|
Comment