get_market_positions
Retrieve and organize market positions by specifying a unique market key, with options for pagination, ordering, and sorting to streamline data analysis.
Instructions
Get positions overview for specific markets with pagination and ordering.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
first | No | Number of positions to return (default: 30) | |
marketUniqueKey | Yes | Unique key of the market | |
orderBy | No | Field to order by | |
orderDirection | No | Order direction | |
skip | No | Number of positions to skip |
Input Schema (JSON Schema)
{
"properties": {
"first": {
"description": "Number of positions to return (default: 30)",
"type": "number"
},
"marketUniqueKey": {
"description": "Unique key of the market",
"type": "string"
},
"orderBy": {
"description": "Field to order by",
"enum": [
"SupplyShares",
"BorrowShares",
"SupplyAssets",
"BorrowAssets"
],
"type": "string"
},
"orderDirection": {
"description": "Order direction",
"enum": [
"Asc",
"Desc"
],
"type": "string"
},
"skip": {
"description": "Number of positions to skip",
"type": "number"
}
},
"required": [
"marketUniqueKey"
],
"type": "object"
}