NexusFi: Find Your Edge


Home Menu

 





Stable Server solution - automated trading with NinjaTrader + Interactive Brokers


Discussion in NinjaTrader

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




 
Search this Thread

Stable Server solution - automated trading with NinjaTrader + Interactive Brokers

  #1 (permalink)
 Foerster 
Saarbrücken, Germany
 
Experience: Advanced
Platform: Ninjatrader, IB TWS
Broker: IB
Trading: Equities
Posts: 4 since Feb 2012
Thanks Given: 5
Thanks Received: 6

Hello,

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,
Foerster

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
ZombieSqueeze
Platforms and Indicators
Exit Strategy
NinjaTrader
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
24 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #2 (permalink)
 
shodson's Avatar
 shodson 
OC, California, USA
Quantoholic
 
Experience: Advanced
Platform: IB/TWS, NinjaTrader, ToS
Broker: IB, ToS, Kinetick
Trading: stocks, options, futures, VIX
Posts: 1,976 since Jun 2009
Thanks Given: 533
Thanks Received: 3,709

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 NexusFi Trade Journal Reply With Quote
  #3 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629


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




Last Updated on August 9, 2013


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, 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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts