Can you run multiday strategies on NT7/IB? - Reviews of Brokers and Data Feeds | futures io social day trading
futures io futures trading


Can you run multiday strategies on NT7/IB?
Updated: Views / Replies:5,724 / 16
Created: by richtobey Attachments:0

Welcome to futures io.

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

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors – all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you don’t need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • 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.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Can you run multiday strategies on NT7/IB?

  #1 (permalink)
Elite Member
San Antonio
 
Futures Experience: Advanced
Platform: NinjaTrader Interactive Brokers
Broker/Data: Interactive Brokers
Favorite Futures: forex
 
Posts: 45 since Oct 2010
Thanks: 0 given, 116 received

Can you run multiday strategies on NT7/IB?

Is it possible to run NT7 strategies on Interactive Brokers over night. The IB platform makes you disconnect each 24 hours which I'm guessing stops a running strategy. I know IB has for $150 per month a VPN connection which doesn't reset (I think). Has anybody tried this or found a workaround?

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Asia
 
Futures Experience: Beginner
Platform: NinjaTrader, TOS
 
Posts: 798 since Jun 2009
Thanks: 109 given, 785 received

Answer
This post has been selected as an answer to the original posters question Answer


Just a thought but if you are running a multi-day strategy perhaps Ninja doesn't need to handle trade execution but instead signal you to trade manually? There is a lot less operational risk that way.

For example, perhaps I have a strat that uses daily OHLC. Every day I run it pre-market to load data, and it prints (or emails me) Be Long, Be Short or Be Flat. With a bit more code it could tell me entry and exit prices, and it could ask me when I fire it up what my entry prices were and my current position.

Let's say I run it every morning on IWM. These are emails I might get:

Day 1: IWM position flat. No signals generated.
Day 2: IWM position flat. Enter long limit @ 70.30.
Day 3. IWM position +100. Stop @69.20. Running P&L [whatever].
Day 4. IWM position +100. Stop @69.90. Running P&L [whatever].
Day 5. IWM position +100. Stop @ 70.30. Running P&L [whatever].
Day 6. IWM position flat. No signals generated.

At the start of each day you enter your position data manually, and you enter your GFD order as dictated by your trade logic.

Then you don't have to worry about strategy sync, etc. IF your broker can handle GFD and you are OK to have your order in the book.

Personally I use a lot of GFDs on TOS for swing trades. Strategies where Ninja (or platform x) handles execution on its own is intraday only.

I've never used a client-side app to hold overnight and can't see why I ever would.

FWIW, YMMV, etc etc.

Reply With Quote
The following user says Thank You to MXASJ for this post:
 
  #4 (permalink)
Elite Member
las vegas
 
Futures Experience: Intermediate
Platform: Sierra Chart
Broker/Data: Velocity/IB
Favorite Futures: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 836 received


richtobey View Post
Is it possible to run NT7 strategies on Interactive Brokers over night. The IB platform makes you disconnect each 24 hours which I'm guessing stops a running strategy. I know IB has for $150 per month a VPN connection which doesn't reset (I think). Has anybody tried this or found a workaround?

They also have (or they use to) the IB Gateway which is free and doesn't disconnect you, but I couldn't figure how to connect ninja to it. That said, if I had a good strategy that could be automated, then I personally wouldn't using ninja but another application (multicharts?) or have someone program a black box and connect through the gateway. I can tell you that IB is a good way to go for reliability, but their data feed is highly filtered and may not be a good choice if you have a high frequency system with small stops and profit targets.

Reply With Quote
The following user says Thank You to vegasfoster for this post:
 
  #5 (permalink)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,359 since Jun 2009
Thanks: 3,565 given, 3,976 received


richtobey View Post
Is it possible to run NT7 strategies on Interactive Brokers over night. The IB platform makes you disconnect each 24 hours which I'm guessing stops a running strategy. I know IB has for $150 per month a VPN connection which doesn't reset (I think). Has anybody tried this or found a workaround?

You can use IB Gateway with Ninja, this is what you have to do, in this order:
- start NinjaTrader
- start TWS
- connect NinjaTrader to your IB datafeed
now, the fun begins:
- start IB Gateway, which is configured to use the same port (check IB Gateway settings, 7496 is the default port)
- then IB Gateway tells you something like "other client connected, what do I do ?" -> click OK
- this will deconnect TWs to the IB datafeed
- now you can close TWS
A bit long, but it works.

