Check Cash Flow
Check Cash Flow
Descriptionâ
This interface is used to query cash inflow/outflow direction, fund type, amount, occurrence time, related symbol and description.
HTTP Requestâ
- GET /api/v3/stockplus/asset/cash-flow
- Permission: Trade (management, read only)
Request
curl "https://api.bitget.com/api/v3/stockplus/asset/cash-flow?startTime=1650037563&endTime=1650747581" \
-H "ACCESS-KEY:your apiKey" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"
Request Parametersâ
| Parameters | Type | Required | Description |
|---|---|---|---|
| startTime | Number | Yes | Start time, timestamp in seconds, e.g. 1650037563 |
| endTime | Number | Yes | End time, timestamp in seconds, e.g. 1650747581 |
| businessType | String | No | Fund typeCash - CashStock - StockFund - Fund |
| symbol | String | No | Symbol, e.g. AAPL.US |
| page | Number | No | Start page. Default: 1. Range: >=1 |
| size | Number | No | Page size. Default: 50. Range: 1~10000 |
Response
{
"code": "00000",
"msg": "success",
"requestTime": 1740000000000,
"data": {
"list": [
{
"transactionFlowName": "Buy AAPL.US",
"direction": "Out",
"businessType": "Unknown",
"balance": -1500.00,
"currency": "USD",
"businessTime": "2024-12-16T10:00:00Z",
"symbol": "AAPL.US",
"description": "Buy 10 shares of AAPL.US"
},
{
"transactionFlowName": "Deposit Cash",
"direction": "In",
"businessType": "Unknown",
"balance": 100000.00,
"currency": "USD",
"businessTime": "2024-12-15T06:10:57Z",
"symbol": null,
"description": ""
}
]
}
}
Response Parametersâ
| Parameters | Type | Description |
|---|---|---|
| list | List<Object> | Cash flow information |
| > transactionFlowName | String | Flow name |
| > direction | String | DirectionIn - InflowOut - Outflow |
| > businessType | String | Fund typeCash - CashStock - StockFund - Fund |
| > balance | Number | Amount |
| > currency | String | Currency |
| > businessTime | String | Business time (ISO 8601) |
| > symbol | String | Related symbol (can be null) |
| > description | String | Cash flow description (can be empty string) |