NexusFi: Find Your Edge


Home Menu

 





Bitcoins add-on


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one rleplae with 9 posts (7 thanks)
    2. looks_two stockpapa with 6 posts (0 thanks)
    3. looks_3 Magiklair with 5 posts (1 thanks)
    4. looks_4 sam028 with 1 posts (0 thanks)
    1. trending_up 15,372 views
    2. thumb_up 11 thanks given
    3. group 14 followers
    1. forum 28 posts
    2. attach_file 4 attachments




 
Search this Thread

Bitcoins add-on

  #11 (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,863

Data provider
The way i was able to solve this issue on a conceptual level is as follows :

1) you find a good source for the data you need, you use web scraping or api for the data acquisition

2) you make the data persistent if the source does not allow for historical retrieval (your system needs
to runs if you don't want a gap in your data)

3) you create a streaming component that delivers live data

4) i created a proxy that sits in between NT7/NT8 because i found out, if you make 2 data connections
in NT7/NT8, the request will always go to your primary data source. in my case i needed my exchange
data to keep working in parallel of my own synthetic data

all together it looks a bit like this :



ATI interface
Alternatively you can use the ATI interface.
You can call the NinjaTrader.client dll and use the methods to push data to NT.
I haven't worked with his, but i have seen other people doing something with this interface.

(I only use this interface to inject my orders into NT)

Time series

A last option is to create a data series in NT
In that dataseries you call your datasource and create a time series.
All indicators can then be run on those time series.

Probably there are other mechanisms one can think of..

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

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
How to apply profiles
Traders Hideout
REcommedations for programming help
Sierra Chart
Increase in trading performance by 75%
The Elite Circle
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
My NQ Trading Journal
14 thanks
HumbleTraders next chapter
11 thanks
GFIs1 1 DAX trade per day journal
11 thanks
  #12 (permalink)
 aaaaaa225 
las vegas nevada usa
 
Experience: Master
Platform: white tape
Trading: oil
Posts: 62 since Dec 2012
Thanks Given: 4
Thanks Received: 8


ivanjocic View Post
Hi guys,
I'm trader and developer

I have been trading coins for some time now and I love NinjaTrader.. So I have developed, for myself, something that will insert data into NT from Bitfinex.
Lately, I started trading on BTC-e and Bitstamp markets. I added support for these two to my app and I have decided to share it with the World.
For now it only downloads current data and you can not use it to submit orders through NT. At least not yet!

I hope you will find it usable, and you are welcome to donate also.. you will find nice PayPal donate button in the app too

Should you find some issues setting up application to work with NT, please PM me.

Thanks and happy trading!!

Link: CryptoCoinsMD-v1.0.0.0

Can anyone help with the app market status and nt status light up green dont see anything in the instrument manager for ninjatrader.

Reply With Quote
  #13 (permalink)
 Magiklair 
Alexandria, Minnesota
 
Experience: Beginner
Platform: Ninja trader
Broker: IB / IQFeed
Trading: Forex
Posts: 135 since Jun 2014
Thanks Given: 30
Thanks Received: 38



rleplae View Post
Data provider
The way i was able to solve this issue on a conceptual level is as follows :

1) you find a good source for the data you need, you use web scraping or api for the data acquisition

2) you make the data persistent if the source does not allow for historical retrieval (your system needs
to runs if you don't want a gap in your data)

3) you create a streaming component that delivers live data

4) i created a proxy that sits in between NT7/NT8 because i found out, if you make 2 data connections
in NT7/NT8, the request will always go to your primary data source. in my case i needed my exchange
data to keep working in parallel of my own synthetic data

all together it looks a bit like this :



ATI interface
Alternatively you can use the ATI interface.
You can call the NinjaTrader.client dll and use the methods to push data to NT.
I haven't worked with his, but i have seen other people doing something with this interface.

(I only use this interface to inject my orders into NT)

Time series

A last option is to create a data series in NT
In that dataseries you call your datasource and create a time series.
All indicators can then be run on those time series.

Probably there are other mechanisms one can think of..

You've put together a great scenario for getting BTC data into ninja trader. But for most novice traders and the like it is a bit overwhelming. It would be nice if there was a software solution or data provider.. I know there is https://www.signalstrengthfinance.com/bitconnector.php

But what I would like, which I don't know if is possible is Historical data for each day. You can download historical data from the above site. But it only gives you the daily price, not the entire day of data. Such as the 24 hours for each day. Hopefully that makes sense, it may be a good opportunity for someone to come up with one of the ideas mentioned.
Best regards,
Brian

