hikyuu2/hikyuu_cpp/hikyuu/hikyuu.h

50 lines
1.0 KiB
C++
Raw Normal View History

2015-01-07 01:26:14 +08:00
/*
* hikyuu.h
*
* Created on: 2011-11-13
* Author: fasiondog
*/
#pragma once
2015-01-07 01:26:14 +08:00
#ifndef HIKYUU_H_
#define HIKYUU_H_
2018-08-31 02:50:06 +08:00
#include "KData.h"
2020-06-10 00:17:24 +08:00
#include "Stock.h"
2015-01-07 01:26:14 +08:00
#include "StockManager.h"
#include "utilities/util.h"
2019-03-09 23:30:04 +08:00
#include "utilities/Parameter.h"
2015-01-07 01:26:14 +08:00
namespace hku {
2020-06-10 00:17:24 +08:00
/**
* @ingroup StockManage
* @{
*/
2015-01-07 01:26:14 +08:00
/**
* Hikyuu核心初始化
* @param config_file_name
* @param ignore_preload
* hikyuu
2015-01-07 01:26:14 +08:00
*/
2021-02-17 19:43:59 +08:00
void HKU_API hikyuu_init(const string& config_file_name, bool ignore_preload = false,
const StrategyContext& context = StrategyContext({"all"}));
2015-01-07 01:26:14 +08:00
/**
* Hikyuu当前版本号
* @return
*/
string HKU_API getVersion();
/**
*
*/
std::string HKU_API getVersionWithBuild();
2020-06-10 00:17:24 +08:00
/** @} */
2019-11-10 19:45:57 +08:00
} // namespace hku
2015-01-07 01:26:14 +08:00
#endif /* HIKYUU_H_ */