1
$\begingroup$

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

$\endgroup$
3
  • 2
    $\begingroup$ This site is for professionals working in the industry, so this question isn't a good fit. $\endgroup$ May 14, 2014 at 12:25
  • $\begingroup$ @LouisMarascio I fail to see your reasoning. I am full-time on this and have been in a different way in the same industry for years. This question requires algo-trading experience with many brokers, seems quite fitting question for this stackexchange. $\endgroup$
    – Jettic
    May 15, 2014 at 8:06
  • 1
    $\begingroup$ meetup.com/batsig/events/130829582 $\endgroup$
    – assylias
    May 15, 2014 at 9:33

4 Answers 4

3
$\begingroup$

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.

$\endgroup$
2
$\begingroup$

Check out https://github.com/mForex/mForex.API.TypeScript, it is TypeScript wrapper for their websocket protocol.

$\endgroup$
2
$\begingroup$

Check out https://www.npmjs.com/package/metaapi.cloud-sdk as well. This is an SDK for the MetaApi service https://metaapi.cloud. It essentially acts as a bridge for communicating with MetaTrader brokers.

$\endgroup$
1
$\begingroup$

Check out https://github.com/peterszombati/xapi-node

This module may can be used for X-Trade Brokers xStation5 accounts

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.