Skip to main content

get_bond_total_asset

Function get_bond_total_asset 

Source
pub async fn get_bond_total_asset(
    __arg0: State<RestState>,
    rec: Option<Extension<Arc<KeyRecord>>>,
    __arg2: Json<Value>,
) -> Result<Json<Value>, (StatusCode, Json<Value>)>
Expand description

POST /api/bond-total-asset — 账户债券总持仓 (P&L 汇总, mobile cmd 9373)

参数:

  • acc_id (u64, 必填)
  • trd_env (i32, 0=sim 1=real, default 1)
  • market (string, 必填): “HK” / “US” / “SG”

响应字段 (s2c.inner): total_asset / position_incomes / today_incomes / accrued_interest / show_flag / ccy.