Skip to Content
NeurotraderDocs
Developer guide

Developer guide

The ways to run your own code in Neurotrader: a Rust plugin, a remote program in any language, and the HTTP API.

You write code, and you want Neurotrader to run a strategy of your own, or you want to drive the engine from a script. There are three ways in, and they can be combined.

Way inLanguageCode locationSuits
PluginRustInside the engineBacktests over long histories, and every operation mode
Remote algorithmAnyYour own program, called over HTTP or WebSocketAn existing code base, a model in Python, quick experiments
HTTP APIAnyYour own clientCreating simulations, starting runs and reading results without the app

A plugin and a remote algorithm receive the same information on every step as a built-in algorithm does: the candles that closed, the account's balances and the orders still open. Both return the same thing, a list of orders to place or cancel. Neither one simulates a fill or computes a fee. The engine does that, the same way for every algorithm.

If you would rather describe a strategy in words and have the plugin written for you, see Algorithm Assistant. What it produces is an ordinary plugin project, so everything in this section applies to its output too.

Plugins

Remote algorithms

HTTP API

On this page