What problem does it solve?
Provides a clear, authenticated interface to query and manage Aster Futures account state so developers and traders can read balances, inspect positions, adjust leverage/margin, and move funds between futures and spot without manual API lookup.
Core Features & Use Cases
- Account and Balances: Retrieve consolidated account and per-asset balances, availableBalance, and maxWithdrawAmount for wallet and cross-margin calculations.
- Positions & Risk: Fetch positionRisk and positions data to monitor entryPrice, leverage, isolated status, unrealized PnL, and liquidationPrice for hedged or one-way modes.
- Leverage, Margin & Transfers: Change leverage and marginType, adjust isolated position margin, and execute futures↔spot transfers with clientTranId support and timeline queries.
- Use Case: A trading bot or portfolio tool can poll balances and position risk, change leverage for a symbol, and move funds between spot and futures in response to risk conditions.
Quick Start
Retrieve the account balances, open positions for symbol BTCUSDT, and current leverage settings using the aster-api-account-v3 endpoints with a signed API request.