grid.example.yaml 960 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Grid strategy starter configuration
  2. # Set strategy_mode=grid in config.yaml and include these values (adjust per account size).
  3. env: testnet
  4. api_base: https://api.pacifica.fi/api/v1
  5. ws_url: wss://ws.pacifica.fi/ws
  6. strategy_mode: grid
  7. grid:
  8. enabled: true
  9. # Single-symbol MVP settings
  10. symbol: BTC
  11. grid_step_bps: 100 # 1.0% spacing between layers
  12. grid_range_bps: 400 # +/-4.0% coverage
  13. base_clip_usd: 500 # each layer notional in USD
  14. max_layers: 4 # 4 levels per side
  15. hedge_threshold_base: 0.3 # accumulate 0.3 BTC before hedging
  16. adaptive_recenter:
  17. enabled: false
  18. recenter_threshold_bps: 200
  19. trend_filter:
  20. enabled: false
  21. lookback_periods: 12
  22. trend_threshold_bps: 50
  23. volatility_monitor:
  24. enabled: false
  25. min_daily_range_bps: 80
  26. action: notify
  27. risk:
  28. max_notional_abs: 100000
  29. max_base_abs: 0.8
  30. hedge:
  31. kp: 0.6
  32. ki: 0.05
  33. qmax: 0.4
  34. min_interval_ms: 200