Hikyuu
SYS_Simple.h
浏览该文件的文档.
1 /*
2  * crtSimpleSystem.h
3  *
4  * Created on: 2013-3-22
5  * Author: fasiondog
6  */
7 
8 #ifndef CRTSIMPLESYSTEM_H_
9 #define CRTSIMPLESYSTEM_H_
10 
11 #include "../System.h"
12 
13 namespace hku {
14 
40  const TradeManagerPtr& tm = TradeManagerPtr(),
41  const MoneyManagerPtr& mm = MoneyManagerPtr(),
42  const EnvironmentPtr& ev = EnvironmentPtr(),
43  const ConditionPtr& cn = ConditionPtr(),
44  const SignalPtr& sg = SignalPtr(),
45  const StoplossPtr& sl = StoplossPtr(),
46  const StoplossPtr& tp = StoplossPtr(),
47  const ProfitGoalPtr& pg = ProfitGoalPtr(),
48  const SlippagePtr& sp = SlippagePtr());
49 
50 } /* namespace */
51 
52 #endif /* CRTSIMPLESYSTEM_H_ */
shared_ptr< ProfitGoalBase > ProfitGoalPtr
客户程序都应使用该指针类型
Definition: ProfitGoalBase.h:162
shared_ptr< EnvironmentBase > EnvironmentPtr
客户程序都应使用该指针类型
Definition: EnvironmentBase.h:160
shared_ptr< SlippageBase > SlippagePtr
客户程序都应使用该指针类型,操作移滑价差算法
Definition: SlippageBase.h:153
shared_ptr< MoneyManagerBase > MoneyManagerPtr
客户程序都应使用该指针类型
Definition: MoneyManagerBase.h:217
shared_ptr< TradeManager > TradeManagerPtr
客户程序应使用此类型进行实际操作
Definition: TradeManager.h:635
#define HKU_API
Definition: DataType.h:12
shared_ptr< SignalBase > SignalPtr
客户程序都应使用该指针类型,操作信号指示器
Definition: SignalBase.h:185
shared_ptr< StoplossBase > StoplossPtr
客户程序都应使用该指针类型,操作止损策略实例
Definition: StoplossBase.h:167
SystemPtr HKU_API SYS_Simple(const TradeManagerPtr &tm=TradeManagerPtr(), const MoneyManagerPtr &mm=MoneyManagerPtr(), const EnvironmentPtr &ev=EnvironmentPtr(), const ConditionPtr &cn=ConditionPtr(), const SignalPtr &sg=SignalPtr(), const StoplossPtr &sl=StoplossPtr(), const StoplossPtr &tp=StoplossPtr(), const ProfitGoalPtr &pg=ProfitGoalPtr(), const SlippagePtr &sp=SlippagePtr())
生成简单系统实例
Definition: SYS_Simple.cpp:12
shared_ptr< ConditionBase > ConditionPtr
客户程序都应使用该指针类型
Definition: ConditionBase.h:163
Hikyuu核心命名空间,包含股票数据的管理、指标实现、交易系统框架等
Definition: Block.cpp:11
shared_ptr< System > SystemPtr
客户程序应使用该指针进行操作
Definition: System.h:304