Outside code to access NinjaTrader data and orders - NinjaTrader | futures.io
futures.io futures trading


Outside code to access NinjaTrader data and orders
Started: by spinnybobo Views / Replies:279 / 6
Last Reply: Attachments:0

Welcome to futures.io.

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

Reply
 
Thread Tools Search this Thread
 

Outside code to access NinjaTrader data and orders

  #1 (permalink)
Elite Member
Crete, IL/USA
 
Futures Experience: Intermediate
Platform: NinjaTrader, Mt4
Broker/Data: Tradestation/Tradestation, NinjaTrader, FXCM and Tallinex
Favorite Futures: ES, CL, EUR/USD, TF
 
spinnybobo's Avatar
 
Posts: 171 since Aug 2009
Thanks: 99 given, 47 received

Outside code to access NinjaTrader data and orders

Hello

I was wondering if anybody knows if it is possible as well as "how to" use code outside of NinjaTrader platform to access NinjaTrader data as well as order information from your own NinjaTrader Brokerage account?

Sometimes I think about building an outside application other than Ninja and was just wondering if it is possible.

So to reiterate, provided somebody has a NinjaTrader Brokerage account and therefore has live data as well as order information like Account Value as well as execution orders like EnterLong and EnterShort, ExitLong, ExitShort.

Just wondering if it is possible to gain access to a library that can be executed by an outside language and outside application (outside of NinjaTrader) that can then do all of this.

thanks
Spencer

Reply With Quote
 
  #2 (permalink)
Elite Member
Omer עומר / Israel י
 
Futures Experience: Master
Platform: NinjaTrader, Proprietary,
Broker/Data: Ninjabrokerage/IQfeed + Synthetic datafeed
Favorite Futures: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, CL, ZB, ZN, ZC, ZS, GC
 
rleplae's Avatar
 
Posts: 1,653 since Sep 2013
Thanks: 1,216 given, 2,495 received
Forum Reputation: Legendary

There are several ways to achieve this :

1 there is the ATI interface you can talk to (either through socket or file)

2 you can call the functions in the client dll
https://ninjatrader.com/support/helpGuides/nt7/?dll_interface.htm

Reply With Quote
The following 2 users say Thank You to rleplae for this post:
 
  #3 (permalink)
Elite Member
Crete, IL/USA
 
Futures Experience: Intermediate
Platform: NinjaTrader, Mt4
Broker/Data: Tradestation/Tradestation, NinjaTrader, FXCM and Tallinex
Favorite Futures: ES, CL, EUR/USD, TF
 
spinnybobo's Avatar
 
Posts: 171 since Aug 2009
Thanks: 99 given, 47 received



rleplae View Post
There are several ways to achieve this :

1 there is the ATI interface you can talk to (either through socket or file)

2 you can call the functions in the client dll
https://ninjatrader.com/support/helpGuides/nt7/?dll_interface.htm

Hey thanks

yeah I remembered seeing this page, but not being able to get it to work. Have you ever gotten it to work in any project?
So it seems like this was created mostly if people want to use it through Tradestation or another platform

Just wondering if I created an order entry interface GUI of my own in VS if I would need to have NinjaTrader running in the background and if not, then would I need to do some syncing of some sort in my program.

thanks
Spencer

Reply With Quote
 
  #4 (permalink)
Elite Member
Omer עומר / Israel י
 
Futures Experience: Master
Platform: NinjaTrader, Proprietary,
Broker/Data: Ninjabrokerage/IQfeed + Synthetic datafeed
Favorite Futures: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, CL, ZB, ZN, ZC, ZS, GC
 
rleplae's Avatar
 
Posts: 1,653 since Sep 2013
Thanks: 1,216 given, 2,495 received
Forum Reputation: Legendary


spinnybobo View Post
Hey thanks

yeah I remembered seeing this page, but not being able to get it to work. Have you ever gotten it to work in any project?
So it seems like this was created mostly if people want to use it through Tradestation or another platform

Just wondering if I created an order entry interface GUI of my own in VS if I would need to have NinjaTrader running in the background and if not, then would I need to do some syncing of some sort in my program.

thanks
Spencer

I have a trading robot that generates orders and talks to NT using the ATI interface.
NT takes the order and sends it to the broker for execution.
I case of emergency i can change the order in NT chart trader

