NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support > Historical Version 7 Beta Threads > Version 7 Beta General Questions & Bug Reports

Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports.

 
 
Thread Tools Display Modes
Old 05-25-2010, 11:06 AM   #1
trend
Senior Member
 
Join Date: Jan 2009
Posts: 221
Thanks: 0
Thanked 0 times in 0 posts
Default datafeed

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,
trend is offline  
Old 05-25-2010, 11:09 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,398
Thanks: 252
Thanked 968 times in 951 posts
Default

trend, the event that OnConnectionStatus() fires would refer to the connection where the traded account resides for the strategy running.
NinjaTrader_Bertrand is offline  
Old 05-25-2010, 11:21 AM   #3
trend
Senior Member
 
Join Date: Jan 2009
Posts: 221
Thanks: 0
Thanked 0 times in 0 posts
Default

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,
trend is offline  
Old 05-25-2010, 02:54 PM   #4
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

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.
NinjaTrader_Josh is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 06:54 AM.