Creating a data feed connection provider for NT - NinjaTrader Programming | futures io social day trading
futures io futures trading


Creating a data feed connection provider for NT
Updated: Views / Replies:3,103 / 35
Created: by rleplae Attachments:2

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
 2  
 
Thread Tools Search this Thread
 

Creating a data feed connection provider for NT

  #11 (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: 2,374 since Sep 2013
Thanks: 1,648 given, 3,512 received
Forum Reputation: Legendary

What a bummer....

I was able to create a small FIX server and bring the connection up.
(Logon message working and heartbeat message working...)

When i connect to IQfeed and then to the FIX server, both connecitons are up.

If i request a normal symbol then that works on IQfeed

When i request a symbol that is only defined for the FIX connection (TT) then the
request does not arrive in my FIX server and gives an invalid symbol error.

When i bring the IQfeed connection down, then the message comes in the FIX server.

That kind of invalidates my plan for having an IQfeed connection and next to it
my own synthetic data feed in parallel ... @Big Mike was right on that, doesn't work.


Reply With Quote
 
  #12 (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: 2,374 since Sep 2013
Thanks: 1,648 given, 3,512 received
Forum Reputation: Legendary

6 weeks later...

I was able to create my own synthetic data server and it provides now both historical and streaming data to Ninjatrader and my own trading engines. I have it also working on Ninjatrader 8.0 as there were some subtle differences in how they pull the data, that was a nice experience.

For the future I plan to start doing my developments in parallel on 7.0 and 8.0. While NT 7.0 stays the production environment, slowly getting up-to-speed in Nt 8.0

NT 7.0 and NT 8.0 and my own platform now concurrently connect to my data-server. No difference in update speed, the charts blink at the same moment.

I also noticed, if I do "wrong" things, it can make Ninjatrader 8.0 spin like a wheel and it will be difficult to bring it back under control. But that's only in a development environment. In that respect NT 7.0 seems to be a bit safer when you present it mall formatted information.

At the end i have chosen to write all data out to the DB and pull it back from the DB. The number of instruments is only a bit more than 100 and the speed is not critical, within a few seconds is perfectly acceptable.

Reply With Quote
The following 4 users say Thank You to rleplae for this post:
 
  #13 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,165 since Jun 2009
Thanks: 29,277 given, 82,778 received



rleplae View Post
6 weeks later...

I was able to create my own synthetic data server and it provides now both historical and streaming data to Ninjatrader and my own trading engines. I have it also working on Ninjatrader 8.0 as there were some subtle differences in how they pull the data, that was a nice experience.

For the future I plan to start doing my developments in parallel on 7.0 and 8.0. While NT 7.0 stays the production environment, slowly getting up-to-speed in Nt 8.0

NT 7.0 and NT 8.0 and my own platform now concurrently connect to my data-server. No difference in update speed, the charts blink at the same moment.

I also noticed, if I do "wrong" things, it can make Ninjatrader 8.0 spin like a wheel and it will be difficult to bring it back under control. But that's only in a development environment. In that respect NT 7.0 seems to be a bit safer when you present it mall formatted information.

At the end i have chosen to write all data out to the DB and pull it back from the DB. The number of instruments is only a bit more than 100 and the speed is not critical, within a few seconds is perfectly acceptable.

Nicely done. There would be some uses for this, if you consider sharing it at some point in the future it may benefit some.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #14 (permalink)
Elite Member
Rio de Janeiro - Brazil
 
Futures Experience: Advanced
Platform: Sierra Chart
Broker/Data: Stage5/IQFeed
Favorite Futures: ES
 
GentleTrader's Avatar
 
Posts: 85 since Jun 2009
Thanks: 6 given, 47 received


rleplae View Post
6 weeks later...

I was able to create my own synthetic data server and it provides now both historical and streaming data to Ninjatrader and my own trading engines. I have it also working on Ninjatrader 8.0 as there were some subtle differences in how they pull the data, that was a nice experience.

For the future I plan to start doing my developments in parallel on 7.0 and 8.0. While NT 7.0 stays the production environment, slowly getting up-to-speed in Nt 8.0

NT 7.0 and NT 8.0 and my own platform now concurrently connect to my data-server. No difference in update speed, the charts blink at the same moment.

I also noticed, if I do "wrong" things, it can make Ninjatrader 8.0 spin like a wheel and it will be difficult to bring it back under control. But that's only in a development environment. In that respect NT 7.0 seems to be a bit safer when you present it mall formatted information.

At the end i have chosen to write all data out to the DB and pull it back from the DB. The number of instruments is only a bit more than 100 and the speed is not critical, within a few seconds is perfectly acceptable.

What kind of connection are you emulating? I tried once and gave up. I ended up implementing my own data feed in the open protocol created by SierraChart, called DTC. Working very nice, but I miss some 3rd party software I have on Ninjatrader. Any hint? The Ninjatrader guys keep saying the only way to get data is using the available connection types.

