Hikyuu
PF_Simple.h
浏览该文件的文档.
1 /*
2  * PF_Simple.h
3  *
4  * Created on: 2018年1月13日
5  * Author: fasiondog
6  */
7 
8 #ifndef TRADE_SYS_PORTFOLIO_IMP_PF_SIMPLE_H_
9 #define TRADE_SYS_PORTFOLIO_IMP_PF_SIMPLE_H_
10 
11 #include "../Portfolio.h"
12 #include "../../selector/crt/SE_Fixed.h"
13 #include "../../allocatefunds/crt/AF_EqualWeight.h"
14 
15 namespace hku {
16 
18  const TMPtr& tm = TradeManagerPtr(),
19  const SEPtr& st = SE_Fixed(),
20  const AFPtr& af = AF_EqualWeight());
21 
22 } /* namespace hku */
23 
24 #endif /* TRADE_SYS_PORTFOLIO_IMP_PF_SIMPLE_H_ */
PortfolioPtr HKU_API PF_Simple(const TMPtr &tm=TradeManagerPtr(), const SEPtr &st=SE_Fixed(), const AFPtr &af=AF_EqualWeight())
Definition: PF_Simple.cpp:12
shared_ptr< TradeManager > TradeManagerPtr
客户程序应使用此类型进行实际操作
Definition: TradeManager.h:635
#define HKU_API
Definition: DataType.h:12
AFPtr HKU_API AF_EqualWeight()
Definition: EqualWeightAllocateFunds.cpp:35
SelectorPtr HKU_API SE_Fixed()
Definition: FixedSelector.cpp:25
shared_ptr< SelectorBase > SEPtr
Definition: SelectorBase.h:136
shared_ptr< TradeManager > TMPtr
Definition: TradeManager.h:636
Hikyuu核心命名空间,包含股票数据的管理、指标实现、交易系统框架等
Definition: Block.cpp:11
shared_ptr< Portfolio > PortfolioPtr
客户程序都应使用该指针类型
Definition: Portfolio.h:105
shared_ptr< AllocateFundsBase > AFPtr
Definition: AllocateFundsBase.h:181