Hikyuu
| 命名空间 | 宏定义 | 类型定义 | 函数
SlippageBase.h 文件参考
#include "../../KData.h"
#include "../../utilities/Parameter.h"
#include "../../utilities/util.h"
#include <boost/serialization/shared_ptr.hpp>
#include <boost/serialization/assume_abstract.hpp>
#include <boost/serialization/base_object.hpp>
SlippageBase.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

class  hku::SlippageBase
 移滑价差算法基类 更多...
 

命名空间

 hku
 Hikyuu核心命名空间,包含股票数据的管理、指标实现、交易系统框架等
 

宏定义

#define SLIPPAGE_NO_PRIVATE_MEMBER_SERIALIZATION
 对于没有私有变量的继承子类,可直接使用该宏定义序列化 更多...
 
#define SLIPPAGE_IMP(classname)
 

类型定义

typedef shared_ptr< SlippageBase > hku::SlippagePtr
 客户程序都应使用该指针类型,操作移滑价差算法 更多...
 
typedef shared_ptr< SlippageBase > hku::SPPtr
 

函数

HKU_API std::ostream & hku::operator<< (std::ostream &os, const SlippageBase &sp)
 
HKU_API std::ostream & hku::operator<< (std::ostream &os, const SlippagePtr &sp)
 

宏定义说明

#define SLIPPAGE_IMP (   classname)
值:
public:\
virtual SlippagePtr _clone() {\
return SlippagePtr(new classname());\
}\
virtual price_t getRealBuyPrice(const Datetime&, price_t); \
virtual price_t getRealSellPrice(const Datetime&, price_t); \
virtual void _calculate();
shared_ptr< SlippageBase > SlippagePtr
客户程序都应使用该指针类型,操作移滑价差算法
Definition: SlippageBase.h:153
double price_t
Definition: DataType.h:53