NexusFi: Find Your Edge


Home Menu

 





Node.JS futures trading


Discussion in Brokers

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




 
Search this Thread
  #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?
Thanks Mike. Godspeed.
The Elite Circle
Weekend Update: First Qatari LNG Transit Attempted -- IR …
Traders Hideout
Czechia Live at 52.5% as England Rides 4-2 Wave to Co-Fa …
Prediction Markets & Event Contracts
April FOMC Minutes: Most Divided Fed Since 1992 -- Many …
Traders Hideout
Trump Truth Social Fires Hormuz From 10% to 59% -- Arsen …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
4 thanks
Darmok and Jalad at Tanagra
1 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: 2,947 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,855


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 X 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: 2,947 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,855

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


Follow me on X 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: 2,947 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,855

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 X Visit my NexusFi Trade Journal Reply With Quote




Last Updated on April 20, 2016


© 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