Skip to content

Replay Data & Simulation Rules

The trainer uses files you supply. No historical or live market feed is included. ES and NQ use their native USD 50 and USD 20 point values with a 0.25-point tick. BTCUSDT-PERP and ETHUSDT-PERP use separate price-only training profiles: 0.10 and 0.01 USDT ticks, with one whole unit representing one BTC or ETH. USDT is not treated as USD. Micro contracts, exchange minimum crypto quantities, funding, margin and liquidation are not simulated.

Use a UTF-8 CSV with a header and one row per one-minute bar. Map the timestamp, open, high, low and close column names explicitly. Volume is optional and remains absent when missing. The maximum is 20 MiB and 200,000 bars per file, with at most two distinct instruments per run.

Use a specific unadjusted quarterly contract (for example ESH26), or the exact BTCUSDT-PERP / ETHUSDT-PERP identifier. State the source and confirm your right to use it. The importer checks format and internal consistency; it cannot authenticate prices or verify your data licence. Do not use back-adjusted continuous prices for fill simulation.

Select ISO, Unix seconds or Unix milliseconds and whether the timestamp identifies the bar open or close. ISO timestamps need an explicit offset, or an IANA timezone supplied in the form. Ambiguous repeated times and nonexistent daylight-saving times are rejected. Seconds must be zero. Prices must be positive and align with the selected instrument’s tick. Bad OHLC relationships and conflicting duplicates fail. Sorting and exact deduplication require explicit consent. The report retains raw and normalised SHA-256 checksums.

The clock is the close of the latest revealed primary one-minute bar. Both charts use only bars whose close is at or before that time. New York boundaries define 5m, 15m and 1h aggregates. A forming candle contains only already revealed constituents. Missing observation data is never forward-filled. Only the most recent 2,000 revealed base bars in the selected warm-up window are rendered for responsiveness; the ledger retains the complete event history.

Primary gaps with an active order or position pause the run until you explicitly continue. Every crossed primary gap marks the run incomplete. Playback pauses when this tab becomes hidden and does not resume automatically. Starting another run in the current session, or before prices already revealed in a saved run on the same dataset, is labelled as having seen future prices; also tick that option whenever you previously viewed the sample elsewhere.

Save a matching long/short decision at the current minute before queuing an entry. Submission never fills at the close you have just seen. The next primary bar is processed in this order:

  1. Existing protective orders at the opening price, including gaps.
  2. A pending full market exit at that open plus adverse slippage.
  3. A pending entry at the open plus adverse slippage, with stop/target direction and risk rechecked. Size can decrease, never increase beyond the requested maximum. Invalid plans and unaffordable single contracts are rejected without entry fees.
  4. High/low protection for the bar. If both stop and target are touched, the stop is used and the result is marked ambiguous; this does not establish the actual intrabar path.

A stop gap fills at the worse opening price plus adverse slippage. A target fills at its fixed limit, without favourable gap improvement or adverse limit slippage. One global position or pending entry is permitted. Stops and targets remain fixed; there are no additions, partial exits or automatic pattern signals.

Prices use integer ticks and funds use integer quote-currency cents. Each per-contract, per-side fee rounds up to cents before multiplication. Cash budgets round down. Percentage budgets freeze against settled cash when submitted. Risk per contract includes the actual entry-to-stop distance, exit slippage and both fees. Entry fees are deducted once at entry. On exit the account receives gross P&L less exit fees. R uses the initial expected net stop risk as its frozen denominator.

The simulator does not model margin, queue priority or liquidity. Crypto results exclude funding and use USDT, with no USD conversion. In v1.1 a slipped exit outside the supported positive price range is bounded to the supported tick, logged and marked incomplete; the affected/subsequent trades are excluded from complete-sample statistics. Original replay-1.0 records retain their original rules. A gap can exceed the budget and make cash negative; no further entry is allowed with non-positive cash. Win rate and mean R exclude incomplete-data trades and explicit end settlements. Equity and maximum drawdown use settled trades and do not include unrealised fluctuations. A replay result does not establish a strategy’s profitability.

End of data creates no ordinary fill. Pause to keep a position open, or explicitly settle it at the last revealed close with exit slippage and fees. Settlement is labelled separately. Decisions and revisions retain the observation time and rules version.

Runs, datasets, plans and events are stored in this browser’s IndexedDB. Saving an event and its run snapshot is atomic. A revision conflict from another tab or a failed save pauses further changes and exposes an unsaved full backup. Reload the saved version only after exporting unsaved work. Clearing browser data removes local records; the service worker does not store or synchronise uploaded data.

History exports full JSON backups, records-only JSON or trades CSV. Full restore verifies dataset checksums and rebuilds the ledger from the versioned event history. Records-only restore needs the exact normalised datasets. The backup includes interpretation references so you can reimport with the original column mapping, timestamp meaning and confirmations; references do not substitute for checksum validation. Unsupported versions can be viewed as original text without recalculation. An existing run is never overwritten by restore. CSV exports neutralise formula prefixes. Files remain local during import and export.

This product includes Lightweight Charts™, version 5.2.1, by TradingView. Copyright (с) 2025 TradingView, Inc. Distributed under the Apache License 2.0. The attribution notice is included; chart attribution remains visible in the trainer.

The trainer links to official Binance USD-M daily archives for 15 January 2025. Download, unzip and select the matching CSV, then use its BTC or ETH mapping preset. Use open_time as opening milliseconds; close_time is inclusive and is not a minute-boundary closing timestamp. These frozen historical training grids are not current exchange filters. Read the non-commercial source terms. No archive is bundled with the site or automatically fetched.

The repository’s scripts/fetch-replay-sample.py can verify archive and funding SHA-256 files and save CSVs outside Git. The real-price acceptance cases use 10:00–11:00 UTC, checked against that month’s actual funding records; funding is still outside the general simulator model. These crypto checks do not establish real ES/NQ acceptance.

For the study method, review Candle Entry Logic before returning to the K-line Replay Trainer.

Personal study notes, shared as-is and in good faith. Educational material only — nothing on this site constitutes financial advice.