NexusFi: Find Your Edge


Home Menu

 





Own data provider.


Discussion in NinjaTrader

Updated
    1. trending_up 3,773 views
    2. thumb_up 6 thanks given
    3. group 4 followers
    1. forum 11 posts
    2. attach_file 5 attachments




 
Search this Thread

Own data provider.

  #1 (permalink)
Dzam
Barcelona
 
Posts: 8 since Dec 2015
Thanks Given: 3
Thanks Received: 1

Hello.
I want to write my own data provider with datafeed and order routing.
In NinjaTrader.Hosted.dll file i see

But i cant see how many (and what kind of) arguments i need to create Adapter. How can i do this?
And what i need to do that my *.dll appera in provider list?

Thank you.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Request for MACD with option to use different MAs for fa …
NinjaTrader
NexusFi Journal Challenge - April 2024
Feedback and Announcements
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
58 thanks
Battlestations: Show us your trading desks!
52 thanks
NexusFi site changelog and issues/problem reporting
48 thanks
GFIs1 1 DAX trade per day journal
31 thanks
What percentage per day is possible? [Poll]
31 thanks

  #3 (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: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,862


I worked on this as well.. but it's not documented and not supported by NT.
Reverse engineering the provider API is probably very difficult and not a future proof path.

I'll give you a possible solution in 2 roads :

1. Data provider.

What i was able to do at the end was to create a proxy module (in/out) for one of the existing (documented) providers. NT talks to my proxy process and my proxy process talks to the provider. My proxy process also talks to my own data provider that creates data feed that is not available. From an NT point of view this is transparent.

The module is multi-threaded and listens on a tcp/ip socket. It serves both NT and my own modules.

2. Trading.

The easiest way is probably the FIX protocol. NT does support FIX, although it is not 100% the standard. you can find the xml schema in the binary folder. You can download the fix protocol from the standards website. I was able to create a small demo, i think i even posted it here on futues.io last year.

Have fun..

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
The following 2 users say Thank You to rleplae for this post:
  #4 (permalink)
Dzam
Barcelona
 
Posts: 8 since Dec 2015
Thanks Given: 3
Thanks Received: 1


rleplae View Post
I was able to create a small demo, i think i even posted it here on futues.io last year.
Have fun..

I was read many of your posts, but i am not find demo. Can you give me some link? Thank you.

Reply With Quote
  #5 (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: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,862


Dzam View Post
I was read many of your posts, but i am not find demo. Can you give me some link? Thank you.

It has been a while since I played with this.

Attached is something i archived, there is a small c# module that listens on a socket
and can take in an order request in the FIX protocol

there is a connector in NT that talk trading technologie format
and you can define the ip/port to point it to this module

have fun...

Attached Files
Elite Membership required to download: QuickFix.zip
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
The following 3 users say Thank You to rleplae for this post:
  #6 (permalink)
Dzam
Barcelona
 
Posts: 8 since Dec 2015
Thanks Given: 3
Thanks Received: 1


rleplae View Post
It has been a while since I played with this.

there is a connector in NT that talk trading technologie format
and you can define the ip/port to point it to this module

have fun...

I am not understand, how NT7 connect to Executor...

Reply With Quote
  #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: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,862


Dzam View Post
I am not understand, how NT7 connect to Executor...

NT will connect through TCP/IP connection

In NT define a new broker : Tools -> account Connection
Choose Trading Technologies
Fill in the IP address and port of where you have the module running

When you enter an order, the module will receive it


Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #8 (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: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,862

make sure you are on version 1000.31 of Nt7
you screen shot does not show TT


Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #9 (permalink)
Dzam
Barcelona
 
Posts: 8 since Dec 2015
Thanks Given: 3
Thanks Received: 1


rleplae View Post
make sure you are on version 1000.31 of Nt7
you screen shot does not show TT

I have 7.0.1000.31 version of NT, but my providers list have no TT.
Licensed providers: Collective2
IQFeed
ESignal
External
Barchart.com
Google
Kinetick
Replay
Simulator
Yahoo
Gain
InteractiveBrokers
MBTrading
Vision Financial Markets
CQG
FXCM
Continuum
Clear Corretora
Rithmic
NinjaTrader Continuum
Rithmic for NinjaTrader Brokerage
NinjaTrader FXCM
TD AMERITRADE

I am trying to resolv this problem...
Thank you.

Reply With Quote
  #10 (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: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,862



Dzam View Post
I have 7.0.1000.31 version of NT, but my providers list have no TT.
Licensed providers: Collective2
IQFeed
ESignal
External
Barchart.com
Google
Kinetick
Replay
Simulator
Yahoo
Gain
InteractiveBrokers
MBTrading
Vision Financial Markets
CQG
FXCM
Continuum
Clear Corretora
Rithmic
NinjaTrader Continuum
Rithmic for NinjaTrader Brokerage
NinjaTrader FXCM
TD AMERITRADE

I am trying to resolv this problem...
Thank you.

What type of license are you supposed to have ?
For your info : I have an unlimited/lifetime license.

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote





Last Updated on April 7, 2016


© 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