Skip to main content

Profit Protection

Inventory Management

Position accumulation is controlled through inventory skewing. When your position grows, the bot adjusts prices to encourage mean reversion:

  • Long position: Lower bid prices (less buying), raise ask prices (encourage selling)
  • Short position: Raise bid prices (encourage buying), lower ask prices (less selling)

The strength of the skew scales with position size — larger positions create stronger price adjustments to accelerate inventory reduction.

POST_ONLY Orders

All orders are placed with POST_ONLY flag, meaning they will only execute as maker orders. This ensures you always receive maker fee rates (typically 0% or near-zero on supported exchanges) and never accidentally cross the spread as a taker (0.03% fee).

Order Replenishment

Filled orders are automatically replaced with new orders at updated prices. The replenisher monitors fills via WebSocket and places new orders based on current market conditions, not the old fill price.