Constructing a DARWIN Universe | Algorithmic Trading & Investing with the DARWIN API

Share it with your friends Like

Thanks! Share it with your friends!


Welcome to the DARWIN API – your algorithmic gateway to the Darwinex Community Dataset – brought to you by Darwinex:

** Get the latest source code for DARWIN API Tutorials, troubleshoot your applications, give and get help from fellow algorithmic traders and more, over at the Darwinex Collective Slack Workspace:

Risk Disclosure:

In this tutorial, we demonstrate in Python 3, how to:

1) Call the DarwinInfoAPI’s /products endpoint with status, page and per_page parameters.

2) Parse JSON output and retrieve a list of DARWIN objects containing the DARWIN’s name, underlying account currency, validation date, migration date, etc.

3) Convert the JSON data into a Pandas DataFrame.

4) Backtest correctly by including both ACTIVE and DELETED assets in simulations to avoid survivorship bias during backtesting.

HANDS-ON learning with source code examples provided during the tutorial.

Source code on GitHub:


Are you an algorithmic trader?

We’d love to have you test-drive the DARWIN API!

Send us an email to with the subject line “[DARWIN API Access] Request from YouTube Viewer”, and we’ll set you up ASAP.

Have a good track record? List your strategy on our Exchange, and earn performance fees on investor profits!

More details here:

2.0M in performance fees paid to date:

Topics: #algorithmictrading #timeseriesanalysis #darwinapi #darwinex #darwininfoapi #darwinquotes #darwinreturns #darwinscores #darwininvestmentattributes


andres.2780 says:

Me estoy preparando para operar en una empresa seria como la vuestra. Un saludo

andres.2780 says:

Me encanta vuestro canal y os sigo en capital radio. Pero si hicierais vídeos en castellano estaría genial. Un saludo.

Comments are disabled for this post.