hikyuu2/libs/hikyuu_python/main.cpp
2016-04-03 00:08:31 +08:00

48 lines
977 B
C++

/*
* 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();
void export_Block();
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);
boost::python::def("getStock", hku::getStock);
export_DataType();
export_Constant();
export_util();
export_Datetime();
export_MarketInfo();
export_StockTypeInfo();
export_StockWeight();
export_StockManager();
export_KQuery();
export_KReord();
export_KData();
export_Stock();
export_Block();
export_Parameter();
export_save_load();
}