hikyuu2/hikyuu_pywrap/main.cpp

48 lines
977 B
C++
Raw Normal View History

2015-01-07 01:26:14 +08:00
/*
* main.cpp
*
* Created on: 2011-12-4
* Author: fasiondog
*/
#include <boost/python.hpp>
#include <hikyuu/hikyuu.h>
void export_DataType();
void export_Constant();
void export_util();
void export_Datetime();
void export_StockManager();
void export_Stock();
2016-04-03 00:08:31 +08:00
void export_Block();
2015-01-07 01:26:14 +08:00
void export_MarketInfo();
void export_StockTypeInfo();
void export_StockWeight();
void export_KQuery();
void export_KReord();
void export_KData();
void export_Parameter();
void export_save_load();
BOOST_PYTHON_MODULE(_hikyuu){
boost::python::def("hikyuu_init", hku::hikyuu_init);
2016-04-03 00:08:31 +08:00
boost::python::def("getStock", hku::getStock);
2015-01-07 01:26:14 +08:00
export_DataType();
export_Constant();
export_util();
export_Datetime();
export_MarketInfo();
export_StockTypeInfo();
export_StockWeight();
export_StockManager();
export_KQuery();
export_KReord();
export_KData();
export_Stock();
2016-04-03 00:08:31 +08:00
export_Block();
2015-01-07 01:26:14 +08:00
export_Parameter();
export_save_load();
}