list_trades
Retrieve paginated trade history from the Bitpanda API, filtering by trade type (buy/sell) and using cursor-based pagination for efficient data handling.
Instructions
Lists all user's trades from the Bitpanda API. Newest trades come first. Response is cursor paginated.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cursor | No | Id of the last known trade by the client. Only trades after this id are returned. Empty or missing cursor parameter will return trades from the start. | |
page_size | No | Size of a page for the paginated response | |
type | No | One of `buy` or `sell` |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"cursor": {
"description": "Id of the last known trade by the client. Only trades after this id are returned. Empty or missing cursor parameter will return trades from the start.",
"type": "string"
},
"page_size": {
"description": "Size of a page for the paginated response",
"exclusiveMinimum": 0,
"type": "integer"
},
"type": {
"description": "One of `buy` or `sell`",
"enum": [
"buy",
"sell"
],
"type": "string"
}
},
"type": "object"
}