![]() |
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
|
|||||||
| Connecting Support for establishing connections to your broker or market data service provider. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Aug 2008
Posts: 109
Thanks: 0
Thanked 0 times in 0 posts
|
Sorry to ask this potentially sensitive question. I really like NT so far, in terms of the easy of use and what I can get done vs. me coding my own interface to the IB servers (doable, but a huge use of my time).
The problem is that I've seen some weird stability issues with a test connection to MB Trading in the past week. I have an IB account that I will begin testing with next week, but I am at a crossroads over whether I should just write it all myself. My question is, can I leave NT up and running all day and night with IB or am I going to experience all sorts of random stops, disconnections, etc? I guess what I'm asking is how many people use NT for a production trading environment rather than just a powerful backtesting tool? With apologies to the NT folks in advance, they have answered all my questions very well (accept that weird issue with the strategies tab, but that's another thread). I just need to figure out where to go next with my work. |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
It is not suggested you run your strategies unmonitored. You can get disconnected for reasons not even related to IB or anything. If you lose internet connectivity that is it. etc. etc. There will always be cases that can crop up and require you to intervene.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Aug 2008
Posts: 109
Thanks: 0
Thanked 0 times in 0 posts
|
Of course one shouldn't leave it unnatended. But I'm asking about stability. I would rather watch over a system that has maybe one break a day, rather one that has 6. I'm just asking if folks have found the combination stable.
I could write a socket level interface in c++ and have great certainty over things. In MBs case it seems their system is rather poor. |
|
|
|
|
|
#4 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Understood. I am unqualified to answer that question. Perhaps a forum community member with more experience into that setup could help.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Aug 2008
Posts: 109
Thanks: 0
Thanked 0 times in 0 posts
|
Cool. Maybe someone will pipe in. Let me ask another way, will NT introduce any additional latency into processing IB messages (tick or otherwise) than connecting directly to IB through their API? Or rather will that additional latency be greater than negligible?
|
|
|
|
|
|
#6 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
NT does connect directly through to IB's API.
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#7 | |
|
Senior Member
Join Date: Dec 2007
Location: Guernsey (UK)
Posts: 152
Thanks: 0
Thanked 1 time in 1 post
|
Quote:
I've been using NT with Esignal & IB in production trading for almost 2 months now and I have to say that apart the small oddities that I encounter in the strategy tab (and sometimes the position is not reported to NT) everything is pretty stable: - my orders are all transmitted correctly (except once when IB had a problem, NT needs to be programmed to handle the rejects properly in the strategy). - I never experienced a crash while trading. So even if it's not a long period, I think NT is quite reliable (if only the small oddities could be fixed that would be great). |
|
|
|
|
|
|
#8 |
|
NinjaTrader Customer Service
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
|
Hello,
Thank you for your positive remarks. Regarding the strategies tab "oddities' you experience, are you able to reproduce them? Have you viewed this link: http://www.ninjatrader-support.com/v...ead.php?t=4033
Ben
NinjaTrader Customer Service |
|
|
|
|
|
#9 |
|
Senior Member
Join Date: Dec 2007
Location: Guernsey (UK)
Posts: 152
Thanks: 0
Thanked 1 time in 1 post
|
I'm not able to reproduce them yet as it looks like it happens randomly. But still trying to figure out the problem.
Thanks for your link but I was aware of it. |
|
|
|
|
|
#10 | |
|
Senior Member
Join Date: Aug 2008
Posts: 109
Thanks: 0
Thanked 0 times in 0 posts
|
Quote:
Out of curiosity, how long can you keep NT connected to IB during the week? Does TWS shutdown daily like MB Trading? I find this highly annoying? And if so, are these strictly scheduled shutdowns that can be planned for in the code or are they random? And does NT give you a way to handle disconnects from within the code? Many thanks. Looking like NT and IB might be the way to go. |
|
|
|
|
|
|
#11 |
|
Senior Member
Join Date: Dec 2007
Location: Guernsey (UK)
Posts: 152
Thanks: 0
Thanked 1 time in 1 post
|
It doesn't affect negatively at all. It's just in the strategy tab sometimes the pnl is not reported and in the MA sometimes the position is flat but I'm in position (from a strategy). But strangely enough it's not always the case and it has worked perfectly since 2 days now. I think there's something that cause this issue but I haven't find it yet...
I leave NT connected to IB from 8am until 10 pm (UK time). There is a daily shutdown. Doesn't really annoy me as I shutdown the computer anyway. Unfortunately I can't answer more on those disconnections and if NT can't handle it.
Last edited by ryker; 08-25-2008 at 01:08 PM.
|
|
|
|
|
|
#12 |
|
NinjaTrader Customer Service
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
|
Hello,
I know you have seen this link in this thread, but I believe this is the source of the issue you are experiencing: http://www.ninjatrader-support.com/v...ead.php?t=4033 NinjaTrader will disconnect daily when IB resets it servers. You must restart NinjaTrader once the servers reset.
Ben
NinjaTrader Customer Service |
|
|
|
|
|
#13 | |
|
Senior Member
Join Date: Aug 2008
Posts: 109
Thanks: 0
Thanked 0 times in 0 posts
|
Quote:
I mean isn't that a big problem? Shouldn't we be able to tell the strategy to ignore historical data when we want to run it in production? Can't this be achieved by formatting the data series on a chart so that prior bars is set to 0 and then running it live? |
|
|
|
|
|
|
#14 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
>> Shouldn't we be able to tell the strategy to ignore historical data when we want to run it in production?
Have not read through complete thread but may be this helps: Code:
if (Historical)
return;
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#15 |
|
Senior Member
Join Date: Nov 2008
Location: UK
Posts: 637
Thanks: 0
Thanked 1 time in 1 post
|
It may help ;-) but see this thread as I just had this same question
http://www.ninjatrader-support2.com/...ad.php?t=11806 |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Requesting InteractiveBrokers Datafeeds for single exchanges (not SMART) | EvolveK | Connecting | 3 | 03-25-2008 05:36 AM |
| My Solution for (New) Cheesy Zenfire Connection | lewdfinger | Connecting | 1 | 03-01-2008 09:09 AM |
| Link Button Blead-Thru - Solution | zoltran | Miscellaneous Support | 2 | 09-22-2007 09:51 PM |
| Interactivebrokers bid/ask problems / order fill issues (paper) | scriabinop23 | Automated Trading | 3 | 05-16-2007 11:37 AM |
| InteractiveBrokers Backfill | MrBaffalo | Connecting | 5 | 12-29-2006 01:36 AM |