ctpbee-opt-api 0.1.0__cp312-cp312-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ctpbee_api/__init__.py +17 -0
- ctpbee_api/ctp/__init__.py +3 -0
- ctpbee_api/ctp/ctp_constant.py +1253 -0
- ctpbee_api/ctp/generator/concat.py +93 -0
- ctpbee_api/ctp/generator/const.py +325 -0
- ctpbee_api/ctp/generator/ctp_constant.py +1274 -0
- ctpbee_api/ctp/generator/ctp_md_header_define.h +13 -0
- ctpbee_api/ctp/generator/ctp_md_header_function.h +6 -0
- ctpbee_api/ctp/generator/ctp_md_header_on.h +26 -0
- ctpbee_api/ctp/generator/ctp_md_header_process.h +26 -0
- ctpbee_api/ctp/generator/ctp_md_source_function.cpp +42 -0
- ctpbee_api/ctp/generator/ctp_md_source_module.cpp +18 -0
- ctpbee_api/ctp/generator/ctp_md_source_on.cpp +156 -0
- ctpbee_api/ctp/generator/ctp_md_source_process.cpp +282 -0
- ctpbee_api/ctp/generator/ctp_md_source_switch.cpp +78 -0
- ctpbee_api/ctp/generator/ctp_md_source_task.cpp +211 -0
- ctpbee_api/ctp/generator/ctp_struct.py +5640 -0
- ctpbee_api/ctp/generator/ctp_td_header_define.h +130 -0
- ctpbee_api/ctp/generator/ctp_td_header_function.h +174 -0
- ctpbee_api/ctp/generator/ctp_td_header_on.h +260 -0
- ctpbee_api/ctp/generator/ctp_td_header_process.h +260 -0
- ctpbee_api/ctp/generator/ctp_td_source_function.cpp +1456 -0
- ctpbee_api/ctp/generator/ctp_td_source_module.cpp +222 -0
- ctpbee_api/ctp/generator/ctp_td_source_on.cpp +1572 -0
- ctpbee_api/ctp/generator/ctp_td_source_process.cpp +5472 -0
- ctpbee_api/ctp/generator/ctp_td_source_switch.cpp +780 -0
- ctpbee_api/ctp/generator/ctp_td_source_task.cpp +2444 -0
- ctpbee_api/ctp/generator/ctp_typedef.py +800 -0
- ctpbee_api/ctp/generator/generate_api_functions.py +345 -0
- ctpbee_api/ctp/generator/generate_data_type.py +76 -0
- ctpbee_api/ctp/generator/generate_struct.py +84 -0
- ctpbee_api/ctp/include/mac/ctp/ThostFtdcMdApi.h +168 -0
- ctpbee_api/ctp/include/mac/ctp/ThostFtdcTraderApi.h +770 -0
- ctpbee_api/ctp/include/mac/ctp/ThostFtdcUserApiDataType.h +6878 -0
- ctpbee_api/ctp/include/mac/ctp/ThostFtdcUserApiStruct.h +10915 -0
- ctpbee_api/ctp/include/mac/pybind11/attr.h +690 -0
- ctpbee_api/ctp/include/mac/pybind11/buffer_info.h +208 -0
- ctpbee_api/ctp/include/mac/pybind11/cast.h +1704 -0
- ctpbee_api/ctp/include/mac/pybind11/chrono.h +225 -0
- ctpbee_api/ctp/include/mac/pybind11/common.h +2 -0
- ctpbee_api/ctp/include/mac/pybind11/complex.h +74 -0
- ctpbee_api/ctp/include/mac/pybind11/detail/class.h +743 -0
- ctpbee_api/ctp/include/mac/pybind11/detail/common.h +1255 -0
- ctpbee_api/ctp/include/mac/pybind11/detail/descr.h +171 -0
- ctpbee_api/ctp/include/mac/pybind11/detail/init.h +434 -0
- ctpbee_api/ctp/include/mac/pybind11/detail/internals.h +656 -0
- ctpbee_api/ctp/include/mac/pybind11/detail/type_caster_base.h +1177 -0
- ctpbee_api/ctp/include/mac/pybind11/detail/typeid.h +65 -0
- ctpbee_api/ctp/include/mac/pybind11/eigen/common.h +9 -0
- ctpbee_api/ctp/include/mac/pybind11/eigen/matrix.h +714 -0
- ctpbee_api/ctp/include/mac/pybind11/eigen/tensor.h +516 -0
- ctpbee_api/ctp/include/mac/pybind11/eigen.h +12 -0
- ctpbee_api/ctp/include/mac/pybind11/embed.h +316 -0
- ctpbee_api/ctp/include/mac/pybind11/eval.h +156 -0
- ctpbee_api/ctp/include/mac/pybind11/functional.h +137 -0
- ctpbee_api/ctp/include/mac/pybind11/gil.h +239 -0
- ctpbee_api/ctp/include/mac/pybind11/iostream.h +265 -0
- ctpbee_api/ctp/include/mac/pybind11/numpy.h +1998 -0
- ctpbee_api/ctp/include/mac/pybind11/operators.h +202 -0
- ctpbee_api/ctp/include/mac/pybind11/options.h +92 -0
- ctpbee_api/ctp/include/mac/pybind11/pybind11.h +2890 -0
- ctpbee_api/ctp/include/mac/pybind11/pytypes.h +2557 -0
- ctpbee_api/ctp/include/mac/pybind11/stl/filesystem.h +116 -0
- ctpbee_api/ctp/include/mac/pybind11/stl.h +447 -0
- ctpbee_api/ctp/include/mac/pybind11/stl_bind.h +851 -0
- ctpbee_api/ctp/include/mac/pybind11/type_caster_pyobject_ptr.h +61 -0
- ctpbee_api/ctp/include/new/ctp/ThostFtdcMdApi.h +168 -0
- ctpbee_api/ctp/include/new/ctp/ThostFtdcTraderApi.h +770 -0
- ctpbee_api/ctp/include/new/ctp/ThostFtdcUserApiDataType.h +6878 -0
- ctpbee_api/ctp/include/new/ctp/ThostFtdcUserApiStruct.h +10915 -0
- ctpbee_api/ctp/include/new/pybind11/attr.h +690 -0
- ctpbee_api/ctp/include/new/pybind11/buffer_info.h +208 -0
- ctpbee_api/ctp/include/new/pybind11/cast.h +1704 -0
- ctpbee_api/ctp/include/new/pybind11/chrono.h +225 -0
- ctpbee_api/ctp/include/new/pybind11/common.h +2 -0
- ctpbee_api/ctp/include/new/pybind11/complex.h +74 -0
- ctpbee_api/ctp/include/new/pybind11/detail/class.h +743 -0
- ctpbee_api/ctp/include/new/pybind11/detail/common.h +1255 -0
- ctpbee_api/ctp/include/new/pybind11/detail/descr.h +171 -0
- ctpbee_api/ctp/include/new/pybind11/detail/init.h +434 -0
- ctpbee_api/ctp/include/new/pybind11/detail/internals.h +656 -0
- ctpbee_api/ctp/include/new/pybind11/detail/type_caster_base.h +1177 -0
- ctpbee_api/ctp/include/new/pybind11/detail/typeid.h +65 -0
- ctpbee_api/ctp/include/new/pybind11/eigen/common.h +9 -0
- ctpbee_api/ctp/include/new/pybind11/eigen/matrix.h +714 -0
- ctpbee_api/ctp/include/new/pybind11/eigen/tensor.h +516 -0
- ctpbee_api/ctp/include/new/pybind11/eigen.h +12 -0
- ctpbee_api/ctp/include/new/pybind11/embed.h +316 -0
- ctpbee_api/ctp/include/new/pybind11/eval.h +156 -0
- ctpbee_api/ctp/include/new/pybind11/functional.h +137 -0
- ctpbee_api/ctp/include/new/pybind11/gil.h +239 -0
- ctpbee_api/ctp/include/new/pybind11/iostream.h +265 -0
- ctpbee_api/ctp/include/new/pybind11/numpy.h +1998 -0
- ctpbee_api/ctp/include/new/pybind11/operators.h +202 -0
- ctpbee_api/ctp/include/new/pybind11/options.h +92 -0
- ctpbee_api/ctp/include/new/pybind11/pybind11.h +2890 -0
- ctpbee_api/ctp/include/new/pybind11/pytypes.h +2557 -0
- ctpbee_api/ctp/include/new/pybind11/stl/filesystem.h +116 -0
- ctpbee_api/ctp/include/new/pybind11/stl.h +447 -0
- ctpbee_api/ctp/include/new/pybind11/stl_bind.h +851 -0
- ctpbee_api/ctp/include/new/pybind11/type_caster_pyobject_ptr.h +61 -0
- ctpbee_api/ctp/include/previous/ctp/ThostFtdcMdApi.h +168 -0
- ctpbee_api/ctp/include/previous/ctp/ThostFtdcTraderApi.h +770 -0
- ctpbee_api/ctp/include/previous/ctp/ThostFtdcUserApiDataType.h +6878 -0
- ctpbee_api/ctp/include/previous/ctp/ThostFtdcUserApiStruct.h +10915 -0
- ctpbee_api/ctp/include/previous/pybind11/attr.h +489 -0
- ctpbee_api/ctp/include/previous/pybind11/buffer_info.h +108 -0
- ctpbee_api/ctp/include/previous/pybind11/cast.h +2067 -0
- ctpbee_api/ctp/include/previous/pybind11/chrono.h +162 -0
- ctpbee_api/ctp/include/previous/pybind11/common.h +2 -0
- ctpbee_api/ctp/include/previous/pybind11/complex.h +61 -0
- ctpbee_api/ctp/include/previous/pybind11/detail/class.h +626 -0
- ctpbee_api/ctp/include/previous/pybind11/detail/common.h +803 -0
- ctpbee_api/ctp/include/previous/pybind11/detail/descr.h +185 -0
- ctpbee_api/ctp/include/previous/pybind11/detail/init.h +335 -0
- ctpbee_api/ctp/include/previous/pybind11/detail/internals.h +285 -0
- ctpbee_api/ctp/include/previous/pybind11/detail/typeid.h +53 -0
- ctpbee_api/ctp/include/previous/pybind11/eigen.h +604 -0
- ctpbee_api/ctp/include/previous/pybind11/embed.h +194 -0
- ctpbee_api/ctp/include/previous/pybind11/eval.h +117 -0
- ctpbee_api/ctp/include/previous/pybind11/functional.h +85 -0
- ctpbee_api/ctp/include/previous/pybind11/iostream.h +200 -0
- ctpbee_api/ctp/include/previous/pybind11/numpy.h +1601 -0
- ctpbee_api/ctp/include/previous/pybind11/operators.h +168 -0
- ctpbee_api/ctp/include/previous/pybind11/options.h +65 -0
- ctpbee_api/ctp/include/previous/pybind11/pybind11.h +1965 -0
- ctpbee_api/ctp/include/previous/pybind11/pytypes.h +1332 -0
- ctpbee_api/ctp/include/previous/pybind11/stl.h +376 -0
- ctpbee_api/ctp/include/previous/pybind11/stl_bind.h +599 -0
- ctpbee_api/ctp/libs/libcomunicationkey.a +0 -0
- ctpbee_api/ctp/libs/libcrypto.a +0 -0
- ctpbee_api/ctp/libs/libssl.a +0 -0
- ctpbee_api/ctp/libs/thostmduserapi_se.lib +0 -0
- ctpbee_api/ctp/libs/thosttraderapi_se.lib +0 -0
- ctpbee_api/ctp/libthostmduserapi_se.so +0 -0
- ctpbee_api/ctp/libthosttraderapi_se.so +0 -0
- ctpbee_api/ctp/thostmduserapi_se.dll +0 -0
- ctpbee_api/ctp/thosttraderapi_se.dll +0 -0
- ctpbee_api/ctp/vnctp/vnctp.h +189 -0
- ctpbee_api/ctp/vnctp/vnctp.sln +41 -0
- ctpbee_api/ctp/vnctp/vnctpmd/dllmain.cpp +19 -0
- ctpbee_api/ctp/vnctp/vnctpmd/stdafx.cpp +1 -0
- ctpbee_api/ctp/vnctp/vnctpmd/stdafx.h +17 -0
- ctpbee_api/ctp/vnctp/vnctpmd/targetver.h +8 -0
- ctpbee_api/ctp/vnctp/vnctpmd/vnctpmd.cpp +953 -0
- ctpbee_api/ctp/vnctp/vnctpmd/vnctpmd.h +209 -0
- ctpbee_api/ctp/vnctp/vnctpmd/vnctpmd.vcxproj +200 -0
- ctpbee_api/ctp/vnctp/vnctpmd/vnctpmd.vcxproj.filters +54 -0
- ctpbee_api/ctp/vnctp/vnctpmd/vnctpmd.vcxproj.user +4 -0
- ctpbee_api/ctp/vnctp/vnctptd/dllmain.cpp +19 -0
- ctpbee_api/ctp/vnctp/vnctptd/stdafx.cpp +1 -0
- ctpbee_api/ctp/vnctp/vnctptd/stdafx.h +16 -0
- ctpbee_api/ctp/vnctp/vnctptd/targetver.h +8 -0
- ctpbee_api/ctp/vnctp/vnctptd/vnctptd.cpp +12148 -0
- ctpbee_api/ctp/vnctp/vnctptd/vnctptd.h +1329 -0
- ctpbee_api/ctp/vnctp/vnctptd/vnctptd.vcxproj +198 -0
- ctpbee_api/ctp/vnctp/vnctptd/vnctptd.vcxproj.filters +54 -0
- ctpbee_api/ctp/vnctp/vnctptd/vnctptd.vcxproj.user +4 -0
- ctpbee_api/ctp/vnctpmd.cp312-win_amd64.pyd +0 -0
- ctpbee_api/ctp/vnctptd.cp312-win_amd64.pyd +0 -0
- ctpbee_api/ctp_mini/__init__.py +3 -0
- ctpbee_api/ctp_mini/generator/generate_api_functions.py +343 -0
- ctpbee_api/ctp_mini/generator/generate_data_type.py +76 -0
- ctpbee_api/ctp_mini/generator/generate_struct.py +85 -0
- ctpbee_api/ctp_mini/generator/mini_constant.py +1186 -0
- ctpbee_api/ctp_mini/generator/mini_md_header_define.h +13 -0
- ctpbee_api/ctp_mini/generator/mini_md_header_function.h +4 -0
- ctpbee_api/ctp_mini/generator/mini_md_header_on.h +26 -0
- ctpbee_api/ctp_mini/generator/mini_md_header_process.h +26 -0
- ctpbee_api/ctp_mini/generator/mini_md_source_function.cpp +29 -0
- ctpbee_api/ctp_mini/generator/mini_md_source_module.cpp +17 -0
- ctpbee_api/ctp_mini/generator/mini_md_source_on.cpp +156 -0
- ctpbee_api/ctp_mini/generator/mini_md_source_process.cpp +264 -0
- ctpbee_api/ctp_mini/generator/mini_md_source_switch.cpp +78 -0
- ctpbee_api/ctp_mini/generator/mini_md_source_task.cpp +203 -0
- ctpbee_api/ctp_mini/generator/mini_struct.py +4599 -0
- ctpbee_api/ctp_mini/generator/mini_td_header_define.h +63 -0
- ctpbee_api/ctp_mini/generator/mini_td_header_function.h +84 -0
- ctpbee_api/ctp_mini/generator/mini_td_header_on.h +126 -0
- ctpbee_api/ctp_mini/generator/mini_td_header_process.h +126 -0
- ctpbee_api/ctp_mini/generator/mini_td_source_function.cpp +663 -0
- ctpbee_api/ctp_mini/generator/mini_td_source_module.cpp +107 -0
- ctpbee_api/ctp_mini/generator/mini_td_source_on.cpp +756 -0
- ctpbee_api/ctp_mini/generator/mini_td_source_process.cpp +2492 -0
- ctpbee_api/ctp_mini/generator/mini_td_source_switch.cpp +378 -0
- ctpbee_api/ctp_mini/generator/mini_td_source_task.cpp +1193 -0
- ctpbee_api/ctp_mini/generator/mini_typedef.py +755 -0
- ctpbee_api/ctp_mini/generator/package/vnminimd.cpp +886 -0
- ctpbee_api/ctp_mini/generator/package/vnminimd.h +205 -0
- ctpbee_api/ctp_mini/include/new/mini/ThostFtdcMdApi.h +148 -0
- ctpbee_api/ctp_mini/include/new/mini/ThostFtdcTraderApi.h +419 -0
- ctpbee_api/ctp_mini/include/new/mini/ThostFtdcUserApiDataType.h +6458 -0
- ctpbee_api/ctp_mini/include/new/mini/ThostFtdcUserApiStruct.h +8890 -0
- ctpbee_api/ctp_mini/include/new/pybind11/attr.h +690 -0
- ctpbee_api/ctp_mini/include/new/pybind11/buffer_info.h +208 -0
- ctpbee_api/ctp_mini/include/new/pybind11/cast.h +1704 -0
- ctpbee_api/ctp_mini/include/new/pybind11/chrono.h +225 -0
- ctpbee_api/ctp_mini/include/new/pybind11/common.h +2 -0
- ctpbee_api/ctp_mini/include/new/pybind11/complex.h +74 -0
- ctpbee_api/ctp_mini/include/new/pybind11/detail/class.h +743 -0
- ctpbee_api/ctp_mini/include/new/pybind11/detail/common.h +1255 -0
- ctpbee_api/ctp_mini/include/new/pybind11/detail/descr.h +171 -0
- ctpbee_api/ctp_mini/include/new/pybind11/detail/init.h +434 -0
- ctpbee_api/ctp_mini/include/new/pybind11/detail/internals.h +656 -0
- ctpbee_api/ctp_mini/include/new/pybind11/detail/type_caster_base.h +1177 -0
- ctpbee_api/ctp_mini/include/new/pybind11/detail/typeid.h +65 -0
- ctpbee_api/ctp_mini/include/new/pybind11/eigen/common.h +9 -0
- ctpbee_api/ctp_mini/include/new/pybind11/eigen/matrix.h +714 -0
- ctpbee_api/ctp_mini/include/new/pybind11/eigen/tensor.h +516 -0
- ctpbee_api/ctp_mini/include/new/pybind11/eigen.h +12 -0
- ctpbee_api/ctp_mini/include/new/pybind11/embed.h +316 -0
- ctpbee_api/ctp_mini/include/new/pybind11/eval.h +156 -0
- ctpbee_api/ctp_mini/include/new/pybind11/functional.h +137 -0
- ctpbee_api/ctp_mini/include/new/pybind11/gil.h +239 -0
- ctpbee_api/ctp_mini/include/new/pybind11/iostream.h +265 -0
- ctpbee_api/ctp_mini/include/new/pybind11/numpy.h +1998 -0
- ctpbee_api/ctp_mini/include/new/pybind11/operators.h +202 -0
- ctpbee_api/ctp_mini/include/new/pybind11/options.h +92 -0
- ctpbee_api/ctp_mini/include/new/pybind11/pybind11.h +2890 -0
- ctpbee_api/ctp_mini/include/new/pybind11/pytypes.h +2557 -0
- ctpbee_api/ctp_mini/include/new/pybind11/stl/filesystem.h +116 -0
- ctpbee_api/ctp_mini/include/new/pybind11/stl.h +447 -0
- ctpbee_api/ctp_mini/include/new/pybind11/stl_bind.h +851 -0
- ctpbee_api/ctp_mini/include/new/pybind11/type_caster_pyobject_ptr.h +61 -0
- ctpbee_api/ctp_mini/include/previous/mini/ThostFtdcMdApi.h +148 -0
- ctpbee_api/ctp_mini/include/previous/mini/ThostFtdcTraderApi.h +419 -0
- ctpbee_api/ctp_mini/include/previous/mini/ThostFtdcUserApiDataType.h +6458 -0
- ctpbee_api/ctp_mini/include/previous/mini/ThostFtdcUserApiStruct.h +8890 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/attr.h +489 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/buffer_info.h +108 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/cast.h +2067 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/chrono.h +162 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/common.h +2 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/complex.h +61 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/detail/class.h +626 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/detail/common.h +803 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/detail/descr.h +185 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/detail/init.h +335 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/detail/internals.h +285 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/detail/typeid.h +53 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/eigen.h +604 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/embed.h +194 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/eval.h +117 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/functional.h +85 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/iostream.h +200 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/numpy.h +1601 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/operators.h +168 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/options.h +65 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/pybind11.h +1965 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/pytypes.h +1332 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/stl.h +376 -0
- ctpbee_api/ctp_mini/include/previous/pybind11/stl_bind.h +599 -0
- ctpbee_api/ctp_mini/libs/thostmduserapi.lib +0 -0
- ctpbee_api/ctp_mini/libs/thosttraderapi.lib +0 -0
- ctpbee_api/ctp_mini/libthostmduserapi.so +0 -0
- ctpbee_api/ctp_mini/libthosttraderapi.so +0 -0
- ctpbee_api/ctp_mini/mini_constant.py +1186 -0
- ctpbee_api/ctp_mini/thostmduserapi.dll +0 -0
- ctpbee_api/ctp_mini/thosttraderapi.dll +0 -0
- ctpbee_api/ctp_mini/vnctp_mini/vnctp_mini.h +146 -0
- ctpbee_api/ctp_mini/vnctp_mini/vnctp_mini.sln +41 -0
- ctpbee_api/ctp_mini/vnctp_mini/vnctp_minimd/dllmain.cpp +0 -0
- ctpbee_api/ctp_mini/vnctp_mini/vnctp_minimd/stdafx.cpp +0 -0
- ctpbee_api/ctp_mini/vnctp_mini/vnctp_minimd/stdafx.h +0 -0
- ctpbee_api/ctp_mini/vnctp_mini/vnctp_minimd/targetver.h +0 -0
- ctpbee_api/ctp_mini/vnctp_mini/vnctp_minimd/vnctp_minimd.cpp +886 -0
- ctpbee_api/ctp_mini/vnctp_mini/vnctp_minimd/vnctp_minimd.h +203 -0
- ctpbee_api/ctp_mini/vnctp_mini/vnctp_minimd/vnctp_minimd.vcxproj +183 -0
- ctpbee_api/ctp_mini/vnctp_mini/vnctp_minimd/vnctp_minimd.vcxproj.filters +54 -0
- ctpbee_api/ctp_mini/vnctp_mini/vnctp_minimd/vnctp_minimd.vcxproj.user +4 -0
- ctpbee_api/ctp_mini/vnctp_mini/vnctp_minitd/dllmain.cpp +0 -0
- ctpbee_api/ctp_mini/vnctp_mini/vnctp_minitd/stdafx.cpp +0 -0
- ctpbee_api/ctp_mini/vnctp_mini/vnctp_minitd/stdafx.h +0 -0
- ctpbee_api/ctp_mini/vnctp_mini/vnctp_minitd/targetver.h +0 -0
- ctpbee_api/ctp_mini/vnctp_mini/vnctp_minitd/vnctp_minitd.cpp +5716 -0
- ctpbee_api/ctp_mini/vnctp_mini/vnctp_minitd/vnctp_minitd.h +680 -0
- ctpbee_api/ctp_mini/vnctp_mini/vnctp_minitd/vnctp_minitd.vcxproj +180 -0
- ctpbee_api/ctp_mini/vnctp_mini/vnctp_minitd/vnctp_minitd.vcxproj.filters +54 -0
- ctpbee_api/ctp_mini/vnctp_mini/vnctp_minitd/vnctp_minitd.vcxproj.user +4 -0
- ctpbee_api/ctp_mini/vnctp_minimd.cp312-win_amd64.pyd +0 -0
- ctpbee_api/ctp_mini/vnctp_minitd.cp312-win_amd64.pyd +0 -0
- ctpbee_api/ctp_mini/vnctp_minitd.lib +0 -0
- ctpbee_api/rohon/RohonBaseV64.dll +0 -0
- ctpbee_api/rohon/WinDataCollect.dll +0 -0
- ctpbee_api/rohon/__init__.py +3 -0
- ctpbee_api/rohon/generator/generate_api_functions.py +348 -0
- ctpbee_api/rohon/generator/generate_data_type.py +76 -0
- ctpbee_api/rohon/generator/generate_struct.py +84 -0
- ctpbee_api/rohon/generator/rohon_constant.py +1242 -0
- ctpbee_api/rohon/generator/rohon_md_header_define.h +13 -0
- ctpbee_api/rohon/generator/rohon_md_header_function.h +6 -0
- ctpbee_api/rohon/generator/rohon_md_header_on.h +26 -0
- ctpbee_api/rohon/generator/rohon_md_header_process.h +26 -0
- ctpbee_api/rohon/generator/rohon_md_source_function.cpp +40 -0
- ctpbee_api/rohon/generator/rohon_md_source_module.cpp +18 -0
- ctpbee_api/rohon/generator/rohon_md_source_on.cpp +156 -0
- ctpbee_api/rohon/generator/rohon_md_source_process.cpp +271 -0
- ctpbee_api/rohon/generator/rohon_md_source_switch.cpp +78 -0
- ctpbee_api/rohon/generator/rohon_md_source_task.cpp +211 -0
- ctpbee_api/rohon/generator/rohon_struct.py +4958 -0
- ctpbee_api/rohon/generator/rohon_td_header_define.h +125 -0
- ctpbee_api/rohon/generator/rohon_td_header_function.h +164 -0
- ctpbee_api/rohon/generator/rohon_td_header_on.h +250 -0
- ctpbee_api/rohon/generator/rohon_td_header_process.h +250 -0
- ctpbee_api/rohon/generator/rohon_td_source_function.cpp +1338 -0
- ctpbee_api/rohon/generator/rohon_td_source_module.cpp +209 -0
- ctpbee_api/rohon/generator/rohon_td_source_on.cpp +1500 -0
- ctpbee_api/rohon/generator/rohon_td_source_process.cpp +5125 -0
- ctpbee_api/rohon/generator/rohon_td_source_switch.cpp +750 -0
- ctpbee_api/rohon/generator/rohon_td_source_task.cpp +2339 -0
- ctpbee_api/rohon/generator/rohon_typedef.py +781 -0
- ctpbee_api/rohon/include/new/pybind11/attr.h +690 -0
- ctpbee_api/rohon/include/new/pybind11/buffer_info.h +208 -0
- ctpbee_api/rohon/include/new/pybind11/cast.h +1704 -0
- ctpbee_api/rohon/include/new/pybind11/chrono.h +225 -0
- ctpbee_api/rohon/include/new/pybind11/common.h +2 -0
- ctpbee_api/rohon/include/new/pybind11/complex.h +74 -0
- ctpbee_api/rohon/include/new/pybind11/detail/class.h +743 -0
- ctpbee_api/rohon/include/new/pybind11/detail/common.h +1255 -0
- ctpbee_api/rohon/include/new/pybind11/detail/descr.h +171 -0
- ctpbee_api/rohon/include/new/pybind11/detail/init.h +434 -0
- ctpbee_api/rohon/include/new/pybind11/detail/internals.h +656 -0
- ctpbee_api/rohon/include/new/pybind11/detail/type_caster_base.h +1177 -0
- ctpbee_api/rohon/include/new/pybind11/detail/typeid.h +65 -0
- ctpbee_api/rohon/include/new/pybind11/eigen/common.h +9 -0
- ctpbee_api/rohon/include/new/pybind11/eigen/matrix.h +714 -0
- ctpbee_api/rohon/include/new/pybind11/eigen/tensor.h +516 -0
- ctpbee_api/rohon/include/new/pybind11/eigen.h +12 -0
- ctpbee_api/rohon/include/new/pybind11/embed.h +316 -0
- ctpbee_api/rohon/include/new/pybind11/eval.h +156 -0
- ctpbee_api/rohon/include/new/pybind11/functional.h +137 -0
- ctpbee_api/rohon/include/new/pybind11/gil.h +239 -0
- ctpbee_api/rohon/include/new/pybind11/iostream.h +265 -0
- ctpbee_api/rohon/include/new/pybind11/numpy.h +1998 -0
- ctpbee_api/rohon/include/new/pybind11/operators.h +202 -0
- ctpbee_api/rohon/include/new/pybind11/options.h +92 -0
- ctpbee_api/rohon/include/new/pybind11/pybind11.h +2890 -0
- ctpbee_api/rohon/include/new/pybind11/pytypes.h +2557 -0
- ctpbee_api/rohon/include/new/pybind11/stl/filesystem.h +116 -0
- ctpbee_api/rohon/include/new/pybind11/stl.h +447 -0
- ctpbee_api/rohon/include/new/pybind11/stl_bind.h +851 -0
- ctpbee_api/rohon/include/new/pybind11/type_caster_pyobject_ptr.h +61 -0
- ctpbee_api/rohon/include/new/rohon/ThostFtdcMdApi.h +168 -0
- ctpbee_api/rohon/include/new/rohon/ThostFtdcTraderApi.h +739 -0
- ctpbee_api/rohon/include/new/rohon/ThostFtdcUserApiDataType.h +6708 -0
- ctpbee_api/rohon/include/new/rohon/ThostFtdcUserApiStruct.h +9580 -0
- ctpbee_api/rohon/include/previous/pybind11/attr.h +489 -0
- ctpbee_api/rohon/include/previous/pybind11/buffer_info.h +108 -0
- ctpbee_api/rohon/include/previous/pybind11/cast.h +2067 -0
- ctpbee_api/rohon/include/previous/pybind11/chrono.h +162 -0
- ctpbee_api/rohon/include/previous/pybind11/common.h +2 -0
- ctpbee_api/rohon/include/previous/pybind11/complex.h +61 -0
- ctpbee_api/rohon/include/previous/pybind11/detail/class.h +626 -0
- ctpbee_api/rohon/include/previous/pybind11/detail/common.h +803 -0
- ctpbee_api/rohon/include/previous/pybind11/detail/descr.h +185 -0
- ctpbee_api/rohon/include/previous/pybind11/detail/init.h +335 -0
- ctpbee_api/rohon/include/previous/pybind11/detail/internals.h +285 -0
- ctpbee_api/rohon/include/previous/pybind11/detail/typeid.h +53 -0
- ctpbee_api/rohon/include/previous/pybind11/eigen.h +604 -0
- ctpbee_api/rohon/include/previous/pybind11/embed.h +194 -0
- ctpbee_api/rohon/include/previous/pybind11/eval.h +117 -0
- ctpbee_api/rohon/include/previous/pybind11/functional.h +85 -0
- ctpbee_api/rohon/include/previous/pybind11/iostream.h +200 -0
- ctpbee_api/rohon/include/previous/pybind11/numpy.h +1601 -0
- ctpbee_api/rohon/include/previous/pybind11/operators.h +168 -0
- ctpbee_api/rohon/include/previous/pybind11/options.h +65 -0
- ctpbee_api/rohon/include/previous/pybind11/pybind11.h +1965 -0
- ctpbee_api/rohon/include/previous/pybind11/pytypes.h +1332 -0
- ctpbee_api/rohon/include/previous/pybind11/stl.h +376 -0
- ctpbee_api/rohon/include/previous/pybind11/stl_bind.h +599 -0
- ctpbee_api/rohon/include/previous/rohon/ThostFtdcMdApi.h +168 -0
- ctpbee_api/rohon/include/previous/rohon/ThostFtdcTraderApi.h +739 -0
- ctpbee_api/rohon/include/previous/rohon/ThostFtdcUserApiDataType.h +6708 -0
- ctpbee_api/rohon/include/previous/rohon/ThostFtdcUserApiStruct.h +9580 -0
- ctpbee_api/rohon/libLinuxDataCollect.so +0 -0
- ctpbee_api/rohon/librohonbase.so +0 -0
- ctpbee_api/rohon/librohonbase.so.1.1 +0 -0
- ctpbee_api/rohon/librohonbase.so.1.1.0.1 +0 -0
- ctpbee_api/rohon/libs/thostmduserapi_se.lib +0 -0
- ctpbee_api/rohon/libs/thosttraderapi_se.lib +0 -0
- ctpbee_api/rohon/libthostmduserapi_se.so +0 -0
- ctpbee_api/rohon/libthosttraderapi_se.so +0 -0
- ctpbee_api/rohon/rohon_constant.py +1242 -0
- ctpbee_api/rohon/thostmduserapi_se.dll +0 -0
- ctpbee_api/rohon/thosttraderapi_se.dll +0 -0
- ctpbee_api/rohon/vnrohon/.vs/vnrohon/v15/.suo +0 -0
- ctpbee_api/rohon/vnrohon/.vs/vnrohon/v15/Browse.VC.db +0 -0
- ctpbee_api/rohon/vnrohon/.vs/vnrohon/v15/Solution.VC.db +0 -0
- ctpbee_api/rohon/vnrohon/vnrohon.h +147 -0
- ctpbee_api/rohon/vnrohon/vnrohon.sln +41 -0
- ctpbee_api/rohon/vnrohon/vnrohonmd/dllmain.cpp +19 -0
- ctpbee_api/rohon/vnrohon/vnrohonmd/framework.h +5 -0
- ctpbee_api/rohon/vnrohon/vnrohonmd/pch.cpp +5 -0
- ctpbee_api/rohon/vnrohon/vnrohonmd/pch.h +13 -0
- ctpbee_api/rohon/vnrohon/vnrohonmd/vnrohonmd.cpp +931 -0
- ctpbee_api/rohon/vnrohon/vnrohonmd/vnrohonmd.h +207 -0
- ctpbee_api/rohon/vnrohon/vnrohonmd/vnrohonmd.vcxproj +188 -0
- ctpbee_api/rohon/vnrohon/vnrohonmd/vnrohonmd.vcxproj.filters +54 -0
- ctpbee_api/rohon/vnrohon/vnrohonmd/vnrohonmd.vcxproj.user +4 -0
- ctpbee_api/rohon/vnrohon/vnrohontd/dllmain.cpp +19 -0
- ctpbee_api/rohon/vnrohon/vnrohontd/framework.h +5 -0
- ctpbee_api/rohon/vnrohon/vnrohontd/pch.cpp +5 -0
- ctpbee_api/rohon/vnrohon/vnrohontd/pch.h +13 -0
- ctpbee_api/rohon/vnrohon/vnrohontd/vnrohontd.cpp +11395 -0
- ctpbee_api/rohon/vnrohon/vnrohontd/vnrohontd.h +1259 -0
- ctpbee_api/rohon/vnrohon/vnrohontd/vnrohontd.vcxproj +188 -0
- ctpbee_api/rohon/vnrohon/vnrohontd/vnrohontd.vcxproj.filters +54 -0
- ctpbee_api/rohon/vnrohon/vnrohontd/vnrohontd.vcxproj.user +4 -0
- ctpbee_api/rohon/vnrohonmd.cp312-win_amd64.pyd +0 -0
- ctpbee_api/rohon/vnrohontd.cp312-win_amd64.pyd +0 -0
- ctpbee_opt_api-0.1.0.dist-info/METADATA +46 -0
- ctpbee_opt_api-0.1.0.dist-info/RECORD +414 -0
- ctpbee_opt_api-0.1.0.dist-info/WHEEL +5 -0
- ctpbee_opt_api-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,756 @@
|
|
|
1
|
+
void onFrontConnected() override
|
|
2
|
+
{
|
|
3
|
+
try
|
|
4
|
+
{
|
|
5
|
+
PYBIND11_OVERLOAD(void, TdApi, onFrontConnected);
|
|
6
|
+
}
|
|
7
|
+
catch (const error_already_set &e)
|
|
8
|
+
{
|
|
9
|
+
cout << e.what() << endl;
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
void onFrontDisconnected(int reqid) override
|
|
14
|
+
{
|
|
15
|
+
try
|
|
16
|
+
{
|
|
17
|
+
PYBIND11_OVERLOAD(void, TdApi, onFrontDisconnected, reqid);
|
|
18
|
+
}
|
|
19
|
+
catch (const error_already_set &e)
|
|
20
|
+
{
|
|
21
|
+
cout << e.what() << endl;
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
void onHeartBeatWarning(int reqid) override
|
|
26
|
+
{
|
|
27
|
+
try
|
|
28
|
+
{
|
|
29
|
+
PYBIND11_OVERLOAD(void, TdApi, onHeartBeatWarning, reqid);
|
|
30
|
+
}
|
|
31
|
+
catch (const error_already_set &e)
|
|
32
|
+
{
|
|
33
|
+
cout << e.what() << endl;
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
void onRspAuthenticate(const dict &data, const dict &error, int reqid, bool last) override
|
|
38
|
+
{
|
|
39
|
+
try
|
|
40
|
+
{
|
|
41
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspAuthenticate, data, error, reqid, last);
|
|
42
|
+
}
|
|
43
|
+
catch (const error_already_set &e)
|
|
44
|
+
{
|
|
45
|
+
cout << e.what() << endl;
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
void onRspUserLogin(const dict &data, const dict &error, int reqid, bool last) override
|
|
50
|
+
{
|
|
51
|
+
try
|
|
52
|
+
{
|
|
53
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspUserLogin, data, error, reqid, last);
|
|
54
|
+
}
|
|
55
|
+
catch (const error_already_set &e)
|
|
56
|
+
{
|
|
57
|
+
cout << e.what() << endl;
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
void onRspUserLogout(const dict &data, const dict &error, int reqid, bool last) override
|
|
62
|
+
{
|
|
63
|
+
try
|
|
64
|
+
{
|
|
65
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspUserLogout, data, error, reqid, last);
|
|
66
|
+
}
|
|
67
|
+
catch (const error_already_set &e)
|
|
68
|
+
{
|
|
69
|
+
cout << e.what() << endl;
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
void onRspOrderInsert(const dict &data, const dict &error, int reqid, bool last) override
|
|
74
|
+
{
|
|
75
|
+
try
|
|
76
|
+
{
|
|
77
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspOrderInsert, data, error, reqid, last);
|
|
78
|
+
}
|
|
79
|
+
catch (const error_already_set &e)
|
|
80
|
+
{
|
|
81
|
+
cout << e.what() << endl;
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
void onRspOrderAction(const dict &data, const dict &error, int reqid, bool last) override
|
|
86
|
+
{
|
|
87
|
+
try
|
|
88
|
+
{
|
|
89
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspOrderAction, data, error, reqid, last);
|
|
90
|
+
}
|
|
91
|
+
catch (const error_already_set &e)
|
|
92
|
+
{
|
|
93
|
+
cout << e.what() << endl;
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
void onRspExecOrderInsert(const dict &data, const dict &error, int reqid, bool last) override
|
|
98
|
+
{
|
|
99
|
+
try
|
|
100
|
+
{
|
|
101
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspExecOrderInsert, data, error, reqid, last);
|
|
102
|
+
}
|
|
103
|
+
catch (const error_already_set &e)
|
|
104
|
+
{
|
|
105
|
+
cout << e.what() << endl;
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
void onRspExecOrderAction(const dict &data, const dict &error, int reqid, bool last) override
|
|
110
|
+
{
|
|
111
|
+
try
|
|
112
|
+
{
|
|
113
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspExecOrderAction, data, error, reqid, last);
|
|
114
|
+
}
|
|
115
|
+
catch (const error_already_set &e)
|
|
116
|
+
{
|
|
117
|
+
cout << e.what() << endl;
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
void onRspForQuoteInsert(const dict &data, const dict &error, int reqid, bool last) override
|
|
122
|
+
{
|
|
123
|
+
try
|
|
124
|
+
{
|
|
125
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspForQuoteInsert, data, error, reqid, last);
|
|
126
|
+
}
|
|
127
|
+
catch (const error_already_set &e)
|
|
128
|
+
{
|
|
129
|
+
cout << e.what() << endl;
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
void onRspQuoteInsert(const dict &data, const dict &error, int reqid, bool last) override
|
|
134
|
+
{
|
|
135
|
+
try
|
|
136
|
+
{
|
|
137
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQuoteInsert, data, error, reqid, last);
|
|
138
|
+
}
|
|
139
|
+
catch (const error_already_set &e)
|
|
140
|
+
{
|
|
141
|
+
cout << e.what() << endl;
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
void onRspQuoteAction(const dict &data, const dict &error, int reqid, bool last) override
|
|
146
|
+
{
|
|
147
|
+
try
|
|
148
|
+
{
|
|
149
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQuoteAction, data, error, reqid, last);
|
|
150
|
+
}
|
|
151
|
+
catch (const error_already_set &e)
|
|
152
|
+
{
|
|
153
|
+
cout << e.what() << endl;
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
void onRspBatchOrderAction(const dict &data, const dict &error, int reqid, bool last) override
|
|
158
|
+
{
|
|
159
|
+
try
|
|
160
|
+
{
|
|
161
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspBatchOrderAction, data, error, reqid, last);
|
|
162
|
+
}
|
|
163
|
+
catch (const error_already_set &e)
|
|
164
|
+
{
|
|
165
|
+
cout << e.what() << endl;
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
void onRspOptionSelfCloseInsert(const dict &data, const dict &error, int reqid, bool last) override
|
|
170
|
+
{
|
|
171
|
+
try
|
|
172
|
+
{
|
|
173
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspOptionSelfCloseInsert, data, error, reqid, last);
|
|
174
|
+
}
|
|
175
|
+
catch (const error_already_set &e)
|
|
176
|
+
{
|
|
177
|
+
cout << e.what() << endl;
|
|
178
|
+
}
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
void onRspOptionSelfCloseAction(const dict &data, const dict &error, int reqid, bool last) override
|
|
182
|
+
{
|
|
183
|
+
try
|
|
184
|
+
{
|
|
185
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspOptionSelfCloseAction, data, error, reqid, last);
|
|
186
|
+
}
|
|
187
|
+
catch (const error_already_set &e)
|
|
188
|
+
{
|
|
189
|
+
cout << e.what() << endl;
|
|
190
|
+
}
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
void onRspCombActionInsert(const dict &data, const dict &error, int reqid, bool last) override
|
|
194
|
+
{
|
|
195
|
+
try
|
|
196
|
+
{
|
|
197
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspCombActionInsert, data, error, reqid, last);
|
|
198
|
+
}
|
|
199
|
+
catch (const error_already_set &e)
|
|
200
|
+
{
|
|
201
|
+
cout << e.what() << endl;
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
void onRspQryOrder(const dict &data, const dict &error, int reqid, bool last) override
|
|
206
|
+
{
|
|
207
|
+
try
|
|
208
|
+
{
|
|
209
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryOrder, data, error, reqid, last);
|
|
210
|
+
}
|
|
211
|
+
catch (const error_already_set &e)
|
|
212
|
+
{
|
|
213
|
+
cout << e.what() << endl;
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
void onRspQryTrade(const dict &data, const dict &error, int reqid, bool last) override
|
|
218
|
+
{
|
|
219
|
+
try
|
|
220
|
+
{
|
|
221
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryTrade, data, error, reqid, last);
|
|
222
|
+
}
|
|
223
|
+
catch (const error_already_set &e)
|
|
224
|
+
{
|
|
225
|
+
cout << e.what() << endl;
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
void onRspQryInvestorPosition(const dict &data, const dict &error, int reqid, bool last) override
|
|
230
|
+
{
|
|
231
|
+
try
|
|
232
|
+
{
|
|
233
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryInvestorPosition, data, error, reqid, last);
|
|
234
|
+
}
|
|
235
|
+
catch (const error_already_set &e)
|
|
236
|
+
{
|
|
237
|
+
cout << e.what() << endl;
|
|
238
|
+
}
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
void onRspQryTradingAccount(const dict &data, const dict &error, int reqid, bool last) override
|
|
242
|
+
{
|
|
243
|
+
try
|
|
244
|
+
{
|
|
245
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryTradingAccount, data, error, reqid, last);
|
|
246
|
+
}
|
|
247
|
+
catch (const error_already_set &e)
|
|
248
|
+
{
|
|
249
|
+
cout << e.what() << endl;
|
|
250
|
+
}
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
void onRspQryInvestor(const dict &data, const dict &error, int reqid, bool last) override
|
|
254
|
+
{
|
|
255
|
+
try
|
|
256
|
+
{
|
|
257
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryInvestor, data, error, reqid, last);
|
|
258
|
+
}
|
|
259
|
+
catch (const error_already_set &e)
|
|
260
|
+
{
|
|
261
|
+
cout << e.what() << endl;
|
|
262
|
+
}
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
void onRspQryTradingCode(const dict &data, const dict &error, int reqid, bool last) override
|
|
266
|
+
{
|
|
267
|
+
try
|
|
268
|
+
{
|
|
269
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryTradingCode, data, error, reqid, last);
|
|
270
|
+
}
|
|
271
|
+
catch (const error_already_set &e)
|
|
272
|
+
{
|
|
273
|
+
cout << e.what() << endl;
|
|
274
|
+
}
|
|
275
|
+
};
|
|
276
|
+
|
|
277
|
+
void onRspQryInstrumentMarginRate(const dict &data, const dict &error, int reqid, bool last) override
|
|
278
|
+
{
|
|
279
|
+
try
|
|
280
|
+
{
|
|
281
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryInstrumentMarginRate, data, error, reqid, last);
|
|
282
|
+
}
|
|
283
|
+
catch (const error_already_set &e)
|
|
284
|
+
{
|
|
285
|
+
cout << e.what() << endl;
|
|
286
|
+
}
|
|
287
|
+
};
|
|
288
|
+
|
|
289
|
+
void onRspQryInstrumentCommissionRate(const dict &data, const dict &error, int reqid, bool last) override
|
|
290
|
+
{
|
|
291
|
+
try
|
|
292
|
+
{
|
|
293
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryInstrumentCommissionRate, data, error, reqid, last);
|
|
294
|
+
}
|
|
295
|
+
catch (const error_already_set &e)
|
|
296
|
+
{
|
|
297
|
+
cout << e.what() << endl;
|
|
298
|
+
}
|
|
299
|
+
};
|
|
300
|
+
|
|
301
|
+
void onRspQryExchange(const dict &data, const dict &error, int reqid, bool last) override
|
|
302
|
+
{
|
|
303
|
+
try
|
|
304
|
+
{
|
|
305
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryExchange, data, error, reqid, last);
|
|
306
|
+
}
|
|
307
|
+
catch (const error_already_set &e)
|
|
308
|
+
{
|
|
309
|
+
cout << e.what() << endl;
|
|
310
|
+
}
|
|
311
|
+
};
|
|
312
|
+
|
|
313
|
+
void onRspQryProduct(const dict &data, const dict &error, int reqid, bool last) override
|
|
314
|
+
{
|
|
315
|
+
try
|
|
316
|
+
{
|
|
317
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryProduct, data, error, reqid, last);
|
|
318
|
+
}
|
|
319
|
+
catch (const error_already_set &e)
|
|
320
|
+
{
|
|
321
|
+
cout << e.what() << endl;
|
|
322
|
+
}
|
|
323
|
+
};
|
|
324
|
+
|
|
325
|
+
void onRspQryInstrument(const dict &data, const dict &error, int reqid, bool last) override
|
|
326
|
+
{
|
|
327
|
+
try
|
|
328
|
+
{
|
|
329
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryInstrument, data, error, reqid, last);
|
|
330
|
+
}
|
|
331
|
+
catch (const error_already_set &e)
|
|
332
|
+
{
|
|
333
|
+
cout << e.what() << endl;
|
|
334
|
+
}
|
|
335
|
+
};
|
|
336
|
+
|
|
337
|
+
void onRspQryCombInstrument(const dict &data, const dict &error, int reqid, bool last) override
|
|
338
|
+
{
|
|
339
|
+
try
|
|
340
|
+
{
|
|
341
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryCombInstrument, data, error, reqid, last);
|
|
342
|
+
}
|
|
343
|
+
catch (const error_already_set &e)
|
|
344
|
+
{
|
|
345
|
+
cout << e.what() << endl;
|
|
346
|
+
}
|
|
347
|
+
};
|
|
348
|
+
|
|
349
|
+
void onRspQryCombAction(const dict &data, const dict &error, int reqid, bool last) override
|
|
350
|
+
{
|
|
351
|
+
try
|
|
352
|
+
{
|
|
353
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryCombAction, data, error, reqid, last);
|
|
354
|
+
}
|
|
355
|
+
catch (const error_already_set &e)
|
|
356
|
+
{
|
|
357
|
+
cout << e.what() << endl;
|
|
358
|
+
}
|
|
359
|
+
};
|
|
360
|
+
|
|
361
|
+
void onRspQryInvestorPositionForComb(const dict &data, const dict &error, int reqid, bool last) override
|
|
362
|
+
{
|
|
363
|
+
try
|
|
364
|
+
{
|
|
365
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryInvestorPositionForComb, data, error, reqid, last);
|
|
366
|
+
}
|
|
367
|
+
catch (const error_already_set &e)
|
|
368
|
+
{
|
|
369
|
+
cout << e.what() << endl;
|
|
370
|
+
}
|
|
371
|
+
};
|
|
372
|
+
|
|
373
|
+
void onRspQryDepthMarketData(const dict &data, const dict &error, int reqid, bool last) override
|
|
374
|
+
{
|
|
375
|
+
try
|
|
376
|
+
{
|
|
377
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryDepthMarketData, data, error, reqid, last);
|
|
378
|
+
}
|
|
379
|
+
catch (const error_already_set &e)
|
|
380
|
+
{
|
|
381
|
+
cout << e.what() << endl;
|
|
382
|
+
}
|
|
383
|
+
};
|
|
384
|
+
|
|
385
|
+
void onRspQryInstrumentStatus(const dict &data, const dict &error, int reqid, bool last) override
|
|
386
|
+
{
|
|
387
|
+
try
|
|
388
|
+
{
|
|
389
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryInstrumentStatus, data, error, reqid, last);
|
|
390
|
+
}
|
|
391
|
+
catch (const error_already_set &e)
|
|
392
|
+
{
|
|
393
|
+
cout << e.what() << endl;
|
|
394
|
+
}
|
|
395
|
+
};
|
|
396
|
+
|
|
397
|
+
void onRspQryInvestorPositionDetail(const dict &data, const dict &error, int reqid, bool last) override
|
|
398
|
+
{
|
|
399
|
+
try
|
|
400
|
+
{
|
|
401
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryInvestorPositionDetail, data, error, reqid, last);
|
|
402
|
+
}
|
|
403
|
+
catch (const error_already_set &e)
|
|
404
|
+
{
|
|
405
|
+
cout << e.what() << endl;
|
|
406
|
+
}
|
|
407
|
+
};
|
|
408
|
+
|
|
409
|
+
void onRspQryInvestorPositionCombineDetail(const dict &data, const dict &error, int reqid, bool last) override
|
|
410
|
+
{
|
|
411
|
+
try
|
|
412
|
+
{
|
|
413
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryInvestorPositionCombineDetail, data, error, reqid, last);
|
|
414
|
+
}
|
|
415
|
+
catch (const error_already_set &e)
|
|
416
|
+
{
|
|
417
|
+
cout << e.what() << endl;
|
|
418
|
+
}
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
void onRspQryExchangeMarginRate(const dict &data, const dict &error, int reqid, bool last) override
|
|
422
|
+
{
|
|
423
|
+
try
|
|
424
|
+
{
|
|
425
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryExchangeMarginRate, data, error, reqid, last);
|
|
426
|
+
}
|
|
427
|
+
catch (const error_already_set &e)
|
|
428
|
+
{
|
|
429
|
+
cout << e.what() << endl;
|
|
430
|
+
}
|
|
431
|
+
};
|
|
432
|
+
|
|
433
|
+
void onRspQryExchangeMarginRateAdjust(const dict &data, const dict &error, int reqid, bool last) override
|
|
434
|
+
{
|
|
435
|
+
try
|
|
436
|
+
{
|
|
437
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryExchangeMarginRateAdjust, data, error, reqid, last);
|
|
438
|
+
}
|
|
439
|
+
catch (const error_already_set &e)
|
|
440
|
+
{
|
|
441
|
+
cout << e.what() << endl;
|
|
442
|
+
}
|
|
443
|
+
};
|
|
444
|
+
|
|
445
|
+
void onRspQryOptionInstrTradeCost(const dict &data, const dict &error, int reqid, bool last) override
|
|
446
|
+
{
|
|
447
|
+
try
|
|
448
|
+
{
|
|
449
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryOptionInstrTradeCost, data, error, reqid, last);
|
|
450
|
+
}
|
|
451
|
+
catch (const error_already_set &e)
|
|
452
|
+
{
|
|
453
|
+
cout << e.what() << endl;
|
|
454
|
+
}
|
|
455
|
+
};
|
|
456
|
+
|
|
457
|
+
void onRspQryOptionInstrCommRate(const dict &data, const dict &error, int reqid, bool last) override
|
|
458
|
+
{
|
|
459
|
+
try
|
|
460
|
+
{
|
|
461
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryOptionInstrCommRate, data, error, reqid, last);
|
|
462
|
+
}
|
|
463
|
+
catch (const error_already_set &e)
|
|
464
|
+
{
|
|
465
|
+
cout << e.what() << endl;
|
|
466
|
+
}
|
|
467
|
+
};
|
|
468
|
+
|
|
469
|
+
void onRspQryExecOrder(const dict &data, const dict &error, int reqid, bool last) override
|
|
470
|
+
{
|
|
471
|
+
try
|
|
472
|
+
{
|
|
473
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryExecOrder, data, error, reqid, last);
|
|
474
|
+
}
|
|
475
|
+
catch (const error_already_set &e)
|
|
476
|
+
{
|
|
477
|
+
cout << e.what() << endl;
|
|
478
|
+
}
|
|
479
|
+
};
|
|
480
|
+
|
|
481
|
+
void onRspQryForQuote(const dict &data, const dict &error, int reqid, bool last) override
|
|
482
|
+
{
|
|
483
|
+
try
|
|
484
|
+
{
|
|
485
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryForQuote, data, error, reqid, last);
|
|
486
|
+
}
|
|
487
|
+
catch (const error_already_set &e)
|
|
488
|
+
{
|
|
489
|
+
cout << e.what() << endl;
|
|
490
|
+
}
|
|
491
|
+
};
|
|
492
|
+
|
|
493
|
+
void onRspQryQuote(const dict &data, const dict &error, int reqid, bool last) override
|
|
494
|
+
{
|
|
495
|
+
try
|
|
496
|
+
{
|
|
497
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryQuote, data, error, reqid, last);
|
|
498
|
+
}
|
|
499
|
+
catch (const error_already_set &e)
|
|
500
|
+
{
|
|
501
|
+
cout << e.what() << endl;
|
|
502
|
+
}
|
|
503
|
+
};
|
|
504
|
+
|
|
505
|
+
void onRspQryOptionSelfClose(const dict &data, const dict &error, int reqid, bool last) override
|
|
506
|
+
{
|
|
507
|
+
try
|
|
508
|
+
{
|
|
509
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryOptionSelfClose, data, error, reqid, last);
|
|
510
|
+
}
|
|
511
|
+
catch (const error_already_set &e)
|
|
512
|
+
{
|
|
513
|
+
cout << e.what() << endl;
|
|
514
|
+
}
|
|
515
|
+
};
|
|
516
|
+
|
|
517
|
+
void onRspError(const dict &error, int reqid, bool last) override
|
|
518
|
+
{
|
|
519
|
+
try
|
|
520
|
+
{
|
|
521
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspError, error, reqid, last);
|
|
522
|
+
}
|
|
523
|
+
catch (const error_already_set &e)
|
|
524
|
+
{
|
|
525
|
+
cout << e.what() << endl;
|
|
526
|
+
}
|
|
527
|
+
};
|
|
528
|
+
|
|
529
|
+
void onRtnOrder(const dict &data) override
|
|
530
|
+
{
|
|
531
|
+
try
|
|
532
|
+
{
|
|
533
|
+
PYBIND11_OVERLOAD(void, TdApi, onRtnOrder, data);
|
|
534
|
+
}
|
|
535
|
+
catch (const error_already_set &e)
|
|
536
|
+
{
|
|
537
|
+
cout << e.what() << endl;
|
|
538
|
+
}
|
|
539
|
+
};
|
|
540
|
+
|
|
541
|
+
void onRtnTrade(const dict &data) override
|
|
542
|
+
{
|
|
543
|
+
try
|
|
544
|
+
{
|
|
545
|
+
PYBIND11_OVERLOAD(void, TdApi, onRtnTrade, data);
|
|
546
|
+
}
|
|
547
|
+
catch (const error_already_set &e)
|
|
548
|
+
{
|
|
549
|
+
cout << e.what() << endl;
|
|
550
|
+
}
|
|
551
|
+
};
|
|
552
|
+
|
|
553
|
+
void onErrRtnOrderInsert(const dict &data, const dict &error) override
|
|
554
|
+
{
|
|
555
|
+
try
|
|
556
|
+
{
|
|
557
|
+
PYBIND11_OVERLOAD(void, TdApi, onErrRtnOrderInsert, data, error);
|
|
558
|
+
}
|
|
559
|
+
catch (const error_already_set &e)
|
|
560
|
+
{
|
|
561
|
+
cout << e.what() << endl;
|
|
562
|
+
}
|
|
563
|
+
};
|
|
564
|
+
|
|
565
|
+
void onErrRtnOrderAction(const dict &data, const dict &error) override
|
|
566
|
+
{
|
|
567
|
+
try
|
|
568
|
+
{
|
|
569
|
+
PYBIND11_OVERLOAD(void, TdApi, onErrRtnOrderAction, data, error);
|
|
570
|
+
}
|
|
571
|
+
catch (const error_already_set &e)
|
|
572
|
+
{
|
|
573
|
+
cout << e.what() << endl;
|
|
574
|
+
}
|
|
575
|
+
};
|
|
576
|
+
|
|
577
|
+
void onRtnInstrumentStatus(const dict &data) override
|
|
578
|
+
{
|
|
579
|
+
try
|
|
580
|
+
{
|
|
581
|
+
PYBIND11_OVERLOAD(void, TdApi, onRtnInstrumentStatus, data);
|
|
582
|
+
}
|
|
583
|
+
catch (const error_already_set &e)
|
|
584
|
+
{
|
|
585
|
+
cout << e.what() << endl;
|
|
586
|
+
}
|
|
587
|
+
};
|
|
588
|
+
|
|
589
|
+
void onRtnExecOrder(const dict &data) override
|
|
590
|
+
{
|
|
591
|
+
try
|
|
592
|
+
{
|
|
593
|
+
PYBIND11_OVERLOAD(void, TdApi, onRtnExecOrder, data);
|
|
594
|
+
}
|
|
595
|
+
catch (const error_already_set &e)
|
|
596
|
+
{
|
|
597
|
+
cout << e.what() << endl;
|
|
598
|
+
}
|
|
599
|
+
};
|
|
600
|
+
|
|
601
|
+
void onErrRtnExecOrderInsert(const dict &data, const dict &error) override
|
|
602
|
+
{
|
|
603
|
+
try
|
|
604
|
+
{
|
|
605
|
+
PYBIND11_OVERLOAD(void, TdApi, onErrRtnExecOrderInsert, data, error);
|
|
606
|
+
}
|
|
607
|
+
catch (const error_already_set &e)
|
|
608
|
+
{
|
|
609
|
+
cout << e.what() << endl;
|
|
610
|
+
}
|
|
611
|
+
};
|
|
612
|
+
|
|
613
|
+
void onErrRtnExecOrderAction(const dict &data, const dict &error) override
|
|
614
|
+
{
|
|
615
|
+
try
|
|
616
|
+
{
|
|
617
|
+
PYBIND11_OVERLOAD(void, TdApi, onErrRtnExecOrderAction, data, error);
|
|
618
|
+
}
|
|
619
|
+
catch (const error_already_set &e)
|
|
620
|
+
{
|
|
621
|
+
cout << e.what() << endl;
|
|
622
|
+
}
|
|
623
|
+
};
|
|
624
|
+
|
|
625
|
+
void onErrRtnForQuoteInsert(const dict &data, const dict &error) override
|
|
626
|
+
{
|
|
627
|
+
try
|
|
628
|
+
{
|
|
629
|
+
PYBIND11_OVERLOAD(void, TdApi, onErrRtnForQuoteInsert, data, error);
|
|
630
|
+
}
|
|
631
|
+
catch (const error_already_set &e)
|
|
632
|
+
{
|
|
633
|
+
cout << e.what() << endl;
|
|
634
|
+
}
|
|
635
|
+
};
|
|
636
|
+
|
|
637
|
+
void onRtnQuote(const dict &data) override
|
|
638
|
+
{
|
|
639
|
+
try
|
|
640
|
+
{
|
|
641
|
+
PYBIND11_OVERLOAD(void, TdApi, onRtnQuote, data);
|
|
642
|
+
}
|
|
643
|
+
catch (const error_already_set &e)
|
|
644
|
+
{
|
|
645
|
+
cout << e.what() << endl;
|
|
646
|
+
}
|
|
647
|
+
};
|
|
648
|
+
|
|
649
|
+
void onErrRtnQuoteInsert(const dict &data, const dict &error) override
|
|
650
|
+
{
|
|
651
|
+
try
|
|
652
|
+
{
|
|
653
|
+
PYBIND11_OVERLOAD(void, TdApi, onErrRtnQuoteInsert, data, error);
|
|
654
|
+
}
|
|
655
|
+
catch (const error_already_set &e)
|
|
656
|
+
{
|
|
657
|
+
cout << e.what() << endl;
|
|
658
|
+
}
|
|
659
|
+
};
|
|
660
|
+
|
|
661
|
+
void onErrRtnQuoteAction(const dict &data, const dict &error) override
|
|
662
|
+
{
|
|
663
|
+
try
|
|
664
|
+
{
|
|
665
|
+
PYBIND11_OVERLOAD(void, TdApi, onErrRtnQuoteAction, data, error);
|
|
666
|
+
}
|
|
667
|
+
catch (const error_already_set &e)
|
|
668
|
+
{
|
|
669
|
+
cout << e.what() << endl;
|
|
670
|
+
}
|
|
671
|
+
};
|
|
672
|
+
|
|
673
|
+
void onRtnForQuoteRsp(const dict &data) override
|
|
674
|
+
{
|
|
675
|
+
try
|
|
676
|
+
{
|
|
677
|
+
PYBIND11_OVERLOAD(void, TdApi, onRtnForQuoteRsp, data);
|
|
678
|
+
}
|
|
679
|
+
catch (const error_already_set &e)
|
|
680
|
+
{
|
|
681
|
+
cout << e.what() << endl;
|
|
682
|
+
}
|
|
683
|
+
};
|
|
684
|
+
|
|
685
|
+
void onErrRtnBatchOrderAction(const dict &data, const dict &error) override
|
|
686
|
+
{
|
|
687
|
+
try
|
|
688
|
+
{
|
|
689
|
+
PYBIND11_OVERLOAD(void, TdApi, onErrRtnBatchOrderAction, data, error);
|
|
690
|
+
}
|
|
691
|
+
catch (const error_already_set &e)
|
|
692
|
+
{
|
|
693
|
+
cout << e.what() << endl;
|
|
694
|
+
}
|
|
695
|
+
};
|
|
696
|
+
|
|
697
|
+
void onRtnOptionSelfClose(const dict &data) override
|
|
698
|
+
{
|
|
699
|
+
try
|
|
700
|
+
{
|
|
701
|
+
PYBIND11_OVERLOAD(void, TdApi, onRtnOptionSelfClose, data);
|
|
702
|
+
}
|
|
703
|
+
catch (const error_already_set &e)
|
|
704
|
+
{
|
|
705
|
+
cout << e.what() << endl;
|
|
706
|
+
}
|
|
707
|
+
};
|
|
708
|
+
|
|
709
|
+
void onErrRtnOptionSelfCloseInsert(const dict &data, const dict &error) override
|
|
710
|
+
{
|
|
711
|
+
try
|
|
712
|
+
{
|
|
713
|
+
PYBIND11_OVERLOAD(void, TdApi, onErrRtnOptionSelfCloseInsert, data, error);
|
|
714
|
+
}
|
|
715
|
+
catch (const error_already_set &e)
|
|
716
|
+
{
|
|
717
|
+
cout << e.what() << endl;
|
|
718
|
+
}
|
|
719
|
+
};
|
|
720
|
+
|
|
721
|
+
void onErrRtnOptionSelfCloseAction(const dict &data, const dict &error) override
|
|
722
|
+
{
|
|
723
|
+
try
|
|
724
|
+
{
|
|
725
|
+
PYBIND11_OVERLOAD(void, TdApi, onErrRtnOptionSelfCloseAction, data, error);
|
|
726
|
+
}
|
|
727
|
+
catch (const error_already_set &e)
|
|
728
|
+
{
|
|
729
|
+
cout << e.what() << endl;
|
|
730
|
+
}
|
|
731
|
+
};
|
|
732
|
+
|
|
733
|
+
void onRtnCombAction(const dict &data) override
|
|
734
|
+
{
|
|
735
|
+
try
|
|
736
|
+
{
|
|
737
|
+
PYBIND11_OVERLOAD(void, TdApi, onRtnCombAction, data);
|
|
738
|
+
}
|
|
739
|
+
catch (const error_already_set &e)
|
|
740
|
+
{
|
|
741
|
+
cout << e.what() << endl;
|
|
742
|
+
}
|
|
743
|
+
};
|
|
744
|
+
|
|
745
|
+
void onRspQryInstrumentOrderCommRate(const dict &data, const dict &error, int reqid, bool last) override
|
|
746
|
+
{
|
|
747
|
+
try
|
|
748
|
+
{
|
|
749
|
+
PYBIND11_OVERLOAD(void, TdApi, onRspQryInstrumentOrderCommRate, data, error, reqid, last);
|
|
750
|
+
}
|
|
751
|
+
catch (const error_already_set &e)
|
|
752
|
+
{
|
|
753
|
+
cout << e.what() << endl;
|
|
754
|
+
}
|
|
755
|
+
};
|
|
756
|
+
|