Skip to content

API Overview

Algodab allows to code your strategies using the languages you are already familiar with: JavaScript and Python. Those standard languages where extended to account for Algodab specific features: like managing the symbols in the grid, chart annotations, alerts, orders, etc. even speech. The full Algodab specific API reference is documented here.

The goal of the Algodab echosystem was to make every piece of information addressable, codable, and actionable: whether it is price data, news feed, or multiple broker accounts - they all can be referenced and used in our code.

Language support

At the moment only JavaScript and Python languages are supported, I am looking into adding support for others, PHP anyone?

This documentation contains code examples where you can select the language of your choice. The code snippets below are actual code running in Algodab environment.

// get a reference to a symbol we're tracking in the grid
var AMC = Positions.get("AMC");

// Now we can test and apply some logic according to the current state of AMC
if (AMC.currentPrice < AMC.dayHigh)
    Alert.info("Buy AMC?");
# get a reference to a symbol we're tracking in the grid
AMC = Positions.get("AMC")

# Now we can test and apply some logic according to the current state of AMC
if AMC.currentPrice < AMC.dayHigh:
    Alert.info("Buy AMC?")

More detailed examples are available in the Tutorials section.