Hikyuu
|
成本记录 更多...
#include <CostRecord.h>
Public 成员函数 | |
CostRecord () | |
CostRecord (price_t commission, price_t stamptax, price_t transferfee, price_t others, price_t total) | |
string | toString () const |
Public 属性 | |
price_t | commission |
佣金 更多... | |
price_t | stamptax |
印花税 更多... | |
price_t | transferfee |
过户费 更多... | |
price_t | others |
其他费用 更多... | |
price_t | total |
总成本 更多... | |
友元 | |
class | boost::serialization::access |
成本记录
总成本 = 佣金 + 印花税 + 过户费 + 其他费用
hku::CostRecord::CostRecord | ( | ) |
hku::CostRecord::CostRecord | ( | price_t | commission, |
price_t | stamptax, | ||
price_t | transferfee, | ||
price_t | others, | ||
price_t | total | ||
) |
std::string hku::CostRecord::toString | ( | ) | const |
|
friend |
price_t hku::CostRecord::commission |
佣金
price_t hku::CostRecord::others |
其他费用
price_t hku::CostRecord::stamptax |
印花税
price_t hku::CostRecord::total |
总成本
price_t hku::CostRecord::transferfee |
过户费