├── .github ├── CODE_OF_CONDUCT.md ├── ISSUE_TEMPLATE.md ├── PULL_REQUEST_TEMPLATE.md ├── SUPPORT.md └── workflows │ └── pythonapp.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── meson.build ├── pyproject.toml ├── script └── run.py └── vnpy_ctptest ├── __init__.py ├── api ├── __init__.py ├── ctp_constant.py ├── generator │ ├── ctp_constant.py │ ├── ctp_md_header_define.h │ ├── ctp_md_header_function.h │ ├── ctp_md_header_on.h │ ├── ctp_md_header_process.h │ ├── ctp_md_source_function.cpp │ ├── ctp_md_source_module.cpp │ ├── ctp_md_source_on.cpp │ ├── ctp_md_source_process.cpp │ ├── ctp_md_source_switch.cpp │ ├── ctp_md_source_task.cpp │ ├── ctp_struct.py │ ├── ctp_td_header_define.h │ ├── ctp_td_header_function.h │ ├── ctp_td_header_on.h │ ├── ctp_td_header_process.h │ ├── ctp_td_source_function.cpp │ ├── ctp_td_source_module.cpp │ ├── ctp_td_source_on.cpp │ ├── ctp_td_source_process.cpp │ ├── ctp_td_source_switch.cpp │ ├── ctp_td_source_task.cpp │ ├── ctp_typedef.py │ ├── generate_api_functions.py │ ├── generate_data_type.py │ └── generate_struct.py ├── include │ └── ctp │ │ ├── ThostFtdcMdApi.h │ │ ├── ThostFtdcTraderApi.h │ │ ├── ThostFtdcUserApiDataType.h │ │ └── ThostFtdcUserApiStruct.h ├── libs │ ├── thostmduserapi_se.lib │ └── thosttraderapi_se.lib ├── libthostmduserapi_se.so ├── libthosttraderapi_se.so ├── thostmduserapi_se.dll ├── thosttraderapi_se.dll └── vnctp │ ├── vnctp.h │ ├── vnctp.sln │ ├── vnctpmd │ ├── dllmain.cpp │ ├── stdafx.cpp │ ├── stdafx.h │ ├── targetver.h │ ├── vnctpmd.cpp │ ├── vnctpmd.h │ ├── vnctpmd.vcxproj │ ├── vnctpmd.vcxproj.filters │ └── vnctpmd.vcxproj.user │ └── vnctptd │ ├── dllmain.cpp │ ├── stdafx.cpp │ ├── stdafx.h │ ├── targetver.h │ ├── vnctptd.cpp │ ├── vnctptd.h │ ├── vnctptd.vcxproj │ ├── vnctptd.vcxproj.filters │ └── vnctptd.vcxproj.user └── gateway ├── __init__.py └── ctptest_gateway.py /.github/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/.github/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/SUPPORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/.github/SUPPORT.md -------------------------------------------------------------------------------- /.github/workflows/pythonapp.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/.github/workflows/pythonapp.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/README.md -------------------------------------------------------------------------------- /meson.build: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/meson.build -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/pyproject.toml -------------------------------------------------------------------------------- /script/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/script/run.py -------------------------------------------------------------------------------- /vnpy_ctptest/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/__init__.py -------------------------------------------------------------------------------- /vnpy_ctptest/api/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/__init__.py -------------------------------------------------------------------------------- /vnpy_ctptest/api/ctp_constant.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/ctp_constant.py -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/ctp_constant.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/ctp_constant.py -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/ctp_md_header_define.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/ctp_md_header_define.h -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/ctp_md_header_function.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/ctp_md_header_function.h -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/ctp_md_header_on.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/ctp_md_header_on.h -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/ctp_md_header_process.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/ctp_md_header_process.h -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/ctp_md_source_function.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/ctp_md_source_function.cpp -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/ctp_md_source_module.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/ctp_md_source_module.cpp -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/ctp_md_source_on.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/ctp_md_source_on.cpp -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/ctp_md_source_process.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/ctp_md_source_process.cpp -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/ctp_md_source_switch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/ctp_md_source_switch.cpp -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/ctp_md_source_task.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/ctp_md_source_task.cpp -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/ctp_struct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/ctp_struct.py -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/ctp_td_header_define.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/ctp_td_header_define.h -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/ctp_td_header_function.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/ctp_td_header_function.h -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/ctp_td_header_on.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/ctp_td_header_on.h -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/ctp_td_header_process.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/ctp_td_header_process.h -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/ctp_td_source_function.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/ctp_td_source_function.cpp -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/ctp_td_source_module.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/ctp_td_source_module.cpp -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/ctp_td_source_on.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/ctp_td_source_on.cpp -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/ctp_td_source_process.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/ctp_td_source_process.cpp -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/ctp_td_source_switch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/ctp_td_source_switch.cpp -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/ctp_td_source_task.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/ctp_td_source_task.cpp -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/ctp_typedef.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/ctp_typedef.py -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/generate_api_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/generate_api_functions.py -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/generate_data_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/generate_data_type.py -------------------------------------------------------------------------------- /vnpy_ctptest/api/generator/generate_struct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/generator/generate_struct.py -------------------------------------------------------------------------------- /vnpy_ctptest/api/include/ctp/ThostFtdcMdApi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/include/ctp/ThostFtdcMdApi.h -------------------------------------------------------------------------------- /vnpy_ctptest/api/include/ctp/ThostFtdcTraderApi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/include/ctp/ThostFtdcTraderApi.h -------------------------------------------------------------------------------- /vnpy_ctptest/api/include/ctp/ThostFtdcUserApiDataType.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/include/ctp/ThostFtdcUserApiDataType.h -------------------------------------------------------------------------------- /vnpy_ctptest/api/include/ctp/ThostFtdcUserApiStruct.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/include/ctp/ThostFtdcUserApiStruct.h -------------------------------------------------------------------------------- /vnpy_ctptest/api/libs/thostmduserapi_se.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/libs/thostmduserapi_se.lib -------------------------------------------------------------------------------- /vnpy_ctptest/api/libs/thosttraderapi_se.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/libs/thosttraderapi_se.lib -------------------------------------------------------------------------------- /vnpy_ctptest/api/libthostmduserapi_se.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/libthostmduserapi_se.so -------------------------------------------------------------------------------- /vnpy_ctptest/api/libthosttraderapi_se.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/libthosttraderapi_se.so -------------------------------------------------------------------------------- /vnpy_ctptest/api/thostmduserapi_se.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/thostmduserapi_se.dll -------------------------------------------------------------------------------- /vnpy_ctptest/api/thosttraderapi_se.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/thosttraderapi_se.dll -------------------------------------------------------------------------------- /vnpy_ctptest/api/vnctp/vnctp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/vnctp/vnctp.h -------------------------------------------------------------------------------- /vnpy_ctptest/api/vnctp/vnctp.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/vnctp/vnctp.sln -------------------------------------------------------------------------------- /vnpy_ctptest/api/vnctp/vnctpmd/dllmain.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/vnctp/vnctpmd/dllmain.cpp -------------------------------------------------------------------------------- /vnpy_ctptest/api/vnctp/vnctpmd/stdafx.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | -------------------------------------------------------------------------------- /vnpy_ctptest/api/vnctp/vnctpmd/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/vnctp/vnctpmd/stdafx.h -------------------------------------------------------------------------------- /vnpy_ctptest/api/vnctp/vnctpmd/targetver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/vnctp/vnctpmd/targetver.h -------------------------------------------------------------------------------- /vnpy_ctptest/api/vnctp/vnctpmd/vnctpmd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/vnctp/vnctpmd/vnctpmd.cpp -------------------------------------------------------------------------------- /vnpy_ctptest/api/vnctp/vnctpmd/vnctpmd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/vnctp/vnctpmd/vnctpmd.h -------------------------------------------------------------------------------- /vnpy_ctptest/api/vnctp/vnctpmd/vnctpmd.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/vnctp/vnctpmd/vnctpmd.vcxproj -------------------------------------------------------------------------------- /vnpy_ctptest/api/vnctp/vnctpmd/vnctpmd.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/vnctp/vnctpmd/vnctpmd.vcxproj.filters -------------------------------------------------------------------------------- /vnpy_ctptest/api/vnctp/vnctpmd/vnctpmd.vcxproj.user: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/vnctp/vnctpmd/vnctpmd.vcxproj.user -------------------------------------------------------------------------------- /vnpy_ctptest/api/vnctp/vnctptd/dllmain.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/vnctp/vnctptd/dllmain.cpp -------------------------------------------------------------------------------- /vnpy_ctptest/api/vnctp/vnctptd/stdafx.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | -------------------------------------------------------------------------------- /vnpy_ctptest/api/vnctp/vnctptd/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/vnctp/vnctptd/stdafx.h -------------------------------------------------------------------------------- /vnpy_ctptest/api/vnctp/vnctptd/targetver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/vnctp/vnctptd/targetver.h -------------------------------------------------------------------------------- /vnpy_ctptest/api/vnctp/vnctptd/vnctptd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/vnctp/vnctptd/vnctptd.cpp -------------------------------------------------------------------------------- /vnpy_ctptest/api/vnctp/vnctptd/vnctptd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/vnctp/vnctptd/vnctptd.h -------------------------------------------------------------------------------- /vnpy_ctptest/api/vnctp/vnctptd/vnctptd.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/vnctp/vnctptd/vnctptd.vcxproj -------------------------------------------------------------------------------- /vnpy_ctptest/api/vnctp/vnctptd/vnctptd.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/vnctp/vnctptd/vnctptd.vcxproj.filters -------------------------------------------------------------------------------- /vnpy_ctptest/api/vnctp/vnctptd/vnctptd.vcxproj.user: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/api/vnctp/vnctptd/vnctptd.vcxproj.user -------------------------------------------------------------------------------- /vnpy_ctptest/gateway/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/gateway/__init__.py -------------------------------------------------------------------------------- /vnpy_ctptest/gateway/ctptest_gateway.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vnpy/vnpy_ctptest/HEAD/vnpy_ctptest/gateway/ctptest_gateway.py --------------------------------------------------------------------------------