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,125 @@
|
|
|
1
|
+
#define ONFRONTCONNECTED 0
|
|
2
|
+
#define ONFRONTDISCONNECTED 1
|
|
3
|
+
#define ONHEARTBEATWARNING 2
|
|
4
|
+
#define ONRSPAUTHENTICATE 3
|
|
5
|
+
#define ONRSPUSERLOGIN 4
|
|
6
|
+
#define ONRSPUSERLOGOUT 5
|
|
7
|
+
#define ONRSPUSERPASSWORDUPDATE 6
|
|
8
|
+
#define ONRSPTRADINGACCOUNTPASSWORDUPDATE 7
|
|
9
|
+
#define ONRSPUSERAUTHMETHOD 8
|
|
10
|
+
#define ONRSPGENUSERCAPTCHA 9
|
|
11
|
+
#define ONRSPGENUSERTEXT 10
|
|
12
|
+
#define ONRSPORDERINSERT 11
|
|
13
|
+
#define ONRSPPARKEDORDERINSERT 12
|
|
14
|
+
#define ONRSPPARKEDORDERACTION 13
|
|
15
|
+
#define ONRSPORDERACTION 14
|
|
16
|
+
#define ONRSPQUERYMAXORDERVOLUME 15
|
|
17
|
+
#define ONRSPSETTLEMENTINFOCONFIRM 16
|
|
18
|
+
#define ONRSPREMOVEPARKEDORDER 17
|
|
19
|
+
#define ONRSPREMOVEPARKEDORDERACTION 18
|
|
20
|
+
#define ONRSPEXECORDERINSERT 19
|
|
21
|
+
#define ONRSPEXECORDERACTION 20
|
|
22
|
+
#define ONRSPFORQUOTEINSERT 21
|
|
23
|
+
#define ONRSPQUOTEINSERT 22
|
|
24
|
+
#define ONRSPQUOTEACTION 23
|
|
25
|
+
#define ONRSPBATCHORDERACTION 24
|
|
26
|
+
#define ONRSPOPTIONSELFCLOSEINSERT 25
|
|
27
|
+
#define ONRSPOPTIONSELFCLOSEACTION 26
|
|
28
|
+
#define ONRSPCOMBACTIONINSERT 27
|
|
29
|
+
#define ONRSPQRYORDER 28
|
|
30
|
+
#define ONRSPQRYTRADE 29
|
|
31
|
+
#define ONRSPQRYINVESTORPOSITION 30
|
|
32
|
+
#define ONRSPQRYTRADINGACCOUNT 31
|
|
33
|
+
#define ONRSPQRYINVESTOR 32
|
|
34
|
+
#define ONRSPQRYTRADINGCODE 33
|
|
35
|
+
#define ONRSPQRYINSTRUMENTMARGINRATE 34
|
|
36
|
+
#define ONRSPQRYINSTRUMENTCOMMISSIONRATE 35
|
|
37
|
+
#define ONRSPQRYEXCHANGE 36
|
|
38
|
+
#define ONRSPQRYPRODUCT 37
|
|
39
|
+
#define ONRSPQRYINSTRUMENT 38
|
|
40
|
+
#define ONRSPQRYDEPTHMARKETDATA 39
|
|
41
|
+
#define ONRSPQRYSETTLEMENTINFO 40
|
|
42
|
+
#define ONRSPQRYTRANSFERBANK 41
|
|
43
|
+
#define ONRSPQRYINVESTORPOSITIONDETAIL 42
|
|
44
|
+
#define ONRSPQRYNOTICE 43
|
|
45
|
+
#define ONRSPQRYSETTLEMENTINFOCONFIRM 44
|
|
46
|
+
#define ONRSPQRYINVESTORPOSITIONCOMBINEDETAIL 45
|
|
47
|
+
#define ONRSPQRYCFMMCTRADINGACCOUNTKEY 46
|
|
48
|
+
#define ONRSPQRYEWARRANTOFFSET 47
|
|
49
|
+
#define ONRSPQRYINVESTORPRODUCTGROUPMARGIN 48
|
|
50
|
+
#define ONRSPQRYEXCHANGEMARGINRATE 49
|
|
51
|
+
#define ONRSPQRYEXCHANGEMARGINRATEADJUST 50
|
|
52
|
+
#define ONRSPQRYEXCHANGERATE 51
|
|
53
|
+
#define ONRSPQRYSECAGENTACIDMAP 52
|
|
54
|
+
#define ONRSPQRYPRODUCTEXCHRATE 53
|
|
55
|
+
#define ONRSPQRYPRODUCTGROUP 54
|
|
56
|
+
#define ONRSPQRYMMINSTRUMENTCOMMISSIONRATE 55
|
|
57
|
+
#define ONRSPQRYMMOPTIONINSTRCOMMRATE 56
|
|
58
|
+
#define ONRSPQRYINSTRUMENTORDERCOMMRATE 57
|
|
59
|
+
#define ONRSPQRYSECAGENTTRADINGACCOUNT 58
|
|
60
|
+
#define ONRSPQRYSECAGENTCHECKMODE 59
|
|
61
|
+
#define ONRSPQRYSECAGENTTRADEINFO 60
|
|
62
|
+
#define ONRSPQRYOPTIONINSTRTRADECOST 61
|
|
63
|
+
#define ONRSPQRYOPTIONINSTRCOMMRATE 62
|
|
64
|
+
#define ONRSPQRYEXECORDER 63
|
|
65
|
+
#define ONRSPQRYFORQUOTE 64
|
|
66
|
+
#define ONRSPQRYQUOTE 65
|
|
67
|
+
#define ONRSPQRYOPTIONSELFCLOSE 66
|
|
68
|
+
#define ONRSPQRYINVESTUNIT 67
|
|
69
|
+
#define ONRSPQRYCOMBINSTRUMENTGUARD 68
|
|
70
|
+
#define ONRSPQRYCOMBACTION 69
|
|
71
|
+
#define ONRSPQRYTRANSFERSERIAL 70
|
|
72
|
+
#define ONRSPQRYACCOUNTREGISTER 71
|
|
73
|
+
#define ONRSPERROR 72
|
|
74
|
+
#define ONRTNORDER 73
|
|
75
|
+
#define ONRTNTRADE 74
|
|
76
|
+
#define ONERRRTNORDERINSERT 75
|
|
77
|
+
#define ONERRRTNORDERACTION 76
|
|
78
|
+
#define ONRTNINSTRUMENTSTATUS 77
|
|
79
|
+
#define ONRTNBULLETIN 78
|
|
80
|
+
#define ONRTNTRADINGNOTICE 79
|
|
81
|
+
#define ONRTNERRORCONDITIONALORDER 80
|
|
82
|
+
#define ONRTNEXECORDER 81
|
|
83
|
+
#define ONERRRTNEXECORDERINSERT 82
|
|
84
|
+
#define ONERRRTNEXECORDERACTION 83
|
|
85
|
+
#define ONERRRTNFORQUOTEINSERT 84
|
|
86
|
+
#define ONRTNQUOTE 85
|
|
87
|
+
#define ONERRRTNQUOTEINSERT 86
|
|
88
|
+
#define ONERRRTNQUOTEACTION 87
|
|
89
|
+
#define ONRTNFORQUOTERSP 88
|
|
90
|
+
#define ONRTNCFMMCTRADINGACCOUNTTOKEN 89
|
|
91
|
+
#define ONERRRTNBATCHORDERACTION 90
|
|
92
|
+
#define ONRTNOPTIONSELFCLOSE 91
|
|
93
|
+
#define ONERRRTNOPTIONSELFCLOSEINSERT 92
|
|
94
|
+
#define ONERRRTNOPTIONSELFCLOSEACTION 93
|
|
95
|
+
#define ONRTNCOMBACTION 94
|
|
96
|
+
#define ONERRRTNCOMBACTIONINSERT 95
|
|
97
|
+
#define ONRSPQRYCONTRACTBANK 96
|
|
98
|
+
#define ONRSPQRYPARKEDORDER 97
|
|
99
|
+
#define ONRSPQRYPARKEDORDERACTION 98
|
|
100
|
+
#define ONRSPQRYTRADINGNOTICE 99
|
|
101
|
+
#define ONRSPQRYBROKERTRADINGPARAMS 100
|
|
102
|
+
#define ONRSPQRYBROKERTRADINGALGOS 101
|
|
103
|
+
#define ONRSPQUERYCFMMCTRADINGACCOUNTTOKEN 102
|
|
104
|
+
#define ONRTNFROMBANKTOFUTUREBYBANK 103
|
|
105
|
+
#define ONRTNFROMFUTURETOBANKBYBANK 104
|
|
106
|
+
#define ONRTNREPEALFROMBANKTOFUTUREBYBANK 105
|
|
107
|
+
#define ONRTNREPEALFROMFUTURETOBANKBYBANK 106
|
|
108
|
+
#define ONRTNFROMBANKTOFUTUREBYFUTURE 107
|
|
109
|
+
#define ONRTNFROMFUTURETOBANKBYFUTURE 108
|
|
110
|
+
#define ONRTNREPEALFROMBANKTOFUTUREBYFUTUREMANUAL 109
|
|
111
|
+
#define ONRTNREPEALFROMFUTURETOBANKBYFUTUREMANUAL 110
|
|
112
|
+
#define ONRTNQUERYBANKBALANCEBYFUTURE 111
|
|
113
|
+
#define ONERRRTNBANKTOFUTUREBYFUTURE 112
|
|
114
|
+
#define ONERRRTNFUTURETOBANKBYFUTURE 113
|
|
115
|
+
#define ONERRRTNREPEALBANKTOFUTUREBYFUTUREMANUAL 114
|
|
116
|
+
#define ONERRRTNREPEALFUTURETOBANKBYFUTUREMANUAL 115
|
|
117
|
+
#define ONERRRTNQUERYBANKBALANCEBYFUTURE 116
|
|
118
|
+
#define ONRTNREPEALFROMBANKTOFUTUREBYFUTURE 117
|
|
119
|
+
#define ONRTNREPEALFROMFUTURETOBANKBYFUTURE 118
|
|
120
|
+
#define ONRSPFROMBANKTOFUTUREBYFUTURE 119
|
|
121
|
+
#define ONRSPFROMFUTURETOBANKBYFUTURE 120
|
|
122
|
+
#define ONRSPQUERYBANKACCOUNTMONEYBYFUTURE 121
|
|
123
|
+
#define ONRTNOPENACCOUNTBYBANK 122
|
|
124
|
+
#define ONRTNCANCELACCOUNTBYBANK 123
|
|
125
|
+
#define ONRTNCHANGEACCOUNTBYBANK 124
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
int reqAuthenticate(const dict &req, int reqid);
|
|
2
|
+
|
|
3
|
+
int reqUserLogin(const dict &req, int reqid);
|
|
4
|
+
|
|
5
|
+
int reqUserLogout(const dict &req, int reqid);
|
|
6
|
+
|
|
7
|
+
int reqUserPasswordUpdate(const dict &req, int reqid);
|
|
8
|
+
|
|
9
|
+
int reqTradingAccountPasswordUpdate(const dict &req, int reqid);
|
|
10
|
+
|
|
11
|
+
int reqUserAuthMethod(const dict &req, int reqid);
|
|
12
|
+
|
|
13
|
+
int reqGenUserCaptcha(const dict &req, int reqid);
|
|
14
|
+
|
|
15
|
+
int reqGenUserText(const dict &req, int reqid);
|
|
16
|
+
|
|
17
|
+
int reqUserLoginWithCaptcha(const dict &req, int reqid);
|
|
18
|
+
|
|
19
|
+
int reqUserLoginWithText(const dict &req, int reqid);
|
|
20
|
+
|
|
21
|
+
int reqUserLoginWithOTP(const dict &req, int reqid);
|
|
22
|
+
|
|
23
|
+
int reqOrderInsert(const dict &req, int reqid);
|
|
24
|
+
|
|
25
|
+
int reqParkedOrderInsert(const dict &req, int reqid);
|
|
26
|
+
|
|
27
|
+
int reqParkedOrderAction(const dict &req, int reqid);
|
|
28
|
+
|
|
29
|
+
int reqOrderAction(const dict &req, int reqid);
|
|
30
|
+
|
|
31
|
+
int reqQueryMaxOrderVolume(const dict &req, int reqid);
|
|
32
|
+
|
|
33
|
+
int reqSettlementInfoConfirm(const dict &req, int reqid);
|
|
34
|
+
|
|
35
|
+
int reqRemoveParkedOrder(const dict &req, int reqid);
|
|
36
|
+
|
|
37
|
+
int reqRemoveParkedOrderAction(const dict &req, int reqid);
|
|
38
|
+
|
|
39
|
+
int reqExecOrderInsert(const dict &req, int reqid);
|
|
40
|
+
|
|
41
|
+
int reqExecOrderAction(const dict &req, int reqid);
|
|
42
|
+
|
|
43
|
+
int reqForQuoteInsert(const dict &req, int reqid);
|
|
44
|
+
|
|
45
|
+
int reqQuoteInsert(const dict &req, int reqid);
|
|
46
|
+
|
|
47
|
+
int reqQuoteAction(const dict &req, int reqid);
|
|
48
|
+
|
|
49
|
+
int reqBatchOrderAction(const dict &req, int reqid);
|
|
50
|
+
|
|
51
|
+
int reqOptionSelfCloseInsert(const dict &req, int reqid);
|
|
52
|
+
|
|
53
|
+
int reqOptionSelfCloseAction(const dict &req, int reqid);
|
|
54
|
+
|
|
55
|
+
int reqCombActionInsert(const dict &req, int reqid);
|
|
56
|
+
|
|
57
|
+
int reqQryOrder(const dict &req, int reqid);
|
|
58
|
+
|
|
59
|
+
int reqQryTrade(const dict &req, int reqid);
|
|
60
|
+
|
|
61
|
+
int reqQryInvestorPosition(const dict &req, int reqid);
|
|
62
|
+
|
|
63
|
+
int reqQryTradingAccount(const dict &req, int reqid);
|
|
64
|
+
|
|
65
|
+
int reqQryInvestor(const dict &req, int reqid);
|
|
66
|
+
|
|
67
|
+
int reqQryTradingCode(const dict &req, int reqid);
|
|
68
|
+
|
|
69
|
+
int reqQryInstrumentMarginRate(const dict &req, int reqid);
|
|
70
|
+
|
|
71
|
+
int reqQryInstrumentCommissionRate(const dict &req, int reqid);
|
|
72
|
+
|
|
73
|
+
int reqQryExchange(const dict &req, int reqid);
|
|
74
|
+
|
|
75
|
+
int reqQryProduct(const dict &req, int reqid);
|
|
76
|
+
|
|
77
|
+
int reqQryInstrument(const dict &req, int reqid);
|
|
78
|
+
|
|
79
|
+
int reqQryDepthMarketData(const dict &req, int reqid);
|
|
80
|
+
|
|
81
|
+
int reqQrySettlementInfo(const dict &req, int reqid);
|
|
82
|
+
|
|
83
|
+
int reqQryTransferBank(const dict &req, int reqid);
|
|
84
|
+
|
|
85
|
+
int reqQryInvestorPositionDetail(const dict &req, int reqid);
|
|
86
|
+
|
|
87
|
+
int reqQryNotice(const dict &req, int reqid);
|
|
88
|
+
|
|
89
|
+
int reqQrySettlementInfoConfirm(const dict &req, int reqid);
|
|
90
|
+
|
|
91
|
+
int reqQryInvestorPositionCombineDetail(const dict &req, int reqid);
|
|
92
|
+
|
|
93
|
+
int reqQryCFMMCTradingAccountKey(const dict &req, int reqid);
|
|
94
|
+
|
|
95
|
+
int reqQryEWarrantOffset(const dict &req, int reqid);
|
|
96
|
+
|
|
97
|
+
int reqQryInvestorProductGroupMargin(const dict &req, int reqid);
|
|
98
|
+
|
|
99
|
+
int reqQryExchangeMarginRate(const dict &req, int reqid);
|
|
100
|
+
|
|
101
|
+
int reqQryExchangeMarginRateAdjust(const dict &req, int reqid);
|
|
102
|
+
|
|
103
|
+
int reqQryExchangeRate(const dict &req, int reqid);
|
|
104
|
+
|
|
105
|
+
int reqQrySecAgentACIDMap(const dict &req, int reqid);
|
|
106
|
+
|
|
107
|
+
int reqQryProductExchRate(const dict &req, int reqid);
|
|
108
|
+
|
|
109
|
+
int reqQryProductGroup(const dict &req, int reqid);
|
|
110
|
+
|
|
111
|
+
int reqQryMMInstrumentCommissionRate(const dict &req, int reqid);
|
|
112
|
+
|
|
113
|
+
int reqQryMMOptionInstrCommRate(const dict &req, int reqid);
|
|
114
|
+
|
|
115
|
+
int reqQryInstrumentOrderCommRate(const dict &req, int reqid);
|
|
116
|
+
|
|
117
|
+
int reqQrySecAgentTradingAccount(const dict &req, int reqid);
|
|
118
|
+
|
|
119
|
+
int reqQrySecAgentCheckMode(const dict &req, int reqid);
|
|
120
|
+
|
|
121
|
+
int reqQrySecAgentTradeInfo(const dict &req, int reqid);
|
|
122
|
+
|
|
123
|
+
int reqQryOptionInstrTradeCost(const dict &req, int reqid);
|
|
124
|
+
|
|
125
|
+
int reqQryOptionInstrCommRate(const dict &req, int reqid);
|
|
126
|
+
|
|
127
|
+
int reqQryExecOrder(const dict &req, int reqid);
|
|
128
|
+
|
|
129
|
+
int reqQryForQuote(const dict &req, int reqid);
|
|
130
|
+
|
|
131
|
+
int reqQryQuote(const dict &req, int reqid);
|
|
132
|
+
|
|
133
|
+
int reqQryOptionSelfClose(const dict &req, int reqid);
|
|
134
|
+
|
|
135
|
+
int reqQryInvestUnit(const dict &req, int reqid);
|
|
136
|
+
|
|
137
|
+
int reqQryCombInstrumentGuard(const dict &req, int reqid);
|
|
138
|
+
|
|
139
|
+
int reqQryCombAction(const dict &req, int reqid);
|
|
140
|
+
|
|
141
|
+
int reqQryTransferSerial(const dict &req, int reqid);
|
|
142
|
+
|
|
143
|
+
int reqQryAccountregister(const dict &req, int reqid);
|
|
144
|
+
|
|
145
|
+
int reqQryContractBank(const dict &req, int reqid);
|
|
146
|
+
|
|
147
|
+
int reqQryParkedOrder(const dict &req, int reqid);
|
|
148
|
+
|
|
149
|
+
int reqQryParkedOrderAction(const dict &req, int reqid);
|
|
150
|
+
|
|
151
|
+
int reqQryTradingNotice(const dict &req, int reqid);
|
|
152
|
+
|
|
153
|
+
int reqQryBrokerTradingParams(const dict &req, int reqid);
|
|
154
|
+
|
|
155
|
+
int reqQryBrokerTradingAlgos(const dict &req, int reqid);
|
|
156
|
+
|
|
157
|
+
int reqQueryCFMMCTradingAccountToken(const dict &req, int reqid);
|
|
158
|
+
|
|
159
|
+
int reqFromBankToFutureByFuture(const dict &req, int reqid);
|
|
160
|
+
|
|
161
|
+
int reqFromFutureToBankByFuture(const dict &req, int reqid);
|
|
162
|
+
|
|
163
|
+
int reqQueryBankAccountMoneyByFuture(const dict &req, int reqid);
|
|
164
|
+
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
virtual void onFrontConnected() {};
|
|
2
|
+
|
|
3
|
+
virtual void onFrontDisconnected(int reqid) {};
|
|
4
|
+
|
|
5
|
+
virtual void onHeartBeatWarning(int reqid) {};
|
|
6
|
+
|
|
7
|
+
virtual void onRspAuthenticate(const dict &data, const dict &error, int reqid, bool last) {};
|
|
8
|
+
|
|
9
|
+
virtual void onRspUserLogin(const dict &data, const dict &error, int reqid, bool last) {};
|
|
10
|
+
|
|
11
|
+
virtual void onRspUserLogout(const dict &data, const dict &error, int reqid, bool last) {};
|
|
12
|
+
|
|
13
|
+
virtual void onRspUserPasswordUpdate(const dict &data, const dict &error, int reqid, bool last) {};
|
|
14
|
+
|
|
15
|
+
virtual void onRspTradingAccountPasswordUpdate(const dict &data, const dict &error, int reqid, bool last) {};
|
|
16
|
+
|
|
17
|
+
virtual void onRspUserAuthMethod(const dict &data, const dict &error, int reqid, bool last) {};
|
|
18
|
+
|
|
19
|
+
virtual void onRspGenUserCaptcha(const dict &data, const dict &error, int reqid, bool last) {};
|
|
20
|
+
|
|
21
|
+
virtual void onRspGenUserText(const dict &data, const dict &error, int reqid, bool last) {};
|
|
22
|
+
|
|
23
|
+
virtual void onRspOrderInsert(const dict &data, const dict &error, int reqid, bool last) {};
|
|
24
|
+
|
|
25
|
+
virtual void onRspParkedOrderInsert(const dict &data, const dict &error, int reqid, bool last) {};
|
|
26
|
+
|
|
27
|
+
virtual void onRspParkedOrderAction(const dict &data, const dict &error, int reqid, bool last) {};
|
|
28
|
+
|
|
29
|
+
virtual void onRspOrderAction(const dict &data, const dict &error, int reqid, bool last) {};
|
|
30
|
+
|
|
31
|
+
virtual void onRspQueryMaxOrderVolume(const dict &data, const dict &error, int reqid, bool last) {};
|
|
32
|
+
|
|
33
|
+
virtual void onRspSettlementInfoConfirm(const dict &data, const dict &error, int reqid, bool last) {};
|
|
34
|
+
|
|
35
|
+
virtual void onRspRemoveParkedOrder(const dict &data, const dict &error, int reqid, bool last) {};
|
|
36
|
+
|
|
37
|
+
virtual void onRspRemoveParkedOrderAction(const dict &data, const dict &error, int reqid, bool last) {};
|
|
38
|
+
|
|
39
|
+
virtual void onRspExecOrderInsert(const dict &data, const dict &error, int reqid, bool last) {};
|
|
40
|
+
|
|
41
|
+
virtual void onRspExecOrderAction(const dict &data, const dict &error, int reqid, bool last) {};
|
|
42
|
+
|
|
43
|
+
virtual void onRspForQuoteInsert(const dict &data, const dict &error, int reqid, bool last) {};
|
|
44
|
+
|
|
45
|
+
virtual void onRspQuoteInsert(const dict &data, const dict &error, int reqid, bool last) {};
|
|
46
|
+
|
|
47
|
+
virtual void onRspQuoteAction(const dict &data, const dict &error, int reqid, bool last) {};
|
|
48
|
+
|
|
49
|
+
virtual void onRspBatchOrderAction(const dict &data, const dict &error, int reqid, bool last) {};
|
|
50
|
+
|
|
51
|
+
virtual void onRspOptionSelfCloseInsert(const dict &data, const dict &error, int reqid, bool last) {};
|
|
52
|
+
|
|
53
|
+
virtual void onRspOptionSelfCloseAction(const dict &data, const dict &error, int reqid, bool last) {};
|
|
54
|
+
|
|
55
|
+
virtual void onRspCombActionInsert(const dict &data, const dict &error, int reqid, bool last) {};
|
|
56
|
+
|
|
57
|
+
virtual void onRspQryOrder(const dict &data, const dict &error, int reqid, bool last) {};
|
|
58
|
+
|
|
59
|
+
virtual void onRspQryTrade(const dict &data, const dict &error, int reqid, bool last) {};
|
|
60
|
+
|
|
61
|
+
virtual void onRspQryInvestorPosition(const dict &data, const dict &error, int reqid, bool last) {};
|
|
62
|
+
|
|
63
|
+
virtual void onRspQryTradingAccount(const dict &data, const dict &error, int reqid, bool last) {};
|
|
64
|
+
|
|
65
|
+
virtual void onRspQryInvestor(const dict &data, const dict &error, int reqid, bool last) {};
|
|
66
|
+
|
|
67
|
+
virtual void onRspQryTradingCode(const dict &data, const dict &error, int reqid, bool last) {};
|
|
68
|
+
|
|
69
|
+
virtual void onRspQryInstrumentMarginRate(const dict &data, const dict &error, int reqid, bool last) {};
|
|
70
|
+
|
|
71
|
+
virtual void onRspQryInstrumentCommissionRate(const dict &data, const dict &error, int reqid, bool last) {};
|
|
72
|
+
|
|
73
|
+
virtual void onRspQryExchange(const dict &data, const dict &error, int reqid, bool last) {};
|
|
74
|
+
|
|
75
|
+
virtual void onRspQryProduct(const dict &data, const dict &error, int reqid, bool last) {};
|
|
76
|
+
|
|
77
|
+
virtual void onRspQryInstrument(const dict &data, const dict &error, int reqid, bool last) {};
|
|
78
|
+
|
|
79
|
+
virtual void onRspQryDepthMarketData(const dict &data, const dict &error, int reqid, bool last) {};
|
|
80
|
+
|
|
81
|
+
virtual void onRspQrySettlementInfo(const dict &data, const dict &error, int reqid, bool last) {};
|
|
82
|
+
|
|
83
|
+
virtual void onRspQryTransferBank(const dict &data, const dict &error, int reqid, bool last) {};
|
|
84
|
+
|
|
85
|
+
virtual void onRspQryInvestorPositionDetail(const dict &data, const dict &error, int reqid, bool last) {};
|
|
86
|
+
|
|
87
|
+
virtual void onRspQryNotice(const dict &data, const dict &error, int reqid, bool last) {};
|
|
88
|
+
|
|
89
|
+
virtual void onRspQrySettlementInfoConfirm(const dict &data, const dict &error, int reqid, bool last) {};
|
|
90
|
+
|
|
91
|
+
virtual void onRspQryInvestorPositionCombineDetail(const dict &data, const dict &error, int reqid, bool last) {};
|
|
92
|
+
|
|
93
|
+
virtual void onRspQryCFMMCTradingAccountKey(const dict &data, const dict &error, int reqid, bool last) {};
|
|
94
|
+
|
|
95
|
+
virtual void onRspQryEWarrantOffset(const dict &data, const dict &error, int reqid, bool last) {};
|
|
96
|
+
|
|
97
|
+
virtual void onRspQryInvestorProductGroupMargin(const dict &data, const dict &error, int reqid, bool last) {};
|
|
98
|
+
|
|
99
|
+
virtual void onRspQryExchangeMarginRate(const dict &data, const dict &error, int reqid, bool last) {};
|
|
100
|
+
|
|
101
|
+
virtual void onRspQryExchangeMarginRateAdjust(const dict &data, const dict &error, int reqid, bool last) {};
|
|
102
|
+
|
|
103
|
+
virtual void onRspQryExchangeRate(const dict &data, const dict &error, int reqid, bool last) {};
|
|
104
|
+
|
|
105
|
+
virtual void onRspQrySecAgentACIDMap(const dict &data, const dict &error, int reqid, bool last) {};
|
|
106
|
+
|
|
107
|
+
virtual void onRspQryProductExchRate(const dict &data, const dict &error, int reqid, bool last) {};
|
|
108
|
+
|
|
109
|
+
virtual void onRspQryProductGroup(const dict &data, const dict &error, int reqid, bool last) {};
|
|
110
|
+
|
|
111
|
+
virtual void onRspQryMMInstrumentCommissionRate(const dict &data, const dict &error, int reqid, bool last) {};
|
|
112
|
+
|
|
113
|
+
virtual void onRspQryMMOptionInstrCommRate(const dict &data, const dict &error, int reqid, bool last) {};
|
|
114
|
+
|
|
115
|
+
virtual void onRspQryInstrumentOrderCommRate(const dict &data, const dict &error, int reqid, bool last) {};
|
|
116
|
+
|
|
117
|
+
virtual void onRspQrySecAgentTradingAccount(const dict &data, const dict &error, int reqid, bool last) {};
|
|
118
|
+
|
|
119
|
+
virtual void onRspQrySecAgentCheckMode(const dict &data, const dict &error, int reqid, bool last) {};
|
|
120
|
+
|
|
121
|
+
virtual void onRspQrySecAgentTradeInfo(const dict &data, const dict &error, int reqid, bool last) {};
|
|
122
|
+
|
|
123
|
+
virtual void onRspQryOptionInstrTradeCost(const dict &data, const dict &error, int reqid, bool last) {};
|
|
124
|
+
|
|
125
|
+
virtual void onRspQryOptionInstrCommRate(const dict &data, const dict &error, int reqid, bool last) {};
|
|
126
|
+
|
|
127
|
+
virtual void onRspQryExecOrder(const dict &data, const dict &error, int reqid, bool last) {};
|
|
128
|
+
|
|
129
|
+
virtual void onRspQryForQuote(const dict &data, const dict &error, int reqid, bool last) {};
|
|
130
|
+
|
|
131
|
+
virtual void onRspQryQuote(const dict &data, const dict &error, int reqid, bool last) {};
|
|
132
|
+
|
|
133
|
+
virtual void onRspQryOptionSelfClose(const dict &data, const dict &error, int reqid, bool last) {};
|
|
134
|
+
|
|
135
|
+
virtual void onRspQryInvestUnit(const dict &data, const dict &error, int reqid, bool last) {};
|
|
136
|
+
|
|
137
|
+
virtual void onRspQryCombInstrumentGuard(const dict &data, const dict &error, int reqid, bool last) {};
|
|
138
|
+
|
|
139
|
+
virtual void onRspQryCombAction(const dict &data, const dict &error, int reqid, bool last) {};
|
|
140
|
+
|
|
141
|
+
virtual void onRspQryTransferSerial(const dict &data, const dict &error, int reqid, bool last) {};
|
|
142
|
+
|
|
143
|
+
virtual void onRspQryAccountregister(const dict &data, const dict &error, int reqid, bool last) {};
|
|
144
|
+
|
|
145
|
+
virtual void onRspError(const dict &error, int reqid, bool last) {};
|
|
146
|
+
|
|
147
|
+
virtual void onRtnOrder(const dict &data) {};
|
|
148
|
+
|
|
149
|
+
virtual void onRtnTrade(const dict &data) {};
|
|
150
|
+
|
|
151
|
+
virtual void onErrRtnOrderInsert(const dict &data, const dict &error) {};
|
|
152
|
+
|
|
153
|
+
virtual void onErrRtnOrderAction(const dict &data, const dict &error) {};
|
|
154
|
+
|
|
155
|
+
virtual void onRtnInstrumentStatus(const dict &data) {};
|
|
156
|
+
|
|
157
|
+
virtual void onRtnBulletin(const dict &data) {};
|
|
158
|
+
|
|
159
|
+
virtual void onRtnTradingNotice(const dict &data) {};
|
|
160
|
+
|
|
161
|
+
virtual void onRtnErrorConditionalOrder(const dict &data) {};
|
|
162
|
+
|
|
163
|
+
virtual void onRtnExecOrder(const dict &data) {};
|
|
164
|
+
|
|
165
|
+
virtual void onErrRtnExecOrderInsert(const dict &data, const dict &error) {};
|
|
166
|
+
|
|
167
|
+
virtual void onErrRtnExecOrderAction(const dict &data, const dict &error) {};
|
|
168
|
+
|
|
169
|
+
virtual void onErrRtnForQuoteInsert(const dict &data, const dict &error) {};
|
|
170
|
+
|
|
171
|
+
virtual void onRtnQuote(const dict &data) {};
|
|
172
|
+
|
|
173
|
+
virtual void onErrRtnQuoteInsert(const dict &data, const dict &error) {};
|
|
174
|
+
|
|
175
|
+
virtual void onErrRtnQuoteAction(const dict &data, const dict &error) {};
|
|
176
|
+
|
|
177
|
+
virtual void onRtnForQuoteRsp(const dict &data) {};
|
|
178
|
+
|
|
179
|
+
virtual void onRtnCFMMCTradingAccountToken(const dict &data) {};
|
|
180
|
+
|
|
181
|
+
virtual void onErrRtnBatchOrderAction(const dict &data, const dict &error) {};
|
|
182
|
+
|
|
183
|
+
virtual void onRtnOptionSelfClose(const dict &data) {};
|
|
184
|
+
|
|
185
|
+
virtual void onErrRtnOptionSelfCloseInsert(const dict &data, const dict &error) {};
|
|
186
|
+
|
|
187
|
+
virtual void onErrRtnOptionSelfCloseAction(const dict &data, const dict &error) {};
|
|
188
|
+
|
|
189
|
+
virtual void onRtnCombAction(const dict &data) {};
|
|
190
|
+
|
|
191
|
+
virtual void onErrRtnCombActionInsert(const dict &data, const dict &error) {};
|
|
192
|
+
|
|
193
|
+
virtual void onRspQryContractBank(const dict &data, const dict &error, int reqid, bool last) {};
|
|
194
|
+
|
|
195
|
+
virtual void onRspQryParkedOrder(const dict &data, const dict &error, int reqid, bool last) {};
|
|
196
|
+
|
|
197
|
+
virtual void onRspQryParkedOrderAction(const dict &data, const dict &error, int reqid, bool last) {};
|
|
198
|
+
|
|
199
|
+
virtual void onRspQryTradingNotice(const dict &data, const dict &error, int reqid, bool last) {};
|
|
200
|
+
|
|
201
|
+
virtual void onRspQryBrokerTradingParams(const dict &data, const dict &error, int reqid, bool last) {};
|
|
202
|
+
|
|
203
|
+
virtual void onRspQryBrokerTradingAlgos(const dict &data, const dict &error, int reqid, bool last) {};
|
|
204
|
+
|
|
205
|
+
virtual void onRspQueryCFMMCTradingAccountToken(const dict &data, const dict &error, int reqid, bool last) {};
|
|
206
|
+
|
|
207
|
+
virtual void onRtnFromBankToFutureByBank(const dict &data) {};
|
|
208
|
+
|
|
209
|
+
virtual void onRtnFromFutureToBankByBank(const dict &data) {};
|
|
210
|
+
|
|
211
|
+
virtual void onRtnRepealFromBankToFutureByBank(const dict &data) {};
|
|
212
|
+
|
|
213
|
+
virtual void onRtnRepealFromFutureToBankByBank(const dict &data) {};
|
|
214
|
+
|
|
215
|
+
virtual void onRtnFromBankToFutureByFuture(const dict &data) {};
|
|
216
|
+
|
|
217
|
+
virtual void onRtnFromFutureToBankByFuture(const dict &data) {};
|
|
218
|
+
|
|
219
|
+
virtual void onRtnRepealFromBankToFutureByFutureManual(const dict &data) {};
|
|
220
|
+
|
|
221
|
+
virtual void onRtnRepealFromFutureToBankByFutureManual(const dict &data) {};
|
|
222
|
+
|
|
223
|
+
virtual void onRtnQueryBankBalanceByFuture(const dict &data) {};
|
|
224
|
+
|
|
225
|
+
virtual void onErrRtnBankToFutureByFuture(const dict &data, const dict &error) {};
|
|
226
|
+
|
|
227
|
+
virtual void onErrRtnFutureToBankByFuture(const dict &data, const dict &error) {};
|
|
228
|
+
|
|
229
|
+
virtual void onErrRtnRepealBankToFutureByFutureManual(const dict &data, const dict &error) {};
|
|
230
|
+
|
|
231
|
+
virtual void onErrRtnRepealFutureToBankByFutureManual(const dict &data, const dict &error) {};
|
|
232
|
+
|
|
233
|
+
virtual void onErrRtnQueryBankBalanceByFuture(const dict &data, const dict &error) {};
|
|
234
|
+
|
|
235
|
+
virtual void onRtnRepealFromBankToFutureByFuture(const dict &data) {};
|
|
236
|
+
|
|
237
|
+
virtual void onRtnRepealFromFutureToBankByFuture(const dict &data) {};
|
|
238
|
+
|
|
239
|
+
virtual void onRspFromBankToFutureByFuture(const dict &data, const dict &error, int reqid, bool last) {};
|
|
240
|
+
|
|
241
|
+
virtual void onRspFromFutureToBankByFuture(const dict &data, const dict &error, int reqid, bool last) {};
|
|
242
|
+
|
|
243
|
+
virtual void onRspQueryBankAccountMoneyByFuture(const dict &data, const dict &error, int reqid, bool last) {};
|
|
244
|
+
|
|
245
|
+
virtual void onRtnOpenAccountByBank(const dict &data) {};
|
|
246
|
+
|
|
247
|
+
virtual void onRtnCancelAccountByBank(const dict &data) {};
|
|
248
|
+
|
|
249
|
+
virtual void onRtnChangeAccountByBank(const dict &data) {};
|
|
250
|
+
|