diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index f4e30dffb6..02216e9c6f 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -18,6 +18,7 @@ jobs: python -m pip install --upgrade pip pip install https://pip.vnpy.com/colletion/TA_Lib-0.4.17-cp37-cp37m-win_amd64.whl pip install https://pip.vnpy.com/colletion/quickfix-1.15.1-cp37-cp37m-win_amd64.whl + pip install https://pip.vnpy.com/colletion/ibapi-9.76.1.tar.gz pip install -r requirements.txt - name: Lint with flake8 run: | diff --git a/README.md b/README.md index d4a95e3c06..e29a7dac80 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@

- + @@ -50,7 +50,7 @@ vn.py是一套基于Python的开源量化交易系统开发框架,于2015年1 * 恒生期权(hsoption):ETF期权 - * 华鑫奇点(tora):国内证券(A股) + * 华鑫奇点(tora):国内证券(A股)、ETF期权 * 飞鼠(sgit):黄金TD、国内期货 @@ -104,6 +104,8 @@ vn.py是一套基于Python的开源量化交易系统开发框架,于2015年1 * 火币永续(huobis):数字货币永续 + * 火币期权(huobio):数字货币期权 + * Gate.io永续(gateios):数字货币永续合约 * Deribit(deribit),数字货币期权、永续合约 @@ -136,6 +138,8 @@ vn.py是一套基于Python的开源量化交易系统开发框架,于2015年1 * script_trader:脚本策略模块,针对多标的组合类交易策略设计,同时也可以直接在命令行中实现REPL指令形式的交易,不支持回测功能 + * market_radar:市场雷达模块,允许用户基于自定义的公式实时计算任意合约组合数据,公式支持标准Python运算语法以及内置函数 + * paper_account:模拟交易模块,纯本地化实现的模拟交易功能,基于交易接口获取的实时行情进行委托撮合,提供委托成交推送以及持仓记录 * chart_wizard:K线图表模块,基于RQData数据服务(期货)或者交易接口(数字货币)获取历史数据,并结合Tick推送显示实时行情变化 @@ -166,7 +170,7 @@ vn.py是一套基于Python的开源量化交易系统开发框架,于2015年1 ## 环境准备 -* 推荐使用vn.py团队为量化交易专门打造的Python发行版[VNStudio-2.1.6](https://download.vnpy.com/vnstudio-2.1.6.exe),内置了最新版的vn.py框架以及VN Station量化管理平台,无需手动安装 +* 推荐使用vn.py团队为量化交易专门打造的Python发行版[VNStudio-2.1.7](https://download.vnpy.com/vnstudio-2.1.7.exe),内置了最新版的vn.py框架以及VN Station量化管理平台,无需手动安装 * 支持的系统版本:Windows 7以上/Windows Server 2008以上/Ubuntu 18.04 LTS * 支持的Python版本:Python 3.7 64位(**注意必须是Python 3.7 64位版本**) diff --git a/docs/gateway.md b/docs/gateway.md index 8066b80e37..895747b48d 100644 --- a/docs/gateway.md +++ b/docs/gateway.md @@ -71,28 +71,48 @@ def main(): ## 接口分类 -| 接口 | 类型 | -| -------- | :----------------------------------------: | -| CTP | 期货 | -| MINI | 期货 | -| FEMAS | 期货 | -| XTP | 国内股票、指数、基金、债券、期权、融资融券 | -| OES | 国内股票 | -| TORA | 国内股票 | -| IB | 外盘股票、期货、期权 | -| TAP | 外盘期货、期权 | -| FUTU | 国内股票、港股、美股 | -| TIGER | 国内股票、港股、美股 | -| ALPACA | 美股 | -| BITFINEX | 数字货币 | -| BITMEX | 数字货币 | -| BINANCE | 数字货币 | -| OKEX | 数字货币 | -| OKEXF | 数字货币 | -| HUOBI | 数字货币 | -| HUOBIF | 数字货币 | -| ONETOKEN | 数字货币 | -| RPC | RPC服务 | +| 接口 | 类型 | +| ------------ | :--------------------------------------------: | +| CTP | 期货、期货期权(实盘6.3.15) | +| CTP测试 | 期货、期货期权(测试6.3.16) | +| CTP Mini | 期货、期货期权(实盘1.4) | +| CTP Mini测试 | 期货、期货期权(测试1.2) | +| 飞马 | 期货 | +| CTP期权 | ETF期权(实盘20190802) | +| CTP期权测试 | ETF期权(实盘20190604) | +| 飞创期权 | ETF期权(实盘20200427) | +| 恒生UFT | 期货、ETF期权 | +| 恒生期权 | ETF期权 | +| 中泰XTP | A股、两融、ETF期权 | +| 华鑫奇点 | A股 | +| 宽睿 | A股、ETF期权 | +| 中亿汇达Comstar| 银行间市场 | +| 富途证券 | 港股、美股 | +| 盈透证券 | 海外全品种 | +| 老虎证券 | 外盘期货 | +| 易盛9.0外盘 | 外盘期货 | +| 直达期货 | 国内股票 | +| MetaTrader 5 | 外汇、CFD、股票、期货 | +| 币安 | 数字货币 | +| 币安永续合约 | 数字货币永续和期货 | +| 火币 | 数字货币 | +| 火币期货 | 数字货币期货 | +| 火币永续 | 数字货币永续 | +| OKEX | 数字货币 | +| OKEX期货 | 数字货币期货 | +| OKEX永续 | 数字货币永续 | +| OKEX期权 | 数字货币期权 | +| BitMEX | 数字货币期货、永续 | +| Bybit | 数字货币永续 | +| Gate.io合约 | 数字货币永续 | +| Deribit | 数字货币永续、期权 | +| Bitfinex | 数字货币 | +| Coinbase | 数字货币 | +| Bitstamp | 数字货币 | +| 1Token | 数字货币 | +| 融航 | 期货资管 | +| 鑫管家 | 期货资管 | +| RPC服务 | 核心交易路由 | @@ -284,7 +304,7 @@ main_engine.add_gateway(OesGateway) 先从gateway上调用ToraGateway类;然后通过add_gateway()函数添加到main_engine上。 ``` from vnpy.gateway.tota import ToraGateway -main_engine.add_gateway(OesGateway) +main_engine.add_gateway(ToraGateway) ```   diff --git a/install.bat b/install.bat index 72e71d9553..bfa7528d3e 100644 --- a/install.bat +++ b/install.bat @@ -4,6 +4,7 @@ python -m pip install --upgrade pip setuptools ::Install prebuild wheel python -m pip install https://pip.vnpy.com/colletion/TA_Lib-0.4.17-cp37-cp37m-win_amd64.whl python -m pip install https://pip.vnpy.com/colletion/quickfix-1.15.1-cp37-cp37m-win_amd64.whl +python -m pip install https://pip.vnpy.com/colletion/ibapi-9.76.1.tar.gz ::Install Python Modules python -m pip install -r requirements.txt diff --git a/install.sh b/install.sh index 1238023d3b..6aff090ed8 100644 --- a/install.sh +++ b/install.sh @@ -33,6 +33,7 @@ $python -m pip install numpy # Install extra packages $python -m pip install ta-lib $python -m pip install psycopg2-binary +$python -m pip install https://pip.vnpy.com/colletion/ibapi-9.76.1.tar.gz # Install Python Modules $python -m pip install -r requirements.txt diff --git a/install_osx.sh b/install_osx.sh index e9c1c6e70e..6ec65d6540 100755 --- a/install_osx.sh +++ b/install_osx.sh @@ -33,6 +33,7 @@ $python -m pip install numpy # Install extra packages $python -m pip install ta-lib $python -m pip install psycopg2-binary +$python -m pip install https://pip.vnpy.com/colletion/ibapi-9.76.1.tar.gz # Install Python Modules $python -m pip install -r requirements.txt diff --git a/requirements.txt b/requirements.txt index 36f77cf10a..8c747dc5fe 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,7 @@ pymysql psycopg2 mongoengine numpy -pandas==0.24.2 +pandas matplotlib seaborn futu-api @@ -24,4 +24,5 @@ pyzmq wmi QScintilla==2.11.4 plotly -quickfix \ No newline at end of file +quickfix +trading-calendars diff --git a/setup.py b/setup.py index d29430bdc2..a880392646 100644 --- a/setup.py +++ b/setup.py @@ -260,23 +260,6 @@ def get_ext_modules(): language="cpp", ) - vnoes = Extension( - name="vnpy.api.oes.vnoes", - sources=gather_autocxxpy_generated_files( - "vnpy/api/oes/vnoes/generated_files/", - ), - include_dirs=["vnpy/api/oes/vnoes/include", - "vnpy/api/oes/vnoes/include/oes"], - define_macros=[("BRIGAND_NO_BOOST_SUPPORT", "1")], - undef_macros=[], - library_dirs=["vnpy/api/oes/vnoes/libs"], - libraries=["oes_api"], - extra_compile_args=compiler_flags, - extra_link_args=extra_link_args, - runtime_library_dirs=runtime_library_dirs, - depends=[], - language="cpp", - ) if platform.system() == "Windows": # use pre-built pyd for windows ( support python 3.7 only ) ext_modules = [] @@ -287,12 +270,9 @@ def get_ext_modules(): vnctptd, vnctpmd, vnxtptd, vnxtpmd, vnsgittd, vnsgitmd, - vnksgoldmd, vnksgoldtd, - vnoes + vnksgoldmd, vnksgoldtd ] - ext_modules = check_extension_build_flag( - ext_modules, "VNPY_BUILD_OES", vnoes) ext_modules = check_extension_build_flag( ext_modules, "VNPY_BUILD_CTP", vnctptd) ext_modules = check_extension_build_flag( diff --git a/vnpy/api/tora/.gitignore b/vnpy/api/tora/.gitignore deleted file mode 100644 index d4aa1f5f85..0000000000 --- a/vnpy/api/tora/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -vntora.lib - - diff --git a/vnpy/api/tora/fastmdapi.dll b/vnpy/api/tora/fastmdapi.dll deleted file mode 100644 index 74a280c882..0000000000 Binary files a/vnpy/api/tora/fastmdapi.dll and /dev/null differ diff --git a/vnpy/api/tora/fasttraderapi.dll b/vnpy/api/tora/fasttraderapi.dll deleted file mode 100644 index a736885ac2..0000000000 Binary files a/vnpy/api/tora/fasttraderapi.dll and /dev/null differ diff --git a/vnpy/api/tora/generate_tora.sh b/vnpy/api/tora/generate_tora.sh deleted file mode 100644 index 7e440ff4bb..0000000000 --- a/vnpy/api/tora/generate_tora.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash -# autocxxpy version: 0.3.4b -python -m autocxxpy \ - vntora \ - TORATstpMdApi.h\ - TORATstpTraderApi.h\ - TORATstpUserApiDataType.h\ - TORATstpUserApiStruct.h\ - -I vntora/include \ - --copy-autocxxpy-includes vntora/include \ - --output-dir vntora/generated_files \ - --pyi-output-dir . \ - \ - --no-clear-pyi-output-dir \ - --no-callback-pattern \ - ".*Api::.*" \ - --string-encoding-windows .936 \ - --string-encoding-linux zh_CN.GB18030 \ diff --git a/vnpy/api/tora/libfastmdapi.so b/vnpy/api/tora/libfastmdapi.so deleted file mode 100644 index 4a71f46aca..0000000000 Binary files a/vnpy/api/tora/libfastmdapi.so and /dev/null differ diff --git a/vnpy/api/tora/libfasttraderapi.so b/vnpy/api/tora/libfasttraderapi.so deleted file mode 100644 index fdf8a330eb..0000000000 Binary files a/vnpy/api/tora/libfasttraderapi.so and /dev/null differ diff --git a/vnpy/api/tora/libmdapi.so b/vnpy/api/tora/libmdapi.so deleted file mode 100644 index 56952a0980..0000000000 Binary files a/vnpy/api/tora/libmdapi.so and /dev/null differ diff --git a/vnpy/api/tora/libtraderapi.so b/vnpy/api/tora/libtraderapi.so deleted file mode 100644 index 30380eaf7f..0000000000 Binary files a/vnpy/api/tora/libtraderapi.so and /dev/null differ diff --git a/vnpy/api/tora/mdapi.dll b/vnpy/api/tora/mdapi.dll deleted file mode 100644 index 8aacebb005..0000000000 Binary files a/vnpy/api/tora/mdapi.dll and /dev/null differ diff --git a/vnpy/api/tora/traderapi.dll b/vnpy/api/tora/traderapi.dll deleted file mode 100644 index 72a0db817b..0000000000 Binary files a/vnpy/api/tora/traderapi.dll and /dev/null differ diff --git a/vnpy/api/tora/vntora.pyd b/vnpy/api/tora/vntora.pyd deleted file mode 100644 index f24b66bea1..0000000000 Binary files a/vnpy/api/tora/vntora.pyd and /dev/null differ diff --git a/vnpy/api/tora/vntora.pyi b/vnpy/api/tora/vntora.pyi deleted file mode 100644 index d5720aa301..0000000000 --- a/vnpy/api/tora/vntora.pyi +++ /dev/null @@ -1,3320 +0,0 @@ -# noinspection PyUnresolvedReferences -import typing -if typing.TYPE_CHECKING: - from typing import * - # noinspection PyUnresolvedReferences - from enum import Enum - from .vntora import * - - -def set_async_callback_exception_handler(handler: Callable[[AsyncDispatchException], None]): - """ - set a customize exception handler for async callback in this module(pyd) - \a handler should return True if it handles that exception, - - :note: If the return value of \a handler is not True, exception will be re-thrown. - """ - ... - - -class AsyncDispatchException: - what: str - instance: object - function_name: str - - -class CTORATstpFensUserInfoField(): - - - LogInAccount: str - LogInAccountType: str - - -class CTORATstpEffectPriceMarketDataField(): - - - ExchangeID: str - SecurityID: str - LastPrice: float - TotalVolume: int - Turnover: float - UpdateTime: str - UpdateMillisec: int - - -class CTORATstpEffectVolumeMarketDataField(): - - - ExchangeID: str - SecurityID: str - LastPrice: float - TotalVolume: int - Turnover: float - UpdateTime: str - UpdateMillisec: int - - -class CTORATstpFundsFlowMarketDataField(): - - - ExchangeID: str - SecurityID: str - UpdateTime: str - UpdateMillisec: int - RetailBuyTurnover: float - RetailBuyVolume: int - RetailBuyAmount: int - RetailSellTurnover: float - RetailSellVolume: int - RetailSellAmount: int - MiddleBuyTurnover: float - MiddleBuyVolume: int - MiddleBuyAmount: int - MiddleSellTurnover: float - MiddleSellVolume: int - MiddleSellAmount: int - LargeBuyTurnover: float - LargeBuyVolume: int - LargeBuyAmount: int - LargeSellTurnover: float - LargeSellVolume: int - LargeSellAmount: int - InstitutionBuyTurnover: float - InstitutionBuyVolume: int - InstitutionBuyAmount: int - InstitutionSellTurnover: float - InstitutionSellVolume: int - InstitutionSellAmount: int - - -class CTORATstpReqUserLoginField(): - - - LogInAccount: str - LogInAccountType: str - Password: str - UserProductInfo: str - InterfaceProductInfo: str - ProtocolInfo: str - MacAddress: str - OneTimePassword: str - ClientIPAddress: str - Lang: str - TerminalInfo: str - GWMacAddress: str - GWInnerIPAddress: str - GWOuterIPAddress: str - DepartmentID: str - HDSerial: str - AuthMode: str - DeviceID: str - DeviceSerial: str - - -class CTORATstpRspUserLoginField(): - - - LoginTime: str - LogInAccount: str - LogInAccountType: str - SystemName: str - FrontID: int - SessionID: int - MaxOrderRef: str - PrivateFlowCount: int - PublicFlowCount: int - TradingDay: str - UserID: str - UserName: str - UserType: str - DepartmentID: str - ClientIPAddress: str - MacAddress: str - HDSerial: str - CommFlux: int - - -class CTORATstpRspInfoField(): - - - ErrorID: int - ErrorMsg: str - - -class CTORATstpUserLogoutField(): - - - UserID: str - - -class CTORATstpForceUserLogoutField(): - - - UserID: str - - -class CTORATstpUserPasswordUpdateField(): - - - UserID: str - OldPassword: str - NewPassword: str - - -class CTORATstpReqInputDeviceSerialField(): - - - UserID: str - DeviceID: str - DeviceSerial: str - - -class CTORATstpRspInputDeviceSerialField(): - - - UserID: str - - -class CTORATstpActivateUserField(): - - - UserID: str - - -class CTORATstpVerifyUserPasswordField(): - - - UserID: str - Password: str - - -class CTORATstpInputOrderField(): - - - InvestorID: str - SecurityID: str - OrderRef: str - UserID: str - OrderPriceType: str - Direction: str - CombOffsetFlag: str - CombHedgeFlag: str - LimitPrice: float - VolumeTotalOriginal: int - TimeCondition: str - VolumeCondition: str - MinVolume: int - ForceCloseReason: str - RequestID: int - UserForceClose: int - IsSwapOrder: int - ExchangeID: str - ShareholderID: str - BusinessUnitID: str - AccountID: str - IPAddress: str - MacAddress: str - CreditPositionType: str - OrderSysID: str - TerminalInfo: str - BInfo: str - SInfo: str - IInfo: int - TransfereePbuID: str - Operway: str - CondCheck: str - HDSerial: str - - -class CTORATstpOrderField(): - - - InvestorID: str - SecurityID: str - OrderRef: str - UserID: str - OrderPriceType: str - Direction: str - CombOffsetFlag: str - CombHedgeFlag: str - LimitPrice: float - VolumeTotalOriginal: int - TimeCondition: str - VolumeCondition: str - MinVolume: int - ForceCloseReason: str - RequestID: int - OrderLocalID: str - ExchangeID: str - MarketID: str - ShareholderID: str - ExchangeInstID: str - TraderID: str - OrderSubmitStatus: str - TradingDay: str - OrderSysID: str - OrderStatus: str - OrderType: str - VolumeTraded: int - VolumeTotal: int - InsertDate: str - InsertTime: str - CancelTime: str - ActiveTraderID: str - FrontID: int - SessionID: int - UserProductInfo: str - StatusMsg: str - UserForceClose: int - ActiveUserID: str - BusinessUnitID: str - AccountID: str - IPAddress: str - MacAddress: str - CreditPositionType: str - BInfo: str - SInfo: str - IInfo: int - TransfereePbuID: str - Operway: str - DepartmentID: str - ProperCtrlBusinessType: str - ProperCtrlPassFlag: str - CondCheck: str - IsCacheOrder: int - Turnover: float - RtnFloatInfo: float - RtnIntInfo: int - - -class CTORATstpUserRefField(): - - - UserID: str - - -class CTORATstpInputOrderActionField(): - - - InvestorID: str - OrderActionRef: str - OrderRef: str - RequestID: int - FrontID: int - SessionID: int - ExchangeID: str - OrderSysID: str - ActionFlag: str - LimitPrice: float - VolumeChange: int - UserID: str - SecurityID: str - IPAddress: str - MacAddress: str - CancelOrderLocalID: str - TerminalInfo: str - BInfo: str - SInfo: str - IInfo: int - Operway: str - HDSerial: str - - -class CTORATstpOrderActionField(): - - - InvestorID: str - OrderActionRef: str - OrderRef: str - RequestID: int - FrontID: int - SessionID: int - ExchangeID: str - OrderSysID: str - ActionFlag: str - LimitPrice: float - VolumeChange: int - ActionDate: str - ActionTime: str - TraderID: str - OrderLocalID: str - ActionLocalID: str - ShareholderID: str - OrderActionStatus: str - UserID: str - StatusMsg: str - SecurityID: str - IPAddress: str - MacAddress: str - BInfo: str - SInfo: str - IInfo: int - Operway: str - - -class CTORATstpTradeField(): - - - InvestorID: str - SecurityID: str - UserID: str - ExchangeID: str - TradeID: str - Direction: str - OrderSysID: str - MarketID: str - ShareholderID: str - ExchangeInstID: str - OffsetFlag: str - HedgeFlag: str - Price: float - Volume: int - TradeDate: str - TradeTime: str - TraderID: str - OrderLocalID: str - TradingDay: str - BusinessUnitID: str - AccountID: str - OrderRef: str - DepartmentID: str - - -class CTORATstpMarketStatusField(): - - - MarketID: str - MarketStatus: str - - -class CTORATstpInputCondOrderField(): - - - ExchangeID: str - InvestorID: str - BusinessUnitID: str - ShareholderID: str - SecurityID: str - Direction: str - OrderPriceType: str - OrderVolumeType: str - TimeCondition: str - VolumeCondition: str - LimitPrice: float - VolumeTotalOriginal: int - CombOffsetFlag: str - CombHedgeFlag: str - CondOrderRef: str - AccountID: str - UserID: str - RequestID: int - IPAddress: str - MacAddress: str - CondOrderID: int - TerminalInfo: str - BInfo: str - SInfo: str - IInfo: int - Operway: str - CondCheck: str - ContingentCondition: str - ConditionPrice: float - PriceTicks: int - VolumeMultiple: int - RelativeFrontID: int - RelativeSessionID: int - RelativeParam: str - AppendContingentCondition: str - AppendConditionPrice: float - AppendRelativeFrontID: int - AppendRelativeSessionID: int - AppendRelativeParam: str - HDSerial: str - - -class CTORATstpConditionOrderField(): - - - ExchangeID: str - InvestorID: str - BusinessUnitID: str - ShareholderID: str - SecurityID: str - Direction: str - OrderPriceType: str - OrderVolumeType: str - TimeCondition: str - VolumeCondition: str - LimitPrice: float - VolumeTotalOriginal: int - CombOffsetFlag: str - CombHedgeFlag: str - CondOrderRef: str - AccountID: str - UserID: str - RequestID: int - IPAddress: str - MacAddress: str - CondOrderID: int - TerminalInfo: str - BInfo: str - SInfo: str - IInfo: int - Operway: str - CondCheck: str - ContingentCondition: str - ConditionPrice: float - PriceTicks: int - VolumeMultiple: int - RelativeFrontID: int - RelativeSessionID: int - RelativeParam: str - AppendContingentCondition: str - AppendConditionPrice: float - AppendRelativeFrontID: int - AppendRelativeSessionID: int - AppendRelativeParam: str - TradingDay: str - CondOrderStatus: str - InsertDate: str - InsertTime: str - CancelTime: str - CancelUser: str - FrontID: int - SessionID: int - UserProductInfo: str - StatusMsg: str - DepartmentID: str - ProperCtrlBusinessType: str - ProperCtrlPassFlag: str - ActiveDate: str - ActiveTime: str - - -class CTORATstpInputCondOrderActionField(): - - - RequestID: int - ExchangeID: str - CondOrderActionRef: str - CondOrderRef: str - FrontID: int - SessionID: int - CondOrderID: int - ActionFlag: str - InvestorID: str - SecurityID: str - UserID: str - IPAddress: str - MacAddress: str - CancelCondOrderID: int - TerminalInfo: str - BInfo: str - SInfo: str - IInfo: int - Operway: str - HDSerial: str - - -class CTORATstpReqInquiryJZFundField(): - - - AccountID: str - CurrencyID: str - DepartmentID: str - - -class CTORATstpRspInquiryJZFundField(): - - - AccountID: str - CurrencyID: str - UsefulMoney: float - FetchLimit: float - DepartmentID: str - - -class CTORATstpInputTransferFundField(): - - - AccountID: str - CurrencyID: str - ApplySerial: str - TransferDirection: str - Amount: float - DepartmentID: str - BankID: str - AccountPassword: str - BankPassword: str - - -class CTORATstpInputTransferPositionField(): - - - InvestorID: str - BusinessUnitID: str - ExchangeID: str - ShareholderID: str - SecurityID: str - ApplySerial: str - TransferDirection: str - Volume: int - TransferPositionType: str - MarketID: str - - -class CTORATstpTransferFundField(): - - - FundSerial: str - ApplySerial: str - FrontID: int - SessionID: int - AccountID: str - CurrencyID: str - TransferDirection: str - Amount: float - TransferStatus: str - OperatorID: str - OperateDate: str - OperateTime: str - DepartmentID: str - BankAccountID: str - BankID: str - - -class CTORATstpTransferPositionField(): - - - PositionSerial: str - ApplySerial: str - FrontID: int - SessionID: int - InvestorID: str - BusinessUnitID: str - ExchangeID: str - ShareholderID: str - MarketID: str - SecurityID: str - TradingDay: str - TransferDirection: str - TransferPositionType: str - HistoryVolume: int - TodayBSVolume: int - TodayPRVolume: int - TransferStatus: str - OperatorID: str - OperateDate: str - OperateTime: str - - -class CTORATstpSpecificSecurityField(): - - - ExchangeID: str - SecurityID: str - - -class CTORATstpInputTransferCollateralField(): - - - InvestorID: str - BusinessUnitID: str - ExchangeID: str - ShareholderID: str - SecurityID: str - ApplySerial: str - CollateralDirection: str - Volume: int - MarketID: str - Operway: str - - -class CTORATstpReqInquiryBankAccountFundField(): - - - DepartmentID: str - AccountID: str - CurrencyID: str - BankID: str - BankPassword: str - - -class CTORATstpRspInquiryBankAccountFundField(): - - - DepartmentID: str - AccountID: str - CurrencyID: str - BankID: str - BankAccountID: str - Balance: float - - -class CTORATstpLev2MarketDataField(): - - - SecurityID: str - ExchangeID: str - DataTimeStamp: int - PreClosePrice: float - OpenPrice: float - NumTrades: int - TotalVolumeTrade: int - TotalValueTrade: float - TotalBidVolume: int - AvgBidPrice: float - TotalAskVolume: int - AvgAskPrice: float - HighestPrice: float - LowestPrice: float - LastPrice: float - BidPrice1: float - BidVolume1: int - AskPrice1: float - AskVolume1: int - AskPrice2: float - AskVolume2: int - AskPrice3: float - AskVolume3: int - BidPrice2: float - BidVolume2: int - BidPrice3: float - BidVolume3: int - AskPrice4: float - AskVolume4: int - AskPrice5: float - AskVolume5: int - BidPrice4: float - BidVolume4: int - BidPrice5: float - BidVolume5: int - AskPrice6: float - AskVolume6: int - AskPrice7: float - AskVolume7: int - BidPrice6: float - BidVolume6: int - BidPrice7: float - BidVolume7: int - AskPrice8: float - AskVolume8: int - AskPrice9: float - AskVolume9: int - BidPrice8: float - BidVolume8: int - BidPrice9: float - BidVolume9: int - BidPrice10: float - BidVolume10: int - AskPrice10: float - AskVolume10: int - Info1: int - Info2: int - Info3: int - UpperLimitPrice: float - LowerLimitPrice: float - ClosePrice: float - MDSecurityStat: str - - -class CTORATstpLev2IndexField(): - - - ExchangeID: str - SecurityID: str - DataTimeStamp: int - PreCloseIndex: float - OpenIndex: float - HighIndex: float - LowIndex: float - LastIndex: float - Turnover: float - TotalVolumeTraded: int - Info1: int - Info2: int - Info3: int - - -class CTORATstpLev2TransactionField(): - - - ExchangeID: str - SecurityID: str - TradeTime: int - TradePrice: float - TradeVolume: int - ExecType: str - MainSeq: int - SubSeq: int - BuyNo: int - SellNo: int - Info1: int - Info2: int - Info3: int - - -class CTORATstpLev2OrderDetailField(): - - - ExchangeID: str - SecurityID: str - OrderTime: int - Price: float - Volume: int - Side: str - OrderType: str - MainSeq: int - SubSeq: int - Info1: int - Info2: int - Info3: int - - -class CTORATstpUploadTradeDataField(): - - - ExchangeID: str - TradingDay: str - bForce: int - - -class CTORATstpInputDesignationRegistrationField(): - - - InvestorID: str - UserID: str - DesignationType: str - ShareholderID: str - BusinessUnitID: str - AccountID: str - OrderSysID: str - IPAddress: str - MacAddress: str - TerminalInfo: str - HDSerial: str - - -class CTORATstpInputCustodyTransferField(): - - - InvestorID: str - UserID: str - CustodyTransferType: str - ShareholderID: str - BusinessUnitID: str - AccountID: str - OrderSysID: str - TransfereePbuID: str - SecurityID: str - OrignalOrderLocalID: str - OrderLocalID: str - VolumeTotalOriginal: int - IPAddress: str - MacAddress: str - TerminalInfo: str - HDSerial: str - - -class CTORATstpInquiryTradeConcentrationField(): - - - ExchangeID: str - MarketID: str - SecurityID: str - InvestorID: str - BusinessUnitID: str - AccountID: str - ShareholderID: str - ConcentrationRatio1: float - ConcentrationRatio2: float - - -class CTORATstpInquiryFileOrderField(): - - - ExchangeID: str - ShareholderID: str - InvestorID: str - SecurityID: str - OrderSerialBeg: int - OrderSerialEnd: int - CommitStatus: str - - -class CTORATstpFileOrderField(): - - - RequestID: int - ExchangeID: str - ShareholderID: str - InvestorID: str - SecurityID: str - OrderRef: str - FileOrderType: str - Direction: str - LimitPrice: float - VolumeTotalOriginal: int - Operway: str - OrderActionRef: str - OrderSysID: str - CondCheck: str - OrderSerial: int - CommitStatus: str - StatusMsg: str - TimeStamp: int - - -class CTORATstpQryRspInfoField(): - - - EndFlag: str - ErrorID: int - ErrorMsg: str - - -class CTORATstpReviewFileOrderField(): - - - ExchangeID: str - ShareholderID: str - InvestorID: str - SecurityID: str - OrderSerialBeg: int - OrderSerialEnd: int - - -class CTORATstpCommitInfoField(): - - - OrderSerial: int - CommitStatus: str - StatusMsg: str - - -class CTORATstpReqInsTradingNoticeField(): - - - NoticeSerial: str - InsertDate: str - InsertTime: str - InvestorID: str - BusinessUnitID: str - Content: str - OperatorID: str - - -class CTORATstpTradingNoticeField(): - - - NoticeSerial: str - InsertDate: str - InsertTime: str - InvestorID: str - BusinessUnitID: str - Content: str - OperatorID: str - - -class CTORATstpLoadFileOrderField(): - - - InvestorID: str - bReview: int - - -class CTORATstpFileOrderInfoField(): - - - RequestID: int - ExchangeID: str - ShareholderID: str - InvestorID: str - SecurityID: str - OrderRef: str - FileOrderType: str - Direction: str - LimitPrice: float - VolumeTotalOriginal: int - Operway: str - OrderActionRef: str - OrderSysID: str - CondCheck: str - OrderSerial: int - CommitStatus: str - StatusMsg: str - - -class CTORATstpReqInquiryMaxOrderVolumeField(): - - - ExchangeID: str - SecurityID: str - InvestorID: str - BusinessUnitID: str - AccountID: str - ShareholderID: str - Direction: str - OrderPriceType: str - CombOffsetFlag: str - CombHedgeFlag: str - TimeCondition: str - VolumeCondition: str - LimitPrice: float - TransfereePbuID: str - MaxVolume: int - - -class CTORATstpRspInquiryMaxOrderVolumeField(): - - - ExchangeID: str - SecurityID: str - InvestorID: str - BusinessUnitID: str - AccountID: str - ShareholderID: str - Direction: str - OrderPriceType: str - CombOffsetFlag: str - CombHedgeFlag: str - TimeCondition: str - VolumeCondition: str - LimitPrice: float - TransfereePbuID: str - MaxVolume: int - - -class CTORATstpPeripheryPositionTransferDetailField(): - - - PositionSerial: int - ApplySerial: int - FrontID: int - SessionID: int - TransferDirection: str - ExchangeID: str - MarketID: str - InvestorID: str - BusinessUnitID: str - ShareholderID: str - SecurityID: str - TodayBSPos: int - TodayPRPos: int - HistoryPos: int - TradingDay: str - TransferReason: str - TransferStatus: str - OperateDate: str - OperateTime: str - RepealDate: str - RepealTime: str - RepealReason: str - StatusMsg: str - - -class CTORATstpQryHistoryOrderField(): - - - ExchangeID: str - InvestorID: str - BegDate: str - EndDate: str - SecurityID: str - PageCount: int - PageLocate: int - - -class CTORATstpQryHistoryRspInfoField(): - - - ErrorID: int - ErrorMsg: str - bPageEnd: int - - -class CTORATstpHistoryOrderField(): - - - InvestorID: str - SecurityID: str - OrderRef: str - UserID: str - OrderPriceType: str - Direction: str - CombOffsetFlag: str - CombHedgeFlag: str - LimitPrice: float - VolumeTotalOriginal: int - TimeCondition: str - VolumeCondition: str - MinVolume: int - ForceCloseReason: str - RequestID: int - OrderLocalID: str - ExchangeID: str - MarketID: str - ShareholderID: str - ExchangeInstID: str - TraderID: str - OrderSubmitStatus: str - TradingDay: str - OrderSysID: str - OrderStatus: str - OrderType: str - VolumeTraded: int - VolumeTotal: int - InsertDate: str - InsertTime: str - CancelTime: str - ActiveTraderID: str - FrontID: int - SessionID: int - UserProductInfo: str - StatusMsg: str - UserForceClose: int - ActiveUserID: str - BusinessUnitID: str - AccountID: str - IPAddress: str - MacAddress: str - CreditPositionType: str - BInfo: str - SInfo: str - IInfo: int - TransfereePbuID: str - Operway: str - DepartmentID: str - ProperCtrlBusinessType: str - ProperCtrlPassFlag: str - CondCheck: str - IsCacheOrder: int - Turnover: float - RtnFloatInfo: float - RtnIntInfo: int - PageLocate: int - - -class CTORATstpQryHistoryTradeField(): - - - ExchangeID: str - InvestorID: str - BegDate: str - EndDate: str - SecurityID: str - PageCount: int - PageLocate: int - - -class CTORATstpHistoryTradeField(): - - - InvestorID: str - SecurityID: str - UserID: str - ExchangeID: str - TradeID: str - Direction: str - OrderSysID: str - MarketID: str - ShareholderID: str - ExchangeInstID: str - OffsetFlag: str - HedgeFlag: str - Price: float - Volume: int - TradeDate: str - TradeTime: str - TraderID: str - OrderLocalID: str - TradingDay: str - BusinessUnitID: str - AccountID: str - OrderRef: str - DepartmentID: str - PageLocate: int - - -class CTORATstpQryExchangeField(): - - - ExchangeID: str - - -class CTORATstpExchangeField(): - - - ExchangeID: str - ExchangeName: str - TradingDay: str - - -class CTORATstpQryPBUField(): - - - PbuID: str - ExchangeID: str - MarketID: str - - -class CTORATstpPBUField(): - - - PbuID: str - PbuName: str - ExchangeID: str - MarketID: str - - -class CTORATstpQryMarketDataField(): - - - SecurityID: str - ExchangeID: str - - -class CTORATstpMarketDataField(): - - - TradingDay: str - SecurityID: str - ExchangeID: str - ExchangeInstID: str - LastPrice: float - PreClosePrice: float - OpenPrice: float - HighestPrice: float - LowestPrice: float - Volume: int - Turnover: float - OpenInterest: float - UpperLimitPrice: float - LowerLimitPrice: float - UpdateTime: str - UpdateMillisec: int - BidPrice1: float - BidVolume1: int - AskPrice1: float - AskVolume1: int - BidPrice2: float - BidVolume2: int - AskPrice2: float - AskVolume2: int - BidPrice3: float - BidVolume3: int - AskPrice3: float - AskVolume3: int - BidPrice4: float - BidVolume4: int - AskPrice4: float - AskVolume4: int - BidPrice5: float - BidVolume5: int - AskPrice5: float - AskVolume5: int - SecurityName: str - TradingCount: int - PERatio1: float - PERatio2: float - PriceUpDown1: float - PriceUpDown2: float - ClosePrice: float - MDSecurityStat: str - HWFlag: int - - -class CTORATstpQrySecurityField(): - - - SecurityID: str - ExchangeID: str - ExchangeInstID: str - ProductID: str - - -class CTORATstpSecurityField(): - - - SecurityID: str - ExchangeID: str - SecurityName: str - ExchangeInstID: str - MarketID: str - ProductID: str - SecurityType: str - OrderUnit: str - BuyTradingUnit: int - SellTradingUnit: int - MaxMarketOrderBuyVolume: int - MinMarketOrderBuyVolume: int - MaxLimitOrderBuyVolume: int - MinLimitOrderBuyVolume: int - MaxMarketOrderSellVolume: int - MinMarketOrderSellVolume: int - MaxLimitOrderSellVolume: int - MinLimitOrderSellVolume: int - VolumeMultiple: int - PriceTick: float - OpenDate: str - PositionType: str - ParValue: float - SecurityStatus: int - BondInterest: float - ConversionRate: float - IsCollateral: int - - -class CTORATstpQryETFFileField(): - - - ExchangeID: str - ETFSecurityID: str - ETFCreRedSecurityID: str - - -class CTORATstpETFFileField(): - - - TradingDay: str - ExchangeID: str - ETFSecurityID: str - ETFCreRedSecurityID: str - CreationRedemptionUnit: int - Maxcashratio: float - CreationStatus: int - RedemptionStatus: int - EstimateCashComponent: float - CashComponent: float - NAV: float - NAVperCU: float - DividendPerCU: float - - -class CTORATstpQryETFBasketField(): - - - ExchangeID: str - ETFSecurityID: str - SecurityID: str - - -class CTORATstpETFBasketField(): - - - TradingDay: str - ExchangeID: str - ETFSecurityID: str - SecurityID: str - SecurityName: str - Volume: int - ETFCurrenceReplaceStatus: str - Premium: float - CreationReplaceAmount: float - RedemptionReplaceAmount: float - Market: str - - -class CTORATstpQryDepartmentInfoField(): - - - DepartmentID: str - - -class CTORATstpDepartmentInfoField(): - - - DepartmentID: str - DepartmentName: str - - -class CTORATstpQryIPOInfoField(): - - - ExchangeID: str - SecurityID: str - - -class CTORATstpIPOInfoField(): - - - ExchangeID: str - SecurityID: str - MarketID: str - ProductID: str - SecurityType: str - OnlineLimit: int - Price: float - CurrencyID: str - SecurityName: str - UnderlyingSecurityID: str - UnderlyingSecurityName: str - OnlineMinVol: int - OnlineVolUnit: int - - -class CTORATstpQryBrokerUserFunctionField(): - - - UserID: str - - -class CTORATstpBrokerUserFunctionField(): - - - UserID: str - FunctionID: str - - -class CTORATstpQryBUProxyField(): - - - InvestorID: str - UserID: str - BusinessUnitID: str - - -class CTORATstpBUProxyField(): - - - InvestorID: str - UserID: str - BusinessUnitID: str - - -class CTORATstpQryUserField(): - - - UserID: str - UserType: str - - -class CTORATstpUserField(): - - - UserID: str - UserName: str - UserType: str - IsActive: int - LoginLimit: int - - -class CTORATstpQryInvestorField(): - - - InvestorID: str - - -class CTORATstpInvestorField(): - - - InvestorID: str - InvestorName: str - IdCardType: str - IdCardNo: str - Telephone: str - Address: str - OpenDate: str - Mobile: str - Operways: str - CRiskLevel: str - ProfInvestorType: str - - -class CTORATstpQryShareholderAccountField(): - - - InvestorID: str - ExchangeID: str - MarketID: str - ShareholderID: str - TradingCodeClass: str - - -class CTORATstpShareholderAccountField(): - - - InvestorID: str - ExchangeID: str - ShareholderID: str - ClientIDType: str - MarketID: str - - -class CTORATstpQryBusinessUnitField(): - - - InvestorID: str - - -class CTORATstpBusinessUnitField(): - - - InvestorID: str - BusinessUnitID: str - BusinessUnitName: str - - -class CTORATstpQryBusinessUnitAndTradingAcctField(): - - - InvestorID: str - BusinessUnitID: str - ProductID: str - AccountID: str - CurrencyID: str - - -class CTORATstpBusinessUnitAndTradingAcctField(): - - - InvestorID: str - BusinessUnitID: str - ExchangeID: str - MarketID: str - ShareholderID: str - ProductID: str - AccountID: str - CurrencyID: str - UserID: str - - -class CTORATstpQryOrderField(): - - - InvestorID: str - SecurityID: str - ExchangeID: str - MarketID: str - ShareholderID: str - OrderSysID: str - InsertTimeStart: str - InsertTimeEnd: str - BusinessUnitID: str - BInfo: str - SInfo: str - IInfo: int - IsCancel: int - - -class CTORATstpQryOrderActionField(): - - - InvestorID: str - ExchangeID: str - MarketID: str - ShareholderID: str - BInfo: str - SInfo: str - IInfo: int - - -class CTORATstpQryTradeField(): - - - InvestorID: str - SecurityID: str - ExchangeID: str - MarketID: str - ShareholderID: str - TradeID: str - TradeTimeStart: str - TradeTimeEnd: str - BusinessUnitID: str - - -class CTORATstpQryTradingAccountField(): - - - InvestorID: str - CurrencyID: str - AccountID: str - AccountType: str - DepartmentID: str - - -class CTORATstpTradingAccountField(): - - - AccountID: str - Available: float - WithdrawQuota: float - CurrencyID: str - Deposit: float - Withdraw: float - FrozenMargin: float - FrozenCash: float - FrozenCommission: float - CurrMargin: float - Commission: float - AccountType: str - AccountOwner: str - DepartmentID: str - BankID: str - BankAccountID: str - - -class CTORATstpQryPositionField(): - - - InvestorID: str - SecurityID: str - ExchangeID: str - MarketID: str - ShareholderID: str - BusinessUnitID: str - - -class CTORATstpPositionField(): - - - SecurityID: str - InvestorID: str - BusinessUnitID: str - ExchangeID: str - MarketID: str - ShareholderID: str - TradingDay: str - HistoryPos: int - HistoryPosFrozen: int - TodayBSPos: int - TodayBSFrozen: int - TodayPRPos: int - TodayPRFrozen: int - TotalPosCost: float - TodaySMPos: int - TodaySMPosFrozen: int - MarginBuyPos: int - ShortSellPos: int - PrePosition: int - AvailablePosition: int - CurrentPosition: int - LastPrice: float - - -class CTORATstpQryTradingFeeField(): - - - ExchangeID: str - - -class CTORATstpTradingFeeField(): - - - ExchangeID: str - ProductID: str - SecurityType: str - SecurityID: str - BizClass: str - StampTaxRatioByAmt: float - StampTaxRatioByPar: float - StampTaxFeePerOrder: float - StampTaxFeeMin: float - StampTaxFeeMax: float - TransferRatioByAmt: float - TransferRatioByPar: float - TransferFeePerOrder: float - TransferFeeMin: float - TransferFeeMax: float - HandlingRatioByAmt: float - HandlingRatioByPar: float - HandlingFeePerOrder: float - HandlingFeeMin: float - HandlingFeeMax: float - RegulateRatioByAmt: float - RegulateRatioByPar: float - RegulateFeePerOrder: float - RegulateFeeMin: float - RegulateFeeMax: float - TransferFeeByVolume: float - HandlingFeeByVolume: float - SettlementRatioByAmt: float - SettlementRatioByPar: float - SettlementFeePerOrder: float - SettlementFeeByVolume: float - SettlementFeeMin: float - SettlementFeeMax: float - - -class CTORATstpQryInvestorTradingFeeField(): - - - InvestorID: str - ExchangeID: str - DepartmentID: str - - -class CTORATstpInvestorTradingFeeField(): - - - InvestorID: str - ExchangeID: str - ProductID: str - SecurityType: str - SecurityID: str - BizClass: str - BrokerageType: str - RatioByAmt: float - RatioByPar: float - FeePerOrder: float - FeeMin: float - FeeMax: float - FeeByVolume: float - DepartmentID: str - - -class CTORATstpQryIPOQuotaField(): - - - InvestorID: str - ExchangeID: str - MarketID: str - ShareholderID: str - - -class CTORATstpIPOQuotaField(): - - - InvestorID: str - ExchangeID: str - MarketID: str - ShareholderID: str - MaxVolume: int - - -class CTORATstpQryMarketField(): - - - ExchangeID: str - MarketID: str - - -class CTORATstpMarketField(): - - - MarketID: str - MarketName: str - ExchangeID: str - - -class CTORATstpQryOrderFundDetailField(): - - - InvestorID: str - SecurityID: str - ExchangeID: str - OrderSysID: str - InsertTimeStart: str - InsertTimeEnd: str - BusinessUnitID: str - - -class CTORATstpOrderFundDetailField(): - - - InvestorID: str - InstrumentID: str - ExchangeID: str - TradingDay: str - OrderSysID: str - BusinessUnitID: str - AccountID: str - TotalFrozen: float - TotalFee: float - StampTaxFee: float - HandlingFee: float - TransferFee: float - RegulateFee: float - BrokerageFee: float - SettlementFee: float - TotalFeeFrozen: float - OrderAmount: float - - -class CTORATstpQryFundTransferDetailField(): - - - AccountID: str - CurrencyID: str - TransferDirection: str - DepartmentID: str - - -class CTORATstpFundTransferDetailField(): - - - FundSerial: str - ApplySerial: str - FrontID: int - SessionID: int - AccountID: str - CurrencyID: str - TransferDirection: str - Amount: float - TransferStatus: str - OperateSource: str - OperatorID: str - OperateDate: str - OperateTime: str - StatusMsg: str - DepartmentID: str - BankID: str - BankAccountID: str - - -class CTORATstpQryPositionTransferDetailField(): - - - ShareholderID: str - SecurityID: str - TransferDirection: str - - -class CTORATstpPositionTransferDetailField(): - - - PositionSerial: str - ApplySerial: str - FrontID: int - SessionID: int - InvestorID: str - ExchangeID: str - ShareholderID: str - MarketID: str - SecurityID: str - TradingDay: str - TransferDirection: str - TransferPositionType: str - TransferStatus: str - HistoryVolume: int - TodayBSVolume: int - TodayPRVolume: int - OperatorID: str - OperateDate: str - OperateTime: str - BusinessUnitID: str - StatusMsg: str - - -class CTORATstpQryPledgePositionField(): - - - InvestorID: str - SecurityID: str - ExchangeID: str - MarketID: str - ShareholderID: str - BusinessUnitID: str - - -class CTORATstpPledgePositionField(): - - - SecurityID: str - InvestorID: str - BusinessUnitID: str - ExchangeID: str - MarketID: str - ShareholderID: str - TradingDay: str - HisPledgePos: int - HisPledgePosFrozen: int - TodayPledgePos: int - TodayPledgePosFrozen: int - PreTotalPledgePos: int - preAvailablePledgePos: int - - -class CTORATstpQryPledgeInfoField(): - - - ExchangeID: str - SecurityID: str - - -class CTORATstpPledgeInfoField(): - - - ExchangeID: str - MarketID: str - SecurityID: str - PledgeOrderID: str - StandardBondID: str - AllowPledgeIn: int - AllowPledgeOut: int - ConversionRate: float - PledgeInTradingUnit: int - PledgeOutTradingUnit: int - PledgeInVolMax: int - PledgeInVolMin: int - PledgeOutVolMax: int - PledgeOutVolMin: int - IsTodayToPlegeOut: int - IsCancelOrder: int - - -class CTORATstpQryConversionBondInfoField(): - - - ExchangeID: str - SecurityID: str - - -class CTORATstpConversionBondInfoField(): - - - ExchangeID: str - MarketID: str - SecurityID: str - ConvertOrderID: str - ConvertPrice: float - ConvertVolUnit: int - ConvertVolMax: int - ConvertVolMin: int - BeginDate: str - EndDate: str - IsSupportCancel: int - - -class CTORATstpQryBondPutbackInfoField(): - - - ExchangeID: str - SecurityID: str - - -class CTORATstpBondPutbackInfoField(): - - - ExchangeID: str - MarketID: str - SecurityID: str - PutbackOrderID: str - PutbackPrice: float - PutbackVolUnit: int - PutbackVolMax: int - PutbackVolMin: int - BeginDate: str - EndDate: str - IsSupportCancel: int - - -class CTORATstpQryStandardBondPositionField(): - - - InvestorID: str - SecurityID: str - ExchangeID: str - MarketID: str - ShareholderID: str - BusinessUnitID: str - - -class CTORATstpStandardBondPositionField(): - - - SecurityID: str - InvestorID: str - BusinessUnitID: str - ExchangeID: str - MarketID: str - ShareholderID: str - TradingDay: str - AvailablePosition: float - AvailablePosFrozen: float - TotalPosition: float - - -class CTORATstpQryDesignationRegistrationField(): - - - InvestorID: str - ShareholderID: str - OrderSysID: str - InsertTimeStart: str - InsertTimeEnd: str - BusinessUnitID: str - - -class CTORATstpDesignationRegistrationField(): - - - InvestorID: str - UserID: str - DesignationType: str - OrderLocalID: str - ShareholderID: str - PbuID: str - OrderSubmitStatus: str - TradingDay: str - OrderSysID: str - OrderStatus: str - InsertDate: str - InsertTime: str - StatusMsg: str - BusinessUnitID: str - AccountID: str - CurrencyID: str - DepartmentID: str - - -class CTORATstpQryCustodyTransferField(): - - - InvestorID: str - ShareholderID: str - OrderSysID: str - InsertTimeStart: str - InsertTimeEnd: str - BusinessUnitID: str - SecurityID: str - - -class CTORATstpCustodyTransferField(): - - - InvestorID: str - UserID: str - CustodyTransferType: str - OrderLocalID: str - ShareholderID: str - PbuID: str - OrderSubmitStatus: str - TradingDay: str - OrderSysID: str - OrderStatus: str - InsertDate: str - InsertTime: str - StatusMsg: str - BusinessUnitID: str - AccountID: str - CurrencyID: str - DepartmentID: str - TransfereePbuID: str - SecurityID: str - OrignalOrderLocalID: str - VolumeTotalOriginal: int - CancelTime: str - ActiveTraderID: str - ActiveUserID: str - - -class CTORATstpQrySpecialMarketDataField(): - - - SecurityID: str - ExchangeID: str - - -class CTORATstpSpecialMarketDataField(): - - - TradingDay: str - ExchangeID: str - SecurityID: str - SecurityName: str - MovingAvgPrice: float - MovingAvgPriceSamplingNum: int - UpdateTime: str - UpdateMillisec: int - - -class CTORATstpQryPrematurityRepoOrderField(): - - - InvestorID: str - SecurityID: str - ExchangeID: str - MarketID: str - ShareholderID: str - BusinessUnitID: str - OrderLocalID: str - ProductID: str - SecurityType: str - Direction: str - TradeID: str - - -class CTORATstpPrematurityRepoOrderField(): - - - ExchangeID: str - MarketID: str - InvestorID: str - ShareholderID: str - BusinessUnitID: str - TradeDay: str - ExpireDay: str - OrderLocalID: str - SecurityID: str - SecurityName: str - ProductID: str - SecurityType: str - Direction: str - VolumeTraded: int - Price: float - Turnover: float - TradeID: str - RepoTotalMoney: float - InterestAmount: float - - -class CTORATstpQryShareholderParamField(): - - - MarketID: str - ShareholderID: str - TradingCodeClass: str - ProductID: str - SecurityType: str - SecurityID: str - ParamType: str - ExchangeID: str - - -class CTORATstpShareholderParamField(): - - - ExchangeID: str - MarketID: str - ShareholderID: str - TradingCodeClass: str - ProductID: str - SecurityType: str - SecurityID: str - ParamType: str - ParamValue: str - - -class CTORATstpQryPeripheryPositionTransferDetailField(): - - - InvestorID: str - ShareholderID: str - SecurityID: str - TransferDirection: str - BusinessUnitID: str - - -class CTORATstpQryInvestorCondOrderLimitParamField(): - - - InvestorID: str - - -class CTORATstpInvestorCondOrderLimitParamField(): - - - InvestorID: str - MaxCondOrderLimitCnt: int - CurrCondOrderCnt: int - - -class CTORATstpQryCondOrderField(): - - - InvestorID: str - SecurityID: str - ExchangeID: str - ShareholderID: str - CondOrderID: int - InsertTimeStart: str - InsertTimeEnd: str - BusinessUnitID: str - BInfo: str - SInfo: str - IInfo: int - - -class CTORATstpCondOrderField(): - - - ExchangeID: str - InvestorID: str - BusinessUnitID: str - ShareholderID: str - SecurityID: str - Direction: str - OrderPriceType: str - OrderVolumeType: str - TimeCondition: str - VolumeCondition: str - LimitPrice: float - VolumeTotalOriginal: int - CombOffsetFlag: str - CombHedgeFlag: str - CondOrderRef: str - AccountID: str - UserID: str - RequestID: int - IPAddress: str - MacAddress: str - CondOrderID: int - TerminalInfo: str - BInfo: str - SInfo: str - IInfo: int - Operway: str - CondCheck: str - ContingentCondition: str - ConditionPrice: float - PriceTicks: int - VolumeMultiple: int - RelativeFrontID: int - RelativeSessionID: int - RelativeParam: str - AppendContingentCondition: str - AppendConditionPrice: float - AppendRelativeFrontID: int - AppendRelativeSessionID: int - AppendRelativeParam: str - TradingDay: str - CondOrderStatus: str - InsertDate: str - InsertTime: str - CancelTime: str - CancelUser: str - FrontID: int - SessionID: int - UserProductInfo: str - StatusMsg: str - DepartmentID: str - ProperCtrlBusinessType: str - ProperCtrlPassFlag: str - ActiveDate: str - ActiveTime: str - - -class CTORATstpQryCondOrderActionField(): - - - InvestorID: str - ExchangeID: str - ShareholderID: str - BInfo: str - SInfo: str - IInfo: int - - -class CTORATstpCondOrderActionField(): - - - ExchangeID: str - RequestID: int - CondOrderActionRef: str - CondOrderRef: str - FrontID: int - SessionID: int - CondOrderID: int - ActionFlag: str - InvestorID: str - SecurityID: str - UserID: str - CancelCondOrderID: int - IPAddress: str - MacAddress: str - TerminalInfo: str - BInfo: str - SInfo: str - IInfo: int - Operway: str - BusinessUnitID: str - ShareholderID: str - ActionDate: str - ActionTime: str - - -class CTORATstpQryBrokerUserRoleField(): - - - RoleID: int - - -class CTORATstpBrokerUserRoleField(): - - - RoleID: int - RoleDescription: str - Functions: str - - -class CTORATstpQryBrokerUserRoleAssignmentField(): - - - UserID: str - - -class CTORATstpBrokerUserRoleAssignmentField(): - - - UserID: str - RoleID: int - RoleDescription: str - - -class CTORATstpQryTradingNoticeField(): - - - InvestorID: str - InsertDateStart: str - InsertDateEnd: str - InsertTimeStart: str - InsertTimeEnd: str - - -class CTORATstpQryIPONumberResultField(): - - - SecurityID: str - ExchangeID: str - ShareholderID: str - - -class CTORATstpIPONumberResultField(): - - - ExchangeID: str - SecurityID: str - Day: str - SecurityName: str - ShareholderID: str - SecurityType: str - BeginNumberID: str - Volume: int - - -class CTORATstpQryIPOMatchNumberResultField(): - - - SecurityID: str - ExchangeID: str - ShareholderID: str - MatchNumberID: str - - -class CTORATstpIPOMatchNumberResultField(): - - - ExchangeID: str - SecurityID: str - Day: str - SecurityName: str - ShareholderID: str - SecurityType: str - MatchNumberID: str - Volume: int - Price: float - Amout: float - - -class CTORATstpMdSpi(): - - - - - def OnFrontConnected(self, )->None: - ... - def OnFrontDisconnected(self, nReason: int)->None: - ... - def OnRspError(self, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspUserLogin(self, pRspUserLogin: CTORATstpRspUserLoginField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspUserLogout(self, pUserLogout: CTORATstpUserLogoutField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspSubMarketData(self, pSpecificSecurity: CTORATstpSpecificSecurityField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspUnSubMarketData(self, pSpecificSecurity: CTORATstpSpecificSecurityField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspSubSpecialMarketData(self, pSpecificSecurity: CTORATstpSpecificSecurityField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspUnSubSpecialMarketData(self, pSpecificSecurity: CTORATstpSpecificSecurityField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspSubFundsFlowMarketData(self, pSpecificSecurity: CTORATstpSpecificSecurityField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspUnSubFundsFlowMarketData(self, pSpecificSecurity: CTORATstpSpecificSecurityField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRtnDepthMarketData(self, pDepthMarketData: CTORATstpMarketDataField)->None: - ... - def OnRtnSpecialMarketData(self, pSpecialMarketData: CTORATstpSpecialMarketDataField)->None: - ... - def OnRtnEffectPriceMarketData(self, pEffectPriceMarketData: CTORATstpEffectPriceMarketDataField)->None: - ... - def OnRtnEffectVolumeMarketData(self, pEffectVolumeMarketData: CTORATstpEffectVolumeMarketDataField)->None: - ... - def OnRtnFundsFlowMarketData(self, pFundsFlowMarketData: CTORATstpFundsFlowMarketDataField)->None: - ... -class CTORATstpMdApi(): - - - - - @staticmethod - def CreateTstpMdApi()->CTORATstpMdApi: - ... - @staticmethod - def GetApiVersion()->str: - ... - def Release(self, )->None: - ... - def Init(self, )->None: - ... - def Join(self, )->int: - ... - def RegisterFront(self, pszFrontAddress: str)->None: - ... - def RegisterNameServer(self, pszNsAddress: str)->None: - ... - def RegisterDeriveServer(self, pszDeriveAddress: str)->None: - ... - def RegisterSpi(self, pSpi: CTORATstpMdSpi)->None: - ... - def SubscribeMarketData(self, ppSecurityID: List[str], ExchageID: str)->int: - ... - def UnSubscribeMarketData(self, ppSecurityID: List[str], ExchageID: str)->int: - ... - def SubscribeSpecialMarketData(self, ppSecurityID: List[str], ExchageID: str)->int: - ... - def UnSubscribeSpecialMarketData(self, ppSecurityID: List[str], ExchageID: str)->int: - ... - def SubscribeFundsFlowMarketData(self, ppInstrumentID: List[str], ExchageID: str)->int: - ... - def UnSubscribeFundsFlowMarketData(self, ppInstrumentID: List[str], ExchageID: str)->int: - ... - def ReqUserLogin(self, pReqUserLoginField: CTORATstpReqUserLoginField, nRequestID: int)->int: - ... - def ReqUserLogout(self, pUserLogout: CTORATstpUserLogoutField, nRequestID: int)->int: - ... -class CTORATstpTraderSpi(): - - - - - def OnFrontConnected(self, )->None: - ... - def OnFrontDisconnected(self, nReason: int)->None: - ... - def OnRspError(self, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspUserLogin(self, pRspUserLoginField: CTORATstpRspUserLoginField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspUserLogout(self, pUserLogoutField: CTORATstpUserLogoutField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspUserPasswordUpdate(self, pUserPasswordUpdateField: CTORATstpUserPasswordUpdateField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspInputDeviceSerial(self, pRspInputDeviceSerialField: CTORATstpRspInputDeviceSerialField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspOrderInsert(self, pInputOrderField: CTORATstpInputOrderField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRtnOrder(self, pOrder: CTORATstpOrderField)->None: - ... - def OnErrRtnOrderInsert(self, pInputOrder: CTORATstpInputOrderField, pRspInfo: CTORATstpRspInfoField)->None: - ... - def OnRspOrderAction(self, pInputOrderActionField: CTORATstpInputOrderActionField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnErrRtnOrderAction(self, pOrderAction: CTORATstpOrderActionField, pRspInfo: CTORATstpRspInfoField)->None: - ... - def OnRtnTrade(self, pTrade: CTORATstpTradeField)->None: - ... - def OnRtnMarketStatus(self, pMarketStatus: CTORATstpMarketStatusField)->None: - ... - def OnRspCondOrderInsert(self, pInputCondOrderField: CTORATstpInputCondOrderField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRtnCondOrder(self, pConditionOrder: CTORATstpConditionOrderField)->None: - ... - def OnErrRtnCondOrderInsert(self, pInputCondOrder: CTORATstpInputCondOrderField, pRspInfo: CTORATstpRspInfoField)->None: - ... - def OnRspCondOrderAction(self, pInputCondOrderActionField: CTORATstpInputCondOrderActionField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnErrRtnCondOrderAction(self, pInputCondOrderAction: CTORATstpInputCondOrderActionField, pRspInfo: CTORATstpRspInfoField)->None: - ... - def OnRspInquiryJZFund(self, pRspInquiryJZFundField: CTORATstpRspInquiryJZFundField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspTransferFund(self, pInputTransferFundField: CTORATstpInputTransferFundField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRtnTransferFund(self, pTransferFund: CTORATstpTransferFundField)->None: - ... - def OnErrRtnTransferFund(self, pInputTransferFund: CTORATstpInputTransferFundField, pRspInfo: CTORATstpRspInfoField)->None: - ... - def OnRtnTransferPosition(self, pTransferPosition: CTORATstpTransferPositionField)->None: - ... - def OnErrRtnTransferPosition(self, pInputTransferPosition: CTORATstpInputTransferPositionField, pRspInfo: CTORATstpRspInfoField)->None: - ... - def OnRspTransferCollateral(self, pInputTransferCollateralField: CTORATstpInputTransferCollateralField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspInquiryBankAccountFund(self, pRspInquiryBankAccountFundField: CTORATstpRspInquiryBankAccountFundField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspInquiryTradeConcentration(self, pInquiryTradeConcentrationField: CTORATstpInquiryTradeConcentrationField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRtnTradingNotice(self, pTradingNotice: CTORATstpTradingNoticeField)->None: - ... - def OnRspInquiryMaxOrderVolume(self, pRspInquiryMaxOrderVolumeField: CTORATstpRspInquiryMaxOrderVolumeField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRtnPeripheryTransferPosition(self, pPeripheryPositionTransferDetail: CTORATstpPeripheryPositionTransferDetailField)->None: - ... - def OnRspInquiryHistoryOrder(self, pHistoryOrderField: CTORATstpHistoryOrderField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspInquiryHistoryTrade(self, pHistoryTradeField: CTORATstpHistoryTradeField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryExchange(self, pExchange: CTORATstpExchangeField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryMarketData(self, pMarketData: CTORATstpMarketDataField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQrySecurity(self, pSecurity: CTORATstpSecurityField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryETFFile(self, pETFFile: CTORATstpETFFileField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryETFBasket(self, pETFBasket: CTORATstpETFBasketField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryIPOInfo(self, pIPOInfo: CTORATstpIPOInfoField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryBUProxy(self, pBUProxy: CTORATstpBUProxyField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryUser(self, pUser: CTORATstpUserField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryInvestor(self, pInvestor: CTORATstpInvestorField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryShareholderAccount(self, pShareholderAccount: CTORATstpShareholderAccountField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryOrder(self, pOrder: CTORATstpOrderField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryOrderAction(self, pOrderAction: CTORATstpOrderActionField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryTrade(self, pTrade: CTORATstpTradeField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryTradingAccount(self, pTradingAccount: CTORATstpTradingAccountField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryPosition(self, pPosition: CTORATstpPositionField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryTradingFee(self, pTradingFee: CTORATstpTradingFeeField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryInvestorTradingFee(self, pInvestorTradingFee: CTORATstpInvestorTradingFeeField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryIPOQuota(self, pIPOQuota: CTORATstpIPOQuotaField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryMarket(self, pMarket: CTORATstpMarketField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryOrderFundDetail(self, pOrderFundDetail: CTORATstpOrderFundDetailField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryFundTransferDetail(self, pFundTransferDetail: CTORATstpFundTransferDetailField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryPositionTransferDetail(self, pPositionTransferDetail: CTORATstpPositionTransferDetailField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryPledgePosition(self, pPledgePosition: CTORATstpPledgePositionField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryPledgeInfo(self, pPledgeInfo: CTORATstpPledgeInfoField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryConversionBondInfo(self, pConversionBondInfo: CTORATstpConversionBondInfoField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryBondPutbackInfo(self, pBondPutbackInfo: CTORATstpBondPutbackInfoField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryStandardBondPosition(self, pStandardBondPosition: CTORATstpStandardBondPositionField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQrySpecialMarketData(self, pSpecialMarketData: CTORATstpSpecialMarketDataField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryPrematurityRepoOrder(self, pPrematurityRepoOrder: CTORATstpPrematurityRepoOrderField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryShareholderParam(self, pShareholderParam: CTORATstpShareholderParamField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryPeripheryPositionTransferDetail(self, pPeripheryPositionTransferDetail: CTORATstpPeripheryPositionTransferDetailField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryInvestorCondOrderLimitParam(self, pInvestorCondOrderLimitParam: CTORATstpInvestorCondOrderLimitParamField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryCondOrder(self, pCondOrder: CTORATstpCondOrderField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryCondOrderAction(self, pCondOrderAction: CTORATstpCondOrderActionField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryTradingNotice(self, pTradingNotice: CTORATstpTradingNoticeField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryIPONumberResult(self, pIPONumberResult: CTORATstpIPONumberResultField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... - def OnRspQryIPOMatchNumberResult(self, pIPOMatchNumberResult: CTORATstpIPOMatchNumberResultField, pRspInfo: CTORATstpRspInfoField, nRequestID: int, bIsLast: bool)->None: - ... -class CTORATstpTraderApi(): - - - - - @staticmethod - def CreateTstpTraderApi(pszFlowPath: str, bEncrypt: bool)->CTORATstpTraderApi: - ... - @staticmethod - def GetApiVersion()->str: - ... - def Release(self, )->None: - ... - def Init(self, )->None: - ... - def Join(self, )->int: - ... - def RegisterFront(self, pszFrontAddress: str)->None: - ... - def RegisterNameServer(self, pszNsAddress: str)->None: - ... - def RegisterDeriveServer(self, pszDeriveAddress: str)->None: - ... - def RegisterSpi(self, pSpi: CTORATstpTraderSpi)->None: - ... - def SubscribePrivateTopic(self, nResumeType: TORA_TE_RESUME_TYPE)->None: - ... - def SubscribePublicTopic(self, nResumeType: TORA_TE_RESUME_TYPE)->None: - ... - def ReqUserLogin(self, pReqUserLoginField: CTORATstpReqUserLoginField, nRequestID: int)->int: - ... - def ReqUserLogout(self, pUserLogoutField: CTORATstpUserLogoutField, nRequestID: int)->int: - ... - def ReqUserPasswordUpdate(self, pUserPasswordUpdateField: CTORATstpUserPasswordUpdateField, nRequestID: int)->int: - ... - def ReqInputDeviceSerial(self, pReqInputDeviceSerialField: CTORATstpReqInputDeviceSerialField, nRequestID: int)->int: - ... - def ReqOrderInsert(self, pInputOrderField: CTORATstpInputOrderField, nRequestID: int)->int: - ... - def ReqOrderAction(self, pInputOrderActionField: CTORATstpInputOrderActionField, nRequestID: int)->int: - ... - def ReqCondOrderInsert(self, pInputCondOrderField: CTORATstpInputCondOrderField, nRequestID: int)->int: - ... - def ReqCondOrderAction(self, pInputCondOrderActionField: CTORATstpInputCondOrderActionField, nRequestID: int)->int: - ... - def ReqInquiryJZFund(self, pReqInquiryJZFundField: CTORATstpReqInquiryJZFundField, nRequestID: int)->int: - ... - def ReqTransferFund(self, pInputTransferFundField: CTORATstpInputTransferFundField, nRequestID: int)->int: - ... - def ReqTransferCollateral(self, pInputTransferCollateralField: CTORATstpInputTransferCollateralField, nRequestID: int)->int: - ... - def ReqInquiryBankAccountFund(self, pReqInquiryBankAccountFundField: CTORATstpReqInquiryBankAccountFundField, nRequestID: int)->int: - ... - def ReqInquiryTradeConcentration(self, pInquiryTradeConcentrationField: CTORATstpInquiryTradeConcentrationField, nRequestID: int)->int: - ... - def ReqInquiryMaxOrderVolume(self, pReqInquiryMaxOrderVolumeField: CTORATstpReqInquiryMaxOrderVolumeField, nRequestID: int)->int: - ... - def ReqInquiryHistoryOrder(self, pQryHistoryOrderField: CTORATstpQryHistoryOrderField, nRequestID: int)->int: - ... - def ReqInquiryHistoryTrade(self, pQryHistoryTradeField: CTORATstpQryHistoryTradeField, nRequestID: int)->int: - ... - def ReqQryExchange(self, pQryExchangeField: CTORATstpQryExchangeField, nRequestID: int)->int: - ... - def ReqQryMarketData(self, pQryMarketDataField: CTORATstpQryMarketDataField, nRequestID: int)->int: - ... - def ReqQrySecurity(self, pQrySecurityField: CTORATstpQrySecurityField, nRequestID: int)->int: - ... - def ReqQryETFFile(self, pQryETFFileField: CTORATstpQryETFFileField, nRequestID: int)->int: - ... - def ReqQryETFBasket(self, pQryETFBasketField: CTORATstpQryETFBasketField, nRequestID: int)->int: - ... - def ReqQryIPOInfo(self, pQryIPOInfoField: CTORATstpQryIPOInfoField, nRequestID: int)->int: - ... - def ReqQryBUProxy(self, pQryBUProxyField: CTORATstpQryBUProxyField, nRequestID: int)->int: - ... - def ReqQryUser(self, pQryUserField: CTORATstpQryUserField, nRequestID: int)->int: - ... - def ReqQryInvestor(self, pQryInvestorField: CTORATstpQryInvestorField, nRequestID: int)->int: - ... - def ReqQryShareholderAccount(self, pQryShareholderAccountField: CTORATstpQryShareholderAccountField, nRequestID: int)->int: - ... - def ReqQryOrder(self, pQryOrderField: CTORATstpQryOrderField, nRequestID: int)->int: - ... - def ReqQryOrderAction(self, pQryOrderActionField: CTORATstpQryOrderActionField, nRequestID: int)->int: - ... - def ReqQryTrade(self, pQryTradeField: CTORATstpQryTradeField, nRequestID: int)->int: - ... - def ReqQryTradingAccount(self, pQryTradingAccountField: CTORATstpQryTradingAccountField, nRequestID: int)->int: - ... - def ReqQryPosition(self, pQryPositionField: CTORATstpQryPositionField, nRequestID: int)->int: - ... - def ReqQryTradingFee(self, pQryTradingFeeField: CTORATstpQryTradingFeeField, nRequestID: int)->int: - ... - def ReqQryInvestorTradingFee(self, pQryInvestorTradingFeeField: CTORATstpQryInvestorTradingFeeField, nRequestID: int)->int: - ... - def ReqQryIPOQuota(self, pQryIPOQuotaField: CTORATstpQryIPOQuotaField, nRequestID: int)->int: - ... - def ReqQryMarket(self, pQryMarketField: CTORATstpQryMarketField, nRequestID: int)->int: - ... - def ReqQryOrderFundDetail(self, pQryOrderFundDetailField: CTORATstpQryOrderFundDetailField, nRequestID: int)->int: - ... - def ReqQryFundTransferDetail(self, pQryFundTransferDetailField: CTORATstpQryFundTransferDetailField, nRequestID: int)->int: - ... - def ReqQryPositionTransferDetail(self, pQryPositionTransferDetailField: CTORATstpQryPositionTransferDetailField, nRequestID: int)->int: - ... - def ReqQryPledgePosition(self, pQryPledgePositionField: CTORATstpQryPledgePositionField, nRequestID: int)->int: - ... - def ReqQryPledgeInfo(self, pQryPledgeInfoField: CTORATstpQryPledgeInfoField, nRequestID: int)->int: - ... - def ReqQryConversionBondInfo(self, pQryConversionBondInfoField: CTORATstpQryConversionBondInfoField, nRequestID: int)->int: - ... - def ReqQryBondPutbackInfo(self, pQryBondPutbackInfoField: CTORATstpQryBondPutbackInfoField, nRequestID: int)->int: - ... - def ReqQryStandardBondPosition(self, pQryStandardBondPositionField: CTORATstpQryStandardBondPositionField, nRequestID: int)->int: - ... - def ReqQrySpecialMarketData(self, pQrySpecialMarketDataField: CTORATstpQrySpecialMarketDataField, nRequestID: int)->int: - ... - def ReqQryPrematurityRepoOrder(self, pQryPrematurityRepoOrderField: CTORATstpQryPrematurityRepoOrderField, nRequestID: int)->int: - ... - def ReqQryShareholderParam(self, pQryShareholderParamField: CTORATstpQryShareholderParamField, nRequestID: int)->int: - ... - def ReqQryPeripheryPositionTransferDetail(self, pQryPeripheryPositionTransferDetailField: CTORATstpQryPeripheryPositionTransferDetailField, nRequestID: int)->int: - ... - def ReqQryInvestorCondOrderLimitParam(self, pQryInvestorCondOrderLimitParamField: CTORATstpQryInvestorCondOrderLimitParamField, nRequestID: int)->int: - ... - def ReqQryCondOrder(self, pQryCondOrderField: CTORATstpQryCondOrderField, nRequestID: int)->int: - ... - def ReqQryCondOrderAction(self, pQryCondOrderActionField: CTORATstpQryCondOrderActionField, nRequestID: int)->int: - ... - def ReqQryTradingNotice(self, pQryTradingNoticeField: CTORATstpQryTradingNoticeField, nRequestID: int)->int: - ... - def ReqQryIPONumberResult(self, pQryIPONumberResultField: CTORATstpQryIPONumberResultField, nRequestID: int)->int: - ... - def ReqQryIPOMatchNumberResult(self, pQryIPOMatchNumberResultField: CTORATstpQryIPOMatchNumberResultField, nRequestID: int)->int: - ... -class TORA_TE_RESUME_TYPE(Enum): - TORA_TERT_RESTART: TORA_TE_RESUME_TYPE - TORA_TERT_RESUME: TORA_TE_RESUME_TYPE - TORA_TERT_QUICK: TORA_TE_RESUME_TYPE -TTORATstpDateType = str -TTORATstpTimeType = str -TTORATstpMillisecType = int -TTORATstpPriceType = float -TTORATstpRatioType = float -TTORATstpMoneyType = float -TTORATstpVolumeType = int -TTORATstpLargeVolumeType = float -TTORATstpBoolType = int -TTORATstpSequenceNoType = int -TTORATstpSerialType = str -TTORATstpCommFluxType = int -TTORATstpRoleIDType = int -TTORATstpRoleDescriptionType = str -TTORATstpFunctionsType = str -TTORATstpDeviceIDType = str -TTORATstpDeviceSerialType = str -TTORATstpExchangeIDType = str -TTORATstpAuthModeType = str -TTORATstpVolumeMultipleType = int -TTORATstpIdCardNoType = str -TTORATstpUserIDType = str -TTORATstpTradeIDType = str -TTORATstpOrderSysIDType = str -TTORATstpCondOrderIDType = int -TTORATstpPasswordType = str -TTORATstpFrontIDType = int -TTORATstpSessionIDType = int -TTORATstpProductInfoType = str -TTORATstpProtocolInfoType = str -TTORATstpErrorIDType = int -TTORATstpErrorMsgType = str -TTORATstpPositionTypeType = str -TTORATstpParameterCharValType = str -TTORATstpNameType = str -TTORATstpListingMarketType = str -TTORATstpProductIDType = str -TTORATstpSecurityIDType = str -TTORATstpParValueType = float -TTORATstpPriceTickType = float -TTORATstpTradingUnitType = int -TTORATstpSecurityStatusType = int -TTORATstpAccountIDType = str -TTORATstpInvestorIDType = str -TTORATstpAddressType = str -TTORATstpDepartmentIDType = str -TTORATstpTerminalInfoType = str -TTORATstpShareholderIDType = str -TTORATstpPbuIDType = str -TTORATstpIPAddressType = str -TTORATstpMacAddressType = str -TTORATstpLangType = str -TTORATstpInterestType = float -TTORATstpOrderLocalIDType = str -TTORATstpPositionVolumeType = float -TTORATstpBusinessUnitIDType = str -TTORATstpBusinessUnitNameType = str -TTORATstpTimeStampType = int -TTORATstpBigTimeStampType = int -TTORATstpSecurityNameType = str -TTORATstpExternalSerialType = str -TTORATstpOrderRefType = str -TTORATstpRequestIDType = int -TTORATstpIntSerialType = int -TTORATstpInvestorNameType = str -TTORATstpUserNameType = str -TTORATstpLoginLimitType = int -TTORATstpCurrencyIDType = str -TTORATstpBankIDType = str -TTORATstpBankAccountIDType = str -TTORATstpTransferReasonType = str -TTORATstpCombOffsetFlagType = str -TTORATstpCombHedgeFlagType = str -TTORATstpExchangeInstIDType = str -TTORATstpTelephoneType = str -TTORATstpMobileType = str -TTORATstpTraderIDType = str -TTORATstpLongVolumeType = int -TTORATstpLongSequenceType = int -TTORATstpOrderUnitType = str -TTORATstpIdCardTypeType = str -TTORATstpAccountTypeType = str -TTORATstpDirectionType = str -TTORATstpBrokerageTypeType = str -TTORATstpUserTypeType = str -TTORATstpContingentConditionType = str -TTORATstpETFCurrenceReplaceStatusType = str -TTORATstpOperateSourceType = str -TTORATstpOperwayType = str -TTORATstpOperwaysType = str -TTORATstpOrderPriceTypeType = str -TTORATstpOrderVolumeTypeType = str -TTORATstpTimeConditionType = str -TTORATstpVolumeConditionType = str -TTORATstpForceCloseReasonType = str -TTORATstpFileOrderTypeType = str -TTORATstpTransferDirectionType = str -TTORATstpCollateralDirectionType = str -TTORATstpTransferStatusType = str -TTORATstpTransferPositionTypeType = str -TTORATstpSystemNameType = str -TTORATstpRelativeCondParamType = str -TTORATstpOrderStatusType = str -TTORATstpCondOrderStatusType = str -TTORATstpOrderSubmitStatusType = str -TTORATstpOrderTypeType = str -TTORATstpOffsetFlagType = str -TTORATstpHedgeFlagType = str -TTORATstpActionFlagType = str -TTORATstpOrderActionStatusType = str -TTORATstpClientIDTypeType = str -TTORATstpBizClassType = str -TTORATstpCreditPositionTypeType = str -TTORATstpFunctionIDType = str -TTORATstpSecurityTypeType = str -TTORATstpEndFlagType = str -TTORATstpMarketIDType = str -TTORATstpLogInAccountType = str -TTORATstpLogInAccountTypeType = str -TTORATstpMarketStatusType = str -TTORATstpBigsInfoType = str -TTORATstpShortsInfoType = str -TTORATstpIntInfoType = int -TTORATstpFloatInfoType = float -TTORATstpApiGroupIDType = int -TTORATstpApiRunModeType = str -TTORATstpDesignationTypeType = str -TTORATstpCustodyTransferTypeType = str -TTORATstpProperCtrlBusinessTypeType = str -TTORATstpProperCtrlPassFlagType = str -TTORATstpCRiskLevelType = str -TTORATstpProfInvestorTypeType = str -TTORATstpLOrderTypeType = str -TTORATstpLSideType = str -TTORATstpExecTypeType = str -TTORATstpCondCheckType = str -TTORATstpHDSerialType = str -TTORATstpMDSubModeType = str -TTORATstpMDSecurityStatType = str -TTORATstpCommitStatusType = str -TTORATstpParamTypeType = str -TTORATstpContentType = str -TTORATstpStatusMsgType = str -TTORATstpIPONumberIDType = str -TTORATstpPageLocateType = int -CHAR_NULL_VAL: int -TORA_TSTP_EXD_SSE_FO: str -TORA_TSTP_EXD_SZSE_FO: str -TORA_TSTP_EXD_COMM: str -TORA_TSTP_EXD_SSE: str -TORA_TSTP_EXD_SZSE: str -TORA_TSTP_EXD_HK: str -TORA_TSTP_AM_Password: str -TORA_TSTP_AM_FingerPrint: str -TORA_TSTP_PT_Net: str -TORA_TSTP_PT_Gross: str -TORA_TSTP_PID_COMMON: str -TORA_TSTP_PID_SHStock: str -TORA_TSTP_PID_SHWarrant: str -TORA_TSTP_PID_SHFund: str -TORA_TSTP_PID_SHBond: str -TORA_TSTP_PID_SHStandard: str -TORA_TSTP_PID_SHRepurchase: str -TORA_TSTP_PID_SZStock: str -TORA_TSTP_PID_SZWarrant: str -TORA_TSTP_PID_SZFund: str -TORA_TSTP_PID_SZBond: str -TORA_TSTP_PID_SZStandard: str -TORA_TSTP_PID_SZRepurchase: str -TORA_TSTP_BKID_CCB: str -TORA_TSTP_BKID_ABC: str -TORA_TSTP_BKID_ICBC: str -TORA_TSTP_BKID_BOC: str -TORA_TSTP_BKID_CMB: str -TORA_TSTP_BKID_BC: str -TORA_TSTP_BKID_SPDB: str -TORA_TSTP_BKID_CIB: str -TORA_TSTP_BKID_CEB: str -TORA_TSTP_BKID_GDB: str -TORA_TSTP_BKID_NJCB: str -TORA_TSTP_BKID_SHCB: str -TORA_TSTP_BKID_CITICB: str -TORA_TSTP_BKID_HXB: str -TORA_TSTP_BKID_CMBC: str -TORA_TSTP_BKID_PACB: str -TORA_TSTP_BKID_NBCB: str -TORA_TSTP_OUT_Shou: str -TORA_TSTP_OUT_Gu: str -TORA_TSTP_OUT_Fen: str -TORA_TSTP_OUT_Zhang: str -TORA_TSTP_ICT_EID: str -TORA_TSTP_ICT_IDCard: str -TORA_TSTP_ICT_OfficerIDCard: str -TORA_TSTP_ICT_PoliceIDCard: str -TORA_TSTP_ICT_SoldierIDCard: str -TORA_TSTP_ICT_HouseholdRegister: str -TORA_TSTP_ICT_Passport: str -TORA_TSTP_ICT_TaiwanCompatriotIDCard: str -TORA_TSTP_ICT_HomeComingCard: str -TORA_TSTP_ICT_LicenseNo: str -TORA_TSTP_ICT_TaxNo: str -TORA_TSTP_ICT_HMMainlandTravelPermit: str -TORA_TSTP_ICT_TwMainlandTravelPermit: str -TORA_TSTP_ICT_DrivingLicense: str -TORA_TSTP_ICT_SocialID: str -TORA_TSTP_ICT_LocalID: str -TORA_TSTP_ICT_BusinessRegistration: str -TORA_TSTP_ICT_HKMCIDCard: str -TORA_TSTP_ICT_AccountsPermits: str -TORA_TSTP_ICT_OtherCard: str -TORA_TSTP_FAT_Normal: str -TORA_TSTP_FAT_Credit: str -TORA_TSTP_FAT_Derivatives: str -TORA_TSTP_D_Buy: str -TORA_TSTP_D_Sell: str -TORA_TSTP_D_ETFPur: str -TORA_TSTP_D_ETFRed: str -TORA_TSTP_D_IPO: str -TORA_TSTP_D_Repurchase: str -TORA_TSTP_D_ReverseRepur: str -TORA_TSTP_D_OeFundPur: str -TORA_TSTP_D_OeFundRed: str -TORA_TSTP_D_CollateralIn: str -TORA_TSTP_D_CollateralOut: str -TORA_TSTP_D_PledgeIn: str -TORA_TSTP_D_PledgeOut: str -TORA_TSTP_D_Rationed: str -TORA_TSTP_D_Split: str -TORA_TSTP_D_Merge: str -TORA_TSTP_D_MarginBuy: str -TORA_TSTP_D_ShortSell: str -TORA_TSTP_D_SellRepayment: str -TORA_TSTP_D_BuyRepayment: str -TORA_TSTP_D_SecurityRepay: str -TORA_TSTP_D_RemainTransfer: str -TORA_TSTP_D_BondConvertStock: str -TORA_TSTP_D_BondPutback: str -TORA_TSTP_BT_Gross: str -TORA_TSTP_BT_Net: str -TORA_TSTP_UTYPE_BrokerUser: str -TORA_TSTP_UTYPE_SuperUser: str -TORA_TSTP_UTYPE_Investor: str -TORA_TSTP_CC_TradeTouch: str -TORA_TSTP_CC_CancelTouch: str -TORA_TSTP_CC_TimeTouch: str -TORA_TSTP_CC_SegmentTouch: str -TORA_TSTP_CC_LastPriceGreaterThanStopPrice: str -TORA_TSTP_CC_LastPriceLesserThanStopPrice: str -TORA_TSTP_CC_AskPriceGreaterEqualStopPrice: str -TORA_TSTP_CC_AskPriceLesserEqualStopPrice: str -TORA_TSTP_CC_BidPriceGreaterEqualStopPrice: str -TORA_TSTP_CC_BidPriceLesserEqualStopPrice: str -TORA_TSTP_ETFCTSTAT_Forbidden: str -TORA_TSTP_ETFCTSTAT_Allow: str -TORA_TSTP_ETFCTSTAT_Force: str -TORA_TSTP_ETFCTSTAT_CBAllow: str -TORA_TSTP_ETFCTSTAT_CBForce: str -TORA_TSTP_OPRTSRC_DBCommand: str -TORA_TSTP_OPRTSRC_SyncAPI: str -TORA_TSTP_OPERW_Telephone: str -TORA_TSTP_OPERW_OTC: str -TORA_TSTP_OPERW_MobileClient: str -TORA_TSTP_OPERW_PCClient: str -TORA_TSTP_OPERW_TY: str -TORA_TSTP_OPT_AnyPrice: str -TORA_TSTP_OPT_LimitPrice: str -TORA_TSTP_OPT_BestPrice: str -TORA_TSTP_OPT_LastPrice: str -TORA_TSTP_OPT_AskPrice1: str -TORA_TSTP_OPT_BidPrice1: str -TORA_TSTP_OPT_Relative: str -TORA_TSTP_OPT_FiveLevelPrice: str -TORA_TSTP_OPT_HomeBestPrice: str -TORA_TSTP_OVT_CustomVol: str -TORA_TSTP_OVT_RelativeVol: str -TORA_TSTP_TC_IOC: str -TORA_TSTP_TC_GFS: str -TORA_TSTP_TC_GFD: str -TORA_TSTP_TC_GTD: str -TORA_TSTP_TC_GTC: str -TORA_TSTP_TC_GFA: str -TORA_TSTP_VC_AV: str -TORA_TSTP_VC_MV: str -TORA_TSTP_VC_CV: str -TORA_TSTP_FCC_NotForceClose: str -TORA_TSTP_FCC_LackDeposit: str -TORA_TSTP_FCC_ClientOverPositionLimit: str -TORA_TSTP_FCC_MemberOverPositionLimit: str -TORA_TSTP_FCC_NotMultiple: str -TORA_TSTP_FCC_Violation: str -TORA_TSTP_FCC_Other: str -TORA_TSTP_EOT_Review: str -TORA_TSTP_EOT_Cancel: str -TORA_TSTP_EOT_Limit: str -TORA_TSTP_EOT_FRC: str -TORA_TSTP_EOT_FRL: str -TORA_TSTP_EOT_BP: str -TORA_TSTP_EOT_HP: str -TORA_TSTP_EOT_FAK: str -TORA_TSTP_EOT_FOK: str -TORA_TSTP_TRNSD_In: str -TORA_TSTP_TRNSD_Out: str -TORA_TSTP_TRNSD_MoveIn: str -TORA_TSTP_TRNSD_MoveOut: str -TORA_TSTP_TRNSD_Freeze: str -TORA_TSTP_TRNSD_UnFreeze: str -TORA_TSTP_TRNSD_StockToBank: str -TORA_TSTP_TRNSD_BankToStock: str -TORA_TSTP_CLTD_CollateralIn: str -TORA_TSTP_CLTD_CollateralOut: str -TORA_TSTP_TRANST_TranferHandling: str -TORA_TSTP_TRANST_TransferSuccess: str -TORA_TSTP_TRANST_TransferFail: str -TORA_TSTP_TRANST_RepealHandling: str -TORA_TSTP_TRANST_RepealSuccess: str -TORA_TSTP_TRANST_RepealFail: str -TORA_TSTP_TRANST_ExternalAccepted: str -TORA_TSTP_TPT_ALL: str -TORA_TSTP_TPT_History: str -TORA_TSTP_TPT_TodayBS: str -TORA_TSTP_TPT_TodayPR: str -TORA_TSTP_OST_AllTraded: str -TORA_TSTP_OST_PartTradedQueueing: str -TORA_TSTP_OST_PartTradedNotQueueing: str -TORA_TSTP_OST_NoTradeQueueing: str -TORA_TSTP_OST_NoTradeNotQueueing: str -TORA_TSTP_OST_Canceled: str -TORA_TSTP_OST_Unknown: str -TORA_TSTP_OST_NotTouched: str -TORA_TSTP_OST_Touched: str -TORA_TSTP_OST_Cached: str -TORA_TSTP_COST_Initial: str -TORA_TSTP_COST_NotTouched: str -TORA_TSTP_COST_Touched: str -TORA_TSTP_COST_Finished: str -TORA_TSTP_COST_Cancel: str -TORA_TSTP_COST_Failed: str -TORA_TSTP_OSS_UnSubmit: str -TORA_TSTP_OSS_InsertSubmitted: str -TORA_TSTP_OSS_CancelSubmitted: str -TORA_TSTP_OSS_ModifySubmitted: str -TORA_TSTP_OSS_Accepted: str -TORA_TSTP_OSS_InsertRejected: str -TORA_TSTP_OSS_CancelRejected: str -TORA_TSTP_OSS_ModifyRejected: str -TORA_TSTP_ORDT_Normal: str -TORA_TSTP_ORDT_DeriveFromQuote: str -TORA_TSTP_ORDT_DeriveFromCombination: str -TORA_TSTP_ORDT_Combination: str -TORA_TSTP_ORDT_ConditionalOrder: str -TORA_TSTP_ORDT_Swap: str -TORA_TSTP_OF_Open: str -TORA_TSTP_OF_Close: str -TORA_TSTP_OF_ForceClose: str -TORA_TSTP_OF_CloseToday: str -TORA_TSTP_OF_CloseYesterday: str -TORA_TSTP_OF_ForceOff: str -TORA_TSTP_OF_LocalForceClose: str -TORA_TSTP_HF_Speculation: str -TORA_TSTP_HF_Arbitrage: str -TORA_TSTP_HF_Hedge: str -TORA_TSTP_HF_Covered: str -TORA_TSTP_AF_Delete: str -TORA_TSTP_AF_Modify: str -TORA_TSTP_AF_ForceDelete: str -TORA_TSTP_OAS_Submitted: str -TORA_TSTP_OAS_Accepted: str -TORA_TSTP_OAS_Rejected: str -TORA_TSTP_OAS_Cached: str -TORA_TSTP_CIDT_Unknown: str -TORA_TSTP_CIDT_Speculation: str -TORA_TSTP_CIDT_Arbitrage: str -TORA_TSTP_CIDT_Hedge: str -TORA_TSTP_CIDT_Normal: str -TORA_TSTP_CIDT_Credit: str -TORA_TSTP_CIDT_Derivatives: str -TORA_TSTP_BC_Buy: str -TORA_TSTP_BC_Sell: str -TORA_TSTP_BC_ETFPur: str -TORA_TSTP_BC_ETFRed: str -TORA_TSTP_BC_Repurchase: str -TORA_TSTP_BC_ReverseRepur: str -TORA_TSTP_BC_Rationed: str -TORA_TSTP_BC_CustodyTransfer: str -TORA_TSTP_BC_BuyOpen: str -TORA_TSTP_BC_BuyClose: str -TORA_TSTP_BC_SellOpen: str -TORA_TSTP_BC_SellClose: str -TORA_TSTP_BC_CoveredOpen: str -TORA_TSTP_BC_CoveredClose: str -TORA_TSTP_BC_ExecOrder: str -TORA_TSTP_BC_AutoExecOrder: str -TORA_TSTP_CPT_Normal: str -TORA_TSTP_CPT_Special: str -TORA_TSTP_FID_NAN: str -TORA_TSTP_FID_SessionManager: str -TORA_TSTP_FID_UserManager: str -TORA_TSTP_FID_OrderInsert: str -TORA_TSTP_FID_OrderAction: str -TORA_TSTP_FID_AdjustTradingRight: str -TORA_TSTP_FID_MoveFund: str -TORA_TSTP_FID_AddFund: str -TORA_TSTP_FID_SubFund: str -TORA_TSTP_FID_ForceFreezeFund: str -TORA_TSTP_FID_ForceUnFreezeFund: str -TORA_TSTP_FID_AddPosition: str -TORA_TSTP_FID_SubPosition: str -TORA_TSTP_FID_RepealFund: str -TORA_TSTP_FID_RepealPosition: str -TORA_TSTP_FID_CollateralInJZ: str -TORA_TSTP_FID_AdjustTradingFee: str -TORA_TSTP_FID_AdjustSpecPrivilege: str -TORA_TSTP_FID_AdjustShareholderAssociation: str -TORA_TSTP_FID_AdjustSecurity: str -TORA_TSTP_FID_MovePosition: str -TORA_TSTP_FID_AdjustShareholderParam: str -TORA_TSTP_FID_CondOrderInsert: str -TORA_TSTP_FID_CondOrderAction: str -TORA_TSTP_FID_QryCondOrder: str -TORA_TSTP_FID_CondParamAdjust: str -TORA_TSTP_FID_UserRoleManage: str -TORA_TSTP_FID_TradingFeeTemplateManage: str -TORA_TSTP_FID_TradingRightTemplateManage: str -TORA_TSTP_FID_SecurityPriorAuthManage: str -TORA_TSTP_FID_PosiParamManage: str -TORA_TSTP_FID_OrderLocalSeqPrefixAdjust: str -TORA_TSTP_FID_TraderManage: str -TORA_TSTP_FID_IPOManage: str -TORA_TSTP_FID_AppRunManage: str -TORA_TSTP_FID_MarketStatusManage: str -TORA_TSTP_FID_PlatformStatusManage: str -TORA_TSTP_FID_QryTradingAccount: str -TORA_TSTP_FID_QryPositon: str -TORA_TSTP_FID_QryShareholderAccount: str -TORA_TSTP_FID_QryOrder: str -TORA_TSTP_FID_QryTrade: str -TORA_TSTP_FID_QryFundSerial: str -TORA_TSTP_FID_QryPositionSerial: str -TORA_TSTP_FID_DumpTradingAccount: str -TORA_TSTP_FID_DumpPositon: str -TORA_TSTP_FID_DumpShareholderAccount: str -TORA_TSTP_FID_DumpOrder: str -TORA_TSTP_FID_DumpTrade: str -TORA_TSTP_FID_DumpFundSerial: str -TORA_TSTP_FID_DumpPositionSerial: str -TORA_TSTP_FID_UploadTradeData: str -TORA_TSTP_FID_ReviewFundAdjust: str -TORA_TSTP_FID_ReviewPositionAdjust: str -TORA_TSTP_FID_RecordOperateLog: str -TORA_TSTP_FID_TerminalInfoManage: str -TORA_TSTP_FID_QryTradingRight: str -TORA_TSTP_FID_DesignationRegistration: str -TORA_TSTP_FID_CustodyTransfer: str -TORA_TSTP_FID_ForceDelete: str -TORA_TSTP_FID_RiskMgr: str -TORA_TSTP_FID_ReviewUserIPLimitAdjust: str -TORA_TSTP_FID_AdjustUserIPLimit: str -TORA_TSTP_FID_AdjustSystemParam: str -TORA_TSTP_FID_DepartmentInfoManage: str -TORA_TSTP_FID_IPONumberMatchManage: str -TORA_TSTP_FID_CustomerInfoManage: str -TORA_TSTP_FID_QryTradeEvent: str -TORA_TSTP_FID_ExchRtnSeqManage: str -TORA_TSTP_FID_TransferFund: str -TORA_TSTP_STP_COMMON: str -TORA_TSTP_STP_SHAShares: str -TORA_TSTP_STP_SHSingleMarketStockETF: str -TORA_TSTP_STP_SHSingleMarketBondETF: str -TORA_TSTP_STP_SHGoldETF: str -TORA_TSTP_STP_SHTradableMonetaryFund: str -TORA_TSTP_STP_SHBondNation: str -TORA_TSTP_STP_SHBondCorporation: str -TORA_TSTP_STP_SHBondCompany: str -TORA_TSTP_STP_SHBondConversion: str -TORA_TSTP_STP_SHBondSeparation: str -TORA_TSTP_STP_SHASharesOption: str -TORA_TSTP_STP_SHETFOption: str -TORA_TSTP_STP_SHAllotment: str -TORA_TSTP_STP_SHDistributeDebt: str -TORA_TSTP_STP_SHStandard: str -TORA_TSTP_STP_SHRepo: str -TORA_TSTP_STP_SHCEFund: str -TORA_TSTP_STP_SHOEFund: str -TORA_TSTP_STP_SHCrossMarketStockETF: str -TORA_TSTP_STP_SHCrossBorderETF: str -TORA_TSTP_STP_SHMontherStructFund: str -TORA_TSTP_STP_SHSubStructFund: str -TORA_TSTP_STP_SHRealTimeMonetaryFund: str -TORA_TSTP_STP_SHExchangeableBond: str -TORA_TSTP_STP_SHLOF: str -TORA_TSTP_STP_SZMainAShares: str -TORA_TSTP_STP_SZSME: str -TORA_TSTP_STP_SZBondNation: str -TORA_TSTP_STP_SZBondCorporation: str -TORA_TSTP_STP_SZBondCompany: str -TORA_TSTP_STP_SZBondConversion: str -TORA_TSTP_STP_SZBondSeparation: str -TORA_TSTP_STP_SZASharesOption: str -TORA_TSTP_STP_SZETFOption: str -TORA_TSTP_STP_SZCrossBorderETF: str -TORA_TSTP_STP_SZGoldETF: str -TORA_TSTP_STP_SZCashBondETF: str -TORA_TSTP_STP_SZSingleMarketStockETF: str -TORA_TSTP_STP_SZSingleMarketBondETF: str -TORA_TSTP_STP_SZMonetaryFundETF: str -TORA_TSTP_STP_SZGEM: str -TORA_TSTP_STP_SZAllotment: str -TORA_TSTP_STP_SZDistributeDebt: str -TORA_TSTP_STP_SZStandard: str -TORA_TSTP_STP_SZRepo: str -TORA_TSTP_STP_SZCEFund: str -TORA_TSTP_STP_SZOEFund: str -TORA_TSTP_STP_SZCrossBorderOEFund: str -TORA_TSTP_STP_SZCrossMarketStockETF: str -TORA_TSTP_STP_SZLOF: str -TORA_TSTP_STP_SZCrossBorderLOF: str -TORA_TSTP_STP_SZMontherStructFund: str -TORA_TSTP_STP_SZSubStructFund: str -TORA_TSTP_STP_SZMontherCrossBorderStructFund: str -TORA_TSTP_STP_SZSubCrossBorderStructFund: str -TORA_TSTP_STP_SZExchangeableBond: str -TORA_TSTP_STP_SZGEMConversionBond: str -TORA_TSTP_EF_ToBeContinued: str -TORA_TSTP_EF_BatchEnd: str -TORA_TSTP_EF_Completed: str -TORA_TSTP_EF_NOP: str -TORA_TSTP_MKD_COMMON: str -TORA_TSTP_MKD_SHA: str -TORA_TSTP_MKD_SZA: str -TORA_TSTP_MKD_SHB: str -TORA_TSTP_MKD_SZB: str -TORA_TSTP_MKD_SZThreeA: str -TORA_TSTP_MKD_SZThreeB: str -TORA_TSTP_MKD_Foreign: str -TORA_TSTP_LACT_UserID: str -TORA_TSTP_LACT_AccountID: str -TORA_TSTP_LACT_SHAStock: str -TORA_TSTP_LACT_SZAStock: str -TORA_TSTP_LACT_SHBStock: str -TORA_TSTP_LACT_SZBStock: str -TORA_TSTP_LACT_ThreeNewBoardA: str -TORA_TSTP_LACT_ThreeNewBoardB: str -TORA_TSTP_LACT_HKStock: str -TORA_TSTP_MST_UnKnown: str -TORA_TSTP_MST_BeforeTrading: str -TORA_TSTP_MST_Continous: str -TORA_TSTP_MST_Closed: str -TORA_TSTP_MST_OpenCallAuction: str -TORA_TSTP_ARM_Single: str -TORA_TSTP_ARM_Group: str -TORA_TSTP_DT_Register: str -TORA_TSTP_DT_Cancel: str -TORA_TSTP_CT_Register: str -TORA_TSTP_CT_Cancel: str -TORA_TSTP_PCBT_None: str -TORA_TSTP_PCBT_Other: str -TORA_TSTP_PCBT_SHDelisting: str -TORA_TSTP_PCBT_ST: str -TORA_TSTP_PCBT_GEM: str -TORA_TSTP_PCBT_StructFund: str -TORA_TSTP_PCBT_BondQualified: str -TORA_TSTP_PCBT_SuspendBond: str -TORA_TSTP_PCBT_Repurchase: str -TORA_TSTP_PCBT_ReverseRepur: str -TORA_TSTP_PCBT_SZDelisting: str -TORA_TSTP_PCBT_Stock: str -TORA_TSTP_PCBT_CreditStock: str -TORA_TSTP_PCPF_None: str -TORA_TSTP_PCPF_AnywayPass: str -TORA_TSTP_PCPF_MatchPass: str -TORA_TSTP_PCPF_SelectPass: str -TORA_TSTP_PCPF_ProfInvestorPass: str -TORA_TSTP_RLV_Lowest: str -TORA_TSTP_RLV_Conservative: str -TORA_TSTP_RLV_Cautious: str -TORA_TSTP_RLV_Steady: str -TORA_TSTP_RLV_Positive: str -TORA_TSTP_RLV_Aggressive: str -TORA_TSTP_PIT_NotProf: str -TORA_TSTP_PIT_OCInstiPro: str -TORA_TSTP_PIT_InstiPro: str -TORA_TSTP_PIT_PersonPro: str -TORA_TSTP_PIT_ConfirmInstiPro: str -TORA_TSTP_PIT_ConfirmPersonPro: str -TORA_TSTP_LOT_Market: str -TORA_TSTP_LOT_Limit: str -TORA_TSTP_LOT_HomeBest: str -TORA_TSTP_LSD_Buy: str -TORA_TSTP_LSD_Sell: str -TORA_TSTP_LSD_Borrow: str -TORA_TSTP_LSD_Lend: str -TORA_TSTP_ECT_Fill: str -TORA_TSTP_ECT_Cancel: str -TORA_TSTP_CCT_None: str -TORA_TSTP_CCT_SelfDeal: str -TORA_TSTP_MST_TCP: str -TORA_TSTP_MST_UDP: str -TORA_TSTP_MST_MCAST: str -TORA_TSTP_MSST_PreOpen: str -TORA_TSTP_MSST_CallAuction: str -TORA_TSTP_MSST_Continous: str -TORA_TSTP_MSST_Pause: str -TORA_TSTP_MSST_Suspend: str -TORA_TSTP_MSST_LongSuspend: str -TORA_TSTP_MSST_UndulationInt: str -TORA_TSTP_MSST_CircuitBreak: str -TORA_TSTP_MSST_CircuitBreakU: str -TORA_TSTP_MSST_Close: str -TORA_TSTP_MSST_Other: str -TORA_TSTP_MSST_CloseCallAuction: str -TORA_TSTP_FOCS_Init: str -TORA_TSTP_FOCS_Reviewed: str -TORA_TSTP_FOCS_Failed: str -TORA_TSTP_SPT_MaxBuyLimit: str -TORA_TSTP_SPT_MaxSellLimit: str -TORA_TSTP_SPT_LargeBuyLimitRatio: str -TORA_TSTP_SPT_LargeSelLimitRatio: str -TORA_TSTP_SPT_RiskWarnBoardLimitVol: str -TORA_TSTP_SPT_SeriesDecInterval: str -TORA_TSTP_SPT_SeriesLimitPerUnit: str -TORA_TSTP_SPT_ClosePriceScopeRatio: str -TORA_TSTP_SPT_OpenDateLimit: str -TORA_TSTP_SPT_LimitBoardShamRatio: str -TORA_TSTP_SPT_CancelOrderRatio: str -def set_null(v: int)->None: - ... -def set_null(v: float)->None: - ... -def set_null(v: str)->None: - ... -def set_null(v: int)->None: - ... -def set_null(v: int)->None: - ... -def set_null(v: str)->None: - ... -def is_null(v: int)->bool: - ... -def is_null(v: float)->bool: - ... -def is_null(v: str)->bool: - ... -def is_null(v: int)->bool: - ... -def is_null(v: int)->bool: - ... -def is_null(v: str)->bool: - ... - diff --git a/vnpy/api/tora/vntora.sln b/vnpy/api/tora/vntora.sln deleted file mode 100644 index 34f62df3a6..0000000000 --- a/vnpy/api/tora/vntora.sln +++ /dev/null @@ -1,31 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.28803.452 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vntora", "vntora\vntora.vcxproj", "{24BBDEB3-6AA7-43EE-A03C-AE527AB1B297}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {24BBDEB3-6AA7-43EE-A03C-AE527AB1B297}.Debug|x64.ActiveCfg = Debug|x64 - {24BBDEB3-6AA7-43EE-A03C-AE527AB1B297}.Debug|x64.Build.0 = Debug|x64 - {24BBDEB3-6AA7-43EE-A03C-AE527AB1B297}.Debug|x86.ActiveCfg = Debug|Win32 - {24BBDEB3-6AA7-43EE-A03C-AE527AB1B297}.Debug|x86.Build.0 = Debug|Win32 - {24BBDEB3-6AA7-43EE-A03C-AE527AB1B297}.Release|x64.ActiveCfg = Release|x64 - {24BBDEB3-6AA7-43EE-A03C-AE527AB1B297}.Release|x64.Build.0 = Release|x64 - {24BBDEB3-6AA7-43EE-A03C-AE527AB1B297}.Release|x86.ActiveCfg = Release|Win32 - {24BBDEB3-6AA7-43EE-A03C-AE527AB1B297}.Release|x86.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {EAD30BEA-02BC-40E2-9085-539F35FF12C1} - EndGlobalSection -EndGlobal diff --git a/vnpy/api/tora/vntora/custom/custom_wrappers.hpp b/vnpy/api/tora/vntora/custom/custom_wrappers.hpp deleted file mode 100644 index 41ecd32ecc..0000000000 --- a/vnpy/api/tora/vntora/custom/custom_wrappers.hpp +++ /dev/null @@ -1,65 +0,0 @@ -#pragma once - -#include -#include -#include - -#include -#include - -#include - -#include "../generated_files/module.hpp" - -namespace autocxxpy -{ - - //GBKַתΪUTF8 - inline std::string toUtf(const std::string &gb2312) - { -#ifdef _MSC_VER - const static std::locale loc("zh-CN"); -#else - const static std::locale loc("zh_CN.GB18030"); -#endif - - std::vector wstr(gb2312.size()); - wchar_t* wstrEnd = nullptr; - const char* gbEnd = nullptr; - std::mbstate_t state = {}; - int res = std::use_facet > - (loc).in(state, - gb2312.data(), gb2312.data() + gb2312.size(), gbEnd, - wstr.data(), wstr.data() + wstr.size(), wstrEnd); - - if (std::codecvt_base::ok == res) - { - std::wstring_convert> cutf8; - return cutf8.to_bytes(std::wstring(wstr.data(), wstrEnd)); - } - - return std::string(); - } - - template - struct get_string - { - auto operator()(string_literal &val) - { - return toUtf(val); - } - }; - - template - struct set_string - { - void operator()(string_literal &val, const char *str) - { -#ifdef _MSC_VER - strcpy_s(val, toUtf(str).data()); -#else - strcpy(val, toUtf(str).data()); -#endif - } - }; -} diff --git a/vnpy/api/tora/vntora/generated_files/config.h b/vnpy/api/tora/vntora/generated_files/config.h deleted file mode 100644 index ce5fd44a83..0000000000 --- a/vnpy/api/tora/vntora/generated_files/config.h +++ /dev/null @@ -1,9 +0,0 @@ -#pragma once - -#define AUTOCXXPY_ENCODING_CUSTOM -#define AUTOCXXPY_ENCODING_CUSTOM_WINDOWS ".936" -#define AUTOCXXPY_ENCODING_CUSTOM_LINUX "zh_CN.GB18030" - - - - diff --git a/vnpy/api/tora/vntora/generated_files/generated_functions.h b/vnpy/api/tora/vntora/generated_files/generated_functions.h deleted file mode 100644 index 65b544cae8..0000000000 --- a/vnpy/api/tora/vntora/generated_files/generated_functions.h +++ /dev/null @@ -1,167 +0,0 @@ -#pragma once -#include "config.h" - -#include -#include - -#include "TORATstpMdApi.h" -#include "TORATstpTraderApi.h" -#include "TORATstpUserApiDataType.h" -#include "TORATstpUserApiStruct.h" - - -void generate_vntora(pybind11::module & parent); -void generate_class_CTORATstpFensUserInfoField(pybind11::object & parent); -void generate_class_CTORATstpEffectPriceMarketDataField(pybind11::object & parent); -void generate_class_CTORATstpEffectVolumeMarketDataField(pybind11::object & parent); -void generate_class_CTORATstpFundsFlowMarketDataField(pybind11::object & parent); -void generate_class_CTORATstpReqUserLoginField(pybind11::object & parent); -void generate_class_CTORATstpRspUserLoginField(pybind11::object & parent); -void generate_class_CTORATstpRspInfoField(pybind11::object & parent); -void generate_class_CTORATstpUserLogoutField(pybind11::object & parent); -void generate_class_CTORATstpForceUserLogoutField(pybind11::object & parent); -void generate_class_CTORATstpUserPasswordUpdateField(pybind11::object & parent); -void generate_class_CTORATstpReqInputDeviceSerialField(pybind11::object & parent); -void generate_class_CTORATstpRspInputDeviceSerialField(pybind11::object & parent); -void generate_class_CTORATstpActivateUserField(pybind11::object & parent); -void generate_class_CTORATstpVerifyUserPasswordField(pybind11::object & parent); -void generate_class_CTORATstpInputOrderField(pybind11::object & parent); -void generate_class_CTORATstpOrderField(pybind11::object & parent); -void generate_class_CTORATstpUserRefField(pybind11::object & parent); -void generate_class_CTORATstpInputOrderActionField(pybind11::object & parent); -void generate_class_CTORATstpOrderActionField(pybind11::object & parent); -void generate_class_CTORATstpTradeField(pybind11::object & parent); -void generate_class_CTORATstpMarketStatusField(pybind11::object & parent); -void generate_class_CTORATstpInputCondOrderField(pybind11::object & parent); -void generate_class_CTORATstpConditionOrderField(pybind11::object & parent); -void generate_class_CTORATstpInputCondOrderActionField(pybind11::object & parent); -void generate_class_CTORATstpReqInquiryJZFundField(pybind11::object & parent); -void generate_class_CTORATstpRspInquiryJZFundField(pybind11::object & parent); -void generate_class_CTORATstpInputTransferFundField(pybind11::object & parent); -void generate_class_CTORATstpInputTransferPositionField(pybind11::object & parent); -void generate_class_CTORATstpTransferFundField(pybind11::object & parent); -void generate_class_CTORATstpTransferPositionField(pybind11::object & parent); -void generate_class_CTORATstpSpecificSecurityField(pybind11::object & parent); -void generate_class_CTORATstpInputTransferCollateralField(pybind11::object & parent); -void generate_class_CTORATstpReqInquiryBankAccountFundField(pybind11::object & parent); -void generate_class_CTORATstpRspInquiryBankAccountFundField(pybind11::object & parent); -void generate_class_CTORATstpLev2MarketDataField(pybind11::object & parent); -void generate_class_CTORATstpLev2IndexField(pybind11::object & parent); -void generate_class_CTORATstpLev2TransactionField(pybind11::object & parent); -void generate_class_CTORATstpLev2OrderDetailField(pybind11::object & parent); -void generate_class_CTORATstpUploadTradeDataField(pybind11::object & parent); -void generate_class_CTORATstpInputDesignationRegistrationField(pybind11::object & parent); -void generate_class_CTORATstpInputCustodyTransferField(pybind11::object & parent); -void generate_class_CTORATstpInquiryTradeConcentrationField(pybind11::object & parent); -void generate_class_CTORATstpInquiryFileOrderField(pybind11::object & parent); -void generate_class_CTORATstpFileOrderField(pybind11::object & parent); -void generate_class_CTORATstpQryRspInfoField(pybind11::object & parent); -void generate_class_CTORATstpReviewFileOrderField(pybind11::object & parent); -void generate_class_CTORATstpCommitInfoField(pybind11::object & parent); -void generate_class_CTORATstpReqInsTradingNoticeField(pybind11::object & parent); -void generate_class_CTORATstpTradingNoticeField(pybind11::object & parent); -void generate_class_CTORATstpLoadFileOrderField(pybind11::object & parent); -void generate_class_CTORATstpFileOrderInfoField(pybind11::object & parent); -void generate_class_CTORATstpReqInquiryMaxOrderVolumeField(pybind11::object & parent); -void generate_class_CTORATstpRspInquiryMaxOrderVolumeField(pybind11::object & parent); -void generate_class_CTORATstpPeripheryPositionTransferDetailField(pybind11::object & parent); -void generate_class_CTORATstpQryHistoryOrderField(pybind11::object & parent); -void generate_class_CTORATstpQryHistoryRspInfoField(pybind11::object & parent); -void generate_class_CTORATstpHistoryOrderField(pybind11::object & parent); -void generate_class_CTORATstpQryHistoryTradeField(pybind11::object & parent); -void generate_class_CTORATstpHistoryTradeField(pybind11::object & parent); -void generate_class_CTORATstpQryExchangeField(pybind11::object & parent); -void generate_class_CTORATstpExchangeField(pybind11::object & parent); -void generate_class_CTORATstpQryPBUField(pybind11::object & parent); -void generate_class_CTORATstpPBUField(pybind11::object & parent); -void generate_class_CTORATstpQryMarketDataField(pybind11::object & parent); -void generate_class_CTORATstpMarketDataField(pybind11::object & parent); -void generate_class_CTORATstpQrySecurityField(pybind11::object & parent); -void generate_class_CTORATstpSecurityField(pybind11::object & parent); -void generate_class_CTORATstpQryETFFileField(pybind11::object & parent); -void generate_class_CTORATstpETFFileField(pybind11::object & parent); -void generate_class_CTORATstpQryETFBasketField(pybind11::object & parent); -void generate_class_CTORATstpETFBasketField(pybind11::object & parent); -void generate_class_CTORATstpQryDepartmentInfoField(pybind11::object & parent); -void generate_class_CTORATstpDepartmentInfoField(pybind11::object & parent); -void generate_class_CTORATstpQryIPOInfoField(pybind11::object & parent); -void generate_class_CTORATstpIPOInfoField(pybind11::object & parent); -void generate_class_CTORATstpQryBrokerUserFunctionField(pybind11::object & parent); -void generate_class_CTORATstpBrokerUserFunctionField(pybind11::object & parent); -void generate_class_CTORATstpQryBUProxyField(pybind11::object & parent); -void generate_class_CTORATstpBUProxyField(pybind11::object & parent); -void generate_class_CTORATstpQryUserField(pybind11::object & parent); -void generate_class_CTORATstpUserField(pybind11::object & parent); -void generate_class_CTORATstpQryInvestorField(pybind11::object & parent); -void generate_class_CTORATstpInvestorField(pybind11::object & parent); -void generate_class_CTORATstpQryShareholderAccountField(pybind11::object & parent); -void generate_class_CTORATstpShareholderAccountField(pybind11::object & parent); -void generate_class_CTORATstpQryBusinessUnitField(pybind11::object & parent); -void generate_class_CTORATstpBusinessUnitField(pybind11::object & parent); -void generate_class_CTORATstpQryBusinessUnitAndTradingAcctField(pybind11::object & parent); -void generate_class_CTORATstpBusinessUnitAndTradingAcctField(pybind11::object & parent); -void generate_class_CTORATstpQryOrderField(pybind11::object & parent); -void generate_class_CTORATstpQryOrderActionField(pybind11::object & parent); -void generate_class_CTORATstpQryTradeField(pybind11::object & parent); -void generate_class_CTORATstpQryTradingAccountField(pybind11::object & parent); -void generate_class_CTORATstpTradingAccountField(pybind11::object & parent); -void generate_class_CTORATstpQryPositionField(pybind11::object & parent); -void generate_class_CTORATstpPositionField(pybind11::object & parent); -void generate_class_CTORATstpQryTradingFeeField(pybind11::object & parent); -void generate_class_CTORATstpTradingFeeField(pybind11::object & parent); -void generate_class_CTORATstpQryInvestorTradingFeeField(pybind11::object & parent); -void generate_class_CTORATstpInvestorTradingFeeField(pybind11::object & parent); -void generate_class_CTORATstpQryIPOQuotaField(pybind11::object & parent); -void generate_class_CTORATstpIPOQuotaField(pybind11::object & parent); -void generate_class_CTORATstpQryMarketField(pybind11::object & parent); -void generate_class_CTORATstpMarketField(pybind11::object & parent); -void generate_class_CTORATstpQryOrderFundDetailField(pybind11::object & parent); -void generate_class_CTORATstpOrderFundDetailField(pybind11::object & parent); -void generate_class_CTORATstpQryFundTransferDetailField(pybind11::object & parent); -void generate_class_CTORATstpFundTransferDetailField(pybind11::object & parent); -void generate_class_CTORATstpQryPositionTransferDetailField(pybind11::object & parent); -void generate_class_CTORATstpPositionTransferDetailField(pybind11::object & parent); -void generate_class_CTORATstpQryPledgePositionField(pybind11::object & parent); -void generate_class_CTORATstpPledgePositionField(pybind11::object & parent); -void generate_class_CTORATstpQryPledgeInfoField(pybind11::object & parent); -void generate_class_CTORATstpPledgeInfoField(pybind11::object & parent); -void generate_class_CTORATstpQryConversionBondInfoField(pybind11::object & parent); -void generate_class_CTORATstpConversionBondInfoField(pybind11::object & parent); -void generate_class_CTORATstpQryBondPutbackInfoField(pybind11::object & parent); -void generate_class_CTORATstpBondPutbackInfoField(pybind11::object & parent); -void generate_class_CTORATstpQryStandardBondPositionField(pybind11::object & parent); -void generate_class_CTORATstpStandardBondPositionField(pybind11::object & parent); -void generate_class_CTORATstpQryDesignationRegistrationField(pybind11::object & parent); -void generate_class_CTORATstpDesignationRegistrationField(pybind11::object & parent); -void generate_class_CTORATstpQryCustodyTransferField(pybind11::object & parent); -void generate_class_CTORATstpCustodyTransferField(pybind11::object & parent); -void generate_class_CTORATstpQrySpecialMarketDataField(pybind11::object & parent); -void generate_class_CTORATstpSpecialMarketDataField(pybind11::object & parent); -void generate_class_CTORATstpQryPrematurityRepoOrderField(pybind11::object & parent); -void generate_class_CTORATstpPrematurityRepoOrderField(pybind11::object & parent); -void generate_class_CTORATstpQryShareholderParamField(pybind11::object & parent); -void generate_class_CTORATstpShareholderParamField(pybind11::object & parent); -void generate_class_CTORATstpQryPeripheryPositionTransferDetailField(pybind11::object & parent); -void generate_class_CTORATstpQryInvestorCondOrderLimitParamField(pybind11::object & parent); -void generate_class_CTORATstpInvestorCondOrderLimitParamField(pybind11::object & parent); -void generate_class_CTORATstpQryCondOrderField(pybind11::object & parent); -void generate_class_CTORATstpCondOrderField(pybind11::object & parent); -void generate_class_CTORATstpQryCondOrderActionField(pybind11::object & parent); -void generate_class_CTORATstpCondOrderActionField(pybind11::object & parent); -void generate_class_CTORATstpQryBrokerUserRoleField(pybind11::object & parent); -void generate_class_CTORATstpBrokerUserRoleField(pybind11::object & parent); -void generate_class_CTORATstpQryBrokerUserRoleAssignmentField(pybind11::object & parent); -void generate_class_CTORATstpBrokerUserRoleAssignmentField(pybind11::object & parent); -void generate_class_CTORATstpQryTradingNoticeField(pybind11::object & parent); -void generate_class_CTORATstpQryIPONumberResultField(pybind11::object & parent); -void generate_class_CTORATstpIPONumberResultField(pybind11::object & parent); -void generate_class_CTORATstpQryIPOMatchNumberResultField(pybind11::object & parent); -void generate_class_CTORATstpIPOMatchNumberResultField(pybind11::object & parent); -void generate_class_CTORATstpMdSpi(pybind11::object & parent); -void generate_class_CTORATstpMdApi(pybind11::object & parent); -void generate_class_CTORATstpTraderSpi(pybind11::object & parent); -void generate_class_CTORATstpTraderApi(pybind11::object & parent); -void generate_enum_TORA_TE_RESUME_TYPE(pybind11::object & parent); -void generate_caster_(pybind11::object & parent); - - diff --git a/vnpy/api/tora/vntora/generated_files/generated_functions_0.cpp b/vnpy/api/tora/vntora/generated_files/generated_functions_0.cpp deleted file mode 100644 index 8df2426578..0000000000 --- a/vnpy/api/tora/vntora/generated_files/generated_functions_0.cpp +++ /dev/null @@ -1,1155 +0,0 @@ -#include "config.h" - -#include -#include -#include -#include - -#include "module.hpp" -#include "wrappers.hpp" -#include "generated_functions.h" - -#include "TORATstpMdApi.h" -#include "TORATstpTraderApi.h" -#include "TORATstpUserApiDataType.h" -#include "TORATstpUserApiStruct.h" - - -void generate_vntora(pybind11::module & parent) -{ - generate_class_CTORATstpFensUserInfoField(parent); - generate_class_CTORATstpEffectPriceMarketDataField(parent); - generate_class_CTORATstpEffectVolumeMarketDataField(parent); - generate_class_CTORATstpFundsFlowMarketDataField(parent); - generate_class_CTORATstpReqUserLoginField(parent); - generate_class_CTORATstpRspUserLoginField(parent); - generate_class_CTORATstpRspInfoField(parent); - generate_class_CTORATstpUserLogoutField(parent); - generate_class_CTORATstpForceUserLogoutField(parent); - generate_class_CTORATstpUserPasswordUpdateField(parent); - generate_class_CTORATstpReqInputDeviceSerialField(parent); - generate_class_CTORATstpRspInputDeviceSerialField(parent); - generate_class_CTORATstpActivateUserField(parent); - generate_class_CTORATstpVerifyUserPasswordField(parent); - generate_class_CTORATstpInputOrderField(parent); - generate_class_CTORATstpOrderField(parent); - generate_class_CTORATstpUserRefField(parent); - generate_class_CTORATstpInputOrderActionField(parent); - generate_class_CTORATstpOrderActionField(parent); - generate_class_CTORATstpTradeField(parent); - generate_class_CTORATstpMarketStatusField(parent); - generate_class_CTORATstpInputCondOrderField(parent); - generate_class_CTORATstpConditionOrderField(parent); - generate_class_CTORATstpInputCondOrderActionField(parent); - generate_class_CTORATstpReqInquiryJZFundField(parent); - generate_class_CTORATstpRspInquiryJZFundField(parent); - generate_class_CTORATstpInputTransferFundField(parent); - generate_class_CTORATstpInputTransferPositionField(parent); - generate_class_CTORATstpTransferFundField(parent); - generate_class_CTORATstpTransferPositionField(parent); - generate_class_CTORATstpSpecificSecurityField(parent); - generate_class_CTORATstpInputTransferCollateralField(parent); - generate_class_CTORATstpReqInquiryBankAccountFundField(parent); - generate_class_CTORATstpRspInquiryBankAccountFundField(parent); - generate_class_CTORATstpLev2MarketDataField(parent); - generate_class_CTORATstpLev2IndexField(parent); - generate_class_CTORATstpLev2TransactionField(parent); - generate_class_CTORATstpLev2OrderDetailField(parent); - generate_class_CTORATstpUploadTradeDataField(parent); - generate_class_CTORATstpInputDesignationRegistrationField(parent); - generate_class_CTORATstpInputCustodyTransferField(parent); - generate_class_CTORATstpInquiryTradeConcentrationField(parent); - generate_class_CTORATstpInquiryFileOrderField(parent); - generate_class_CTORATstpFileOrderField(parent); - generate_class_CTORATstpQryRspInfoField(parent); - generate_class_CTORATstpReviewFileOrderField(parent); - generate_class_CTORATstpCommitInfoField(parent); - generate_class_CTORATstpReqInsTradingNoticeField(parent); - generate_class_CTORATstpTradingNoticeField(parent); - generate_class_CTORATstpLoadFileOrderField(parent); - generate_class_CTORATstpFileOrderInfoField(parent); - generate_class_CTORATstpReqInquiryMaxOrderVolumeField(parent); - generate_class_CTORATstpRspInquiryMaxOrderVolumeField(parent); - generate_class_CTORATstpPeripheryPositionTransferDetailField(parent); - generate_class_CTORATstpQryHistoryOrderField(parent); - generate_class_CTORATstpQryHistoryRspInfoField(parent); - generate_class_CTORATstpHistoryOrderField(parent); - generate_class_CTORATstpQryHistoryTradeField(parent); - generate_class_CTORATstpHistoryTradeField(parent); - generate_class_CTORATstpQryExchangeField(parent); - generate_class_CTORATstpExchangeField(parent); - generate_class_CTORATstpQryPBUField(parent); - generate_class_CTORATstpPBUField(parent); - generate_class_CTORATstpQryMarketDataField(parent); - generate_class_CTORATstpMarketDataField(parent); - generate_class_CTORATstpQrySecurityField(parent); - generate_class_CTORATstpSecurityField(parent); - generate_class_CTORATstpQryETFFileField(parent); - generate_class_CTORATstpETFFileField(parent); - generate_class_CTORATstpQryETFBasketField(parent); - generate_class_CTORATstpETFBasketField(parent); - generate_class_CTORATstpQryDepartmentInfoField(parent); - generate_class_CTORATstpDepartmentInfoField(parent); - generate_class_CTORATstpQryIPOInfoField(parent); - generate_class_CTORATstpIPOInfoField(parent); - generate_class_CTORATstpQryBrokerUserFunctionField(parent); - generate_class_CTORATstpBrokerUserFunctionField(parent); - generate_class_CTORATstpQryBUProxyField(parent); - generate_class_CTORATstpBUProxyField(parent); - generate_class_CTORATstpQryUserField(parent); - generate_class_CTORATstpUserField(parent); - generate_class_CTORATstpQryInvestorField(parent); - generate_class_CTORATstpInvestorField(parent); - generate_class_CTORATstpQryShareholderAccountField(parent); - generate_class_CTORATstpShareholderAccountField(parent); - generate_class_CTORATstpQryBusinessUnitField(parent); - generate_class_CTORATstpBusinessUnitField(parent); - generate_class_CTORATstpQryBusinessUnitAndTradingAcctField(parent); - generate_class_CTORATstpBusinessUnitAndTradingAcctField(parent); - generate_class_CTORATstpQryOrderField(parent); - generate_class_CTORATstpQryOrderActionField(parent); - generate_class_CTORATstpQryTradeField(parent); - generate_class_CTORATstpQryTradingAccountField(parent); - generate_class_CTORATstpTradingAccountField(parent); - generate_class_CTORATstpQryPositionField(parent); - generate_class_CTORATstpPositionField(parent); - generate_class_CTORATstpQryTradingFeeField(parent); - generate_class_CTORATstpTradingFeeField(parent); - generate_class_CTORATstpQryInvestorTradingFeeField(parent); - generate_class_CTORATstpInvestorTradingFeeField(parent); - generate_class_CTORATstpQryIPOQuotaField(parent); - generate_class_CTORATstpIPOQuotaField(parent); - generate_class_CTORATstpQryMarketField(parent); - generate_class_CTORATstpMarketField(parent); - generate_class_CTORATstpQryOrderFundDetailField(parent); - generate_class_CTORATstpOrderFundDetailField(parent); - generate_class_CTORATstpQryFundTransferDetailField(parent); - generate_class_CTORATstpFundTransferDetailField(parent); - generate_class_CTORATstpQryPositionTransferDetailField(parent); - generate_class_CTORATstpPositionTransferDetailField(parent); - generate_class_CTORATstpQryPledgePositionField(parent); - generate_class_CTORATstpPledgePositionField(parent); - generate_class_CTORATstpQryPledgeInfoField(parent); - generate_class_CTORATstpPledgeInfoField(parent); - generate_class_CTORATstpQryConversionBondInfoField(parent); - generate_class_CTORATstpConversionBondInfoField(parent); - generate_class_CTORATstpQryBondPutbackInfoField(parent); - generate_class_CTORATstpBondPutbackInfoField(parent); - generate_class_CTORATstpQryStandardBondPositionField(parent); - generate_class_CTORATstpStandardBondPositionField(parent); - generate_class_CTORATstpQryDesignationRegistrationField(parent); - generate_class_CTORATstpDesignationRegistrationField(parent); - generate_class_CTORATstpQryCustodyTransferField(parent); - generate_class_CTORATstpCustodyTransferField(parent); - generate_class_CTORATstpQrySpecialMarketDataField(parent); - generate_class_CTORATstpSpecialMarketDataField(parent); - generate_class_CTORATstpQryPrematurityRepoOrderField(parent); - generate_class_CTORATstpPrematurityRepoOrderField(parent); - generate_class_CTORATstpQryShareholderParamField(parent); - generate_class_CTORATstpShareholderParamField(parent); - generate_class_CTORATstpQryPeripheryPositionTransferDetailField(parent); - generate_class_CTORATstpQryInvestorCondOrderLimitParamField(parent); - generate_class_CTORATstpInvestorCondOrderLimitParamField(parent); - generate_class_CTORATstpQryCondOrderField(parent); - generate_class_CTORATstpCondOrderField(parent); - generate_class_CTORATstpQryCondOrderActionField(parent); - generate_class_CTORATstpCondOrderActionField(parent); - generate_class_CTORATstpQryBrokerUserRoleField(parent); - generate_class_CTORATstpBrokerUserRoleField(parent); - generate_class_CTORATstpQryBrokerUserRoleAssignmentField(parent); - generate_class_CTORATstpBrokerUserRoleAssignmentField(parent); - generate_class_CTORATstpQryTradingNoticeField(parent); - generate_class_CTORATstpQryIPONumberResultField(parent); - generate_class_CTORATstpIPONumberResultField(parent); - generate_class_CTORATstpQryIPOMatchNumberResultField(parent); - generate_class_CTORATstpIPOMatchNumberResultField(parent); - generate_class_CTORATstpMdSpi(parent); - generate_class_CTORATstpMdApi(parent); - generate_class_CTORATstpTraderSpi(parent); - generate_class_CTORATstpTraderApi(parent); - generate_enum_TORA_TE_RESUME_TYPE(parent); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("set_null", - static_cast( - &set_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.def("is_null", - static_cast( - &is_null - ), - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - parent.attr("CHAR_NULL_VAL") = CHAR_NULL_VAL; - parent.attr("TORA_TSTP_EXD_SSE_FO") = TORA_TSTP_EXD_SSE_FO; - parent.attr("TORA_TSTP_EXD_SZSE_FO") = TORA_TSTP_EXD_SZSE_FO; - parent.attr("TORA_TSTP_EXD_COMM") = TORA_TSTP_EXD_COMM; - parent.attr("TORA_TSTP_EXD_SSE") = TORA_TSTP_EXD_SSE; - parent.attr("TORA_TSTP_EXD_SZSE") = TORA_TSTP_EXD_SZSE; - parent.attr("TORA_TSTP_EXD_HK") = TORA_TSTP_EXD_HK; - parent.attr("TORA_TSTP_AM_Password") = TORA_TSTP_AM_Password; - parent.attr("TORA_TSTP_AM_FingerPrint") = TORA_TSTP_AM_FingerPrint; - parent.attr("TORA_TSTP_PT_Net") = TORA_TSTP_PT_Net; - parent.attr("TORA_TSTP_PT_Gross") = TORA_TSTP_PT_Gross; - parent.attr("TORA_TSTP_PID_COMMON") = TORA_TSTP_PID_COMMON; - parent.attr("TORA_TSTP_PID_SHStock") = TORA_TSTP_PID_SHStock; - parent.attr("TORA_TSTP_PID_SHWarrant") = TORA_TSTP_PID_SHWarrant; - parent.attr("TORA_TSTP_PID_SHFund") = TORA_TSTP_PID_SHFund; - parent.attr("TORA_TSTP_PID_SHBond") = TORA_TSTP_PID_SHBond; - parent.attr("TORA_TSTP_PID_SHStandard") = TORA_TSTP_PID_SHStandard; - parent.attr("TORA_TSTP_PID_SHRepurchase") = TORA_TSTP_PID_SHRepurchase; - parent.attr("TORA_TSTP_PID_SZStock") = TORA_TSTP_PID_SZStock; - parent.attr("TORA_TSTP_PID_SZWarrant") = TORA_TSTP_PID_SZWarrant; - parent.attr("TORA_TSTP_PID_SZFund") = TORA_TSTP_PID_SZFund; - parent.attr("TORA_TSTP_PID_SZBond") = TORA_TSTP_PID_SZBond; - parent.attr("TORA_TSTP_PID_SZStandard") = TORA_TSTP_PID_SZStandard; - parent.attr("TORA_TSTP_PID_SZRepurchase") = TORA_TSTP_PID_SZRepurchase; - parent.attr("TORA_TSTP_BKID_CCB") = TORA_TSTP_BKID_CCB; - parent.attr("TORA_TSTP_BKID_ABC") = TORA_TSTP_BKID_ABC; - parent.attr("TORA_TSTP_BKID_ICBC") = TORA_TSTP_BKID_ICBC; - parent.attr("TORA_TSTP_BKID_BOC") = TORA_TSTP_BKID_BOC; - parent.attr("TORA_TSTP_BKID_CMB") = TORA_TSTP_BKID_CMB; - parent.attr("TORA_TSTP_BKID_BC") = TORA_TSTP_BKID_BC; - parent.attr("TORA_TSTP_BKID_SPDB") = TORA_TSTP_BKID_SPDB; - parent.attr("TORA_TSTP_BKID_CIB") = TORA_TSTP_BKID_CIB; - parent.attr("TORA_TSTP_BKID_CEB") = TORA_TSTP_BKID_CEB; - parent.attr("TORA_TSTP_BKID_GDB") = TORA_TSTP_BKID_GDB; - parent.attr("TORA_TSTP_BKID_NJCB") = TORA_TSTP_BKID_NJCB; - parent.attr("TORA_TSTP_BKID_SHCB") = TORA_TSTP_BKID_SHCB; - parent.attr("TORA_TSTP_BKID_CITICB") = TORA_TSTP_BKID_CITICB; - parent.attr("TORA_TSTP_BKID_HXB") = TORA_TSTP_BKID_HXB; - parent.attr("TORA_TSTP_BKID_CMBC") = TORA_TSTP_BKID_CMBC; - parent.attr("TORA_TSTP_BKID_PACB") = TORA_TSTP_BKID_PACB; - parent.attr("TORA_TSTP_BKID_NBCB") = TORA_TSTP_BKID_NBCB; - parent.attr("TORA_TSTP_OUT_Shou") = TORA_TSTP_OUT_Shou; - parent.attr("TORA_TSTP_OUT_Gu") = TORA_TSTP_OUT_Gu; - parent.attr("TORA_TSTP_OUT_Fen") = TORA_TSTP_OUT_Fen; - parent.attr("TORA_TSTP_OUT_Zhang") = TORA_TSTP_OUT_Zhang; - parent.attr("TORA_TSTP_ICT_EID") = TORA_TSTP_ICT_EID; - parent.attr("TORA_TSTP_ICT_IDCard") = TORA_TSTP_ICT_IDCard; - parent.attr("TORA_TSTP_ICT_OfficerIDCard") = TORA_TSTP_ICT_OfficerIDCard; - parent.attr("TORA_TSTP_ICT_PoliceIDCard") = TORA_TSTP_ICT_PoliceIDCard; - parent.attr("TORA_TSTP_ICT_SoldierIDCard") = TORA_TSTP_ICT_SoldierIDCard; - parent.attr("TORA_TSTP_ICT_HouseholdRegister") = TORA_TSTP_ICT_HouseholdRegister; - parent.attr("TORA_TSTP_ICT_Passport") = TORA_TSTP_ICT_Passport; - parent.attr("TORA_TSTP_ICT_TaiwanCompatriotIDCard") = TORA_TSTP_ICT_TaiwanCompatriotIDCard; - parent.attr("TORA_TSTP_ICT_HomeComingCard") = TORA_TSTP_ICT_HomeComingCard; - parent.attr("TORA_TSTP_ICT_LicenseNo") = TORA_TSTP_ICT_LicenseNo; - parent.attr("TORA_TSTP_ICT_TaxNo") = TORA_TSTP_ICT_TaxNo; - parent.attr("TORA_TSTP_ICT_HMMainlandTravelPermit") = TORA_TSTP_ICT_HMMainlandTravelPermit; - parent.attr("TORA_TSTP_ICT_TwMainlandTravelPermit") = TORA_TSTP_ICT_TwMainlandTravelPermit; - parent.attr("TORA_TSTP_ICT_DrivingLicense") = TORA_TSTP_ICT_DrivingLicense; - parent.attr("TORA_TSTP_ICT_SocialID") = TORA_TSTP_ICT_SocialID; - parent.attr("TORA_TSTP_ICT_LocalID") = TORA_TSTP_ICT_LocalID; - parent.attr("TORA_TSTP_ICT_BusinessRegistration") = TORA_TSTP_ICT_BusinessRegistration; - parent.attr("TORA_TSTP_ICT_HKMCIDCard") = TORA_TSTP_ICT_HKMCIDCard; - parent.attr("TORA_TSTP_ICT_AccountsPermits") = TORA_TSTP_ICT_AccountsPermits; - parent.attr("TORA_TSTP_ICT_OtherCard") = TORA_TSTP_ICT_OtherCard; - parent.attr("TORA_TSTP_FAT_Normal") = TORA_TSTP_FAT_Normal; - parent.attr("TORA_TSTP_FAT_Credit") = TORA_TSTP_FAT_Credit; - parent.attr("TORA_TSTP_FAT_Derivatives") = TORA_TSTP_FAT_Derivatives; - parent.attr("TORA_TSTP_D_Buy") = TORA_TSTP_D_Buy; - parent.attr("TORA_TSTP_D_Sell") = TORA_TSTP_D_Sell; - parent.attr("TORA_TSTP_D_ETFPur") = TORA_TSTP_D_ETFPur; - parent.attr("TORA_TSTP_D_ETFRed") = TORA_TSTP_D_ETFRed; - parent.attr("TORA_TSTP_D_IPO") = TORA_TSTP_D_IPO; - parent.attr("TORA_TSTP_D_Repurchase") = TORA_TSTP_D_Repurchase; - parent.attr("TORA_TSTP_D_ReverseRepur") = TORA_TSTP_D_ReverseRepur; - parent.attr("TORA_TSTP_D_OeFundPur") = TORA_TSTP_D_OeFundPur; - parent.attr("TORA_TSTP_D_OeFundRed") = TORA_TSTP_D_OeFundRed; - parent.attr("TORA_TSTP_D_CollateralIn") = TORA_TSTP_D_CollateralIn; - parent.attr("TORA_TSTP_D_CollateralOut") = TORA_TSTP_D_CollateralOut; - parent.attr("TORA_TSTP_D_PledgeIn") = TORA_TSTP_D_PledgeIn; - parent.attr("TORA_TSTP_D_PledgeOut") = TORA_TSTP_D_PledgeOut; - parent.attr("TORA_TSTP_D_Rationed") = TORA_TSTP_D_Rationed; - parent.attr("TORA_TSTP_D_Split") = TORA_TSTP_D_Split; - parent.attr("TORA_TSTP_D_Merge") = TORA_TSTP_D_Merge; - parent.attr("TORA_TSTP_D_MarginBuy") = TORA_TSTP_D_MarginBuy; - parent.attr("TORA_TSTP_D_ShortSell") = TORA_TSTP_D_ShortSell; - parent.attr("TORA_TSTP_D_SellRepayment") = TORA_TSTP_D_SellRepayment; - parent.attr("TORA_TSTP_D_BuyRepayment") = TORA_TSTP_D_BuyRepayment; - parent.attr("TORA_TSTP_D_SecurityRepay") = TORA_TSTP_D_SecurityRepay; - parent.attr("TORA_TSTP_D_RemainTransfer") = TORA_TSTP_D_RemainTransfer; - parent.attr("TORA_TSTP_D_BondConvertStock") = TORA_TSTP_D_BondConvertStock; - parent.attr("TORA_TSTP_D_BondPutback") = TORA_TSTP_D_BondPutback; - parent.attr("TORA_TSTP_BT_Gross") = TORA_TSTP_BT_Gross; - parent.attr("TORA_TSTP_BT_Net") = TORA_TSTP_BT_Net; - parent.attr("TORA_TSTP_UTYPE_BrokerUser") = TORA_TSTP_UTYPE_BrokerUser; - parent.attr("TORA_TSTP_UTYPE_SuperUser") = TORA_TSTP_UTYPE_SuperUser; - parent.attr("TORA_TSTP_UTYPE_Investor") = TORA_TSTP_UTYPE_Investor; - parent.attr("TORA_TSTP_CC_TradeTouch") = TORA_TSTP_CC_TradeTouch; - parent.attr("TORA_TSTP_CC_CancelTouch") = TORA_TSTP_CC_CancelTouch; - parent.attr("TORA_TSTP_CC_TimeTouch") = TORA_TSTP_CC_TimeTouch; - parent.attr("TORA_TSTP_CC_SegmentTouch") = TORA_TSTP_CC_SegmentTouch; - parent.attr("TORA_TSTP_CC_LastPriceGreaterThanStopPrice") = TORA_TSTP_CC_LastPriceGreaterThanStopPrice; - parent.attr("TORA_TSTP_CC_LastPriceLesserThanStopPrice") = TORA_TSTP_CC_LastPriceLesserThanStopPrice; - parent.attr("TORA_TSTP_CC_AskPriceGreaterEqualStopPrice") = TORA_TSTP_CC_AskPriceGreaterEqualStopPrice; - parent.attr("TORA_TSTP_CC_AskPriceLesserEqualStopPrice") = TORA_TSTP_CC_AskPriceLesserEqualStopPrice; - parent.attr("TORA_TSTP_CC_BidPriceGreaterEqualStopPrice") = TORA_TSTP_CC_BidPriceGreaterEqualStopPrice; - parent.attr("TORA_TSTP_CC_BidPriceLesserEqualStopPrice") = TORA_TSTP_CC_BidPriceLesserEqualStopPrice; - parent.attr("TORA_TSTP_ETFCTSTAT_Forbidden") = TORA_TSTP_ETFCTSTAT_Forbidden; - parent.attr("TORA_TSTP_ETFCTSTAT_Allow") = TORA_TSTP_ETFCTSTAT_Allow; - parent.attr("TORA_TSTP_ETFCTSTAT_Force") = TORA_TSTP_ETFCTSTAT_Force; - parent.attr("TORA_TSTP_ETFCTSTAT_CBAllow") = TORA_TSTP_ETFCTSTAT_CBAllow; - parent.attr("TORA_TSTP_ETFCTSTAT_CBForce") = TORA_TSTP_ETFCTSTAT_CBForce; - parent.attr("TORA_TSTP_OPRTSRC_DBCommand") = TORA_TSTP_OPRTSRC_DBCommand; - parent.attr("TORA_TSTP_OPRTSRC_SyncAPI") = TORA_TSTP_OPRTSRC_SyncAPI; - parent.attr("TORA_TSTP_OPERW_Telephone") = TORA_TSTP_OPERW_Telephone; - parent.attr("TORA_TSTP_OPERW_OTC") = TORA_TSTP_OPERW_OTC; - parent.attr("TORA_TSTP_OPERW_MobileClient") = TORA_TSTP_OPERW_MobileClient; - parent.attr("TORA_TSTP_OPERW_PCClient") = TORA_TSTP_OPERW_PCClient; - parent.attr("TORA_TSTP_OPERW_TY") = TORA_TSTP_OPERW_TY; - parent.attr("TORA_TSTP_OPT_AnyPrice") = TORA_TSTP_OPT_AnyPrice; - parent.attr("TORA_TSTP_OPT_LimitPrice") = TORA_TSTP_OPT_LimitPrice; - parent.attr("TORA_TSTP_OPT_BestPrice") = TORA_TSTP_OPT_BestPrice; - parent.attr("TORA_TSTP_OPT_LastPrice") = TORA_TSTP_OPT_LastPrice; - parent.attr("TORA_TSTP_OPT_AskPrice1") = TORA_TSTP_OPT_AskPrice1; - parent.attr("TORA_TSTP_OPT_BidPrice1") = TORA_TSTP_OPT_BidPrice1; - parent.attr("TORA_TSTP_OPT_Relative") = TORA_TSTP_OPT_Relative; - parent.attr("TORA_TSTP_OPT_FiveLevelPrice") = TORA_TSTP_OPT_FiveLevelPrice; - parent.attr("TORA_TSTP_OPT_HomeBestPrice") = TORA_TSTP_OPT_HomeBestPrice; - parent.attr("TORA_TSTP_OVT_CustomVol") = TORA_TSTP_OVT_CustomVol; - parent.attr("TORA_TSTP_OVT_RelativeVol") = TORA_TSTP_OVT_RelativeVol; - parent.attr("TORA_TSTP_TC_IOC") = TORA_TSTP_TC_IOC; - parent.attr("TORA_TSTP_TC_GFS") = TORA_TSTP_TC_GFS; - parent.attr("TORA_TSTP_TC_GFD") = TORA_TSTP_TC_GFD; - parent.attr("TORA_TSTP_TC_GTD") = TORA_TSTP_TC_GTD; - parent.attr("TORA_TSTP_TC_GTC") = TORA_TSTP_TC_GTC; - parent.attr("TORA_TSTP_TC_GFA") = TORA_TSTP_TC_GFA; - parent.attr("TORA_TSTP_VC_AV") = TORA_TSTP_VC_AV; - parent.attr("TORA_TSTP_VC_MV") = TORA_TSTP_VC_MV; - parent.attr("TORA_TSTP_VC_CV") = TORA_TSTP_VC_CV; - parent.attr("TORA_TSTP_FCC_NotForceClose") = TORA_TSTP_FCC_NotForceClose; - parent.attr("TORA_TSTP_FCC_LackDeposit") = TORA_TSTP_FCC_LackDeposit; - parent.attr("TORA_TSTP_FCC_ClientOverPositionLimit") = TORA_TSTP_FCC_ClientOverPositionLimit; - parent.attr("TORA_TSTP_FCC_MemberOverPositionLimit") = TORA_TSTP_FCC_MemberOverPositionLimit; - parent.attr("TORA_TSTP_FCC_NotMultiple") = TORA_TSTP_FCC_NotMultiple; - parent.attr("TORA_TSTP_FCC_Violation") = TORA_TSTP_FCC_Violation; - parent.attr("TORA_TSTP_FCC_Other") = TORA_TSTP_FCC_Other; - parent.attr("TORA_TSTP_EOT_Review") = TORA_TSTP_EOT_Review; - parent.attr("TORA_TSTP_EOT_Cancel") = TORA_TSTP_EOT_Cancel; - parent.attr("TORA_TSTP_EOT_Limit") = TORA_TSTP_EOT_Limit; - parent.attr("TORA_TSTP_EOT_FRC") = TORA_TSTP_EOT_FRC; - parent.attr("TORA_TSTP_EOT_FRL") = TORA_TSTP_EOT_FRL; - parent.attr("TORA_TSTP_EOT_BP") = TORA_TSTP_EOT_BP; - parent.attr("TORA_TSTP_EOT_HP") = TORA_TSTP_EOT_HP; - parent.attr("TORA_TSTP_EOT_FAK") = TORA_TSTP_EOT_FAK; - parent.attr("TORA_TSTP_EOT_FOK") = TORA_TSTP_EOT_FOK; - parent.attr("TORA_TSTP_TRNSD_In") = TORA_TSTP_TRNSD_In; - parent.attr("TORA_TSTP_TRNSD_Out") = TORA_TSTP_TRNSD_Out; - parent.attr("TORA_TSTP_TRNSD_MoveIn") = TORA_TSTP_TRNSD_MoveIn; - parent.attr("TORA_TSTP_TRNSD_MoveOut") = TORA_TSTP_TRNSD_MoveOut; - parent.attr("TORA_TSTP_TRNSD_Freeze") = TORA_TSTP_TRNSD_Freeze; - parent.attr("TORA_TSTP_TRNSD_UnFreeze") = TORA_TSTP_TRNSD_UnFreeze; - parent.attr("TORA_TSTP_TRNSD_StockToBank") = TORA_TSTP_TRNSD_StockToBank; - parent.attr("TORA_TSTP_TRNSD_BankToStock") = TORA_TSTP_TRNSD_BankToStock; - parent.attr("TORA_TSTP_CLTD_CollateralIn") = TORA_TSTP_CLTD_CollateralIn; - parent.attr("TORA_TSTP_CLTD_CollateralOut") = TORA_TSTP_CLTD_CollateralOut; - parent.attr("TORA_TSTP_TRANST_TranferHandling") = TORA_TSTP_TRANST_TranferHandling; - parent.attr("TORA_TSTP_TRANST_TransferSuccess") = TORA_TSTP_TRANST_TransferSuccess; - parent.attr("TORA_TSTP_TRANST_TransferFail") = TORA_TSTP_TRANST_TransferFail; - parent.attr("TORA_TSTP_TRANST_RepealHandling") = TORA_TSTP_TRANST_RepealHandling; - parent.attr("TORA_TSTP_TRANST_RepealSuccess") = TORA_TSTP_TRANST_RepealSuccess; - parent.attr("TORA_TSTP_TRANST_RepealFail") = TORA_TSTP_TRANST_RepealFail; - parent.attr("TORA_TSTP_TRANST_ExternalAccepted") = TORA_TSTP_TRANST_ExternalAccepted; - parent.attr("TORA_TSTP_TPT_ALL") = TORA_TSTP_TPT_ALL; - parent.attr("TORA_TSTP_TPT_History") = TORA_TSTP_TPT_History; - parent.attr("TORA_TSTP_TPT_TodayBS") = TORA_TSTP_TPT_TodayBS; - parent.attr("TORA_TSTP_TPT_TodayPR") = TORA_TSTP_TPT_TodayPR; - parent.attr("TORA_TSTP_OST_AllTraded") = TORA_TSTP_OST_AllTraded; - parent.attr("TORA_TSTP_OST_PartTradedQueueing") = TORA_TSTP_OST_PartTradedQueueing; - parent.attr("TORA_TSTP_OST_PartTradedNotQueueing") = TORA_TSTP_OST_PartTradedNotQueueing; - parent.attr("TORA_TSTP_OST_NoTradeQueueing") = TORA_TSTP_OST_NoTradeQueueing; - parent.attr("TORA_TSTP_OST_NoTradeNotQueueing") = TORA_TSTP_OST_NoTradeNotQueueing; - parent.attr("TORA_TSTP_OST_Canceled") = TORA_TSTP_OST_Canceled; - parent.attr("TORA_TSTP_OST_Unknown") = TORA_TSTP_OST_Unknown; - parent.attr("TORA_TSTP_OST_NotTouched") = TORA_TSTP_OST_NotTouched; - parent.attr("TORA_TSTP_OST_Touched") = TORA_TSTP_OST_Touched; - parent.attr("TORA_TSTP_OST_Cached") = TORA_TSTP_OST_Cached; - parent.attr("TORA_TSTP_COST_Initial") = TORA_TSTP_COST_Initial; - parent.attr("TORA_TSTP_COST_NotTouched") = TORA_TSTP_COST_NotTouched; - parent.attr("TORA_TSTP_COST_Touched") = TORA_TSTP_COST_Touched; - parent.attr("TORA_TSTP_COST_Finished") = TORA_TSTP_COST_Finished; - parent.attr("TORA_TSTP_COST_Cancel") = TORA_TSTP_COST_Cancel; - parent.attr("TORA_TSTP_COST_Failed") = TORA_TSTP_COST_Failed; - parent.attr("TORA_TSTP_OSS_UnSubmit") = TORA_TSTP_OSS_UnSubmit; - parent.attr("TORA_TSTP_OSS_InsertSubmitted") = TORA_TSTP_OSS_InsertSubmitted; - parent.attr("TORA_TSTP_OSS_CancelSubmitted") = TORA_TSTP_OSS_CancelSubmitted; - parent.attr("TORA_TSTP_OSS_ModifySubmitted") = TORA_TSTP_OSS_ModifySubmitted; - parent.attr("TORA_TSTP_OSS_Accepted") = TORA_TSTP_OSS_Accepted; - parent.attr("TORA_TSTP_OSS_InsertRejected") = TORA_TSTP_OSS_InsertRejected; - parent.attr("TORA_TSTP_OSS_CancelRejected") = TORA_TSTP_OSS_CancelRejected; - parent.attr("TORA_TSTP_OSS_ModifyRejected") = TORA_TSTP_OSS_ModifyRejected; - parent.attr("TORA_TSTP_ORDT_Normal") = TORA_TSTP_ORDT_Normal; - parent.attr("TORA_TSTP_ORDT_DeriveFromQuote") = TORA_TSTP_ORDT_DeriveFromQuote; - parent.attr("TORA_TSTP_ORDT_DeriveFromCombination") = TORA_TSTP_ORDT_DeriveFromCombination; - parent.attr("TORA_TSTP_ORDT_Combination") = TORA_TSTP_ORDT_Combination; - parent.attr("TORA_TSTP_ORDT_ConditionalOrder") = TORA_TSTP_ORDT_ConditionalOrder; - parent.attr("TORA_TSTP_ORDT_Swap") = TORA_TSTP_ORDT_Swap; - parent.attr("TORA_TSTP_OF_Open") = TORA_TSTP_OF_Open; - parent.attr("TORA_TSTP_OF_Close") = TORA_TSTP_OF_Close; - parent.attr("TORA_TSTP_OF_ForceClose") = TORA_TSTP_OF_ForceClose; - parent.attr("TORA_TSTP_OF_CloseToday") = TORA_TSTP_OF_CloseToday; - parent.attr("TORA_TSTP_OF_CloseYesterday") = TORA_TSTP_OF_CloseYesterday; - parent.attr("TORA_TSTP_OF_ForceOff") = TORA_TSTP_OF_ForceOff; - parent.attr("TORA_TSTP_OF_LocalForceClose") = TORA_TSTP_OF_LocalForceClose; - parent.attr("TORA_TSTP_HF_Speculation") = TORA_TSTP_HF_Speculation; - parent.attr("TORA_TSTP_HF_Arbitrage") = TORA_TSTP_HF_Arbitrage; - parent.attr("TORA_TSTP_HF_Hedge") = TORA_TSTP_HF_Hedge; - parent.attr("TORA_TSTP_HF_Covered") = TORA_TSTP_HF_Covered; - parent.attr("TORA_TSTP_AF_Delete") = TORA_TSTP_AF_Delete; - parent.attr("TORA_TSTP_AF_Modify") = TORA_TSTP_AF_Modify; - parent.attr("TORA_TSTP_AF_ForceDelete") = TORA_TSTP_AF_ForceDelete; - parent.attr("TORA_TSTP_OAS_Submitted") = TORA_TSTP_OAS_Submitted; - parent.attr("TORA_TSTP_OAS_Accepted") = TORA_TSTP_OAS_Accepted; - parent.attr("TORA_TSTP_OAS_Rejected") = TORA_TSTP_OAS_Rejected; - parent.attr("TORA_TSTP_OAS_Cached") = TORA_TSTP_OAS_Cached; - parent.attr("TORA_TSTP_CIDT_Unknown") = TORA_TSTP_CIDT_Unknown; - parent.attr("TORA_TSTP_CIDT_Speculation") = TORA_TSTP_CIDT_Speculation; - parent.attr("TORA_TSTP_CIDT_Arbitrage") = TORA_TSTP_CIDT_Arbitrage; - parent.attr("TORA_TSTP_CIDT_Hedge") = TORA_TSTP_CIDT_Hedge; - parent.attr("TORA_TSTP_CIDT_Normal") = TORA_TSTP_CIDT_Normal; - parent.attr("TORA_TSTP_CIDT_Credit") = TORA_TSTP_CIDT_Credit; - parent.attr("TORA_TSTP_CIDT_Derivatives") = TORA_TSTP_CIDT_Derivatives; - parent.attr("TORA_TSTP_BC_Buy") = TORA_TSTP_BC_Buy; - parent.attr("TORA_TSTP_BC_Sell") = TORA_TSTP_BC_Sell; - parent.attr("TORA_TSTP_BC_ETFPur") = TORA_TSTP_BC_ETFPur; - parent.attr("TORA_TSTP_BC_ETFRed") = TORA_TSTP_BC_ETFRed; - parent.attr("TORA_TSTP_BC_Repurchase") = TORA_TSTP_BC_Repurchase; - parent.attr("TORA_TSTP_BC_ReverseRepur") = TORA_TSTP_BC_ReverseRepur; - parent.attr("TORA_TSTP_BC_Rationed") = TORA_TSTP_BC_Rationed; - parent.attr("TORA_TSTP_BC_CustodyTransfer") = TORA_TSTP_BC_CustodyTransfer; - parent.attr("TORA_TSTP_BC_BuyOpen") = TORA_TSTP_BC_BuyOpen; - parent.attr("TORA_TSTP_BC_BuyClose") = TORA_TSTP_BC_BuyClose; - parent.attr("TORA_TSTP_BC_SellOpen") = TORA_TSTP_BC_SellOpen; - parent.attr("TORA_TSTP_BC_SellClose") = TORA_TSTP_BC_SellClose; - parent.attr("TORA_TSTP_BC_CoveredOpen") = TORA_TSTP_BC_CoveredOpen; - parent.attr("TORA_TSTP_BC_CoveredClose") = TORA_TSTP_BC_CoveredClose; - parent.attr("TORA_TSTP_BC_ExecOrder") = TORA_TSTP_BC_ExecOrder; - parent.attr("TORA_TSTP_BC_AutoExecOrder") = TORA_TSTP_BC_AutoExecOrder; - parent.attr("TORA_TSTP_CPT_Normal") = TORA_TSTP_CPT_Normal; - parent.attr("TORA_TSTP_CPT_Special") = TORA_TSTP_CPT_Special; - parent.attr("TORA_TSTP_FID_NAN") = TORA_TSTP_FID_NAN; - parent.attr("TORA_TSTP_FID_SessionManager") = TORA_TSTP_FID_SessionManager; - parent.attr("TORA_TSTP_FID_UserManager") = TORA_TSTP_FID_UserManager; - parent.attr("TORA_TSTP_FID_OrderInsert") = TORA_TSTP_FID_OrderInsert; - parent.attr("TORA_TSTP_FID_OrderAction") = TORA_TSTP_FID_OrderAction; - parent.attr("TORA_TSTP_FID_AdjustTradingRight") = TORA_TSTP_FID_AdjustTradingRight; - parent.attr("TORA_TSTP_FID_MoveFund") = TORA_TSTP_FID_MoveFund; - parent.attr("TORA_TSTP_FID_AddFund") = TORA_TSTP_FID_AddFund; - parent.attr("TORA_TSTP_FID_SubFund") = TORA_TSTP_FID_SubFund; - parent.attr("TORA_TSTP_FID_ForceFreezeFund") = TORA_TSTP_FID_ForceFreezeFund; - parent.attr("TORA_TSTP_FID_ForceUnFreezeFund") = TORA_TSTP_FID_ForceUnFreezeFund; - parent.attr("TORA_TSTP_FID_AddPosition") = TORA_TSTP_FID_AddPosition; - parent.attr("TORA_TSTP_FID_SubPosition") = TORA_TSTP_FID_SubPosition; - parent.attr("TORA_TSTP_FID_RepealFund") = TORA_TSTP_FID_RepealFund; - parent.attr("TORA_TSTP_FID_RepealPosition") = TORA_TSTP_FID_RepealPosition; - parent.attr("TORA_TSTP_FID_CollateralInJZ") = TORA_TSTP_FID_CollateralInJZ; - parent.attr("TORA_TSTP_FID_AdjustTradingFee") = TORA_TSTP_FID_AdjustTradingFee; - parent.attr("TORA_TSTP_FID_AdjustSpecPrivilege") = TORA_TSTP_FID_AdjustSpecPrivilege; - parent.attr("TORA_TSTP_FID_AdjustShareholderAssociation") = TORA_TSTP_FID_AdjustShareholderAssociation; - parent.attr("TORA_TSTP_FID_AdjustSecurity") = TORA_TSTP_FID_AdjustSecurity; - parent.attr("TORA_TSTP_FID_MovePosition") = TORA_TSTP_FID_MovePosition; - parent.attr("TORA_TSTP_FID_AdjustShareholderParam") = TORA_TSTP_FID_AdjustShareholderParam; - parent.attr("TORA_TSTP_FID_CondOrderInsert") = TORA_TSTP_FID_CondOrderInsert; - parent.attr("TORA_TSTP_FID_CondOrderAction") = TORA_TSTP_FID_CondOrderAction; - parent.attr("TORA_TSTP_FID_QryCondOrder") = TORA_TSTP_FID_QryCondOrder; - parent.attr("TORA_TSTP_FID_CondParamAdjust") = TORA_TSTP_FID_CondParamAdjust; - parent.attr("TORA_TSTP_FID_UserRoleManage") = TORA_TSTP_FID_UserRoleManage; - parent.attr("TORA_TSTP_FID_TradingFeeTemplateManage") = TORA_TSTP_FID_TradingFeeTemplateManage; - parent.attr("TORA_TSTP_FID_TradingRightTemplateManage") = TORA_TSTP_FID_TradingRightTemplateManage; - parent.attr("TORA_TSTP_FID_SecurityPriorAuthManage") = TORA_TSTP_FID_SecurityPriorAuthManage; - parent.attr("TORA_TSTP_FID_PosiParamManage") = TORA_TSTP_FID_PosiParamManage; - parent.attr("TORA_TSTP_FID_OrderLocalSeqPrefixAdjust") = TORA_TSTP_FID_OrderLocalSeqPrefixAdjust; - parent.attr("TORA_TSTP_FID_TraderManage") = TORA_TSTP_FID_TraderManage; - parent.attr("TORA_TSTP_FID_IPOManage") = TORA_TSTP_FID_IPOManage; - parent.attr("TORA_TSTP_FID_AppRunManage") = TORA_TSTP_FID_AppRunManage; - parent.attr("TORA_TSTP_FID_MarketStatusManage") = TORA_TSTP_FID_MarketStatusManage; - parent.attr("TORA_TSTP_FID_PlatformStatusManage") = TORA_TSTP_FID_PlatformStatusManage; - parent.attr("TORA_TSTP_FID_QryTradingAccount") = TORA_TSTP_FID_QryTradingAccount; - parent.attr("TORA_TSTP_FID_QryPositon") = TORA_TSTP_FID_QryPositon; - parent.attr("TORA_TSTP_FID_QryShareholderAccount") = TORA_TSTP_FID_QryShareholderAccount; - parent.attr("TORA_TSTP_FID_QryOrder") = TORA_TSTP_FID_QryOrder; - parent.attr("TORA_TSTP_FID_QryTrade") = TORA_TSTP_FID_QryTrade; - parent.attr("TORA_TSTP_FID_QryFundSerial") = TORA_TSTP_FID_QryFundSerial; - parent.attr("TORA_TSTP_FID_QryPositionSerial") = TORA_TSTP_FID_QryPositionSerial; - parent.attr("TORA_TSTP_FID_DumpTradingAccount") = TORA_TSTP_FID_DumpTradingAccount; - parent.attr("TORA_TSTP_FID_DumpPositon") = TORA_TSTP_FID_DumpPositon; - parent.attr("TORA_TSTP_FID_DumpShareholderAccount") = TORA_TSTP_FID_DumpShareholderAccount; - parent.attr("TORA_TSTP_FID_DumpOrder") = TORA_TSTP_FID_DumpOrder; - parent.attr("TORA_TSTP_FID_DumpTrade") = TORA_TSTP_FID_DumpTrade; - parent.attr("TORA_TSTP_FID_DumpFundSerial") = TORA_TSTP_FID_DumpFundSerial; - parent.attr("TORA_TSTP_FID_DumpPositionSerial") = TORA_TSTP_FID_DumpPositionSerial; - parent.attr("TORA_TSTP_FID_UploadTradeData") = TORA_TSTP_FID_UploadTradeData; - parent.attr("TORA_TSTP_FID_ReviewFundAdjust") = TORA_TSTP_FID_ReviewFundAdjust; - parent.attr("TORA_TSTP_FID_ReviewPositionAdjust") = TORA_TSTP_FID_ReviewPositionAdjust; - parent.attr("TORA_TSTP_FID_RecordOperateLog") = TORA_TSTP_FID_RecordOperateLog; - parent.attr("TORA_TSTP_FID_TerminalInfoManage") = TORA_TSTP_FID_TerminalInfoManage; - parent.attr("TORA_TSTP_FID_QryTradingRight") = TORA_TSTP_FID_QryTradingRight; - parent.attr("TORA_TSTP_FID_DesignationRegistration") = TORA_TSTP_FID_DesignationRegistration; - parent.attr("TORA_TSTP_FID_CustodyTransfer") = TORA_TSTP_FID_CustodyTransfer; - parent.attr("TORA_TSTP_FID_ForceDelete") = TORA_TSTP_FID_ForceDelete; - parent.attr("TORA_TSTP_FID_RiskMgr") = TORA_TSTP_FID_RiskMgr; - parent.attr("TORA_TSTP_FID_ReviewUserIPLimitAdjust") = TORA_TSTP_FID_ReviewUserIPLimitAdjust; - parent.attr("TORA_TSTP_FID_AdjustUserIPLimit") = TORA_TSTP_FID_AdjustUserIPLimit; - parent.attr("TORA_TSTP_FID_AdjustSystemParam") = TORA_TSTP_FID_AdjustSystemParam; - parent.attr("TORA_TSTP_FID_DepartmentInfoManage") = TORA_TSTP_FID_DepartmentInfoManage; - parent.attr("TORA_TSTP_FID_IPONumberMatchManage") = TORA_TSTP_FID_IPONumberMatchManage; - parent.attr("TORA_TSTP_FID_CustomerInfoManage") = TORA_TSTP_FID_CustomerInfoManage; - parent.attr("TORA_TSTP_FID_QryTradeEvent") = TORA_TSTP_FID_QryTradeEvent; - parent.attr("TORA_TSTP_FID_ExchRtnSeqManage") = TORA_TSTP_FID_ExchRtnSeqManage; - parent.attr("TORA_TSTP_FID_TransferFund") = TORA_TSTP_FID_TransferFund; - parent.attr("TORA_TSTP_STP_COMMON") = TORA_TSTP_STP_COMMON; - parent.attr("TORA_TSTP_STP_SHAShares") = TORA_TSTP_STP_SHAShares; - parent.attr("TORA_TSTP_STP_SHSingleMarketStockETF") = TORA_TSTP_STP_SHSingleMarketStockETF; - parent.attr("TORA_TSTP_STP_SHSingleMarketBondETF") = TORA_TSTP_STP_SHSingleMarketBondETF; - parent.attr("TORA_TSTP_STP_SHGoldETF") = TORA_TSTP_STP_SHGoldETF; - parent.attr("TORA_TSTP_STP_SHTradableMonetaryFund") = TORA_TSTP_STP_SHTradableMonetaryFund; - parent.attr("TORA_TSTP_STP_SHBondNation") = TORA_TSTP_STP_SHBondNation; - parent.attr("TORA_TSTP_STP_SHBondCorporation") = TORA_TSTP_STP_SHBondCorporation; - parent.attr("TORA_TSTP_STP_SHBondCompany") = TORA_TSTP_STP_SHBondCompany; - parent.attr("TORA_TSTP_STP_SHBondConversion") = TORA_TSTP_STP_SHBondConversion; - parent.attr("TORA_TSTP_STP_SHBondSeparation") = TORA_TSTP_STP_SHBondSeparation; - parent.attr("TORA_TSTP_STP_SHASharesOption") = TORA_TSTP_STP_SHASharesOption; - parent.attr("TORA_TSTP_STP_SHETFOption") = TORA_TSTP_STP_SHETFOption; - parent.attr("TORA_TSTP_STP_SHAllotment") = TORA_TSTP_STP_SHAllotment; - parent.attr("TORA_TSTP_STP_SHDistributeDebt") = TORA_TSTP_STP_SHDistributeDebt; - parent.attr("TORA_TSTP_STP_SHStandard") = TORA_TSTP_STP_SHStandard; - parent.attr("TORA_TSTP_STP_SHRepo") = TORA_TSTP_STP_SHRepo; - parent.attr("TORA_TSTP_STP_SHCEFund") = TORA_TSTP_STP_SHCEFund; - parent.attr("TORA_TSTP_STP_SHOEFund") = TORA_TSTP_STP_SHOEFund; - parent.attr("TORA_TSTP_STP_SHCrossMarketStockETF") = TORA_TSTP_STP_SHCrossMarketStockETF; - parent.attr("TORA_TSTP_STP_SHCrossBorderETF") = TORA_TSTP_STP_SHCrossBorderETF; - parent.attr("TORA_TSTP_STP_SHMontherStructFund") = TORA_TSTP_STP_SHMontherStructFund; - parent.attr("TORA_TSTP_STP_SHSubStructFund") = TORA_TSTP_STP_SHSubStructFund; - parent.attr("TORA_TSTP_STP_SHRealTimeMonetaryFund") = TORA_TSTP_STP_SHRealTimeMonetaryFund; - parent.attr("TORA_TSTP_STP_SHExchangeableBond") = TORA_TSTP_STP_SHExchangeableBond; - parent.attr("TORA_TSTP_STP_SHLOF") = TORA_TSTP_STP_SHLOF; - parent.attr("TORA_TSTP_STP_SZMainAShares") = TORA_TSTP_STP_SZMainAShares; - parent.attr("TORA_TSTP_STP_SZSME") = TORA_TSTP_STP_SZSME; - parent.attr("TORA_TSTP_STP_SZBondNation") = TORA_TSTP_STP_SZBondNation; - parent.attr("TORA_TSTP_STP_SZBondCorporation") = TORA_TSTP_STP_SZBondCorporation; - parent.attr("TORA_TSTP_STP_SZBondCompany") = TORA_TSTP_STP_SZBondCompany; - parent.attr("TORA_TSTP_STP_SZBondConversion") = TORA_TSTP_STP_SZBondConversion; - parent.attr("TORA_TSTP_STP_SZBondSeparation") = TORA_TSTP_STP_SZBondSeparation; - parent.attr("TORA_TSTP_STP_SZASharesOption") = TORA_TSTP_STP_SZASharesOption; - parent.attr("TORA_TSTP_STP_SZETFOption") = TORA_TSTP_STP_SZETFOption; - parent.attr("TORA_TSTP_STP_SZCrossBorderETF") = TORA_TSTP_STP_SZCrossBorderETF; - parent.attr("TORA_TSTP_STP_SZGoldETF") = TORA_TSTP_STP_SZGoldETF; - parent.attr("TORA_TSTP_STP_SZCashBondETF") = TORA_TSTP_STP_SZCashBondETF; - parent.attr("TORA_TSTP_STP_SZSingleMarketStockETF") = TORA_TSTP_STP_SZSingleMarketStockETF; - parent.attr("TORA_TSTP_STP_SZSingleMarketBondETF") = TORA_TSTP_STP_SZSingleMarketBondETF; - parent.attr("TORA_TSTP_STP_SZMonetaryFundETF") = TORA_TSTP_STP_SZMonetaryFundETF; - parent.attr("TORA_TSTP_STP_SZGEM") = TORA_TSTP_STP_SZGEM; - parent.attr("TORA_TSTP_STP_SZAllotment") = TORA_TSTP_STP_SZAllotment; - parent.attr("TORA_TSTP_STP_SZDistributeDebt") = TORA_TSTP_STP_SZDistributeDebt; - parent.attr("TORA_TSTP_STP_SZStandard") = TORA_TSTP_STP_SZStandard; - parent.attr("TORA_TSTP_STP_SZRepo") = TORA_TSTP_STP_SZRepo; - parent.attr("TORA_TSTP_STP_SZCEFund") = TORA_TSTP_STP_SZCEFund; - parent.attr("TORA_TSTP_STP_SZOEFund") = TORA_TSTP_STP_SZOEFund; - parent.attr("TORA_TSTP_STP_SZCrossBorderOEFund") = TORA_TSTP_STP_SZCrossBorderOEFund; - parent.attr("TORA_TSTP_STP_SZCrossMarketStockETF") = TORA_TSTP_STP_SZCrossMarketStockETF; - parent.attr("TORA_TSTP_STP_SZLOF") = TORA_TSTP_STP_SZLOF; - parent.attr("TORA_TSTP_STP_SZCrossBorderLOF") = TORA_TSTP_STP_SZCrossBorderLOF; - parent.attr("TORA_TSTP_STP_SZMontherStructFund") = TORA_TSTP_STP_SZMontherStructFund; - parent.attr("TORA_TSTP_STP_SZSubStructFund") = TORA_TSTP_STP_SZSubStructFund; - parent.attr("TORA_TSTP_STP_SZMontherCrossBorderStructFund") = TORA_TSTP_STP_SZMontherCrossBorderStructFund; - parent.attr("TORA_TSTP_STP_SZSubCrossBorderStructFund") = TORA_TSTP_STP_SZSubCrossBorderStructFund; - parent.attr("TORA_TSTP_STP_SZExchangeableBond") = TORA_TSTP_STP_SZExchangeableBond; - parent.attr("TORA_TSTP_STP_SZGEMConversionBond") = TORA_TSTP_STP_SZGEMConversionBond; - parent.attr("TORA_TSTP_EF_ToBeContinued") = TORA_TSTP_EF_ToBeContinued; - parent.attr("TORA_TSTP_EF_BatchEnd") = TORA_TSTP_EF_BatchEnd; - parent.attr("TORA_TSTP_EF_Completed") = TORA_TSTP_EF_Completed; - parent.attr("TORA_TSTP_EF_NOP") = TORA_TSTP_EF_NOP; - parent.attr("TORA_TSTP_MKD_COMMON") = TORA_TSTP_MKD_COMMON; - parent.attr("TORA_TSTP_MKD_SHA") = TORA_TSTP_MKD_SHA; - parent.attr("TORA_TSTP_MKD_SZA") = TORA_TSTP_MKD_SZA; - parent.attr("TORA_TSTP_MKD_SHB") = TORA_TSTP_MKD_SHB; - parent.attr("TORA_TSTP_MKD_SZB") = TORA_TSTP_MKD_SZB; - parent.attr("TORA_TSTP_MKD_SZThreeA") = TORA_TSTP_MKD_SZThreeA; - parent.attr("TORA_TSTP_MKD_SZThreeB") = TORA_TSTP_MKD_SZThreeB; - parent.attr("TORA_TSTP_MKD_Foreign") = TORA_TSTP_MKD_Foreign; - parent.attr("TORA_TSTP_LACT_UserID") = TORA_TSTP_LACT_UserID; - parent.attr("TORA_TSTP_LACT_AccountID") = TORA_TSTP_LACT_AccountID; - parent.attr("TORA_TSTP_LACT_SHAStock") = TORA_TSTP_LACT_SHAStock; - parent.attr("TORA_TSTP_LACT_SZAStock") = TORA_TSTP_LACT_SZAStock; - parent.attr("TORA_TSTP_LACT_SHBStock") = TORA_TSTP_LACT_SHBStock; - parent.attr("TORA_TSTP_LACT_SZBStock") = TORA_TSTP_LACT_SZBStock; - parent.attr("TORA_TSTP_LACT_ThreeNewBoardA") = TORA_TSTP_LACT_ThreeNewBoardA; - parent.attr("TORA_TSTP_LACT_ThreeNewBoardB") = TORA_TSTP_LACT_ThreeNewBoardB; - parent.attr("TORA_TSTP_LACT_HKStock") = TORA_TSTP_LACT_HKStock; - parent.attr("TORA_TSTP_MST_UnKnown") = TORA_TSTP_MST_UnKnown; - parent.attr("TORA_TSTP_MST_BeforeTrading") = TORA_TSTP_MST_BeforeTrading; - parent.attr("TORA_TSTP_MST_Continous") = TORA_TSTP_MST_Continous; - parent.attr("TORA_TSTP_MST_Closed") = TORA_TSTP_MST_Closed; - parent.attr("TORA_TSTP_MST_OpenCallAuction") = TORA_TSTP_MST_OpenCallAuction; - parent.attr("TORA_TSTP_ARM_Single") = TORA_TSTP_ARM_Single; - parent.attr("TORA_TSTP_ARM_Group") = TORA_TSTP_ARM_Group; - parent.attr("TORA_TSTP_DT_Register") = TORA_TSTP_DT_Register; - parent.attr("TORA_TSTP_DT_Cancel") = TORA_TSTP_DT_Cancel; - parent.attr("TORA_TSTP_CT_Register") = TORA_TSTP_CT_Register; - parent.attr("TORA_TSTP_CT_Cancel") = TORA_TSTP_CT_Cancel; - parent.attr("TORA_TSTP_PCBT_None") = TORA_TSTP_PCBT_None; - parent.attr("TORA_TSTP_PCBT_Other") = TORA_TSTP_PCBT_Other; - parent.attr("TORA_TSTP_PCBT_SHDelisting") = TORA_TSTP_PCBT_SHDelisting; - parent.attr("TORA_TSTP_PCBT_ST") = TORA_TSTP_PCBT_ST; - parent.attr("TORA_TSTP_PCBT_GEM") = TORA_TSTP_PCBT_GEM; - parent.attr("TORA_TSTP_PCBT_StructFund") = TORA_TSTP_PCBT_StructFund; - parent.attr("TORA_TSTP_PCBT_BondQualified") = TORA_TSTP_PCBT_BondQualified; - parent.attr("TORA_TSTP_PCBT_SuspendBond") = TORA_TSTP_PCBT_SuspendBond; - parent.attr("TORA_TSTP_PCBT_Repurchase") = TORA_TSTP_PCBT_Repurchase; - parent.attr("TORA_TSTP_PCBT_ReverseRepur") = TORA_TSTP_PCBT_ReverseRepur; - parent.attr("TORA_TSTP_PCBT_SZDelisting") = TORA_TSTP_PCBT_SZDelisting; - parent.attr("TORA_TSTP_PCBT_Stock") = TORA_TSTP_PCBT_Stock; - parent.attr("TORA_TSTP_PCBT_CreditStock") = TORA_TSTP_PCBT_CreditStock; - parent.attr("TORA_TSTP_PCPF_None") = TORA_TSTP_PCPF_None; - parent.attr("TORA_TSTP_PCPF_AnywayPass") = TORA_TSTP_PCPF_AnywayPass; - parent.attr("TORA_TSTP_PCPF_MatchPass") = TORA_TSTP_PCPF_MatchPass; - parent.attr("TORA_TSTP_PCPF_SelectPass") = TORA_TSTP_PCPF_SelectPass; - parent.attr("TORA_TSTP_PCPF_ProfInvestorPass") = TORA_TSTP_PCPF_ProfInvestorPass; - parent.attr("TORA_TSTP_RLV_Lowest") = TORA_TSTP_RLV_Lowest; - parent.attr("TORA_TSTP_RLV_Conservative") = TORA_TSTP_RLV_Conservative; - parent.attr("TORA_TSTP_RLV_Cautious") = TORA_TSTP_RLV_Cautious; - parent.attr("TORA_TSTP_RLV_Steady") = TORA_TSTP_RLV_Steady; - parent.attr("TORA_TSTP_RLV_Positive") = TORA_TSTP_RLV_Positive; - parent.attr("TORA_TSTP_RLV_Aggressive") = TORA_TSTP_RLV_Aggressive; - parent.attr("TORA_TSTP_PIT_NotProf") = TORA_TSTP_PIT_NotProf; - parent.attr("TORA_TSTP_PIT_OCInstiPro") = TORA_TSTP_PIT_OCInstiPro; - parent.attr("TORA_TSTP_PIT_InstiPro") = TORA_TSTP_PIT_InstiPro; - parent.attr("TORA_TSTP_PIT_PersonPro") = TORA_TSTP_PIT_PersonPro; - parent.attr("TORA_TSTP_PIT_ConfirmInstiPro") = TORA_TSTP_PIT_ConfirmInstiPro; - parent.attr("TORA_TSTP_PIT_ConfirmPersonPro") = TORA_TSTP_PIT_ConfirmPersonPro; - parent.attr("TORA_TSTP_LOT_Market") = TORA_TSTP_LOT_Market; - parent.attr("TORA_TSTP_LOT_Limit") = TORA_TSTP_LOT_Limit; - parent.attr("TORA_TSTP_LOT_HomeBest") = TORA_TSTP_LOT_HomeBest; - parent.attr("TORA_TSTP_LSD_Buy") = TORA_TSTP_LSD_Buy; - parent.attr("TORA_TSTP_LSD_Sell") = TORA_TSTP_LSD_Sell; - parent.attr("TORA_TSTP_LSD_Borrow") = TORA_TSTP_LSD_Borrow; - parent.attr("TORA_TSTP_LSD_Lend") = TORA_TSTP_LSD_Lend; - parent.attr("TORA_TSTP_ECT_Fill") = TORA_TSTP_ECT_Fill; - parent.attr("TORA_TSTP_ECT_Cancel") = TORA_TSTP_ECT_Cancel; - parent.attr("TORA_TSTP_CCT_None") = TORA_TSTP_CCT_None; - parent.attr("TORA_TSTP_CCT_SelfDeal") = TORA_TSTP_CCT_SelfDeal; - parent.attr("TORA_TSTP_MST_TCP") = TORA_TSTP_MST_TCP; - parent.attr("TORA_TSTP_MST_UDP") = TORA_TSTP_MST_UDP; - parent.attr("TORA_TSTP_MST_MCAST") = TORA_TSTP_MST_MCAST; - parent.attr("TORA_TSTP_MSST_PreOpen") = TORA_TSTP_MSST_PreOpen; - parent.attr("TORA_TSTP_MSST_CallAuction") = TORA_TSTP_MSST_CallAuction; - parent.attr("TORA_TSTP_MSST_Continous") = TORA_TSTP_MSST_Continous; - parent.attr("TORA_TSTP_MSST_Pause") = TORA_TSTP_MSST_Pause; - parent.attr("TORA_TSTP_MSST_Suspend") = TORA_TSTP_MSST_Suspend; - parent.attr("TORA_TSTP_MSST_LongSuspend") = TORA_TSTP_MSST_LongSuspend; - parent.attr("TORA_TSTP_MSST_UndulationInt") = TORA_TSTP_MSST_UndulationInt; - parent.attr("TORA_TSTP_MSST_CircuitBreak") = TORA_TSTP_MSST_CircuitBreak; - parent.attr("TORA_TSTP_MSST_CircuitBreakU") = TORA_TSTP_MSST_CircuitBreakU; - parent.attr("TORA_TSTP_MSST_Close") = TORA_TSTP_MSST_Close; - parent.attr("TORA_TSTP_MSST_Other") = TORA_TSTP_MSST_Other; - parent.attr("TORA_TSTP_MSST_CloseCallAuction") = TORA_TSTP_MSST_CloseCallAuction; - parent.attr("TORA_TSTP_FOCS_Init") = TORA_TSTP_FOCS_Init; - parent.attr("TORA_TSTP_FOCS_Reviewed") = TORA_TSTP_FOCS_Reviewed; - parent.attr("TORA_TSTP_FOCS_Failed") = TORA_TSTP_FOCS_Failed; - parent.attr("TORA_TSTP_SPT_MaxBuyLimit") = TORA_TSTP_SPT_MaxBuyLimit; - parent.attr("TORA_TSTP_SPT_MaxSellLimit") = TORA_TSTP_SPT_MaxSellLimit; - parent.attr("TORA_TSTP_SPT_LargeBuyLimitRatio") = TORA_TSTP_SPT_LargeBuyLimitRatio; - parent.attr("TORA_TSTP_SPT_LargeSelLimitRatio") = TORA_TSTP_SPT_LargeSelLimitRatio; - parent.attr("TORA_TSTP_SPT_RiskWarnBoardLimitVol") = TORA_TSTP_SPT_RiskWarnBoardLimitVol; - parent.attr("TORA_TSTP_SPT_SeriesDecInterval") = TORA_TSTP_SPT_SeriesDecInterval; - parent.attr("TORA_TSTP_SPT_SeriesLimitPerUnit") = TORA_TSTP_SPT_SeriesLimitPerUnit; - parent.attr("TORA_TSTP_SPT_ClosePriceScopeRatio") = TORA_TSTP_SPT_ClosePriceScopeRatio; - parent.attr("TORA_TSTP_SPT_OpenDateLimit") = TORA_TSTP_SPT_OpenDateLimit; - parent.attr("TORA_TSTP_SPT_LimitBoardShamRatio") = TORA_TSTP_SPT_LimitBoardShamRatio; - parent.attr("TORA_TSTP_SPT_CancelOrderRatio") = TORA_TSTP_SPT_CancelOrderRatio; - generate_caster_(parent); -} diff --git a/vnpy/api/tora/vntora/generated_files/generated_functions_1.cpp b/vnpy/api/tora/vntora/generated_files/generated_functions_1.cpp deleted file mode 100644 index b191684499..0000000000 --- a/vnpy/api/tora/vntora/generated_files/generated_functions_1.cpp +++ /dev/null @@ -1,554 +0,0 @@ -#include "config.h" - -#include -#include -#include -#include - -#include "module.hpp" -#include "wrappers.hpp" -#include "generated_functions.h" - -#include "TORATstpMdApi.h" -#include "TORATstpTraderApi.h" -#include "TORATstpUserApiDataType.h" -#include "TORATstpUserApiStruct.h" - - -void generate_class_CTORATstpFensUserInfoField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpFensUserInfoField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFensUserInfoField, "LogInAccount", LogInAccount); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFensUserInfoField, "LogInAccountType", LogInAccountType); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpFensUserInfoField, c); - module_vntora::objects.emplace("CTORATstpFensUserInfoField", c); -} -void generate_class_CTORATstpEffectPriceMarketDataField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpEffectPriceMarketDataField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpEffectPriceMarketDataField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpEffectPriceMarketDataField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpEffectPriceMarketDataField, "LastPrice", LastPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpEffectPriceMarketDataField, "TotalVolume", TotalVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpEffectPriceMarketDataField, "Turnover", Turnover); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpEffectPriceMarketDataField, "UpdateTime", UpdateTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpEffectPriceMarketDataField, "UpdateMillisec", UpdateMillisec); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpEffectPriceMarketDataField, c); - module_vntora::objects.emplace("CTORATstpEffectPriceMarketDataField", c); -} -void generate_class_CTORATstpEffectVolumeMarketDataField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpEffectVolumeMarketDataField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpEffectVolumeMarketDataField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpEffectVolumeMarketDataField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpEffectVolumeMarketDataField, "LastPrice", LastPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpEffectVolumeMarketDataField, "TotalVolume", TotalVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpEffectVolumeMarketDataField, "Turnover", Turnover); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpEffectVolumeMarketDataField, "UpdateTime", UpdateTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpEffectVolumeMarketDataField, "UpdateMillisec", UpdateMillisec); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpEffectVolumeMarketDataField, c); - module_vntora::objects.emplace("CTORATstpEffectVolumeMarketDataField", c); -} -void generate_class_CTORATstpFundsFlowMarketDataField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpFundsFlowMarketDataField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "UpdateTime", UpdateTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "UpdateMillisec", UpdateMillisec); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "RetailBuyTurnover", RetailBuyTurnover); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "RetailBuyVolume", RetailBuyVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "RetailBuyAmount", RetailBuyAmount); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "RetailSellTurnover", RetailSellTurnover); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "RetailSellVolume", RetailSellVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "RetailSellAmount", RetailSellAmount); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "MiddleBuyTurnover", MiddleBuyTurnover); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "MiddleBuyVolume", MiddleBuyVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "MiddleBuyAmount", MiddleBuyAmount); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "MiddleSellTurnover", MiddleSellTurnover); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "MiddleSellVolume", MiddleSellVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "MiddleSellAmount", MiddleSellAmount); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "LargeBuyTurnover", LargeBuyTurnover); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "LargeBuyVolume", LargeBuyVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "LargeBuyAmount", LargeBuyAmount); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "LargeSellTurnover", LargeSellTurnover); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "LargeSellVolume", LargeSellVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "LargeSellAmount", LargeSellAmount); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "InstitutionBuyTurnover", InstitutionBuyTurnover); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "InstitutionBuyVolume", InstitutionBuyVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "InstitutionBuyAmount", InstitutionBuyAmount); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "InstitutionSellTurnover", InstitutionSellTurnover); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "InstitutionSellVolume", InstitutionSellVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundsFlowMarketDataField, "InstitutionSellAmount", InstitutionSellAmount); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpFundsFlowMarketDataField, c); - module_vntora::objects.emplace("CTORATstpFundsFlowMarketDataField", c); -} -void generate_class_CTORATstpReqUserLoginField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpReqUserLoginField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqUserLoginField, "LogInAccount", LogInAccount); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqUserLoginField, "LogInAccountType", LogInAccountType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqUserLoginField, "Password", Password); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqUserLoginField, "UserProductInfo", UserProductInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqUserLoginField, "InterfaceProductInfo", InterfaceProductInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqUserLoginField, "ProtocolInfo", ProtocolInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqUserLoginField, "MacAddress", MacAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqUserLoginField, "OneTimePassword", OneTimePassword); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqUserLoginField, "ClientIPAddress", ClientIPAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqUserLoginField, "Lang", Lang); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqUserLoginField, "TerminalInfo", TerminalInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqUserLoginField, "GWMacAddress", GWMacAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqUserLoginField, "GWInnerIPAddress", GWInnerIPAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqUserLoginField, "GWOuterIPAddress", GWOuterIPAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqUserLoginField, "DepartmentID", DepartmentID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqUserLoginField, "HDSerial", HDSerial); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqUserLoginField, "AuthMode", AuthMode); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqUserLoginField, "DeviceID", DeviceID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqUserLoginField, "DeviceSerial", DeviceSerial); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpReqUserLoginField, c); - module_vntora::objects.emplace("CTORATstpReqUserLoginField", c); -} -void generate_class_CTORATstpRspUserLoginField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpRspUserLoginField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspUserLoginField, "LoginTime", LoginTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspUserLoginField, "LogInAccount", LogInAccount); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspUserLoginField, "LogInAccountType", LogInAccountType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspUserLoginField, "SystemName", SystemName); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspUserLoginField, "FrontID", FrontID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspUserLoginField, "SessionID", SessionID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspUserLoginField, "MaxOrderRef", MaxOrderRef); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspUserLoginField, "PrivateFlowCount", PrivateFlowCount); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspUserLoginField, "PublicFlowCount", PublicFlowCount); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspUserLoginField, "TradingDay", TradingDay); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspUserLoginField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspUserLoginField, "UserName", UserName); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspUserLoginField, "UserType", UserType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspUserLoginField, "DepartmentID", DepartmentID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspUserLoginField, "ClientIPAddress", ClientIPAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspUserLoginField, "MacAddress", MacAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspUserLoginField, "HDSerial", HDSerial); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspUserLoginField, "CommFlux", CommFlux); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpRspUserLoginField, c); - module_vntora::objects.emplace("CTORATstpRspUserLoginField", c); -} -void generate_class_CTORATstpRspInfoField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpRspInfoField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInfoField, "ErrorID", ErrorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInfoField, "ErrorMsg", ErrorMsg); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpRspInfoField, c); - module_vntora::objects.emplace("CTORATstpRspInfoField", c); -} -void generate_class_CTORATstpUserLogoutField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpUserLogoutField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpUserLogoutField, "UserID", UserID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpUserLogoutField, c); - module_vntora::objects.emplace("CTORATstpUserLogoutField", c); -} -void generate_class_CTORATstpForceUserLogoutField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpForceUserLogoutField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpForceUserLogoutField, "UserID", UserID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpForceUserLogoutField, c); - module_vntora::objects.emplace("CTORATstpForceUserLogoutField", c); -} -void generate_class_CTORATstpUserPasswordUpdateField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpUserPasswordUpdateField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpUserPasswordUpdateField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpUserPasswordUpdateField, "OldPassword", OldPassword); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpUserPasswordUpdateField, "NewPassword", NewPassword); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpUserPasswordUpdateField, c); - module_vntora::objects.emplace("CTORATstpUserPasswordUpdateField", c); -} -void generate_class_CTORATstpReqInputDeviceSerialField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpReqInputDeviceSerialField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInputDeviceSerialField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInputDeviceSerialField, "DeviceID", DeviceID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInputDeviceSerialField, "DeviceSerial", DeviceSerial); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpReqInputDeviceSerialField, c); - module_vntora::objects.emplace("CTORATstpReqInputDeviceSerialField", c); -} -void generate_class_CTORATstpRspInputDeviceSerialField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpRspInputDeviceSerialField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInputDeviceSerialField, "UserID", UserID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpRspInputDeviceSerialField, c); - module_vntora::objects.emplace("CTORATstpRspInputDeviceSerialField", c); -} -void generate_class_CTORATstpActivateUserField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpActivateUserField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpActivateUserField, "UserID", UserID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpActivateUserField, c); - module_vntora::objects.emplace("CTORATstpActivateUserField", c); -} -void generate_class_CTORATstpVerifyUserPasswordField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpVerifyUserPasswordField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpVerifyUserPasswordField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpVerifyUserPasswordField, "Password", Password); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpVerifyUserPasswordField, c); - module_vntora::objects.emplace("CTORATstpVerifyUserPasswordField", c); -} -void generate_class_CTORATstpInputOrderField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpInputOrderField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "OrderRef", OrderRef); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "OrderPriceType", OrderPriceType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "Direction", Direction); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "CombOffsetFlag", CombOffsetFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "CombHedgeFlag", CombHedgeFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "LimitPrice", LimitPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "VolumeTotalOriginal", VolumeTotalOriginal); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "TimeCondition", TimeCondition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "VolumeCondition", VolumeCondition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "MinVolume", MinVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "ForceCloseReason", ForceCloseReason); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "RequestID", RequestID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "UserForceClose", UserForceClose); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "IsSwapOrder", IsSwapOrder); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "IPAddress", IPAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "MacAddress", MacAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "CreditPositionType", CreditPositionType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "OrderSysID", OrderSysID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "TerminalInfo", TerminalInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "BInfo", BInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "SInfo", SInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "IInfo", IInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "TransfereePbuID", TransfereePbuID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "Operway", Operway); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "CondCheck", CondCheck); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderField, "HDSerial", HDSerial); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpInputOrderField, c); - module_vntora::objects.emplace("CTORATstpInputOrderField", c); -} -void generate_class_CTORATstpOrderField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpOrderField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "OrderRef", OrderRef); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "OrderPriceType", OrderPriceType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "Direction", Direction); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "CombOffsetFlag", CombOffsetFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "CombHedgeFlag", CombHedgeFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "LimitPrice", LimitPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "VolumeTotalOriginal", VolumeTotalOriginal); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "TimeCondition", TimeCondition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "VolumeCondition", VolumeCondition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "MinVolume", MinVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "ForceCloseReason", ForceCloseReason); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "RequestID", RequestID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "OrderLocalID", OrderLocalID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "ExchangeInstID", ExchangeInstID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "TraderID", TraderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "OrderSubmitStatus", OrderSubmitStatus); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "TradingDay", TradingDay); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "OrderSysID", OrderSysID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "OrderStatus", OrderStatus); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "OrderType", OrderType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "VolumeTraded", VolumeTraded); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "VolumeTotal", VolumeTotal); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "InsertDate", InsertDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "InsertTime", InsertTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "CancelTime", CancelTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "ActiveTraderID", ActiveTraderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "FrontID", FrontID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "SessionID", SessionID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "UserProductInfo", UserProductInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "StatusMsg", StatusMsg); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "UserForceClose", UserForceClose); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "ActiveUserID", ActiveUserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "IPAddress", IPAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "MacAddress", MacAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "CreditPositionType", CreditPositionType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "BInfo", BInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "SInfo", SInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "IInfo", IInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "TransfereePbuID", TransfereePbuID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "Operway", Operway); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "DepartmentID", DepartmentID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "ProperCtrlBusinessType", ProperCtrlBusinessType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "ProperCtrlPassFlag", ProperCtrlPassFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "CondCheck", CondCheck); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "IsCacheOrder", IsCacheOrder); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "Turnover", Turnover); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "RtnFloatInfo", RtnFloatInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderField, "RtnIntInfo", RtnIntInfo); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpOrderField, c); - module_vntora::objects.emplace("CTORATstpOrderField", c); -} -void generate_class_CTORATstpUserRefField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpUserRefField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpUserRefField, "UserID", UserID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpUserRefField, c); - module_vntora::objects.emplace("CTORATstpUserRefField", c); -} -void generate_class_CTORATstpInputOrderActionField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpInputOrderActionField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderActionField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderActionField, "OrderActionRef", OrderActionRef); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderActionField, "OrderRef", OrderRef); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderActionField, "RequestID", RequestID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderActionField, "FrontID", FrontID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderActionField, "SessionID", SessionID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderActionField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderActionField, "OrderSysID", OrderSysID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderActionField, "ActionFlag", ActionFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderActionField, "LimitPrice", LimitPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderActionField, "VolumeChange", VolumeChange); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderActionField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderActionField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderActionField, "IPAddress", IPAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderActionField, "MacAddress", MacAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderActionField, "CancelOrderLocalID", CancelOrderLocalID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderActionField, "TerminalInfo", TerminalInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderActionField, "BInfo", BInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderActionField, "SInfo", SInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderActionField, "IInfo", IInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderActionField, "Operway", Operway); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputOrderActionField, "HDSerial", HDSerial); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpInputOrderActionField, c); - module_vntora::objects.emplace("CTORATstpInputOrderActionField", c); -} -void generate_class_CTORATstpOrderActionField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpOrderActionField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "OrderActionRef", OrderActionRef); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "OrderRef", OrderRef); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "RequestID", RequestID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "FrontID", FrontID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "SessionID", SessionID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "OrderSysID", OrderSysID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "ActionFlag", ActionFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "LimitPrice", LimitPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "VolumeChange", VolumeChange); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "ActionDate", ActionDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "ActionTime", ActionTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "TraderID", TraderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "OrderLocalID", OrderLocalID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "ActionLocalID", ActionLocalID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "OrderActionStatus", OrderActionStatus); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "StatusMsg", StatusMsg); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "IPAddress", IPAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "MacAddress", MacAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "BInfo", BInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "SInfo", SInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "IInfo", IInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderActionField, "Operway", Operway); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpOrderActionField, c); - module_vntora::objects.emplace("CTORATstpOrderActionField", c); -} -void generate_class_CTORATstpTradeField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpTradeField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradeField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradeField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradeField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradeField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradeField, "TradeID", TradeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradeField, "Direction", Direction); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradeField, "OrderSysID", OrderSysID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradeField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradeField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradeField, "ExchangeInstID", ExchangeInstID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradeField, "OffsetFlag", OffsetFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradeField, "HedgeFlag", HedgeFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradeField, "Price", Price); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradeField, "Volume", Volume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradeField, "TradeDate", TradeDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradeField, "TradeTime", TradeTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradeField, "TraderID", TraderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradeField, "OrderLocalID", OrderLocalID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradeField, "TradingDay", TradingDay); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradeField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradeField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradeField, "OrderRef", OrderRef); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradeField, "DepartmentID", DepartmentID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpTradeField, c); - module_vntora::objects.emplace("CTORATstpTradeField", c); -} -void generate_class_CTORATstpMarketStatusField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpMarketStatusField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketStatusField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketStatusField, "MarketStatus", MarketStatus); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpMarketStatusField, c); - module_vntora::objects.emplace("CTORATstpMarketStatusField", c); -} -void generate_class_CTORATstpInputCondOrderField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpInputCondOrderField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "Direction", Direction); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "OrderPriceType", OrderPriceType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "OrderVolumeType", OrderVolumeType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "TimeCondition", TimeCondition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "VolumeCondition", VolumeCondition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "LimitPrice", LimitPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "VolumeTotalOriginal", VolumeTotalOriginal); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "CombOffsetFlag", CombOffsetFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "CombHedgeFlag", CombHedgeFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "CondOrderRef", CondOrderRef); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "RequestID", RequestID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "IPAddress", IPAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "MacAddress", MacAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "CondOrderID", CondOrderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "TerminalInfo", TerminalInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "BInfo", BInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "SInfo", SInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "IInfo", IInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "Operway", Operway); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "CondCheck", CondCheck); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "ContingentCondition", ContingentCondition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "ConditionPrice", ConditionPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "PriceTicks", PriceTicks); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "VolumeMultiple", VolumeMultiple); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "RelativeFrontID", RelativeFrontID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "RelativeSessionID", RelativeSessionID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "RelativeParam", RelativeParam); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "AppendContingentCondition", AppendContingentCondition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "AppendConditionPrice", AppendConditionPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "AppendRelativeFrontID", AppendRelativeFrontID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "AppendRelativeSessionID", AppendRelativeSessionID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "AppendRelativeParam", AppendRelativeParam); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderField, "HDSerial", HDSerial); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpInputCondOrderField, c); - module_vntora::objects.emplace("CTORATstpInputCondOrderField", c); -} -void generate_class_CTORATstpConditionOrderField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpConditionOrderField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "Direction", Direction); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "OrderPriceType", OrderPriceType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "OrderVolumeType", OrderVolumeType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "TimeCondition", TimeCondition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "VolumeCondition", VolumeCondition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "LimitPrice", LimitPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "VolumeTotalOriginal", VolumeTotalOriginal); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "CombOffsetFlag", CombOffsetFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "CombHedgeFlag", CombHedgeFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "CondOrderRef", CondOrderRef); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "RequestID", RequestID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "IPAddress", IPAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "MacAddress", MacAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "CondOrderID", CondOrderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "TerminalInfo", TerminalInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "BInfo", BInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "SInfo", SInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "IInfo", IInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "Operway", Operway); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "CondCheck", CondCheck); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "ContingentCondition", ContingentCondition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "ConditionPrice", ConditionPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "PriceTicks", PriceTicks); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "VolumeMultiple", VolumeMultiple); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "RelativeFrontID", RelativeFrontID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "RelativeSessionID", RelativeSessionID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "RelativeParam", RelativeParam); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "AppendContingentCondition", AppendContingentCondition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "AppendConditionPrice", AppendConditionPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "AppendRelativeFrontID", AppendRelativeFrontID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "AppendRelativeSessionID", AppendRelativeSessionID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "AppendRelativeParam", AppendRelativeParam); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "TradingDay", TradingDay); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "CondOrderStatus", CondOrderStatus); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "InsertDate", InsertDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "InsertTime", InsertTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "CancelTime", CancelTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "CancelUser", CancelUser); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "FrontID", FrontID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "SessionID", SessionID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "UserProductInfo", UserProductInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "StatusMsg", StatusMsg); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "DepartmentID", DepartmentID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "ProperCtrlBusinessType", ProperCtrlBusinessType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "ProperCtrlPassFlag", ProperCtrlPassFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "ActiveDate", ActiveDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConditionOrderField, "ActiveTime", ActiveTime); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpConditionOrderField, c); - module_vntora::objects.emplace("CTORATstpConditionOrderField", c); -} diff --git a/vnpy/api/tora/vntora/generated_files/generated_functions_2.cpp b/vnpy/api/tora/vntora/generated_files/generated_functions_2.cpp deleted file mode 100644 index 0f33c0ad97..0000000000 --- a/vnpy/api/tora/vntora/generated_files/generated_functions_2.cpp +++ /dev/null @@ -1,555 +0,0 @@ -#include "config.h" - -#include -#include -#include -#include - -#include "module.hpp" -#include "wrappers.hpp" -#include "generated_functions.h" - -#include "TORATstpMdApi.h" -#include "TORATstpTraderApi.h" -#include "TORATstpUserApiDataType.h" -#include "TORATstpUserApiStruct.h" - - -void generate_class_CTORATstpInputCondOrderActionField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpInputCondOrderActionField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderActionField, "RequestID", RequestID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderActionField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderActionField, "CondOrderActionRef", CondOrderActionRef); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderActionField, "CondOrderRef", CondOrderRef); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderActionField, "FrontID", FrontID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderActionField, "SessionID", SessionID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderActionField, "CondOrderID", CondOrderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderActionField, "ActionFlag", ActionFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderActionField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderActionField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderActionField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderActionField, "IPAddress", IPAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderActionField, "MacAddress", MacAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderActionField, "CancelCondOrderID", CancelCondOrderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderActionField, "TerminalInfo", TerminalInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderActionField, "BInfo", BInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderActionField, "SInfo", SInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderActionField, "IInfo", IInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderActionField, "Operway", Operway); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCondOrderActionField, "HDSerial", HDSerial); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpInputCondOrderActionField, c); - module_vntora::objects.emplace("CTORATstpInputCondOrderActionField", c); -} -void generate_class_CTORATstpReqInquiryJZFundField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpReqInquiryJZFundField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInquiryJZFundField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInquiryJZFundField, "CurrencyID", CurrencyID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInquiryJZFundField, "DepartmentID", DepartmentID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpReqInquiryJZFundField, c); - module_vntora::objects.emplace("CTORATstpReqInquiryJZFundField", c); -} -void generate_class_CTORATstpRspInquiryJZFundField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpRspInquiryJZFundField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryJZFundField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryJZFundField, "CurrencyID", CurrencyID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryJZFundField, "UsefulMoney", UsefulMoney); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryJZFundField, "FetchLimit", FetchLimit); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryJZFundField, "DepartmentID", DepartmentID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpRspInquiryJZFundField, c); - module_vntora::objects.emplace("CTORATstpRspInquiryJZFundField", c); -} -void generate_class_CTORATstpInputTransferFundField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpInputTransferFundField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferFundField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferFundField, "CurrencyID", CurrencyID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferFundField, "ApplySerial", ApplySerial); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferFundField, "TransferDirection", TransferDirection); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferFundField, "Amount", Amount); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferFundField, "DepartmentID", DepartmentID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferFundField, "BankID", BankID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferFundField, "AccountPassword", AccountPassword); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferFundField, "BankPassword", BankPassword); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpInputTransferFundField, c); - module_vntora::objects.emplace("CTORATstpInputTransferFundField", c); -} -void generate_class_CTORATstpInputTransferPositionField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpInputTransferPositionField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferPositionField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferPositionField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferPositionField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferPositionField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferPositionField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferPositionField, "ApplySerial", ApplySerial); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferPositionField, "TransferDirection", TransferDirection); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferPositionField, "Volume", Volume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferPositionField, "TransferPositionType", TransferPositionType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferPositionField, "MarketID", MarketID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpInputTransferPositionField, c); - module_vntora::objects.emplace("CTORATstpInputTransferPositionField", c); -} -void generate_class_CTORATstpTransferFundField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpTransferFundField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferFundField, "FundSerial", FundSerial); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferFundField, "ApplySerial", ApplySerial); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferFundField, "FrontID", FrontID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferFundField, "SessionID", SessionID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferFundField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferFundField, "CurrencyID", CurrencyID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferFundField, "TransferDirection", TransferDirection); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferFundField, "Amount", Amount); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferFundField, "TransferStatus", TransferStatus); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferFundField, "OperatorID", OperatorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferFundField, "OperateDate", OperateDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferFundField, "OperateTime", OperateTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferFundField, "DepartmentID", DepartmentID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferFundField, "BankAccountID", BankAccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferFundField, "BankID", BankID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpTransferFundField, c); - module_vntora::objects.emplace("CTORATstpTransferFundField", c); -} -void generate_class_CTORATstpTransferPositionField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpTransferPositionField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferPositionField, "PositionSerial", PositionSerial); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferPositionField, "ApplySerial", ApplySerial); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferPositionField, "FrontID", FrontID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferPositionField, "SessionID", SessionID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferPositionField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferPositionField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferPositionField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferPositionField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferPositionField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferPositionField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferPositionField, "TradingDay", TradingDay); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferPositionField, "TransferDirection", TransferDirection); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferPositionField, "TransferPositionType", TransferPositionType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferPositionField, "HistoryVolume", HistoryVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferPositionField, "TodayBSVolume", TodayBSVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferPositionField, "TodayPRVolume", TodayPRVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferPositionField, "TransferStatus", TransferStatus); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferPositionField, "OperatorID", OperatorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferPositionField, "OperateDate", OperateDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTransferPositionField, "OperateTime", OperateTime); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpTransferPositionField, c); - module_vntora::objects.emplace("CTORATstpTransferPositionField", c); -} -void generate_class_CTORATstpSpecificSecurityField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpSpecificSecurityField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSpecificSecurityField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSpecificSecurityField, "SecurityID", SecurityID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpSpecificSecurityField, c); - module_vntora::objects.emplace("CTORATstpSpecificSecurityField", c); -} -void generate_class_CTORATstpInputTransferCollateralField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpInputTransferCollateralField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferCollateralField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferCollateralField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferCollateralField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferCollateralField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferCollateralField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferCollateralField, "ApplySerial", ApplySerial); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferCollateralField, "CollateralDirection", CollateralDirection); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferCollateralField, "Volume", Volume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferCollateralField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputTransferCollateralField, "Operway", Operway); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpInputTransferCollateralField, c); - module_vntora::objects.emplace("CTORATstpInputTransferCollateralField", c); -} -void generate_class_CTORATstpReqInquiryBankAccountFundField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpReqInquiryBankAccountFundField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInquiryBankAccountFundField, "DepartmentID", DepartmentID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInquiryBankAccountFundField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInquiryBankAccountFundField, "CurrencyID", CurrencyID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInquiryBankAccountFundField, "BankID", BankID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInquiryBankAccountFundField, "BankPassword", BankPassword); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpReqInquiryBankAccountFundField, c); - module_vntora::objects.emplace("CTORATstpReqInquiryBankAccountFundField", c); -} -void generate_class_CTORATstpRspInquiryBankAccountFundField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpRspInquiryBankAccountFundField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryBankAccountFundField, "DepartmentID", DepartmentID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryBankAccountFundField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryBankAccountFundField, "CurrencyID", CurrencyID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryBankAccountFundField, "BankID", BankID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryBankAccountFundField, "BankAccountID", BankAccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryBankAccountFundField, "Balance", Balance); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpRspInquiryBankAccountFundField, c); - module_vntora::objects.emplace("CTORATstpRspInquiryBankAccountFundField", c); -} -void generate_class_CTORATstpLev2MarketDataField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpLev2MarketDataField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "DataTimeStamp", DataTimeStamp); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "PreClosePrice", PreClosePrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "OpenPrice", OpenPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "NumTrades", NumTrades); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "TotalVolumeTrade", TotalVolumeTrade); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "TotalValueTrade", TotalValueTrade); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "TotalBidVolume", TotalBidVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "AvgBidPrice", AvgBidPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "TotalAskVolume", TotalAskVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "AvgAskPrice", AvgAskPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "HighestPrice", HighestPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "LowestPrice", LowestPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "LastPrice", LastPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "BidPrice1", BidPrice1); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "BidVolume1", BidVolume1); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "AskPrice1", AskPrice1); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "AskVolume1", AskVolume1); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "AskPrice2", AskPrice2); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "AskVolume2", AskVolume2); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "AskPrice3", AskPrice3); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "AskVolume3", AskVolume3); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "BidPrice2", BidPrice2); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "BidVolume2", BidVolume2); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "BidPrice3", BidPrice3); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "BidVolume3", BidVolume3); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "AskPrice4", AskPrice4); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "AskVolume4", AskVolume4); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "AskPrice5", AskPrice5); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "AskVolume5", AskVolume5); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "BidPrice4", BidPrice4); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "BidVolume4", BidVolume4); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "BidPrice5", BidPrice5); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "BidVolume5", BidVolume5); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "AskPrice6", AskPrice6); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "AskVolume6", AskVolume6); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "AskPrice7", AskPrice7); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "AskVolume7", AskVolume7); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "BidPrice6", BidPrice6); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "BidVolume6", BidVolume6); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "BidPrice7", BidPrice7); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "BidVolume7", BidVolume7); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "AskPrice8", AskPrice8); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "AskVolume8", AskVolume8); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "AskPrice9", AskPrice9); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "AskVolume9", AskVolume9); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "BidPrice8", BidPrice8); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "BidVolume8", BidVolume8); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "BidPrice9", BidPrice9); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "BidVolume9", BidVolume9); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "BidPrice10", BidPrice10); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "BidVolume10", BidVolume10); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "AskPrice10", AskPrice10); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "AskVolume10", AskVolume10); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "Info1", Info1); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "Info2", Info2); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "Info3", Info3); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "UpperLimitPrice", UpperLimitPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "LowerLimitPrice", LowerLimitPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "ClosePrice", ClosePrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2MarketDataField, "MDSecurityStat", MDSecurityStat); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpLev2MarketDataField, c); - module_vntora::objects.emplace("CTORATstpLev2MarketDataField", c); -} -void generate_class_CTORATstpLev2IndexField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpLev2IndexField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2IndexField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2IndexField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2IndexField, "DataTimeStamp", DataTimeStamp); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2IndexField, "PreCloseIndex", PreCloseIndex); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2IndexField, "OpenIndex", OpenIndex); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2IndexField, "HighIndex", HighIndex); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2IndexField, "LowIndex", LowIndex); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2IndexField, "LastIndex", LastIndex); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2IndexField, "Turnover", Turnover); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2IndexField, "TotalVolumeTraded", TotalVolumeTraded); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2IndexField, "Info1", Info1); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2IndexField, "Info2", Info2); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2IndexField, "Info3", Info3); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpLev2IndexField, c); - module_vntora::objects.emplace("CTORATstpLev2IndexField", c); -} -void generate_class_CTORATstpLev2TransactionField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpLev2TransactionField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2TransactionField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2TransactionField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2TransactionField, "TradeTime", TradeTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2TransactionField, "TradePrice", TradePrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2TransactionField, "TradeVolume", TradeVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2TransactionField, "ExecType", ExecType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2TransactionField, "MainSeq", MainSeq); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2TransactionField, "SubSeq", SubSeq); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2TransactionField, "BuyNo", BuyNo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2TransactionField, "SellNo", SellNo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2TransactionField, "Info1", Info1); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2TransactionField, "Info2", Info2); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2TransactionField, "Info3", Info3); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpLev2TransactionField, c); - module_vntora::objects.emplace("CTORATstpLev2TransactionField", c); -} -void generate_class_CTORATstpLev2OrderDetailField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpLev2OrderDetailField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2OrderDetailField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2OrderDetailField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2OrderDetailField, "OrderTime", OrderTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2OrderDetailField, "Price", Price); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2OrderDetailField, "Volume", Volume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2OrderDetailField, "Side", Side); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2OrderDetailField, "OrderType", OrderType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2OrderDetailField, "MainSeq", MainSeq); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2OrderDetailField, "SubSeq", SubSeq); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2OrderDetailField, "Info1", Info1); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2OrderDetailField, "Info2", Info2); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLev2OrderDetailField, "Info3", Info3); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpLev2OrderDetailField, c); - module_vntora::objects.emplace("CTORATstpLev2OrderDetailField", c); -} -void generate_class_CTORATstpUploadTradeDataField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpUploadTradeDataField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpUploadTradeDataField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpUploadTradeDataField, "TradingDay", TradingDay); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpUploadTradeDataField, "bForce", bForce); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpUploadTradeDataField, c); - module_vntora::objects.emplace("CTORATstpUploadTradeDataField", c); -} -void generate_class_CTORATstpInputDesignationRegistrationField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpInputDesignationRegistrationField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputDesignationRegistrationField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputDesignationRegistrationField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputDesignationRegistrationField, "DesignationType", DesignationType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputDesignationRegistrationField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputDesignationRegistrationField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputDesignationRegistrationField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputDesignationRegistrationField, "OrderSysID", OrderSysID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputDesignationRegistrationField, "IPAddress", IPAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputDesignationRegistrationField, "MacAddress", MacAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputDesignationRegistrationField, "TerminalInfo", TerminalInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputDesignationRegistrationField, "HDSerial", HDSerial); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpInputDesignationRegistrationField, c); - module_vntora::objects.emplace("CTORATstpInputDesignationRegistrationField", c); -} -void generate_class_CTORATstpInputCustodyTransferField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpInputCustodyTransferField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCustodyTransferField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCustodyTransferField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCustodyTransferField, "CustodyTransferType", CustodyTransferType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCustodyTransferField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCustodyTransferField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCustodyTransferField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCustodyTransferField, "OrderSysID", OrderSysID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCustodyTransferField, "TransfereePbuID", TransfereePbuID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCustodyTransferField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCustodyTransferField, "OrignalOrderLocalID", OrignalOrderLocalID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCustodyTransferField, "OrderLocalID", OrderLocalID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCustodyTransferField, "VolumeTotalOriginal", VolumeTotalOriginal); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCustodyTransferField, "IPAddress", IPAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCustodyTransferField, "MacAddress", MacAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCustodyTransferField, "TerminalInfo", TerminalInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInputCustodyTransferField, "HDSerial", HDSerial); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpInputCustodyTransferField, c); - module_vntora::objects.emplace("CTORATstpInputCustodyTransferField", c); -} -void generate_class_CTORATstpInquiryTradeConcentrationField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpInquiryTradeConcentrationField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInquiryTradeConcentrationField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInquiryTradeConcentrationField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInquiryTradeConcentrationField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInquiryTradeConcentrationField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInquiryTradeConcentrationField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInquiryTradeConcentrationField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInquiryTradeConcentrationField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInquiryTradeConcentrationField, "ConcentrationRatio1", ConcentrationRatio1); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInquiryTradeConcentrationField, "ConcentrationRatio2", ConcentrationRatio2); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpInquiryTradeConcentrationField, c); - module_vntora::objects.emplace("CTORATstpInquiryTradeConcentrationField", c); -} -void generate_class_CTORATstpInquiryFileOrderField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpInquiryFileOrderField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInquiryFileOrderField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInquiryFileOrderField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInquiryFileOrderField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInquiryFileOrderField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInquiryFileOrderField, "OrderSerialBeg", OrderSerialBeg); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInquiryFileOrderField, "OrderSerialEnd", OrderSerialEnd); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInquiryFileOrderField, "CommitStatus", CommitStatus); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpInquiryFileOrderField, c); - module_vntora::objects.emplace("CTORATstpInquiryFileOrderField", c); -} -void generate_class_CTORATstpFileOrderField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpFileOrderField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderField, "RequestID", RequestID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderField, "OrderRef", OrderRef); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderField, "FileOrderType", FileOrderType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderField, "Direction", Direction); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderField, "LimitPrice", LimitPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderField, "VolumeTotalOriginal", VolumeTotalOriginal); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderField, "Operway", Operway); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderField, "OrderActionRef", OrderActionRef); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderField, "OrderSysID", OrderSysID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderField, "CondCheck", CondCheck); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderField, "OrderSerial", OrderSerial); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderField, "CommitStatus", CommitStatus); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderField, "StatusMsg", StatusMsg); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderField, "TimeStamp", TimeStamp); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpFileOrderField, c); - module_vntora::objects.emplace("CTORATstpFileOrderField", c); -} -void generate_class_CTORATstpQryRspInfoField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryRspInfoField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryRspInfoField, "EndFlag", EndFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryRspInfoField, "ErrorID", ErrorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryRspInfoField, "ErrorMsg", ErrorMsg); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryRspInfoField, c); - module_vntora::objects.emplace("CTORATstpQryRspInfoField", c); -} -void generate_class_CTORATstpReviewFileOrderField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpReviewFileOrderField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReviewFileOrderField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReviewFileOrderField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReviewFileOrderField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReviewFileOrderField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReviewFileOrderField, "OrderSerialBeg", OrderSerialBeg); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReviewFileOrderField, "OrderSerialEnd", OrderSerialEnd); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpReviewFileOrderField, c); - module_vntora::objects.emplace("CTORATstpReviewFileOrderField", c); -} -void generate_class_CTORATstpCommitInfoField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpCommitInfoField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCommitInfoField, "OrderSerial", OrderSerial); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCommitInfoField, "CommitStatus", CommitStatus); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCommitInfoField, "StatusMsg", StatusMsg); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpCommitInfoField, c); - module_vntora::objects.emplace("CTORATstpCommitInfoField", c); -} -void generate_class_CTORATstpReqInsTradingNoticeField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpReqInsTradingNoticeField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInsTradingNoticeField, "NoticeSerial", NoticeSerial); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInsTradingNoticeField, "InsertDate", InsertDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInsTradingNoticeField, "InsertTime", InsertTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInsTradingNoticeField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInsTradingNoticeField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInsTradingNoticeField, "Content", Content); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInsTradingNoticeField, "OperatorID", OperatorID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpReqInsTradingNoticeField, c); - module_vntora::objects.emplace("CTORATstpReqInsTradingNoticeField", c); -} -void generate_class_CTORATstpTradingNoticeField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpTradingNoticeField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingNoticeField, "NoticeSerial", NoticeSerial); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingNoticeField, "InsertDate", InsertDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingNoticeField, "InsertTime", InsertTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingNoticeField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingNoticeField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingNoticeField, "Content", Content); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingNoticeField, "OperatorID", OperatorID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpTradingNoticeField, c); - module_vntora::objects.emplace("CTORATstpTradingNoticeField", c); -} -void generate_class_CTORATstpLoadFileOrderField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpLoadFileOrderField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLoadFileOrderField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpLoadFileOrderField, "bReview", bReview); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpLoadFileOrderField, c); - module_vntora::objects.emplace("CTORATstpLoadFileOrderField", c); -} -void generate_class_CTORATstpFileOrderInfoField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpFileOrderInfoField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderInfoField, "RequestID", RequestID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderInfoField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderInfoField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderInfoField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderInfoField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderInfoField, "OrderRef", OrderRef); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderInfoField, "FileOrderType", FileOrderType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderInfoField, "Direction", Direction); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderInfoField, "LimitPrice", LimitPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderInfoField, "VolumeTotalOriginal", VolumeTotalOriginal); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderInfoField, "Operway", Operway); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderInfoField, "OrderActionRef", OrderActionRef); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderInfoField, "OrderSysID", OrderSysID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderInfoField, "CondCheck", CondCheck); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderInfoField, "OrderSerial", OrderSerial); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderInfoField, "CommitStatus", CommitStatus); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFileOrderInfoField, "StatusMsg", StatusMsg); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpFileOrderInfoField, c); - module_vntora::objects.emplace("CTORATstpFileOrderInfoField", c); -} diff --git a/vnpy/api/tora/vntora/generated_files/generated_functions_3.cpp b/vnpy/api/tora/vntora/generated_files/generated_functions_3.cpp deleted file mode 100644 index 6ce03cecec..0000000000 --- a/vnpy/api/tora/vntora/generated_files/generated_functions_3.cpp +++ /dev/null @@ -1,561 +0,0 @@ -#include "config.h" - -#include -#include -#include -#include - -#include "module.hpp" -#include "wrappers.hpp" -#include "generated_functions.h" - -#include "TORATstpMdApi.h" -#include "TORATstpTraderApi.h" -#include "TORATstpUserApiDataType.h" -#include "TORATstpUserApiStruct.h" - - -void generate_class_CTORATstpReqInquiryMaxOrderVolumeField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpReqInquiryMaxOrderVolumeField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInquiryMaxOrderVolumeField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInquiryMaxOrderVolumeField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInquiryMaxOrderVolumeField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInquiryMaxOrderVolumeField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInquiryMaxOrderVolumeField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInquiryMaxOrderVolumeField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInquiryMaxOrderVolumeField, "Direction", Direction); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInquiryMaxOrderVolumeField, "OrderPriceType", OrderPriceType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInquiryMaxOrderVolumeField, "CombOffsetFlag", CombOffsetFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInquiryMaxOrderVolumeField, "CombHedgeFlag", CombHedgeFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInquiryMaxOrderVolumeField, "TimeCondition", TimeCondition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInquiryMaxOrderVolumeField, "VolumeCondition", VolumeCondition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInquiryMaxOrderVolumeField, "LimitPrice", LimitPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInquiryMaxOrderVolumeField, "TransfereePbuID", TransfereePbuID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpReqInquiryMaxOrderVolumeField, "MaxVolume", MaxVolume); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpReqInquiryMaxOrderVolumeField, c); - module_vntora::objects.emplace("CTORATstpReqInquiryMaxOrderVolumeField", c); -} -void generate_class_CTORATstpRspInquiryMaxOrderVolumeField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpRspInquiryMaxOrderVolumeField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryMaxOrderVolumeField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryMaxOrderVolumeField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryMaxOrderVolumeField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryMaxOrderVolumeField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryMaxOrderVolumeField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryMaxOrderVolumeField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryMaxOrderVolumeField, "Direction", Direction); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryMaxOrderVolumeField, "OrderPriceType", OrderPriceType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryMaxOrderVolumeField, "CombOffsetFlag", CombOffsetFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryMaxOrderVolumeField, "CombHedgeFlag", CombHedgeFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryMaxOrderVolumeField, "TimeCondition", TimeCondition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryMaxOrderVolumeField, "VolumeCondition", VolumeCondition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryMaxOrderVolumeField, "LimitPrice", LimitPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryMaxOrderVolumeField, "TransfereePbuID", TransfereePbuID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpRspInquiryMaxOrderVolumeField, "MaxVolume", MaxVolume); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpRspInquiryMaxOrderVolumeField, c); - module_vntora::objects.emplace("CTORATstpRspInquiryMaxOrderVolumeField", c); -} -void generate_class_CTORATstpPeripheryPositionTransferDetailField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpPeripheryPositionTransferDetailField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, "PositionSerial", PositionSerial); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, "ApplySerial", ApplySerial); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, "FrontID", FrontID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, "SessionID", SessionID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, "TransferDirection", TransferDirection); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, "TodayBSPos", TodayBSPos); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, "TodayPRPos", TodayPRPos); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, "HistoryPos", HistoryPos); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, "TradingDay", TradingDay); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, "TransferReason", TransferReason); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, "TransferStatus", TransferStatus); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, "OperateDate", OperateDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, "OperateTime", OperateTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, "RepealDate", RepealDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, "RepealTime", RepealTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, "RepealReason", RepealReason); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, "StatusMsg", StatusMsg); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpPeripheryPositionTransferDetailField, c); - module_vntora::objects.emplace("CTORATstpPeripheryPositionTransferDetailField", c); -} -void generate_class_CTORATstpQryHistoryOrderField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryHistoryOrderField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryHistoryOrderField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryHistoryOrderField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryHistoryOrderField, "BegDate", BegDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryHistoryOrderField, "EndDate", EndDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryHistoryOrderField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryHistoryOrderField, "PageCount", PageCount); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryHistoryOrderField, "PageLocate", PageLocate); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryHistoryOrderField, c); - module_vntora::objects.emplace("CTORATstpQryHistoryOrderField", c); -} -void generate_class_CTORATstpQryHistoryRspInfoField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryHistoryRspInfoField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryHistoryRspInfoField, "ErrorID", ErrorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryHistoryRspInfoField, "ErrorMsg", ErrorMsg); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryHistoryRspInfoField, "bPageEnd", bPageEnd); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryHistoryRspInfoField, c); - module_vntora::objects.emplace("CTORATstpQryHistoryRspInfoField", c); -} -void generate_class_CTORATstpHistoryOrderField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpHistoryOrderField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "OrderRef", OrderRef); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "OrderPriceType", OrderPriceType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "Direction", Direction); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "CombOffsetFlag", CombOffsetFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "CombHedgeFlag", CombHedgeFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "LimitPrice", LimitPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "VolumeTotalOriginal", VolumeTotalOriginal); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "TimeCondition", TimeCondition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "VolumeCondition", VolumeCondition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "MinVolume", MinVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "ForceCloseReason", ForceCloseReason); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "RequestID", RequestID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "OrderLocalID", OrderLocalID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "ExchangeInstID", ExchangeInstID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "TraderID", TraderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "OrderSubmitStatus", OrderSubmitStatus); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "TradingDay", TradingDay); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "OrderSysID", OrderSysID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "OrderStatus", OrderStatus); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "OrderType", OrderType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "VolumeTraded", VolumeTraded); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "VolumeTotal", VolumeTotal); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "InsertDate", InsertDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "InsertTime", InsertTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "CancelTime", CancelTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "ActiveTraderID", ActiveTraderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "FrontID", FrontID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "SessionID", SessionID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "UserProductInfo", UserProductInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "StatusMsg", StatusMsg); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "UserForceClose", UserForceClose); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "ActiveUserID", ActiveUserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "IPAddress", IPAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "MacAddress", MacAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "CreditPositionType", CreditPositionType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "BInfo", BInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "SInfo", SInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "IInfo", IInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "TransfereePbuID", TransfereePbuID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "Operway", Operway); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "DepartmentID", DepartmentID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "ProperCtrlBusinessType", ProperCtrlBusinessType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "ProperCtrlPassFlag", ProperCtrlPassFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "CondCheck", CondCheck); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "IsCacheOrder", IsCacheOrder); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "Turnover", Turnover); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "RtnFloatInfo", RtnFloatInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "RtnIntInfo", RtnIntInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryOrderField, "PageLocate", PageLocate); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpHistoryOrderField, c); - module_vntora::objects.emplace("CTORATstpHistoryOrderField", c); -} -void generate_class_CTORATstpQryHistoryTradeField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryHistoryTradeField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryHistoryTradeField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryHistoryTradeField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryHistoryTradeField, "BegDate", BegDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryHistoryTradeField, "EndDate", EndDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryHistoryTradeField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryHistoryTradeField, "PageCount", PageCount); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryHistoryTradeField, "PageLocate", PageLocate); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryHistoryTradeField, c); - module_vntora::objects.emplace("CTORATstpQryHistoryTradeField", c); -} -void generate_class_CTORATstpHistoryTradeField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpHistoryTradeField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "TradeID", TradeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "Direction", Direction); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "OrderSysID", OrderSysID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "ExchangeInstID", ExchangeInstID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "OffsetFlag", OffsetFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "HedgeFlag", HedgeFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "Price", Price); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "Volume", Volume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "TradeDate", TradeDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "TradeTime", TradeTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "TraderID", TraderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "OrderLocalID", OrderLocalID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "TradingDay", TradingDay); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "OrderRef", OrderRef); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "DepartmentID", DepartmentID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpHistoryTradeField, "PageLocate", PageLocate); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpHistoryTradeField, c); - module_vntora::objects.emplace("CTORATstpHistoryTradeField", c); -} -void generate_class_CTORATstpQryExchangeField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryExchangeField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryExchangeField, "ExchangeID", ExchangeID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryExchangeField, c); - module_vntora::objects.emplace("CTORATstpQryExchangeField", c); -} -void generate_class_CTORATstpExchangeField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpExchangeField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpExchangeField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpExchangeField, "ExchangeName", ExchangeName); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpExchangeField, "TradingDay", TradingDay); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpExchangeField, c); - module_vntora::objects.emplace("CTORATstpExchangeField", c); -} -void generate_class_CTORATstpQryPBUField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryPBUField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPBUField, "PbuID", PbuID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPBUField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPBUField, "MarketID", MarketID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryPBUField, c); - module_vntora::objects.emplace("CTORATstpQryPBUField", c); -} -void generate_class_CTORATstpPBUField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpPBUField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPBUField, "PbuID", PbuID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPBUField, "PbuName", PbuName); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPBUField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPBUField, "MarketID", MarketID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpPBUField, c); - module_vntora::objects.emplace("CTORATstpPBUField", c); -} -void generate_class_CTORATstpQryMarketDataField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryMarketDataField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryMarketDataField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryMarketDataField, "ExchangeID", ExchangeID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryMarketDataField, c); - module_vntora::objects.emplace("CTORATstpQryMarketDataField", c); -} -void generate_class_CTORATstpMarketDataField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpMarketDataField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "TradingDay", TradingDay); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "ExchangeInstID", ExchangeInstID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "LastPrice", LastPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "PreClosePrice", PreClosePrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "OpenPrice", OpenPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "HighestPrice", HighestPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "LowestPrice", LowestPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "Volume", Volume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "Turnover", Turnover); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "OpenInterest", OpenInterest); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "UpperLimitPrice", UpperLimitPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "LowerLimitPrice", LowerLimitPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "UpdateTime", UpdateTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "UpdateMillisec", UpdateMillisec); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "BidPrice1", BidPrice1); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "BidVolume1", BidVolume1); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "AskPrice1", AskPrice1); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "AskVolume1", AskVolume1); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "BidPrice2", BidPrice2); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "BidVolume2", BidVolume2); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "AskPrice2", AskPrice2); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "AskVolume2", AskVolume2); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "BidPrice3", BidPrice3); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "BidVolume3", BidVolume3); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "AskPrice3", AskPrice3); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "AskVolume3", AskVolume3); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "BidPrice4", BidPrice4); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "BidVolume4", BidVolume4); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "AskPrice4", AskPrice4); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "AskVolume4", AskVolume4); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "BidPrice5", BidPrice5); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "BidVolume5", BidVolume5); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "AskPrice5", AskPrice5); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "AskVolume5", AskVolume5); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "SecurityName", SecurityName); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "TradingCount", TradingCount); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "PERatio1", PERatio1); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "PERatio2", PERatio2); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "PriceUpDown1", PriceUpDown1); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "PriceUpDown2", PriceUpDown2); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "ClosePrice", ClosePrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "MDSecurityStat", MDSecurityStat); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketDataField, "HWFlag", HWFlag); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpMarketDataField, c); - module_vntora::objects.emplace("CTORATstpMarketDataField", c); -} -void generate_class_CTORATstpQrySecurityField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQrySecurityField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQrySecurityField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQrySecurityField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQrySecurityField, "ExchangeInstID", ExchangeInstID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQrySecurityField, "ProductID", ProductID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQrySecurityField, c); - module_vntora::objects.emplace("CTORATstpQrySecurityField", c); -} -void generate_class_CTORATstpSecurityField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpSecurityField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "SecurityName", SecurityName); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "ExchangeInstID", ExchangeInstID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "ProductID", ProductID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "SecurityType", SecurityType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "OrderUnit", OrderUnit); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "BuyTradingUnit", BuyTradingUnit); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "SellTradingUnit", SellTradingUnit); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "MaxMarketOrderBuyVolume", MaxMarketOrderBuyVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "MinMarketOrderBuyVolume", MinMarketOrderBuyVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "MaxLimitOrderBuyVolume", MaxLimitOrderBuyVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "MinLimitOrderBuyVolume", MinLimitOrderBuyVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "MaxMarketOrderSellVolume", MaxMarketOrderSellVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "MinMarketOrderSellVolume", MinMarketOrderSellVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "MaxLimitOrderSellVolume", MaxLimitOrderSellVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "MinLimitOrderSellVolume", MinLimitOrderSellVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "VolumeMultiple", VolumeMultiple); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "PriceTick", PriceTick); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "OpenDate", OpenDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "PositionType", PositionType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "ParValue", ParValue); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "SecurityStatus", SecurityStatus); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "BondInterest", BondInterest); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "ConversionRate", ConversionRate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSecurityField, "IsCollateral", IsCollateral); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpSecurityField, c); - module_vntora::objects.emplace("CTORATstpSecurityField", c); -} -void generate_class_CTORATstpQryETFFileField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryETFFileField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryETFFileField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryETFFileField, "ETFSecurityID", ETFSecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryETFFileField, "ETFCreRedSecurityID", ETFCreRedSecurityID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryETFFileField, c); - module_vntora::objects.emplace("CTORATstpQryETFFileField", c); -} -void generate_class_CTORATstpETFFileField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpETFFileField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFFileField, "TradingDay", TradingDay); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFFileField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFFileField, "ETFSecurityID", ETFSecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFFileField, "ETFCreRedSecurityID", ETFCreRedSecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFFileField, "CreationRedemptionUnit", CreationRedemptionUnit); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFFileField, "Maxcashratio", Maxcashratio); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFFileField, "CreationStatus", CreationStatus); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFFileField, "RedemptionStatus", RedemptionStatus); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFFileField, "EstimateCashComponent", EstimateCashComponent); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFFileField, "CashComponent", CashComponent); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFFileField, "NAV", NAV); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFFileField, "NAVperCU", NAVperCU); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFFileField, "DividendPerCU", DividendPerCU); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpETFFileField, c); - module_vntora::objects.emplace("CTORATstpETFFileField", c); -} -void generate_class_CTORATstpQryETFBasketField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryETFBasketField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryETFBasketField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryETFBasketField, "ETFSecurityID", ETFSecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryETFBasketField, "SecurityID", SecurityID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryETFBasketField, c); - module_vntora::objects.emplace("CTORATstpQryETFBasketField", c); -} -void generate_class_CTORATstpETFBasketField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpETFBasketField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFBasketField, "TradingDay", TradingDay); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFBasketField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFBasketField, "ETFSecurityID", ETFSecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFBasketField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFBasketField, "SecurityName", SecurityName); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFBasketField, "Volume", Volume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFBasketField, "ETFCurrenceReplaceStatus", ETFCurrenceReplaceStatus); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFBasketField, "Premium", Premium); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFBasketField, "CreationReplaceAmount", CreationReplaceAmount); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFBasketField, "RedemptionReplaceAmount", RedemptionReplaceAmount); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpETFBasketField, "Market", Market); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpETFBasketField, c); - module_vntora::objects.emplace("CTORATstpETFBasketField", c); -} -void generate_class_CTORATstpQryDepartmentInfoField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryDepartmentInfoField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryDepartmentInfoField, "DepartmentID", DepartmentID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryDepartmentInfoField, c); - module_vntora::objects.emplace("CTORATstpQryDepartmentInfoField", c); -} -void generate_class_CTORATstpDepartmentInfoField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpDepartmentInfoField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpDepartmentInfoField, "DepartmentID", DepartmentID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpDepartmentInfoField, "DepartmentName", DepartmentName); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpDepartmentInfoField, c); - module_vntora::objects.emplace("CTORATstpDepartmentInfoField", c); -} -void generate_class_CTORATstpQryIPOInfoField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryIPOInfoField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryIPOInfoField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryIPOInfoField, "SecurityID", SecurityID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryIPOInfoField, c); - module_vntora::objects.emplace("CTORATstpQryIPOInfoField", c); -} -void generate_class_CTORATstpIPOInfoField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpIPOInfoField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOInfoField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOInfoField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOInfoField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOInfoField, "ProductID", ProductID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOInfoField, "SecurityType", SecurityType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOInfoField, "OnlineLimit", OnlineLimit); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOInfoField, "Price", Price); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOInfoField, "CurrencyID", CurrencyID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOInfoField, "SecurityName", SecurityName); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOInfoField, "UnderlyingSecurityID", UnderlyingSecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOInfoField, "UnderlyingSecurityName", UnderlyingSecurityName); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOInfoField, "OnlineMinVol", OnlineMinVol); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOInfoField, "OnlineVolUnit", OnlineVolUnit); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpIPOInfoField, c); - module_vntora::objects.emplace("CTORATstpIPOInfoField", c); -} -void generate_class_CTORATstpQryBrokerUserFunctionField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryBrokerUserFunctionField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryBrokerUserFunctionField, "UserID", UserID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryBrokerUserFunctionField, c); - module_vntora::objects.emplace("CTORATstpQryBrokerUserFunctionField", c); -} -void generate_class_CTORATstpBrokerUserFunctionField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpBrokerUserFunctionField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBrokerUserFunctionField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBrokerUserFunctionField, "FunctionID", FunctionID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpBrokerUserFunctionField, c); - module_vntora::objects.emplace("CTORATstpBrokerUserFunctionField", c); -} -void generate_class_CTORATstpQryBUProxyField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryBUProxyField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryBUProxyField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryBUProxyField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryBUProxyField, "BusinessUnitID", BusinessUnitID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryBUProxyField, c); - module_vntora::objects.emplace("CTORATstpQryBUProxyField", c); -} -void generate_class_CTORATstpBUProxyField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpBUProxyField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBUProxyField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBUProxyField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBUProxyField, "BusinessUnitID", BusinessUnitID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpBUProxyField, c); - module_vntora::objects.emplace("CTORATstpBUProxyField", c); -} -void generate_class_CTORATstpQryUserField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryUserField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryUserField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryUserField, "UserType", UserType); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryUserField, c); - module_vntora::objects.emplace("CTORATstpQryUserField", c); -} -void generate_class_CTORATstpUserField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpUserField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpUserField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpUserField, "UserName", UserName); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpUserField, "UserType", UserType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpUserField, "IsActive", IsActive); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpUserField, "LoginLimit", LoginLimit); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpUserField, c); - module_vntora::objects.emplace("CTORATstpUserField", c); -} diff --git a/vnpy/api/tora/vntora/generated_files/generated_functions_4.cpp b/vnpy/api/tora/vntora/generated_files/generated_functions_4.cpp deleted file mode 100644 index 349ef912c0..0000000000 --- a/vnpy/api/tora/vntora/generated_files/generated_functions_4.cpp +++ /dev/null @@ -1,570 +0,0 @@ -#include "config.h" - -#include -#include -#include -#include - -#include "module.hpp" -#include "wrappers.hpp" -#include "generated_functions.h" - -#include "TORATstpMdApi.h" -#include "TORATstpTraderApi.h" -#include "TORATstpUserApiDataType.h" -#include "TORATstpUserApiStruct.h" - - -void generate_class_CTORATstpQryInvestorField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryInvestorField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryInvestorField, "InvestorID", InvestorID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryInvestorField, c); - module_vntora::objects.emplace("CTORATstpQryInvestorField", c); -} -void generate_class_CTORATstpInvestorField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpInvestorField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorField, "InvestorName", InvestorName); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorField, "IdCardType", IdCardType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorField, "IdCardNo", IdCardNo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorField, "Telephone", Telephone); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorField, "Address", Address); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorField, "OpenDate", OpenDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorField, "Mobile", Mobile); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorField, "Operways", Operways); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorField, "CRiskLevel", CRiskLevel); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorField, "ProfInvestorType", ProfInvestorType); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpInvestorField, c); - module_vntora::objects.emplace("CTORATstpInvestorField", c); -} -void generate_class_CTORATstpQryShareholderAccountField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryShareholderAccountField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryShareholderAccountField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryShareholderAccountField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryShareholderAccountField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryShareholderAccountField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryShareholderAccountField, "TradingCodeClass", TradingCodeClass); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryShareholderAccountField, c); - module_vntora::objects.emplace("CTORATstpQryShareholderAccountField", c); -} -void generate_class_CTORATstpShareholderAccountField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpShareholderAccountField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpShareholderAccountField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpShareholderAccountField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpShareholderAccountField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpShareholderAccountField, "ClientIDType", ClientIDType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpShareholderAccountField, "MarketID", MarketID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpShareholderAccountField, c); - module_vntora::objects.emplace("CTORATstpShareholderAccountField", c); -} -void generate_class_CTORATstpQryBusinessUnitField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryBusinessUnitField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryBusinessUnitField, "InvestorID", InvestorID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryBusinessUnitField, c); - module_vntora::objects.emplace("CTORATstpQryBusinessUnitField", c); -} -void generate_class_CTORATstpBusinessUnitField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpBusinessUnitField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBusinessUnitField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBusinessUnitField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBusinessUnitField, "BusinessUnitName", BusinessUnitName); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpBusinessUnitField, c); - module_vntora::objects.emplace("CTORATstpBusinessUnitField", c); -} -void generate_class_CTORATstpQryBusinessUnitAndTradingAcctField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryBusinessUnitAndTradingAcctField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryBusinessUnitAndTradingAcctField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryBusinessUnitAndTradingAcctField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryBusinessUnitAndTradingAcctField, "ProductID", ProductID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryBusinessUnitAndTradingAcctField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryBusinessUnitAndTradingAcctField, "CurrencyID", CurrencyID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryBusinessUnitAndTradingAcctField, c); - module_vntora::objects.emplace("CTORATstpQryBusinessUnitAndTradingAcctField", c); -} -void generate_class_CTORATstpBusinessUnitAndTradingAcctField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpBusinessUnitAndTradingAcctField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBusinessUnitAndTradingAcctField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBusinessUnitAndTradingAcctField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBusinessUnitAndTradingAcctField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBusinessUnitAndTradingAcctField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBusinessUnitAndTradingAcctField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBusinessUnitAndTradingAcctField, "ProductID", ProductID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBusinessUnitAndTradingAcctField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBusinessUnitAndTradingAcctField, "CurrencyID", CurrencyID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBusinessUnitAndTradingAcctField, "UserID", UserID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpBusinessUnitAndTradingAcctField, c); - module_vntora::objects.emplace("CTORATstpBusinessUnitAndTradingAcctField", c); -} -void generate_class_CTORATstpQryOrderField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryOrderField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderField, "OrderSysID", OrderSysID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderField, "InsertTimeStart", InsertTimeStart); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderField, "InsertTimeEnd", InsertTimeEnd); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderField, "BInfo", BInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderField, "SInfo", SInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderField, "IInfo", IInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderField, "IsCancel", IsCancel); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryOrderField, c); - module_vntora::objects.emplace("CTORATstpQryOrderField", c); -} -void generate_class_CTORATstpQryOrderActionField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryOrderActionField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderActionField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderActionField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderActionField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderActionField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderActionField, "BInfo", BInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderActionField, "SInfo", SInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderActionField, "IInfo", IInfo); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryOrderActionField, c); - module_vntora::objects.emplace("CTORATstpQryOrderActionField", c); -} -void generate_class_CTORATstpQryTradeField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryTradeField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryTradeField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryTradeField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryTradeField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryTradeField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryTradeField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryTradeField, "TradeID", TradeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryTradeField, "TradeTimeStart", TradeTimeStart); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryTradeField, "TradeTimeEnd", TradeTimeEnd); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryTradeField, "BusinessUnitID", BusinessUnitID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryTradeField, c); - module_vntora::objects.emplace("CTORATstpQryTradeField", c); -} -void generate_class_CTORATstpQryTradingAccountField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryTradingAccountField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryTradingAccountField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryTradingAccountField, "CurrencyID", CurrencyID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryTradingAccountField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryTradingAccountField, "AccountType", AccountType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryTradingAccountField, "DepartmentID", DepartmentID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryTradingAccountField, c); - module_vntora::objects.emplace("CTORATstpQryTradingAccountField", c); -} -void generate_class_CTORATstpTradingAccountField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpTradingAccountField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingAccountField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingAccountField, "Available", Available); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingAccountField, "WithdrawQuota", WithdrawQuota); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingAccountField, "CurrencyID", CurrencyID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingAccountField, "Deposit", Deposit); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingAccountField, "Withdraw", Withdraw); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingAccountField, "FrozenMargin", FrozenMargin); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingAccountField, "FrozenCash", FrozenCash); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingAccountField, "FrozenCommission", FrozenCommission); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingAccountField, "CurrMargin", CurrMargin); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingAccountField, "Commission", Commission); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingAccountField, "AccountType", AccountType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingAccountField, "AccountOwner", AccountOwner); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingAccountField, "DepartmentID", DepartmentID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingAccountField, "BankID", BankID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingAccountField, "BankAccountID", BankAccountID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpTradingAccountField, c); - module_vntora::objects.emplace("CTORATstpTradingAccountField", c); -} -void generate_class_CTORATstpQryPositionField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryPositionField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPositionField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPositionField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPositionField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPositionField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPositionField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPositionField, "BusinessUnitID", BusinessUnitID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryPositionField, c); - module_vntora::objects.emplace("CTORATstpQryPositionField", c); -} -void generate_class_CTORATstpPositionField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpPositionField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionField, "TradingDay", TradingDay); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionField, "HistoryPos", HistoryPos); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionField, "HistoryPosFrozen", HistoryPosFrozen); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionField, "TodayBSPos", TodayBSPos); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionField, "TodayBSFrozen", TodayBSFrozen); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionField, "TodayPRPos", TodayPRPos); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionField, "TodayPRFrozen", TodayPRFrozen); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionField, "TotalPosCost", TotalPosCost); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionField, "TodaySMPos", TodaySMPos); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionField, "TodaySMPosFrozen", TodaySMPosFrozen); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionField, "MarginBuyPos", MarginBuyPos); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionField, "ShortSellPos", ShortSellPos); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionField, "PrePosition", PrePosition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionField, "AvailablePosition", AvailablePosition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionField, "CurrentPosition", CurrentPosition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionField, "LastPrice", LastPrice); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpPositionField, c); - module_vntora::objects.emplace("CTORATstpPositionField", c); -} -void generate_class_CTORATstpQryTradingFeeField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryTradingFeeField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryTradingFeeField, "ExchangeID", ExchangeID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryTradingFeeField, c); - module_vntora::objects.emplace("CTORATstpQryTradingFeeField", c); -} -void generate_class_CTORATstpTradingFeeField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpTradingFeeField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "ProductID", ProductID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "SecurityType", SecurityType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "BizClass", BizClass); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "StampTaxRatioByAmt", StampTaxRatioByAmt); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "StampTaxRatioByPar", StampTaxRatioByPar); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "StampTaxFeePerOrder", StampTaxFeePerOrder); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "StampTaxFeeMin", StampTaxFeeMin); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "StampTaxFeeMax", StampTaxFeeMax); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "TransferRatioByAmt", TransferRatioByAmt); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "TransferRatioByPar", TransferRatioByPar); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "TransferFeePerOrder", TransferFeePerOrder); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "TransferFeeMin", TransferFeeMin); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "TransferFeeMax", TransferFeeMax); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "HandlingRatioByAmt", HandlingRatioByAmt); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "HandlingRatioByPar", HandlingRatioByPar); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "HandlingFeePerOrder", HandlingFeePerOrder); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "HandlingFeeMin", HandlingFeeMin); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "HandlingFeeMax", HandlingFeeMax); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "RegulateRatioByAmt", RegulateRatioByAmt); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "RegulateRatioByPar", RegulateRatioByPar); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "RegulateFeePerOrder", RegulateFeePerOrder); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "RegulateFeeMin", RegulateFeeMin); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "RegulateFeeMax", RegulateFeeMax); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "TransferFeeByVolume", TransferFeeByVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "HandlingFeeByVolume", HandlingFeeByVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "SettlementRatioByAmt", SettlementRatioByAmt); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "SettlementRatioByPar", SettlementRatioByPar); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "SettlementFeePerOrder", SettlementFeePerOrder); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "SettlementFeeByVolume", SettlementFeeByVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "SettlementFeeMin", SettlementFeeMin); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpTradingFeeField, "SettlementFeeMax", SettlementFeeMax); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpTradingFeeField, c); - module_vntora::objects.emplace("CTORATstpTradingFeeField", c); -} -void generate_class_CTORATstpQryInvestorTradingFeeField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryInvestorTradingFeeField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryInvestorTradingFeeField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryInvestorTradingFeeField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryInvestorTradingFeeField, "DepartmentID", DepartmentID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryInvestorTradingFeeField, c); - module_vntora::objects.emplace("CTORATstpQryInvestorTradingFeeField", c); -} -void generate_class_CTORATstpInvestorTradingFeeField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpInvestorTradingFeeField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorTradingFeeField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorTradingFeeField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorTradingFeeField, "ProductID", ProductID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorTradingFeeField, "SecurityType", SecurityType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorTradingFeeField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorTradingFeeField, "BizClass", BizClass); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorTradingFeeField, "BrokerageType", BrokerageType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorTradingFeeField, "RatioByAmt", RatioByAmt); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorTradingFeeField, "RatioByPar", RatioByPar); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorTradingFeeField, "FeePerOrder", FeePerOrder); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorTradingFeeField, "FeeMin", FeeMin); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorTradingFeeField, "FeeMax", FeeMax); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorTradingFeeField, "FeeByVolume", FeeByVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorTradingFeeField, "DepartmentID", DepartmentID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpInvestorTradingFeeField, c); - module_vntora::objects.emplace("CTORATstpInvestorTradingFeeField", c); -} -void generate_class_CTORATstpQryIPOQuotaField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryIPOQuotaField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryIPOQuotaField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryIPOQuotaField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryIPOQuotaField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryIPOQuotaField, "ShareholderID", ShareholderID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryIPOQuotaField, c); - module_vntora::objects.emplace("CTORATstpQryIPOQuotaField", c); -} -void generate_class_CTORATstpIPOQuotaField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpIPOQuotaField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOQuotaField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOQuotaField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOQuotaField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOQuotaField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOQuotaField, "MaxVolume", MaxVolume); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpIPOQuotaField, c); - module_vntora::objects.emplace("CTORATstpIPOQuotaField", c); -} -void generate_class_CTORATstpQryMarketField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryMarketField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryMarketField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryMarketField, "MarketID", MarketID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryMarketField, c); - module_vntora::objects.emplace("CTORATstpQryMarketField", c); -} -void generate_class_CTORATstpMarketField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpMarketField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketField, "MarketName", MarketName); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpMarketField, "ExchangeID", ExchangeID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpMarketField, c); - module_vntora::objects.emplace("CTORATstpMarketField", c); -} -void generate_class_CTORATstpQryOrderFundDetailField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryOrderFundDetailField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderFundDetailField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderFundDetailField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderFundDetailField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderFundDetailField, "OrderSysID", OrderSysID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderFundDetailField, "InsertTimeStart", InsertTimeStart); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderFundDetailField, "InsertTimeEnd", InsertTimeEnd); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryOrderFundDetailField, "BusinessUnitID", BusinessUnitID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryOrderFundDetailField, c); - module_vntora::objects.emplace("CTORATstpQryOrderFundDetailField", c); -} -void generate_class_CTORATstpOrderFundDetailField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpOrderFundDetailField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderFundDetailField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderFundDetailField, "InstrumentID", InstrumentID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderFundDetailField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderFundDetailField, "TradingDay", TradingDay); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderFundDetailField, "OrderSysID", OrderSysID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderFundDetailField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderFundDetailField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderFundDetailField, "TotalFrozen", TotalFrozen); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderFundDetailField, "TotalFee", TotalFee); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderFundDetailField, "StampTaxFee", StampTaxFee); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderFundDetailField, "HandlingFee", HandlingFee); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderFundDetailField, "TransferFee", TransferFee); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderFundDetailField, "RegulateFee", RegulateFee); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderFundDetailField, "BrokerageFee", BrokerageFee); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderFundDetailField, "SettlementFee", SettlementFee); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderFundDetailField, "TotalFeeFrozen", TotalFeeFrozen); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpOrderFundDetailField, "OrderAmount", OrderAmount); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpOrderFundDetailField, c); - module_vntora::objects.emplace("CTORATstpOrderFundDetailField", c); -} -void generate_class_CTORATstpQryFundTransferDetailField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryFundTransferDetailField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryFundTransferDetailField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryFundTransferDetailField, "CurrencyID", CurrencyID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryFundTransferDetailField, "TransferDirection", TransferDirection); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryFundTransferDetailField, "DepartmentID", DepartmentID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryFundTransferDetailField, c); - module_vntora::objects.emplace("CTORATstpQryFundTransferDetailField", c); -} -void generate_class_CTORATstpFundTransferDetailField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpFundTransferDetailField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundTransferDetailField, "FundSerial", FundSerial); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundTransferDetailField, "ApplySerial", ApplySerial); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundTransferDetailField, "FrontID", FrontID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundTransferDetailField, "SessionID", SessionID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundTransferDetailField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundTransferDetailField, "CurrencyID", CurrencyID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundTransferDetailField, "TransferDirection", TransferDirection); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundTransferDetailField, "Amount", Amount); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundTransferDetailField, "TransferStatus", TransferStatus); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundTransferDetailField, "OperateSource", OperateSource); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundTransferDetailField, "OperatorID", OperatorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundTransferDetailField, "OperateDate", OperateDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundTransferDetailField, "OperateTime", OperateTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundTransferDetailField, "StatusMsg", StatusMsg); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundTransferDetailField, "DepartmentID", DepartmentID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundTransferDetailField, "BankID", BankID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpFundTransferDetailField, "BankAccountID", BankAccountID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpFundTransferDetailField, c); - module_vntora::objects.emplace("CTORATstpFundTransferDetailField", c); -} -void generate_class_CTORATstpQryPositionTransferDetailField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryPositionTransferDetailField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPositionTransferDetailField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPositionTransferDetailField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPositionTransferDetailField, "TransferDirection", TransferDirection); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryPositionTransferDetailField, c); - module_vntora::objects.emplace("CTORATstpQryPositionTransferDetailField", c); -} -void generate_class_CTORATstpPositionTransferDetailField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpPositionTransferDetailField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionTransferDetailField, "PositionSerial", PositionSerial); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionTransferDetailField, "ApplySerial", ApplySerial); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionTransferDetailField, "FrontID", FrontID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionTransferDetailField, "SessionID", SessionID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionTransferDetailField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionTransferDetailField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionTransferDetailField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionTransferDetailField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionTransferDetailField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionTransferDetailField, "TradingDay", TradingDay); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionTransferDetailField, "TransferDirection", TransferDirection); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionTransferDetailField, "TransferPositionType", TransferPositionType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionTransferDetailField, "TransferStatus", TransferStatus); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionTransferDetailField, "HistoryVolume", HistoryVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionTransferDetailField, "TodayBSVolume", TodayBSVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionTransferDetailField, "TodayPRVolume", TodayPRVolume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionTransferDetailField, "OperatorID", OperatorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionTransferDetailField, "OperateDate", OperateDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionTransferDetailField, "OperateTime", OperateTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionTransferDetailField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPositionTransferDetailField, "StatusMsg", StatusMsg); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpPositionTransferDetailField, c); - module_vntora::objects.emplace("CTORATstpPositionTransferDetailField", c); -} -void generate_class_CTORATstpQryPledgePositionField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryPledgePositionField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPledgePositionField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPledgePositionField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPledgePositionField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPledgePositionField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPledgePositionField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPledgePositionField, "BusinessUnitID", BusinessUnitID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryPledgePositionField, c); - module_vntora::objects.emplace("CTORATstpQryPledgePositionField", c); -} -void generate_class_CTORATstpPledgePositionField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpPledgePositionField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgePositionField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgePositionField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgePositionField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgePositionField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgePositionField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgePositionField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgePositionField, "TradingDay", TradingDay); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgePositionField, "HisPledgePos", HisPledgePos); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgePositionField, "HisPledgePosFrozen", HisPledgePosFrozen); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgePositionField, "TodayPledgePos", TodayPledgePos); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgePositionField, "TodayPledgePosFrozen", TodayPledgePosFrozen); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgePositionField, "PreTotalPledgePos", PreTotalPledgePos); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgePositionField, "preAvailablePledgePos", preAvailablePledgePos); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpPledgePositionField, c); - module_vntora::objects.emplace("CTORATstpPledgePositionField", c); -} -void generate_class_CTORATstpQryPledgeInfoField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryPledgeInfoField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPledgeInfoField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPledgeInfoField, "SecurityID", SecurityID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryPledgeInfoField, c); - module_vntora::objects.emplace("CTORATstpQryPledgeInfoField", c); -} -void generate_class_CTORATstpPledgeInfoField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpPledgeInfoField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgeInfoField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgeInfoField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgeInfoField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgeInfoField, "PledgeOrderID", PledgeOrderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgeInfoField, "StandardBondID", StandardBondID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgeInfoField, "AllowPledgeIn", AllowPledgeIn); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgeInfoField, "AllowPledgeOut", AllowPledgeOut); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgeInfoField, "ConversionRate", ConversionRate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgeInfoField, "PledgeInTradingUnit", PledgeInTradingUnit); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgeInfoField, "PledgeOutTradingUnit", PledgeOutTradingUnit); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgeInfoField, "PledgeInVolMax", PledgeInVolMax); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgeInfoField, "PledgeInVolMin", PledgeInVolMin); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgeInfoField, "PledgeOutVolMax", PledgeOutVolMax); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgeInfoField, "PledgeOutVolMin", PledgeOutVolMin); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgeInfoField, "IsTodayToPlegeOut", IsTodayToPlegeOut); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPledgeInfoField, "IsCancelOrder", IsCancelOrder); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpPledgeInfoField, c); - module_vntora::objects.emplace("CTORATstpPledgeInfoField", c); -} diff --git a/vnpy/api/tora/vntora/generated_files/generated_functions_5.cpp b/vnpy/api/tora/vntora/generated_files/generated_functions_5.cpp deleted file mode 100644 index fb3919af9c..0000000000 --- a/vnpy/api/tora/vntora/generated_files/generated_functions_5.cpp +++ /dev/null @@ -1,567 +0,0 @@ -#include "config.h" - -#include -#include -#include -#include - -#include "module.hpp" -#include "wrappers.hpp" -#include "generated_functions.h" - -#include "TORATstpMdApi.h" -#include "TORATstpTraderApi.h" -#include "TORATstpUserApiDataType.h" -#include "TORATstpUserApiStruct.h" - - -void generate_class_CTORATstpQryConversionBondInfoField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryConversionBondInfoField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryConversionBondInfoField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryConversionBondInfoField, "SecurityID", SecurityID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryConversionBondInfoField, c); - module_vntora::objects.emplace("CTORATstpQryConversionBondInfoField", c); -} -void generate_class_CTORATstpConversionBondInfoField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpConversionBondInfoField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConversionBondInfoField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConversionBondInfoField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConversionBondInfoField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConversionBondInfoField, "ConvertOrderID", ConvertOrderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConversionBondInfoField, "ConvertPrice", ConvertPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConversionBondInfoField, "ConvertVolUnit", ConvertVolUnit); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConversionBondInfoField, "ConvertVolMax", ConvertVolMax); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConversionBondInfoField, "ConvertVolMin", ConvertVolMin); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConversionBondInfoField, "BeginDate", BeginDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConversionBondInfoField, "EndDate", EndDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpConversionBondInfoField, "IsSupportCancel", IsSupportCancel); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpConversionBondInfoField, c); - module_vntora::objects.emplace("CTORATstpConversionBondInfoField", c); -} -void generate_class_CTORATstpQryBondPutbackInfoField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryBondPutbackInfoField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryBondPutbackInfoField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryBondPutbackInfoField, "SecurityID", SecurityID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryBondPutbackInfoField, c); - module_vntora::objects.emplace("CTORATstpQryBondPutbackInfoField", c); -} -void generate_class_CTORATstpBondPutbackInfoField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpBondPutbackInfoField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBondPutbackInfoField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBondPutbackInfoField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBondPutbackInfoField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBondPutbackInfoField, "PutbackOrderID", PutbackOrderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBondPutbackInfoField, "PutbackPrice", PutbackPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBondPutbackInfoField, "PutbackVolUnit", PutbackVolUnit); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBondPutbackInfoField, "PutbackVolMax", PutbackVolMax); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBondPutbackInfoField, "PutbackVolMin", PutbackVolMin); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBondPutbackInfoField, "BeginDate", BeginDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBondPutbackInfoField, "EndDate", EndDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBondPutbackInfoField, "IsSupportCancel", IsSupportCancel); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpBondPutbackInfoField, c); - module_vntora::objects.emplace("CTORATstpBondPutbackInfoField", c); -} -void generate_class_CTORATstpQryStandardBondPositionField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryStandardBondPositionField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryStandardBondPositionField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryStandardBondPositionField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryStandardBondPositionField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryStandardBondPositionField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryStandardBondPositionField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryStandardBondPositionField, "BusinessUnitID", BusinessUnitID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryStandardBondPositionField, c); - module_vntora::objects.emplace("CTORATstpQryStandardBondPositionField", c); -} -void generate_class_CTORATstpStandardBondPositionField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpStandardBondPositionField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpStandardBondPositionField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpStandardBondPositionField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpStandardBondPositionField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpStandardBondPositionField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpStandardBondPositionField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpStandardBondPositionField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpStandardBondPositionField, "TradingDay", TradingDay); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpStandardBondPositionField, "AvailablePosition", AvailablePosition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpStandardBondPositionField, "AvailablePosFrozen", AvailablePosFrozen); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpStandardBondPositionField, "TotalPosition", TotalPosition); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpStandardBondPositionField, c); - module_vntora::objects.emplace("CTORATstpStandardBondPositionField", c); -} -void generate_class_CTORATstpQryDesignationRegistrationField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryDesignationRegistrationField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryDesignationRegistrationField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryDesignationRegistrationField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryDesignationRegistrationField, "OrderSysID", OrderSysID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryDesignationRegistrationField, "InsertTimeStart", InsertTimeStart); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryDesignationRegistrationField, "InsertTimeEnd", InsertTimeEnd); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryDesignationRegistrationField, "BusinessUnitID", BusinessUnitID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryDesignationRegistrationField, c); - module_vntora::objects.emplace("CTORATstpQryDesignationRegistrationField", c); -} -void generate_class_CTORATstpDesignationRegistrationField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpDesignationRegistrationField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpDesignationRegistrationField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpDesignationRegistrationField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpDesignationRegistrationField, "DesignationType", DesignationType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpDesignationRegistrationField, "OrderLocalID", OrderLocalID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpDesignationRegistrationField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpDesignationRegistrationField, "PbuID", PbuID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpDesignationRegistrationField, "OrderSubmitStatus", OrderSubmitStatus); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpDesignationRegistrationField, "TradingDay", TradingDay); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpDesignationRegistrationField, "OrderSysID", OrderSysID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpDesignationRegistrationField, "OrderStatus", OrderStatus); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpDesignationRegistrationField, "InsertDate", InsertDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpDesignationRegistrationField, "InsertTime", InsertTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpDesignationRegistrationField, "StatusMsg", StatusMsg); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpDesignationRegistrationField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpDesignationRegistrationField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpDesignationRegistrationField, "CurrencyID", CurrencyID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpDesignationRegistrationField, "DepartmentID", DepartmentID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpDesignationRegistrationField, c); - module_vntora::objects.emplace("CTORATstpDesignationRegistrationField", c); -} -void generate_class_CTORATstpQryCustodyTransferField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryCustodyTransferField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCustodyTransferField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCustodyTransferField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCustodyTransferField, "OrderSysID", OrderSysID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCustodyTransferField, "InsertTimeStart", InsertTimeStart); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCustodyTransferField, "InsertTimeEnd", InsertTimeEnd); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCustodyTransferField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCustodyTransferField, "SecurityID", SecurityID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryCustodyTransferField, c); - module_vntora::objects.emplace("CTORATstpQryCustodyTransferField", c); -} -void generate_class_CTORATstpCustodyTransferField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpCustodyTransferField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "CustodyTransferType", CustodyTransferType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "OrderLocalID", OrderLocalID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "PbuID", PbuID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "OrderSubmitStatus", OrderSubmitStatus); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "TradingDay", TradingDay); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "OrderSysID", OrderSysID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "OrderStatus", OrderStatus); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "InsertDate", InsertDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "InsertTime", InsertTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "StatusMsg", StatusMsg); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "CurrencyID", CurrencyID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "DepartmentID", DepartmentID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "TransfereePbuID", TransfereePbuID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "OrignalOrderLocalID", OrignalOrderLocalID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "VolumeTotalOriginal", VolumeTotalOriginal); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "CancelTime", CancelTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "ActiveTraderID", ActiveTraderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCustodyTransferField, "ActiveUserID", ActiveUserID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpCustodyTransferField, c); - module_vntora::objects.emplace("CTORATstpCustodyTransferField", c); -} -void generate_class_CTORATstpQrySpecialMarketDataField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQrySpecialMarketDataField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQrySpecialMarketDataField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQrySpecialMarketDataField, "ExchangeID", ExchangeID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQrySpecialMarketDataField, c); - module_vntora::objects.emplace("CTORATstpQrySpecialMarketDataField", c); -} -void generate_class_CTORATstpSpecialMarketDataField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpSpecialMarketDataField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSpecialMarketDataField, "TradingDay", TradingDay); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSpecialMarketDataField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSpecialMarketDataField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSpecialMarketDataField, "SecurityName", SecurityName); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSpecialMarketDataField, "MovingAvgPrice", MovingAvgPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSpecialMarketDataField, "MovingAvgPriceSamplingNum", MovingAvgPriceSamplingNum); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSpecialMarketDataField, "UpdateTime", UpdateTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpSpecialMarketDataField, "UpdateMillisec", UpdateMillisec); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpSpecialMarketDataField, c); - module_vntora::objects.emplace("CTORATstpSpecialMarketDataField", c); -} -void generate_class_CTORATstpQryPrematurityRepoOrderField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryPrematurityRepoOrderField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPrematurityRepoOrderField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPrematurityRepoOrderField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPrematurityRepoOrderField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPrematurityRepoOrderField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPrematurityRepoOrderField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPrematurityRepoOrderField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPrematurityRepoOrderField, "OrderLocalID", OrderLocalID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPrematurityRepoOrderField, "ProductID", ProductID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPrematurityRepoOrderField, "SecurityType", SecurityType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPrematurityRepoOrderField, "Direction", Direction); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPrematurityRepoOrderField, "TradeID", TradeID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryPrematurityRepoOrderField, c); - module_vntora::objects.emplace("CTORATstpQryPrematurityRepoOrderField", c); -} -void generate_class_CTORATstpPrematurityRepoOrderField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpPrematurityRepoOrderField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPrematurityRepoOrderField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPrematurityRepoOrderField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPrematurityRepoOrderField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPrematurityRepoOrderField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPrematurityRepoOrderField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPrematurityRepoOrderField, "TradeDay", TradeDay); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPrematurityRepoOrderField, "ExpireDay", ExpireDay); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPrematurityRepoOrderField, "OrderLocalID", OrderLocalID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPrematurityRepoOrderField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPrematurityRepoOrderField, "SecurityName", SecurityName); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPrematurityRepoOrderField, "ProductID", ProductID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPrematurityRepoOrderField, "SecurityType", SecurityType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPrematurityRepoOrderField, "Direction", Direction); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPrematurityRepoOrderField, "VolumeTraded", VolumeTraded); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPrematurityRepoOrderField, "Price", Price); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPrematurityRepoOrderField, "Turnover", Turnover); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPrematurityRepoOrderField, "TradeID", TradeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPrematurityRepoOrderField, "RepoTotalMoney", RepoTotalMoney); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpPrematurityRepoOrderField, "InterestAmount", InterestAmount); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpPrematurityRepoOrderField, c); - module_vntora::objects.emplace("CTORATstpPrematurityRepoOrderField", c); -} -void generate_class_CTORATstpQryShareholderParamField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryShareholderParamField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryShareholderParamField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryShareholderParamField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryShareholderParamField, "TradingCodeClass", TradingCodeClass); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryShareholderParamField, "ProductID", ProductID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryShareholderParamField, "SecurityType", SecurityType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryShareholderParamField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryShareholderParamField, "ParamType", ParamType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryShareholderParamField, "ExchangeID", ExchangeID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryShareholderParamField, c); - module_vntora::objects.emplace("CTORATstpQryShareholderParamField", c); -} -void generate_class_CTORATstpShareholderParamField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpShareholderParamField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpShareholderParamField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpShareholderParamField, "MarketID", MarketID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpShareholderParamField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpShareholderParamField, "TradingCodeClass", TradingCodeClass); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpShareholderParamField, "ProductID", ProductID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpShareholderParamField, "SecurityType", SecurityType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpShareholderParamField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpShareholderParamField, "ParamType", ParamType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpShareholderParamField, "ParamValue", ParamValue); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpShareholderParamField, c); - module_vntora::objects.emplace("CTORATstpShareholderParamField", c); -} -void generate_class_CTORATstpQryPeripheryPositionTransferDetailField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryPeripheryPositionTransferDetailField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPeripheryPositionTransferDetailField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPeripheryPositionTransferDetailField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPeripheryPositionTransferDetailField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPeripheryPositionTransferDetailField, "TransferDirection", TransferDirection); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryPeripheryPositionTransferDetailField, "BusinessUnitID", BusinessUnitID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryPeripheryPositionTransferDetailField, c); - module_vntora::objects.emplace("CTORATstpQryPeripheryPositionTransferDetailField", c); -} -void generate_class_CTORATstpQryInvestorCondOrderLimitParamField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryInvestorCondOrderLimitParamField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryInvestorCondOrderLimitParamField, "InvestorID", InvestorID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryInvestorCondOrderLimitParamField, c); - module_vntora::objects.emplace("CTORATstpQryInvestorCondOrderLimitParamField", c); -} -void generate_class_CTORATstpInvestorCondOrderLimitParamField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpInvestorCondOrderLimitParamField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorCondOrderLimitParamField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorCondOrderLimitParamField, "MaxCondOrderLimitCnt", MaxCondOrderLimitCnt); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpInvestorCondOrderLimitParamField, "CurrCondOrderCnt", CurrCondOrderCnt); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpInvestorCondOrderLimitParamField, c); - module_vntora::objects.emplace("CTORATstpInvestorCondOrderLimitParamField", c); -} -void generate_class_CTORATstpQryCondOrderField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryCondOrderField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCondOrderField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCondOrderField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCondOrderField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCondOrderField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCondOrderField, "CondOrderID", CondOrderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCondOrderField, "InsertTimeStart", InsertTimeStart); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCondOrderField, "InsertTimeEnd", InsertTimeEnd); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCondOrderField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCondOrderField, "BInfo", BInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCondOrderField, "SInfo", SInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCondOrderField, "IInfo", IInfo); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryCondOrderField, c); - module_vntora::objects.emplace("CTORATstpQryCondOrderField", c); -} -void generate_class_CTORATstpCondOrderField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpCondOrderField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "Direction", Direction); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "OrderPriceType", OrderPriceType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "OrderVolumeType", OrderVolumeType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "TimeCondition", TimeCondition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "VolumeCondition", VolumeCondition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "LimitPrice", LimitPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "VolumeTotalOriginal", VolumeTotalOriginal); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "CombOffsetFlag", CombOffsetFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "CombHedgeFlag", CombHedgeFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "CondOrderRef", CondOrderRef); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "AccountID", AccountID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "RequestID", RequestID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "IPAddress", IPAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "MacAddress", MacAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "CondOrderID", CondOrderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "TerminalInfo", TerminalInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "BInfo", BInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "SInfo", SInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "IInfo", IInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "Operway", Operway); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "CondCheck", CondCheck); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "ContingentCondition", ContingentCondition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "ConditionPrice", ConditionPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "PriceTicks", PriceTicks); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "VolumeMultiple", VolumeMultiple); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "RelativeFrontID", RelativeFrontID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "RelativeSessionID", RelativeSessionID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "RelativeParam", RelativeParam); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "AppendContingentCondition", AppendContingentCondition); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "AppendConditionPrice", AppendConditionPrice); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "AppendRelativeFrontID", AppendRelativeFrontID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "AppendRelativeSessionID", AppendRelativeSessionID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "AppendRelativeParam", AppendRelativeParam); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "TradingDay", TradingDay); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "CondOrderStatus", CondOrderStatus); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "InsertDate", InsertDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "InsertTime", InsertTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "CancelTime", CancelTime); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "CancelUser", CancelUser); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "FrontID", FrontID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "SessionID", SessionID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "UserProductInfo", UserProductInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "StatusMsg", StatusMsg); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "DepartmentID", DepartmentID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "ProperCtrlBusinessType", ProperCtrlBusinessType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "ProperCtrlPassFlag", ProperCtrlPassFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "ActiveDate", ActiveDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderField, "ActiveTime", ActiveTime); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpCondOrderField, c); - module_vntora::objects.emplace("CTORATstpCondOrderField", c); -} -void generate_class_CTORATstpQryCondOrderActionField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryCondOrderActionField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCondOrderActionField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCondOrderActionField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCondOrderActionField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCondOrderActionField, "BInfo", BInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCondOrderActionField, "SInfo", SInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryCondOrderActionField, "IInfo", IInfo); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryCondOrderActionField, c); - module_vntora::objects.emplace("CTORATstpQryCondOrderActionField", c); -} -void generate_class_CTORATstpCondOrderActionField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpCondOrderActionField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderActionField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderActionField, "RequestID", RequestID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderActionField, "CondOrderActionRef", CondOrderActionRef); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderActionField, "CondOrderRef", CondOrderRef); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderActionField, "FrontID", FrontID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderActionField, "SessionID", SessionID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderActionField, "CondOrderID", CondOrderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderActionField, "ActionFlag", ActionFlag); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderActionField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderActionField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderActionField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderActionField, "CancelCondOrderID", CancelCondOrderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderActionField, "IPAddress", IPAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderActionField, "MacAddress", MacAddress); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderActionField, "TerminalInfo", TerminalInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderActionField, "BInfo", BInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderActionField, "SInfo", SInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderActionField, "IInfo", IInfo); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderActionField, "Operway", Operway); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderActionField, "BusinessUnitID", BusinessUnitID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderActionField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderActionField, "ActionDate", ActionDate); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpCondOrderActionField, "ActionTime", ActionTime); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpCondOrderActionField, c); - module_vntora::objects.emplace("CTORATstpCondOrderActionField", c); -} -void generate_class_CTORATstpQryBrokerUserRoleField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryBrokerUserRoleField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryBrokerUserRoleField, "RoleID", RoleID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryBrokerUserRoleField, c); - module_vntora::objects.emplace("CTORATstpQryBrokerUserRoleField", c); -} -void generate_class_CTORATstpBrokerUserRoleField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpBrokerUserRoleField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBrokerUserRoleField, "RoleID", RoleID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBrokerUserRoleField, "RoleDescription", RoleDescription); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBrokerUserRoleField, "Functions", Functions); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpBrokerUserRoleField, c); - module_vntora::objects.emplace("CTORATstpBrokerUserRoleField", c); -} -void generate_class_CTORATstpQryBrokerUserRoleAssignmentField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryBrokerUserRoleAssignmentField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryBrokerUserRoleAssignmentField, "UserID", UserID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryBrokerUserRoleAssignmentField, c); - module_vntora::objects.emplace("CTORATstpQryBrokerUserRoleAssignmentField", c); -} -void generate_class_CTORATstpBrokerUserRoleAssignmentField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpBrokerUserRoleAssignmentField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBrokerUserRoleAssignmentField, "UserID", UserID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBrokerUserRoleAssignmentField, "RoleID", RoleID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpBrokerUserRoleAssignmentField, "RoleDescription", RoleDescription); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpBrokerUserRoleAssignmentField, c); - module_vntora::objects.emplace("CTORATstpBrokerUserRoleAssignmentField", c); -} -void generate_class_CTORATstpQryTradingNoticeField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryTradingNoticeField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryTradingNoticeField, "InvestorID", InvestorID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryTradingNoticeField, "InsertDateStart", InsertDateStart); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryTradingNoticeField, "InsertDateEnd", InsertDateEnd); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryTradingNoticeField, "InsertTimeStart", InsertTimeStart); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryTradingNoticeField, "InsertTimeEnd", InsertTimeEnd); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryTradingNoticeField, c); - module_vntora::objects.emplace("CTORATstpQryTradingNoticeField", c); -} -void generate_class_CTORATstpQryIPONumberResultField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryIPONumberResultField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryIPONumberResultField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryIPONumberResultField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryIPONumberResultField, "ShareholderID", ShareholderID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryIPONumberResultField, c); - module_vntora::objects.emplace("CTORATstpQryIPONumberResultField", c); -} -void generate_class_CTORATstpIPONumberResultField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpIPONumberResultField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPONumberResultField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPONumberResultField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPONumberResultField, "Day", Day); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPONumberResultField, "SecurityName", SecurityName); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPONumberResultField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPONumberResultField, "SecurityType", SecurityType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPONumberResultField, "BeginNumberID", BeginNumberID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPONumberResultField, "Volume", Volume); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpIPONumberResultField, c); - module_vntora::objects.emplace("CTORATstpIPONumberResultField", c); -} -void generate_class_CTORATstpQryIPOMatchNumberResultField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpQryIPOMatchNumberResultField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryIPOMatchNumberResultField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryIPOMatchNumberResultField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryIPOMatchNumberResultField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpQryIPOMatchNumberResultField, "MatchNumberID", MatchNumberID); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpQryIPOMatchNumberResultField, c); - module_vntora::objects.emplace("CTORATstpQryIPOMatchNumberResultField", c); -} -void generate_class_CTORATstpIPOMatchNumberResultField(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpIPOMatchNumberResultField"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOMatchNumberResultField, "ExchangeID", ExchangeID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOMatchNumberResultField, "SecurityID", SecurityID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOMatchNumberResultField, "Day", Day); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOMatchNumberResultField, "SecurityName", SecurityName); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOMatchNumberResultField, "ShareholderID", ShareholderID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOMatchNumberResultField, "SecurityType", SecurityType); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOMatchNumberResultField, "MatchNumberID", MatchNumberID); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOMatchNumberResultField, "Volume", Volume); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOMatchNumberResultField, "Price", Price); - c.AUTOCXXPY_DEF_PROPERTY(tag_vntora, CTORATstpIPOMatchNumberResultField, "Amout", Amout); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpIPOMatchNumberResultField, c); - module_vntora::objects.emplace("CTORATstpIPOMatchNumberResultField", c); -} diff --git a/vnpy/api/tora/vntora/generated_files/generated_functions_6.cpp b/vnpy/api/tora/vntora/generated_files/generated_functions_6.cpp deleted file mode 100644 index 7fa33adba6..0000000000 --- a/vnpy/api/tora/vntora/generated_files/generated_functions_6.cpp +++ /dev/null @@ -1,602 +0,0 @@ -#include "config.h" - -#include -#include -#include -#include - -#include "module.hpp" -#include "wrappers.hpp" -#include "generated_functions.h" - -#include "TORATstpMdApi.h" -#include "TORATstpTraderApi.h" -#include "TORATstpUserApiDataType.h" -#include "TORATstpUserApiStruct.h" - - -void generate_class_CTORATstpMdSpi(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpMdSpi"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.def("OnFrontConnected", - &CTORATstpMdSpi::OnFrontConnected, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnFrontDisconnected", - &CTORATstpMdSpi::OnFrontDisconnected, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspError", - &CTORATstpMdSpi::OnRspError, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspUserLogin", - &CTORATstpMdSpi::OnRspUserLogin, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspUserLogout", - &CTORATstpMdSpi::OnRspUserLogout, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspSubMarketData", - &CTORATstpMdSpi::OnRspSubMarketData, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspUnSubMarketData", - &CTORATstpMdSpi::OnRspUnSubMarketData, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspSubSpecialMarketData", - &CTORATstpMdSpi::OnRspSubSpecialMarketData, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspUnSubSpecialMarketData", - &CTORATstpMdSpi::OnRspUnSubSpecialMarketData, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspSubFundsFlowMarketData", - &CTORATstpMdSpi::OnRspSubFundsFlowMarketData, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspUnSubFundsFlowMarketData", - &CTORATstpMdSpi::OnRspUnSubFundsFlowMarketData, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRtnDepthMarketData", - &CTORATstpMdSpi::OnRtnDepthMarketData, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRtnSpecialMarketData", - &CTORATstpMdSpi::OnRtnSpecialMarketData, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRtnEffectPriceMarketData", - &CTORATstpMdSpi::OnRtnEffectPriceMarketData, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRtnEffectVolumeMarketData", - &CTORATstpMdSpi::OnRtnEffectVolumeMarketData, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRtnFundsFlowMarketData", - &CTORATstpMdSpi::OnRtnFundsFlowMarketData, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpMdSpi, c); - module_vntora::objects.emplace("CTORATstpMdSpi", c); -} -void generate_class_CTORATstpMdApi(pybind11::object & parent) -{ - pybind11::class_< - CTORATstpMdApi, - std::unique_ptr, - PyCTORATstpMdApi - > c(parent, "CTORATstpMdApi"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.def_static("CreateTstpMdApi", - &CTORATstpMdApi::CreateTstpMdApi, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def_static("GetApiVersion", - &CTORATstpMdApi::GetApiVersion, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("Release", - &CTORATstpMdApi::Release, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("Init", - &CTORATstpMdApi::Init, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("Join", - &CTORATstpMdApi::Join, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("RegisterFront", - &CTORATstpMdApi::RegisterFront, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("RegisterNameServer", - &CTORATstpMdApi::RegisterNameServer, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("RegisterDeriveServer", - &CTORATstpMdApi::RegisterDeriveServer, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("RegisterSpi", - &CTORATstpMdApi::RegisterSpi, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("SubscribeMarketData", - autocxxpy::apply_function_transform< - autocxxpy::function_constant< - &CTORATstpMdApi::SubscribeMarketData - >, - brigand::list< - autocxxpy::indexed_transform_holder - > - >::value, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("UnSubscribeMarketData", - autocxxpy::apply_function_transform< - autocxxpy::function_constant< - &CTORATstpMdApi::UnSubscribeMarketData - >, - brigand::list< - autocxxpy::indexed_transform_holder - > - >::value, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("SubscribeSpecialMarketData", - autocxxpy::apply_function_transform< - autocxxpy::function_constant< - &CTORATstpMdApi::SubscribeSpecialMarketData - >, - brigand::list< - autocxxpy::indexed_transform_holder - > - >::value, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("UnSubscribeSpecialMarketData", - autocxxpy::apply_function_transform< - autocxxpy::function_constant< - &CTORATstpMdApi::UnSubscribeSpecialMarketData - >, - brigand::list< - autocxxpy::indexed_transform_holder - > - >::value, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("SubscribeFundsFlowMarketData", - autocxxpy::apply_function_transform< - autocxxpy::function_constant< - &CTORATstpMdApi::SubscribeFundsFlowMarketData - >, - brigand::list< - autocxxpy::indexed_transform_holder - > - >::value, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("UnSubscribeFundsFlowMarketData", - autocxxpy::apply_function_transform< - autocxxpy::function_constant< - &CTORATstpMdApi::UnSubscribeFundsFlowMarketData - >, - brigand::list< - autocxxpy::indexed_transform_holder - > - >::value, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqUserLogin", - &CTORATstpMdApi::ReqUserLogin, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqUserLogout", - &CTORATstpMdApi::ReqUserLogout, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpMdApi, c); - module_vntora::objects.emplace("CTORATstpMdApi", c); -} -void generate_class_CTORATstpTraderSpi(pybind11::object & parent) -{ - pybind11::class_ c(parent, "CTORATstpTraderSpi"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.def("OnFrontConnected", - &CTORATstpTraderSpi::OnFrontConnected, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnFrontDisconnected", - &CTORATstpTraderSpi::OnFrontDisconnected, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspError", - &CTORATstpTraderSpi::OnRspError, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspUserLogin", - &CTORATstpTraderSpi::OnRspUserLogin, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspUserLogout", - &CTORATstpTraderSpi::OnRspUserLogout, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspUserPasswordUpdate", - &CTORATstpTraderSpi::OnRspUserPasswordUpdate, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspInputDeviceSerial", - &CTORATstpTraderSpi::OnRspInputDeviceSerial, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspOrderInsert", - &CTORATstpTraderSpi::OnRspOrderInsert, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRtnOrder", - &CTORATstpTraderSpi::OnRtnOrder, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnErrRtnOrderInsert", - &CTORATstpTraderSpi::OnErrRtnOrderInsert, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspOrderAction", - &CTORATstpTraderSpi::OnRspOrderAction, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnErrRtnOrderAction", - &CTORATstpTraderSpi::OnErrRtnOrderAction, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRtnTrade", - &CTORATstpTraderSpi::OnRtnTrade, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRtnMarketStatus", - &CTORATstpTraderSpi::OnRtnMarketStatus, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspCondOrderInsert", - &CTORATstpTraderSpi::OnRspCondOrderInsert, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRtnCondOrder", - &CTORATstpTraderSpi::OnRtnCondOrder, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnErrRtnCondOrderInsert", - &CTORATstpTraderSpi::OnErrRtnCondOrderInsert, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspCondOrderAction", - &CTORATstpTraderSpi::OnRspCondOrderAction, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnErrRtnCondOrderAction", - &CTORATstpTraderSpi::OnErrRtnCondOrderAction, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspInquiryJZFund", - &CTORATstpTraderSpi::OnRspInquiryJZFund, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspTransferFund", - &CTORATstpTraderSpi::OnRspTransferFund, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRtnTransferFund", - &CTORATstpTraderSpi::OnRtnTransferFund, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnErrRtnTransferFund", - &CTORATstpTraderSpi::OnErrRtnTransferFund, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRtnTransferPosition", - &CTORATstpTraderSpi::OnRtnTransferPosition, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnErrRtnTransferPosition", - &CTORATstpTraderSpi::OnErrRtnTransferPosition, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspTransferCollateral", - &CTORATstpTraderSpi::OnRspTransferCollateral, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspInquiryBankAccountFund", - &CTORATstpTraderSpi::OnRspInquiryBankAccountFund, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspInquiryTradeConcentration", - &CTORATstpTraderSpi::OnRspInquiryTradeConcentration, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRtnTradingNotice", - &CTORATstpTraderSpi::OnRtnTradingNotice, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspInquiryMaxOrderVolume", - &CTORATstpTraderSpi::OnRspInquiryMaxOrderVolume, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRtnPeripheryTransferPosition", - &CTORATstpTraderSpi::OnRtnPeripheryTransferPosition, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspInquiryHistoryOrder", - &CTORATstpTraderSpi::OnRspInquiryHistoryOrder, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspInquiryHistoryTrade", - &CTORATstpTraderSpi::OnRspInquiryHistoryTrade, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryExchange", - &CTORATstpTraderSpi::OnRspQryExchange, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryMarketData", - &CTORATstpTraderSpi::OnRspQryMarketData, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQrySecurity", - &CTORATstpTraderSpi::OnRspQrySecurity, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryETFFile", - &CTORATstpTraderSpi::OnRspQryETFFile, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryETFBasket", - &CTORATstpTraderSpi::OnRspQryETFBasket, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryIPOInfo", - &CTORATstpTraderSpi::OnRspQryIPOInfo, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryBUProxy", - &CTORATstpTraderSpi::OnRspQryBUProxy, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryUser", - &CTORATstpTraderSpi::OnRspQryUser, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryInvestor", - &CTORATstpTraderSpi::OnRspQryInvestor, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryShareholderAccount", - &CTORATstpTraderSpi::OnRspQryShareholderAccount, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryOrder", - &CTORATstpTraderSpi::OnRspQryOrder, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryOrderAction", - &CTORATstpTraderSpi::OnRspQryOrderAction, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryTrade", - &CTORATstpTraderSpi::OnRspQryTrade, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryTradingAccount", - &CTORATstpTraderSpi::OnRspQryTradingAccount, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryPosition", - &CTORATstpTraderSpi::OnRspQryPosition, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryTradingFee", - &CTORATstpTraderSpi::OnRspQryTradingFee, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryInvestorTradingFee", - &CTORATstpTraderSpi::OnRspQryInvestorTradingFee, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryIPOQuota", - &CTORATstpTraderSpi::OnRspQryIPOQuota, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryMarket", - &CTORATstpTraderSpi::OnRspQryMarket, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryOrderFundDetail", - &CTORATstpTraderSpi::OnRspQryOrderFundDetail, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryFundTransferDetail", - &CTORATstpTraderSpi::OnRspQryFundTransferDetail, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryPositionTransferDetail", - &CTORATstpTraderSpi::OnRspQryPositionTransferDetail, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryPledgePosition", - &CTORATstpTraderSpi::OnRspQryPledgePosition, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryPledgeInfo", - &CTORATstpTraderSpi::OnRspQryPledgeInfo, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryConversionBondInfo", - &CTORATstpTraderSpi::OnRspQryConversionBondInfo, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryBondPutbackInfo", - &CTORATstpTraderSpi::OnRspQryBondPutbackInfo, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryStandardBondPosition", - &CTORATstpTraderSpi::OnRspQryStandardBondPosition, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQrySpecialMarketData", - &CTORATstpTraderSpi::OnRspQrySpecialMarketData, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryPrematurityRepoOrder", - &CTORATstpTraderSpi::OnRspQryPrematurityRepoOrder, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryShareholderParam", - &CTORATstpTraderSpi::OnRspQryShareholderParam, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryPeripheryPositionTransferDetail", - &CTORATstpTraderSpi::OnRspQryPeripheryPositionTransferDetail, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryInvestorCondOrderLimitParam", - &CTORATstpTraderSpi::OnRspQryInvestorCondOrderLimitParam, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryCondOrder", - &CTORATstpTraderSpi::OnRspQryCondOrder, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryCondOrderAction", - &CTORATstpTraderSpi::OnRspQryCondOrderAction, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryTradingNotice", - &CTORATstpTraderSpi::OnRspQryTradingNotice, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryIPONumberResult", - &CTORATstpTraderSpi::OnRspQryIPONumberResult, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("OnRspQryIPOMatchNumberResult", - &CTORATstpTraderSpi::OnRspQryIPOMatchNumberResult, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpTraderSpi, c); - module_vntora::objects.emplace("CTORATstpTraderSpi", c); -} diff --git a/vnpy/api/tora/vntora/generated_files/generated_functions_7.cpp b/vnpy/api/tora/vntora/generated_files/generated_functions_7.cpp deleted file mode 100644 index 93dc6ac875..0000000000 --- a/vnpy/api/tora/vntora/generated_files/generated_functions_7.cpp +++ /dev/null @@ -1,658 +0,0 @@ -#include "config.h" - -#include -#include -#include -#include - -#include "module.hpp" -#include "wrappers.hpp" -#include "generated_functions.h" - -#include "TORATstpMdApi.h" -#include "TORATstpTraderApi.h" -#include "TORATstpUserApiDataType.h" -#include "TORATstpUserApiStruct.h" - - -void generate_class_CTORATstpTraderApi(pybind11::object & parent) -{ - pybind11::class_< - CTORATstpTraderApi, - std::unique_ptr, - PyCTORATstpTraderApi - > c(parent, "CTORATstpTraderApi"); - if constexpr (std::is_default_constructible_v) - c.def(pybind11::init<>()); - c.def_static("CreateTstpTraderApi", - &CTORATstpTraderApi::CreateTstpTraderApi, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def_static("GetApiVersion", - &CTORATstpTraderApi::GetApiVersion, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("Release", - &CTORATstpTraderApi::Release, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("Init", - &CTORATstpTraderApi::Init, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("Join", - &CTORATstpTraderApi::Join, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("RegisterFront", - &CTORATstpTraderApi::RegisterFront, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("RegisterNameServer", - &CTORATstpTraderApi::RegisterNameServer, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("RegisterDeriveServer", - &CTORATstpTraderApi::RegisterDeriveServer, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("RegisterSpi", - &CTORATstpTraderApi::RegisterSpi, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("SubscribePrivateTopic", - &CTORATstpTraderApi::SubscribePrivateTopic, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("SubscribePublicTopic", - &CTORATstpTraderApi::SubscribePublicTopic, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqUserLogin", - &CTORATstpTraderApi::ReqUserLogin, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqUserLogout", - &CTORATstpTraderApi::ReqUserLogout, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqUserPasswordUpdate", - &CTORATstpTraderApi::ReqUserPasswordUpdate, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqInputDeviceSerial", - &CTORATstpTraderApi::ReqInputDeviceSerial, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqOrderInsert", - &CTORATstpTraderApi::ReqOrderInsert, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqOrderAction", - &CTORATstpTraderApi::ReqOrderAction, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqCondOrderInsert", - &CTORATstpTraderApi::ReqCondOrderInsert, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqCondOrderAction", - &CTORATstpTraderApi::ReqCondOrderAction, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqInquiryJZFund", - &CTORATstpTraderApi::ReqInquiryJZFund, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqTransferFund", - &CTORATstpTraderApi::ReqTransferFund, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqTransferCollateral", - &CTORATstpTraderApi::ReqTransferCollateral, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqInquiryBankAccountFund", - &CTORATstpTraderApi::ReqInquiryBankAccountFund, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqInquiryTradeConcentration", - &CTORATstpTraderApi::ReqInquiryTradeConcentration, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqInquiryMaxOrderVolume", - &CTORATstpTraderApi::ReqInquiryMaxOrderVolume, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqInquiryHistoryOrder", - &CTORATstpTraderApi::ReqInquiryHistoryOrder, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqInquiryHistoryTrade", - &CTORATstpTraderApi::ReqInquiryHistoryTrade, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryExchange", - &CTORATstpTraderApi::ReqQryExchange, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryMarketData", - &CTORATstpTraderApi::ReqQryMarketData, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQrySecurity", - &CTORATstpTraderApi::ReqQrySecurity, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryETFFile", - &CTORATstpTraderApi::ReqQryETFFile, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryETFBasket", - &CTORATstpTraderApi::ReqQryETFBasket, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryIPOInfo", - &CTORATstpTraderApi::ReqQryIPOInfo, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryBUProxy", - &CTORATstpTraderApi::ReqQryBUProxy, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryUser", - &CTORATstpTraderApi::ReqQryUser, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryInvestor", - &CTORATstpTraderApi::ReqQryInvestor, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryShareholderAccount", - &CTORATstpTraderApi::ReqQryShareholderAccount, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryOrder", - &CTORATstpTraderApi::ReqQryOrder, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryOrderAction", - &CTORATstpTraderApi::ReqQryOrderAction, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryTrade", - &CTORATstpTraderApi::ReqQryTrade, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryTradingAccount", - &CTORATstpTraderApi::ReqQryTradingAccount, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryPosition", - &CTORATstpTraderApi::ReqQryPosition, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryTradingFee", - &CTORATstpTraderApi::ReqQryTradingFee, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryInvestorTradingFee", - &CTORATstpTraderApi::ReqQryInvestorTradingFee, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryIPOQuota", - &CTORATstpTraderApi::ReqQryIPOQuota, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryMarket", - &CTORATstpTraderApi::ReqQryMarket, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryOrderFundDetail", - &CTORATstpTraderApi::ReqQryOrderFundDetail, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryFundTransferDetail", - &CTORATstpTraderApi::ReqQryFundTransferDetail, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryPositionTransferDetail", - &CTORATstpTraderApi::ReqQryPositionTransferDetail, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryPledgePosition", - &CTORATstpTraderApi::ReqQryPledgePosition, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryPledgeInfo", - &CTORATstpTraderApi::ReqQryPledgeInfo, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryConversionBondInfo", - &CTORATstpTraderApi::ReqQryConversionBondInfo, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryBondPutbackInfo", - &CTORATstpTraderApi::ReqQryBondPutbackInfo, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryStandardBondPosition", - &CTORATstpTraderApi::ReqQryStandardBondPosition, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQrySpecialMarketData", - &CTORATstpTraderApi::ReqQrySpecialMarketData, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryPrematurityRepoOrder", - &CTORATstpTraderApi::ReqQryPrematurityRepoOrder, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryShareholderParam", - &CTORATstpTraderApi::ReqQryShareholderParam, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryPeripheryPositionTransferDetail", - &CTORATstpTraderApi::ReqQryPeripheryPositionTransferDetail, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryInvestorCondOrderLimitParam", - &CTORATstpTraderApi::ReqQryInvestorCondOrderLimitParam, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryCondOrder", - &CTORATstpTraderApi::ReqQryCondOrder, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryCondOrderAction", - &CTORATstpTraderApi::ReqQryCondOrderAction, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryTradingNotice", - &CTORATstpTraderApi::ReqQryTradingNotice, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryIPONumberResult", - &CTORATstpTraderApi::ReqQryIPONumberResult, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - c.def("ReqQryIPOMatchNumberResult", - &CTORATstpTraderApi::ReqQryIPOMatchNumberResult, - pybind11::return_value_policy::reference, - pybind11::call_guard() - ); - AUTOCXXPY_POST_REGISTER_CLASS(tag_vntora, CTORATstpTraderApi, c); - module_vntora::objects.emplace("CTORATstpTraderApi", c); -} -void generate_enum_TORA_TE_RESUME_TYPE(pybind11::object & parent) -{ - pybind11::enum_ e(parent, "TORA_TE_RESUME_TYPE", pybind11::arithmetic()); - e.value("TORA_TERT_RESTART", TORA_TE_RESUME_TYPE::TORA_TERT_RESTART); - e.value("TORA_TERT_RESUME", TORA_TE_RESUME_TYPE::TORA_TERT_RESUME); - e.value("TORA_TERT_QUICK", TORA_TE_RESUME_TYPE::TORA_TERT_QUICK); - e.export_values(); - module_vntora::objects.emplace("TORA_TE_RESUME_TYPE", e); -} -void generate_caster_(pybind11::object & parent) -{ - struct caster: autocxxpy::caster{}; - auto c = autocxxpy::caster::bind(parent, "caster"); - autocxxpy::caster::try_generate(c, "toCTORATstpFensUserInfoField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpEffectPriceMarketDataField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpEffectVolumeMarketDataField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpFundsFlowMarketDataField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpReqUserLoginField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpRspUserLoginField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpRspInfoField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpUserLogoutField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpForceUserLogoutField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpUserPasswordUpdateField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpReqInputDeviceSerialField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpRspInputDeviceSerialField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpActivateUserField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpVerifyUserPasswordField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpInputOrderField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpOrderField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpUserRefField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpInputOrderActionField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpOrderActionField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpTradeField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpMarketStatusField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpInputCondOrderField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpConditionOrderField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpInputCondOrderActionField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpReqInquiryJZFundField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpRspInquiryJZFundField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpInputTransferFundField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpInputTransferPositionField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpTransferFundField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpTransferPositionField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpSpecificSecurityField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpInputTransferCollateralField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpReqInquiryBankAccountFundField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpRspInquiryBankAccountFundField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpLev2MarketDataField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpLev2IndexField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpLev2TransactionField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpLev2OrderDetailField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpUploadTradeDataField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpInputDesignationRegistrationField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpInputCustodyTransferField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpInquiryTradeConcentrationField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpInquiryFileOrderField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpFileOrderField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryRspInfoField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpReviewFileOrderField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpCommitInfoField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpReqInsTradingNoticeField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpTradingNoticeField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpLoadFileOrderField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpFileOrderInfoField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpReqInquiryMaxOrderVolumeField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpRspInquiryMaxOrderVolumeField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpPeripheryPositionTransferDetailField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryHistoryOrderField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryHistoryRspInfoField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpHistoryOrderField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryHistoryTradeField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpHistoryTradeField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryExchangeField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpExchangeField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryPBUField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpPBUField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryMarketDataField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpMarketDataField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQrySecurityField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpSecurityField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryETFFileField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpETFFileField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryETFBasketField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpETFBasketField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryDepartmentInfoField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpDepartmentInfoField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryIPOInfoField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpIPOInfoField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryBrokerUserFunctionField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpBrokerUserFunctionField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryBUProxyField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpBUProxyField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryUserField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpUserField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryInvestorField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpInvestorField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryShareholderAccountField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpShareholderAccountField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryBusinessUnitField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpBusinessUnitField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryBusinessUnitAndTradingAcctField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpBusinessUnitAndTradingAcctField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryOrderField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryOrderActionField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryTradeField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryTradingAccountField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpTradingAccountField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryPositionField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpPositionField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryTradingFeeField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpTradingFeeField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryInvestorTradingFeeField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpInvestorTradingFeeField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryIPOQuotaField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpIPOQuotaField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryMarketField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpMarketField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryOrderFundDetailField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpOrderFundDetailField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryFundTransferDetailField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpFundTransferDetailField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryPositionTransferDetailField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpPositionTransferDetailField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryPledgePositionField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpPledgePositionField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryPledgeInfoField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpPledgeInfoField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryConversionBondInfoField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpConversionBondInfoField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryBondPutbackInfoField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpBondPutbackInfoField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryStandardBondPositionField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpStandardBondPositionField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryDesignationRegistrationField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpDesignationRegistrationField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryCustodyTransferField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpCustodyTransferField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQrySpecialMarketDataField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpSpecialMarketDataField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryPrematurityRepoOrderField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpPrematurityRepoOrderField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryShareholderParamField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpShareholderParamField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryPeripheryPositionTransferDetailField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryInvestorCondOrderLimitParamField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpInvestorCondOrderLimitParamField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryCondOrderField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpCondOrderField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryCondOrderActionField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpCondOrderActionField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryBrokerUserRoleField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpBrokerUserRoleField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryBrokerUserRoleAssignmentField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpBrokerUserRoleAssignmentField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryTradingNoticeField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryIPONumberResultField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpIPONumberResultField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpQryIPOMatchNumberResultField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpIPOMatchNumberResultField)"); - autocxxpy::caster::try_generate(c, "toCTORATstpMdSpi)"); - autocxxpy::caster::try_generate(c, "toCTORATstpMdApi)"); - autocxxpy::caster::try_generate(c, "toCTORATstpTraderSpi)"); - autocxxpy::caster::try_generate(c, "toCTORATstpTraderApi)"); - autocxxpy::caster::try_generate(c, "toTTORATstpDateType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpTimeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpMillisecType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpPriceType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpRatioType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpMoneyType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpVolumeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpLargeVolumeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpBoolType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpSequenceNoType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpSerialType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpCommFluxType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpRoleIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpRoleDescriptionType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpFunctionsType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpDeviceIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpDeviceSerialType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpExchangeIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpAuthModeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpVolumeMultipleType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpIdCardNoType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpUserIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpTradeIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpOrderSysIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpCondOrderIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpPasswordType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpFrontIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpSessionIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpProductInfoType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpProtocolInfoType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpErrorIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpErrorMsgType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpPositionTypeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpParameterCharValType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpNameType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpListingMarketType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpProductIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpSecurityIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpParValueType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpPriceTickType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpTradingUnitType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpSecurityStatusType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpAccountIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpInvestorIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpAddressType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpDepartmentIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpTerminalInfoType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpShareholderIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpPbuIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpIPAddressType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpMacAddressType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpLangType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpInterestType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpOrderLocalIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpPositionVolumeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpBusinessUnitIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpBusinessUnitNameType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpTimeStampType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpBigTimeStampType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpSecurityNameType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpExternalSerialType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpOrderRefType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpRequestIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpIntSerialType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpInvestorNameType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpUserNameType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpLoginLimitType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpCurrencyIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpBankIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpBankAccountIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpTransferReasonType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpCombOffsetFlagType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpCombHedgeFlagType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpExchangeInstIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpTelephoneType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpMobileType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpTraderIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpLongVolumeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpLongSequenceType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpOrderUnitType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpIdCardTypeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpAccountTypeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpDirectionType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpBrokerageTypeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpUserTypeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpContingentConditionType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpETFCurrenceReplaceStatusType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpOperateSourceType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpOperwayType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpOperwaysType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpOrderPriceTypeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpOrderVolumeTypeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpTimeConditionType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpVolumeConditionType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpForceCloseReasonType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpFileOrderTypeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpTransferDirectionType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpCollateralDirectionType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpTransferStatusType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpTransferPositionTypeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpSystemNameType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpRelativeCondParamType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpOrderStatusType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpCondOrderStatusType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpOrderSubmitStatusType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpOrderTypeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpOffsetFlagType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpHedgeFlagType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpActionFlagType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpOrderActionStatusType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpClientIDTypeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpBizClassType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpCreditPositionTypeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpFunctionIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpSecurityTypeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpEndFlagType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpMarketIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpLogInAccountType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpLogInAccountTypeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpMarketStatusType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpBigsInfoType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpShortsInfoType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpIntInfoType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpFloatInfoType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpApiGroupIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpApiRunModeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpDesignationTypeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpCustodyTransferTypeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpProperCtrlBusinessTypeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpProperCtrlPassFlagType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpCRiskLevelType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpProfInvestorTypeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpLOrderTypeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpLSideType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpExecTypeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpCondCheckType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpHDSerialType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpMDSubModeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpMDSecurityStatType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpCommitStatusType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpParamTypeType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpContentType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpStatusMsgType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpIPONumberIDType)"); - autocxxpy::caster::try_generate(c, "toTTORATstpPageLocateType)"); -} diff --git a/vnpy/api/tora/vntora/generated_files/module.cpp b/vnpy/api/tora/vntora/generated_files/module.cpp deleted file mode 100644 index dbcf121e8e..0000000000 --- a/vnpy/api/tora/vntora/generated_files/module.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include "config.h" - -#include -#include -#include -#include -#include - -#include "module.hpp" -#include "generated_functions.h" - -#include "TORATstpMdApi.h" -#include "TORATstpTraderApi.h" -#include "TORATstpUserApiDataType.h" -#include "TORATstpUserApiStruct.h" - - -autocxxpy::cross_assign module_vntora::cross; -autocxxpy::object_store module_vntora::objects; - -void additional_init(pybind11::module &m) -{ - autocxxpy::additional_init::init(m); -} - -void init_dispatcher(pybind11::module &m) -{ - m.def("set_async_callback_exception_handler", &autocxxpy::async_callback_exception_handler::set_handler); - - // maybe module_local is unnecessary - pybind11::class_ c(m, "AsyncDispatchException", pybind11::module_local()); - c.def_property_readonly("what", &autocxxpy::async_dispatch_exception::what_mutable); - c.def_readonly("instance", &autocxxpy::async_dispatch_exception::instance); - c.def_readonly("function_name", &autocxxpy::async_dispatch_exception::function_name); - - autocxxpy::dispatcher::instance().start(); -} - -PYBIND11_MODULE(vntora, m) -{ - generate_vntora(m); - - module_vntora::process_post_assign(); - - additional_init(m); - init_dispatcher(m); -} diff --git a/vnpy/api/tora/vntora/generated_files/module.hpp b/vnpy/api/tora/vntora/generated_files/module.hpp deleted file mode 100644 index fa168de2ce..0000000000 --- a/vnpy/api/tora/vntora/generated_files/module.hpp +++ /dev/null @@ -1,19 +0,0 @@ -#pragma once -#include "config.h" - -#include - -struct tag_vntora{}; -struct module_vntora{ - static autocxxpy::cross_assign cross; - static autocxxpy::object_store objects; - static inline void process_post_assign() - { - cross.process_assign(objects); - cross.clear(); - objects.clear(); - } -}; -using module_tag=tag_vntora; - - diff --git a/vnpy/api/tora/vntora/generated_files/wrappers.hpp b/vnpy/api/tora/vntora/generated_files/wrappers.hpp deleted file mode 100644 index baaca15197..0000000000 --- a/vnpy/api/tora/vntora/generated_files/wrappers.hpp +++ /dev/null @@ -1,555 +0,0 @@ -#pragma once -#include "config.h" - -#include -#include - -#include "generated_functions.h" - -#include "TORATstpMdApi.h" -#include "TORATstpTraderApi.h" -#include "TORATstpUserApiDataType.h" -#include "TORATstpUserApiStruct.h" - - - -class PyCTORATstpMdSpi : public CTORATstpMdSpi -{ -public: - void OnFrontConnected() override - { - return autocxxpy::callback_wrapper<&CTORATstpMdSpi::OnFrontConnected>::call( - this,"OnFrontConnected" - ); - } - void OnFrontDisconnected(int nReason) override - { - return autocxxpy::callback_wrapper<&CTORATstpMdSpi::OnFrontDisconnected>::call( - this,"OnFrontDisconnected",nReason - ); - } - void OnRspError(CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpMdSpi::OnRspError>::call( - this,"OnRspError",pRspInfo,nRequestID,bIsLast - ); - } - void OnRspUserLogin(CTORATstpRspUserLoginField * pRspUserLogin,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpMdSpi::OnRspUserLogin>::call( - this,"OnRspUserLogin",pRspUserLogin,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspUserLogout(CTORATstpUserLogoutField * pUserLogout,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpMdSpi::OnRspUserLogout>::call( - this,"OnRspUserLogout",pUserLogout,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspSubMarketData(CTORATstpSpecificSecurityField * pSpecificSecurity,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpMdSpi::OnRspSubMarketData>::call( - this,"OnRspSubMarketData",pSpecificSecurity,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspUnSubMarketData(CTORATstpSpecificSecurityField * pSpecificSecurity,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpMdSpi::OnRspUnSubMarketData>::call( - this,"OnRspUnSubMarketData",pSpecificSecurity,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspSubSpecialMarketData(CTORATstpSpecificSecurityField * pSpecificSecurity,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpMdSpi::OnRspSubSpecialMarketData>::call( - this,"OnRspSubSpecialMarketData",pSpecificSecurity,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspUnSubSpecialMarketData(CTORATstpSpecificSecurityField * pSpecificSecurity,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpMdSpi::OnRspUnSubSpecialMarketData>::call( - this,"OnRspUnSubSpecialMarketData",pSpecificSecurity,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspSubFundsFlowMarketData(CTORATstpSpecificSecurityField * pSpecificSecurity,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpMdSpi::OnRspSubFundsFlowMarketData>::call( - this,"OnRspSubFundsFlowMarketData",pSpecificSecurity,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspUnSubFundsFlowMarketData(CTORATstpSpecificSecurityField * pSpecificSecurity,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpMdSpi::OnRspUnSubFundsFlowMarketData>::call( - this,"OnRspUnSubFundsFlowMarketData",pSpecificSecurity,pRspInfo,nRequestID,bIsLast - ); - } - void OnRtnDepthMarketData(CTORATstpMarketDataField * pDepthMarketData) override - { - return autocxxpy::callback_wrapper<&CTORATstpMdSpi::OnRtnDepthMarketData>::call( - this,"OnRtnDepthMarketData",pDepthMarketData - ); - } - void OnRtnSpecialMarketData(CTORATstpSpecialMarketDataField * pSpecialMarketData) override - { - return autocxxpy::callback_wrapper<&CTORATstpMdSpi::OnRtnSpecialMarketData>::call( - this,"OnRtnSpecialMarketData",pSpecialMarketData - ); - } - void OnRtnEffectPriceMarketData(CTORATstpEffectPriceMarketDataField * pEffectPriceMarketData) override - { - return autocxxpy::callback_wrapper<&CTORATstpMdSpi::OnRtnEffectPriceMarketData>::call( - this,"OnRtnEffectPriceMarketData",pEffectPriceMarketData - ); - } - void OnRtnEffectVolumeMarketData(CTORATstpEffectVolumeMarketDataField * pEffectVolumeMarketData) override - { - return autocxxpy::callback_wrapper<&CTORATstpMdSpi::OnRtnEffectVolumeMarketData>::call( - this,"OnRtnEffectVolumeMarketData",pEffectVolumeMarketData - ); - } - void OnRtnFundsFlowMarketData(CTORATstpFundsFlowMarketDataField * pFundsFlowMarketData) override - { - return autocxxpy::callback_wrapper<&CTORATstpMdSpi::OnRtnFundsFlowMarketData>::call( - this,"OnRtnFundsFlowMarketData",pFundsFlowMarketData - ); - } - -}; - -class PyCTORATstpMdApi : public CTORATstpMdApi -{ -public: - -}; - -class PyCTORATstpTraderSpi : public CTORATstpTraderSpi -{ -public: - void OnFrontConnected() override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnFrontConnected>::call( - this,"OnFrontConnected" - ); - } - void OnFrontDisconnected(int nReason) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnFrontDisconnected>::call( - this,"OnFrontDisconnected",nReason - ); - } - void OnRspError(CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspError>::call( - this,"OnRspError",pRspInfo,nRequestID,bIsLast - ); - } - void OnRspUserLogin(CTORATstpRspUserLoginField * pRspUserLoginField,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspUserLogin>::call( - this,"OnRspUserLogin",pRspUserLoginField,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspUserLogout(CTORATstpUserLogoutField * pUserLogoutField,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspUserLogout>::call( - this,"OnRspUserLogout",pUserLogoutField,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspUserPasswordUpdate(CTORATstpUserPasswordUpdateField * pUserPasswordUpdateField,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspUserPasswordUpdate>::call( - this,"OnRspUserPasswordUpdate",pUserPasswordUpdateField,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspInputDeviceSerial(CTORATstpRspInputDeviceSerialField * pRspInputDeviceSerialField,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspInputDeviceSerial>::call( - this,"OnRspInputDeviceSerial",pRspInputDeviceSerialField,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspOrderInsert(CTORATstpInputOrderField * pInputOrderField,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspOrderInsert>::call( - this,"OnRspOrderInsert",pInputOrderField,pRspInfo,nRequestID,bIsLast - ); - } - void OnRtnOrder(CTORATstpOrderField * pOrder) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRtnOrder>::call( - this,"OnRtnOrder",pOrder - ); - } - void OnErrRtnOrderInsert(CTORATstpInputOrderField * pInputOrder,CTORATstpRspInfoField * pRspInfo) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnErrRtnOrderInsert>::call( - this,"OnErrRtnOrderInsert",pInputOrder,pRspInfo - ); - } - void OnRspOrderAction(CTORATstpInputOrderActionField * pInputOrderActionField,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspOrderAction>::call( - this,"OnRspOrderAction",pInputOrderActionField,pRspInfo,nRequestID,bIsLast - ); - } - void OnErrRtnOrderAction(CTORATstpOrderActionField * pOrderAction,CTORATstpRspInfoField * pRspInfo) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnErrRtnOrderAction>::call( - this,"OnErrRtnOrderAction",pOrderAction,pRspInfo - ); - } - void OnRtnTrade(CTORATstpTradeField * pTrade) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRtnTrade>::call( - this,"OnRtnTrade",pTrade - ); - } - void OnRtnMarketStatus(CTORATstpMarketStatusField * pMarketStatus) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRtnMarketStatus>::call( - this,"OnRtnMarketStatus",pMarketStatus - ); - } - void OnRspCondOrderInsert(CTORATstpInputCondOrderField * pInputCondOrderField,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspCondOrderInsert>::call( - this,"OnRspCondOrderInsert",pInputCondOrderField,pRspInfo,nRequestID,bIsLast - ); - } - void OnRtnCondOrder(CTORATstpConditionOrderField * pConditionOrder) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRtnCondOrder>::call( - this,"OnRtnCondOrder",pConditionOrder - ); - } - void OnErrRtnCondOrderInsert(CTORATstpInputCondOrderField * pInputCondOrder,CTORATstpRspInfoField * pRspInfo) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnErrRtnCondOrderInsert>::call( - this,"OnErrRtnCondOrderInsert",pInputCondOrder,pRspInfo - ); - } - void OnRspCondOrderAction(CTORATstpInputCondOrderActionField * pInputCondOrderActionField,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspCondOrderAction>::call( - this,"OnRspCondOrderAction",pInputCondOrderActionField,pRspInfo,nRequestID,bIsLast - ); - } - void OnErrRtnCondOrderAction(CTORATstpInputCondOrderActionField * pInputCondOrderAction,CTORATstpRspInfoField * pRspInfo) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnErrRtnCondOrderAction>::call( - this,"OnErrRtnCondOrderAction",pInputCondOrderAction,pRspInfo - ); - } - void OnRspInquiryJZFund(CTORATstpRspInquiryJZFundField * pRspInquiryJZFundField,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspInquiryJZFund>::call( - this,"OnRspInquiryJZFund",pRspInquiryJZFundField,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspTransferFund(CTORATstpInputTransferFundField * pInputTransferFundField,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspTransferFund>::call( - this,"OnRspTransferFund",pInputTransferFundField,pRspInfo,nRequestID,bIsLast - ); - } - void OnRtnTransferFund(CTORATstpTransferFundField * pTransferFund) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRtnTransferFund>::call( - this,"OnRtnTransferFund",pTransferFund - ); - } - void OnErrRtnTransferFund(CTORATstpInputTransferFundField * pInputTransferFund,CTORATstpRspInfoField * pRspInfo) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnErrRtnTransferFund>::call( - this,"OnErrRtnTransferFund",pInputTransferFund,pRspInfo - ); - } - void OnRtnTransferPosition(CTORATstpTransferPositionField * pTransferPosition) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRtnTransferPosition>::call( - this,"OnRtnTransferPosition",pTransferPosition - ); - } - void OnErrRtnTransferPosition(CTORATstpInputTransferPositionField * pInputTransferPosition,CTORATstpRspInfoField * pRspInfo) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnErrRtnTransferPosition>::call( - this,"OnErrRtnTransferPosition",pInputTransferPosition,pRspInfo - ); - } - void OnRspTransferCollateral(CTORATstpInputTransferCollateralField * pInputTransferCollateralField,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspTransferCollateral>::call( - this,"OnRspTransferCollateral",pInputTransferCollateralField,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspInquiryBankAccountFund(CTORATstpRspInquiryBankAccountFundField * pRspInquiryBankAccountFundField,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspInquiryBankAccountFund>::call( - this,"OnRspInquiryBankAccountFund",pRspInquiryBankAccountFundField,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspInquiryTradeConcentration(CTORATstpInquiryTradeConcentrationField * pInquiryTradeConcentrationField,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspInquiryTradeConcentration>::call( - this,"OnRspInquiryTradeConcentration",pInquiryTradeConcentrationField,pRspInfo,nRequestID,bIsLast - ); - } - void OnRtnTradingNotice(CTORATstpTradingNoticeField * pTradingNotice) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRtnTradingNotice>::call( - this,"OnRtnTradingNotice",pTradingNotice - ); - } - void OnRspInquiryMaxOrderVolume(CTORATstpRspInquiryMaxOrderVolumeField * pRspInquiryMaxOrderVolumeField,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspInquiryMaxOrderVolume>::call( - this,"OnRspInquiryMaxOrderVolume",pRspInquiryMaxOrderVolumeField,pRspInfo,nRequestID,bIsLast - ); - } - void OnRtnPeripheryTransferPosition(CTORATstpPeripheryPositionTransferDetailField * pPeripheryPositionTransferDetail) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRtnPeripheryTransferPosition>::call( - this,"OnRtnPeripheryTransferPosition",pPeripheryPositionTransferDetail - ); - } - void OnRspInquiryHistoryOrder(CTORATstpHistoryOrderField * pHistoryOrderField,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspInquiryHistoryOrder>::call( - this,"OnRspInquiryHistoryOrder",pHistoryOrderField,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspInquiryHistoryTrade(CTORATstpHistoryTradeField * pHistoryTradeField,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspInquiryHistoryTrade>::call( - this,"OnRspInquiryHistoryTrade",pHistoryTradeField,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryExchange(CTORATstpExchangeField * pExchange,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryExchange>::call( - this,"OnRspQryExchange",pExchange,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryMarketData(CTORATstpMarketDataField * pMarketData,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryMarketData>::call( - this,"OnRspQryMarketData",pMarketData,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQrySecurity(CTORATstpSecurityField * pSecurity,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQrySecurity>::call( - this,"OnRspQrySecurity",pSecurity,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryETFFile(CTORATstpETFFileField * pETFFile,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryETFFile>::call( - this,"OnRspQryETFFile",pETFFile,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryETFBasket(CTORATstpETFBasketField * pETFBasket,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryETFBasket>::call( - this,"OnRspQryETFBasket",pETFBasket,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryIPOInfo(CTORATstpIPOInfoField * pIPOInfo,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryIPOInfo>::call( - this,"OnRspQryIPOInfo",pIPOInfo,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryBUProxy(CTORATstpBUProxyField * pBUProxy,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryBUProxy>::call( - this,"OnRspQryBUProxy",pBUProxy,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryUser(CTORATstpUserField * pUser,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryUser>::call( - this,"OnRspQryUser",pUser,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryInvestor(CTORATstpInvestorField * pInvestor,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryInvestor>::call( - this,"OnRspQryInvestor",pInvestor,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryShareholderAccount(CTORATstpShareholderAccountField * pShareholderAccount,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryShareholderAccount>::call( - this,"OnRspQryShareholderAccount",pShareholderAccount,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryOrder(CTORATstpOrderField * pOrder,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryOrder>::call( - this,"OnRspQryOrder",pOrder,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryOrderAction(CTORATstpOrderActionField * pOrderAction,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryOrderAction>::call( - this,"OnRspQryOrderAction",pOrderAction,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryTrade(CTORATstpTradeField * pTrade,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryTrade>::call( - this,"OnRspQryTrade",pTrade,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryTradingAccount(CTORATstpTradingAccountField * pTradingAccount,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryTradingAccount>::call( - this,"OnRspQryTradingAccount",pTradingAccount,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryPosition(CTORATstpPositionField * pPosition,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryPosition>::call( - this,"OnRspQryPosition",pPosition,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryTradingFee(CTORATstpTradingFeeField * pTradingFee,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryTradingFee>::call( - this,"OnRspQryTradingFee",pTradingFee,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryInvestorTradingFee(CTORATstpInvestorTradingFeeField * pInvestorTradingFee,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryInvestorTradingFee>::call( - this,"OnRspQryInvestorTradingFee",pInvestorTradingFee,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryIPOQuota(CTORATstpIPOQuotaField * pIPOQuota,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryIPOQuota>::call( - this,"OnRspQryIPOQuota",pIPOQuota,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryMarket(CTORATstpMarketField * pMarket,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryMarket>::call( - this,"OnRspQryMarket",pMarket,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryOrderFundDetail(CTORATstpOrderFundDetailField * pOrderFundDetail,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryOrderFundDetail>::call( - this,"OnRspQryOrderFundDetail",pOrderFundDetail,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryFundTransferDetail(CTORATstpFundTransferDetailField * pFundTransferDetail,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryFundTransferDetail>::call( - this,"OnRspQryFundTransferDetail",pFundTransferDetail,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryPositionTransferDetail(CTORATstpPositionTransferDetailField * pPositionTransferDetail,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryPositionTransferDetail>::call( - this,"OnRspQryPositionTransferDetail",pPositionTransferDetail,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryPledgePosition(CTORATstpPledgePositionField * pPledgePosition,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryPledgePosition>::call( - this,"OnRspQryPledgePosition",pPledgePosition,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryPledgeInfo(CTORATstpPledgeInfoField * pPledgeInfo,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryPledgeInfo>::call( - this,"OnRspQryPledgeInfo",pPledgeInfo,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryConversionBondInfo(CTORATstpConversionBondInfoField * pConversionBondInfo,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryConversionBondInfo>::call( - this,"OnRspQryConversionBondInfo",pConversionBondInfo,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryBondPutbackInfo(CTORATstpBondPutbackInfoField * pBondPutbackInfo,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryBondPutbackInfo>::call( - this,"OnRspQryBondPutbackInfo",pBondPutbackInfo,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryStandardBondPosition(CTORATstpStandardBondPositionField * pStandardBondPosition,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryStandardBondPosition>::call( - this,"OnRspQryStandardBondPosition",pStandardBondPosition,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQrySpecialMarketData(CTORATstpSpecialMarketDataField * pSpecialMarketData,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQrySpecialMarketData>::call( - this,"OnRspQrySpecialMarketData",pSpecialMarketData,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryPrematurityRepoOrder(CTORATstpPrematurityRepoOrderField * pPrematurityRepoOrder,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryPrematurityRepoOrder>::call( - this,"OnRspQryPrematurityRepoOrder",pPrematurityRepoOrder,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryShareholderParam(CTORATstpShareholderParamField * pShareholderParam,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryShareholderParam>::call( - this,"OnRspQryShareholderParam",pShareholderParam,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryPeripheryPositionTransferDetail(CTORATstpPeripheryPositionTransferDetailField * pPeripheryPositionTransferDetail,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryPeripheryPositionTransferDetail>::call( - this,"OnRspQryPeripheryPositionTransferDetail",pPeripheryPositionTransferDetail,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryInvestorCondOrderLimitParam(CTORATstpInvestorCondOrderLimitParamField * pInvestorCondOrderLimitParam,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryInvestorCondOrderLimitParam>::call( - this,"OnRspQryInvestorCondOrderLimitParam",pInvestorCondOrderLimitParam,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryCondOrder(CTORATstpCondOrderField * pCondOrder,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryCondOrder>::call( - this,"OnRspQryCondOrder",pCondOrder,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryCondOrderAction(CTORATstpCondOrderActionField * pCondOrderAction,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryCondOrderAction>::call( - this,"OnRspQryCondOrderAction",pCondOrderAction,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryTradingNotice(CTORATstpTradingNoticeField * pTradingNotice,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryTradingNotice>::call( - this,"OnRspQryTradingNotice",pTradingNotice,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryIPONumberResult(CTORATstpIPONumberResultField * pIPONumberResult,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryIPONumberResult>::call( - this,"OnRspQryIPONumberResult",pIPONumberResult,pRspInfo,nRequestID,bIsLast - ); - } - void OnRspQryIPOMatchNumberResult(CTORATstpIPOMatchNumberResultField * pIPOMatchNumberResult,CTORATstpRspInfoField * pRspInfo,int nRequestID,bool bIsLast) override - { - return autocxxpy::callback_wrapper<&CTORATstpTraderSpi::OnRspQryIPOMatchNumberResult>::call( - this,"OnRspQryIPOMatchNumberResult",pIPOMatchNumberResult,pRspInfo,nRequestID,bIsLast - ); - } - -}; - -class PyCTORATstpTraderApi : public CTORATstpTraderApi -{ -public: - -}; - diff --git a/vnpy/api/tora/vntora/include/TORATstpMdApi.h b/vnpy/api/tora/vntora/include/TORATstpMdApi.h deleted file mode 100644 index ab69ab36b1..0000000000 --- a/vnpy/api/tora/vntora/include/TORATstpMdApi.h +++ /dev/null @@ -1,178 +0,0 @@ -///////////////////////////////////////////////////////////////////////// -///@company 上海泰琰信息科技有限公司 -///@file TORATstpMdApi.h -///@brief 定义了客户端接口 -///@history -///////////////////////////////////////////////////////////////////////// - -#if !defined(_TORA_TSTPMDAPI_H) -#define _TORA_TSTPMDAPI_H - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#include "TORATstpUserApiStruct.h" - - -#ifdef MD_API_EXPORT -#ifdef WINDOWS -#define MD_API_DLL_EXPORT __declspec(dllexport) -#else -#define MD_API_DLL_EXPORT __attribute__ ((visibility("default"))) -#endif -#else -#define MD_API_DLL_EXPORT -#endif - -class CTORATstpMdSpi -{ -public: - ///当客户端与交易后台建立起通信连接时(还未登录前),该方法被调用。 - virtual void OnFrontConnected(){}; - - ///当客户端与交易后台通信连接断开时,该方法被调用。当发生这个情况后,API会自动重新连接,客户端可不做处理。 - /// -3 连接已断开 - /// -4 网络读失败 - /// -5 网络写失败 - /// -6 订阅流错误 - /// -7 流序号错误 - /// -8 错误的心跳报文 - /// -9 错误的报文 - virtual void OnFrontDisconnected(int nReason){}; - - ///错误应答 - virtual void OnRspError(CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - ///登录请求响应 - virtual void OnRspUserLogin(CTORATstpRspUserLoginField *pRspUserLogin, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - ///登出请求响应 - virtual void OnRspUserLogout(CTORATstpUserLogoutField *pUserLogout, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - ///订阅行情应答 - virtual void OnRspSubMarketData(CTORATstpSpecificSecurityField *pSpecificSecurity, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - ///取消订阅行情应答 - virtual void OnRspUnSubMarketData(CTORATstpSpecificSecurityField *pSpecificSecurity, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - ///订阅特定行情应答 - virtual void OnRspSubSpecialMarketData(CTORATstpSpecificSecurityField *pSpecificSecurity, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - ///取消订阅特定行情应答 - virtual void OnRspUnSubSpecialMarketData(CTORATstpSpecificSecurityField *pSpecificSecurity, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - ///订阅资金流向行情应答 - virtual void OnRspSubFundsFlowMarketData(CTORATstpSpecificSecurityField *pSpecificSecurity, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - ///取消订阅资金流向行情应答 - virtual void OnRspUnSubFundsFlowMarketData(CTORATstpSpecificSecurityField *pSpecificSecurity, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - ///深度行情通知 - virtual void OnRtnDepthMarketData(CTORATstpMarketDataField *pDepthMarketData) {}; - - ///深度行情通知 - virtual void OnRtnSpecialMarketData(CTORATstpSpecialMarketDataField *pSpecialMarketData) {}; - - ///价格波动异常行情通知 - virtual void OnRtnEffectPriceMarketData(CTORATstpEffectPriceMarketDataField *pEffectPriceMarketData) {}; - - ///数量波动异常行情通知 - virtual void OnRtnEffectVolumeMarketData(CTORATstpEffectVolumeMarketDataField *pEffectVolumeMarketData) {}; - - ///资金流向行情通知 - virtual void OnRtnFundsFlowMarketData(CTORATstpFundsFlowMarketDataField *pFundsFlowMarketData) {}; -}; - -class MD_API_DLL_EXPORT CTORATstpMdApi -{ -public: - ///创建MdApi - ///@return 创建出的MdApi - static CTORATstpMdApi *CreateTstpMdApi(); - - ///获取API版本号 - ///@return 版本号 - static const char* GetApiVersion(); - - ///删除接口对象本身 - ///@remark 不再使用本接口对象时,调用该函数删除接口对象 - virtual void Release() = 0; - - ///初始化 - ///@remark 初始化运行环境,只有调用后,接口才开始工作 - virtual void Init() = 0; - - ///等待接口线程结束运行 - ///@return 线程退出代码 - virtual int Join() = 0; - - ///注册前置机网络地址 - ///@param pszFrontAddress:前置机网络地址。 - ///@remark 网络地址的格式为:“protocol://ipaddress:port”,如:”tcp://127.0.0.1:17001”。 - ///@remark “tcp”代表传输协议,“127.0.0.1”代表服务器地址。”17001”代表服务器端口号。 - virtual void RegisterFront(char *pszFrontAddress) = 0; - - ///注册名字服务器网络地址 - ///@param pszNsAddress:名字服务器网络地址。 - ///@remark 网络地址的格式为:“protocol://ipaddress:port”,如:”tcp://127.0.0.1:12001”。 - ///@remark “tcp”代表传输协议,“127.0.0.1”代表服务器地址。”12001”代表服务器端口号。 - ///@remark RegisterNameServer优先于RegisterFront - virtual void RegisterNameServer(char *pszNsAddress) = 0; - - ///注册衍生服务服务器网络地址 - ///@param pszNsAddress:衍生服务服务器网络地址。 - ///@remark 网络地址的格式为:“protocol://ipaddress:port”,如:”tcp://127.0.0.1:15001”。 - ///@remark “tcp”代表传输协议,“127.0.0.1”代表服务器地址。”15001”代表服务器端口号。 - virtual void RegisterDeriveServer(char *pszDeriveAddress) = 0; - - ///注册回调接口 - ///@param pSpi 派生自回调接口类的实例 - virtual void RegisterSpi(CTORATstpMdSpi *pSpi) = 0; - - ///订阅行情。 - ///@param ppInstrumentID 合约ID - ///@param nCount 要订阅/退订行情的合约个数 - ///@remark - virtual int SubscribeMarketData(char **ppSecurityID, int nCount, TTORATstpExchangeIDType ExchageID) = 0; - - ///退订行情。 - ///@param ppInstrumentID 合约ID - ///@param nCount 要订阅/退订行情的合约个数 - ///@remark - virtual int UnSubscribeMarketData(char **ppSecurityID, int nCount, TTORATstpExchangeIDType ExchageID) = 0; - - ///订阅特定行情。 - ///@param ppInstrumentID 合约ID - ///@param nCount 要订阅/退订行情的合约个数 - ///@remark - virtual int SubscribeSpecialMarketData(char **ppSecurityID, int nCount, TTORATstpExchangeIDType ExchageID) = 0; - - ///退订特定行情。 - ///@param ppInstrumentID 合约ID - ///@param nCount 要订阅/退订行情的合约个数 - ///@remark - virtual int UnSubscribeSpecialMarketData(char **ppSecurityID, int nCount, TTORATstpExchangeIDType ExchageID) = 0; - - ///订阅资金流向行情。 - ///@param ppInstrumentID 合约ID - ///@param nCount 要订阅/退订行情的合约个数 - ///@remark - virtual int SubscribeFundsFlowMarketData(char *ppInstrumentID[], int nCount, TTORATstpExchangeIDType ExchageID) = 0; - - ///退订资金流向行情。 - ///@param ppInstrumentID 合约ID - ///@param nCount 要订阅/退订行情的合约个数 - ///@remark - virtual int UnSubscribeFundsFlowMarketData(char *ppInstrumentID[], int nCount, TTORATstpExchangeIDType ExchageID) = 0; - - ///用户登录请求 - virtual int ReqUserLogin(CTORATstpReqUserLoginField *pReqUserLoginField, int nRequestID) = 0; - - - ///登出请求 - virtual int ReqUserLogout(CTORATstpUserLogoutField *pUserLogout, int nRequestID) = 0; -protected: - ~CTORATstpMdApi(){}; -}; -#endif diff --git a/vnpy/api/tora/vntora/include/TORATstpTraderApi.h b/vnpy/api/tora/vntora/include/TORATstpTraderApi.h deleted file mode 100644 index 7b748a2d0e..0000000000 --- a/vnpy/api/tora/vntora/include/TORATstpTraderApi.h +++ /dev/null @@ -1,481 +0,0 @@ -///////////////////////////////////////////////////////////////////////// -///@company 上海泰琰信息科技有限公司 -///@file TORATstpTraderApi.h -///@brief 定义了客户端接口 -///@history -///////////////////////////////////////////////////////////////////////// - -#if !defined(TORA_TSTPTRADERAPI_H) -#define TORA_TSTPTRADERAPI_H - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#include "TORATstpUserApiStruct.h" - -#ifdef TRADER_API_EXPORT -#ifdef WINDOWS -#define TRADER_API_DLL_EXPORT __declspec(dllexport) -#else -#define TRADER_API_DLL_EXPORT __attribute__ ((visibility("default"))) -#endif -#else -#define TRADER_API_DLL_EXPORT -#endif - -class CTORATstpTraderSpi -{ -public: - ///当客户端与交易后台建立起通信连接时(还未登录前),该方法被调用。 - virtual void OnFrontConnected(){}; - - ///当客户端与交易后台通信连接断开时,该方法被调用。当发生这个情况后,API会自动重新连接,客户端可不做处理。 - ///@param nReason 错误原因 - /// -3 连接已断开 - /// -4 网络读失败 - /// -5 网络写失败 - /// -6 订阅流错误 - /// -7 流序号错误 - /// -8 错误的心跳报文 - /// -9 错误的报文 - virtual void OnFrontDisconnected(int nReason){}; - - ///错误应答 - virtual void OnRspError(CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - - //登录应答 - virtual void OnRspUserLogin(CTORATstpRspUserLoginField *pRspUserLoginField, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //登出应答 - virtual void OnRspUserLogout(CTORATstpUserLogoutField *pUserLogoutField, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //修改密码应答 - virtual void OnRspUserPasswordUpdate(CTORATstpUserPasswordUpdateField *pUserPasswordUpdateField, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //请求录入设备序列应答 - virtual void OnRspInputDeviceSerial(CTORATstpRspInputDeviceSerialField *pRspInputDeviceSerialField, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //报单录入应答 - virtual void OnRspOrderInsert(CTORATstpInputOrderField *pInputOrderField, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //报单回报 - virtual void OnRtnOrder(CTORATstpOrderField *pOrder) {}; - - //报单错误回报 - virtual void OnErrRtnOrderInsert(CTORATstpInputOrderField *pInputOrder, CTORATstpRspInfoField *pRspInfo) {}; - - //撤单应答 - virtual void OnRspOrderAction(CTORATstpInputOrderActionField *pInputOrderActionField, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //撤单错误回报 - virtual void OnErrRtnOrderAction(CTORATstpOrderActionField *pOrderAction, CTORATstpRspInfoField *pRspInfo) {}; - - //成交回报 - virtual void OnRtnTrade(CTORATstpTradeField *pTrade) {}; - - //推送市场状态 - virtual void OnRtnMarketStatus(CTORATstpMarketStatusField *pMarketStatus) {}; - - //条件单录入请求响应 - virtual void OnRspCondOrderInsert(CTORATstpInputCondOrderField *pInputCondOrderField, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //条件单通知 - virtual void OnRtnCondOrder(CTORATstpConditionOrderField *pConditionOrder) {}; - - //条件单录入错误回报 - virtual void OnErrRtnCondOrderInsert(CTORATstpInputCondOrderField *pInputCondOrder, CTORATstpRspInfoField *pRspInfo) {}; - - //条件单操作请求响应 - virtual void OnRspCondOrderAction(CTORATstpInputCondOrderActionField *pInputCondOrderActionField, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //条件单撤单操作错误回报 - virtual void OnErrRtnCondOrderAction(CTORATstpInputCondOrderActionField *pInputCondOrderAction, CTORATstpRspInfoField *pRspInfo) {}; - - //查询集中交易系统资金响应 - virtual void OnRspInquiryJZFund(CTORATstpRspInquiryJZFundField *pRspInquiryJZFundField, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //资金转移请求应答 - virtual void OnRspTransferFund(CTORATstpInputTransferFundField *pInputTransferFundField, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //资金转移回报 - virtual void OnRtnTransferFund(CTORATstpTransferFundField *pTransferFund) {}; - - //资金转移错误回报 - virtual void OnErrRtnTransferFund(CTORATstpInputTransferFundField *pInputTransferFund, CTORATstpRspInfoField *pRspInfo) {}; - - //仓位转移回报 - virtual void OnRtnTransferPosition(CTORATstpTransferPositionField *pTransferPosition) {}; - - //仓位转移错误回报 - virtual void OnErrRtnTransferPosition(CTORATstpInputTransferPositionField *pInputTransferPosition, CTORATstpRspInfoField *pRspInfo) {}; - - //担保品划转响应 - virtual void OnRspTransferCollateral(CTORATstpInputTransferCollateralField *pInputTransferCollateralField, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询银行账户余额响应 - virtual void OnRspInquiryBankAccountFund(CTORATstpRspInquiryBankAccountFundField *pRspInquiryBankAccountFundField, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //交易成交集中度查询响应 - virtual void OnRspInquiryTradeConcentration(CTORATstpInquiryTradeConcentrationField *pInquiryTradeConcentrationField, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //交易通知 - virtual void OnRtnTradingNotice(CTORATstpTradingNoticeField *pTradingNotice) {}; - - //查询最大委托量应答 - virtual void OnRspInquiryMaxOrderVolume(CTORATstpRspInquiryMaxOrderVolumeField *pRspInquiryMaxOrderVolumeField, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //外围系统仓位转移回报 - virtual void OnRtnPeripheryTransferPosition(CTORATstpPeripheryPositionTransferDetailField *pPeripheryPositionTransferDetail) {}; - - //查询历史委托响应 - virtual void OnRspInquiryHistoryOrder(CTORATstpHistoryOrderField *pHistoryOrderField, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询历史成交响应 - virtual void OnRspInquiryHistoryTrade(CTORATstpHistoryTradeField *pHistoryTradeField, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询交易所 - virtual void OnRspQryExchange(CTORATstpExchangeField *pExchange, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询实时行情 - virtual void OnRspQryMarketData(CTORATstpMarketDataField *pMarketData, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询证券信息 - virtual void OnRspQrySecurity(CTORATstpSecurityField *pSecurity, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询ETF清单信息 - virtual void OnRspQryETFFile(CTORATstpETFFileField *pETFFile, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询ETF成份证券信息 - virtual void OnRspQryETFBasket(CTORATstpETFBasketField *pETFBasket, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询新股信息 - virtual void OnRspQryIPOInfo(CTORATstpIPOInfoField *pIPOInfo, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询代理关系 - virtual void OnRspQryBUProxy(CTORATstpBUProxyField *pBUProxy, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询User - virtual void OnRspQryUser(CTORATstpUserField *pUser, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询投资者 - virtual void OnRspQryInvestor(CTORATstpInvestorField *pInvestor, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询股东账户 - virtual void OnRspQryShareholderAccount(CTORATstpShareholderAccountField *pShareholderAccount, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //报单查询 - virtual void OnRspQryOrder(CTORATstpOrderField *pOrder, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询撤单 - virtual void OnRspQryOrderAction(CTORATstpOrderActionField *pOrderAction, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //成交查询 - virtual void OnRspQryTrade(CTORATstpTradeField *pTrade, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //资金账户查询 - virtual void OnRspQryTradingAccount(CTORATstpTradingAccountField *pTradingAccount, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //投资者持仓查询 - virtual void OnRspQryPosition(CTORATstpPositionField *pPosition, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询基础交易费用 - virtual void OnRspQryTradingFee(CTORATstpTradingFeeField *pTradingFee, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询佣金费率 - virtual void OnRspQryInvestorTradingFee(CTORATstpInvestorTradingFeeField *pInvestorTradingFee, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询新股申购额度 - virtual void OnRspQryIPOQuota(CTORATstpIPOQuotaField *pIPOQuota, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询市场 - virtual void OnRspQryMarket(CTORATstpMarketField *pMarket, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //报单明细资金查询 - virtual void OnRspQryOrderFundDetail(CTORATstpOrderFundDetailField *pOrderFundDetail, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询资金转移流水 - virtual void OnRspQryFundTransferDetail(CTORATstpFundTransferDetailField *pFundTransferDetail, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询持仓转移流水 - virtual void OnRspQryPositionTransferDetail(CTORATstpPositionTransferDetailField *pPositionTransferDetail, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //请求投资者质押持仓查询响应 - virtual void OnRspQryPledgePosition(CTORATstpPledgePositionField *pPledgePosition, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //请求证券质押信息查询响应 - virtual void OnRspQryPledgeInfo(CTORATstpPledgeInfoField *pPledgeInfo, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //请求可转债信息查询响应 - virtual void OnRspQryConversionBondInfo(CTORATstpConversionBondInfoField *pConversionBondInfo, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //请求债券回售信息查询响应 - virtual void OnRspQryBondPutbackInfo(CTORATstpBondPutbackInfoField *pBondPutbackInfo, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //请求标准券额度查询响应 - virtual void OnRspQryStandardBondPosition(CTORATstpStandardBondPositionField *pStandardBondPosition, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询实时特别行情响应 - virtual void OnRspQrySpecialMarketData(CTORATstpSpecialMarketDataField *pSpecialMarketData, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询未到期债券质押回购委托响应 - virtual void OnRspQryPrematurityRepoOrder(CTORATstpPrematurityRepoOrderField *pPrematurityRepoOrder, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询股东参数响应 - virtual void OnRspQryShareholderParam(CTORATstpShareholderParamField *pShareholderParam, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询外围系统仓位调拨流水 - virtual void OnRspQryPeripheryPositionTransferDetail(CTORATstpPeripheryPositionTransferDetailField *pPeripheryPositionTransferDetail, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询投资者条件单限制参数响应 - virtual void OnRspQryInvestorCondOrderLimitParam(CTORATstpInvestorCondOrderLimitParamField *pInvestorCondOrderLimitParam, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询条件单响应 - virtual void OnRspQryCondOrder(CTORATstpCondOrderField *pCondOrder, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询条件单撤单响应 - virtual void OnRspQryCondOrderAction(CTORATstpCondOrderActionField *pCondOrderAction, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询交易通知响应 - virtual void OnRspQryTradingNotice(CTORATstpTradingNoticeField *pTradingNotice, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询新股申购配号结果响应 - virtual void OnRspQryIPONumberResult(CTORATstpIPONumberResultField *pIPONumberResult, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - - //查询新股申购中签结果响应 - virtual void OnRspQryIPOMatchNumberResult(CTORATstpIPOMatchNumberResultField *pIPOMatchNumberResult, CTORATstpRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; - -}; - -class TRADER_API_DLL_EXPORT CTORATstpTraderApi -{ -public: - ///创建TraderApi - ///@param pszFlowPath 存贮订阅信息文件的目录,默认为当前目录 - ///@param bEncrpyt 网络数据是否加密传输,默认不加密 - ///@return 创建出的TraderApi - - static CTORATstpTraderApi *CreateTstpTraderApi(const char *pszFlowPath = "", bool bEncrypt = false); - - ///获取API版本号 - ///@return 版本号 - static const char* GetApiVersion(); - - ///删除接口对象本身 - ///@remark 不再使用本接口对象时,调用该函数删除接口对象 - virtual void Release() = 0; - - ///初始化 - ///@remark 初始化运行环境,只有调用后,接口才开始工作 - virtual void Init() = 0; - - ///等待接口线程结束运行 - ///@return 线程退出代码 - virtual int Join() = 0; - - ///注册前置机网络地址 - ///@param pszFrontAddress:前置机网络地址。 - ///@remark 网络地址的格式为:“protocol://ipaddress:port”,如:”tcp://127.0.0.1:17001”。 - ///@remark “tcp”代表传输协议,“127.0.0.1”代表服务器地址。”17001”代表服务器端口号。 - virtual void RegisterFront(char *pszFrontAddress) = 0; - - ///注册名字服务器网络地址 - ///@param pszNsAddress:名字服务器网络地址。 - ///@remark 网络地址的格式为:“protocol://ipaddress:port”,如:”tcp://127.0.0.1:12001”。 - ///@remark “tcp”代表传输协议,“127.0.0.1”代表服务器地址。”12001”代表服务器端口号。 - ///@remark RegisterNameServer优先于RegisterFront - virtual void RegisterNameServer(char *pszNsAddress) = 0; - - ///注册衍生服务服务器网络地址 - ///@param pszNsAddress:衍生服务服务器网络地址。 - ///@remark 网络地址的格式为:“protocol://ipaddress:port”,如:”tcp://127.0.0.1:16001”。 - ///@remark “tcp”代表传输协议,“127.0.0.1”代表服务器地址。”16001”代表服务器端口号。 - virtual void RegisterDeriveServer(char *pszDeriveAddress) = 0; - - ///注册回调接口 - ///@param pSpi 派生自回调接口类的实例 - virtual void RegisterSpi(CTORATstpTraderSpi *pSpi) = 0; - - ///订阅私有流。 - ///@param nResumeType 私有流重传方式 - /// TORA_TERT_RESTART:从本交易日开始重传 - /// TORA_TERT_RESUME:从上次收到的续传 - /// TORA_TERT_QUICK:只传送登录后私有流的内容 - ///@remark 该方法要在Init方法前调用。若不调用则不会收到私有流的数据。 - virtual void SubscribePrivateTopic(TORA_TE_RESUME_TYPE nResumeType) = 0; - - ///订阅公共流。 - ///@param nResumeType 公共流重传方式 - /// TORA_TERT_RESTART:从本交易日开始重传 - /// TORA_TERT_RESUME:从上次收到的续传 - /// TORA_TERT_QUICK:只传送登录后公共流的内容 - ///@remark 该方法要在Init方法前调用。若不调用则不会收到公共流的数据。 - virtual void SubscribePublicTopic(TORA_TE_RESUME_TYPE nResumeType) = 0; - - - //登录请求 - virtual int ReqUserLogin(CTORATstpReqUserLoginField *pReqUserLoginField, int nRequestID) = 0; - - //登出请求 - virtual int ReqUserLogout(CTORATstpUserLogoutField *pUserLogoutField, int nRequestID) = 0; - - //修改密码请求 - virtual int ReqUserPasswordUpdate(CTORATstpUserPasswordUpdateField *pUserPasswordUpdateField, int nRequestID) = 0; - - //请求录入设备序列 - virtual int ReqInputDeviceSerial(CTORATstpReqInputDeviceSerialField *pReqInputDeviceSerialField, int nRequestID) = 0; - - //报单录入请求 - virtual int ReqOrderInsert(CTORATstpInputOrderField *pInputOrderField, int nRequestID) = 0; - - //撤单请求 - virtual int ReqOrderAction(CTORATstpInputOrderActionField *pInputOrderActionField, int nRequestID) = 0; - - //条件单录入请求 - virtual int ReqCondOrderInsert(CTORATstpInputCondOrderField *pInputCondOrderField, int nRequestID) = 0; - - //条件单操作请求 - virtual int ReqCondOrderAction(CTORATstpInputCondOrderActionField *pInputCondOrderActionField, int nRequestID) = 0; - - //查询集中交易系统资金请求 - virtual int ReqInquiryJZFund(CTORATstpReqInquiryJZFundField *pReqInquiryJZFundField, int nRequestID) = 0; - - //资金转移请求 - virtual int ReqTransferFund(CTORATstpInputTransferFundField *pInputTransferFundField, int nRequestID) = 0; - - //担保品划转请求 - virtual int ReqTransferCollateral(CTORATstpInputTransferCollateralField *pInputTransferCollateralField, int nRequestID) = 0; - - //查询银行账户余额请求 - virtual int ReqInquiryBankAccountFund(CTORATstpReqInquiryBankAccountFundField *pReqInquiryBankAccountFundField, int nRequestID) = 0; - - //查询交易成交集中度 - virtual int ReqInquiryTradeConcentration(CTORATstpInquiryTradeConcentrationField *pInquiryTradeConcentrationField, int nRequestID) = 0; - - //查询最大委托量请求 - virtual int ReqInquiryMaxOrderVolume(CTORATstpReqInquiryMaxOrderVolumeField *pReqInquiryMaxOrderVolumeField, int nRequestID) = 0; - - //查询历史委托请求 - virtual int ReqInquiryHistoryOrder(CTORATstpQryHistoryOrderField *pQryHistoryOrderField, int nRequestID) = 0; - - //查询历史成交请求 - virtual int ReqInquiryHistoryTrade(CTORATstpQryHistoryTradeField *pQryHistoryTradeField, int nRequestID) = 0; - - //查询交易所 - virtual int ReqQryExchange(CTORATstpQryExchangeField *pQryExchangeField, int nRequestID) = 0; - - //查询实时行情 - virtual int ReqQryMarketData(CTORATstpQryMarketDataField *pQryMarketDataField, int nRequestID) = 0; - - //查询证券信息 - virtual int ReqQrySecurity(CTORATstpQrySecurityField *pQrySecurityField, int nRequestID) = 0; - - //查询ETF清单信息 - virtual int ReqQryETFFile(CTORATstpQryETFFileField *pQryETFFileField, int nRequestID) = 0; - - //查询ETF成份证券信息 - virtual int ReqQryETFBasket(CTORATstpQryETFBasketField *pQryETFBasketField, int nRequestID) = 0; - - //查询新股信息 - virtual int ReqQryIPOInfo(CTORATstpQryIPOInfoField *pQryIPOInfoField, int nRequestID) = 0; - - //查询代理关系 - virtual int ReqQryBUProxy(CTORATstpQryBUProxyField *pQryBUProxyField, int nRequestID) = 0; - - //查询User - virtual int ReqQryUser(CTORATstpQryUserField *pQryUserField, int nRequestID) = 0; - - //查询投资者 - virtual int ReqQryInvestor(CTORATstpQryInvestorField *pQryInvestorField, int nRequestID) = 0; - - //查询股东账户 - virtual int ReqQryShareholderAccount(CTORATstpQryShareholderAccountField *pQryShareholderAccountField, int nRequestID) = 0; - - //报单查询 - virtual int ReqQryOrder(CTORATstpQryOrderField *pQryOrderField, int nRequestID) = 0; - - //查询撤单 - virtual int ReqQryOrderAction(CTORATstpQryOrderActionField *pQryOrderActionField, int nRequestID) = 0; - - //成交查询 - virtual int ReqQryTrade(CTORATstpQryTradeField *pQryTradeField, int nRequestID) = 0; - - //资金账户查询 - virtual int ReqQryTradingAccount(CTORATstpQryTradingAccountField *pQryTradingAccountField, int nRequestID) = 0; - - //投资者持仓查询 - virtual int ReqQryPosition(CTORATstpQryPositionField *pQryPositionField, int nRequestID) = 0; - - //查询基础交易费用 - virtual int ReqQryTradingFee(CTORATstpQryTradingFeeField *pQryTradingFeeField, int nRequestID) = 0; - - //查询佣金费率 - virtual int ReqQryInvestorTradingFee(CTORATstpQryInvestorTradingFeeField *pQryInvestorTradingFeeField, int nRequestID) = 0; - - //查询新股申购额度 - virtual int ReqQryIPOQuota(CTORATstpQryIPOQuotaField *pQryIPOQuotaField, int nRequestID) = 0; - - //查询市场 - virtual int ReqQryMarket(CTORATstpQryMarketField *pQryMarketField, int nRequestID) = 0; - - //报单明细资金查询 - virtual int ReqQryOrderFundDetail(CTORATstpQryOrderFundDetailField *pQryOrderFundDetailField, int nRequestID) = 0; - - //查询资金转移流水 - virtual int ReqQryFundTransferDetail(CTORATstpQryFundTransferDetailField *pQryFundTransferDetailField, int nRequestID) = 0; - - //查询持仓转移流水 - virtual int ReqQryPositionTransferDetail(CTORATstpQryPositionTransferDetailField *pQryPositionTransferDetailField, int nRequestID) = 0; - - //请求投资者质押持仓查询 - virtual int ReqQryPledgePosition(CTORATstpQryPledgePositionField *pQryPledgePositionField, int nRequestID) = 0; - - //请求证券质押信息查询 - virtual int ReqQryPledgeInfo(CTORATstpQryPledgeInfoField *pQryPledgeInfoField, int nRequestID) = 0; - - //请求可转债信息查询 - virtual int ReqQryConversionBondInfo(CTORATstpQryConversionBondInfoField *pQryConversionBondInfoField, int nRequestID) = 0; - - //请求债券回售信息查询 - virtual int ReqQryBondPutbackInfo(CTORATstpQryBondPutbackInfoField *pQryBondPutbackInfoField, int nRequestID) = 0; - - //请求标准券额度查询 - virtual int ReqQryStandardBondPosition(CTORATstpQryStandardBondPositionField *pQryStandardBondPositionField, int nRequestID) = 0; - - //查询实时特别行情 - virtual int ReqQrySpecialMarketData(CTORATstpQrySpecialMarketDataField *pQrySpecialMarketDataField, int nRequestID) = 0; - - //查询未到期债券质押回购委托 - virtual int ReqQryPrematurityRepoOrder(CTORATstpQryPrematurityRepoOrderField *pQryPrematurityRepoOrderField, int nRequestID) = 0; - - //查询股东参数 - virtual int ReqQryShareholderParam(CTORATstpQryShareholderParamField *pQryShareholderParamField, int nRequestID) = 0; - - //查询外围系统仓位调拨流水 - virtual int ReqQryPeripheryPositionTransferDetail(CTORATstpQryPeripheryPositionTransferDetailField *pQryPeripheryPositionTransferDetailField, int nRequestID) = 0; - - //查询投资者条件单限制参数请求 - virtual int ReqQryInvestorCondOrderLimitParam(CTORATstpQryInvestorCondOrderLimitParamField *pQryInvestorCondOrderLimitParamField, int nRequestID) = 0; - - //查询条件单请求 - virtual int ReqQryCondOrder(CTORATstpQryCondOrderField *pQryCondOrderField, int nRequestID) = 0; - - //查询条件单撤单请求 - virtual int ReqQryCondOrderAction(CTORATstpQryCondOrderActionField *pQryCondOrderActionField, int nRequestID) = 0; - - //查询交易通知请求 - virtual int ReqQryTradingNotice(CTORATstpQryTradingNoticeField *pQryTradingNoticeField, int nRequestID) = 0; - - //查询新股申购配号结果 - virtual int ReqQryIPONumberResult(CTORATstpQryIPONumberResultField *pQryIPONumberResultField, int nRequestID) = 0; - - //查询新股申购中签结果 - virtual int ReqQryIPOMatchNumberResult(CTORATstpQryIPOMatchNumberResultField *pQryIPOMatchNumberResultField, int nRequestID) = 0; - - -protected: - ~CTORATstpTraderApi(){}; -}; - -#endif diff --git a/vnpy/api/tora/vntora/include/TORATstpUserApiDataType.h b/vnpy/api/tora/vntora/include/TORATstpUserApiDataType.h deleted file mode 100644 index 696e719566..0000000000 --- a/vnpy/api/tora/vntora/include/TORATstpUserApiDataType.h +++ /dev/null @@ -1,1852 +0,0 @@ -///////////////////////////////////////////////////////////////////////// -///@company 上海泰琰信息科技有限公司 -///@file TORATstpUserApiStruct.h -///@brief 定义了客户端接口使用的业务数据结构 -///@history -///////////////////////////////////////////////////////////////////////// - -#ifndef _TORA_TSTPDATATYPE_H -#define _TORA_TSTPDATATYPE_H - -#include -#include - -#define INT_NULL_VAL INT_MAX - -#define FLOAT_NULL_VAL DBL_MAX - -#define CHAR_NULL_VAL 0 - -#define WORD_NULL_VAL SHRT_MAX - -#ifdef WINDOWS -#define LONG_NULL_VAL _I64_MAX -#else -#define LONG_NULL_VAL LLONG_MAX -#endif - -#define POINT_NULL_VAL NULL - -inline void set_null(int &v) -{ - v = INT_NULL_VAL; -} - -inline bool is_null(int v) -{ - return v == INT_NULL_VAL; -} - -inline void set_null(double &v) -{ - v = FLOAT_NULL_VAL; -} - -inline bool is_null(double v) -{ - return v == FLOAT_NULL_VAL; -} - -inline void set_null(char &v) -{ - v = CHAR_NULL_VAL; -} - -inline bool is_null(char v) -{ - return v == CHAR_NULL_VAL; -} - -inline void set_null(short &v) -{ - v = WORD_NULL_VAL; -} - -inline bool is_null(short v) -{ - return v == WORD_NULL_VAL; -} - -#ifdef WINDOWS -inline void set_null(__int64 &v) -#else -inline void set_null(long long &v) -#endif -{ - v = LONG_NULL_VAL; -} - -#ifdef WINDOWS -inline bool is_null(__int64 v) -#else -inline bool is_null(long long v) -#endif -{ - return v == LONG_NULL_VAL; -} - -inline void set_null(char *v) -{ - v[0] = '\0'; -} - -inline bool is_null(const char *v) -{ - const char *p=v; - while (*p) - { - if (*p!=' ') - { - return false; - } - p++; - } - return true; -} - -enum TORA_TE_RESUME_TYPE -{ - TORA_TERT_RESTART = 0, - TORA_TERT_RESUME, - TORA_TERT_QUICK -}; - - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpDateType是一个日期类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpDateType[9]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpTimeType是一个时间类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpTimeType[9]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpMillisecType是一个时间(毫秒)类型 -///////////////////////////////////////////////////////////////////////// -typedef int TTORATstpMillisecType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpPriceType是一个价格类型 -///////////////////////////////////////////////////////////////////////// -typedef double TTORATstpPriceType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpRatioType是一个比率类型 -///////////////////////////////////////////////////////////////////////// -typedef double TTORATstpRatioType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpMoneyType是一个资金类型 -///////////////////////////////////////////////////////////////////////// -typedef double TTORATstpMoneyType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpVolumeType是一个数量类型 -///////////////////////////////////////////////////////////////////////// -typedef int TTORATstpVolumeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpLargeVolumeType是一个大额数量类型 -///////////////////////////////////////////////////////////////////////// -typedef double TTORATstpLargeVolumeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpBoolType是一个布尔型类型 -///////////////////////////////////////////////////////////////////////// -typedef int TTORATstpBoolType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpSequenceNoType是一个流水号类型 -///////////////////////////////////////////////////////////////////////// -typedef int TTORATstpSequenceNoType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpSerialType是一个流水号类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpSerialType[31]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpCommFluxType是一个通讯流量类型 -///////////////////////////////////////////////////////////////////////// -typedef int TTORATstpCommFluxType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpRoleIDType是一个角色编号类型 -///////////////////////////////////////////////////////////////////////// -typedef int TTORATstpRoleIDType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpRoleDescriptionType是一个角色描述类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpRoleDescriptionType[161]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpFunctionsType是一个功能权限集合类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpFunctionsType[129]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpDeviceIDType是一个设备标识类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpDeviceIDType[129]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpDeviceSerialType是一个设备序列类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpDeviceSerialType[129]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpExchangeIDType是一个交易所代码类型 -///////////////////////////////////////////////////////////////////////// -///内部使用) -#define TORA_TSTP_EXD_SSE_FO 'h' -///内部使用) -#define TORA_TSTP_EXD_SZSE_FO 'z' -///通用(内部使用) -#define TORA_TSTP_EXD_COMM '0' -///上海交易所 -#define TORA_TSTP_EXD_SSE '1' -///深圳交易所 -#define TORA_TSTP_EXD_SZSE '2' -///香港交易所 -#define TORA_TSTP_EXD_HK '3' - -typedef char TTORATstpExchangeIDType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpAuthModeType是一个认证方式类型 -///////////////////////////////////////////////////////////////////////// -///密码 -#define TORA_TSTP_AM_Password '0' -///指纹 -#define TORA_TSTP_AM_FingerPrint '1' - -typedef char TTORATstpAuthModeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpVolumeMultipleType是一个合约数量乘数类型 -///////////////////////////////////////////////////////////////////////// -typedef int TTORATstpVolumeMultipleType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpIdCardNoType是一个证件编号类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpIdCardNoType[51]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpUserIDType是一个交易用户代码类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpUserIDType[16]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpTradeIDType是一个成交编号类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpTradeIDType[21]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpOrderSysIDType是一个系统报单编号类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpOrderSysIDType[21]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpCondOrderIDType是一个条件报单编号类型 -///////////////////////////////////////////////////////////////////////// -typedef int TTORATstpCondOrderIDType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpPasswordType是一个密码类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpPasswordType[41]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpFrontIDType是一个前置编号类型 -///////////////////////////////////////////////////////////////////////// -typedef int TTORATstpFrontIDType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpSessionIDType是一个会话编号类型 -///////////////////////////////////////////////////////////////////////// -typedef int TTORATstpSessionIDType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpProductInfoType是一个产品信息类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpProductInfoType[11]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpProtocolInfoType是一个协议信息类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpProtocolInfoType[11]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpErrorIDType是一个错误代码类型 -///////////////////////////////////////////////////////////////////////// -typedef int TTORATstpErrorIDType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpErrorMsgType是一个错误信息类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpErrorMsgType[81]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpPositionTypeType是一个持仓类型类型 -///////////////////////////////////////////////////////////////////////// -///净持仓 -#define TORA_TSTP_PT_Net '1' -///综合持仓 -#define TORA_TSTP_PT_Gross '2' - -typedef char TTORATstpPositionTypeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpParameterCharValType是一个参数文本值类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpParameterCharValType[101]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpNameType是一个名称类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpNameType[61]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpListingMarketType是一个挂牌市场类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpListingMarketType[31]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpProductIDType是一个证券品种代码类型 -///////////////////////////////////////////////////////////////////////// -///通用(内部使用) -#define TORA_TSTP_PID_COMMON '0' -///上海股票 -#define TORA_TSTP_PID_SHStock '1' -///上海配股配债 -#define TORA_TSTP_PID_SHWarrant '2' -///上海基金 -#define TORA_TSTP_PID_SHFund '3' -///上海债券 -#define TORA_TSTP_PID_SHBond '4' -///上海标准券 -#define TORA_TSTP_PID_SHStandard '5' -///上海质押式回购 -#define TORA_TSTP_PID_SHRepurchase '6' -///深圳股票 -#define TORA_TSTP_PID_SZStock '7' -///深圳配股配债 -#define TORA_TSTP_PID_SZWarrant '8' -///深圳基金 -#define TORA_TSTP_PID_SZFund '9' -///深圳债券 -#define TORA_TSTP_PID_SZBond 'a' -///深圳标准券 -#define TORA_TSTP_PID_SZStandard 'b' -///深圳质押式回购 -#define TORA_TSTP_PID_SZRepurchase 'c' - -typedef char TTORATstpProductIDType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpSecurityIDType是一个证券代码类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpSecurityIDType[31]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpParValueType是一个面值类型 -///////////////////////////////////////////////////////////////////////// -typedef double TTORATstpParValueType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpPriceTickType是一个最小变动价位类型 -///////////////////////////////////////////////////////////////////////// -typedef double TTORATstpPriceTickType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpTradingUnitType是一个交易单位类型 -///////////////////////////////////////////////////////////////////////// -typedef int TTORATstpTradingUnitType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpSecurityStatusType是一个证券状态类型 -///////////////////////////////////////////////////////////////////////// -typedef int TTORATstpSecurityStatusType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpAccountIDType是一个投资者资金帐号类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpAccountIDType[21]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpInvestorIDType是一个投资者代码类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpInvestorIDType[13]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpAddressType是一个通讯地址类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpAddressType[101]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpDepartmentIDType是一个部门代码类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpDepartmentIDType[11]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpTerminalInfoType是一个终端信息类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpTerminalInfoType[256]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpShareholderIDType是一个股东账户代码类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpShareholderIDType[11]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpPbuIDType是一个交易单元代码类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpPbuIDType[11]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpIPAddressType是一个IP地址类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpIPAddressType[16]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpMacAddressType是一个Mac地址类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpMacAddressType[21]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpLangType是一个语言类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpLangType[17]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpInterestType是一个利息类型 -///////////////////////////////////////////////////////////////////////// -typedef double TTORATstpInterestType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpOrderLocalIDType是一个本地报单编号类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpOrderLocalIDType[13]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpPositionVolumeType是一个证券数量类型 -///////////////////////////////////////////////////////////////////////// -typedef double TTORATstpPositionVolumeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpBusinessUnitIDType是一个投资单元代码类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpBusinessUnitIDType[17]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpBusinessUnitNameType是一个投资单元名称类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpBusinessUnitNameType[61]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpTimeStampType是一个时间戳类型 -///////////////////////////////////////////////////////////////////////// -typedef int TTORATstpTimeStampType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpBigTimeStampType是一个长时间戳类型 -///////////////////////////////////////////////////////////////////////// -typedef long long int TTORATstpBigTimeStampType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpSecurityNameType是一个证券名称类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpSecurityNameType[41]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpExternalSerialType是一个外部流水号类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpExternalSerialType[65]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpOrderRefType是一个报单引用类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpOrderRefType[13]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpRequestIDType是一个请求编号类型 -///////////////////////////////////////////////////////////////////////// -typedef int TTORATstpRequestIDType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpIntSerialType是一个整数流水号类型 -///////////////////////////////////////////////////////////////////////// -typedef int TTORATstpIntSerialType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpInvestorNameType是一个投资者名称类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpInvestorNameType[81]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpUserNameType是一个用户名称类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpUserNameType[81]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpLoginLimitType是一个登录限制类型 -///////////////////////////////////////////////////////////////////////// -typedef int TTORATstpLoginLimitType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpCurrencyIDType是一个币种类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpCurrencyIDType[4]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpBankIDType是一个银行代码类型 -///////////////////////////////////////////////////////////////////////// -///中国建设银行 -#define TORA_TSTP_BKID_CCB '1' -///中国农业银行 -#define TORA_TSTP_BKID_ABC '2' -///中国工商银行 -#define TORA_TSTP_BKID_ICBC '3' -///中国银行 -#define TORA_TSTP_BKID_BOC '4' -///中国招商银行 -#define TORA_TSTP_BKID_CMB '5' -///中国交通银行 -#define TORA_TSTP_BKID_BC '6' -///浦东发展银行 -#define TORA_TSTP_BKID_SPDB '7' -///兴业银行 -#define TORA_TSTP_BKID_CIB '8' -///中国光大银行 -#define TORA_TSTP_BKID_CEB '9' -///广东发展银行 -#define TORA_TSTP_BKID_GDB 'a' -///南京银行 -#define TORA_TSTP_BKID_NJCB 'b' -///上海银行 -#define TORA_TSTP_BKID_SHCB 'c' -///中信银行 -#define TORA_TSTP_BKID_CITICB 'd' -///华夏银行 -#define TORA_TSTP_BKID_HXB 'e' -///民生银行 -#define TORA_TSTP_BKID_CMBC 'f' -///平安银行 -#define TORA_TSTP_BKID_PACB 'g' -///宁波银行 -#define TORA_TSTP_BKID_NBCB 'h' - -typedef char TTORATstpBankIDType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpBankAccountIDType是一个签约银行账号类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpBankAccountIDType[31]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpTransferReasonType是一个外围系统仓位调拨原因类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpTransferReasonType[21]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpCombOffsetFlagType是一个组合开平标志类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpCombOffsetFlagType[5]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpCombHedgeFlagType是一个组合投机套保标志类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpCombHedgeFlagType[5]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpExchangeInstIDType是一个交易所合约代码类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpExchangeInstIDType[31]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpTelephoneType是一个联系电话类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpTelephoneType[41]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpMobileType是一个手机类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpMobileType[41]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpTraderIDType是一个交易员代码类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpTraderIDType[21]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpLongVolumeType是一个LongVolume类型 -///////////////////////////////////////////////////////////////////////// -typedef long long int TTORATstpLongVolumeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpLongSequenceType是一个序号类型 -///////////////////////////////////////////////////////////////////////// -typedef long long int TTORATstpLongSequenceType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpOrderUnitType是一个申报单位类型 -///////////////////////////////////////////////////////////////////////// -///手 -#define TORA_TSTP_OUT_Shou '0' -///股 -#define TORA_TSTP_OUT_Gu '1' -///份 -#define TORA_TSTP_OUT_Fen '2' -///张 -#define TORA_TSTP_OUT_Zhang '3' - -typedef char TTORATstpOrderUnitType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpIdCardTypeType是一个证件类型类型 -///////////////////////////////////////////////////////////////////////// -///组织机构代码 -#define TORA_TSTP_ICT_EID '0' -///中国公民身份证 -#define TORA_TSTP_ICT_IDCard '1' -///军官证 -#define TORA_TSTP_ICT_OfficerIDCard '2' -///警官证 -#define TORA_TSTP_ICT_PoliceIDCard '3' -///士兵证 -#define TORA_TSTP_ICT_SoldierIDCard '4' -///户口簿 -#define TORA_TSTP_ICT_HouseholdRegister '5' -///护照 -#define TORA_TSTP_ICT_Passport '6' -///台胞证 -#define TORA_TSTP_ICT_TaiwanCompatriotIDCard '7' -///回乡证 -#define TORA_TSTP_ICT_HomeComingCard '8' -///营业执照号 -#define TORA_TSTP_ICT_LicenseNo '9' -///税务登记号/当地纳税ID -#define TORA_TSTP_ICT_TaxNo 'A' -///港澳居民来往内地通行证 -#define TORA_TSTP_ICT_HMMainlandTravelPermit 'B' -///台湾居民来往大陆通行证 -#define TORA_TSTP_ICT_TwMainlandTravelPermit 'C' -///驾照 -#define TORA_TSTP_ICT_DrivingLicense 'D' -///当地社保ID -#define TORA_TSTP_ICT_SocialID 'F' -///当地身份证 -#define TORA_TSTP_ICT_LocalID 'G' -///商业登记证 -#define TORA_TSTP_ICT_BusinessRegistration 'H' -///港澳永久性居民身份证 -#define TORA_TSTP_ICT_HKMCIDCard 'I' -///人行开户许可证 -#define TORA_TSTP_ICT_AccountsPermits 'J' -///其他证件 -#define TORA_TSTP_ICT_OtherCard 'x' - -typedef char TTORATstpIdCardTypeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpAccountTypeType是一个资金账户类型类型 -///////////////////////////////////////////////////////////////////////// -///普通 -#define TORA_TSTP_FAT_Normal '1' -///信用 -#define TORA_TSTP_FAT_Credit '2' -///衍生品 -#define TORA_TSTP_FAT_Derivatives '3' - -typedef char TTORATstpAccountTypeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpDirectionType是一个报单类别类型 -///////////////////////////////////////////////////////////////////////// -///买入 -#define TORA_TSTP_D_Buy '0' -///卖出 -#define TORA_TSTP_D_Sell '1' -///ETF申购 -#define TORA_TSTP_D_ETFPur '2' -///ETF赎回 -#define TORA_TSTP_D_ETFRed '3' -///新股申购 -#define TORA_TSTP_D_IPO '4' -///正回购 -#define TORA_TSTP_D_Repurchase '5' -///逆回购 -#define TORA_TSTP_D_ReverseRepur '6' -///开放式基金申购 -#define TORA_TSTP_D_OeFundPur '8' -///开放式基金赎回 -#define TORA_TSTP_D_OeFundRed '9' -///担保品划入 -#define TORA_TSTP_D_CollateralIn 'a' -///担保品划出 -#define TORA_TSTP_D_CollateralOut 'b' -///质押入库 -#define TORA_TSTP_D_PledgeIn 'd' -///质押出库 -#define TORA_TSTP_D_PledgeOut 'e' -///配股配债 -#define TORA_TSTP_D_Rationed 'f' -///开放式基金拆分 -#define TORA_TSTP_D_Split 'g' -///开放式基金合并 -#define TORA_TSTP_D_Merge 'h' -///融资买入 -#define TORA_TSTP_D_MarginBuy 'i' -///融券卖出 -#define TORA_TSTP_D_ShortSell 'j' -///卖券还款 -#define TORA_TSTP_D_SellRepayment 'k' -///买券还券 -#define TORA_TSTP_D_BuyRepayment 'l' -///还券划转 -#define TORA_TSTP_D_SecurityRepay 'm' -///余券划转 -#define TORA_TSTP_D_RemainTransfer 'n' -///债转股 -#define TORA_TSTP_D_BondConvertStock 't' -///债券回售 -#define TORA_TSTP_D_BondPutback 'u' - -typedef char TTORATstpDirectionType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpBrokerageTypeType是一个佣金类型类型 -///////////////////////////////////////////////////////////////////////// -///毛佣金 -#define TORA_TSTP_BT_Gross '0' -///净佣金 -#define TORA_TSTP_BT_Net '1' - -typedef char TTORATstpBrokerageTypeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpUserTypeType是一个用户类型类型 -///////////////////////////////////////////////////////////////////////// -///经纪公司用户 -#define TORA_TSTP_UTYPE_BrokerUser '0' -///超级用户 -#define TORA_TSTP_UTYPE_SuperUser '1' -///投资者用户 -#define TORA_TSTP_UTYPE_Investor '2' - -typedef char TTORATstpUserTypeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpContingentConditionType是一个触发条件类型 -///////////////////////////////////////////////////////////////////////// -///成交触发 -#define TORA_TSTP_CC_TradeTouch '0' -///撤单触发 -#define TORA_TSTP_CC_CancelTouch '1' -///时间触发 -#define TORA_TSTP_CC_TimeTouch '2' -///交易时段触发 -#define TORA_TSTP_CC_SegmentTouch '3' -///最新价大于等于条件价 -#define TORA_TSTP_CC_LastPriceGreaterThanStopPrice '4' -///最新价小于等于条件价 -#define TORA_TSTP_CC_LastPriceLesserThanStopPrice '5' -///卖一价大于等于条件价 -#define TORA_TSTP_CC_AskPriceGreaterEqualStopPrice '6' -///卖一价小于等于条件价 -#define TORA_TSTP_CC_AskPriceLesserEqualStopPrice '7' -///买一价大于等于条件价 -#define TORA_TSTP_CC_BidPriceGreaterEqualStopPrice '8' -///买一价小于等于条件价 -#define TORA_TSTP_CC_BidPriceLesserEqualStopPrice '9' - -typedef char TTORATstpContingentConditionType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpETFCurrenceReplaceStatusType是一个ETF现金替代标志类型 -///////////////////////////////////////////////////////////////////////// -///禁止现金替代 -#define TORA_TSTP_ETFCTSTAT_Forbidden '0' -///可以现金替代 -#define TORA_TSTP_ETFCTSTAT_Allow '1' -///必须现金替代 -#define TORA_TSTP_ETFCTSTAT_Force '2' -///跨市退补现金替代 -#define TORA_TSTP_ETFCTSTAT_CBAllow '3' -///跨市必须现金替代 -#define TORA_TSTP_ETFCTSTAT_CBForce '4' - -typedef char TTORATstpETFCurrenceReplaceStatusType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpOperateSourceType是一个操作来源类型 -///////////////////////////////////////////////////////////////////////// -///实时上场 -#define TORA_TSTP_OPRTSRC_DBCommand '0' -///API调用 -#define TORA_TSTP_OPRTSRC_SyncAPI '1' - -typedef char TTORATstpOperateSourceType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpOperwayType是一个委托方式类型 -///////////////////////////////////////////////////////////////////////// -///电话委托 -#define TORA_TSTP_OPERW_Telephone '0' -///柜台委托 -#define TORA_TSTP_OPERW_OTC '1' -///移动客户端委托 -#define TORA_TSTP_OPERW_MobileClient '2' -///PC客户端委托 -#define TORA_TSTP_OPERW_PCClient '3' -///TY委托 -#define TORA_TSTP_OPERW_TY '4' - -typedef char TTORATstpOperwayType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpOperwaysType是一个委托方式合集类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpOperwaysType[41]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpOrderPriceTypeType是一个报单价格条件类型 -///////////////////////////////////////////////////////////////////////// -///任意价 -#define TORA_TSTP_OPT_AnyPrice '1' -///限价 -#define TORA_TSTP_OPT_LimitPrice '2' -///最优价 -#define TORA_TSTP_OPT_BestPrice '3' -///最新价 -#define TORA_TSTP_OPT_LastPrice '4' -///卖一价 -#define TORA_TSTP_OPT_AskPrice1 '5' -///买一价 -#define TORA_TSTP_OPT_BidPrice1 '6' -///相关价 -#define TORA_TSTP_OPT_Relative '7' -///五档价 -#define TORA_TSTP_OPT_FiveLevelPrice 'G' -///本方最优 -#define TORA_TSTP_OPT_HomeBestPrice 'a' - -typedef char TTORATstpOrderPriceTypeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpOrderVolumeTypeType是一个报单数量类型类型 -///////////////////////////////////////////////////////////////////////// -///自定义数量 -#define TORA_TSTP_OVT_CustomVol '1' -///相关数量 -#define TORA_TSTP_OVT_RelativeVol '2' - -typedef char TTORATstpOrderVolumeTypeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpTimeConditionType是一个有效期类型类型 -///////////////////////////////////////////////////////////////////////// -///立即完成,否则撤销 -#define TORA_TSTP_TC_IOC '1' -///本节有效 -#define TORA_TSTP_TC_GFS '2' -///当日有效 -#define TORA_TSTP_TC_GFD '3' -///指定日期前有效 -#define TORA_TSTP_TC_GTD '4' -///撤销前有效 -#define TORA_TSTP_TC_GTC '5' -///集合竞价有效 -#define TORA_TSTP_TC_GFA '6' - -typedef char TTORATstpTimeConditionType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpVolumeConditionType是一个成交量类型类型 -///////////////////////////////////////////////////////////////////////// -///任何数量 -#define TORA_TSTP_VC_AV '1' -///最小数量 -#define TORA_TSTP_VC_MV '2' -///全部数量 -#define TORA_TSTP_VC_CV '3' - -typedef char TTORATstpVolumeConditionType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpForceCloseReasonType是一个强平原因类型 -///////////////////////////////////////////////////////////////////////// -///非强平 -#define TORA_TSTP_FCC_NotForceClose '0' -///资金不足 -#define TORA_TSTP_FCC_LackDeposit '1' -///客户超仓 -#define TORA_TSTP_FCC_ClientOverPositionLimit '2' -///会员超仓 -#define TORA_TSTP_FCC_MemberOverPositionLimit '3' -///持仓非整数倍 -#define TORA_TSTP_FCC_NotMultiple '4' -///违规 -#define TORA_TSTP_FCC_Violation '5' -///其它 -#define TORA_TSTP_FCC_Other '6' - -typedef char TTORATstpForceCloseReasonType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpFileOrderTypeType是一个文件报单类别类型 -///////////////////////////////////////////////////////////////////////// -///复核 -#define TORA_TSTP_EOT_Review '0' -///撤单 -#define TORA_TSTP_EOT_Cancel '1' -///限价单 -#define TORA_TSTP_EOT_Limit '2' -///最优五档即时成交剩余撤销 -#define TORA_TSTP_EOT_FRC '3' -///最优五档即时成交剩余转限价 -#define TORA_TSTP_EOT_FRL '4' -///对手方最优 -#define TORA_TSTP_EOT_BP '5' -///本方最优 -#define TORA_TSTP_EOT_HP '6' -///立即成交剩余撤销 -#define TORA_TSTP_EOT_FAK '7' -///全额成交或撤销 -#define TORA_TSTP_EOT_FOK '8' - -typedef char TTORATstpFileOrderTypeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpTransferDirectionType是一个转移方向类型 -///////////////////////////////////////////////////////////////////////// -///蓝补 -#define TORA_TSTP_TRNSD_In '0' -///红冲 -#define TORA_TSTP_TRNSD_Out '1' -///调入 -#define TORA_TSTP_TRNSD_MoveIn '2' -///调出 -#define TORA_TSTP_TRNSD_MoveOut '3' -///冻结 -#define TORA_TSTP_TRNSD_Freeze '4' -///解冻 -#define TORA_TSTP_TRNSD_UnFreeze '5' -///证券转银行 -#define TORA_TSTP_TRNSD_StockToBank '6' -///银行转证券 -#define TORA_TSTP_TRNSD_BankToStock '7' - -typedef char TTORATstpTransferDirectionType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpCollateralDirectionType是一个担保品划入方向类型 -///////////////////////////////////////////////////////////////////////// -///担保品划入 -#define TORA_TSTP_CLTD_CollateralIn '6' -///担保品划出 -#define TORA_TSTP_CLTD_CollateralOut '7' - -typedef char TTORATstpCollateralDirectionType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpTransferStatusType是一个转移状态类型 -///////////////////////////////////////////////////////////////////////// -///Transfer正在处理 -#define TORA_TSTP_TRANST_TranferHandling '0' -///Transfer成功 -#define TORA_TSTP_TRANST_TransferSuccess '1' -///Transfer失败 -#define TORA_TSTP_TRANST_TransferFail '2' -///Repeal正在处理 -#define TORA_TSTP_TRANST_RepealHandling '3' -///Repeal成功 -#define TORA_TSTP_TRANST_RepealSuccess '4' -///Repeal失败 -#define TORA_TSTP_TRANST_RepealFail '5' -///外部系统已接收 -#define TORA_TSTP_TRANST_ExternalAccepted '6' - -typedef char TTORATstpTransferStatusType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpTransferPositionTypeType是一个转移持仓类型类型 -///////////////////////////////////////////////////////////////////////// -///任意仓 -#define TORA_TSTP_TPT_ALL '0' -///昨仓 -#define TORA_TSTP_TPT_History '1' -///今买卖仓 -#define TORA_TSTP_TPT_TodayBS '2' -///今申赎仓 -#define TORA_TSTP_TPT_TodayPR '3' - -typedef char TTORATstpTransferPositionTypeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpSystemNameType是一个系统名称类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpSystemNameType[41]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpRelativeCondParamType是一个相关条件参数类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpRelativeCondParamType[31]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpOrderStatusType是一个报单状态类型 -///////////////////////////////////////////////////////////////////////// -///全部成交 -#define TORA_TSTP_OST_AllTraded '0' -///部分成交还在队列中 -#define TORA_TSTP_OST_PartTradedQueueing '1' -///部分成交不在队列中 -#define TORA_TSTP_OST_PartTradedNotQueueing '2' -///未成交还在队列中 -#define TORA_TSTP_OST_NoTradeQueueing '3' -///未成交不在队列中 -#define TORA_TSTP_OST_NoTradeNotQueueing '4' -///撤单 -#define TORA_TSTP_OST_Canceled '5' -///未知 -#define TORA_TSTP_OST_Unknown 'a' -///尚未触发 -#define TORA_TSTP_OST_NotTouched 'b' -///已触发 -#define TORA_TSTP_OST_Touched 'c' -///预埋 -#define TORA_TSTP_OST_Cached 'd' - -typedef char TTORATstpOrderStatusType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpCondOrderStatusType是一个条件单状态类型 -///////////////////////////////////////////////////////////////////////// -///初始 -#define TORA_TSTP_COST_Initial '#' -///未触发 -#define TORA_TSTP_COST_NotTouched '0' -///已触发 -#define TORA_TSTP_COST_Touched '1' -///已结束 -#define TORA_TSTP_COST_Finished '2' -///已撤销 -#define TORA_TSTP_COST_Cancel '3' -///触发失败 -#define TORA_TSTP_COST_Failed '4' - -typedef char TTORATstpCondOrderStatusType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpOrderSubmitStatusType是一个报单提交状态类型 -///////////////////////////////////////////////////////////////////////// -///未提交 -#define TORA_TSTP_OSS_UnSubmit '#' -///已经提交 -#define TORA_TSTP_OSS_InsertSubmitted '0' -///撤单已经提交 -#define TORA_TSTP_OSS_CancelSubmitted '1' -///修改已经提交 -#define TORA_TSTP_OSS_ModifySubmitted '2' -///已经接受 -#define TORA_TSTP_OSS_Accepted '3' -///报单已经被拒绝 -#define TORA_TSTP_OSS_InsertRejected '4' -///撤单已经被拒绝 -#define TORA_TSTP_OSS_CancelRejected '5' -///改单已经被拒绝 -#define TORA_TSTP_OSS_ModifyRejected '6' - -typedef char TTORATstpOrderSubmitStatusType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpOrderTypeType是一个报单类型类型 -///////////////////////////////////////////////////////////////////////// -///正常 -#define TORA_TSTP_ORDT_Normal '0' -///报价衍生 -#define TORA_TSTP_ORDT_DeriveFromQuote '1' -///组合衍生 -#define TORA_TSTP_ORDT_DeriveFromCombination '2' -///组合报单 -#define TORA_TSTP_ORDT_Combination '3' -///条件单 -#define TORA_TSTP_ORDT_ConditionalOrder '4' -///互换单 -#define TORA_TSTP_ORDT_Swap '5' - -typedef char TTORATstpOrderTypeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpOffsetFlagType是一个开平标志类型 -///////////////////////////////////////////////////////////////////////// -///开仓 -#define TORA_TSTP_OF_Open '0' -///平仓 -#define TORA_TSTP_OF_Close '1' -///强平 -#define TORA_TSTP_OF_ForceClose '2' -///平今 -#define TORA_TSTP_OF_CloseToday '3' -///平昨 -#define TORA_TSTP_OF_CloseYesterday '4' -///强减 -#define TORA_TSTP_OF_ForceOff '5' -///本地强平 -#define TORA_TSTP_OF_LocalForceClose '6' - -typedef char TTORATstpOffsetFlagType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpHedgeFlagType是一个投机套保标志类型 -///////////////////////////////////////////////////////////////////////// -///投机 -#define TORA_TSTP_HF_Speculation '1' -///套利 -#define TORA_TSTP_HF_Arbitrage '2' -///套保 -#define TORA_TSTP_HF_Hedge '3' -///备兑 -#define TORA_TSTP_HF_Covered '4' - -typedef char TTORATstpHedgeFlagType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpActionFlagType是一个操作标志类型 -///////////////////////////////////////////////////////////////////////// -///删除 -#define TORA_TSTP_AF_Delete '0' -///修改 -#define TORA_TSTP_AF_Modify '3' -///强制删除 -#define TORA_TSTP_AF_ForceDelete '4' - -typedef char TTORATstpActionFlagType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpOrderActionStatusType是一个报单操作状态类型 -///////////////////////////////////////////////////////////////////////// -///已经提交 -#define TORA_TSTP_OAS_Submitted 'a' -///已经接受 -#define TORA_TSTP_OAS_Accepted 'b' -///已经被拒绝 -#define TORA_TSTP_OAS_Rejected 'c' -///预埋未提交 -#define TORA_TSTP_OAS_Cached 'e' - -typedef char TTORATstpOrderActionStatusType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpClientIDTypeType是一个交易编码类型类型 -///////////////////////////////////////////////////////////////////////// -///未知 -#define TORA_TSTP_CIDT_Unknown '0' -///投机 -#define TORA_TSTP_CIDT_Speculation '1' -///套利 -#define TORA_TSTP_CIDT_Arbitrage '2' -///套保 -#define TORA_TSTP_CIDT_Hedge '3' -///普通 -#define TORA_TSTP_CIDT_Normal 'a' -///信用 -#define TORA_TSTP_CIDT_Credit 'b' -///衍生品 -#define TORA_TSTP_CIDT_Derivatives 'c' - -typedef char TTORATstpClientIDTypeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpBizClassType是一个业务类别类型 -///////////////////////////////////////////////////////////////////////// -///买入 -#define TORA_TSTP_BC_Buy '0' -///卖出 -#define TORA_TSTP_BC_Sell '1' -///ETF申购 -#define TORA_TSTP_BC_ETFPur '2' -///ETF赎回 -#define TORA_TSTP_BC_ETFRed '3' -///正回购 -#define TORA_TSTP_BC_Repurchase '5' -///逆回购 -#define TORA_TSTP_BC_ReverseRepur '6' -///配股配债 -#define TORA_TSTP_BC_Rationed 'f' -///转托管 -#define TORA_TSTP_BC_CustodyTransfer 'q' -///买入开仓 -#define TORA_TSTP_BC_BuyOpen 'A' -///买入平仓 -#define TORA_TSTP_BC_BuyClose 'B' -///卖出开仓 -#define TORA_TSTP_BC_SellOpen 'C' -///卖出平仓 -#define TORA_TSTP_BC_SellClose 'D' -///备兑开仓 -#define TORA_TSTP_BC_CoveredOpen 'E' -///备兑平仓 -#define TORA_TSTP_BC_CoveredClose 'F' -///行权 -#define TORA_TSTP_BC_ExecOrder 'G' -///自动行权 -#define TORA_TSTP_BC_AutoExecOrder 'H' - -typedef char TTORATstpBizClassType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpCreditPositionTypeType是一个头寸类型类型 -///////////////////////////////////////////////////////////////////////// -///普通 -#define TORA_TSTP_CPT_Normal '0' -///专项 -#define TORA_TSTP_CPT_Special '1' - -typedef char TTORATstpCreditPositionTypeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpFunctionIDType是一个功能代码类型 -///////////////////////////////////////////////////////////////////////// -///空 -#define TORA_TSTP_FID_NAN ' ' -///会话管理:强制登出 -#define TORA_TSTP_FID_SessionManager '0' -///用户管理:强制用户退出(禁用)、激活、密码操作 -#define TORA_TSTP_FID_UserManager '1' -///报单插入 -#define TORA_TSTP_FID_OrderInsert '2' -///报单操作 -#define TORA_TSTP_FID_OrderAction '3' -///权限调整 -#define TORA_TSTP_FID_AdjustTradingRight '4' -///资金调拨 -#define TORA_TSTP_FID_MoveFund '5' -///资金蓝补 -#define TORA_TSTP_FID_AddFund '6' -///资金红冲 -#define TORA_TSTP_FID_SubFund '7' -///强制冻结资金 -#define TORA_TSTP_FID_ForceFreezeFund '8' -///强制解冻资金 -#define TORA_TSTP_FID_ForceUnFreezeFund '9' -///仓位蓝补 -#define TORA_TSTP_FID_AddPosition 'a' -///仓位红冲 -#define TORA_TSTP_FID_SubPosition 'b' -///冲正资金 -#define TORA_TSTP_FID_RepealFund 'c' -///冲正仓位 -#define TORA_TSTP_FID_RepealPosition 'd' -///向外部系统划拨担保券 -#define TORA_TSTP_FID_CollateralInJZ 'e' -///投资者费用调整 -#define TORA_TSTP_FID_AdjustTradingFee 'f' -///调整特殊交易权限 -#define TORA_TSTP_FID_AdjustSpecPrivilege 'g' -///调整股东关联关系 -#define TORA_TSTP_FID_AdjustShareholderAssociation 'h' -///证券信息调整 -#define TORA_TSTP_FID_AdjustSecurity 'i' -///持仓调拨 -#define TORA_TSTP_FID_MovePosition 'j' -///股东参数调整 -#define TORA_TSTP_FID_AdjustShareholderParam 'k' -///条件报单插入 -#define TORA_TSTP_FID_CondOrderInsert 'l' -///条件报单操作 -#define TORA_TSTP_FID_CondOrderAction 'm' -///查询条件单 -#define TORA_TSTP_FID_QryCondOrder 'n' -///条件单参数维护 -#define TORA_TSTP_FID_CondParamAdjust 'o' -///用户角色管理 -#define TORA_TSTP_FID_UserRoleManage 'p' -///费率模板管理 -#define TORA_TSTP_FID_TradingFeeTemplateManage 'q' -///交易权限模板管理 -#define TORA_TSTP_FID_TradingRightTemplateManage 'r' -///股东账户证券代码系统权限管理 -#define TORA_TSTP_FID_SecurityPriorAuthManage 's' -///持仓交易属性管理 -#define TORA_TSTP_FID_PosiParamManage 't' -///报单编号前缀调整 -#define TORA_TSTP_FID_OrderLocalSeqPrefixAdjust 'u' -///席位管理 -#define TORA_TSTP_FID_TraderManage 'v' -///新股申购参数额度管理 -#define TORA_TSTP_FID_IPOManage 'w' -///内部组件运行配置 -#define TORA_TSTP_FID_AppRunManage 'x' -///市场状态管理 -#define TORA_TSTP_FID_MarketStatusManage 'y' -///平台状态管理 -#define TORA_TSTP_FID_PlatformStatusManage 'z' -///查询资金 -#define TORA_TSTP_FID_QryTradingAccount 'A' -///查询持仓 -#define TORA_TSTP_FID_QryPositon 'B' -///查询股东账户 -#define TORA_TSTP_FID_QryShareholderAccount 'C' -///查询委托 -#define TORA_TSTP_FID_QryOrder 'D' -///查询成交 -#define TORA_TSTP_FID_QryTrade 'E' -///查询资金变动流水 -#define TORA_TSTP_FID_QryFundSerial 'F' -///查询持仓变动流水 -#define TORA_TSTP_FID_QryPositionSerial 'G' -///Dump资金 -#define TORA_TSTP_FID_DumpTradingAccount 'H' -///Dump持仓 -#define TORA_TSTP_FID_DumpPositon 'I' -///Dump股东账户 -#define TORA_TSTP_FID_DumpShareholderAccount 'J' -///Dump委托 -#define TORA_TSTP_FID_DumpOrder 'K' -///Dump成交 -#define TORA_TSTP_FID_DumpTrade 'L' -///Dump资金变动流水 -#define TORA_TSTP_FID_DumpFundSerial 'M' -///Dump持仓变动流水 -#define TORA_TSTP_FID_DumpPositionSerial 'N' -///回传数据 -#define TORA_TSTP_FID_UploadTradeData 'O' -///复核资金调整 -#define TORA_TSTP_FID_ReviewFundAdjust 'P' -///复核仓位调整 -#define TORA_TSTP_FID_ReviewPositionAdjust 'Q' -///记录操作日志 -#define TORA_TSTP_FID_RecordOperateLog 'R' -///终端信息管理 -#define TORA_TSTP_FID_TerminalInfoManage 'S' -///查询交易权限 -#define TORA_TSTP_FID_QryTradingRight 'T' -///指定交易登记&撤销 -#define TORA_TSTP_FID_DesignationRegistration 'U' -///深证转托管&撤销 -#define TORA_TSTP_FID_CustodyTransfer 'V' -///强制删除报单 -#define TORA_TSTP_FID_ForceDelete 'W' -///风控管理 -#define TORA_TSTP_FID_RiskMgr 'X' -///复核用户登陆IP/MAC限制调整 -#define TORA_TSTP_FID_ReviewUserIPLimitAdjust 'Y' -///用户登录IP/MAC限制调整 -#define TORA_TSTP_FID_AdjustUserIPLimit 'Z' -///调整系统参数 -#define TORA_TSTP_FID_AdjustSystemParam '@' -///部门信息管理 -#define TORA_TSTP_FID_DepartmentInfoManage '#' -///新股配号中签信息管理 -#define TORA_TSTP_FID_IPONumberMatchManage '$' -///客户信息管理 -#define TORA_TSTP_FID_CustomerInfoManage '*' -///查询用户事件 -#define TORA_TSTP_FID_QryTradeEvent '+' -///交易所回报序号维护 -#define TORA_TSTP_FID_ExchRtnSeqManage '=' -///银证转账 -#define TORA_TSTP_FID_TransferFund '-' - -typedef char TTORATstpFunctionIDType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpSecurityTypeType是一个证券类别类型 -///////////////////////////////////////////////////////////////////////// -///通用(内部使用) -#define TORA_TSTP_STP_COMMON '0' -///上海A股 -#define TORA_TSTP_STP_SHAShares 'a' -///上海单市场股票ETF -#define TORA_TSTP_STP_SHSingleMarketStockETF 'b' -///上海单市场实物债券ETF -#define TORA_TSTP_STP_SHSingleMarketBondETF 'c' -///上海黄金ETF -#define TORA_TSTP_STP_SHGoldETF 'd' -///上海货币ETF -#define TORA_TSTP_STP_SHTradableMonetaryFund 'e' -///上海国债、地方债 -#define TORA_TSTP_STP_SHBondNation 'f' -///上海企业债 -#define TORA_TSTP_STP_SHBondCorporation 'g' -///上海公司债 -#define TORA_TSTP_STP_SHBondCompany 'h' -///上海可转债 -#define TORA_TSTP_STP_SHBondConversion 'i' -///上海分离债 -#define TORA_TSTP_STP_SHBondSeparation 'j' -///上海A股期权 -#define TORA_TSTP_STP_SHASharesOption 'k' -///上海ETF期权 -#define TORA_TSTP_STP_SHETFOption 'l' -///上海配股 -#define TORA_TSTP_STP_SHAllotment 'm' -///上海配债 -#define TORA_TSTP_STP_SHDistributeDebt 'n' -///上海标准券 -#define TORA_TSTP_STP_SHStandard 'o' -///上海质押式回购 -#define TORA_TSTP_STP_SHRepo 'p' -///上海封闭式基金 -#define TORA_TSTP_STP_SHCEFund 'q' -///上海开放式基金 -#define TORA_TSTP_STP_SHOEFund 'r' -///上海跨市场ETF -#define TORA_TSTP_STP_SHCrossMarketStockETF 's' -///上海跨境ETF -#define TORA_TSTP_STP_SHCrossBorderETF 't' -///上海分级母基金 -#define TORA_TSTP_STP_SHMontherStructFund 'u' -///上海分级子基金 -#define TORA_TSTP_STP_SHSubStructFund 'v' -///上海实时申赎货币基金 -#define TORA_TSTP_STP_SHRealTimeMonetaryFund 'w' -///上海可交换债 -#define TORA_TSTP_STP_SHExchangeableBond 'x' -///上海标准LOF基金 -#define TORA_TSTP_STP_SHLOF 'A' -///深圳主板A股 -#define TORA_TSTP_STP_SZMainAShares 'B' -///深圳中小企业板 -#define TORA_TSTP_STP_SZSME 'C' -///深圳国债、地方债 -#define TORA_TSTP_STP_SZBondNation 'D' -///深圳企业债 -#define TORA_TSTP_STP_SZBondCorporation 'E' -///深圳公司债 -#define TORA_TSTP_STP_SZBondCompany 'F' -///深圳可转债 -#define TORA_TSTP_STP_SZBondConversion 'G' -///深圳分离债 -#define TORA_TSTP_STP_SZBondSeparation 'H' -///深圳A股期权 -#define TORA_TSTP_STP_SZASharesOption 'I' -///深圳ETF期权 -#define TORA_TSTP_STP_SZETFOption 'J' -///深圳跨境ETF -#define TORA_TSTP_STP_SZCrossBorderETF 'K' -///深圳黄金ETF -#define TORA_TSTP_STP_SZGoldETF 'L' -///深圳现金债券ETF -#define TORA_TSTP_STP_SZCashBondETF 'M' -///深圳单市场股票ETF -#define TORA_TSTP_STP_SZSingleMarketStockETF 'N' -///深圳单市场实物债券ETF -#define TORA_TSTP_STP_SZSingleMarketBondETF 'O' -///深圳货币ETF -#define TORA_TSTP_STP_SZMonetaryFundETF 'P' -///深圳创业板 -#define TORA_TSTP_STP_SZGEM 'Q' -///深圳配股 -#define TORA_TSTP_STP_SZAllotment 'R' -///深圳配债 -#define TORA_TSTP_STP_SZDistributeDebt 'S' -///深圳标准券 -#define TORA_TSTP_STP_SZStandard 'T' -///深圳质押式回购 -#define TORA_TSTP_STP_SZRepo 'U' -///深圳封闭式基金 -#define TORA_TSTP_STP_SZCEFund 'V' -///深圳开放式基金 -#define TORA_TSTP_STP_SZOEFund 'W' -///深圳跨境开放式基金 -#define TORA_TSTP_STP_SZCrossBorderOEFund 'X' -///深圳跨市场市场股票ETF -#define TORA_TSTP_STP_SZCrossMarketStockETF 'Y' -///深圳标准LOF基金 -#define TORA_TSTP_STP_SZLOF 'Z' -///深圳跨境LOF基金 -#define TORA_TSTP_STP_SZCrossBorderLOF '1' -///深圳传统分级母基金 -#define TORA_TSTP_STP_SZMontherStructFund '2' -///深圳传统分级子基金 -#define TORA_TSTP_STP_SZSubStructFund '3' -///深圳跨境分级母基金 -#define TORA_TSTP_STP_SZMontherCrossBorderStructFund '4' -///深圳跨境分级子基金 -#define TORA_TSTP_STP_SZSubCrossBorderStructFund '5' -///深圳可交换债 -#define TORA_TSTP_STP_SZExchangeableBond '6' -///深圳创业板可转债 -#define TORA_TSTP_STP_SZGEMConversionBond '7' - -typedef char TTORATstpSecurityTypeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpEndFlagType是一个结束标志类型 -///////////////////////////////////////////////////////////////////////// -///待续 -#define TORA_TSTP_EF_ToBeContinued '1' -///批结束 -#define TORA_TSTP_EF_BatchEnd '2' -///全部完成 -#define TORA_TSTP_EF_Completed '3' -///无数据 -#define TORA_TSTP_EF_NOP '4' - -typedef char TTORATstpEndFlagType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpMarketIDType是一个市场代码类型 -///////////////////////////////////////////////////////////////////////// -///通用(内部使用) -#define TORA_TSTP_MKD_COMMON '0' -///上海A股 -#define TORA_TSTP_MKD_SHA '1' -///深圳A股 -#define TORA_TSTP_MKD_SZA '2' -///上海B股 -#define TORA_TSTP_MKD_SHB '3' -///深圳B股 -#define TORA_TSTP_MKD_SZB '4' -///深圳三版A股 -#define TORA_TSTP_MKD_SZThreeA '5' -///深圳三版B股 -#define TORA_TSTP_MKD_SZThreeB '6' -///境外市场 -#define TORA_TSTP_MKD_Foreign '7' - -typedef char TTORATstpMarketIDType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpLogInAccountType是一个登录账户类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpLogInAccountType[21]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpLogInAccountTypeType是一个登录账户类型类型 -///////////////////////////////////////////////////////////////////////// -///用户代码 -#define TORA_TSTP_LACT_UserID '0' -///资金账号 -#define TORA_TSTP_LACT_AccountID '1' -///上海A股 -#define TORA_TSTP_LACT_SHAStock '2' -///深圳A股 -#define TORA_TSTP_LACT_SZAStock '3' -///上海B股 -#define TORA_TSTP_LACT_SHBStock '4' -///深圳B股 -#define TORA_TSTP_LACT_SZBStock '5' -///三板A -#define TORA_TSTP_LACT_ThreeNewBoardA '6' -///三板B -#define TORA_TSTP_LACT_ThreeNewBoardB '7' -///港股 -#define TORA_TSTP_LACT_HKStock '8' - -typedef char TTORATstpLogInAccountTypeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpMarketStatusType是一个市场状态类型 -///////////////////////////////////////////////////////////////////////// -///未知 -#define TORA_TSTP_MST_UnKnown '#' -///开盘前 -#define TORA_TSTP_MST_BeforeTrading '0' -///连续交易 -#define TORA_TSTP_MST_Continous '1' -///收盘 -#define TORA_TSTP_MST_Closed '2' -///开盘集合竞价 -#define TORA_TSTP_MST_OpenCallAuction '3' - -typedef char TTORATstpMarketStatusType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpBigsInfoType是一个长字符串附加信息类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpBigsInfoType[33]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpShortsInfoType是一个短字符串附加信息类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpShortsInfoType[9]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpIntInfoType是一个整形附加信息类型 -///////////////////////////////////////////////////////////////////////// -typedef int TTORATstpIntInfoType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpFloatInfoType是一个浮点型附加信息类型 -///////////////////////////////////////////////////////////////////////// -typedef double TTORATstpFloatInfoType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpApiGroupIDType是一个Api工作组号类型 -///////////////////////////////////////////////////////////////////////// -typedef int TTORATstpApiGroupIDType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpApiRunModeType是一个Api运行模式类型 -///////////////////////////////////////////////////////////////////////// -///单一 -#define TORA_TSTP_ARM_Single '0' -///集群 -#define TORA_TSTP_ARM_Group '1' - -typedef char TTORATstpApiRunModeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpDesignationTypeType是一个指定交易操作类型类型 -///////////////////////////////////////////////////////////////////////// -///指定交易登记 -#define TORA_TSTP_DT_Register '0' -///指定交易撤销登记 -#define TORA_TSTP_DT_Cancel '1' - -typedef char TTORATstpDesignationTypeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpCustodyTransferTypeType是一个深证转托管类型类型 -///////////////////////////////////////////////////////////////////////// -///深证转托管注册 -#define TORA_TSTP_CT_Register '0' -///深证转托管撤单 -#define TORA_TSTP_CT_Cancel '1' - -typedef char TTORATstpCustodyTransferTypeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpProperCtrlBusinessTypeType是一个适当性控制业务类别类型 -///////////////////////////////////////////////////////////////////////// -///空值 -#define TORA_TSTP_PCBT_None ' ' -///其它 -#define TORA_TSTP_PCBT_Other '0' -///上海退市整理 -#define TORA_TSTP_PCBT_SHDelisting '1' -///风险警示 -#define TORA_TSTP_PCBT_ST '2' -///创业板 -#define TORA_TSTP_PCBT_GEM '3' -///分级基金 -#define TORA_TSTP_PCBT_StructFund '4' -///债券 -#define TORA_TSTP_PCBT_BondQualified '5' -///暂停上市债 -#define TORA_TSTP_PCBT_SuspendBond '6' -///正回购 -#define TORA_TSTP_PCBT_Repurchase '7' -///逆回购 -#define TORA_TSTP_PCBT_ReverseRepur '8' -///深圳退市整理 -#define TORA_TSTP_PCBT_SZDelisting '9' -///常规股票 -#define TORA_TSTP_PCBT_Stock 'a' -///常规股票信用 -#define TORA_TSTP_PCBT_CreditStock 'b' - -typedef char TTORATstpProperCtrlBusinessTypeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpProperCtrlPassFlagType是一个适当性控制通过标示类型 -///////////////////////////////////////////////////////////////////////// -///空值 -#define TORA_TSTP_PCPF_None ' ' -///无条件通过 -#define TORA_TSTP_PCPF_AnywayPass '0' -///匹配通过 -#define TORA_TSTP_PCPF_MatchPass '1' -///有条件通过 -#define TORA_TSTP_PCPF_SelectPass '2' -///专投豁免过 -#define TORA_TSTP_PCPF_ProfInvestorPass '3' - -typedef char TTORATstpProperCtrlPassFlagType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpCRiskLevelType是一个客户风险等级类型 -///////////////////////////////////////////////////////////////////////// -///最低级别风险 -#define TORA_TSTP_RLV_Lowest '0' -///保守型 -#define TORA_TSTP_RLV_Conservative '1' -///谨慎型 -#define TORA_TSTP_RLV_Cautious '2' -///稳健型 -#define TORA_TSTP_RLV_Steady '3' -///积极型 -#define TORA_TSTP_RLV_Positive '4' -///激进型 -#define TORA_TSTP_RLV_Aggressive '5' - -typedef char TTORATstpCRiskLevelType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpProfInvestorTypeType是一个专业投资者类别类型 -///////////////////////////////////////////////////////////////////////// -///非专业投资者 -#define TORA_TSTP_PIT_NotProf '0' -///当然机构专业投资者 -#define TORA_TSTP_PIT_OCInstiPro '1' -///法人或机构专业投资者 -#define TORA_TSTP_PIT_InstiPro '2' -///自然人专业投资者 -#define TORA_TSTP_PIT_PersonPro '3' -///认定法人或机构专业投资者 -#define TORA_TSTP_PIT_ConfirmInstiPro '4' -///认定自然人专业投资者 -#define TORA_TSTP_PIT_ConfirmPersonPro '5' - -typedef char TTORATstpProfInvestorTypeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpLOrderTypeType是一个订单类别类型 -///////////////////////////////////////////////////////////////////////// -///市价 -#define TORA_TSTP_LOT_Market '1' -///限价 -#define TORA_TSTP_LOT_Limit '2' -///本方最优 -#define TORA_TSTP_LOT_HomeBest '3' - -typedef char TTORATstpLOrderTypeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpLSideType是一个委托方向类型 -///////////////////////////////////////////////////////////////////////// -///买 -#define TORA_TSTP_LSD_Buy '1' -///卖 -#define TORA_TSTP_LSD_Sell '2' -///借入 -#define TORA_TSTP_LSD_Borrow '3' -///借出 -#define TORA_TSTP_LSD_Lend '4' - -typedef char TTORATstpLSideType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpExecTypeType是一个成交类别类型 -///////////////////////////////////////////////////////////////////////// -///成交 -#define TORA_TSTP_ECT_Fill '1' -///撤销 -#define TORA_TSTP_ECT_Cancel '2' - -typedef char TTORATstpExecTypeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpCondCheckType是一个委托条件检查类型 -///////////////////////////////////////////////////////////////////////// -///不做任何检查 -#define TORA_TSTP_CCT_None '0' -///自成交检查 -#define TORA_TSTP_CCT_SelfDeal '1' - -typedef char TTORATstpCondCheckType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpHDSerialType是一个硬盘序列号类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpHDSerialType[33]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpMDSubModeType是一个行情订阅模式类型 -///////////////////////////////////////////////////////////////////////// -///TCP连接模式 -#define TORA_TSTP_MST_TCP '0' -///UDP单播模式 -#define TORA_TSTP_MST_UDP '1' -///UDP组播模式 -#define TORA_TSTP_MST_MCAST '2' - -typedef char TTORATstpMDSubModeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpMDSecurityStatType是一个行情证券状态类型 -///////////////////////////////////////////////////////////////////////// -///开盘前 -#define TORA_TSTP_MSST_PreOpen '0' -///集合竞价 -#define TORA_TSTP_MSST_CallAuction '1' -///连续交易 -#define TORA_TSTP_MSST_Continous '2' -///休市 -#define TORA_TSTP_MSST_Pause '3' -///停牌 -#define TORA_TSTP_MSST_Suspend '4' -///长期停牌 -#define TORA_TSTP_MSST_LongSuspend '5' -///波动性中断 -#define TORA_TSTP_MSST_UndulationInt '6' -///熔断可恢复 -#define TORA_TSTP_MSST_CircuitBreak '7' -///熔断不可恢复 -#define TORA_TSTP_MSST_CircuitBreakU '8' -///闭市 -#define TORA_TSTP_MSST_Close '9' -///其它 -#define TORA_TSTP_MSST_Other 'a' -///收盘集合竞价 -#define TORA_TSTP_MSST_CloseCallAuction 'b' - -typedef char TTORATstpMDSecurityStatType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpCommitStatusType是一个文件委托提交状态类型 -///////////////////////////////////////////////////////////////////////// -///初始 -#define TORA_TSTP_FOCS_Init '0' -///已复核 -#define TORA_TSTP_FOCS_Reviewed '1' -///处理失败 -#define TORA_TSTP_FOCS_Failed '2' - -typedef char TTORATstpCommitStatusType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpParamTypeType是一个股东参数类型类型 -///////////////////////////////////////////////////////////////////////// -///最大买量限制 -#define TORA_TSTP_SPT_MaxBuyLimit '0' -///最大卖量限制 -#define TORA_TSTP_SPT_MaxSellLimit '1' -///买入大额申报限制比例 -#define TORA_TSTP_SPT_LargeBuyLimitRatio '2' -///卖出大额申报限制比例 -#define TORA_TSTP_SPT_LargeSelLimitRatio '3' -///风险警示买入上限 -#define TORA_TSTP_SPT_RiskWarnBoardLimitVol '4' -///连续申报时间间隔 -#define TORA_TSTP_SPT_SeriesDecInterval '5' -///连续申报单位时间委托笔数 -#define TORA_TSTP_SPT_SeriesLimitPerUnit '6' -///影响收盘价波动比例 -#define TORA_TSTP_SPT_ClosePriceScopeRatio '7' -///炒新控制最大上市时间 -#define TORA_TSTP_SPT_OpenDateLimit '8' -///涨跌停板虚假申报占未成交比例 -#define TORA_TSTP_SPT_LimitBoardShamRatio '9' -///撤单限制比例 -#define TORA_TSTP_SPT_CancelOrderRatio 'a' - -typedef char TTORATstpParamTypeType; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpContentType是一个消息正文类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpContentType[501]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpStatusMsgType是一个状态信息类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpStatusMsgType[93]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpIPONumberIDType是一个新股申购配股号类型 -///////////////////////////////////////////////////////////////////////// -typedef char TTORATstpIPONumberIDType[31]; - -///////////////////////////////////////////////////////////////////////// -/// TTORATstpPageLocateType是一个页定位符类型 -///////////////////////////////////////////////////////////////////////// -typedef int TTORATstpPageLocateType; -#endif \ No newline at end of file diff --git a/vnpy/api/tora/vntora/include/TORATstpUserApiStruct.h b/vnpy/api/tora/vntora/include/TORATstpUserApiStruct.h deleted file mode 100644 index 2274f6beb8..0000000000 --- a/vnpy/api/tora/vntora/include/TORATstpUserApiStruct.h +++ /dev/null @@ -1,5701 +0,0 @@ -///////////////////////////////////////////////////////////////////////// -///@company 上海泰琰信息科技有限公司 -///@file TORATstpUserApiStruct.h -///@brief 定义了客户端接口使用的业务数据结构 -///@history -///////////////////////////////////////////////////////////////////////// - -#if !defined(_TORA_TSTPCSTRUCT_H) -#define _TORA_TSTPCSTRUCT_H - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#include "TORATstpUserApiDataType.h" - -/// fens用户信息 -struct CTORATstpFensUserInfoField -{ - - ///登录账户 - TTORATstpLogInAccountType LogInAccount; - - ///登录账户类型 - TTORATstpLogInAccountTypeType LogInAccountType; - - -}; - -/// 价格异常波动行情 -struct CTORATstpEffectPriceMarketDataField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///合约代码 - TTORATstpSecurityIDType SecurityID; - - ///最新价 - TTORATstpPriceType LastPrice; - - ///总成交数量 - TTORATstpLongVolumeType TotalVolume; - - ///成交金额 - TTORATstpMoneyType Turnover; - - ///最后修改时间 - TTORATstpTimeType UpdateTime; - - ///最后修改毫秒 - TTORATstpMillisecType UpdateMillisec; - - -}; - -/// 数量异常波动行情 -struct CTORATstpEffectVolumeMarketDataField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///合约代码 - TTORATstpSecurityIDType SecurityID; - - ///最新价 - TTORATstpPriceType LastPrice; - - ///总成交数量 - TTORATstpLongVolumeType TotalVolume; - - ///成交金额 - TTORATstpMoneyType Turnover; - - ///最后修改时间 - TTORATstpTimeType UpdateTime; - - ///最后修改毫秒 - TTORATstpMillisecType UpdateMillisec; - - -}; - -/// 资金流向数据行情 -struct CTORATstpFundsFlowMarketDataField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///合约代码 - TTORATstpSecurityIDType SecurityID; - - ///最后修改时间 - TTORATstpTimeType UpdateTime; - - ///最后修改毫秒 - TTORATstpMillisecType UpdateMillisec; - - ///散户买入金额 - TTORATstpMoneyType RetailBuyTurnover; - - ///散户买入数量 - TTORATstpLongVolumeType RetailBuyVolume; - - ///散户买入笔数 - TTORATstpLongVolumeType RetailBuyAmount; - - ///散户卖出金额 - TTORATstpMoneyType RetailSellTurnover; - - ///散户卖出数量 - TTORATstpLongVolumeType RetailSellVolume; - - ///散户卖出笔数 - TTORATstpLongVolumeType RetailSellAmount; - - ///中户买入金额 - TTORATstpMoneyType MiddleBuyTurnover; - - ///中户买入数量 - TTORATstpLongVolumeType MiddleBuyVolume; - - ///中户买入笔数 - TTORATstpLongVolumeType MiddleBuyAmount; - - ///中户卖出金额 - TTORATstpMoneyType MiddleSellTurnover; - - ///中户卖出数量 - TTORATstpLongVolumeType MiddleSellVolume; - - ///中户卖出笔数 - TTORATstpLongVolumeType MiddleSellAmount; - - ///大户买入金额 - TTORATstpMoneyType LargeBuyTurnover; - - ///大户买入数量 - TTORATstpLongVolumeType LargeBuyVolume; - - ///大户买入笔数 - TTORATstpLongVolumeType LargeBuyAmount; - - ///大户卖出金额 - TTORATstpMoneyType LargeSellTurnover; - - ///大户卖出数量 - TTORATstpLongVolumeType LargeSellVolume; - - ///大户卖出笔数 - TTORATstpLongVolumeType LargeSellAmount; - - ///机构买入金额 - TTORATstpMoneyType InstitutionBuyTurnover; - - ///机构买入数量 - TTORATstpLongVolumeType InstitutionBuyVolume; - - ///机构买入笔数 - TTORATstpLongVolumeType InstitutionBuyAmount; - - ///机构卖出金额 - TTORATstpMoneyType InstitutionSellTurnover; - - ///机构卖出数量 - TTORATstpLongVolumeType InstitutionSellVolume; - - ///机构卖出笔数 - TTORATstpLongVolumeType InstitutionSellAmount; - - -}; - -/// 登录请求 -struct CTORATstpReqUserLoginField -{ - - ///登录账户 - TTORATstpLogInAccountType LogInAccount; - - ///登录账户类型 - TTORATstpLogInAccountTypeType LogInAccountType; - - ///密码(密码认证时必填) - TTORATstpPasswordType Password; - - ///用户端产品信息 - TTORATstpProductInfoType UserProductInfo; - - ///接口端产品信息 - TTORATstpProductInfoType InterfaceProductInfo; - - ///协议信息 - TTORATstpProtocolInfoType ProtocolInfo; - - ///Mac地址 - TTORATstpMacAddressType MacAddress; - - ///动态密码 - TTORATstpPasswordType OneTimePassword; - - ///终端IP地址 - TTORATstpIPAddressType ClientIPAddress; - - ///接口语言 - TTORATstpLangType Lang; - - ///终端信息 - TTORATstpTerminalInfoType TerminalInfo; - - ///网关Mac地址 - TTORATstpMacAddressType GWMacAddress; - - ///网关内网IP地址 - TTORATstpIPAddressType GWInnerIPAddress; - - ///网关外网IP地址 - TTORATstpIPAddressType GWOuterIPAddress; - - ///经纪公司部门代码(以资金账号方式登录时必填) - TTORATstpDepartmentIDType DepartmentID; - - ///硬盘序列号 - TTORATstpHDSerialType HDSerial; - - ///认证方式(指纹认证时必填) - TTORATstpAuthModeType AuthMode; - - ///设备标识(指纹认证时必填) - TTORATstpDeviceIDType DeviceID; - - ///设备序列号(指纹认证时必填) - TTORATstpDeviceSerialType DeviceSerial; - - -}; - -/// 登录应答 -struct CTORATstpRspUserLoginField -{ - - ///登录成功时间 - TTORATstpTimeType LoginTime; - - ///登录账户 - TTORATstpLogInAccountType LogInAccount; - - ///登录账户类型 - TTORATstpLogInAccountTypeType LogInAccountType; - - ///交易系统名称 - TTORATstpSystemNameType SystemName; - - ///前置编号 - TTORATstpFrontIDType FrontID; - - ///会话编号 - TTORATstpSessionIDType SessionID; - - ///最大报单引用 - TTORATstpOrderRefType MaxOrderRef; - - ///私有流长度 - TTORATstpVolumeType PrivateFlowCount; - - ///公有流长度 - TTORATstpVolumeType PublicFlowCount; - - ///交易发生的日期 - TTORATstpDateType TradingDay; - - ///用户代码 - TTORATstpUserIDType UserID; - - ///用户名称 - TTORATstpUserNameType UserName; - - ///用户类型 - TTORATstpUserTypeType UserType; - - ///经纪公司部门代码 - TTORATstpDepartmentIDType DepartmentID; - - ///终端IP地址 - TTORATstpIPAddressType ClientIPAddress; - - ///Mac地址 - TTORATstpMacAddressType MacAddress; - - ///硬盘序列号 - TTORATstpHDSerialType HDSerial; - - ///通讯流量 - TTORATstpCommFluxType CommFlux; - - -}; - -/// 响应信息 -struct CTORATstpRspInfoField -{ - - ///错误代码 - TTORATstpErrorIDType ErrorID; - - ///错误信息 - TTORATstpErrorMsgType ErrorMsg; - - -}; - -/// 用户登出 -struct CTORATstpUserLogoutField -{ - - ///用户代码 - TTORATstpUserIDType UserID; - - -}; - -/// 强制交易员退出 -struct CTORATstpForceUserLogoutField -{ - - ///用户代码 - TTORATstpUserIDType UserID; - - -}; - -/// 重置用户密码 -struct CTORATstpUserPasswordUpdateField -{ - - ///用户代码 - TTORATstpUserIDType UserID; - - ///旧密码 - TTORATstpPasswordType OldPassword; - - ///新密码 - TTORATstpPasswordType NewPassword; - - -}; - -/// 请求录入设备序列 -struct CTORATstpReqInputDeviceSerialField -{ - - ///用户代码 - TTORATstpUserIDType UserID; - - ///设备标识 - TTORATstpDeviceIDType DeviceID; - - ///设备序列号 - TTORATstpDeviceSerialType DeviceSerial; - - -}; - -/// 请求录入设备序列应答 -struct CTORATstpRspInputDeviceSerialField -{ - - ///用户代码 - TTORATstpUserIDType UserID; - - -}; - -/// 激活用户 -struct CTORATstpActivateUserField -{ - - ///用户代码 - TTORATstpUserIDType UserID; - - -}; - -/// 用户会话标识 -struct CTORATstpVerifyUserPasswordField -{ - - ///用户代码 - TTORATstpUserIDType UserID; - - ///密码 - TTORATstpPasswordType Password; - - -}; - -/// 输入报单 -struct CTORATstpInputOrderField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///合约在系统中的编号 - TTORATstpSecurityIDType SecurityID; - - ///投资者说明的对报单的唯一引用 - TTORATstpOrderRefType OrderRef; - - ///用户代码 - TTORATstpUserIDType UserID; - - ///限价单或市价单 - TTORATstpOrderPriceTypeType OrderPriceType; - - ///1.买2.卖 - TTORATstpDirectionType Direction; - - ///按字节表示各单个合约的开平方向 - TTORATstpCombOffsetFlagType CombOffsetFlag; - - ///按字节表示各单个合约的组合套保标志 - TTORATstpCombHedgeFlagType CombHedgeFlag; - - ///限价单价格 - TTORATstpPriceType LimitPrice; - - ///报单数量 - TTORATstpVolumeType VolumeTotalOriginal; - - ///IOC、GFS、GFD、GTD、GTC、GFA - TTORATstpTimeConditionType TimeCondition; - - ///AV、MV、CV - TTORATstpVolumeConditionType VolumeCondition; - - ///当成交量类型为MV时有效 - TTORATstpVolumeType MinVolume; - - ///强平原因 - TTORATstpForceCloseReasonType ForceCloseReason; - - ///请求编号 - TTORATstpRequestIDType RequestID; - - ///用户强评标志 - TTORATstpBoolType UserForceClose; - - ///互换单标志 - TTORATstpBoolType IsSwapOrder; - - ///一个交易所的编号 - TTORATstpExchangeIDType ExchangeID; - - ///目前该字段存放的是上证所和深圳的股东代码。 - TTORATstpShareholderIDType ShareholderID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///资金账户 - TTORATstpAccountIDType AccountID; - - ///IP地址 - TTORATstpIPAddressType IPAddress; - - ///Mac地址 - TTORATstpMacAddressType MacAddress; - - ///头寸类型 - TTORATstpCreditPositionTypeType CreditPositionType; - - ///报单编号 - TTORATstpOrderSysIDType OrderSysID; - - ///终端信息 - TTORATstpTerminalInfoType TerminalInfo; - - ///长字符串附加信息 - TTORATstpBigsInfoType BInfo; - - ///短字符串附加信息 - TTORATstpShortsInfoType SInfo; - - ///整形附加信息 - TTORATstpIntInfoType IInfo; - - ///转入交易单元代码(仅在转托管操作时有效) - TTORATstpPbuIDType TransfereePbuID; - - ///委托方式 - TTORATstpOperwayType Operway; - - ///条件检查 - TTORATstpCondCheckType CondCheck; - - ///硬盘序列号 - TTORATstpHDSerialType HDSerial; - - -}; - -/// 报单 -struct CTORATstpOrderField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///合约在系统中的编号 - TTORATstpSecurityIDType SecurityID; - - ///投资者说明的对报单的唯一引用 - TTORATstpOrderRefType OrderRef; - - ///用户代码 - TTORATstpUserIDType UserID; - - ///限价单或市价单 - TTORATstpOrderPriceTypeType OrderPriceType; - - ///1.买2.卖 - TTORATstpDirectionType Direction; - - ///按字节表示各单个合约的开平方向 - TTORATstpCombOffsetFlagType CombOffsetFlag; - - ///按字节表示各单个合约的组合套保标志 - TTORATstpCombHedgeFlagType CombHedgeFlag; - - ///限价单价格 - TTORATstpPriceType LimitPrice; - - ///报单数量 - TTORATstpVolumeType VolumeTotalOriginal; - - ///IOC、GFS、GFD、GTD、GTC、GFA - TTORATstpTimeConditionType TimeCondition; - - ///AV、MV、CV - TTORATstpVolumeConditionType VolumeCondition; - - ///当成交量类型为MV时有效 - TTORATstpVolumeType MinVolume; - - ///强平原因 - TTORATstpForceCloseReasonType ForceCloseReason; - - ///请求编号 - TTORATstpRequestIDType RequestID; - - ///本地报单顺序号 - TTORATstpOrderLocalIDType OrderLocalID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///交易所下的交易市场,如沪A、沪B市场 - TTORATstpMarketIDType MarketID; - - ///客户在系统中的编号,编号唯一且遵循交易所制定的编码规则 - TTORATstpShareholderIDType ShareholderID; - - ///合约在交易所的代码 - TTORATstpExchangeInstIDType ExchangeInstID; - - ///交易所交易员代码 - TTORATstpTraderIDType TraderID; - - ///报单提交状态 - TTORATstpOrderSubmitStatusType OrderSubmitStatus; - - ///交易发生的日期 - TTORATstpDateType TradingDay; - - ///报单编号 - TTORATstpOrderSysIDType OrderSysID; - - ///0.全部成交1.部分成交还在队列中2.部分成交不在队列中3.未成交还在队列中4.未成交不在队列中5.撤单 - TTORATstpOrderStatusType OrderStatus; - - ///0.普通1.报价派生2.组合派生 - TTORATstpOrderTypeType OrderType; - - ///报单完成数量 - TTORATstpVolumeType VolumeTraded; - - ///报单未完成数量 - TTORATstpVolumeType VolumeTotal; - - ///报单日期 - TTORATstpDateType InsertDate; - - ///委托时间 - TTORATstpTimeType InsertTime; - - ///撤销时间 - TTORATstpTimeType CancelTime; - - ///最后修改交易所交易员代码 - TTORATstpTraderIDType ActiveTraderID; - - ///前置编号 - TTORATstpFrontIDType FrontID; - - ///每一位交易员或其它登录者登录系统获得的会话编号,当前时刻唯一 - TTORATstpSessionIDType SessionID; - - ///说明用户端使用的软件产品和版本号 - TTORATstpProductInfoType UserProductInfo; - - ///状态信息 - TTORATstpErrorMsgType StatusMsg; - - ///用户强评标志 - TTORATstpBoolType UserForceClose; - - ///操作用户代码 - TTORATstpUserIDType ActiveUserID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///资金账户 - TTORATstpAccountIDType AccountID; - - ///IP地址 - TTORATstpIPAddressType IPAddress; - - ///Mac地址 - TTORATstpMacAddressType MacAddress; - - ///头寸类型 - TTORATstpCreditPositionTypeType CreditPositionType; - - ///长字符串附加信息 - TTORATstpBigsInfoType BInfo; - - ///短字符串附加信息 - TTORATstpShortsInfoType SInfo; - - ///整形附加信息 - TTORATstpIntInfoType IInfo; - - ///转入交易单元代码(仅在转托管操作时有效) - TTORATstpPbuIDType TransfereePbuID; - - ///委托方式 - TTORATstpOperwayType Operway; - - ///经纪公司部门代码 - TTORATstpDepartmentIDType DepartmentID; - - ///适当性控制业务类别 - TTORATstpProperCtrlBusinessTypeType ProperCtrlBusinessType; - - ///适当性控制通过标示 - TTORATstpProperCtrlPassFlagType ProperCtrlPassFlag; - - ///条件检查 - TTORATstpCondCheckType CondCheck; - - ///是否预埋 - TTORATstpBoolType IsCacheOrder; - - ///根据成交价格计算出的本笔成交的金额(不包含费用) - TTORATstpMoneyType Turnover; - - ///回报附加浮点型数据信息 - TTORATstpFloatInfoType RtnFloatInfo; - - ///回报附加整型数据 - TTORATstpIntInfoType RtnIntInfo; - - -}; - -/// 用户标识 -struct CTORATstpUserRefField -{ - - ///用户代码 - TTORATstpUserIDType UserID; - - -}; - -/// 输入撤单操作 -struct CTORATstpInputOrderActionField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///投资者说明的对报单操作的唯一引用 - TTORATstpOrderRefType OrderActionRef; - - ///投资者说明的对报单的唯一引用 - TTORATstpOrderRefType OrderRef; - - ///请求编号 - TTORATstpRequestIDType RequestID; - - ///前置编号 - TTORATstpFrontIDType FrontID; - - ///每一位交易员或其它登录者登录系统获得的会话编号,当前时刻唯一 - TTORATstpSessionIDType SessionID; - - ///一个交易所的编号 - TTORATstpExchangeIDType ExchangeID; - - ///报单编号 - TTORATstpOrderSysIDType OrderSysID; - - ///操作标志 - TTORATstpActionFlagType ActionFlag; - - ///限价单价格 - TTORATstpPriceType LimitPrice; - - ///报单数量变化 - TTORATstpVolumeType VolumeChange; - - ///用户代码 - TTORATstpUserIDType UserID; - - ///合约在系统中的编号 - TTORATstpSecurityIDType SecurityID; - - ///IP地址 - TTORATstpIPAddressType IPAddress; - - ///Mac地址 - TTORATstpMacAddressType MacAddress; - - ///全系统的唯一报单编号。16位,1-2位为交易所标识,3-5位为经纪公司代码,6-8位为交易单元标识,后面8位为流水号。 - TTORATstpOrderLocalIDType CancelOrderLocalID; - - ///终端信息 - TTORATstpTerminalInfoType TerminalInfo; - - ///长字符串附加信息 - TTORATstpBigsInfoType BInfo; - - ///短字符串附加信息 - TTORATstpShortsInfoType SInfo; - - ///整形附加信息 - TTORATstpIntInfoType IInfo; - - ///委托方式 - TTORATstpOperwayType Operway; - - ///硬盘序列号 - TTORATstpHDSerialType HDSerial; - - -}; - -/// 报单操作 -struct CTORATstpOrderActionField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///投资者说明的对报单操作的唯一引用 - TTORATstpOrderRefType OrderActionRef; - - ///投资者说明的对报单的唯一引用 - TTORATstpOrderRefType OrderRef; - - ///请求编号 - TTORATstpRequestIDType RequestID; - - ///前置编号 - TTORATstpFrontIDType FrontID; - - ///每一位交易员或其它登录者登录系统获得的会话编号,当前时刻唯一 - TTORATstpSessionIDType SessionID; - - ///一个交易所的编号 - TTORATstpExchangeIDType ExchangeID; - - ///报单编号 - TTORATstpOrderSysIDType OrderSysID; - - ///操作标志 - TTORATstpActionFlagType ActionFlag; - - ///限价单价格 - TTORATstpPriceType LimitPrice; - - ///报单数量变化 - TTORATstpVolumeType VolumeChange; - - ///操作日期 - TTORATstpDateType ActionDate; - - ///操作时间 - TTORATstpTimeType ActionTime; - - ///交易所交易员代码 - TTORATstpTraderIDType TraderID; - - ///本地报单编号 - TTORATstpOrderLocalIDType OrderLocalID; - - ///操作本地编号 - TTORATstpOrderLocalIDType ActionLocalID; - - ///客户在系统中的编号,编号唯一且遵循交易所制定的编码规则 - TTORATstpShareholderIDType ShareholderID; - - ///报单操作状态 - TTORATstpOrderActionStatusType OrderActionStatus; - - ///用户代码 - TTORATstpUserIDType UserID; - - ///状态信息 - TTORATstpErrorMsgType StatusMsg; - - ///合约在系统中的编号 - TTORATstpSecurityIDType SecurityID; - - ///IP地址 - TTORATstpIPAddressType IPAddress; - - ///Mac地址 - TTORATstpMacAddressType MacAddress; - - ///长字符串附加信息 - TTORATstpBigsInfoType BInfo; - - ///短字符串附加信息 - TTORATstpShortsInfoType SInfo; - - ///整形附加信息 - TTORATstpIntInfoType IInfo; - - ///委托方式 - TTORATstpOperwayType Operway; - - -}; - -/// 成交 -struct CTORATstpTradeField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///合约在系统中的编号 - TTORATstpSecurityIDType SecurityID; - - ///用户代码 - TTORATstpUserIDType UserID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///成交编号 - TTORATstpTradeIDType TradeID; - - ///1.买2.卖 - TTORATstpDirectionType Direction; - - ///报单编号 - TTORATstpOrderSysIDType OrderSysID; - - ///交易所下的交易市场,如沪A、沪B市场 - TTORATstpMarketIDType MarketID; - - ///客户在系统中的编号,编号唯一且遵循交易所制定的编码规则 - TTORATstpShareholderIDType ShareholderID; - - ///合约在交易所的代码 - TTORATstpExchangeInstIDType ExchangeInstID; - - ///1.开仓2.平今3.平昨4.强平 - TTORATstpOffsetFlagType OffsetFlag; - - ///1.投机2.套保 - TTORATstpHedgeFlagType HedgeFlag; - - ///成交价格 - TTORATstpPriceType Price; - - ///成交数量 - TTORATstpVolumeType Volume; - - ///成交日期 - TTORATstpDateType TradeDate; - - ///成交时间 - TTORATstpTimeType TradeTime; - - ///交易员在系统中的编号,编号唯一且遵循交易所制定的编码规则 - TTORATstpTraderIDType TraderID; - - ///本地报单顺序号 - TTORATstpOrderLocalIDType OrderLocalID; - - ///交易发生的日期 - TTORATstpDateType TradingDay; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///资金账户 - TTORATstpAccountIDType AccountID; - - ///报单引用 - TTORATstpOrderRefType OrderRef; - - ///经纪公司部门代码 - TTORATstpDepartmentIDType DepartmentID; - - -}; - -/// 市场状态 -struct CTORATstpMarketStatusField -{ - - ///交易所下的交易市场,如沪A、沪B市场 - TTORATstpMarketIDType MarketID; - - ///市场状态 - TTORATstpMarketStatusType MarketStatus; - - -}; - -/// 条件单录入域 -struct CTORATstpInputCondOrderField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///股东账户代码 - TTORATstpShareholderIDType ShareholderID; - - ///合约代码 - TTORATstpSecurityIDType SecurityID; - - ///买卖方向 - TTORATstpDirectionType Direction; - - ///条件单价格类型 - TTORATstpOrderPriceTypeType OrderPriceType; - - ///条件单数量类型 - TTORATstpOrderVolumeTypeType OrderVolumeType; - - ///有效期类型 - TTORATstpTimeConditionType TimeCondition; - - ///成交量类型 - TTORATstpVolumeConditionType VolumeCondition; - - ///报单价格 - TTORATstpPriceType LimitPrice; - - ///报单数量 - TTORATstpVolumeType VolumeTotalOriginal; - - ///组合开平标志 - TTORATstpCombOffsetFlagType CombOffsetFlag; - - ///组合投机套保标志 - TTORATstpCombHedgeFlagType CombHedgeFlag; - - ///条件报单引用 - TTORATstpOrderRefType CondOrderRef; - - ///资金账户 - TTORATstpAccountIDType AccountID; - - ///用户代码 - TTORATstpUserIDType UserID; - - ///请求编号 - TTORATstpRequestIDType RequestID; - - ///IP地址 - TTORATstpIPAddressType IPAddress; - - ///Mac地址 - TTORATstpMacAddressType MacAddress; - - ///报单编号 - TTORATstpCondOrderIDType CondOrderID; - - ///终端信息 - TTORATstpTerminalInfoType TerminalInfo; - - ///长字符串附加信息 - TTORATstpBigsInfoType BInfo; - - ///短字符串附加信息 - TTORATstpShortsInfoType SInfo; - - ///整形附加信息 - TTORATstpIntInfoType IInfo; - - ///委托方式 - TTORATstpOperwayType Operway; - - ///条件检查 - TTORATstpCondCheckType CondCheck; - - ///条件单触发条件 - TTORATstpContingentConditionType ContingentCondition; - - ///条件价 - TTORATstpPriceType ConditionPrice; - - ///价格浮动tick数,>0向上浮动,<0向下浮动,=0不浮动 - TTORATstpVolumeType PriceTicks; - - ///数量浮动倍数,必须>=0 - TTORATstpVolumeMultipleType VolumeMultiple; - - ///相关前置编号 - TTORATstpFrontIDType RelativeFrontID; - - ///相关会话编号 - TTORATstpSessionIDType RelativeSessionID; - - ///相关条件参数,可能为OrderRef、OrderSysID、Time和SecurityID - TTORATstpRelativeCondParamType RelativeParam; - - ///附加条件单触发条件 - TTORATstpContingentConditionType AppendContingentCondition; - - ///附加条件价 - TTORATstpPriceType AppendConditionPrice; - - ///附加相关前置编号 - TTORATstpFrontIDType AppendRelativeFrontID; - - ///附加相关会话编号 - TTORATstpSessionIDType AppendRelativeSessionID; - - ///附加相关条件参数,可能为OrderRef、OrderSysID、Time和SecurityID - TTORATstpRelativeCondParamType AppendRelativeParam; - - ///硬盘序列号 - TTORATstpHDSerialType HDSerial; - - -}; - -/// 条件单域 -struct CTORATstpConditionOrderField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///股东账户代码 - TTORATstpShareholderIDType ShareholderID; - - ///合约代码 - TTORATstpSecurityIDType SecurityID; - - ///买卖方向 - TTORATstpDirectionType Direction; - - ///条件单价格类型 - TTORATstpOrderPriceTypeType OrderPriceType; - - ///条件单数量类型 - TTORATstpOrderVolumeTypeType OrderVolumeType; - - ///有效期类型 - TTORATstpTimeConditionType TimeCondition; - - ///成交量类型 - TTORATstpVolumeConditionType VolumeCondition; - - ///报单价格 - TTORATstpPriceType LimitPrice; - - ///报单数量 - TTORATstpVolumeType VolumeTotalOriginal; - - ///组合开平标志 - TTORATstpCombOffsetFlagType CombOffsetFlag; - - ///组合投机套保标志 - TTORATstpCombHedgeFlagType CombHedgeFlag; - - ///条件报单引用 - TTORATstpOrderRefType CondOrderRef; - - ///资金账户 - TTORATstpAccountIDType AccountID; - - ///用户代码 - TTORATstpUserIDType UserID; - - ///请求编号 - TTORATstpRequestIDType RequestID; - - ///IP地址 - TTORATstpIPAddressType IPAddress; - - ///Mac地址 - TTORATstpMacAddressType MacAddress; - - ///报单编号 - TTORATstpCondOrderIDType CondOrderID; - - ///终端信息 - TTORATstpTerminalInfoType TerminalInfo; - - ///长字符串附加信息 - TTORATstpBigsInfoType BInfo; - - ///短字符串附加信息 - TTORATstpShortsInfoType SInfo; - - ///整形附加信息 - TTORATstpIntInfoType IInfo; - - ///委托方式 - TTORATstpOperwayType Operway; - - ///条件检查 - TTORATstpCondCheckType CondCheck; - - ///条件单触发条件 - TTORATstpContingentConditionType ContingentCondition; - - ///条件价 - TTORATstpPriceType ConditionPrice; - - ///价格浮动tick数,>0向上浮动,<0向下浮动,=0不浮动 - TTORATstpVolumeType PriceTicks; - - ///数量浮动倍数,必须>=0 - TTORATstpVolumeMultipleType VolumeMultiple; - - ///相关前置编号 - TTORATstpFrontIDType RelativeFrontID; - - ///相关会话编号 - TTORATstpSessionIDType RelativeSessionID; - - ///相关条件参数,可能为OrderRef、OrderSysID、Time和SecurityID - TTORATstpRelativeCondParamType RelativeParam; - - ///附加条件单触发条件 - TTORATstpContingentConditionType AppendContingentCondition; - - ///附加条件价 - TTORATstpPriceType AppendConditionPrice; - - ///附加相关前置编号 - TTORATstpFrontIDType AppendRelativeFrontID; - - ///附加相关会话编号 - TTORATstpSessionIDType AppendRelativeSessionID; - - ///附加相关条件参数,可能为OrderRef、OrderSysID、Time和SecurityID - TTORATstpRelativeCondParamType AppendRelativeParam; - - ///交易发生的日期 - TTORATstpDateType TradingDay; - - ///条件单状态 - TTORATstpCondOrderStatusType CondOrderStatus; - - ///报单日期 - TTORATstpDateType InsertDate; - - ///委托时间 - TTORATstpTimeType InsertTime; - - ///撤销时间 - TTORATstpTimeType CancelTime; - - ///撤销用户 - TTORATstpUserIDType CancelUser; - - ///前置编号 - TTORATstpFrontIDType FrontID; - - ///每一位交易员或其它登录者登录系统获得的会话编号,当前时刻唯一 - TTORATstpSessionIDType SessionID; - - ///说明用户端使用的软件产品和版本号 - TTORATstpProductInfoType UserProductInfo; - - ///状态信息 - TTORATstpErrorMsgType StatusMsg; - - ///经纪公司部门代码 - TTORATstpDepartmentIDType DepartmentID; - - ///适当性控制业务类别 - TTORATstpProperCtrlBusinessTypeType ProperCtrlBusinessType; - - ///适当性控制通过标识 - TTORATstpProperCtrlPassFlagType ProperCtrlPassFlag; - - ///触发日期 - TTORATstpDateType ActiveDate; - - ///触发时间 - TTORATstpTimeType ActiveTime; - - -}; - -/// 条件单操作录入 -struct CTORATstpInputCondOrderActionField -{ - - ///请求编号 - TTORATstpRequestIDType RequestID; - - ///一个交易所的编号 - TTORATstpExchangeIDType ExchangeID; - - ///条件单操作引用 - TTORATstpOrderRefType CondOrderActionRef; - - ///条件单引用 - TTORATstpOrderRefType CondOrderRef; - - ///前置编号 - TTORATstpFrontIDType FrontID; - - ///会话编号 - TTORATstpSessionIDType SessionID; - - ///报单编号 - TTORATstpCondOrderIDType CondOrderID; - - ///操作标志 - TTORATstpActionFlagType ActionFlag; - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///合约在系统中的编号 - TTORATstpSecurityIDType SecurityID; - - ///用户代码 - TTORATstpUserIDType UserID; - - ///IP地址 - TTORATstpIPAddressType IPAddress; - - ///Mac地址 - TTORATstpMacAddressType MacAddress; - - ///条件单撤单编号 - TTORATstpCondOrderIDType CancelCondOrderID; - - ///终端信息 - TTORATstpTerminalInfoType TerminalInfo; - - ///长字符串附加信息 - TTORATstpBigsInfoType BInfo; - - ///短字符串附加信息 - TTORATstpShortsInfoType SInfo; - - ///整形附加信息 - TTORATstpIntInfoType IInfo; - - ///委托方式 - TTORATstpOperwayType Operway; - - ///硬盘序列号 - TTORATstpHDSerialType HDSerial; - - -}; - -/// 查询集中交易系统资金请求 -struct CTORATstpReqInquiryJZFundField -{ - - ///资金账户 - TTORATstpAccountIDType AccountID; - - ///币种 - TTORATstpCurrencyIDType CurrencyID; - - ///经纪公司部门代码 - TTORATstpDepartmentIDType DepartmentID; - - -}; - -/// 查询集中交易系统资金响应 -struct CTORATstpRspInquiryJZFundField -{ - - ///资金账户 - TTORATstpAccountIDType AccountID; - - ///币种 - TTORATstpCurrencyIDType CurrencyID; - - ///可用金额 - TTORATstpMoneyType UsefulMoney; - - ///可取额度 - TTORATstpMoneyType FetchLimit; - - ///经纪公司部门代码 - TTORATstpDepartmentIDType DepartmentID; - - -}; - -/// 资金转移 -struct CTORATstpInputTransferFundField -{ - - ///资金账户 - TTORATstpAccountIDType AccountID; - - ///币种 - TTORATstpCurrencyIDType CurrencyID; - - ///申请流水号 - TTORATstpExternalSerialType ApplySerial; - - ///转移方向 - TTORATstpTransferDirectionType TransferDirection; - - ///转账金额 - TTORATstpMoneyType Amount; - - ///经纪公司部门代码 - TTORATstpDepartmentIDType DepartmentID; - - ///银行代码(银证转账时必填) - TTORATstpBankIDType BankID; - - ///资金密码(证券转银行时必填) - TTORATstpPasswordType AccountPassword; - - ///银行密码(银行转证券时必填) - TTORATstpPasswordType BankPassword; - - -}; - -/// 仓位转移 -struct CTORATstpInputTransferPositionField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///目前该字段存放的是上证所和深圳的股东代码。 - TTORATstpShareholderIDType ShareholderID; - - ///合约代码 - TTORATstpSecurityIDType SecurityID; - - ///申请流水号 - TTORATstpExternalSerialType ApplySerial; - - ///转移方向 - TTORATstpTransferDirectionType TransferDirection; - - ///数量 - TTORATstpVolumeType Volume; - - ///转移持仓类型 - TTORATstpTransferPositionTypeType TransferPositionType; - - ///交易所下的交易市场,如沪A、沪B市场 - TTORATstpMarketIDType MarketID; - - -}; - -/// 资金转移回报 -struct CTORATstpTransferFundField -{ - - ///转账流水号(后台编号) - TTORATstpSerialType FundSerial; - - ///申请流水号 - TTORATstpExternalSerialType ApplySerial; - - ///前置编号 - TTORATstpFrontIDType FrontID; - - ///会话编号 - TTORATstpSessionIDType SessionID; - - ///资金账户代码 - TTORATstpAccountIDType AccountID; - - ///币种代码 - TTORATstpCurrencyIDType CurrencyID; - - ///转移方向 - TTORATstpTransferDirectionType TransferDirection; - - ///资金账户当日出入金金额 - TTORATstpMoneyType Amount; - - ///转移状态 - TTORATstpTransferStatusType TransferStatus; - - ///操作人员 - TTORATstpUserIDType OperatorID; - - ///操作日期 - TTORATstpDateType OperateDate; - - ///操作时间 - TTORATstpTimeType OperateTime; - - ///经纪公司部门代码 - TTORATstpDepartmentIDType DepartmentID; - - ///签约银行账户 - TTORATstpBankAccountIDType BankAccountID; - - ///银行代码 - TTORATstpBankIDType BankID; - - -}; - -/// 仓位转移回报 -struct CTORATstpTransferPositionField -{ - - ///仓位转移流水号 - TTORATstpSerialType PositionSerial; - - ///申请流水号 - TTORATstpExternalSerialType ApplySerial; - - ///前置编号 - TTORATstpFrontIDType FrontID; - - ///会话编号 - TTORATstpSessionIDType SessionID; - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///目前该字段存放的是上证所和深圳的股东代码。 - TTORATstpShareholderIDType ShareholderID; - - ///交易所下的交易市场,如沪A、沪B市场 - TTORATstpMarketIDType MarketID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///交易日 - TTORATstpDateType TradingDay; - - ///转移方向 - TTORATstpTransferDirectionType TransferDirection; - - ///转移持仓类型 - TTORATstpTransferPositionTypeType TransferPositionType; - - ///昨日仓位转入转出数量。 - TTORATstpVolumeType HistoryVolume; - - ///今日买卖仓位转入转出数量。 - TTORATstpVolumeType TodayBSVolume; - - ///今日申赎仓位转入转出数量。 - TTORATstpVolumeType TodayPRVolume; - - ///转移状态:0:正常,1:已冲正 - TTORATstpTransferStatusType TransferStatus; - - ///操作人员 - TTORATstpUserIDType OperatorID; - - ///操作日期 - TTORATstpDateType OperateDate; - - ///操作时间 - TTORATstpTimeType OperateTime; - - -}; - -/// 订阅行情 -struct CTORATstpSpecificSecurityField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///合约代码 - TTORATstpSecurityIDType SecurityID; - - -}; - -/// 担保品转移请求 -struct CTORATstpInputTransferCollateralField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///目前该字段存放的是上证所和深圳的股东代码。 - TTORATstpShareholderIDType ShareholderID; - - ///合约代码 - TTORATstpSecurityIDType SecurityID; - - ///申请流水号 - TTORATstpExternalSerialType ApplySerial; - - ///担保品划转方向 - TTORATstpCollateralDirectionType CollateralDirection; - - ///数量 - TTORATstpVolumeType Volume; - - ///交易所下的交易市场,如沪A、沪B市场 - TTORATstpMarketIDType MarketID; - - ///委托方式 - TTORATstpOperwayType Operway; - - -}; - -/// 查询银行账户余额请求 -struct CTORATstpReqInquiryBankAccountFundField -{ - - ///经纪公司部门代码 - TTORATstpDepartmentIDType DepartmentID; - - ///资金账户 - TTORATstpAccountIDType AccountID; - - ///币种 - TTORATstpCurrencyIDType CurrencyID; - - ///银行代码 - TTORATstpBankIDType BankID; - - ///银行密码 - TTORATstpPasswordType BankPassword; - - -}; - -/// 查询银行账户余额响应 -struct CTORATstpRspInquiryBankAccountFundField -{ - - ///经纪公司部门代码 - TTORATstpDepartmentIDType DepartmentID; - - ///资金账户 - TTORATstpAccountIDType AccountID; - - ///币种 - TTORATstpCurrencyIDType CurrencyID; - - ///银行代码 - TTORATstpBankIDType BankID; - - ///签约银行账户 - TTORATstpBankAccountIDType BankAccountID; - - ///账户余额 - TTORATstpMoneyType Balance; - - -}; - -/// Lev2行情 -struct CTORATstpLev2MarketDataField -{ - - ///合约代码 - TTORATstpSecurityIDType SecurityID; - - ///行情交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///时间戳 - TTORATstpTimeStampType DataTimeStamp; - - ///昨收盘 - TTORATstpPriceType PreClosePrice; - - ///今开盘 - TTORATstpPriceType OpenPrice; - - ///成交笔数 - TTORATstpLongVolumeType NumTrades; - - ///成交总量 - TTORATstpLongVolumeType TotalVolumeTrade; - - ///成交总金额 - TTORATstpMoneyType TotalValueTrade; - - ///委托买入总量(只有上交所推送) - TTORATstpLongVolumeType TotalBidVolume; - - ///加权平均委托买价格(只有上交所推送) - TTORATstpPriceType AvgBidPrice; - - ///委托卖出总量(只有上交所推送) - TTORATstpLongVolumeType TotalAskVolume; - - ///加权平均委托卖价格(只有上交所推送) - TTORATstpPriceType AvgAskPrice; - - ///最高价 - TTORATstpPriceType HighestPrice; - - ///最低价 - TTORATstpPriceType LowestPrice; - - ///现价 - TTORATstpPriceType LastPrice; - - ///申买价一 - TTORATstpPriceType BidPrice1; - - ///申买量一 - TTORATstpLongVolumeType BidVolume1; - - ///申卖价一 - TTORATstpPriceType AskPrice1; - - ///申卖量一 - TTORATstpLongVolumeType AskVolume1; - - ///申卖价二 - TTORATstpPriceType AskPrice2; - - ///申卖量二 - TTORATstpLongVolumeType AskVolume2; - - ///申卖价三 - TTORATstpPriceType AskPrice3; - - ///申卖量三 - TTORATstpLongVolumeType AskVolume3; - - ///申买价二 - TTORATstpPriceType BidPrice2; - - ///申买量二 - TTORATstpLongVolumeType BidVolume2; - - ///申买价三 - TTORATstpPriceType BidPrice3; - - ///申买量三 - TTORATstpLongVolumeType BidVolume3; - - ///申卖价四 - TTORATstpPriceType AskPrice4; - - ///申卖量四 - TTORATstpLongVolumeType AskVolume4; - - ///申卖价五 - TTORATstpPriceType AskPrice5; - - ///申卖量五 - TTORATstpLongVolumeType AskVolume5; - - ///申买价四 - TTORATstpPriceType BidPrice4; - - ///申买量四 - TTORATstpLongVolumeType BidVolume4; - - ///申买价五 - TTORATstpPriceType BidPrice5; - - ///申买量五 - TTORATstpLongVolumeType BidVolume5; - - ///申卖价六 - TTORATstpPriceType AskPrice6; - - ///申卖量六 - TTORATstpLongVolumeType AskVolume6; - - ///申卖价七 - TTORATstpPriceType AskPrice7; - - ///申卖量七 - TTORATstpLongVolumeType AskVolume7; - - ///申买价六 - TTORATstpPriceType BidPrice6; - - ///申买量六 - TTORATstpLongVolumeType BidVolume6; - - ///申买价七 - TTORATstpPriceType BidPrice7; - - ///申买量七 - TTORATstpLongVolumeType BidVolume7; - - ///申卖价八 - TTORATstpPriceType AskPrice8; - - ///申卖量八 - TTORATstpLongVolumeType AskVolume8; - - ///申卖价九 - TTORATstpPriceType AskPrice9; - - ///申卖量九 - TTORATstpLongVolumeType AskVolume9; - - ///申买价八 - TTORATstpPriceType BidPrice8; - - ///申买量八 - TTORATstpLongVolumeType BidVolume8; - - ///申买价九 - TTORATstpPriceType BidPrice9; - - ///申买量九 - TTORATstpLongVolumeType BidVolume9; - - ///申买价十 - TTORATstpPriceType BidPrice10; - - ///申买量十 - TTORATstpLongVolumeType BidVolume10; - - ///申卖价十 - TTORATstpPriceType AskPrice10; - - ///申卖量十 - TTORATstpLongVolumeType AskVolume10; - - ///附加信息1 - TTORATstpIntInfoType Info1; - - ///附加信息2 - TTORATstpIntInfoType Info2; - - ///附加信息3 - TTORATstpIntInfoType Info3; - - ///涨停板价(只有深圳行情有效) - TTORATstpPriceType UpperLimitPrice; - - ///跌停板价(只有深圳行情有效) - TTORATstpPriceType LowerLimitPrice; - - ///今收盘价(只有上海行情有效) - TTORATstpPriceType ClosePrice; - - ///行情产品实时状态 - TTORATstpMDSecurityStatType MDSecurityStat; - - -}; - -/// Lev2指数行情 -struct CTORATstpLev2IndexField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///合约代码 - TTORATstpSecurityIDType SecurityID; - - ///时间戳 - TTORATstpTimeStampType DataTimeStamp; - - ///前收盘指数 - TTORATstpPriceType PreCloseIndex; - - ///今开盘指数 - TTORATstpPriceType OpenIndex; - - ///最高指数 - TTORATstpPriceType HighIndex; - - ///最低指数 - TTORATstpPriceType LowIndex; - - ///最新指数 - TTORATstpPriceType LastIndex; - - ///参与计算相应指数的成交金额(元 - TTORATstpMoneyType Turnover; - - ///参与计算相应指数的交易数量(手) - TTORATstpLongVolumeType TotalVolumeTraded; - - ///附加信息1 - TTORATstpIntInfoType Info1; - - ///附加信息2 - TTORATstpIntInfoType Info2; - - ///附加信息3 - TTORATstpIntInfoType Info3; - - -}; - -/// Lev2逐笔成交 -struct CTORATstpLev2TransactionField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///合约代码 - TTORATstpSecurityIDType SecurityID; - - ///时间戳 - TTORATstpTimeStampType TradeTime; - - ///成交价格 - TTORATstpPriceType TradePrice; - - ///成交数量 - TTORATstpLongVolumeType TradeVolume; - - ///成交类别 - TTORATstpExecTypeType ExecType; - - ///主序号 - TTORATstpSequenceNoType MainSeq; - - ///子序号 - TTORATstpLongSequenceType SubSeq; - - ///买方委托序号 - TTORATstpLongSequenceType BuyNo; - - ///卖方委托序号 - TTORATstpLongSequenceType SellNo; - - ///附加信息1 - TTORATstpIntInfoType Info1; - - ///附加信息2 - TTORATstpIntInfoType Info2; - - ///附加信息3 - TTORATstpIntInfoType Info3; - - -}; - -/// Lev2逐笔委托 -struct CTORATstpLev2OrderDetailField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///合约代码 - TTORATstpSecurityIDType SecurityID; - - ///时间戳 - TTORATstpTimeStampType OrderTime; - - ///委托价格 - TTORATstpPriceType Price; - - ///委托数量 - TTORATstpLongVolumeType Volume; - - ///委托方向 - TTORATstpLSideType Side; - - ///订单类别 - TTORATstpLOrderTypeType OrderType; - - ///主序号 - TTORATstpSequenceNoType MainSeq; - - ///子序号 - TTORATstpSequenceNoType SubSeq; - - ///附加信息1 - TTORATstpIntInfoType Info1; - - ///附加信息2 - TTORATstpIntInfoType Info2; - - ///附加信息3 - TTORATstpIntInfoType Info3; - - -}; - -/// 回传交易数据 -struct CTORATstpUploadTradeDataField -{ - - ///交易所代码,目前支持 SSE(上海证券交易所)和SZSE(深圳证券交易所) - TTORATstpExchangeIDType ExchangeID; - - ///交易日 - TTORATstpDateType TradingDay; - - ///是否强制回传。0=否;1=是 - TTORATstpBoolType bForce; - - -}; - -/// 输入指定交易登记&撤销 -struct CTORATstpInputDesignationRegistrationField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///用户代码 - TTORATstpUserIDType UserID; - - ///0.指定登记 1.指定撤销 - TTORATstpDesignationTypeType DesignationType; - - ///目前该字段存放的是上证所和深圳的股东代码。 - TTORATstpShareholderIDType ShareholderID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///资金账户 - TTORATstpAccountIDType AccountID; - - ///报单编号 - TTORATstpOrderSysIDType OrderSysID; - - ///IP地址 - TTORATstpIPAddressType IPAddress; - - ///Mac地址 - TTORATstpMacAddressType MacAddress; - - ///终端信息 - TTORATstpTerminalInfoType TerminalInfo; - - ///硬盘序列号 - TTORATstpHDSerialType HDSerial; - - -}; - -/// 输入深证转托管 -struct CTORATstpInputCustodyTransferField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///用户代码 - TTORATstpUserIDType UserID; - - ///|.新注册转托管请求 ~.转托管撤单 - TTORATstpCustodyTransferTypeType CustodyTransferType; - - ///目前该字段存放的是上证所和深圳的股东代码。 - TTORATstpShareholderIDType ShareholderID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///资金账户 - TTORATstpAccountIDType AccountID; - - ///报单编号 - TTORATstpOrderSysIDType OrderSysID; - - ///转入交易单元代码 - TTORATstpPbuIDType TransfereePbuID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///全系统的唯一报单编号。16位,1-2位为交易所标识,3-5位为经纪公司代码,6-8位为交易单元标识,后面8位为流水号。 - TTORATstpOrderLocalIDType OrignalOrderLocalID; - - ///全系统的唯一报单编号。16位,1-2位为交易所标识,3-5位为经纪公司代码,6-8位为交易单元标识,后面8位为流水号。 - TTORATstpOrderLocalIDType OrderLocalID; - - ///报单数量 - TTORATstpVolumeType VolumeTotalOriginal; - - ///IP地址 - TTORATstpIPAddressType IPAddress; - - ///Mac地址 - TTORATstpMacAddressType MacAddress; - - ///终端信息 - TTORATstpTerminalInfoType TerminalInfo; - - ///硬盘序列号 - TTORATstpHDSerialType HDSerial; - - -}; - -/// 交易成交集中度 -struct CTORATstpInquiryTradeConcentrationField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///交易所下的交易市场,如沪A、沪B市场 - TTORATstpMarketIDType MarketID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///资金账户 - TTORATstpAccountIDType AccountID; - - ///交易账户代码 - TTORATstpShareholderIDType ShareholderID; - - ///投资者成交量/成交总量 - TTORATstpRatioType ConcentrationRatio1; - - ///投资者成交金额/成交总金额 - TTORATstpRatioType ConcentrationRatio2; - - -}; - -/// 查询文件委托请求 -struct CTORATstpInquiryFileOrderField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///股东账户代码 - TTORATstpShareholderIDType ShareholderID; - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///委托起始流水号 - TTORATstpSequenceNoType OrderSerialBeg; - - ///委托结束流水号 - TTORATstpSequenceNoType OrderSerialEnd; - - ///委托提交状态 - TTORATstpCommitStatusType CommitStatus; - - -}; - -/// 文件委托 -struct CTORATstpFileOrderField -{ - - ///请求编号 - TTORATstpRequestIDType RequestID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///股东账户代码 - TTORATstpShareholderIDType ShareholderID; - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///报单引用 - TTORATstpOrderRefType OrderRef; - - ///文件报单类别 - TTORATstpFileOrderTypeType FileOrderType; - - ///买卖方向 - TTORATstpDirectionType Direction; - - ///限价单价格 - TTORATstpPriceType LimitPrice; - - ///报单数量 - TTORATstpVolumeType VolumeTotalOriginal; - - ///委托方式 - TTORATstpOperwayType Operway; - - ///报单操作引用 - TTORATstpOrderRefType OrderActionRef; - - ///报单编号 - TTORATstpOrderSysIDType OrderSysID; - - ///委托检查 - TTORATstpCondCheckType CondCheck; - - ///委托流水号 - TTORATstpSequenceNoType OrderSerial; - - ///文件委托提交状态 - TTORATstpCommitStatusType CommitStatus; - - ///文件委托状态信息 - TTORATstpStatusMsgType StatusMsg; - - ///委托时间戳 - TTORATstpBigTimeStampType TimeStamp; - - -}; - -/// 查询应答域 -struct CTORATstpQryRspInfoField -{ - - ///结束标识 - TTORATstpEndFlagType EndFlag; - - ///错误代码 - TTORATstpErrorIDType ErrorID; - - ///错误信息 - TTORATstpErrorMsgType ErrorMsg; - - -}; - -/// 文件委托复核请求 -struct CTORATstpReviewFileOrderField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///股东账户代码 - TTORATstpShareholderIDType ShareholderID; - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///委托起始流水号 - TTORATstpSequenceNoType OrderSerialBeg; - - ///委托结束流水号 - TTORATstpSequenceNoType OrderSerialEnd; - - -}; - -/// 文件提交信息 -struct CTORATstpCommitInfoField -{ - - ///委托流水号 - TTORATstpSequenceNoType OrderSerial; - - ///文件委托提交状态 - TTORATstpCommitStatusType CommitStatus; - - ///文件委托状态信息 - TTORATstpStatusMsgType StatusMsg; - - -}; - -/// 请求插入交易通知 -struct CTORATstpReqInsTradingNoticeField -{ - - ///通知流水号 - TTORATstpSerialType NoticeSerial; - - ///通知日期 - TTORATstpDateType InsertDate; - - ///通知时间 - TTORATstpTimeType InsertTime; - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///通知消息内容 - TTORATstpContentType Content; - - ///操作员 - TTORATstpUserIDType OperatorID; - - -}; - -/// 交易通知 -struct CTORATstpTradingNoticeField -{ - - ///通知流水号 - TTORATstpSerialType NoticeSerial; - - ///通知日期 - TTORATstpDateType InsertDate; - - ///通知时间 - TTORATstpTimeType InsertTime; - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///通知消息内容 - TTORATstpContentType Content; - - ///操作员 - TTORATstpUserIDType OperatorID; - - -}; - -/// 装载文件委托 -struct CTORATstpLoadFileOrderField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///是否需要复核 - TTORATstpBoolType bReview; - - -}; - -/// 文件委托信息 -struct CTORATstpFileOrderInfoField -{ - - ///请求编号 - TTORATstpRequestIDType RequestID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///股东账户代码 - TTORATstpShareholderIDType ShareholderID; - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///报单引用 - TTORATstpOrderRefType OrderRef; - - ///文件报单类别 - TTORATstpFileOrderTypeType FileOrderType; - - ///买卖方向 - TTORATstpDirectionType Direction; - - ///限价单价格 - TTORATstpPriceType LimitPrice; - - ///报单数量 - TTORATstpVolumeType VolumeTotalOriginal; - - ///委托方式 - TTORATstpOperwayType Operway; - - ///报单操作引用 - TTORATstpOrderRefType OrderActionRef; - - ///报单编号 - TTORATstpOrderSysIDType OrderSysID; - - ///委托检查 - TTORATstpCondCheckType CondCheck; - - ///委托流水号 - TTORATstpSequenceNoType OrderSerial; - - ///文件委托提交状态 - TTORATstpCommitStatusType CommitStatus; - - ///文件委托状态信息 - TTORATstpStatusMsgType StatusMsg; - - -}; - -/// 查询最大报单量请求 -struct CTORATstpReqInquiryMaxOrderVolumeField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///资金账户 - TTORATstpAccountIDType AccountID; - - ///交易账户代码 - TTORATstpShareholderIDType ShareholderID; - - ///买卖方向 - TTORATstpDirectionType Direction; - - ///限价单或市价单 - TTORATstpOrderPriceTypeType OrderPriceType; - - ///按字节表示各单个合约的开平方向 - TTORATstpCombOffsetFlagType CombOffsetFlag; - - ///按字节表示各单个合约的组合套保标志 - TTORATstpCombHedgeFlagType CombHedgeFlag; - - ///IOC、GFS、GFD、GTD、GTC、GFA - TTORATstpTimeConditionType TimeCondition; - - ///AV、MV、CV - TTORATstpVolumeConditionType VolumeCondition; - - ///限价单价格 - TTORATstpPriceType LimitPrice; - - ///转入交易单元代码(仅在转托管操作时有效) - TTORATstpPbuIDType TransfereePbuID; - - ///最大委托手数 - TTORATstpVolumeType MaxVolume; - - -}; - -/// 查询最大报单量应答 -struct CTORATstpRspInquiryMaxOrderVolumeField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///资金账户 - TTORATstpAccountIDType AccountID; - - ///交易账户代码 - TTORATstpShareholderIDType ShareholderID; - - ///买卖方向 - TTORATstpDirectionType Direction; - - ///限价单或市价单 - TTORATstpOrderPriceTypeType OrderPriceType; - - ///按字节表示各单个合约的开平方向 - TTORATstpCombOffsetFlagType CombOffsetFlag; - - ///按字节表示各单个合约的组合套保标志 - TTORATstpCombHedgeFlagType CombHedgeFlag; - - ///IOC、GFS、GFD、GTD、GTC、GFA - TTORATstpTimeConditionType TimeCondition; - - ///AV、MV、CV - TTORATstpVolumeConditionType VolumeCondition; - - ///限价单价格 - TTORATstpPriceType LimitPrice; - - ///转入交易单元代码(仅在转托管操作时有效) - TTORATstpPbuIDType TransfereePbuID; - - ///最大委托手数 - TTORATstpVolumeType MaxVolume; - - -}; - -/// 外围系统仓位调拨流水明细 -struct CTORATstpPeripheryPositionTransferDetailField -{ - - ///仓位调拨系统流水号 - TTORATstpIntSerialType PositionSerial; - - ///仓位调拨请求流水号 - TTORATstpIntSerialType ApplySerial; - - ///前置编号 - TTORATstpFrontIDType FrontID; - - ///会话编号 - TTORATstpSessionIDType SessionID; - - ///仓位调拨方向 - TTORATstpTransferDirectionType TransferDirection; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///交易所下的交易市场,如沪A、沪B市场 - TTORATstpMarketIDType MarketID; - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///现货系统交易账户代码 - TTORATstpShareholderIDType ShareholderID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///今日买卖仓位转入转出数量 - TTORATstpVolumeType TodayBSPos; - - ///今日申赎仓位转入数量 - TTORATstpVolumeType TodayPRPos; - - ///昨日仓位转入数量 - TTORATstpVolumeType HistoryPos; - - ///交易日期 - TTORATstpDateType TradingDay; - - ///仓位调拨原因 - TTORATstpTransferReasonType TransferReason; - - ///转移状态 - TTORATstpTransferStatusType TransferStatus; - - ///操作日期 - TTORATstpDateType OperateDate; - - ///操作时间 - TTORATstpTimeType OperateTime; - - ///冲正日期 - TTORATstpDateType RepealDate; - - ///冲正时间 - TTORATstpTimeType RepealTime; - - ///冲正原因 - TTORATstpTransferReasonType RepealReason; - - ///状态信息 - TTORATstpErrorMsgType StatusMsg; - - -}; - -/// 查询历史委托 -struct CTORATstpQryHistoryOrderField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///起始日期 - TTORATstpDateType BegDate; - - ///结束日期 - TTORATstpDateType EndDate; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///每页记录数 - TTORATstpVolumeType PageCount; - - ///页定位符 - TTORATstpPageLocateType PageLocate; - - -}; - -/// 查询历史响应信息 -struct CTORATstpQryHistoryRspInfoField -{ - - ///错误代码 - TTORATstpErrorIDType ErrorID; - - ///错误信息 - TTORATstpErrorMsgType ErrorMsg; - - ///分页是否结束 - TTORATstpBoolType bPageEnd; - - -}; - -/// 历史委托信息 -struct CTORATstpHistoryOrderField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///合约在系统中的编号 - TTORATstpSecurityIDType SecurityID; - - ///投资者说明的对报单的唯一引用 - TTORATstpOrderRefType OrderRef; - - ///用户代码 - TTORATstpUserIDType UserID; - - ///限价单或市价单 - TTORATstpOrderPriceTypeType OrderPriceType; - - ///1.买2.卖 - TTORATstpDirectionType Direction; - - ///按字节表示各单个合约的开平方向 - TTORATstpCombOffsetFlagType CombOffsetFlag; - - ///按字节表示各单个合约的组合套保标志 - TTORATstpCombHedgeFlagType CombHedgeFlag; - - ///限价单价格 - TTORATstpPriceType LimitPrice; - - ///报单数量 - TTORATstpVolumeType VolumeTotalOriginal; - - ///IOC、GFS、GFD、GTD、GTC、GFA - TTORATstpTimeConditionType TimeCondition; - - ///AV、MV、CV - TTORATstpVolumeConditionType VolumeCondition; - - ///当成交量类型为MV时有效 - TTORATstpVolumeType MinVolume; - - ///强平原因 - TTORATstpForceCloseReasonType ForceCloseReason; - - ///请求编号 - TTORATstpRequestIDType RequestID; - - ///本地报单顺序号 - TTORATstpOrderLocalIDType OrderLocalID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///交易所下的交易市场,如沪A、沪B市场 - TTORATstpMarketIDType MarketID; - - ///客户在系统中的编号,编号唯一且遵循交易所制定的编码规则 - TTORATstpShareholderIDType ShareholderID; - - ///合约在交易所的代码 - TTORATstpExchangeInstIDType ExchangeInstID; - - ///交易所交易员代码 - TTORATstpTraderIDType TraderID; - - ///报单提交状态 - TTORATstpOrderSubmitStatusType OrderSubmitStatus; - - ///交易发生的日期 - TTORATstpDateType TradingDay; - - ///报单编号 - TTORATstpOrderSysIDType OrderSysID; - - ///0.全部成交1.部分成交还在队列中2.部分成交不在队列中3.未成交还在队列中4.未成交不在队列中5.撤单 - TTORATstpOrderStatusType OrderStatus; - - ///0.普通1.报价派生2.组合派生 - TTORATstpOrderTypeType OrderType; - - ///报单完成数量 - TTORATstpVolumeType VolumeTraded; - - ///报单未完成数量 - TTORATstpVolumeType VolumeTotal; - - ///报单日期 - TTORATstpDateType InsertDate; - - ///委托时间 - TTORATstpTimeType InsertTime; - - ///撤销时间 - TTORATstpTimeType CancelTime; - - ///最后修改交易所交易员代码 - TTORATstpTraderIDType ActiveTraderID; - - ///前置编号 - TTORATstpFrontIDType FrontID; - - ///每一位交易员或其它登录者登录系统获得的会话编号,当前时刻唯一 - TTORATstpSessionIDType SessionID; - - ///说明用户端使用的软件产品和版本号 - TTORATstpProductInfoType UserProductInfo; - - ///状态信息 - TTORATstpErrorMsgType StatusMsg; - - ///用户强评标志 - TTORATstpBoolType UserForceClose; - - ///操作用户代码 - TTORATstpUserIDType ActiveUserID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///资金账户 - TTORATstpAccountIDType AccountID; - - ///IP地址 - TTORATstpIPAddressType IPAddress; - - ///Mac地址 - TTORATstpMacAddressType MacAddress; - - ///头寸类型 - TTORATstpCreditPositionTypeType CreditPositionType; - - ///长字符串附加信息 - TTORATstpBigsInfoType BInfo; - - ///短字符串附加信息 - TTORATstpShortsInfoType SInfo; - - ///整形附加信息 - TTORATstpIntInfoType IInfo; - - ///转入交易单元代码(仅在转托管操作时有效) - TTORATstpPbuIDType TransfereePbuID; - - ///委托方式 - TTORATstpOperwayType Operway; - - ///经纪公司部门代码 - TTORATstpDepartmentIDType DepartmentID; - - ///适当性控制业务类别 - TTORATstpProperCtrlBusinessTypeType ProperCtrlBusinessType; - - ///适当性控制通过标示 - TTORATstpProperCtrlPassFlagType ProperCtrlPassFlag; - - ///条件检查 - TTORATstpCondCheckType CondCheck; - - ///是否预埋 - TTORATstpBoolType IsCacheOrder; - - ///根据成交价格计算出的本笔成交的金额(不包含费用) - TTORATstpMoneyType Turnover; - - ///回报附加浮点型数据信息 - TTORATstpFloatInfoType RtnFloatInfo; - - ///回报附加整型数据 - TTORATstpIntInfoType RtnIntInfo; - - ///页定位符 - TTORATstpPageLocateType PageLocate; - - -}; - -/// 查询历史成交 -struct CTORATstpQryHistoryTradeField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///起始日期 - TTORATstpDateType BegDate; - - ///结束日期 - TTORATstpDateType EndDate; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///每页记录数 - TTORATstpVolumeType PageCount; - - ///页定位符 - TTORATstpPageLocateType PageLocate; - - -}; - -/// 历史成交信息 -struct CTORATstpHistoryTradeField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///合约在系统中的编号 - TTORATstpSecurityIDType SecurityID; - - ///用户代码 - TTORATstpUserIDType UserID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///成交编号 - TTORATstpTradeIDType TradeID; - - ///1.买2.卖 - TTORATstpDirectionType Direction; - - ///报单编号 - TTORATstpOrderSysIDType OrderSysID; - - ///交易所下的交易市场,如沪A、沪B市场 - TTORATstpMarketIDType MarketID; - - ///客户在系统中的编号,编号唯一且遵循交易所制定的编码规则 - TTORATstpShareholderIDType ShareholderID; - - ///合约在交易所的代码 - TTORATstpExchangeInstIDType ExchangeInstID; - - ///1.开仓2.平今3.平昨4.强平 - TTORATstpOffsetFlagType OffsetFlag; - - ///1.投机2.套保 - TTORATstpHedgeFlagType HedgeFlag; - - ///成交价格 - TTORATstpPriceType Price; - - ///成交数量 - TTORATstpVolumeType Volume; - - ///成交日期 - TTORATstpDateType TradeDate; - - ///成交时间 - TTORATstpTimeType TradeTime; - - ///交易员在系统中的编号,编号唯一且遵循交易所制定的编码规则 - TTORATstpTraderIDType TraderID; - - ///本地报单顺序号 - TTORATstpOrderLocalIDType OrderLocalID; - - ///交易发生的日期 - TTORATstpDateType TradingDay; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///资金账户 - TTORATstpAccountIDType AccountID; - - ///报单引用 - TTORATstpOrderRefType OrderRef; - - ///经纪公司部门代码 - TTORATstpDepartmentIDType DepartmentID; - - ///页定位符 - TTORATstpPageLocateType PageLocate; - - -}; - -/// 查询交易所 -struct CTORATstpQryExchangeField -{ - - ///交易所代码,目前支持 SSE(上海证券交易所)和SZSE(深圳证券交易所) - TTORATstpExchangeIDType ExchangeID; - - -}; - -/// 交易所 -struct CTORATstpExchangeField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///交易所名称 - TTORATstpNameType ExchangeName; - - ///交易日 - TTORATstpDateType TradingDay; - - -}; - -/// 查询PBU -struct CTORATstpQryPBUField -{ - - ///交易单元代码 - TTORATstpPbuIDType PbuID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///交易所下的交易市场,如沪A、沪B市场 - TTORATstpMarketIDType MarketID; - - -}; - -/// PBU -struct CTORATstpPBUField -{ - - ///交易单元代码 - TTORATstpPbuIDType PbuID; - - ///交易单元名称 - TTORATstpNameType PbuName; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///市场代码 - TTORATstpMarketIDType MarketID; - - -}; - -/// 查询实时行情 -struct CTORATstpQryMarketDataField -{ - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///交易所代码,目前支持 SSE(上海证券交易所)和SZSE(深圳证券交易所) - TTORATstpExchangeIDType ExchangeID; - - -}; - -/// 实时行情 -struct CTORATstpMarketDataField -{ - - ///交易日 - TTORATstpDateType TradingDay; - - ///合约代码 - TTORATstpSecurityIDType SecurityID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///合约在交易所的代码 - TTORATstpExchangeInstIDType ExchangeInstID; - - ///最新价 - TTORATstpPriceType LastPrice; - - ///昨收盘 - TTORATstpPriceType PreClosePrice; - - ///今开盘 - TTORATstpPriceType OpenPrice; - - ///最高价 - TTORATstpPriceType HighestPrice; - - ///最低价 - TTORATstpPriceType LowestPrice; - - ///数量 - TTORATstpLongVolumeType Volume; - - ///成交金额 - TTORATstpMoneyType Turnover; - - ///持仓量 - TTORATstpLargeVolumeType OpenInterest; - - ///涨停板价 - TTORATstpPriceType UpperLimitPrice; - - ///跌停板价 - TTORATstpPriceType LowerLimitPrice; - - ///最后修改时间 - TTORATstpTimeType UpdateTime; - - ///最后修改毫秒 - TTORATstpMillisecType UpdateMillisec; - - ///申买价一 - TTORATstpPriceType BidPrice1; - - ///申买量一 - TTORATstpLongVolumeType BidVolume1; - - ///申卖价一 - TTORATstpPriceType AskPrice1; - - ///申卖量一 - TTORATstpLongVolumeType AskVolume1; - - ///申买价二 - TTORATstpPriceType BidPrice2; - - ///申买量二 - TTORATstpLongVolumeType BidVolume2; - - ///申卖价二 - TTORATstpPriceType AskPrice2; - - ///申卖量二 - TTORATstpLongVolumeType AskVolume2; - - ///申买价三 - TTORATstpPriceType BidPrice3; - - ///申买量三 - TTORATstpLongVolumeType BidVolume3; - - ///申卖价三 - TTORATstpPriceType AskPrice3; - - ///申卖量三 - TTORATstpLongVolumeType AskVolume3; - - ///申买价四 - TTORATstpPriceType BidPrice4; - - ///申买量四 - TTORATstpLongVolumeType BidVolume4; - - ///申卖价四 - TTORATstpPriceType AskPrice4; - - ///申卖量四 - TTORATstpLongVolumeType AskVolume4; - - ///申买价五 - TTORATstpPriceType BidPrice5; - - ///申买量五 - TTORATstpLongVolumeType BidVolume5; - - ///申卖价五 - TTORATstpPriceType AskPrice5; - - ///申卖量五 - TTORATstpLongVolumeType AskVolume5; - - ///合约名称 - TTORATstpSecurityNameType SecurityName; - - ///成交笔数 - TTORATstpLongVolumeType TradingCount; - - ///市盈率1 - TTORATstpRatioType PERatio1; - - ///市盈率2 - TTORATstpRatioType PERatio2; - - ///价格升跌1 - TTORATstpPriceType PriceUpDown1; - - ///价格升跌2 - TTORATstpPriceType PriceUpDown2; - - ///收盘价 - TTORATstpPriceType ClosePrice; - - ///证券实时状态 - TTORATstpMDSecurityStatType MDSecurityStat; - - ///是否风险警示标志0否1是 - TTORATstpBoolType HWFlag; - - -}; - -/// 查询证券信息 -struct CTORATstpQrySecurityField -{ - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///交易所代码,目前支持 SSE(上海证券交易所)和SZSE(深圳证券交易所) - TTORATstpExchangeIDType ExchangeID; - - ///合约在交易所的代码 - TTORATstpExchangeInstIDType ExchangeInstID; - - ///证券市场中的具体品种,如上海股票 - TTORATstpProductIDType ProductID; - - -}; - -/// 证券信息 -struct CTORATstpSecurityField -{ - - ///合约代码 - TTORATstpSecurityIDType SecurityID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///合约名称 - TTORATstpSecurityNameType SecurityName; - - ///合约在交易所的代码 - TTORATstpExchangeInstIDType ExchangeInstID; - - ///市场代码 - TTORATstpMarketIDType MarketID; - - ///产品代码 - TTORATstpProductIDType ProductID; - - ///证券类别代码 - TTORATstpSecurityTypeType SecurityType; - - ///申报单位 - TTORATstpOrderUnitType OrderUnit; - - ///买入交易单位 - TTORATstpTradingUnitType BuyTradingUnit; - - ///卖出交易单位 - TTORATstpTradingUnitType SellTradingUnit; - - ///市价单买最大下单量 - TTORATstpVolumeType MaxMarketOrderBuyVolume; - - ///市价单买最小下单量 - TTORATstpVolumeType MinMarketOrderBuyVolume; - - ///限价单买最大下单量 - TTORATstpVolumeType MaxLimitOrderBuyVolume; - - ///限价单买最小下单量 - TTORATstpVolumeType MinLimitOrderBuyVolume; - - ///市价单卖最大下单量 - TTORATstpVolumeType MaxMarketOrderSellVolume; - - ///市价单卖最小下单量 - TTORATstpVolumeType MinMarketOrderSellVolume; - - ///限价单卖最大下单量 - TTORATstpVolumeType MaxLimitOrderSellVolume; - - ///限价单卖最小下单量 - TTORATstpVolumeType MinLimitOrderSellVolume; - - ///数量乘数 - TTORATstpVolumeMultipleType VolumeMultiple; - - ///最小变动价位 - TTORATstpPriceTickType PriceTick; - - ///上市日 - TTORATstpDateType OpenDate; - - ///持仓类型 - TTORATstpPositionTypeType PositionType; - - ///面值 - TTORATstpParValueType ParValue; - - ///证券状态 - TTORATstpSecurityStatusType SecurityStatus; - - ///债券应计利息 - TTORATstpInterestType BondInterest; - - ///折算率 - TTORATstpRatioType ConversionRate; - - ///是否担保品 - TTORATstpBoolType IsCollateral; - - -}; - -/// 查询ETF清单信息 -struct CTORATstpQryETFFileField -{ - - ///交易所代码,目前支持 SSE(上海证券交易所)和SZSE(深圳证券交易所) - TTORATstpExchangeIDType ExchangeID; - - ///ETF二级市场交易代码 - TTORATstpSecurityIDType ETFSecurityID; - - ///ETF一级市场申赎代码 - TTORATstpSecurityIDType ETFCreRedSecurityID; - - -}; - -/// ETF清单信息 -struct CTORATstpETFFileField -{ - - ///交易日 - TTORATstpDateType TradingDay; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///ETF交易代码 - TTORATstpSecurityIDType ETFSecurityID; - - ///ETF申赎代码 - TTORATstpSecurityIDType ETFCreRedSecurityID; - - ///最小申购赎回单位份数 - TTORATstpVolumeType CreationRedemptionUnit; - - ///最大现金替代比例 - TTORATstpRatioType Maxcashratio; - - ///是否允许申购 - TTORATstpBoolType CreationStatus; - - ///是否允许赎回 - TTORATstpBoolType RedemptionStatus; - - ///预估现金差额 - TTORATstpMoneyType EstimateCashComponent; - - ///前一交易日现金差额 - TTORATstpMoneyType CashComponent; - - ///前一交易日基金单位净值 - TTORATstpMoneyType NAV; - - ///前一交易日申赎基准单位净值 - TTORATstpMoneyType NAVperCU; - - ///当日申购赎回基准单位的红利金额 - TTORATstpMoneyType DividendPerCU; - - -}; - -/// 查询ETF成份证券信息 -struct CTORATstpQryETFBasketField -{ - - ///交易所代码,目前支持 SSE(上海证券交易所)和SZSE(深圳证券交易所) - TTORATstpExchangeIDType ExchangeID; - - ///ETF二级市场交易代码 - TTORATstpSecurityIDType ETFSecurityID; - - ///ETF篮子中的成分证券代码 - TTORATstpSecurityIDType SecurityID; - - -}; - -/// ETF成份证券信息 -struct CTORATstpETFBasketField -{ - - ///交易日 - TTORATstpDateType TradingDay; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///ETF交易代码 - TTORATstpSecurityIDType ETFSecurityID; - - ///ETF成份证券代码 - TTORATstpSecurityIDType SecurityID; - - ///证券简称 - TTORATstpSecurityNameType SecurityName; - - ///证券数量 - TTORATstpVolumeType Volume; - - ///替代标志 - TTORATstpETFCurrenceReplaceStatusType ETFCurrenceReplaceStatus; - - ///溢价比例 - TTORATstpRatioType Premium; - - ///申购替代金额 - TTORATstpMoneyType CreationReplaceAmount; - - ///赎回替代金额 - TTORATstpMoneyType RedemptionReplaceAmount; - - ///挂牌市场 - TTORATstpListingMarketType Market; - - -}; - -/// 查询经纪公司部门信息 -struct CTORATstpQryDepartmentInfoField -{ - - ///经纪公司部门代码 - TTORATstpDepartmentIDType DepartmentID; - - -}; - -/// 经纪公司部门信息 -struct CTORATstpDepartmentInfoField -{ - - ///经纪公司部门代码 - TTORATstpDepartmentIDType DepartmentID; - - ///经纪公司部门名称 - TTORATstpNameType DepartmentName; - - -}; - -/// 查询新股信息 -struct CTORATstpQryIPOInfoField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///申购代码 - TTORATstpSecurityIDType SecurityID; - - -}; - -/// 新股信息 -struct CTORATstpIPOInfoField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///申购代码 - TTORATstpSecurityIDType SecurityID; - - ///市场代码 - TTORATstpMarketIDType MarketID; - - ///产品代码 - TTORATstpProductIDType ProductID; - - ///证券类别代码 - TTORATstpSecurityTypeType SecurityType; - - ///网上申购上限 - TTORATstpVolumeType OnlineLimit; - - ///发行价格 - TTORATstpPriceType Price; - - ///币种代码 - TTORATstpCurrencyIDType CurrencyID; - - ///申购证券名称 - TTORATstpSecurityNameType SecurityName; - - ///新股证券代码 - TTORATstpSecurityIDType UnderlyingSecurityID; - - ///新股证券名称 - TTORATstpSecurityNameType UnderlyingSecurityName; - - ///网上申购最小数量 - TTORATstpVolumeType OnlineMinVol; - - ///网上申购单位数量 - TTORATstpVolumeType OnlineVolUnit; - - -}; - -/// 查询BrokerUserFunction -struct CTORATstpQryBrokerUserFunctionField -{ - - ///交易用户代码 - TTORATstpUserIDType UserID; - - -}; - -/// BrokerUserFunction -struct CTORATstpBrokerUserFunctionField -{ - - ///用户代码 - TTORATstpUserIDType UserID; - - ///功能代码 - TTORATstpFunctionIDType FunctionID; - - -}; - -/// 查询经纪公司用户与投资者关系 -struct CTORATstpQryBUProxyField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///交易用户代码 - TTORATstpUserIDType UserID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - -}; - -/// 经纪公司用户与投资者关系 -struct CTORATstpBUProxyField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///用户代码 - TTORATstpUserIDType UserID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - -}; - -/// 查询User -struct CTORATstpQryUserField -{ - - ///用户代码 - TTORATstpUserIDType UserID; - - ///用户类型 - TTORATstpUserTypeType UserType; - - -}; - -/// User -struct CTORATstpUserField -{ - - ///用户代码 - TTORATstpUserIDType UserID; - - ///用户名称 - TTORATstpUserNameType UserName; - - ///用户类型 - TTORATstpUserTypeType UserType; - - ///是否活跃 - TTORATstpBoolType IsActive; - - ///登录限制 - TTORATstpLoginLimitType LoginLimit; - - -}; - -/// 查询投资者 -struct CTORATstpQryInvestorField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - -}; - -/// 投资者 -struct CTORATstpInvestorField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///投资者名称 - TTORATstpInvestorNameType InvestorName; - - ///证件类型 - TTORATstpIdCardTypeType IdCardType; - - ///证件号码 - TTORATstpIdCardNoType IdCardNo; - - ///联系电话 - TTORATstpTelephoneType Telephone; - - ///通讯地址 - TTORATstpAddressType Address; - - ///开户日期 - TTORATstpDateType OpenDate; - - ///手机 - TTORATstpMobileType Mobile; - - ///委托方式 - TTORATstpOperwaysType Operways; - - ///客户风险等级 - TTORATstpCRiskLevelType CRiskLevel; - - ///专业投资者类别 - TTORATstpProfInvestorTypeType ProfInvestorType; - - -}; - -/// 查询交易编码 -struct CTORATstpQryShareholderAccountField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///交易所下的交易市场,如沪A、沪B市场 - TTORATstpMarketIDType MarketID; - - ///股东代码 - TTORATstpShareholderIDType ShareholderID; - - ///普通,信用,衍生品等 - TTORATstpClientIDTypeType TradingCodeClass; - - -}; - -/// 交易编码 -struct CTORATstpShareholderAccountField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///客户代码 - TTORATstpShareholderIDType ShareholderID; - - ///交易编码类型 - TTORATstpClientIDTypeType ClientIDType; - - ///市场代码 - TTORATstpMarketIDType MarketID; - - -}; - -/// 查询投资单元 -struct CTORATstpQryBusinessUnitField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - -}; - -/// 投资单元 -struct CTORATstpBusinessUnitField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///投资单元名称 - TTORATstpBusinessUnitNameType BusinessUnitName; - - -}; - -/// 查询投资单元与交易账户关系 -struct CTORATstpQryBusinessUnitAndTradingAcctField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///证券市场中的具体品种,如上海股票 - TTORATstpProductIDType ProductID; - - ///资金账户 - TTORATstpAccountIDType AccountID; - - ///币种 - TTORATstpCurrencyIDType CurrencyID; - - -}; - -/// 投资单元与交易账户关系 -struct CTORATstpBusinessUnitAndTradingAcctField -{ - - ///经纪公司代码 - TTORATstpInvestorIDType InvestorID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///市场代码 - TTORATstpMarketIDType MarketID; - - ///客户代码 - TTORATstpShareholderIDType ShareholderID; - - ///产品代码 - TTORATstpProductIDType ProductID; - - ///资金账户代码 - TTORATstpAccountIDType AccountID; - - ///资金账户代码 - TTORATstpCurrencyIDType CurrencyID; - - ///用户代码 - TTORATstpUserIDType UserID; - - -}; - -/// 查询报单 -struct CTORATstpQryOrderField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///合约在系统中的编号 - TTORATstpSecurityIDType SecurityID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///交易所下的交易市场,如沪A、沪B市场 - TTORATstpMarketIDType MarketID; - - ///客户在系统中的编号,编号唯一且遵循交易所制定的编码规则 - TTORATstpShareholderIDType ShareholderID; - - ///报单编号 - TTORATstpOrderSysIDType OrderSysID; - - ///Insert Time - TTORATstpTimeType InsertTimeStart; - - ///Insert Time - TTORATstpTimeType InsertTimeEnd; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///长字符串附加信息 - TTORATstpBigsInfoType BInfo; - - ///短字符串附加信息 - TTORATstpShortsInfoType SInfo; - - ///整形附加信息 - TTORATstpIntInfoType IInfo; - - ///是否可撤 - TTORATstpBoolType IsCancel; - - -}; - -/// 查询撤单 -struct CTORATstpQryOrderActionField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///一个交易所的编号 - TTORATstpExchangeIDType ExchangeID; - - ///交易所下的交易市场,如沪A、沪B市场 - TTORATstpMarketIDType MarketID; - - ///客户在系统中的编号,编号唯一且遵循交易所制定的编码规则 - TTORATstpShareholderIDType ShareholderID; - - ///长字符串附加信息 - TTORATstpBigsInfoType BInfo; - - ///短字符串附加信息 - TTORATstpShortsInfoType SInfo; - - ///整形附加信息 - TTORATstpIntInfoType IInfo; - - -}; - -/// 查询成交 -struct CTORATstpQryTradeField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///合约在系统中的编号 - TTORATstpSecurityIDType SecurityID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///交易所下的交易市场,如沪A、沪B市场 - TTORATstpMarketIDType MarketID; - - ///客户在系统中的编号,编号唯一且遵循交易所制定的编码规则 - TTORATstpShareholderIDType ShareholderID; - - ///成交编号 - TTORATstpTradeIDType TradeID; - - ///Insert Time - TTORATstpTimeType TradeTimeStart; - - ///Insert Time - TTORATstpTimeType TradeTimeEnd; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - -}; - -/// 查询资金账户 -struct CTORATstpQryTradingAccountField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///币种 - TTORATstpCurrencyIDType CurrencyID; - - ///资金账户 - TTORATstpAccountIDType AccountID; - - ///1:普通,2:信用,3:衍生品 - TTORATstpAccountTypeType AccountType; - - ///经纪公司部门代码 - TTORATstpDepartmentIDType DepartmentID; - - -}; - -/// 资金账户 -struct CTORATstpTradingAccountField -{ - - ///资金账户代码 - TTORATstpAccountIDType AccountID; - - ///可用资金 - TTORATstpMoneyType Available; - - ///可取资金 - TTORATstpMoneyType WithdrawQuota; - - ///币种代码 - TTORATstpCurrencyIDType CurrencyID; - - ///入金金额 - TTORATstpMoneyType Deposit; - - ///出金金额 - TTORATstpMoneyType Withdraw; - - ///冻结的保证金 - TTORATstpMoneyType FrozenMargin; - - ///冻结的资金 - TTORATstpMoneyType FrozenCash; - - ///冻结的手续费 - TTORATstpMoneyType FrozenCommission; - - ///当前保证金总额 - TTORATstpMoneyType CurrMargin; - - ///手续费 - TTORATstpMoneyType Commission; - - ///资金账户类型 - TTORATstpAccountTypeType AccountType; - - ///资金账户所属投资者代码 - TTORATstpInvestorIDType AccountOwner; - - ///部门代码 - TTORATstpDepartmentIDType DepartmentID; - - ///银行代码 - TTORATstpBankIDType BankID; - - ///银行账户 - TTORATstpBankAccountIDType BankAccountID; - - -}; - -/// 查询投资者持仓 -struct CTORATstpQryPositionField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///交易所下的交易市场,如沪A、沪B市场 - TTORATstpMarketIDType MarketID; - - ///交易账户代码 - TTORATstpShareholderIDType ShareholderID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - -}; - -/// 投资者持仓 -struct CTORATstpPositionField -{ - - ///合约代码 - TTORATstpSecurityIDType SecurityID; - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///市场代码 - TTORATstpMarketIDType MarketID; - - ///客户代码 - TTORATstpShareholderIDType ShareholderID; - - ///交易日 - TTORATstpDateType TradingDay; - - ///昨日持仓 - TTORATstpVolumeType HistoryPos; - - ///昨日持仓冻结 - TTORATstpVolumeType HistoryPosFrozen; - - ///今日买卖持仓 - TTORATstpVolumeType TodayBSPos; - - ///今日买卖持仓冻结 - TTORATstpVolumeType TodayBSFrozen; - - ///今日申赎持仓 - TTORATstpVolumeType TodayPRPos; - - ///今日申赎持仓冻结 - TTORATstpVolumeType TodayPRFrozen; - - ///持仓成本 - TTORATstpMoneyType TotalPosCost; - - ///今日拆分合并持仓 - TTORATstpVolumeType TodaySMPos; - - ///今日拆分合并持仓冻结 - TTORATstpVolumeType TodaySMPosFrozen; - - ///融资仓位 - TTORATstpVolumeType MarginBuyPos; - - ///融券仓位 - TTORATstpVolumeType ShortSellPos; - - ///上次余额(盘中不变) - TTORATstpVolumeType PrePosition; - - ///股份可用 - TTORATstpVolumeType AvailablePosition; - - ///股份余额 - TTORATstpVolumeType CurrentPosition; - - ///最新价 - TTORATstpPriceType LastPrice; - - -}; - -/// 查询基础交易费用 -struct CTORATstpQryTradingFeeField -{ - - ///交易所代码,目前支持 SSE(上海证券交易所)和SZSE(深圳证券交易所) - TTORATstpExchangeIDType ExchangeID; - - -}; - -/// 基础交易费用 -struct CTORATstpTradingFeeField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///产品代码 - TTORATstpProductIDType ProductID; - - ///证券类别代码 - TTORATstpSecurityTypeType SecurityType; - - ///合约代码 - TTORATstpSecurityIDType SecurityID; - - ///业务类别 - TTORATstpBizClassType BizClass; - - ///印花税按金额收取比例 - TTORATstpRatioType StampTaxRatioByAmt; - - ///印花税按面值收取比例 - TTORATstpRatioType StampTaxRatioByPar; - - ///印花税按笔收取金额 - TTORATstpMoneyType StampTaxFeePerOrder; - - ///印花税最低收取金额 - TTORATstpMoneyType StampTaxFeeMin; - - ///印花税最高收取金额 - TTORATstpMoneyType StampTaxFeeMax; - - ///过户费按金额收取比例 - TTORATstpRatioType TransferRatioByAmt; - - ///过户费按面值收取比例 - TTORATstpRatioType TransferRatioByPar; - - ///过户费按笔收取金额 - TTORATstpMoneyType TransferFeePerOrder; - - ///过户费最低收取金额 - TTORATstpMoneyType TransferFeeMin; - - ///过户费最高收取金额 - TTORATstpMoneyType TransferFeeMax; - - ///经手费按金额收取比例 - TTORATstpRatioType HandlingRatioByAmt; - - ///经手费按面值收取比例 - TTORATstpRatioType HandlingRatioByPar; - - ///经手费按笔收取金额 - TTORATstpMoneyType HandlingFeePerOrder; - - ///经手费最低收取金额 - TTORATstpMoneyType HandlingFeeMin; - - ///经手费最高收取金额 - TTORATstpMoneyType HandlingFeeMax; - - ///证管费按金额收取比例 - TTORATstpRatioType RegulateRatioByAmt; - - ///证管费按面值收取比例 - TTORATstpRatioType RegulateRatioByPar; - - ///证管费按笔收取金额 - TTORATstpMoneyType RegulateFeePerOrder; - - ///证管费最低收取金额 - TTORATstpMoneyType RegulateFeeMin; - - ///证管费最高收取金额 - TTORATstpMoneyType RegulateFeeMax; - - ///过户费按数量收取金额 - TTORATstpMoneyType TransferFeeByVolume; - - ///经手费按数量收取金额 - TTORATstpMoneyType HandlingFeeByVolume; - - ///结算费按金额收取比例 - TTORATstpRatioType SettlementRatioByAmt; - - ///结算费按面值收取比例 - TTORATstpRatioType SettlementRatioByPar; - - ///结算费按笔收取金额 - TTORATstpMoneyType SettlementFeePerOrder; - - ///结算费按数量收取金额 - TTORATstpMoneyType SettlementFeeByVolume; - - ///结算费最低收取金额 - TTORATstpMoneyType SettlementFeeMin; - - ///结算费最高收取金额 - TTORATstpMoneyType SettlementFeeMax; - - -}; - -/// 查询佣金费率 -struct CTORATstpQryInvestorTradingFeeField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///交易所代码,目前支持 SSE(上海证券交易所)和SZSE(深圳证券交易所) - TTORATstpExchangeIDType ExchangeID; - - ///经纪公司部门代码 - TTORATstpDepartmentIDType DepartmentID; - - -}; - -/// 佣金费率 -struct CTORATstpInvestorTradingFeeField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///产品代码 - TTORATstpProductIDType ProductID; - - ///证券类别代码 - TTORATstpSecurityTypeType SecurityType; - - ///合约代码 - TTORATstpSecurityIDType SecurityID; - - ///业务类别 - TTORATstpBizClassType BizClass; - - ///佣金类型 - TTORATstpBrokerageTypeType BrokerageType; - - ///佣金按金额收取比例 - TTORATstpRatioType RatioByAmt; - - ///佣金按面值收取比例 - TTORATstpRatioType RatioByPar; - - ///佣金按笔收取金额 - TTORATstpMoneyType FeePerOrder; - - ///佣金最低收取金额 - TTORATstpMoneyType FeeMin; - - ///佣金最高收取金额 - TTORATstpMoneyType FeeMax; - - ///佣金按数量收取金额 - TTORATstpMoneyType FeeByVolume; - - ///经纪公司部门代码 - TTORATstpDepartmentIDType DepartmentID; - - -}; - -/// 查询新股申购额度 -struct CTORATstpQryIPOQuotaField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///市场代码 - TTORATstpMarketIDType MarketID; - - ///交易账户代码 - TTORATstpShareholderIDType ShareholderID; - - -}; - -/// 新股申购额度 -struct CTORATstpIPOQuotaField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///市场代码 - TTORATstpMarketIDType MarketID; - - ///客户代码 - TTORATstpShareholderIDType ShareholderID; - - ///可申购额度 - TTORATstpLongVolumeType MaxVolume; - - -}; - -/// 查询市场 -struct CTORATstpQryMarketField -{ - - ///交易所代码,目前支持 SSE(上海证券交易所)和SZSE(深圳证券交易所) - TTORATstpExchangeIDType ExchangeID; - - ///交易所下的交易市场,如沪A、沪B市场 - TTORATstpMarketIDType MarketID; - - -}; - -/// 市场 -struct CTORATstpMarketField -{ - - ///市场代码 - TTORATstpMarketIDType MarketID; - - ///市场名称 - TTORATstpNameType MarketName; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - -}; - -/// 查询报单明细资金 -struct CTORATstpQryOrderFundDetailField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///系统报单编号 - TTORATstpOrderSysIDType OrderSysID; - - ///Insert Time - TTORATstpTimeType InsertTimeStart; - - ///Insert Time - TTORATstpTimeType InsertTimeEnd; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - -}; - -/// 报单明细资金 -struct CTORATstpOrderFundDetailField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///合约代码 - TTORATstpSecurityIDType InstrumentID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///交易日 - TTORATstpDateType TradingDay; - - ///系统报单编号 - TTORATstpOrderSysIDType OrderSysID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///资金账户代码 - TTORATstpAccountIDType AccountID; - - ///初始冻结金额 - TTORATstpMoneyType TotalFrozen; - - ///总费用 - TTORATstpMoneyType TotalFee; - - ///印花税 - TTORATstpMoneyType StampTaxFee; - - ///经手费 - TTORATstpMoneyType HandlingFee; - - ///过户费 - TTORATstpMoneyType TransferFee; - - ///证管费 - TTORATstpMoneyType RegulateFee; - - ///佣金 - TTORATstpMoneyType BrokerageFee; - - ///结算费 - TTORATstpMoneyType SettlementFee; - - ///初始冻结费用合计 - TTORATstpMoneyType TotalFeeFrozen; - - ///报单初始冻结金额 - TTORATstpMoneyType OrderAmount; - - -}; - -/// 查询资金转移流水 -struct CTORATstpQryFundTransferDetailField -{ - - ///资金账户代码 - TTORATstpAccountIDType AccountID; - - ///币种 - TTORATstpCurrencyIDType CurrencyID; - - ///转移方向 - TTORATstpTransferDirectionType TransferDirection; - - ///经纪公司部门代码 - TTORATstpDepartmentIDType DepartmentID; - - -}; - -/// 资金转移流水 -struct CTORATstpFundTransferDetailField -{ - - ///转账流水号 - TTORATstpSerialType FundSerial; - - ///申请流水号 - TTORATstpExternalSerialType ApplySerial; - - ///前置编号 - TTORATstpFrontIDType FrontID; - - ///会话编号 - TTORATstpSessionIDType SessionID; - - ///资金账户代码 - TTORATstpAccountIDType AccountID; - - ///币种 - TTORATstpCurrencyIDType CurrencyID; - - ///转移方向 - TTORATstpTransferDirectionType TransferDirection; - - ///出入金金额 - TTORATstpMoneyType Amount; - - ///转移状态 - TTORATstpTransferStatusType TransferStatus; - - ///操作来源 - TTORATstpOperateSourceType OperateSource; - - ///操作人员 - TTORATstpUserIDType OperatorID; - - ///操作日期 - TTORATstpDateType OperateDate; - - ///操作时间 - TTORATstpTimeType OperateTime; - - ///状态信息 - TTORATstpErrorMsgType StatusMsg; - - ///经纪公司部门代码 - TTORATstpDepartmentIDType DepartmentID; - - ///银行代码 - TTORATstpBankIDType BankID; - - ///签约银行账户 - TTORATstpBankAccountIDType BankAccountID; - - -}; - -/// 查询持仓转移流水 -struct CTORATstpQryPositionTransferDetailField -{ - - ///目前该字段存放的是上证所和深圳的股东代码。 - TTORATstpShareholderIDType ShareholderID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///转移方向 - TTORATstpTransferDirectionType TransferDirection; - - -}; - -/// 持仓转移流水 -struct CTORATstpPositionTransferDetailField -{ - - ///流水号 - TTORATstpSerialType PositionSerial; - - ///申请流水号 - TTORATstpExternalSerialType ApplySerial; - - ///前置编号 - TTORATstpFrontIDType FrontID; - - ///会话编号 - TTORATstpSessionIDType SessionID; - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///交易账户代码 - TTORATstpShareholderIDType ShareholderID; - - ///市场代码 - TTORATstpMarketIDType MarketID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///交易日期 - TTORATstpDateType TradingDay; - - ///转移方向 - TTORATstpTransferDirectionType TransferDirection; - - ///转移持仓类型 - TTORATstpTransferPositionTypeType TransferPositionType; - - ///转移状态 - TTORATstpTransferStatusType TransferStatus; - - ///昨日仓位数量 - TTORATstpVolumeType HistoryVolume; - - ///今日买卖仓位数量 - TTORATstpVolumeType TodayBSVolume; - - ///今日申赎仓位数量 - TTORATstpVolumeType TodayPRVolume; - - ///操作人员 - TTORATstpUserIDType OperatorID; - - ///操作日期 - TTORATstpDateType OperateDate; - - ///操作时间 - TTORATstpTimeType OperateTime; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///状态信息 - TTORATstpErrorMsgType StatusMsg; - - -}; - -/// 查询投资者质押持仓 -struct CTORATstpQryPledgePositionField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///交易所下的交易市场,如沪A、沪B市场 - TTORATstpMarketIDType MarketID; - - ///交易账户代码 - TTORATstpShareholderIDType ShareholderID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - -}; - -/// 投资者质押持仓 -struct CTORATstpPledgePositionField -{ - - ///合约代码 - TTORATstpSecurityIDType SecurityID; - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///市场代码 - TTORATstpMarketIDType MarketID; - - ///客户代码 - TTORATstpShareholderIDType ShareholderID; - - ///交易日 - TTORATstpDateType TradingDay; - - ///昨日质押持仓 - TTORATstpVolumeType HisPledgePos; - - ///昨日质押持仓冻结 - TTORATstpVolumeType HisPledgePosFrozen; - - ///今日入库的质押持仓 - TTORATstpVolumeType TodayPledgePos; - - ///今日入库的质押持仓冻结 - TTORATstpVolumeType TodayPledgePosFrozen; - - ///昨日质押入库的现券总量 - TTORATstpVolumeType PreTotalPledgePos; - - ///昨日质押入库的现券可用数量 - TTORATstpVolumeType preAvailablePledgePos; - - -}; - -/// 查询证券质押信息 -struct CTORATstpQryPledgeInfoField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - -}; - -/// 证券质押信息 -struct CTORATstpPledgeInfoField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///市场代码 - TTORATstpMarketIDType MarketID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///质押申报代码 - TTORATstpSecurityIDType PledgeOrderID; - - ///标准券代码 - TTORATstpSecurityIDType StandardBondID; - - ///是否可入库 - TTORATstpBoolType AllowPledgeIn; - - ///是否可出库 - TTORATstpBoolType AllowPledgeOut; - - ///标准券折算率/折算值 - TTORATstpRatioType ConversionRate; - - ///每次可以入库的最小交易单位 - TTORATstpTradingUnitType PledgeInTradingUnit; - - ///每次可以出库的最小交易单位 - TTORATstpTradingUnitType PledgeOutTradingUnit; - - ///证券可以入库的最大数量 - TTORATstpVolumeType PledgeInVolMax; - - ///证券可以入库的最小数量 - TTORATstpVolumeType PledgeInVolMin; - - ///证券可以出库的最大数量 - TTORATstpVolumeType PledgeOutVolMax; - - ///证券可以出库的最小数量 - TTORATstpVolumeType PledgeOutVolMin; - - ///当日质押入库的质押券是否能出库 - TTORATstpBoolType IsTodayToPlegeOut; - - ///是否可撤单 - TTORATstpBoolType IsCancelOrder; - - -}; - -/// 查询可转债信息 -struct CTORATstpQryConversionBondInfoField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - -}; - -/// 可转债信息 -struct CTORATstpConversionBondInfoField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///市场代码 - TTORATstpMarketIDType MarketID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///转股申报代码 - TTORATstpSecurityIDType ConvertOrderID; - - ///转股价格 - TTORATstpPriceType ConvertPrice; - - ///每次可以转股最小交易单位 - TTORATstpTradingUnitType ConvertVolUnit; - - ///证券可以转股的最大数量 - TTORATstpVolumeType ConvertVolMax; - - ///证券可以转股的最小数量 - TTORATstpVolumeType ConvertVolMin; - - ///转股开始日期 - TTORATstpDateType BeginDate; - - ///转股截至日期 - TTORATstpDateType EndDate; - - ///是否可撤单 - TTORATstpBoolType IsSupportCancel; - - -}; - -/// 查询债券回售信息 -struct CTORATstpQryBondPutbackInfoField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - -}; - -/// 债券回售信息 -struct CTORATstpBondPutbackInfoField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///市场代码 - TTORATstpMarketIDType MarketID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///回售申报代码 - TTORATstpSecurityIDType PutbackOrderID; - - ///回售价格 - TTORATstpPriceType PutbackPrice; - - ///每次可以回售最小交易单位 - TTORATstpTradingUnitType PutbackVolUnit; - - ///债券可以回售的最大数量 - TTORATstpVolumeType PutbackVolMax; - - ///债券可以回售的最小数量 - TTORATstpVolumeType PutbackVolMin; - - ///回售开始日期 - TTORATstpDateType BeginDate; - - ///回售截至日期 - TTORATstpDateType EndDate; - - ///是否可撤单 - TTORATstpBoolType IsSupportCancel; - - -}; - -/// 查询投资者标准券额度 -struct CTORATstpQryStandardBondPositionField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///交易所下的交易市场,如沪A、沪B市场 - TTORATstpMarketIDType MarketID; - - ///交易账户代码 - TTORATstpShareholderIDType ShareholderID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - -}; - -/// 投资者标准券额度 -struct CTORATstpStandardBondPositionField -{ - - ///合约代码 - TTORATstpSecurityIDType SecurityID; - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///市场代码 - TTORATstpMarketIDType MarketID; - - ///客户代码 - TTORATstpShareholderIDType ShareholderID; - - ///交易日 - TTORATstpDateType TradingDay; - - ///标准券可用额度 - TTORATstpPositionVolumeType AvailablePosition; - - ///标准券可用额度冻结 - TTORATstpPositionVolumeType AvailablePosFrozen; - - ///标准券额度总量 - TTORATstpPositionVolumeType TotalPosition; - - -}; - -/// 查询指定交易登记&撤销报单 -struct CTORATstpQryDesignationRegistrationField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///目前该字段存放的是上证所和深圳的股东代码。 - TTORATstpShareholderIDType ShareholderID; - - ///全系统的唯一报单编号。16位,1-2位为交易所标识,3-5位为经纪公司代码,6-8位为交易单元标识,后面8位为流水号。 - TTORATstpOrderSysIDType OrderSysID; - - ///Insert Time - TTORATstpTimeType InsertTimeStart; - - ///Insert Time - TTORATstpTimeType InsertTimeEnd; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - -}; - -/// 指定交易登记&撤销报单 -struct CTORATstpDesignationRegistrationField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///用户代码 - TTORATstpUserIDType UserID; - - ///买卖方向 - TTORATstpDesignationTypeType DesignationType; - - ///本地报单编号 - TTORATstpOrderLocalIDType OrderLocalID; - - ///客户代码 - TTORATstpShareholderIDType ShareholderID; - - ///交易单元代码 - TTORATstpPbuIDType PbuID; - - ///报单提交状态 - TTORATstpOrderSubmitStatusType OrderSubmitStatus; - - ///交易日 - TTORATstpDateType TradingDay; - - ///报单编号 - TTORATstpOrderSysIDType OrderSysID; - - ///报单状态 - TTORATstpOrderStatusType OrderStatus; - - ///报单日期 - TTORATstpDateType InsertDate; - - ///委托时间 - TTORATstpTimeType InsertTime; - - ///状态信息 - TTORATstpErrorMsgType StatusMsg; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///资金账户代码 - TTORATstpAccountIDType AccountID; - - ///币种 - TTORATstpCurrencyIDType CurrencyID; - - ///经纪公司部门代码 - TTORATstpDepartmentIDType DepartmentID; - - -}; - -/// 深证转托管报单表 -struct CTORATstpQryCustodyTransferField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///目前该字段存放的是上证所和深圳的股东代码。 - TTORATstpShareholderIDType ShareholderID; - - ///全系统的唯一报单编号。16位,1-2位为交易所标识,3-5位为经纪公司代码,6-8位为交易单元标识,后面8位为流水号。 - TTORATstpOrderSysIDType OrderSysID; - - ///Insert Time - TTORATstpTimeType InsertTimeStart; - - ///Insert Time - TTORATstpTimeType InsertTimeEnd; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - -}; - -/// 转托管报单表 -struct CTORATstpCustodyTransferField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///用户代码 - TTORATstpUserIDType UserID; - - ///转托管类型 - TTORATstpCustodyTransferTypeType CustodyTransferType; - - ///本地报单编号 - TTORATstpOrderLocalIDType OrderLocalID; - - ///客户代码 - TTORATstpShareholderIDType ShareholderID; - - ///交易单元代码 - TTORATstpPbuIDType PbuID; - - ///报单提交状态 - TTORATstpOrderSubmitStatusType OrderSubmitStatus; - - ///交易日 - TTORATstpDateType TradingDay; - - ///报单编号 - TTORATstpOrderSysIDType OrderSysID; - - ///报单状态 - TTORATstpOrderStatusType OrderStatus; - - ///报单日期 - TTORATstpDateType InsertDate; - - ///委托时间 - TTORATstpTimeType InsertTime; - - ///状态信息 - TTORATstpErrorMsgType StatusMsg; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///资金账户代码 - TTORATstpAccountIDType AccountID; - - ///币种 - TTORATstpCurrencyIDType CurrencyID; - - ///经纪公司部门代码 - TTORATstpDepartmentIDType DepartmentID; - - ///转入交易单元代码 - TTORATstpPbuIDType TransfereePbuID; - - ///合约代码 - TTORATstpSecurityIDType SecurityID; - - ///本地撤单编号,被主动撤单的转托管的原始编号 - TTORATstpOrderLocalIDType OrignalOrderLocalID; - - ///报单数量 - TTORATstpVolumeType VolumeTotalOriginal; - - ///撤销时间 - TTORATstpTimeType CancelTime; - - ///撤销交易单元代码 - TTORATstpPbuIDType ActiveTraderID; - - ///撤销操作员 - TTORATstpUserIDType ActiveUserID; - - -}; - -/// 查询实时特别行情 -struct CTORATstpQrySpecialMarketDataField -{ - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///交易所代码,目前支持 SSE(上海证券交易所)和SZSE(深圳证券交易所) - TTORATstpExchangeIDType ExchangeID; - - -}; - -/// 实时特别行情 -struct CTORATstpSpecialMarketDataField -{ - - ///交易日 - TTORATstpDateType TradingDay; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///合约代码 - TTORATstpSecurityIDType SecurityID; - - ///证券名称 - TTORATstpSecurityNameType SecurityName; - - ///移动平均价 - TTORATstpPriceType MovingAvgPrice; - - ///移动平均价的采样数量 - TTORATstpVolumeType MovingAvgPriceSamplingNum; - - ///最后修改时间 - TTORATstpTimeType UpdateTime; - - ///最后修改毫秒 - TTORATstpMillisecType UpdateMillisec; - - -}; - -/// 查询未到期债券质押回购委托 -struct CTORATstpQryPrematurityRepoOrderField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///交易所下的交易市场,如沪A、沪B市场 - TTORATstpMarketIDType MarketID; - - ///交易账户代码 - TTORATstpShareholderIDType ShareholderID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///报单编号 - TTORATstpOrderLocalIDType OrderLocalID; - - ///证券品种代码 - TTORATstpProductIDType ProductID; - - ///证券类别代码 - TTORATstpSecurityTypeType SecurityType; - - ///报单类别 - TTORATstpDirectionType Direction; - - ///成交编号 - TTORATstpTradeIDType TradeID; - - -}; - -/// 未到期债券质押回购委托 -struct CTORATstpPrematurityRepoOrderField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///市场代码 - TTORATstpMarketIDType MarketID; - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///交易账户代码 - TTORATstpShareholderIDType ShareholderID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///成交日期 - TTORATstpDateType TradeDay; - - ///到期日期 - TTORATstpDateType ExpireDay; - - ///报单编号 - TTORATstpOrderLocalIDType OrderLocalID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///证券名称 - TTORATstpSecurityNameType SecurityName; - - ///证券品种代码 - TTORATstpProductIDType ProductID; - - ///证券类别代码 - TTORATstpSecurityTypeType SecurityType; - - ///报单类别 - TTORATstpDirectionType Direction; - - ///成交数量 - TTORATstpVolumeType VolumeTraded; - - ///成交价格 - TTORATstpPriceType Price; - - ///成交金额 - TTORATstpMoneyType Turnover; - - ///成交编号 - TTORATstpTradeIDType TradeID; - - ///购回应收金额 - TTORATstpMoneyType RepoTotalMoney; - - ///利息金额 - TTORATstpMoneyType InterestAmount; - - -}; - -/// 查询股东参数 -struct CTORATstpQryShareholderParamField -{ - - ///市场代码 - TTORATstpMarketIDType MarketID; - - ///股东账户代码 - TTORATstpShareholderIDType ShareholderID; - - ///普通,信用,衍生品等 - TTORATstpClientIDTypeType TradingCodeClass; - - ///产品类别 - TTORATstpProductIDType ProductID; - - ///证券类别 - TTORATstpSecurityTypeType SecurityType; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///参数类型 - TTORATstpParamTypeType ParamType; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - -}; - -/// 股东参数 -struct CTORATstpShareholderParamField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///市场代码 - TTORATstpMarketIDType MarketID; - - ///交易账户代码 - TTORATstpShareholderIDType ShareholderID; - - ///账户类型 - TTORATstpClientIDTypeType TradingCodeClass; - - ///证券品种 - TTORATstpProductIDType ProductID; - - ///证券类别 - TTORATstpSecurityTypeType SecurityType; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///股东参数类型 - TTORATstpParamTypeType ParamType; - - ///股东参数值 - TTORATstpParameterCharValType ParamValue; - - -}; - -/// 查询外围系统仓位调拨流水 -struct CTORATstpQryPeripheryPositionTransferDetailField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///现货系统交易账户代码 - TTORATstpShareholderIDType ShareholderID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///仓位调拨方向 - TTORATstpTransferDirectionType TransferDirection; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - -}; - -/// 查询投资者条件单限制参数 -struct CTORATstpQryInvestorCondOrderLimitParamField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - -}; - -/// 投资者条件单限制参数 -struct CTORATstpInvestorCondOrderLimitParamField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///最大条件单数 - TTORATstpVolumeType MaxCondOrderLimitCnt; - - ///当前条件单数 - TTORATstpVolumeType CurrCondOrderCnt; - - -}; - -/// 查询条件单 -struct CTORATstpQryCondOrderField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///交易所代码,目前支持 SSE(上海证券交易所)和SZSE(深圳证券交易所) - TTORATstpExchangeIDType ExchangeID; - - ///客户在系统中的编号,编号唯一且遵循交易所制定的编码规则 - TTORATstpShareholderIDType ShareholderID; - - ///报单编号 - TTORATstpCondOrderIDType CondOrderID; - - ///Insert Time - TTORATstpTimeType InsertTimeStart; - - ///Insert Time - TTORATstpTimeType InsertTimeEnd; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///长字符串附加信息 - TTORATstpBigsInfoType BInfo; - - ///短字符串附加信息 - TTORATstpShortsInfoType SInfo; - - ///整形附加信息 - TTORATstpIntInfoType IInfo; - - -}; - -/// 条件单 -struct CTORATstpCondOrderField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///股东账户代码 - TTORATstpShareholderIDType ShareholderID; - - ///合约代码 - TTORATstpSecurityIDType SecurityID; - - ///买卖方向 - TTORATstpDirectionType Direction; - - ///条件单价格类型 - TTORATstpOrderPriceTypeType OrderPriceType; - - ///条件单数量类型 - TTORATstpOrderVolumeTypeType OrderVolumeType; - - ///有效期类型 - TTORATstpTimeConditionType TimeCondition; - - ///成交量类型 - TTORATstpVolumeConditionType VolumeCondition; - - ///报单价格 - TTORATstpPriceType LimitPrice; - - ///报单数量 - TTORATstpVolumeType VolumeTotalOriginal; - - ///组合开平标志 - TTORATstpCombOffsetFlagType CombOffsetFlag; - - ///组合投机套保标志 - TTORATstpCombHedgeFlagType CombHedgeFlag; - - ///条件报单引用 - TTORATstpOrderRefType CondOrderRef; - - ///资金账户代码 - TTORATstpAccountIDType AccountID; - - ///用户代码 - TTORATstpUserIDType UserID; - - ///请求编号 - TTORATstpRequestIDType RequestID; - - ///IP地址 - TTORATstpIPAddressType IPAddress; - - ///Mac地址 - TTORATstpMacAddressType MacAddress; - - ///条件报单编号 - TTORATstpCondOrderIDType CondOrderID; - - ///终端信息 - TTORATstpTerminalInfoType TerminalInfo; - - ///长字符串附加信息 - TTORATstpBigsInfoType BInfo; - - ///短字符串附加信息 - TTORATstpShortsInfoType SInfo; - - ///整形附加信息 - TTORATstpIntInfoType IInfo; - - ///委托方式 - TTORATstpOperwayType Operway; - - ///条件检查 - TTORATstpCondCheckType CondCheck; - - ///触发条件 - TTORATstpContingentConditionType ContingentCondition; - - ///条件价 - TTORATstpPriceType ConditionPrice; - - ///价格浮动tick数 - TTORATstpVolumeType PriceTicks; - - ///数量浮动倍数 - TTORATstpVolumeMultipleType VolumeMultiple; - - ///相关前置编号 - TTORATstpFrontIDType RelativeFrontID; - - ///相关会话编号 - TTORATstpSessionIDType RelativeSessionID; - - ///相关条件参数 - TTORATstpRelativeCondParamType RelativeParam; - - ///附加触发条件 - TTORATstpContingentConditionType AppendContingentCondition; - - ///附加条件价 - TTORATstpPriceType AppendConditionPrice; - - ///附加相关前置编号 - TTORATstpFrontIDType AppendRelativeFrontID; - - ///附加相关会话编号 - TTORATstpSessionIDType AppendRelativeSessionID; - - ///附加相关条件参数 - TTORATstpRelativeCondParamType AppendRelativeParam; - - ///交易日 - TTORATstpDateType TradingDay; - - ///条件单状态 - TTORATstpCondOrderStatusType CondOrderStatus; - - ///报单日期 - TTORATstpDateType InsertDate; - - ///委托时间 - TTORATstpTimeType InsertTime; - - ///撤销时间 - TTORATstpTimeType CancelTime; - - ///撤销用户 - TTORATstpUserIDType CancelUser; - - ///前置编号 - TTORATstpFrontIDType FrontID; - - ///会话编号 - TTORATstpSessionIDType SessionID; - - ///用户端产品信息 - TTORATstpProductInfoType UserProductInfo; - - ///状态信息 - TTORATstpErrorMsgType StatusMsg; - - ///经纪公司部门代码 - TTORATstpDepartmentIDType DepartmentID; - - ///适当性控制业务类别 - TTORATstpProperCtrlBusinessTypeType ProperCtrlBusinessType; - - ///适当性控制通过标示 - TTORATstpProperCtrlPassFlagType ProperCtrlPassFlag; - - ///触发日期 - TTORATstpDateType ActiveDate; - - ///触发时间 - TTORATstpTimeType ActiveTime; - - -}; - -/// 查询条件单撤单 -struct CTORATstpQryCondOrderActionField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///一个交易所的编号 - TTORATstpExchangeIDType ExchangeID; - - ///股东账户代码 - TTORATstpShareholderIDType ShareholderID; - - ///长字符串附加信息 - TTORATstpBigsInfoType BInfo; - - ///短字符串附加信息 - TTORATstpShortsInfoType SInfo; - - ///整形附加信息 - TTORATstpIntInfoType IInfo; - - -}; - -/// 条件单撤单 -struct CTORATstpCondOrderActionField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///请求编号 - TTORATstpRequestIDType RequestID; - - ///条件单操作引用 - TTORATstpOrderRefType CondOrderActionRef; - - ///条件单引用 - TTORATstpOrderRefType CondOrderRef; - - ///前置编号 - TTORATstpFrontIDType FrontID; - - ///会话编号 - TTORATstpSessionIDType SessionID; - - ///条件单编号 - TTORATstpCondOrderIDType CondOrderID; - - ///操作标志 - TTORATstpActionFlagType ActionFlag; - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///合约代码 - TTORATstpSecurityIDType SecurityID; - - ///用户代码 - TTORATstpUserIDType UserID; - - ///条件单撤单编号 - TTORATstpCondOrderIDType CancelCondOrderID; - - ///IP地址 - TTORATstpIPAddressType IPAddress; - - ///MAC地址 - TTORATstpMacAddressType MacAddress; - - ///终端信息 - TTORATstpTerminalInfoType TerminalInfo; - - ///长字符串附加信息 - TTORATstpBigsInfoType BInfo; - - ///短字符串附加信息 - TTORATstpShortsInfoType SInfo; - - ///整形附加信息 - TTORATstpIntInfoType IInfo; - - ///委托方式 - TTORATstpOperwayType Operway; - - ///投资单元代码 - TTORATstpBusinessUnitIDType BusinessUnitID; - - ///股东账户代码 - TTORATstpShareholderIDType ShareholderID; - - ///操作日期 - TTORATstpDateType ActionDate; - - ///操作时间 - TTORATstpTimeType ActionTime; - - -}; - -/// 查询BrokerUserRole -struct CTORATstpQryBrokerUserRoleField -{ - - ///角色编号 - TTORATstpRoleIDType RoleID; - - -}; - -/// BrokerUserRole -struct CTORATstpBrokerUserRoleField -{ - - ///角色编号 - TTORATstpRoleIDType RoleID; - - ///角色描述 - TTORATstpRoleDescriptionType RoleDescription; - - ///功能权限集合 - TTORATstpFunctionsType Functions; - - -}; - -/// 查询BrokerUserRoleAssignment -struct CTORATstpQryBrokerUserRoleAssignmentField -{ - - ///交易用户代码 - TTORATstpUserIDType UserID; - - -}; - -/// BrokerUserRoleAssignment -struct CTORATstpBrokerUserRoleAssignmentField -{ - - ///用户代码 - TTORATstpUserIDType UserID; - - ///角色编号 - TTORATstpRoleIDType RoleID; - - ///角色描述 - TTORATstpRoleDescriptionType RoleDescription; - - -}; - -/// 查询交易通知 -struct CTORATstpQryTradingNoticeField -{ - - ///投资者代码 - TTORATstpInvestorIDType InvestorID; - - ///Insert Date - TTORATstpDateType InsertDateStart; - - ///Insert Date - TTORATstpDateType InsertDateEnd; - - ///Insert Time - TTORATstpTimeType InsertTimeStart; - - ///Insert Time - TTORATstpTimeType InsertTimeEnd; - - -}; - -/// 查询新股申购配号结果 -struct CTORATstpQryIPONumberResultField -{ - - ///申购代码 - TTORATstpSecurityIDType SecurityID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///股东代码 - TTORATstpShareholderIDType ShareholderID; - - -}; - -/// 新股申购配号结果 -struct CTORATstpIPONumberResultField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///日期 - TTORATstpDateType Day; - - ///申购证券名称 - TTORATstpSecurityNameType SecurityName; - - ///股东代码 - TTORATstpShareholderIDType ShareholderID; - - ///证券类别代码 - TTORATstpSecurityTypeType SecurityType; - - ///起始配号 - TTORATstpIPONumberIDType BeginNumberID; - - ///配号数量 - TTORATstpVolumeType Volume; - - -}; - -/// 查询新股申购中签结果 -struct CTORATstpQryIPOMatchNumberResultField -{ - - ///申购代码 - TTORATstpSecurityIDType SecurityID; - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///股东代码 - TTORATstpShareholderIDType ShareholderID; - - ///中签配号 - TTORATstpIPONumberIDType MatchNumberID; - - -}; - -/// 新股申购中签结果 -struct CTORATstpIPOMatchNumberResultField -{ - - ///交易所代码 - TTORATstpExchangeIDType ExchangeID; - - ///证券代码 - TTORATstpSecurityIDType SecurityID; - - ///日期 - TTORATstpDateType Day; - - ///申购证券名称 - TTORATstpSecurityNameType SecurityName; - - ///股东代码 - TTORATstpShareholderIDType ShareholderID; - - ///证券类别代码 - TTORATstpSecurityTypeType SecurityType; - - ///中签配号 - TTORATstpIPONumberIDType MatchNumberID; - - ///此中签号拥有的证券数量 - TTORATstpVolumeType Volume; - - ///申购价格 - TTORATstpPriceType Price; - - ///申购金额 - TTORATstpMoneyType Amout; - - -}; - -#endif \ No newline at end of file diff --git a/vnpy/api/tora/vntora/include/autocxxpy/additional_init.hpp b/vnpy/api/tora/vntora/include/autocxxpy/additional_init.hpp deleted file mode 100644 index 0aba0ae4d2..0000000000 --- a/vnpy/api/tora/vntora/include/autocxxpy/additional_init.hpp +++ /dev/null @@ -1,17 +0,0 @@ -#pragma once - -namespace autocxxpy -{ - struct additional_init_default - { - //static void init(pybind11::module &m) - template - inline static void init(T&m) - { - } - }; - - template - struct additional_init : additional_init_default - {}; -} diff --git a/vnpy/api/tora/vntora/include/autocxxpy/autocxxpy.hpp b/vnpy/api/tora/vntora/include/autocxxpy/autocxxpy.hpp deleted file mode 100644 index d5c57ed081..0000000000 --- a/vnpy/api/tora/vntora/include/autocxxpy/autocxxpy.hpp +++ /dev/null @@ -1,12 +0,0 @@ -#pragma once - - -#include "brigand.hpp" -#include "dispatcher.hpp" -#include "property_helper.hpp" -#include "calling_wrapper.hpp" -#include "callback_wrapper.hpp" -#include "additional_init.hpp" -#include "casters.hpp" -#include "class.hpp" -#include "cross_assign.hpp" diff --git a/vnpy/api/tora/vntora/include/autocxxpy/base/check.h b/vnpy/api/tora/vntora/include/autocxxpy/base/check.h deleted file mode 100644 index e04d099306..0000000000 --- a/vnpy/api/tora/vntora/include/autocxxpy/base/check.h +++ /dev/null @@ -1,11 +0,0 @@ -#pragma once - -namespace autocxxpy -{ - template - constexpr bool check_not_out_of_bound() - { - static_assert(index < size, "out of bound!"); - return index < size; - } -} \ No newline at end of file diff --git a/vnpy/api/tora/vntora/include/autocxxpy/base/type.h b/vnpy/api/tora/vntora/include/autocxxpy/base/type.h deleted file mode 100644 index 420e726cc5..0000000000 --- a/vnpy/api/tora/vntora/include/autocxxpy/base/type.h +++ /dev/null @@ -1,20 +0,0 @@ -#pragma once - -#include - -namespace autocxxpy -{ - template - using literal_array = element[size]; - - - // specialization for char[] - template - using string_literal = literal_array; - - template - using const_string_literal = literal_array; - - template - using function_constant = std::integral_constant; -} \ No newline at end of file diff --git a/vnpy/api/tora/vntora/include/autocxxpy/brigand.hpp b/vnpy/api/tora/vntora/include/autocxxpy/brigand.hpp deleted file mode 100644 index 1005172c01..0000000000 --- a/vnpy/api/tora/vntora/include/autocxxpy/brigand.hpp +++ /dev/null @@ -1,6 +0,0 @@ -#pragma once - -#ifndef BRIGAND_NO_BOOST_SUPPORT -#define BRIGAND_NO_BOOST_SUPPORT -#endif -#include diff --git a/vnpy/api/tora/vntora/include/autocxxpy/callback_wrapper.hpp b/vnpy/api/tora/vntora/include/autocxxpy/callback_wrapper.hpp deleted file mode 100644 index 685b2156da..0000000000 --- a/vnpy/api/tora/vntora/include/autocxxpy/callback_wrapper.hpp +++ /dev/null @@ -1,361 +0,0 @@ -#pragma once - -#include -#include -#include -#include - -#include "./brigand.hpp" - -#include "./utils/functional.hpp" -#include "./dispatcher.hpp" -#include "./config/config.hpp" -#include "./wrappers/string_array.hpp" - -namespace autocxxpy -{ - - /* - example to change the callback method: - - @startcode cpp - // switch async/direct - template <> - struct callback_type_of(&A::func2)> - { - const static callback_type value = callback_type::Direct; - }; - - - // rewrite the whole function - template<> - struct callback_wrapper(&A::func2)> - { - inline static void call(A *instance, const char *py_func_name, float) - { - constexpr auto method = static_cast(&A::func2); - default_callback_wrapper::call(instance, 1); - (instance->*method)(1); - std::cout << "wrapped!" << std::endl; - } - }; - @endcode - - example to change the calling method: - - @startcode pp - template <> - struct calling_wrapper<&A::func2> - { - static constexpr auto value = [](){return 1;}; - }; - @endcode - - */ - enum class callback_type - { - Direct = 0, - Async = 1 - }; - - - template - struct default_callback_type_of - { - const static callback_type value = callback_type::Async; - }; - template - struct callback_type_of : default_callback_type_of {}; - - template - constexpr callback_type callback_type_of_v = callback_type_of::value; - -#ifdef AUTOCXXPY_INCLUDED_PYBIND11 - template - struct pybind11_static_caster { - static pybind11::detail::overload_caster_t caster; - }; - - template - AUTOCXXPY_SELECT_ANY pybind11::detail::overload_caster_t pybind11_static_caster::caster; - - struct async_dispatch_exception : public std::exception - { - async_dispatch_exception(const char *what, const pybind11::object &instance, std::string function_name) - : std::exception(what), instance(instance), function_name(function_name) - {} - pybind11::object instance; - std::string function_name; - - // mutable version of what() for pybind11 to make it happy - inline const char* what_mutable() noexcept - { - return std::exception::what(); - } - }; - - struct async_callback_exception_handler - { - using handler_type = std::function; - static handler_type custom_handler; - - inline static void handle_excepiton(const async_dispatch_exception&e) - { - if (custom_handler) - { - try - { - custom_handler(e); - } - catch (pybind11::error_already_set & e2) - { - std::cerr << "error while calling custom async callback exception handler:" << std::endl; - std::cerr << e2.what() << std::endl; - std::cerr << "while handling following exception:" << std::endl; - std::cerr << e.what() << std::endl; - } - } - else - { - std::cerr << e.what() << std::endl; - std::cerr << "custom async callback exception handler not set." << std::endl; - std::cerr << "Call set_async_callback_exception_handler() to set it. " << std::endl; - } - } - - inline static void set_handler(const handler_type& handler) - { - custom_handler = handler; - } - }; - - AUTOCXXPY_SELECT_ANY async_callback_exception_handler::handler_type async_callback_exception_handler::custom_handler; -#endif - - namespace arg_helper - { - ////////////////////////////////////////////////////////////////////////// - // stores - ////////////////////////////////////////////////////////////////////////// - - // # todo: char8, char16, char32, wchar_t, etc... - // # todo: shall i copy only const type, treating non-const type as output pointer? - inline std::optional save(const char* val) - { // match const char * - if (nullptr == val) AUTOCXXPY_UNLIKELY - return std::nullopt; // maybe empty string is also a choice? - return std::string(val); - } - inline std::optional save(char* val) - { // match char * - if (nullptr == val) AUTOCXXPY_UNLIKELY - return std::nullopt; // maybe empty string is also a choice? - return std::string(val); - } - template - inline auto save(const string_array val) - { // match const char [] - return std::string(val); - } - template - inline auto save(string_array val) - { // match char [] - return std::string(val); - } - - template - inline std::optional save(T * val) - { // match pointer - if (nullptr == val) AUTOCXXPY_UNLIKELY - { - return std::nullopt; - } - return *val; - } - - template - inline std::optional save(const T * val) - { // match const pointer - if (nullptr == val) AUTOCXXPY_UNLIKELY - { - return std::nullopt; - } - return *val; - } - - template - inline T save(const T & val) - { // match everything else : just use original type - return val; - } - - - ////////////////////////////////////////////////////////////////////////// - // loads - ////////////////////////////////////////////////////////////////////////// - - template - struct loader - { // match default(everyting besides pointer) - template - inline to_type operator ()(src_type& val) - { - return val; - } - }; - - template - struct loader> - { // match const char [] - using to_type = const char*; - inline to_type operator ()(const std::string& val) - { - return const_cast(val.data()); - } - }; - - template - struct loader> - { // match char [] - using to_type = char*; - inline to_type operator ()(const std::string& val) - { - return const_cast(val.data()); - } - }; - - template <> - struct loader - { // match const char * - using to_type = const char*; - inline to_type operator ()(const std::optional& val) - { - if (val) AUTOCXXPY_LIKELY - return const_cast(val->data()); - return nullptr; - } - }; - - template <> - struct loader - { // match char * - using to_type = char*; - inline to_type operator ()(const std::optional& val) - { - if (val) AUTOCXXPY_LIKELY - return const_cast(val->data()); - return nullptr; - } - }; - - template - struct loader - { // match pointer - template - inline to_type* operator ()(const std::optional& val) - { // val to poiner - if (val) AUTOCXXPY_LIKELY - return const_cast(&(*val)); - return nullptr; - } - }; - - }; - - - template - struct default_callback_wrapper - { - using ret_type = value_invoke_result_t; - using class_type = class_of_member_method_t; - public: - template - inline static ret_type call(class_type* instance, const char* py_func_name, arg_types ... args) - { - if constexpr (callback_type_of_v == callback_type::Direct) - { - return sync(instance, args ...); - } - else - { - async(instance, py_func_name, args ...); - static_assert(std::is_void_v || std::is_default_constructible_v, - "type is not default_constructiblev, you should use sync call instead."); - return ret_type(); // if ret_type() is not constructable, this will make compiler unhappy - } - } - - template - inline static void async(class_type* instance, const char* py_func_name, arg_types ... args) - { - return async_impl(instance, py_func_name, std::index_sequence_for{}, args ...); - } - - template - inline static ret_type sync(class_type * instance, const char* py_func_name, arg_types ... args) - { - // if this code is under test environment, we don't need pybind11 - // since header of pybind11 use #pragma once, no macros is defined, we use a public macro to check if pybind11 is included or not -#ifdef PYBIND11_OVERLOAD_NAME - pybind11::gil_scoped_acquire gil; - pybind11::function overload = pybind11::get_overload(static_cast(instance), py_func_name); - if (overload) AUTOCXXPY_LIKELY{ - try - { - auto result = overload(args ...); - if (pybind11::detail::cast_is_temporary_value_reference::value) - { - auto& caster = pybind11_static_caster::caster; - return pybind11::detail::cast_ref(std::move(result), caster); - } - else - { - return pybind11::detail::cast_safe(std::move(result)); - } - } - catch (const pybind11::error_already_set & e) - { - // todo: option to not to throw when sync is called directly - throw async_dispatch_exception(e.what(), pybind11::cast(instance), py_func_name); - } - } -#endif - return (instance->*method)(args ...); - } - private: - template - inline static void async_impl(class_type * instance, const char* py_func_name, std::index_sequence, arg_types ... args) - { - // wrap for ctp like function calls: - // all the pointer might be unavailable after this call, so copy its value into a tuple - auto arg_tuple = std::make_tuple(arg_helper::save(args) ...); - auto task = [instance, py_func_name, arg_tuple = std::move(arg_tuple)]() - { -#ifdef AUTOCXXPY_INCLUDED_PYBIND11 - try - { -#endif - // resolve all value: - // if it was originally a pointer, then use pointer type. - // if it was originally a value, just keep a reference to that value. - sync( - instance, py_func_name, - arg_helper::loader, brigand::integral_constant > >{} - (std::get(arg_tuple)) ... - ); -#ifdef AUTOCXXPY_INCLUDED_PYBIND11 - } - catch (const async_dispatch_exception &e) - { - async_callback_exception_handler::handle_excepiton(e); - } -#endif - }; - dispatcher::instance().add(std::move(task)); - } - }; - - template - struct callback_wrapper : default_callback_wrapper - {}; -} diff --git a/vnpy/api/tora/vntora/include/autocxxpy/calling_wrapper.hpp b/vnpy/api/tora/vntora/include/autocxxpy/calling_wrapper.hpp deleted file mode 100644 index 62467a95d1..0000000000 --- a/vnpy/api/tora/vntora/include/autocxxpy/calling_wrapper.hpp +++ /dev/null @@ -1,56 +0,0 @@ -#pragma once - -#include "utils/functional.hpp" -#include "dispatcher.hpp" -#include "brigand.hpp" - -#include "wrappers/c_function_callback.hpp" -#include "wrappers/string_array.hpp" -#include "wrappers/output_argument.hpp" -#include "wrappers/inout_argument.hpp" -#include "wrappers/string_array.hpp" - -namespace autocxxpy -{ - - /* - example to change the calling method: - - @startcode pp - template <> - struct calling_wrapper<&A::func2> - { - static constexpr auto value = [](){return 1;}; - }; - @endcode - */ - template