NexusFi: Find Your Edge


Home Menu

 





Extending NinjaTrader for other brokers...


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one NetTecture with 5 posts (0 thanks)
    2. looks_two Big Mike with 2 posts (0 thanks)
    3. looks_3 traderwerks with 2 posts (0 thanks)
    4. looks_4 Traderji with 1 posts (1 thanks)
    1. trending_up 6,875 views
    2. thumb_up 1 thanks given
    3. group 4 followers
    1. forum 11 posts
    2. attach_file 0 attachments




 
Search this Thread

Extending NinjaTrader for other brokers...

  #1 (permalink)
 NetTecture 
Szczecin
 
Experience: Intermediate
Platform: Ninja, writing own now
Posts: 211 since Mar 2010

...anyone tried? ONLY for strategies.

My idea would be to simply ignore all the interfaces ninja has for managing orders and positions and run that through my own library. Again, this is purely for strategies - not manual trading.

It should not be THAT hard, or? using web services to run between local and a separate service managing the orders. Replicating the simple order management. The tricky part is adding additional events from the manager class for fills etc. - obviously the ninja events wont ever be called.

Sadly they neither provide external data interfaces (except a very limited way to push in data) and a custom broker interface.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
PowerLanguage & EasyLanguage. How to get the platfor …
EasyLanguage Programming
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
How to apply profiles
Traders Hideout
Better Renko Gaps
The Elite Circle
Trade idea based off three indicators.
Traders Hideout
 
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
25 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)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,603

Zen Fire is open API I believe, and it lets you input the server IP in config I think? So perhaps just change to 127.0.0.1 and write your own connector that is Zen-Fire native.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #3 (permalink)
 NetTecture 
Szczecin
 
Experience: Intermediate
Platform: Ninja, writing own now
Posts: 211 since Mar 2010



Big Mike View Post
Zen Fire is open API I believe, and it lets you input the server IP in config I think? So perhaps just change to 127.0.0.1 and write your own connector that is Zen-Fire native.

Mike

Zen-Fire sadly is not open API as in you would needto replicate the propietary network level. Never seen documentation for that - it is not THAT ismple, tough, as it is Rithmic and they use different servers etc. Should not be too hard BUT you would need to decompile the Zen-Fire assembies which likely does not work (i.e. they are protected) ;(

Started this thread Reply With Quote
  #4 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,442 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,603

What about FIX? Same deal?

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #5 (permalink)
 NetTecture 
Szczecin
 
Experience: Intermediate
Platform: Ninja, writing own now
Posts: 211 since Mar 2010


Big Mike View Post
What about FIX? Same deal?

Mike

Well, with the exception that NinjaTrader does not support FIX, so it would not solve anything I may redirect Zen-Fire - but if Fix is not supported, there is nothing to redirect. or do I overlook something? is there a FIX option for NinjaTrader that I am not aware of at the moment?FIX would indeed be a perfect solution.

Started this thread Reply With Quote
  #6 (permalink)
 Traderji 
Australia
 
Experience: Advanced
Platform: NinjaTrader, Multicharts
Trading: Spot Forex, Gold, Silver
Posts: 176 since Oct 2010
Thanks Given: 114
Thanks Received: 114


NetTecture View Post
...anyone tried? ONLY for strategies.

My idea would be to simply ignore all the interfaces ninja has for managing orders and positions and run that through my own library. Again, this is purely for strategies - not manual trading.

It should not be THAT hard, or? using web services to run between local and a separate service managing the orders. Replicating the simple order management. The tricky part is adding additional events from the manager class for fills etc. - obviously the ninja events wont ever be called.

Sadly they neither provide external data interfaces (except a very limited way to push in data) and a custom broker interface.



If you are not going to use NT for managing orders then you might as well have everything but firing off the buy/sell signals outside of NT. In which case you could use any real time feed into Ninjatrader, since all the actual orders are sent out from the external application. So as long as your external app can connect to your executing broker via FIX or whatever, NT really does not need a connection to that same broker.

Reply With Quote
Thanked by:
  #7 (permalink)
 traderwerks   is a Vendor
 
Posts: 692 since Jun 2009
Thanks Given: 436
Thanks Received: 465


NetTecture View Post
Well, with the exception that NinjaTrader does not support FIX, so it would not solve anything I may redirect Zen-Fire - but if Fix is not supported, there is nothing to redirect. or do I overlook something? is there a FIX option for NinjaTrader that I am not aware of at the moment?FIX would indeed be a perfect solution.

Ninjatrader does have a FIX api for connecting to the TT servers. TT probably does not support ZenFire, just FIX ( and TT of course.) I also see "FixAPI" errors in my NinjaTrader error log from time to time.

Math. A gateway drug to reality.
Reply With Quote
  #8 (permalink)
 NetTecture 
Szczecin
 
Experience: Intermediate
Platform: Ninja, writing own now
Posts: 211 since Mar 2010


traderwerks View Post
Ninjatrader does have a FIX api for connecting to the TT servers. TT probably does not support ZenFire, just FIX ( and TT of course.) I also see "FixAPI" errors in my NinjaTrader error log from time to time.

The problem with Fix is that there isn o general fix - the standard is quite open for interpretation. So, a "TT Fix" connector will be programmed to the specificcs of TT "thoughts" on the standard and it is likely that when using a non TT Fix... this gets into a certain amount of... ah... interpretation issues.

But it may be the easiest way to "fake" a TT Fix server. The TT specs are open, so a local "TT Fix proxy" can then process items forward.

Started this thread Reply With Quote
  #9 (permalink)
 traderwerks   is a Vendor
 
Posts: 692 since Jun 2009
Thanks Given: 436
Thanks Received: 465


NetTecture View Post
The problem with Fix is that there isn o general fix - the standard is quite open for interpretation. So, a "TT Fix" connector will be programmed to the specificcs of TT "thoughts" on the standard and it is likely that when using a non TT Fix... this gets into a certain amount of... ah... interpretation issues.

But it may be the easiest way to "fake" a TT Fix server. The TT specs are open, so a local "TT Fix proxy" can then process items forward.

I was just saying that they have a FIX api so they could extend it if they needed to do that. There are so many FIX implementations that just makes it hard. Maybe FAST will be better.

Math. A gateway drug to reality.
Reply With Quote
  #10 (permalink)
Pherter
München Germany
 
Posts: 1 since Mar 2012
Thanks Given: 0
Thanks Received: 0


There is Dukascopy Ninjatrader Adapter available on a web site. I can't post links (my first post),
but you can find it if you google "DNA Dukascopy Ninjatrader Adapter"

I found the web site because it was mentioned here at bigmike in the thread "How to duplicate another chart, Ninja?"

The adapter uses the Dukascopy jforex api, not Fix

I don't know if it works, but 3 day trials are available.

Since this is my first post: !!!! I am not connected with this web site in any way !!!!

Reply With Quote




Last Updated on March 20, 2012


© 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