AI Trader
Simulated portfolios trading on live Binance prices: a reinforcement-learning model from 2023, a small neural network from 2026 and a few classic strategies, side by side.
Loading…
Simulations
Each one started with its own cash at its own first candle and is compared with buying and holding from that same moment.
- Simulation
- Buy and hold
| Simulation | Value | Return | vs buy and hold | Volatility | Max drawdown | Sharpe | Trades | Updated | Value since the start |
|---|
Loading…
Since each start, from the value at every candle: volatility = standard deviation of the returns per candle × √(candles in 365 days); Sharpe = their mean × candles in 365 days ÷ volatility, risk-free rate 0; max drawdown = largest fall from a peak, with the day of the low. Shown after 7 days and 30 candles; B&H is the same for buy and hold.
What this is
Whenever a candle closes (each simulation has its own candle length, from one minute to one hour), the service reads it from Binance's public market data and lets the simulation decide: buy, sell or hold. The decision is applied to a pretend portfolio with the same accounting for all of them: the fee taken on every trade (0.1% by default), no slippage, everything recorded. Return is the change in value since the simulation started; vs buy and hold is that return minus what buying the coin at the same first candle would have made, in percentage points.
The simulations are defined in a file in the repository; open one for its chart, its trades and how it decides.
No real money is involved and nothing here is financial advice. Source code: github.com/RR2000/ai-trader.