Grid / buy-ladder simulation on real BTC-EUR prices
simulate_ladderSimulate a simple buy ladder on Bitvavo BTC-EUR daily candles since 2019: buy a slice on every step_pct drop below the lowest open buy, sell each slice at +target_pct, never at a loss. Returns realized %, trades, open positions at the end and buy-and-hold for comparison.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slices | No | Default 20. | |
| fee_pct | No | Fee per side, default 0.15. | |
| end_date | No | Default: the last candle. | |
| step_pct | No | Default 2. | |
| start_date | No | Default: one year before the last candle. | |
| target_pct | No | Default 2.5. |