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


Outside code to access NinjaTrader data and orders
Updated: Views / Replies:371 / 6
Created: by spinnybobo 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, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
 
rleplae's Avatar
 
Posts: 1,969 since Sep 2013
Thanks: 1,386 given, 2,949 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, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
 
rleplae's Avatar
 
Posts: 1,969 since Sep 2013
Thanks: 1,386 given, 2,949 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


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: NT8,NT7,TWS,FOREX.COM app
Broker/Data: InteractiveBrokers, NinjaTrader Brokerage FOREX.COM, IQFeed
Favorite Futures: The one I'm creating in the present....ES, ZF, ZN, ZB, FX pairs
 
Blash's Avatar
 
Posts: 1,474 since Nov 2011
Thanks: 4,166 given, 2,097 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

It is an axiomatic fact that while you meditate you are speaking with your own spirit. In that state of mind you put certain questions to your spirit and the spirit answers: the light breaks forth and the reality is revealed.
The steed of this Valley is pain; and if there be no pain this journey will never end.
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, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
 
rleplae's Avatar
 
Posts: 1,969 since Sep 2013
Thanks: 1,386 given, 2,949 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)

FIO Journal Challenge featuring NinjaTrader ($2,000+ of prizes)

May
 

EasyLanguage ABC's: Mastering TradeStation Programming w/Chris Kaiser

Elite only
 

Prototyping Python Strategies (part 2: Backtesting) w/Ran Aroussi [special time: 1PM ET]

Elite only
 

Portfolio Diversification w/Brendon Delate @ Diversify Portfolio

Elite only

An Afternoon with FIO member Softsoap (being rescheduled)

Elite only
     

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


All times are GMT -4. The time now is 10:31 PM.

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-05-23 in 0.12 seconds with 19 queries on phoenix via your IP 54.162.136.26