Skip to content

cuwan backtest on public Binance candles - #17

Merged
sgnd merged 4 commits into
mainfrom
claude/cuwan-backtest
Nov 18, 2026
Merged

sgnd merged 4 commits into
mainfrom
claude/cuwan-backtest

Conversation

@sgnd

@sgnd sgnd commented Nov 18, 2026

Copy link
Copy Markdown
Owner

cuwan backtest replays a bot over public Binance candles with the paper fill rules and the live guards. Binance bots only.

Lint and tests pass locally.

🤖 Generated with Claude Code

sgnd and others added 2 commits November 18, 2026 17:43
cuwan backtest NAME replays a bot over Binance klines (spot or USD-M,
public, no keys) with paper's fill rules: a buy fills at the candle low,
a sell at the high, and the opposite order goes one level away. Within a
candle the level nearest the open fills first. The 20x cap, the futures
preventive close and the spot guard 5% below the grid apply as in live.
The report gives fills, round trips, realised and unrealised profit,
fees, max drawdown and when a guard fired, as text or JSON.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sgnd
sgnd enabled auto-merge November 18, 2026 10:48
sgnd and others added 2 commits November 18, 2026 17:52
# Conflicts:
#	CHANGELOG.md
#	docs/plan.md
#	internal/cli/cli.go
Both features brought their own; the backtest one also refuses 100% or
more, so report uses it too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sgnd
sgnd merged commit 6705dc6 into main Nov 18, 2026
8 checks passed
@sgnd
sgnd deleted the claude/cuwan-backtest branch November 18, 2026 10:59
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant