Skip to content

Account Cash Info

GET /api/v1.0/sim-trade/{acc_id}/cash-info

Get account cash/asset information (balance, frozen amount, buying power, market value, P&L).

Parameters

ParameterTypeLocationRequiredDescription
acc_idstringpathYesBusiness account ID

Request Example

bash
curl -s "https://webapi.moomoo.com/api/v1.0/sim-trade/80303779/cash-info" | jq

Response Fields

FieldTypeDescription
balancestringCash balance
holdstringFrozen amount
max_power_longstringMax buying power
total_assetstringNet asset value
mvstringPosition market value
long_mvstringLong market value
short_mvstringShort market value
unrealized_profitstring/nullUnrealized P&L
realized_profitstring/nullRealized 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
  }
}