How NuxGrid replays historical candles
The database backtest uses 5-minute OHLC historical candles. The public web flow is centred on BTC_USDT and Binance-style USDT markets.
For each candle, the engine first checks existing positions. An existing sell is considered triggered when the candle high reaches its target. The engine then calculates a new buy candidate. A buy is considered triggered when the candle low reaches that level and sufficient simulated cash is available.
The model does not assume the exact sequence inside a candle. A position opened during the current candle is not immediately sold during that same candle.
What is included
A run can include the initial bankroll, purchase amount, percentage grid spacing, take-profit percentage, fee percentage, optional profit-to-BTC conversion, and up to four strategies sharing one simulated wallet.
NuxGrid uses closed 5-minute candles and records unavailable ranges when history is missing. Simulated buy and sell fees are applied. Conversion contributions can accumulate until the simulated exchange minimum is reached; amounts below that minimum may remain pending.
How results are measured
Realized profit comes from completed sell cycles after the simulated trading fees used by the engine. It does not include the market value of positions that remain open.
Final equity combines remaining cash, open positions marked at the last candle close, and BTC reserve value when applicable. Other metrics include ROI, maximum drawdown, fees paid, completed cycles, open positions, minimum cash, capital engaged, concurrent positions, unrealized loss, and blocked buy attempts. A buy-and-hold BTC comparison is also calculated.
Realized profit ≠ final equity: marked open positions contribute to final equity.
What is not simulated
The backtest does not reproduce order-book depth, slippage, network latency, exchange API failures, live partial fills, cancellation races, or the exact order of prices inside a candle.
How to interpret a result
A useful report should state the symbol, dates, candle resolution, strategy settings, fee assumption, data gaps, open positions, realized profit, and final equity. The result describes historical behaviour under defined assumptions. It should not be presented as an expected return or as evidence that the same result will occur in live trading.