8 #ifndef TRADE_MANAGE_IMP_FIXEDA2015TRADECOST_H_ 9 #define TRADE_MANAGE_IMP_FIXEDA2015TRADECOST_H_ 11 #include "../TradeCostBase.h" virtual ~FixedA2015TradeCost()
Definition: FixedA2015TradeCost.cpp:20
FixedA2015TradeCost()
Definition: FixedA2015TradeCost.cpp:13
virtual TradeCostPtr _clone()
子类私有变量克隆接口
Definition: FixedA2015TradeCost.cpp:82
日期类型
Definition: Datetime.h:33
Stock基类,Application中一般使用StockPtr进行操作
Definition: Stock.h:27
shared_ptr< TradeCostBase > TradeCostPtr
Definition: TradeCostBase.h:35
double price_t
Definition: DataType.h:53
成本记录
Definition: CostRecord.h:27
virtual CostRecord getBuyCost(const Datetime &datetime, const Stock &stock, price_t price, size_t num) const
计算买入成本
Definition: FixedA2015TradeCost.cpp:24
#define TRADE_COST_NO_PRIVATE_MEMBER_SERIALIZATION
对于没有私有变量的继承子类,可直接使用该宏定义序列化
Definition: TradeCostBase.h:154
Definition: FixedA2015TradeCost.h:15
virtual CostRecord getSellCost(const Datetime &datetime, const Stock &stock, price_t price, size_t num) const
计算卖出成本
Definition: FixedA2015TradeCost.cpp:50
Hikyuu核心命名空间,包含股票数据的管理、指标实现、交易系统框架等
Definition: Block.cpp:11
交易成本算法接口基类
Definition: TradeCostBase.h:28