Hikyuu
PRICELIST.h
浏览该文件的文档.
1 /*
2  * PRICELIST.h
3  *
4  * Created on: 2013-2-14
5  * Author: fasiondog
6  */
7 
8 #ifndef PRICELIST_H_
9 #define PRICELIST_H_
10 
11 #include "../Indicator.h"
12 
13 namespace hku {
14 
21 Indicator HKU_API PRICELIST(const PriceList&, int discard = 0);
22 
29 Indicator HKU_API PRICELIST(const Indicator& ind, int result_index = 0);
30 
36 Indicator HKU_API PRICELIST(int result_index = 0);
37 
44 Indicator HKU_API PRICELIST(price_t *data, size_t total);
45 
46 
47 } /* namespace */
48 
49 
50 #endif /* PRICELIST_H_ */
vector< price_t > PriceList
Definition: DataType.h:66
#define HKU_API
Definition: DataType.h:12
class HKU_API Indicator
Definition: IndicatorImp.h:27
double price_t
Definition: DataType.h:53
Indicator HKU_API PRICELIST(const PriceList &, int discard=0)
包装PriceList成Indicator
Definition: IPriceList.cpp:91
Hikyuu核心命名空间,包含股票数据的管理、指标实现、交易系统框架等
Definition: Block.cpp:11