get_funding_rate_history
Retrieve historical funding rate data for specific trading pairs from Aster Finance API, formatted as a Markdown table. Specify symbol, time range, and record limit for precise results.
Instructions
Fetch Funding Rate History data from Aster Finance API and return as Markdown table text.
Parameters:
symbol (str): Trading pair symbol (e.g., 'BTCUSDT', 'ETHUSDT'). Case-insensitive.
startTime (Optional[int]): Start time in milliseconds since Unix epoch. If None, defaults to API behavior.
endTime (Optional[int]): End time in milliseconds since Unix epoch. If None, defaults to API behavior.
limit (Optional[int]): Number of funding rate records to return (1 to 1000). If None, defaults to 100.
Returns:
str: Markdown table containing symbol, fundingTime, and fundingRate.
Raises:
Exception: If the API request fails or data processing encounters an error.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
endTime | No | ||
limit | No | ||
startTime | No | ||
symbol | Yes |
Input Schema (JSON Schema)
{
"properties": {
"endTime": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Endtime"
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Limit"
},
"startTime": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Starttime"
},
"symbol": {
"title": "Symbol",
"type": "string"
}
},
"required": [
"symbol"
],
"title": "get_funding_rate_historyArguments",
"type": "object"
}