Stable Server solution - automated trading with NinjaTrader + Interactive Brokers - NinjaTrader | futures trading

Go Back

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader

Stable Server solution - automated trading with NinjaTrader + Interactive Brokers
Started:August 8th, 2013 (08:15 PM) by Foerster Views / Replies:804 / 2
Last Reply:August 9th, 2013 (05:24 AM) Attachments:0

Welcome to

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

Stable Server solution - automated trading with NinjaTrader + Interactive Brokers

Old August 8th, 2013, 08:15 PM   #1 (permalink)
Elite Member
Saarbrücken, Germany
Futures Experience: Advanced
Platform: Ninjatrader, IB TWS
Broker/Data: IB
Favorite Futures: Equities
Posts: 4 since Feb 2012
Thanks: 5 given, 6 received

Stable Server solution - automated trading with NinjaTrader + Interactive Brokers


I'am running Ninjatrader with a connection to Interactive Brokers on a server and wonder if there are ways to improve the stability of this setup.
Currently I have to check multiple times a day if everything is running and I would like to cut this down to once every two days or maybe even just once a week.

If the server reboots, if have to intervene in order to keep the trading system (= Interactive Brokers TWS/Gateway + Ninjatrader with activated strategies) running, since the NinjaTrader strategies are always turned off after relaunch.

Is it possible to have a setup where after a reboot all programs reconnect and continue trading as if nothing had happened?
How do keep your automated strategies running?

Best regards,

Reply With Quote

Old August 8th, 2013, 08:31 PM   #2 (permalink)
OC, California, USA
Futures Experience: Advanced
Platform: IB/TWS, NinjaTrader, thinkorswim
Favorite Futures: stocks, options, futures, VIX
shodson's Avatar
Posts: 1,827 since Jun 2009
Thanks: 470 given, 3,155 received

I don't know, but I've learned from experience that the strategies running on my server run more stable when I shut off Ninjatrader and log out of my Windows account on my server once a day, usually shortly after RTH has ended. A couple of hours later or so I then re-login, start Ninja, connect to my broker (Mirus) and re-enable all of my strategies. It's a daily task. It kind of sucks that I have to do this but ever since I have been doing this I have never had a problem. My strategies don't trade 24x5 so it's OK to be down a while, but some strategies trade a few hours after the Globex session begins so I have a few hours where I can be logged off and disconnected. Also, I reboot or "recycle" the server at least once a week, usually on the weekends or on Mondays (my strategies don't trade on Mondays). Rebooting sort of cleans your RAM, re-syncs the state of device drivers, etc. It's good to reboot every now and then.

Reply With Quote

Old August 9th, 2013, 05:24 AM   #3 (permalink)
Administrator: Retired Backtester
Rennes France
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
sam028's Avatar
Posts: 3,183 since Jun 2009
Thanks: 3,427 given, 3,726 received

You server may not have to reboot without notice, why should this happen ?
Everything can be coded to automatically restart everything, but is complex and tricky (you'll have to manage the open positions and the open orders yourself, that's safer). And if it's complex and tricky, it can't be reliable, so not a good option.
If your server reboot/crash, it's better to first understand why it happens, and start your strategies manually. This kind of event can happen maybe once in 2 or 3 years, so no need to do something fully automated for these specific events.

Usually in trading, those who know don't talk, and those who talk don't know. (Al Brooks)
success requires no deodorant! (Sun Tzu)
Reply With Quote

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > Stable Server solution - automated trading with NinjaTrader + Interactive Brokers

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

An Afternoon with FIO trader bobwest

Elite only

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
NinjaTrader + Interactive Brokers (multiple accounts) dtrade88 NinjaTrader 12 January 18th, 2016 05:03 PM
NinjaTrader + Interactive Brokers (IB) + Kinetick. Multiple Data Feeds BCNTrader NinjaTrader 8 November 9th, 2012 08:46 PM
Ninjatrader Forex / futures EUR/USD commision help for (Interactive Brokers ) wallsteetking NinjaTrader Programming 6 April 4th, 2012 12:45 AM
Interactive Brokers fees + NinjaTrader thomas79 Brokers and Data Feeds 2 November 19th, 2011 05:56 PM
Interactive Brokers Versus Optimus Trading Fills tradetree Brokers and Data Feeds 14 October 9th, 2011 04:17 PM

All times are GMT -4. The time now is 12:15 PM.

Copyright © 2016 by All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts

Page generated 2016-10-22 in 0.09 seconds with 19 queries on phoenix via your IP