[]s
GentleTrader

Reply With Quote
 
  #15 (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: 2,374 since Sep 2013
Thanks: 1,648 given, 3,512 received
Forum Reputation: Legendary


GentleTrader View Post
What kind of connection are you emulating? I tried once and gave up. I ended up implementing my own data feed in the open protocol created by SierraChart, called DTC. Working very nice, but I miss some 3rd party software I have on Ninjatrader. Any hint? The Ninjatrader guys keep saying the only way to get data is using the available connection types.

[]s
GentleTrader

I am using the IQfeed connector that is built-in to NinjaTrader.

Reply With Quote
 
  #16 (permalink)
Elite Member
Rio de Janeiro - Brazil
 
Futures Experience: Advanced
Platform: Sierra Chart
Broker/Data: Stage5/IQFeed
Favorite Futures: ES
 
GentleTrader's Avatar
 
Posts: 85 since Jun 2009
Thanks: 6 given, 47 received


rleplae View Post
I am using the IQfeed connector that is built-in to NinjaTrader.

Does your software pretends to be IQFeed actual software? Is the comunication between Ninja and IQFeed made by sockets, even if it's local, or am I wrong? Does it use a special/proprietary protocol?

Reply With Quote
 
  #17 (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: 2,374 since Sep 2013
Thanks: 1,648 given, 3,512 received
Forum Reputation: Legendary


GentleTrader View Post
What kind of connection are you emulating? I tried once and gave up. I ended up implementing my own data feed in the open protocol created by SierraChart, called DTC. Working very nice, but I miss some 3rd party software I have on Ninjatrader. Any hint? The Ninjatrader guys keep saying the only way to get data is using the available connection types.

[]s
GentleTrader


GentleTrader View Post
Does your software pretends to be IQFeed actual software? Is the comunication between Ninja and IQFeed made by sockets, even if it's local, or am I wrong? Does it use a special/proprietary protocol?

You are right, the proxymodule, pretends to be iQfeed and then goes out to the real IQfeed for the normal symbols, or to my data server for my private symbols.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
 
  #18 (permalink)
Elite Member
toronto
 
Futures Experience: Beginner
Platform: NinjaTrader
 
Posts: 33 since Sep 2009
Thanks: 3 given, 10 received


rleplae View Post
You are right, the proxymodule, pretends to be iQfeed and then goes out to the real IQfeed for the normal symbols, or to my data server for my private symbols.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

very interesting , could you share some more about the proxy ??

Reply With Quote
 
  #19 (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: 2,374 since Sep 2013
Thanks: 1,648 given, 3,512 received
Forum Reputation: Legendary


gztanwei View Post
very interesting , could you share some more about the proxy ??

It is a program that listens on a TCP/IP port for an incoming request from NT.
It analyses that message and decides to forward that request to the left or to the right.
The answer that is received is then returned to NT.

It is very similar to any other proxy that is able to interpret the protocol.
a web proxy would do the same and block certain request based on the URL or serve the request from
it's cache if it already knows the answer. This is what is commonly known as a "proxy".

Reply With Quote
 
  #20 (permalink)
Elite Member
toronto
 
Futures Experience: Beginner
Platform: NinjaTrader
 
Posts: 33 since Sep 2009
Thanks: 3 given, 10 received



rleplae View Post
It is a program that listens on a TCP/IP port for an incoming request from NT.
It analyses that message and decides to forward that request to the left or to the right.
The answer that is received is then returned to NT.

It is very similar to any other proxy that is able to interpret the protocol.
a web proxy would do the same and block certain request based on the URL or serve the request from
it's cache if it already knows the answer. This is what is commonly known as a "proxy".

Understand the concept , but how can we Point IQFeed to my own Database source?? are we need to build another machine to be "IQFeed" Server ? I would like to do something similar , which Point I need to start ??

Reply With Quote

Reply



futures io > > > > > Creating a data feed connection provider for NT

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

RandBots: AutoTrading Bots to diversify your trading

Oct 24
 

TopstepTrader: Profiting Without Risking Your Own Money

Oct 26

Building Open Source Indicators for NT8 w/Fat Tails @ Lizard Indicators

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is DTN IQ Feed a data feed provider? What broker/platforms can I use? shots fired Reviews of Brokers and Data Feeds 4 May 10th, 2015 01:57 PM
NT data feed Bergsra Reviews of Brokers and Data Feeds 3 January 10th, 2015 12:50 PM
Broker / Data feed provider djiym German Traders 29 November 20th, 2013 02:46 AM
Data Feed and Internet Connection Quality with ADSL 2+ Laurus12 Reviews of Brokers and Data Feeds 16 October 2nd, 2013 10:17 PM
ninja data feed provider stocks ciardim Reviews of Brokers and Data Feeds 3 October 24th, 2011 07:03 AM


All times are GMT -4. The time now is 05:41 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-10-20 in 0.15 seconds with 20 queries on phoenix via your IP 23.20.86.177