Skip to Content
NeurotraderDocs
How-to guides

Algorithm confirmation

Run an algorithm of your own in a simulation, look at its results and confirm it, so that it can trade real funds.

You have an algorithm of your own, a plugin, one the Algorithm Assistant built, or a remote algorithm, and you want it to trade real funds. Neurotrader refuses it until you have confirmed it. This guide takes you through the confirmation: a simulation over enough data, a look at the results, and your own explicit yes.

Confirmation is needed only for runs with real funds in a venue's production environment. Simulations, live simulations and Demo runs never ask for it. The reasons are in Real trading safety.

A decision of your own

Confirming an algorithm means you accept that it will trade your money. It is not a check that the algorithm is good, and it is not a promise of profit. Confirm only what you have read and understood.

Prerequisites

  • The algorithm is in your catalogue on the Algorithms page and is loaded. See Plugin upload, or Algorithm Assistant for one built for you.
  • You have market data for the instruments you intend to trade, or a plan that lets Neurotrader download it when the simulation starts. See Market data downloads.

Built-in algorithms cannot be confirmed. They are refused with real funds whatever their results, as Real trading safety explains.

Steps

A simulation over enough data

Open the Simulations page and create a simulation that runs your algorithm. See Simulation creation in the app.

Give it a considerable amount of market data. A few days of candles show almost nothing about an algorithm, and Neurotrader does not accept a short run as the basis for a confirmation. Choose a range long enough to include rising, falling and flat markets, on the instruments and at the candle interval you intend to trade with real funds.

A finished run

Start the simulation and let it reach the end of its date range. Only a run that finished counts. A run you stopped early, or one that failed, does not, because its results describe only the part that ran.

The results

Open the finished run from the simulation's run history. Read its results before anything else: the return, the maximum drawdown, the fees paid, the orders the algorithm placed and how many of them filled. Look at the chart of the account's value, not only at where it ended. See Run results for what each figure means.

Ask yourself whether you would have been comfortable holding this account through its worst stretch. That stretch is what a real run can repeat.

Screenshot
The run page of a finished simulation of a user's own plugin algorithm over several years of BTCUSDT hourly candles, showing the return, maximum drawdown, fees paid and the net worth chart, with the control that confirms the algorithm visible on the page

Confirmation

On the finished run's results, confirm the algorithm. The app asks you to state it explicitly, and names the algorithm you are confirming. Until you do, nothing changes: looking at results never confirms an algorithm by itself.

Screenshot
The confirmation step opened from a finished simulation run's results, naming the plugin algorithm about to be confirmed and stating that a confirmed algorithm may trade real funds, before the user has agreed

The algorithm is now confirmed. It can be used in a runner for real funds: see Real-funds runs.

State of each algorithm

Each algorithm of your own is in one of two states:

  • Confirmed: you confirmed this build. It may trade real funds.
  • Not confirmed: no confirmation exists for this build. It runs everywhere except with real funds.

The app shows the state with the algorithm, so you can tell before you set up a runner whether it will be accepted. An algorithm that is not confirmed is refused when you create or change a real-funds runner, in the runner's check, and at start. The refusal names the algorithm. See Real trading safety.

Loss of a confirmation

A confirmation belongs to the build you tested. When you rebuild a plugin, whether you upload a new package under the same name or build a linked project again, the result is a new build, and the new build is not confirmed. The results you looked at belong to a program that is no longer the one that would trade.

This holds for small changes too. Neurotrader cannot tell a harmless edit from one that changes every decision, so it treats every rebuild alike.

A runner that started yesterday with the old build is refused today with the new one, at start, until you confirm again.

Renewed confirmation

To confirm a rebuilt algorithm, repeat the same steps with the new build:

  1. Run the simulation again. You do not need a new simulation: open the one you used before and start a new run. It uses the build that is loaded now.
  2. Wait for the run to finish.
  3. Open its results and compare them with the earlier run in the history, so you see what the rebuild changed.
  4. Confirm the algorithm from the new run's results.

On this page