Features
- Flexible leverage: Set leverage from 1x to 125x
- Symbol-specific: Configure different leverage for each trading pair
- Risk management: Higher leverage increases both potential profits and losses
Aster - Set Leverage
Configure leverage for a specific trading pair on Aster exchange.Endpoint
POST /api/aster/perp/:walletId/leverage
Path Parameters
Request Body
Request Parameters
Example Request
Success Response
Response Fields
Use Cases
- Set leverage before opening a position
- Adjust risk exposure for different trading strategies
- Configure different leverage levels for various trading pairs
- Implement dynamic leverage based on market conditions
Important Notes
Leverage must be set before placing orders. The leverage setting applies to all future orders for the specified symbol until changed.
Avantis Leverage
Avantis leverage is configured per-trade at execution time (not via a separate API call). Leverage is passed directly in theopenPosition request. Limits vary by order type and pair:
Avantis does not have a separate set-leverage endpoint. Leverage is specified in each trade request and applies to that individual position.