Expand description
Fee calculation service for trading fees.
This module provides fee calculation functionality including:
- Maker/taker fee calculation based on configurable BPS rates
- Builder code fee calculation (share of taker fee)
All calculations are pure math with no external dependencies.
Structsยง
- FeeCalculation
- Result of fee calculation.
- FeeConfig
- Configuration for fee calculation.
- FeeService
- Service for calculating trading fees.