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

Stable Server solution - automated trading with NinjaTrader + Interactive Brokers

Discussion in NinjaTrader

    1. trending_up 3,210 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 2 posts
    2. attach_file 0 attachments

Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

Search this Thread

Stable Server solution - automated trading with NinjaTrader + Interactive Brokers

(login for full post details)
  #1 (permalink)
Saarbrücken, Germany
Experience: Advanced
Platform: Ninjatrader, IB TWS
Broker: IB
Trading: Equities
Posts: 4 since Feb 2012
Thanks: 5 given, 6 received


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,

Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
1 min chart v-shape scan help please
Experience with AGN (Introducing Broker)
TD Sequential for NT or MW?
Platforms and Indicators
TradingView help in improving Anchored Vwap
Platforms and Indicators
Is there inherently more opportunity in smaller markets?
Traders Hideout
(login for full post details)
  #2 (permalink)
OC, California, USA
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
shodson's Avatar
Posts: 1,962 since Jun 2009
Thanks: 529 given, 3,655 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.

Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
(login for full post details)
  #3 (permalink)
Site Moderator
sam028's Avatar
Posts: 3,680 since Jun 2009
Thanks: 3,793 given, 4,519 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.

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter Reply With Quote

futures io Trading Community Platforms and Indicators NinjaTrader > Stable Server solution - automated trading with NinjaTrader + Interactive Brokers

Last Updated on August 9, 2013

Upcoming Webinars and Events

NinjaTrader Indicator Challenge!


Our 12-year anniversary w/ $$,$$$ prizes (check soon)


Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada),
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