Skip to content

v0.4.7 — Spot+Perp Funding Arb + Lighter Spot Trading

Choose a tag to compare

@Hiksang Hiksang released this 13 Mar 22:08
· 548 commits to main since this release

Features

  • Spot+Perp funding arb: scan, auto-exec for spot-hedged funding strategies
  • Spot adapters for Hyperliquid and Lighter (buy/sell/balance/markets)
  • Cancel by orderId alone — auto-detect symbol from open orders
  • Skill scripts: arb-monitor, funding-analysis, preflight, spot-perp-scan, validate-arb

Fixes

  • HL/Lighter decimal precision — official rounding, no silent fallback
  • Lighter spot trading — accurate decimals, USDC transfers, nonce collision
  • Post-execution fill verification for spot-perp entry/close
  • Spot/perp balance check before spot-exec
  • SDK parity — use API-provided values instead of re-deriving
  • HL cancel/side bugs, Lighter empty trades
  • Lighter API key index 2→4 (0-3 reserved)
  • Move live API tests to integration/ to fix CI

Testing

  • 965+ unit tests passing
  • Spot adapter cross-validation tests (live)

Full Changelog: v0.4.6...v0.4.7