Reply With Quote
 
  #5 (permalink)
Elite Member
Crete, IL/USA
 
Futures Experience: Intermediate
Platform: NinjaTrader, Mt4
Broker/Data: Tradestation/Tradestation, NinjaTrader, FXCM and Tallinex
Favorite Futures: ES, CL, EUR/USD, TF
 
spinnybobo's Avatar
 
Posts: 171 since Aug 2009
Thanks: 99 given, 47 received

Futures Edge on FIO

rleplae View Post
I have a trading robot that generates orders and talks to NT using the ATI interface.
NT takes the order and sends it to the broker for execution.
I case of emergency i can change the order in NT chart trader

what language do you write the robot in? Are you willing to share?

Reply With Quote
 
  #6 (permalink)
Risk--->0 $--->∞
Chicago, IL
 
Futures Experience: None
Platform: NinjaTrader, TWS, FXCM's
Broker/Data: InteractiveBrokers, NinjaTrader Brokerage FXCM, IQFeed
Favorite Futures: ZF, ZN, ZB, ES, FX pairs
 
Blash's Avatar
 
Posts: 1,195 since Nov 2011
Thanks: 3,152 given, 1,614 received
Forum Reputation: Legendary


spinnybobo View Post
Hello

I was wondering if anybody knows if it is possible as well as "how to" use code outside of NinjaTrader platform to access NinjaTrader data as well as order information from your own NinjaTrader Brokerage account?

Sometimes I think about building an outside application other than Ninja and was just wondering if it is possible.

So to reiterate, provided somebody has a NinjaTrader Brokerage account and therefore has live data as well as order information like Account Value as well as execution orders like EnterLong and EnterShort, ExitLong, ExitShort.

Just wondering if it is possible to gain access to a library that can be executed by an outside language and outside application (outside of NinjaTrader) that can then do all of this.

thanks
Spencer

In NT7 there is this..... Automated Trading OIF Builder

Ron

We must be like the fountain or spring that is continually emptying itself of all that it has and is continually being refilled from an invisible source

Quoting 
The steed of this Valley is patience; without patience the wayfarer on this journey will reach nowhere and attain no goal.

Buy Low And Sell High (read left to right or right to left....lol)
Reply With Quote
 
  #7 (permalink)
Elite Member
Omer עומר / Israel י
 
Futures Experience: Master
Platform: NinjaTrader, Proprietary,
Broker/Data: Ninjabrokerage/IQfeed + Synthetic datafeed
Favorite Futures: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, CL, ZB, ZN, ZC, ZS, GC
 
rleplae's Avatar
 
Posts: 1,653 since Sep 2013
Thanks: 1,216 given, 2,495 received
Forum Reputation: Legendary


spinnybobo View Post
what language do you write the robot in? Are you willing to share?

It is written in c#
It is a private project that i can not share. (roughly 30.000 lines of code)

But if you encounter technical/infrastructure problems and post them, I might be able to answer and help you.

Reply With Quote
The following user says Thank You to rleplae for this post:

Reply



futures.io > > > > Outside code to access NinjaTrader data and orders

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

2016 True Edge Awards: Voting is open until Jan 21!

Now
 

Bookmap New Indicator Panel, Cumulative Delta, Order Flow demo

Jan 17
 

An Afternoon with FIO member Massive l

Elite only

Leo Murphy: Making sense of Technical Analysis and Random Walk

Elite only
 

FuturesTrader71: Ask Me Anything

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
extra data column access jpm16939 TradeStation 0 November 28th, 2014 04:26 PM
Best way for new trader to access data feed Aesir Brokers and Data Feeds 8 July 3rd, 2014 01:20 PM
time and sales data access via ninjascript sebastiano NinjaTrader 6 January 5th, 2014 02:16 PM
Code for Entering Orders with Profit Target and Stop Loss orders aguison NinjaTrader Programming 4 June 24th, 2013 02:52 PM
Need to make access data from indicator in Strategy prisonbreaker82 NinjaTrader 0 December 12th, 2012 07:56 PM


All times are GMT -4. The time now is 01:24 PM.

no new posts
Page generated 2017-01-17 in 0.10 seconds with 19 queries on phoenix via your IP 54.161.155.6