Forex brokers with free API compatible with Node.js
Forex brokers with free API compatible with Node.js
Loading saved threads...
Jettic · External communityPost link
External question — Quantitative Finance Stack Exchange
Author: Jettic
Original post: https://quant.stackexchange.com/questions/11271
License: CC BY-SA 3.0 — https://creativecommons.org/licenses/by-sa/3.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
I have a Forex trading signal generator written in Node.js and now I am looking for a Forex broker with a free Node.js compatible API.
The requirements are simple:
be able to send new trade orders
close trades
get active trades
The orders are the usual stop loss/take profit trades.
Free API meaning, no flat fee charges or big minimum deposit.
Only interested in ECN/STP brokers and ideally the API to work with demo accounts for testing purposes.
Thanks
Quote
Report
hroptatyr · External communityPost link
External answer — Quantitative Finance Stack Exchange
Author: hroptatyr
Original post: https://quant.stackexchange.com/a/12632
License: CC BY-SA 3.0 — https://creativecommons.org/licenses/by-sa/3.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
The predominant protocols/APIs offered by FX ECNs are FIX and ITCH. So you might want to look out for node.js implementations of these, e.g.
nodefix
.
Without that ``extra'' layer, the trading venue that comes closest to your (bulleted) requirements would be
Currenex
with their STP connectivity, a RESTful API based on
FIXML
. I put `extra' in quotes because it's now up to you to provide a neat internal framework that exposes node.js routines to your generator and FIXML to the Currenex API.
As for your additional constraints, I think they're a bit off-place. See it from their point of view: Any ECN with liquidity in the interbank league would put
their systems at risk
by offering such a service directly to just about anyone. And a broker connected to an ECN would somehow have to pass on the connection costs.
So your best bet might be dealers. They're much more likely to support your scenario (or at least might do in the future), for instance for stocks I've found
Tradeking
, a node.js API around FIXML (much like Currenex'). They have an FX marketplace too (broker-dealer by the looks of things), maybe you could ask them to open their API to that.
Quote
Report
Guest · External communityPost link
External answer — Quantitative Finance Stack Exchange
Author: Guest
Original post: https://quant.stackexchange.com/a/12656
License: CC BY-SA 3.0 — https://creativecommons.org/licenses/by-sa/3.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
Check out
https://github.com/mForex/mForex.API.TypeScript
, it is TypeScript wrapper for their websocket protocol.
Quote
Report
Peter Szombati · External communityPost link
External answer — Quantitative Finance Stack Exchange
Author: Peter Szombati
Original post: https://quant.stackexchange.com/a/50465
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
Check out
https://github.com/peterszombati/xapi-node
This module may can be used for X-Trade Brokers xStation5 accounts
Quote
Report
roman · External communityPost link
External answer — Quantitative Finance Stack Exchange
Author: roman
Original post: https://quant.stackexchange.com/a/55337
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
Check out
https://www.npmjs.com/package/metaapi.cloud-sdk
as well. This is an SDK for the MetaApi service
https://metaapi.clou
d. It essentially acts as a bridge for communicating with MetaTrader brokers.
Quote
Report
Post Reply
Quoted from Forex.com.bd-Editorial External answer — Quantitative Finance Stack Exchange Author: Peter Szombati Source score (net votes, not local likes): 1 Original post: https://quant.stackexchange.com/a/50465 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. Check out https://github.com/peterszombati/xapi-node This module may can be used for X-Trade Brokers xStation5 accounts
Checking account access…