2018-08-19 16:51:10 +08:00
|
|
|
|
// demo.cpp : <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̨Ӧ<CCA8>ó<EFBFBD><C3B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڵ㡣
|
|
|
|
|
//
|
|
|
|
|
|
2018-08-21 01:56:29 +08:00
|
|
|
|
#include <hikyuu/hikyuu.h>
|
2018-08-19 16:51:10 +08:00
|
|
|
|
|
|
|
|
|
using namespace hku;
|
|
|
|
|
|
|
|
|
|
int main(int argc, char* argv[])
|
|
|
|
|
{
|
2018-08-21 01:56:29 +08:00
|
|
|
|
//<2F><><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
hikyuu_init("c:\\stock\\hikyuu_win.ini");
|
|
|
|
|
|
|
|
|
|
StockManager& sm = StockManager::instance();
|
|
|
|
|
|
|
|
|
|
Stock stk = sm.getStock("sh000001");
|
|
|
|
|
std::cout << stk << std::endl;
|
2018-08-19 16:51:10 +08:00
|
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
|
}
|