Account Cash Info
GET/api/v1.0/sim-trade/{acc_id}/cash-infoGet account cash/asset information (balance, frozen amount, buying power, market value, P&L).
Parameters
| Parameter | Type | Location | Required | Description |
|---|---|---|---|---|
acc_id | string | path | Yes | Business account ID |
Request Example
bash
curl -s "https://webapi.moomoo.com/api/v1.0/sim-trade/80303779/cash-info" | jqResponse Fields
| Field | Type | Description |
|---|---|---|
balance | string | Cash balance |
hold | string | Frozen amount |
max_power_long | string | Max buying power |
total_asset | string | Net asset value |
mv | string | Position market value |
long_mv | string | Long market value |
short_mv | string | Short market value |
unrealized_profit | string/null | Unrealized P&L |
realized_profit | string/null | Realized P&L |
Response Example
json
{
"ret_code": 0,
"data": {
"balance": "1000000",
"hold": "40072.58",
"max_power_long": "959927.42",
"total_asset": "1000000",
"mv": "44800",
"long_mv": "44800",
"short_mv": "0",
"unrealized_profit": null,
"realized_profit": null
}
}