Hikyuu
Public 成员函数 | Public 属性 | 友元 | 所有成员列表

当前资产情况记录,由TradeManager::getFunds返回 更多...

#include <FundsRecord.h>

Public 成员函数

 FundsRecord ()
 
 FundsRecord (price_t cash, price_t market_value, price_t short_market_value, price_t base_cash, price_t base_asset, price_t borrow_cash, price_t borrow_asset)
 

Public 属性

price_t cash
 当前现金 更多...
 
price_t market_value
 当前多头市值 更多...
 
price_t short_market_value
 当前空头仓位市值 更多...
 
price_t base_cash
 当前投入本金principal 更多...
 
price_t base_asset
 当前投入的资产价值 更多...
 
price_t borrow_cash
 当前借入的资金,即负债 更多...
 
price_t borrow_asset
 当前借入证券资产价值 更多...
 

友元

class boost::serialization::access
 

详细描述

当前资产情况记录,由TradeManager::getFunds返回

构造及析构函数说明

hku::FundsRecord::FundsRecord ( )
hku::FundsRecord::FundsRecord ( price_t  cash,
price_t  market_value,
price_t  short_market_value,
price_t  base_cash,
price_t  base_asset,
price_t  borrow_cash,
price_t  borrow_asset 
)

友元及相关函数文档

friend class boost::serialization::access
friend

类成员变量说明

price_t hku::FundsRecord::base_asset

当前投入的资产价值

price_t hku::FundsRecord::base_cash

当前投入本金principal

price_t hku::FundsRecord::borrow_asset

当前借入证券资产价值

price_t hku::FundsRecord::borrow_cash

当前借入的资金,即负债

price_t hku::FundsRecord::cash

当前现金

price_t hku::FundsRecord::market_value

当前多头市值

price_t hku::FundsRecord::short_market_value

当前空头仓位市值


该类的文档由以下文件生成: