get_transaction
Fetch a single transaction's full details by its ID, including type, timestamp, and monetary fields.
Instructions
Get the details of a single transaction.
Returns {"transaction": {...}, "lastTransactionID": "..."}. Every
transaction has id, time (RFC3339), and type
(e.g. ORDER_FILL, MARKET_ORDER, ORDER_CANCEL,
DAILY_FINANCING, TRANSFER_FUNDS); the remaining fields depend
on the type. Monetary values (pl, financing, commission,
accountBalance, amount) and units/price are decimal
strings; units is signed (positive = long, negative = short).
Internal bookkeeping fields (request/batch IDs, conversion factors)
are dropped.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transaction_id | Yes | Transaction ID to look up (numeric string, e.g. '6410'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||