NexusFi: Find Your Edge


Home Menu

 





Node.JS futures trading


Discussion in Brokers

Updated
    1. trending_up 3,127 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread

Node.JS futures trading

  #1 (permalink)
 
AstralTrader's Avatar
 AstralTrader 
Charlotte, NC
 
Experience: Beginner
Platform: NinjaTrader
Trading: ES
Posts: 7 since Aug 2012
Thanks Given: 2
Thanks Received: 0

Looking at the feasibility of writing an automated futures trading system in Node.JS that I can develop and execute strategies from.

Can anyone recommend best libraries, data feed APIs and brokers APIs that would pair well with Node for this purpose?

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
Trade idea based off three indicators.
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Quant vue
Trading Reviews and Vendors
Cheap historycal L1 data for stocks
Stocks and ETFs
 
  #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,863


DataFeed

You could use IQfeed, they have a (paid) developer program that comes with an API
the API is as simple as opening a TCP/IP socket and sending a command, you hen
received the history or a live feed.

The quality of data and the performance is good.

Broker


There are a few options for generating trades to a borker. The question is how you
like to design your system. You can make it completely machine to machine, or you
can inject the orders into a platform that sends the orders onward to the broker and
that provides you with the possibility to intervene and see the trades, etc..

The first one is probably well documented and offered by IB. The later could be
done with NinjaTrader and all the brokers supported by them.

You could also consider generating the FIX protocol, there are a few libraries out there.

Follow me on Twitter Visit my NexusFi Trade Journal 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: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863

https://github.com/pilwon/node-ib

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #5 (permalink)
 
AstralTrader's Avatar
 AstralTrader 
Charlotte, NC
 
Experience: Beginner
Platform: NinjaTrader
Trading: ES
Posts: 7 since Aug 2012
Thanks Given: 2
Thanks Received: 0

Excellent suggestions. Passing orders to an external program via injection is something I have never tried and unsure about the feasibility of that. My background is in web development. Not so much in Windows application development.


rleplae View Post
You could also consider generating the FIX protocol, there are a few libraries out there.

It appears that "falconair/nodefix" was trying to do exactly that but it never got out of pre-beta.

Started this thread Reply With Quote
  #6 (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

For NinjaTrader there is a DLL to inject orders, all what it does is open a socket and talk over the ATI interface, you can easily see the protocol and do that yourself if you want on a low level.

Most other platforms have a similar integration hook that allows to integrated a trade robot.

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




Last Updated on April 20, 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