8 #ifndef TRADE_SYS_PORTFOLIO_IMP_PF_SIMPLE_H_ 9 #define TRADE_SYS_PORTFOLIO_IMP_PF_SIMPLE_H_ 11 #include "../Portfolio.h" 12 #include "../../selector/crt/SE_Fixed.h" 13 #include "../../allocatefunds/crt/AF_EqualWeight.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