get_my_trades
Retrieve a user's complete trade history, including both their created trades and trades on offers they own. Filter by trade state, type, or specific user ID.
Instructions
Get all trades for a user, including trades they created and trades on offers they own
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_my_trades"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Filter by state: active | cancelled | completed | expired | settled | |
| userId | No | External user ID. Defaults to your own user ID. | |
| tradeType | No | Filter by trade type: long | short |