Started this thread Reply With Quote
  #14 (permalink)
kavklov
curitiba
 
Posts: 34 since Aug 2012
Thanks Given: 2
Thanks Received: 7


ivanjocic View Post
Hi guys,
I'm trader and developer

I have been trading coins for some time now and I love NinjaTrader.. So I have developed, for myself, something that will insert data into NT from Bitfinex.
Lately, I started trading on BTC-e and Bitstamp markets. I added support for these two to my app and I have decided to share it with the World.
For now it only downloads current data and you can not use it to submit orders through NT. At least not yet!

I hope you will find it usable, and you are welcome to donate also.. you will find nice PayPal donate button in the app too

Should you find some issues setting up application to work with NT, please PM me.

Thanks and happy trading!!

Link: CryptoCoinsMD-v1.0.0.0

I would appreciate if you can explain how to connect BTC and Bitstamp to Ninja trader using you add on .
Thanks a lot.

Reply With Quote
  #15 (permalink)
tj8478
Denver + CO/USA
 
Posts: 1 since Oct 2017
Thanks Given: 2
Thanks Received: 0

Hello! I just downloaded and tried your program - it appears to be receiving from bittrex, and shows green for detection of my ninja 7 platform, but I couldnt figure out next step - Is there a way to login to it as a data provider similar to the way I do for Rithmic or Ninja data sources? Also, does it matter what kind of Ninja 7 license key I am using?

Many thanks - Tim

Reply With Quote
  #16 (permalink)
 stockpapa 
Arizona and Nevada
 
Experience: Intermediate
Platform: NinjaTrader
Trading: stocks
Posts: 23 since Jun 2012
Thanks Given: 15
Thanks Received: 6


rleplae View Post

Hello rleplae, thanks for your explanation. Can you explain a little more about the specs for "Data provider proxy" and "New data provider"? Are these C# classes/packages or language agnostic? How does Ninjatrader communicate with these components? Also how did you learn what the interface of these components needed to be? Basically I would like to develop something similar myself but so far I've found very limited information.

Did you adapt if from https://github.com/ValYouW/pxNetAdapter

Reply With Quote
  #17 (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,863


stockpapa View Post
Hello rleplae, thanks for your explanation. Can you explain a little more about the specs for "Data provider proxy" and "New data provider"? Are these C# classes/packages or language agnostic? How does Ninjatrader communicate with these components? Also how did you learn what the interface of these components needed to be? Basically I would like to develop something similar myself but so far I've found very limited information.

Did you adapt if from https://github.com/ValYouW/pxNetAdapter

Both the proxy and the new data provider are stand-alone modules.
Those processes listen on a certain port and talk to each other over TCP/IP.

I wrote those modules from scratch, they are outside NT memory space.
I also consume the data from those modules with my own developed tools.

Those modules follow the IQfeed protocol, for that i subscribed their developer program.

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #18 (permalink)
 stockpapa 
Arizona and Nevada
 
Experience: Intermediate
Platform: NinjaTrader
Trading: stocks
Posts: 23 since Jun 2012
Thanks Given: 15
Thanks Received: 6


rleplae View Post
Those modules follow the IQfeed protocol, for that i subscribed their developer program.

Thanks so does NinjaTrader talk to IQConnect.exe and then to your proxies or does Ninjatrader talk directly to your proxies? In other words how does IQConnect fit into your chain (if at all)?

Reply With Quote
  #19 (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,863


stockpapa View Post
Thanks so does NinjaTrader talk to IQConnect.exe and then to your proxies or does Ninjatrader talk directly to your proxies? In other words how does IQConnect fit into your chain (if at all)?

As illustrated on the diagram, your proxy needs to be in between NT and IQfeed process (IQconnect)
the proxy will then recognized your BITcoin intstruments and direct the request to the new provider,
all other flows remain unchanged

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #20 (permalink)
 stockpapa 
Arizona and Nevada
 
Experience: Intermediate
Platform: NinjaTrader
Trading: stocks
Posts: 23 since Jun 2012
Thanks Given: 15
Thanks Received: 6



rleplae View Post
As illustrated on the diagram

Also as new ticks come in it looks like you're storing them in a database, so does your "New data provider" (or proxy) poll the database? Or do you have some kind of push mechanism?

Reply With Quote




Last Updated on February 1, 2018


© 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