NexusFi: Find Your Edge


Home Menu

 





Creating a data feed connection provider for NT


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one rleplae with 23 posts (7 thanks)
    2. looks_two 33rdvirus with 7 posts (0 thanks)
    3. looks_3 KillerJukeBox with 6 posts (0 thanks)
    4. looks_4 sam028 with 5 posts (4 thanks)
      Best Posters
    1. looks_one Koepisch with 1 thanks per post
    2. looks_two zweistein with 1 thanks per post
    3. looks_3 sam028 with 0.8 thanks per post
    4. looks_4 rleplae with 0.3 thanks per post
    1. trending_up 42,109 views
    2. thumb_up 14 thanks given
    3. group 19 followers
    1. forum 55 posts
    2. attach_file 2 attachments




 
Search this Thread
  #1 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 2,947 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,855

I was wondering if anybody has created a data connection provider for NT

What i want to do, is to inject real time synthetic data (data that i have calculated outside NT,
as a result of different processes) back into NT, like a normal instrument.

Preferably in parallel with my existing IQfeed connection.

Is that possible ?
Anybody done any research on this ?


Follow me on X Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
UCL Final Kicks Off at Noon ET: PSG at 56.5% as Iran May …
Prediction Markets & Event Contracts
Second Night of US Strikes Crushes Iran June 15 to 3.6% …
Prediction Markets & Event Contracts
Memorandum Watch: How the 60-Day MOU Framework Makes May …
Prediction Markets & Event Contracts
ATFX Suspends Prop Trading Unit ATFunded -- Full Review …
Funded Trading Evaluation Firms
Warsh Opens Today, Hormuz June 19 -- WTI Below $80, Fran …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
1 thanks
  #3 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,758 since Jun 2009
Thanks Given: 3,828
Thanks Received: 4,644



rleplae View Post
I was wondering if anybody has created a data connection provider for NT

What i want to do, is to inject real time synthetic data (data that i have calculated outside NT,
as a result of different processes) back into NT, like a normal instrument.

Preferably in parallel with my existing IQfeed connection.

Is that possible ?
Anybody done any research on this ?

You can do this using the External connector, but it won't allow another regular data feed.
If you want a custom data feed to run in parallel with a regular one an option would be create a fake IB connector for example, instead of using the external connector. As the IB API is well documented I assume it won't be too painful to create a service/daemon which will reply to NT requests in a coherent format.


Success requires no deodorant! (Sun Tzu)
Reply With Quote
  #4 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 2,947 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,855


sam028 View Post
You can do this using the External connector, but it won't allow another regular data feed.
If you want a custom data feed to run in parallel with a regular one an option would be create a fake IB connector for example, instead of using the external connector. As the IB API is well documented I assume it won't be too painful to create a service/daemon which will reply to NT requests in a coherent format.

I think your suggestion is the way forward...
It makes sense


Follow me on X Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #5 (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,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,577


sam028 View Post
You can do this using the External connector, but it won't allow another regular data feed.
If you want a custom data feed to run in parallel with a regular one an option would be create a fake IB connector for example, instead of using the external connector. As the IB API is well documented I assume it won't be too painful to create a service/daemon which will reply to NT requests in a coherent format.

Are you sure this is still possible with NT8? For some reason I had it in my mind they removed that, I thought I saw a post about it maybe a year ago or so.

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 X Visit my NexusFi Trade Journal Reply With Quote
  #6 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,758 since Jun 2009
Thanks Given: 3,828
Thanks Received: 4,644


Big Mike View Post
Are you sure this is still possible with NT8? For some reason I had it in my mind they removed that, I thought I saw a post about it maybe a year ago or so.

Mike

Yes, it still working with NT8, I'm using this feature for my custom market replay tool.


Success requires no deodorant! (Sun Tzu)
Reply With Quote
Thanked by:
  #7 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 2,947 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,855

Probably @sam028 knows this...

If NT is running with 2 data feed connections, what decides when I open a chart with an instrument (which is supposed to be a stream of synthetic data i will calculate myself), on what connection the data will be requested ?

1. My plan is to have my broker connection
2. My IQ feed connection for my normal data feed
3. and to have a second data feed connection to my own server (that will clone one of the supported formats)

I create an instrument for my synthetic data, and then NT should request that live data from point 3.
all other things should keep working.

How is that mechanism working?


Follow me on X Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #8 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,758 since Jun 2009
Thanks Given: 3,828
Thanks Received: 4,644


rleplae View Post
Probably @sam028 knows this...

If NT is running with 2 data feed connections, what decides when I open a chart with an instrument (which is supposed to be a stream of synthetic data i will calculate myself), on what connection the data will be requested ?

1. My plan is to have my broker connection
2. My IQ feed connection for my normal data feed
3. and to have a second data feed connection to my own server (that will clone one of the supported formats)

I create an instrument for my synthetic data, and then NT should request that live data from point 3.
all other things should keep working.

How is that mechanism working?

I didn't tested it but in theory:
- you create a synthetic instrument only mapped to your fake data server, let's say using IB API, and not mapped to IQFeed
- you then connect to your broker 1st, then IQFeed, then your fake IB server
- as your custom instrument won't be known by 1. and 2. NT should receive data for this symbol from 3.


Success requires no deodorant! (Sun Tzu)
Reply With Quote
Thanked by:
  #9 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 2,947 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,855


sam028 View Post
I didn't tested it but in theory:
- you create a synthetic instrument only mapped to your fake data server, let's say using IB API, and not mapped to IQFeed
- you then connect to your broker 1st, then IQFeed, then your fake IB server
- as your custom instrument won't be known by 1. and 2. NT should receive data for this symbol from 3.

I was progressing in that direction...

I had created the instrument like you mentioned...

I have been looking at the connections...
I found 3 that have a configurable ip address....

The IB is the only running in 64 bit
But i read NT 8 has them all in 64 bit...

My plan is to install NT8 tomorrow
And try to build a small prototype using opensource FIX protocol
I only need history..... So,logon, heartbeat, history, logof...


Follow me on X Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #10 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,758 since Jun 2009
Thanks Given: 3,828
Thanks Received: 4,644


I think it would be easier mimicking IB data feed than a FIX server, but it's up to you!


Success requires no deodorant! (Sun Tzu)
Reply With Quote




Last Updated on March 7, 2020


© 2026 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 - Downloads - Top
no new posts