Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ASTER_API_KEY | Yes | Your Aster API key for authentication | |
| ASTER_API_SECRET | Yes | Your Aster API secret key for authentication |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ping | Test connectivity to the Rest API. |
| time | Get the current server time. |
| exchangeInfo | Get current exchange trading rules and symbol information. |
| depth | Get the order book for a symbol. |
| trades | Get recent market trades. |
| historicalTrades | Get older market historical trades. |
| aggTrades | Get compressed, aggregate market trades. |
| klines | Get Kline/candlestick bars for a symbol. |
| indexPriceKlines | Kline/candlestick bars for the index price of a pair. |
| markPriceKlines | Kline/candlestick bars for the mark price of a symbol. |
| premiumIndex | Get Mark Price and Funding Rate. |
| fundingRate | Get funding rate history. |
| fundingInfo | Get funding rate config. |
| ticker_24hr | 24 hour rolling window price change statistics. |
| ticker_price | Latest price for a symbol or symbols. |
| ticker_bookTicker | Best price/qty on the order book for a symbol or symbols. |
| setPositionMode | Change user's position mode (Hedge Mode or One-way Mode). |
| getPositionMode | Get user's position mode. |
| setMultiAssetsMode | Change user's Multi-Assets mode. |
| getMultiAssetsMode | Get user's Multi-Assets mode. |
| placeOrder | Send in a new order. |
| placeBatchOrders | Place multiple orders. |
| transferAsset | Transfer between futures and spot. |
| queryOrder | Check an order's status. |
| cancelOrder | Cancel an active order. |
| cancelAllOpenOrders | Cancel all open orders on a symbol. |
| cancelBatchOrders | Cancel multiple orders. |
| countdownCancelAll | Auto-cancel all open orders. |
| queryOpenOrder | Query current open order. |
| getAllOpenOrders | Get all open orders on a symbol. |
| getAllOrders | Get all account orders; active, canceled, or filled. |
| getBalance | Get futures account balance. |
| getAccountInfo | Get current account information. |
| setLeverage | Change user's initial leverage. |
| setMarginType | Change margin type. |
| modifyPositionMargin | Modify isolated position margin. |
| getPositionMarginHistory | Get position margin change history. |
| getPositionInfo | Get current position information. |
| getTradeList | Get trades for a specific account and symbol. |
| getIncomeHistory | Get income history. |
| getLeverageBrackets | Get notional and leverage brackets. |
| getAdlQuantile | Get Position ADL Quantile Estimation. |
| getForceOrders | Get user's force orders. |
| getCommissionRate | Get user's commission rate. |