| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- # Grid strategy starter configuration
- # Set strategy_mode=grid in config.yaml and include these values (adjust per account size).
- env: testnet
- api_base: https://api.pacifica.fi/api/v1
- ws_url: wss://ws.pacifica.fi/ws
- strategy_mode: grid
- grid:
- enabled: true
- # Single-symbol MVP settings
- symbol: BTC
- grid_step_bps: 100 # 1.0% spacing between layers
- grid_range_bps: 400 # +/-4.0% coverage
- base_clip_usd: 500 # each layer notional in USD
- max_layers: 4 # 4 levels per side
- hedge_threshold_base: 0.3 # accumulate 0.3 BTC before hedging
- adaptive_recenter:
- enabled: false
- recenter_threshold_bps: 200
- trend_filter:
- enabled: false
- lookback_periods: 12
- trend_threshold_bps: 50
- volatility_monitor:
- enabled: false
- min_daily_range_bps: 80
- action: notify
- risk:
- max_notional_abs: 100000
- max_base_abs: 0.8
- hedge:
- kp: 0.6
- ki: 0.05
- qmax: 0.4
- min_interval_ms: 200
|