![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jan 2009
Posts: 221
Thanks: 0
Thanked 0 times in 0 posts
|
Hi,
in the following: protectedoverridevoid OnConnectionStatus(ConnectionStatus OrderStatus, ConnectionStatus priceStatus) { dataFeed = priceStatus; if (dataFeed == ConnectionStatus.Connected) SendMail(.... is there a way in case of two connections to describe which is the one that got disconneceted? Thank you, |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,398
Thanks: 252
Thanked 968 times in 951 posts
|
trend, the event that OnConnectionStatus() fires would refer to the connection where the traded account resides for the strategy running.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jan 2009
Posts: 221
Thanks: 0
Thanked 0 times in 0 posts
|
Hi Bertrand,
so if the 2nd connection goes down is there a way to capture the Disconnection event? Also, unrelated to this, if I import an assembly (dll) and load it to the NT namespace, could I remove the zipped file thereafter to another directory? Thanks, |
|
|
|
|
|
#4 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
trend,
Unfortunately not from the strategy. The strategy is only running on one feed at a time. When you load an assembly it does not care where you have the zip file. It will bring the necessary files into Documents\NinjaTrader 7\bin\Custom. The zip file you used in the import process can be moved anywhere you desire.
Josh
NinjaTrader Customer Service |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NT 7 and IB Datafeed | ModularMix | Miscellaneous Support | 4 | 11-13-2009 08:17 AM |
| TT vs Zen-fire datafeed | bibhupani | Miscellaneous Support | 1 | 08-06-2008 05:11 AM |
| Best Brokerage/Best Datafeed with NT | joshuas7 | Suggestions And Feedback | 4 | 08-05-2008 11:09 PM |
| Datafeed from Ameritrade? | jbclem | Connecting | 2 | 07-08-2008 03:56 PM |
| Forex Datafeed | regen | Connecting | 3 | 05-01-2007 01:31 AM |