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

浏览源代码.

class  hku::ProfitGoalBase
 盈利目标策略基类 更多...
 

命名空间

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

宏定义

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

类型定义

typedef shared_ptr< ProfitGoalBase > hku::ProfitGoalPtr
 客户程序都应使用该指针类型 更多...
 
typedef shared_ptr< ProfitGoalBase > hku::PGPtr
 

函数

HKU_API std::ostream & hku::operator<< (std::ostream &os, const ProfitGoalBase &pg)
 
HKU_API std::ostream & hku::operator<< (std::ostream &os, const ProfitGoalPtr &pg)
 

宏定义说明

#define PROFITGOAL_IMP (   classname)
值:
public:\
virtual ProfitGoalPtr _clone() {\
return ProfitGoalPtr(new classname());\
}\
virtual price_t getGoal(const Datetime&, price_t); \
virtual void _calculate();
shared_ptr< ProfitGoalBase > ProfitGoalPtr
客户程序都应使用该指针类型
Definition: ProfitGoalBase.h:162
double price_t
Definition: DataType.h:53