DARWIN API: What’s Been & What’s To Come (2019)

6 December 2019
The Market Bull

Earlier this year marked a significant milestone in Darwinex’ evolution… the Beta-state launch of the DARWIN API.

This included the following sub APIs:

  1. DARWIN Info API (to access Quote and Attributes data)
  2. DARWIN Quotes API (to stream Quotes from active DARWINs in real-time via REST)
  3. Quote Websocket API (to stream Quotes from active DARWINs in real-time via Web Sockets)
  4. DARWIN Trading API (to trade DARWINs via REST as you would via the platform)
  5. Investor Accounts Info API (to retrieve account and portfolio performance details, e.g. equity, position data etc)

All 5 sub APIs have now been rolled out to everyone.


Get Access To The DARWIN API


The entire suite of APIs was covered in great detail in a dedicated video tutorial series on the Darwinex YouTube channel! If you haven’t watched it yet, here’s the link to bookmark:


What did we achieve?

The API’s launch enabled for the very first time, programmatic access to the Darwinex Community dataset.

It enabled anyone and everyone to analyse and trade trader talent algorithmically, build custom indicators, automated trading robots, analysis tools and even full-fledged DARWIN Trading Terminals from scratch, to name a few things.

Algorithmic and discretionary/manual traders alike, quants, data scientists and practitioners across the board could now access a trader behaviour-powered, multi-variate financial time series that offers a richer feature-space than OHLCV (Open, High, Low, Close, Volume) price data found in traditional asset classes.


Why does that matter?

..because information is power.

The more informed your investments, the better your odds of survival.

Means to address several evergreen trading challenges became a reality.

The API exposed endpoints that enabled anyone to create their own custom DARWIN filters and indexes for both investment in and to inform existing investments.

For instance:

  1. Would you work with just session-sensitive over-the-counter tick volume or would the time-weighted order frequency of high performance DARWINs offer better insights into potential mispricing events? Watch this video for more information.
  2. Would your volume-spread strategy be served better by saturated “smart-money” assumptions about volume/price differentials or the direction performance DARWINs took when those differentials took place? Watch this video for insight.
  3. What seems more reliable… the Quote evolution of a DARWIN that’s successfully traded volatility after transaction costs, in continuously changing market conditions, navigating news, black swans, market sweeps and more, for 5+ years with a Darwinex-verified track record? …or the hyperbolic backtest of a volatility strategy with invariant market conditions?
  4. Would it make sense to apply technical analysis to trader behaviour?
  5. How do good traders react to major economic news releases?
  6. Would it make more sense to set a BUY STOP order with a DARWIN that’s consistently traded the Non-Farm Payroll successfully, or a straddle of BUY/SELL STOP orders around the EUR/USD as a more educated gamble than 50/50?
  7. What does a portfolio of composed of intraday, swing or night-scalper DARWINs look like?
  8. What is the correlation of your strategy’s returns with that of the Darwinex Community..
  9. …the list goes on and on.

Depth of available data

With historical end-of-day data available for all 12 DARWIN investment attributes, Quote data available in multiple timeframes down to tick level, and another 200+ diagnostic attributes available via FTP to complement data available via the DARWIN API, trading strategy and DARWIN portfolio R&D scopes increased x-fold.

API users are now empowered to build proprietary solutions with the DARWIN asset class… be they filters, portfolios, indicators, platform features.. the possibilities span as far as your imagination can take them.

Here’s an example that demonstrates such development:

To support users in this quest, Darwinex Labs will continue to publish detailed video tutorials and source code on a weekly basis, as well as API wrappers via GitHub, all open source.

And as the API matures further over time, available features will also see an increase!

As always, we’ll publish all beta and release candidate features on the Darwinex Community Forum, where we’ll also rely heavily on your valuable feedback and experience over time.


Related links

More information and access to the APIs

API Walkthrough

Darwinex API Store

API T&C

Darwinex Collective Slack Workspace for Algorithmic R&D