Large orders that flip the skew are treated differently from multiple smaller orders that achieve the same net effect, potentially discouraging larger trades.
Consider a market with the following conditions:
Current skew: +95 (long-heavy)
Maker fee: 0.05% (0.0005)
Taker fee: 0.1% (0.001)
Mark price: $1000
Option 1: Single large order of 200
Fee calculation:
Maker portion: 95 * $1000 * 0.0005 = $47.5
Taker portion: 105 * $1000 * 0.001 = $105
Total fee: $47.5 + $105 = $152.5
Option 2: Split the order
First order: Sell 95 units
Fee: 95 * $1000 * 0.0005 = $47.5 (maker fee)
Second order: Sell 105 units
Fee: 105 * $1000 * 0.001 = $105 (taker fee)
Total fee for split orders: $47.5 + $105 = $152.5
Optimized split:
First order: Sell 96 units
Fee: 96 * $1000 * 0.0005 = $48 (maker fee)
Second order: Sell 104 units
Fee: 104 * $1000 * 0.0005 = $52 (now a maker fee because it's reducing skew)
Total fee: $48 + $52 = $100
In this optimized split, the trader saves $52.5 in fees by carefully sizing their orders.
The protocol may earn less in fees than intended, as traders optimize their order placement to minimize fees. Sophisticated traders with advanced algorithms can consistently pay lower fees than less sophisticated market participants, creating an unfair playing field.
Manual Review
Not an easy solution but Zaros could consider implementing a more uniform fee structure that doesn't create such stark differences based on order size or market impact. Alternatively, it could implement a sliding scale fee structure based on order size and market impact, making it more difficult to game the system through order splitting.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.