I can send screenshot, or make a movie if it's not clear.

Success requires no deodorant! (Sun Tzu)
Reply With Quote
 
  #6 (permalink)
Elite Member
San Antonio
 
Futures Experience: Advanced
Platform: NinjaTrader Interactive Brokers
Broker/Data: Interactive Brokers
Favorite Futures: forex
 
Posts: 45 since Oct 2010
Thanks: 0 given, 116 received

IB Gateway

I tried the gateway but can't get it to work. When I log on and respond to the "disconnect other session" message from the gateway, NT disconnects and tells me to restart. A video would be awesome.

Rich

Reply With Quote
 
  #7 (permalink)
Elite Member
San Antonio
 
Futures Experience: Advanced
Platform: NinjaTrader Interactive Brokers
Broker/Data: Interactive Brokers
Favorite Futures: forex
 
Posts: 45 since Oct 2010
Thanks: 0 given, 116 received

Ttrying to resolve

Sam028,

I played with this some more. I keep getting the message TWS forced your connection to close. NinjaTrader is unable to automatically reconnect. Please shut down NinjaTrader and reconnect manually to TWS: An established connection was aborted by the software in your host machine.

Reply With Quote
 
  #8 (permalink)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,359 since Jun 2009
Thanks: 3,565 given, 3,976 received


richtobey View Post
Sam028,

I played with this some more. I keep getting the message TWS forced your connection to close. NinjaTrader is unable to automatically reconnect. Please shut down NinjaTrader and reconnect manually to TWS: An established connection was aborted by the software in your host machine.

I'm making a video, I'll post it today.

My advices were fine for NT6.5, but I had to something a bit different for NT7:
- start IB Gateway, with your live account
- create 2 account connections for IB, with different port numbers:
-> 1 for IB Gateway (port 4001)
-> 1 for TWS (port 7496)
- start NT7 "naked", no charts, T&S, nothing, just the Control Center
- connect to the first account, IB Gateway
- that will launch TWS, connect to TWS with your paper account, or the IB demo account (edemo/demouser)
- TWS is started, NT7 is connected to IB Gateway
- you can close TWS

Success requires no deodorant! (Sun Tzu)

Last edited by sam028; October 26th, 2010 at 06:01 PM.
Reply With Quote
The following 2 users say Thank You to sam028 for this post:
 
  #9 (permalink)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,359 since Jun 2009
Thanks: 3,565 given, 3,976 received

Answer
This post has been selected as an answer to the original posters question Answer

Here is the video, please test if it works for you too.
If it works, it might be a good idea to put this in the wiki.
I can do it, but everybody can do it too.


Success requires no deodorant! (Sun Tzu)
Reply With Quote
The following 3 users say Thank You to sam028 for this post:
 
  #10 (permalink)
Elite Member
San Antonio
 
Futures Experience: Advanced
Platform: NinjaTrader Interactive Brokers
Broker/Data: Interactive Brokers
Favorite Futures: forex
 
Posts: 45 since Oct 2010
Thanks: 0 given, 116 received

Thanks


Your a genius!

I think you found a bug to exploit. It took me a little while to get it to work.

You have to login to the IB gateway with the account that you want to be your permanent connection. Then you use a NT connection with the port set to the same as the IB gateway but different than the default of 7496. Then, from NT login to the connection that has the port set to the same as the gateway. Then close TWS and hit yes that you are sure you want to exit.

Hope that clarifies it for anybody else.

Rich

Reply With Quote

Reply



futures io > > > > Can you run multiday strategies on NT7/IB?

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

Dec 7

Linda Bradford Raschke: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automated Trading Strategies for NT7 evilmrkipling NinjaTrader 17 August 25th, 2015 09:40 PM
NT7: production-level execution tool for automated strategies? geezer NinjaTrader 3 June 24th, 2011 04:27 AM
How to mantain the NT7 graphics without to run up? chart runs out of the window Barrosco NinjaTrader 13 March 30th, 2011 03:08 PM
NT7 Strategy/Strategies Needed Slipknot511 NinjaTrader Programming 8 August 22nd, 2010 02:39 AM
NT7 with IB and Stocks TraderJesse NinjaTrader 6 May 7th, 2010 11:09 AM


All times are GMT -4. The time now is 10:22 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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 2017-11-19 in 0.13 seconds with 37 queries on phoenix via your IP 54.81.195.240