get_latest_price
Fetch real-time price data from Aster Finance API for specified trading pairs, returning results in a clear Markdown table format. Ideal for quick market insights.
Instructions
Fetch latest price 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 and price.
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_latest_priceArguments",
"type": "object"
}