get_premium_index
Retrieve Premium Index data for trading pairs from the Aster Finance API, formatted as a Markdown table. Input a specific symbol or fetch all data with ease.
Instructions
Fetch Premium Index data from Aster Finance API and return as Markdown table text.
Parameters:
symbol (Optional[str]): Trading pair symbol (e.g., 'BTCUSDT', 'ETHUSDT'). Case-insensitive.
If None, returns data for all symbols.
Returns:
str: Markdown table containing symbol, markPrice, indexPrice, lastFundingRate, and nextFundingTime.
Raises:
Exception: If the API request fails or data processing encounters an error.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
symbol | No |
Input Schema (JSON Schema)
{
"properties": {
"symbol": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Symbol"
}
},
"title": "get_premium_indexArguments",
"type": "object"
}