config: lower threshold 0.10->0.05, arb 0.03->0.02, amount 0->0

This commit is contained in:
jackyu66git
2026-05-04 19:31:08 +08:00
parent 19443c132a
commit 6e9b982c66
3 changed files with 10 additions and 8 deletions
+2 -2
View File
@@ -1076,9 +1076,9 @@ func (t *Trader) placeOrder(leg *PositionLeg, side string, store *PriceStore) (s
log.Printf("[ExRes] HL %s %s: size=%s", side, leg.Coin, size)
// Estimate fee from filled response (HL doesn't return fee in order response)
fee, fetchErr := t.hyperliquid.GetTradeFee(resp, takerFees[ExHyperLiquid])
fee, fetchErr := t.hyperliquid.EstimateFeeFromResponse(resp, takerFees[ExHyperLiquid])
if fetchErr != nil {
log.Printf("[Fee] HL GetTradeFee warning: %v", fetchErr)
log.Printf("[Fee] HL EstimateFeeFromResponse warning: %v", fetchErr)
} else {
log.Printf("[Fee] HL %s %s: actual fee=$%.6f", side, leg.Coin, fee)
}