pub struct TradingAccountField {
pub account_id: String,
pub balance: f64,
pub frozen_margin: f64,
pub frozen_cash: f64,
pub frozen_commission: f64,
pub available: f64,
}Expand description
资金行(CThostFtdcTradingAccountField 窄面;td onRspQryTradingAccount
604-610 行实际取用字段)。
Fields§
§account_id: String账户号
balance: f64当前权益(Balance)
frozen_margin: f64冻结的保证金(并进 frozen;原稿 607 三项求和)
frozen_cash: f64冻结的现金
frozen_commission: f64冻结的手续费
available: f64可用资金(⚠ 见 DESIGN.md D-AVAIL)
Trait Implementations§
Source§impl Clone for TradingAccountField
impl Clone for TradingAccountField
Source§impl Debug for TradingAccountField
impl Debug for TradingAccountField
Source§impl Default for TradingAccountField
impl Default for TradingAccountField
Source§impl PartialEq for TradingAccountField
impl PartialEq for TradingAccountField
impl StructuralPartialEq for TradingAccountField
Auto Trait Implementations§
impl Freeze for TradingAccountField
impl RefUnwindSafe for TradingAccountField
impl Send for TradingAccountField
impl Sync for TradingAccountField
impl Unpin for TradingAccountField
impl UnsafeUnpin for TradingAccountField
impl UnwindSafe for TradingAccountField
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more