micro_grid_extreme.yaml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. env: mainnet
  2. strategy_mode: grid
  3. accounts:
  4. maker-inner:
  5. address: YOUR_INNER_ACCOUNT_ADDRESS
  6. private_key: YOUR_INNER_PRIVATE_KEY
  7. role: maker_inner
  8. maker-outer:
  9. address: YOUR_OUTER_ACCOUNT_ADDRESS
  10. private_key: YOUR_OUTER_PRIVATE_KEY
  11. role: maker_outer
  12. hedger:
  13. address: YOUR_HEDGER_ACCOUNT_ADDRESS
  14. private_key: YOUR_HEDGER_PRIVATE_KEY
  15. role: hedger
  16. grid:
  17. enabled: true
  18. instances:
  19. - id: btc-inner
  20. account_id: maker-inner
  21. symbol: BTC
  22. grid_step_bps: 1.5
  23. grid_range_bps: 120
  24. base_clip_usd: 60
  25. max_layers: 16
  26. hedge_threshold_base: 0.08
  27. adaptive:
  28. enabled: true
  29. min_grid_step_bps: 1.0
  30. max_grid_step_bps: 12
  31. min_layers: 12
  32. post_only_cushion_bps: 0.3
  33. tick_interval_ms: 25000
  34. min_step_change_ratio: 0.1
  35. fill_starvation_threshold:
  36. ticks: 4
  37. compress_factor: 0.5
  38. - id: btc-outer
  39. account_id: maker-outer
  40. symbol: BTC
  41. grid_step_bps: 6
  42. grid_range_bps: 220
  43. base_clip_usd: 120
  44. max_layers: 10
  45. hedge_threshold_base: 0.15
  46. adaptive:
  47. enabled: true
  48. min_grid_step_bps: 4
  49. max_grid_step_bps: 40
  50. min_layers: 8
  51. post_only_cushion_bps: 1.5
  52. tick_interval_ms: 40000
  53. min_step_change_ratio: 0.15
  54. fill_starvation_threshold:
  55. ticks: 6
  56. compress_factor: 0.6
  57. risk:
  58. max_notional_abs: 150000
  59. max_base_abs: 1.2
  60. max_order_sz: 1.5
  61. hedge:
  62. kp: 0.7
  63. ki: 0.08
  64. qmax: 0.6
  65. min_interval_ms: 200
  66. execution:
  67. rest_rate_limiter:
  68. burst: 12
  69. refill_per_sec: 10
  70. ws_rate_limiter:
  71. burst: 8
  72. refill_per_sec: 6
  73. max_queue_depth: 60
  74. telemetry:
  75. push_interval_ms: 5000