Legal
Risk disclosure: about these results
Every result on stratester.com is a simulation on past prices. This page explains how simulations are made, what they leave out, and how each statistic is defined.
Contents
Hypothetical results
Hypothetical results. This is a simulation of your rules on past BTC/USDT prices: no real trades were made and no money was at risk. Simulations can contain errors and can't capture everything about real markets, such as liquidity, slippage, outages and taxes. Past results, simulated or real, don't predict future returns, and nothing here is financial advice.
stratester.com is a paper-trading simulator for education and research. It never trades real money, connects to an exchange or holds funds, and it doesn't tell you what to buy or sell.
The standard statement on simulated results
These results are based on simulated or hypothetical performance results that have certain inherent limitations. Unlike the results shown in an actual performance record, these results do not represent actual trading. Also, because these trades have not actually been executed, these results may have under- or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated or hypothetical trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profits or losses similar to these being shown.
How a simulation works
Market data
- Source: Binance spot BTC/USDT, from Binance's public market data: every one-minute candle since 17 August 2017. Completed months come from Binance's checksum-verified monthly archives; recent candles from its public API, updated daily.
- Gaps: when Binance had an outage there are no candles (about 33 hours in February 2018, for example). Gaps are kept as gaps, not filled in.
- Only BTC/USDT spot is simulated: no other coins, exchanges, futures, margin or funding rates.
Candles
- Every candle size, from 1 minute to 1 week, is built from the stored one-minute candles. Days start at 00:00 UTC and weeks on Monday, as on TradingView.
- Which candle sizes and how much history you can use depends on your plan.
When rules run and how orders fill
- Rules are checked once per candle, at its close, top to bottom. A rule that fires changes the portfolio before the next rule is checked. Conditions only see candles that have closed.
- Market orders fill at the close of the candle where the rule fires.
- Limit and stop orders are placed at that close and fill on a later candle whose range reaches the price: a limit at its price or better (at the open if the candle opens beyond it), a stop at its price or worse. They lapse after the number of candles you set.
- Take-profit and stop-loss conditions on the wick fill at their level when a candle's high or low touches it; if the whole candle is past the level, at the candle's nearest edge. A trailing stop on the wick fills at its level, or at the open when the candle opens below it.
- The simulation can't see the path a price took inside one candle. When a candle reaches both your target and your stop, the result depends on the rule order, not on which happened first.
- Bots only buy and then sell (long only), and never borrow.
Fees and slippage
- Each bot sets a fee and slippage per fill. New bots start at a 0.1% fee and 0.05% slippage; bots created before these settings existed use 0%. You can change them in the Lab.
- The fee is charged on every buy and sell. Slippage moves market and stop fills against you; limit fills get none.
- The buy-and-hold comparison pays the same fee and slippage once.
- Real costs can be higher: spreads widen, large orders move the price, and exchanges change their fees.
Indicators and warm-up
- Indicators are computed from the candles before your start date as well as during the run, so they've settled by the first candle that trades (warm-up). No rule runs during warm-up.
- A condition can read bigger candles than the run uses (for example, the daily RSI in an hourly run). It sees only completed bigger candles, so it never looks ahead.
- Small differences from other charting tools are normal near the start of the history, because they may seed averages differently.
Imported Pine Script indicators
Pine Script indicators run in our own interpreter, which follows TradingView's documented behaviour but isn't TradingView. In a simulation:
- drawings (lines, labels, boxes and tables) don't show;
- varip acts like var, because candles are already closed;
- request.security reads only BTC/USDT at the chart's candle size or bigger;
- strategy scripts' orders become signals for your rules; their own position sizing, commission and backtest settings aren't used;
- a script that uses lookahead on request.security can see the future, exactly as on TradingView, and will look better than it could ever trade.
Statistics
| Statistic | Definition |
|---|---|
| Return | Final equity divided by the starting balance, minus 1 |
| Buy and hold | The starting balance invested in BTC at the first candle's close (paying the bot's fee and slippage once), valued at the last close |
| Max drawdown | The largest fall in equity from a previous peak, as a share of that peak, measured at candle closes |
| Win rate | Round trips (from no position to a position and back to none) that made money after fees, as a share of all round trips |
| Sharpe ratio | Average return per candle divided by its standard deviation, annualised. It assumes a 0% risk-free rate |
| Sortino ratio | Like the Sharpe ratio, but divided by the downside deviation, which counts only falling candles |
| Profit factor | Gross profit of winning round trips divided by gross loss of losing ones |
| Exposure | The share of candles with an open position |
Sweeps, Monte Carlo and other research
Optimised results are the best of many tries on the same data, so they usually overstate how a strategy would do on new data. Projections and probability estimates are hypothetical, don't reflect actual results and are not guarantees of future results.
Results can change
- Results may change between runs and over time as data and the engine are corrected.
- A run keeps the bot as it was when it ran, but replaying it reads the candles again.
Questions
If something in a result looks wrong, write to [SUPPORT EMAIL]. Our Terms of Service (section 2) explain the limits of the Service in full.