# This file was automatically generated by SWIG (https://www.swig.org).
# Version 4.1.0
#
# Do not make changes to this file unless you know what you are doing - modify
# the SWIG interface file instead.


# openctp-ctp is supported by openctp(https://github.com/openctp).
# Author: Jedore(https://github.com/Jedore)
#
# BSD 3-Clause License
#
# Copyright (c) 2022, openctp
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this
#    list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice,
#    this list of conditions and the following disclaimer in the documentation
#    and/or other materials provided with the distribution.
#
# 3. Neither the name of the copyright holder nor the names of its
#    contributors may be used to endorse or promote products derived from
#    this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.



from sys import version_info as _swig_python_version_info
# Import the low-level C/C++ module
if __package__ or "." in __name__:
    from . import _thosttraderapi
else:
    import _thosttraderapi

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

_swig_new_instance_method = _thosttraderapi.SWIG_PyInstanceMethod_New
_swig_new_static_method = _thosttraderapi.SWIG_PyStaticMethod_New

def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except __builtin__.Exception:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)


def _swig_setattr_nondynamic_instance_variable(set):
    def set_instance_attr(self, name, value):
        if name == "this":
            set(self, name, value)
        elif name == "thisown":
            self.this.own(value)
        elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
            set(self, name, value)
        else:
            raise AttributeError("You cannot add instance attributes to %s" % self)
    return set_instance_attr


def _swig_setattr_nondynamic_class_variable(set):
    def set_class_attr(cls, name, value):
        if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
            set(cls, name, value)
        else:
            raise AttributeError("You cannot add class attributes to %s" % cls)
    return set_class_attr


def _swig_add_metaclass(metaclass):
    """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
    def wrapper(cls):
        return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
    return wrapper


class _SwigNonDynamicMeta(type):
    """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
    __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)


import weakref

THOST_TERT_RESTART = _thosttraderapi.THOST_TERT_RESTART
THOST_TERT_RESUME = _thosttraderapi.THOST_TERT_RESUME
THOST_TERT_QUICK = _thosttraderapi.THOST_TERT_QUICK
THOST_TERT_NONE = _thosttraderapi.THOST_TERT_NONE
THOST_FTDC_EXP_Normal = _thosttraderapi.THOST_FTDC_EXP_Normal
r"""
    TFtdcExchangePropertyType是一个交易所属性类型
    正常
    """
THOST_FTDC_EXP_GenOrderByTrade = _thosttraderapi.THOST_FTDC_EXP_GenOrderByTrade
r"""根据成交生成报单"""
THOST_FTDC_ICT_EID = _thosttraderapi.THOST_FTDC_ICT_EID
r"""
    TFtdcIdCardTypeType是一个证件类型类型
    组织机构代码
    """
THOST_FTDC_ICT_IDCard = _thosttraderapi.THOST_FTDC_ICT_IDCard
r"""中国公民身份证"""
THOST_FTDC_ICT_OfficerIDCard = _thosttraderapi.THOST_FTDC_ICT_OfficerIDCard
r"""军官证"""
THOST_FTDC_ICT_PoliceIDCard = _thosttraderapi.THOST_FTDC_ICT_PoliceIDCard
r"""警官证"""
THOST_FTDC_ICT_SoldierIDCard = _thosttraderapi.THOST_FTDC_ICT_SoldierIDCard
r"""士兵证"""
THOST_FTDC_ICT_HouseholdRegister = _thosttraderapi.THOST_FTDC_ICT_HouseholdRegister
r"""户口簿"""
THOST_FTDC_ICT_Passport = _thosttraderapi.THOST_FTDC_ICT_Passport
r"""护照"""
THOST_FTDC_ICT_TaiwanCompatriotIDCard = _thosttraderapi.THOST_FTDC_ICT_TaiwanCompatriotIDCard
r"""台胞证"""
THOST_FTDC_ICT_HomeComingCard = _thosttraderapi.THOST_FTDC_ICT_HomeComingCard
r"""回乡证"""
THOST_FTDC_ICT_LicenseNo = _thosttraderapi.THOST_FTDC_ICT_LicenseNo
r"""营业执照号"""
THOST_FTDC_ICT_TaxNo = _thosttraderapi.THOST_FTDC_ICT_TaxNo
r"""税务登记号/当地纳税ID"""
THOST_FTDC_ICT_HMMainlandTravelPermit = _thosttraderapi.THOST_FTDC_ICT_HMMainlandTravelPermit
r"""港澳居民来往内地通行证"""
THOST_FTDC_ICT_TwMainlandTravelPermit = _thosttraderapi.THOST_FTDC_ICT_TwMainlandTravelPermit
r"""台湾居民来往大陆通行证"""
THOST_FTDC_ICT_DrivingLicense = _thosttraderapi.THOST_FTDC_ICT_DrivingLicense
r"""驾照"""
THOST_FTDC_ICT_SocialID = _thosttraderapi.THOST_FTDC_ICT_SocialID
r"""当地社保ID"""
THOST_FTDC_ICT_LocalID = _thosttraderapi.THOST_FTDC_ICT_LocalID
r"""当地身份证"""
THOST_FTDC_ICT_BusinessRegistration = _thosttraderapi.THOST_FTDC_ICT_BusinessRegistration
r"""商业登记证"""
THOST_FTDC_ICT_HKMCIDCard = _thosttraderapi.THOST_FTDC_ICT_HKMCIDCard
r"""港澳永久性居民身份证"""
THOST_FTDC_ICT_AccountsPermits = _thosttraderapi.THOST_FTDC_ICT_AccountsPermits
r"""人行开户许可证"""
THOST_FTDC_ICT_FrgPrmtRdCard = _thosttraderapi.THOST_FTDC_ICT_FrgPrmtRdCard
r"""外国人永久居留证"""
THOST_FTDC_ICT_CptMngPrdLetter = _thosttraderapi.THOST_FTDC_ICT_CptMngPrdLetter
r"""资管产品备案函"""
THOST_FTDC_ICT_HKMCTwResidencePermit = _thosttraderapi.THOST_FTDC_ICT_HKMCTwResidencePermit
r"""港澳台居民居住证"""
THOST_FTDC_ICT_UniformSocialCreditCode = _thosttraderapi.THOST_FTDC_ICT_UniformSocialCreditCode
r"""统一社会信用代码"""
THOST_FTDC_ICT_CorporationCertNo = _thosttraderapi.THOST_FTDC_ICT_CorporationCertNo
r"""机构成立证明文件"""
THOST_FTDC_ICT_OtherCard = _thosttraderapi.THOST_FTDC_ICT_OtherCard
r"""其他证件"""
THOST_FTDC_IR_All = _thosttraderapi.THOST_FTDC_IR_All
r"""
    TFtdcInvestorRangeType是一个投资者范围类型
    所有
    """
THOST_FTDC_IR_Group = _thosttraderapi.THOST_FTDC_IR_Group
r"""投资者组"""
THOST_FTDC_IR_Single = _thosttraderapi.THOST_FTDC_IR_Single
r"""单一投资者"""
THOST_FTDC_DR_All = _thosttraderapi.THOST_FTDC_DR_All
r"""
    TFtdcDepartmentRangeType是一个投资者范围类型
    所有
    """
THOST_FTDC_DR_Group = _thosttraderapi.THOST_FTDC_DR_Group
r"""组织架构"""
THOST_FTDC_DR_Single = _thosttraderapi.THOST_FTDC_DR_Single
r"""单一投资者"""
THOST_FTDC_DS_Asynchronous = _thosttraderapi.THOST_FTDC_DS_Asynchronous
r"""
    TFtdcDataSyncStatusType是一个数据同步状态类型
    未同步
    """
THOST_FTDC_DS_Synchronizing = _thosttraderapi.THOST_FTDC_DS_Synchronizing
r"""同步中"""
THOST_FTDC_DS_Synchronized = _thosttraderapi.THOST_FTDC_DS_Synchronized
r"""已同步"""
THOST_FTDC_BDS_Synchronized = _thosttraderapi.THOST_FTDC_BDS_Synchronized
r"""
    TFtdcBrokerDataSyncStatusType是一个经纪公司数据同步状态类型
    已同步
    """
THOST_FTDC_BDS_Synchronizing = _thosttraderapi.THOST_FTDC_BDS_Synchronizing
r"""同步中"""
THOST_FTDC_ECS_NoConnection = _thosttraderapi.THOST_FTDC_ECS_NoConnection
r"""
    TFtdcExchangeConnectStatusType是一个交易所连接状态类型
    没有任何连接
    """
THOST_FTDC_ECS_QryInstrumentSent = _thosttraderapi.THOST_FTDC_ECS_QryInstrumentSent
r"""已经发出合约查询请求"""
THOST_FTDC_ECS_GotInformation = _thosttraderapi.THOST_FTDC_ECS_GotInformation
r"""已经获取信息"""
THOST_FTDC_TCS_NotConnected = _thosttraderapi.THOST_FTDC_TCS_NotConnected
r"""
    TFtdcTraderConnectStatusType是一个交易所交易员连接状态类型
    没有任何连接
    """
THOST_FTDC_TCS_Connected = _thosttraderapi.THOST_FTDC_TCS_Connected
r"""已经连接"""
THOST_FTDC_TCS_QryInstrumentSent = _thosttraderapi.THOST_FTDC_TCS_QryInstrumentSent
r"""已经发出合约查询请求"""
THOST_FTDC_TCS_SubPrivateFlow = _thosttraderapi.THOST_FTDC_TCS_SubPrivateFlow
r"""订阅私有流"""
THOST_FTDC_FC_DataAsync = _thosttraderapi.THOST_FTDC_FC_DataAsync
r"""
    TFtdcFunctionCodeType是一个功能代码类型
    数据异步化
    """
THOST_FTDC_FC_ForceUserLogout = _thosttraderapi.THOST_FTDC_FC_ForceUserLogout
r"""强制用户登出"""
THOST_FTDC_FC_UserPasswordUpdate = _thosttraderapi.THOST_FTDC_FC_UserPasswordUpdate
r"""变更管理用户口令"""
THOST_FTDC_FC_BrokerPasswordUpdate = _thosttraderapi.THOST_FTDC_FC_BrokerPasswordUpdate
r"""变更经纪公司口令"""
THOST_FTDC_FC_InvestorPasswordUpdate = _thosttraderapi.THOST_FTDC_FC_InvestorPasswordUpdate
r"""变更投资者口令"""
THOST_FTDC_FC_OrderInsert = _thosttraderapi.THOST_FTDC_FC_OrderInsert
r"""报单插入"""
THOST_FTDC_FC_OrderAction = _thosttraderapi.THOST_FTDC_FC_OrderAction
r"""报单操作"""
THOST_FTDC_FC_SyncSystemData = _thosttraderapi.THOST_FTDC_FC_SyncSystemData
r"""同步系统数据"""
THOST_FTDC_FC_SyncBrokerData = _thosttraderapi.THOST_FTDC_FC_SyncBrokerData
r"""同步经纪公司数据"""
THOST_FTDC_FC_BachSyncBrokerData = _thosttraderapi.THOST_FTDC_FC_BachSyncBrokerData
r"""批量同步经纪公司数据"""
THOST_FTDC_FC_SuperQuery = _thosttraderapi.THOST_FTDC_FC_SuperQuery
r"""超级查询"""
THOST_FTDC_FC_ParkedOrderInsert = _thosttraderapi.THOST_FTDC_FC_ParkedOrderInsert
r"""预埋报单插入"""
THOST_FTDC_FC_ParkedOrderAction = _thosttraderapi.THOST_FTDC_FC_ParkedOrderAction
r"""预埋报单操作"""
THOST_FTDC_FC_SyncOTP = _thosttraderapi.THOST_FTDC_FC_SyncOTP
r"""同步动态令牌"""
THOST_FTDC_FC_DeleteOrder = _thosttraderapi.THOST_FTDC_FC_DeleteOrder
r"""删除未知单"""
THOST_FTDC_BFC_ForceUserLogout = _thosttraderapi.THOST_FTDC_BFC_ForceUserLogout
r"""
    TFtdcBrokerFunctionCodeType是一个经纪公司功能代码类型
    强制用户登出
    """
THOST_FTDC_BFC_UserPasswordUpdate = _thosttraderapi.THOST_FTDC_BFC_UserPasswordUpdate
r"""变更用户口令"""
THOST_FTDC_BFC_SyncBrokerData = _thosttraderapi.THOST_FTDC_BFC_SyncBrokerData
r"""同步经纪公司数据"""
THOST_FTDC_BFC_BachSyncBrokerData = _thosttraderapi.THOST_FTDC_BFC_BachSyncBrokerData
r"""批量同步经纪公司数据"""
THOST_FTDC_BFC_OrderInsert = _thosttraderapi.THOST_FTDC_BFC_OrderInsert
r"""报单插入"""
THOST_FTDC_BFC_OrderAction = _thosttraderapi.THOST_FTDC_BFC_OrderAction
r"""报单操作"""
THOST_FTDC_BFC_AllQuery = _thosttraderapi.THOST_FTDC_BFC_AllQuery
r"""全部查询"""
THOST_FTDC_BFC_log = _thosttraderapi.THOST_FTDC_BFC_log
r"""系统功能：登入/登出/修改密码等"""
THOST_FTDC_BFC_BaseQry = _thosttraderapi.THOST_FTDC_BFC_BaseQry
r"""基本查询：查询基础数据，如合约，交易所等常量"""
THOST_FTDC_BFC_TradeQry = _thosttraderapi.THOST_FTDC_BFC_TradeQry
r"""交易查询：如查成交，委托"""
THOST_FTDC_BFC_Trade = _thosttraderapi.THOST_FTDC_BFC_Trade
r"""交易功能：报单，撤单"""
THOST_FTDC_BFC_Virement = _thosttraderapi.THOST_FTDC_BFC_Virement
r"""银期转账"""
THOST_FTDC_BFC_Risk = _thosttraderapi.THOST_FTDC_BFC_Risk
r"""风险监控"""
THOST_FTDC_BFC_Session = _thosttraderapi.THOST_FTDC_BFC_Session
r"""查询/管理：查询会话，踢人等"""
THOST_FTDC_BFC_RiskNoticeCtl = _thosttraderapi.THOST_FTDC_BFC_RiskNoticeCtl
r"""风控通知控制"""
THOST_FTDC_BFC_RiskNotice = _thosttraderapi.THOST_FTDC_BFC_RiskNotice
r"""风控通知发送"""
THOST_FTDC_BFC_BrokerDeposit = _thosttraderapi.THOST_FTDC_BFC_BrokerDeposit
r"""察看经纪公司资金权限"""
THOST_FTDC_BFC_QueryFund = _thosttraderapi.THOST_FTDC_BFC_QueryFund
r"""资金查询"""
THOST_FTDC_BFC_QueryOrder = _thosttraderapi.THOST_FTDC_BFC_QueryOrder
r"""报单查询"""
THOST_FTDC_BFC_QueryTrade = _thosttraderapi.THOST_FTDC_BFC_QueryTrade
r"""成交查询"""
THOST_FTDC_BFC_QueryPosition = _thosttraderapi.THOST_FTDC_BFC_QueryPosition
r"""持仓查询"""
THOST_FTDC_BFC_QueryMarketData = _thosttraderapi.THOST_FTDC_BFC_QueryMarketData
r"""行情查询"""
THOST_FTDC_BFC_QueryUserEvent = _thosttraderapi.THOST_FTDC_BFC_QueryUserEvent
r"""用户事件查询"""
THOST_FTDC_BFC_QueryRiskNotify = _thosttraderapi.THOST_FTDC_BFC_QueryRiskNotify
r"""风险通知查询"""
THOST_FTDC_BFC_QueryFundChange = _thosttraderapi.THOST_FTDC_BFC_QueryFundChange
r"""出入金查询"""
THOST_FTDC_BFC_QueryInvestor = _thosttraderapi.THOST_FTDC_BFC_QueryInvestor
r"""投资者信息查询"""
THOST_FTDC_BFC_QueryTradingCode = _thosttraderapi.THOST_FTDC_BFC_QueryTradingCode
r"""交易编码查询"""
THOST_FTDC_BFC_ForceClose = _thosttraderapi.THOST_FTDC_BFC_ForceClose
r"""强平"""
THOST_FTDC_BFC_PressTest = _thosttraderapi.THOST_FTDC_BFC_PressTest
r"""压力测试"""
THOST_FTDC_BFC_RemainCalc = _thosttraderapi.THOST_FTDC_BFC_RemainCalc
r"""权益反算"""
THOST_FTDC_BFC_NetPositionInd = _thosttraderapi.THOST_FTDC_BFC_NetPositionInd
r"""净持仓保证金指标"""
THOST_FTDC_BFC_RiskPredict = _thosttraderapi.THOST_FTDC_BFC_RiskPredict
r"""风险预算"""
THOST_FTDC_BFC_DataExport = _thosttraderapi.THOST_FTDC_BFC_DataExport
r"""数据导出"""
THOST_FTDC_BFC_RiskTargetSetup = _thosttraderapi.THOST_FTDC_BFC_RiskTargetSetup
r"""风控指标设置"""
THOST_FTDC_BFC_MarketDataWarn = _thosttraderapi.THOST_FTDC_BFC_MarketDataWarn
r"""行情预警"""
THOST_FTDC_BFC_QryBizNotice = _thosttraderapi.THOST_FTDC_BFC_QryBizNotice
r"""业务通知查询"""
THOST_FTDC_BFC_CfgBizNotice = _thosttraderapi.THOST_FTDC_BFC_CfgBizNotice
r"""业务通知模板设置"""
THOST_FTDC_BFC_SyncOTP = _thosttraderapi.THOST_FTDC_BFC_SyncOTP
r"""同步动态令牌"""
THOST_FTDC_BFC_SendBizNotice = _thosttraderapi.THOST_FTDC_BFC_SendBizNotice
r"""发送业务通知"""
THOST_FTDC_BFC_CfgRiskLevelStd = _thosttraderapi.THOST_FTDC_BFC_CfgRiskLevelStd
r"""风险级别标准设置"""
THOST_FTDC_BFC_TbCommand = _thosttraderapi.THOST_FTDC_BFC_TbCommand
r"""交易终端应急功能"""
THOST_FTDC_BFC_DeleteOrder = _thosttraderapi.THOST_FTDC_BFC_DeleteOrder
r"""删除未知单"""
THOST_FTDC_BFC_ParkedOrderInsert = _thosttraderapi.THOST_FTDC_BFC_ParkedOrderInsert
r"""预埋报单插入"""
THOST_FTDC_BFC_ParkedOrderAction = _thosttraderapi.THOST_FTDC_BFC_ParkedOrderAction
r"""预埋报单操作"""
THOST_FTDC_BFC_ExecOrderNoCheck = _thosttraderapi.THOST_FTDC_BFC_ExecOrderNoCheck
r"""资金不够仍允许行权"""
THOST_FTDC_BFC_Designate = _thosttraderapi.THOST_FTDC_BFC_Designate
r"""指定"""
THOST_FTDC_BFC_StockDisposal = _thosttraderapi.THOST_FTDC_BFC_StockDisposal
r"""证券处置"""
THOST_FTDC_BFC_BrokerDepositWarn = _thosttraderapi.THOST_FTDC_BFC_BrokerDepositWarn
r"""席位资金预警"""
THOST_FTDC_BFC_CoverWarn = _thosttraderapi.THOST_FTDC_BFC_CoverWarn
r"""备兑不足预警"""
THOST_FTDC_BFC_PreExecOrder = _thosttraderapi.THOST_FTDC_BFC_PreExecOrder
r"""行权试算"""
THOST_FTDC_BFC_ExecOrderRisk = _thosttraderapi.THOST_FTDC_BFC_ExecOrderRisk
r"""行权交收风险"""
THOST_FTDC_BFC_PosiLimitWarn = _thosttraderapi.THOST_FTDC_BFC_PosiLimitWarn
r"""持仓限额预警"""
THOST_FTDC_BFC_QryPosiLimit = _thosttraderapi.THOST_FTDC_BFC_QryPosiLimit
r"""持仓限额查询"""
THOST_FTDC_BFC_FBSign = _thosttraderapi.THOST_FTDC_BFC_FBSign
r"""银期签到签退"""
THOST_FTDC_BFC_FBAccount = _thosttraderapi.THOST_FTDC_BFC_FBAccount
r"""银期签约解约"""
THOST_FTDC_OAS_Submitted = _thosttraderapi.THOST_FTDC_OAS_Submitted
r"""
    TFtdcOrderActionStatusType是一个报单操作状态类型
    已经提交
    """
THOST_FTDC_OAS_Accepted = _thosttraderapi.THOST_FTDC_OAS_Accepted
r"""已经接受"""
THOST_FTDC_OAS_Rejected = _thosttraderapi.THOST_FTDC_OAS_Rejected
r"""已经被拒绝"""
THOST_FTDC_OST_AllTraded = _thosttraderapi.THOST_FTDC_OST_AllTraded
r"""
    TFtdcOrderStatusType是一个报单状态类型
    全部成交
    """
THOST_FTDC_OST_PartTradedQueueing = _thosttraderapi.THOST_FTDC_OST_PartTradedQueueing
r"""部分成交还在队列中"""
THOST_FTDC_OST_PartTradedNotQueueing = _thosttraderapi.THOST_FTDC_OST_PartTradedNotQueueing
r"""部分成交不在队列中"""
THOST_FTDC_OST_NoTradeQueueing = _thosttraderapi.THOST_FTDC_OST_NoTradeQueueing
r"""未成交还在队列中"""
THOST_FTDC_OST_NoTradeNotQueueing = _thosttraderapi.THOST_FTDC_OST_NoTradeNotQueueing
r"""未成交不在队列中"""
THOST_FTDC_OST_Canceled = _thosttraderapi.THOST_FTDC_OST_Canceled
r"""撤单"""
THOST_FTDC_OST_Unknown = _thosttraderapi.THOST_FTDC_OST_Unknown
r"""未知"""
THOST_FTDC_OST_NotTouched = _thosttraderapi.THOST_FTDC_OST_NotTouched
r"""尚未触发"""
THOST_FTDC_OST_Touched = _thosttraderapi.THOST_FTDC_OST_Touched
r"""已触发"""
THOST_FTDC_OSS_InsertSubmitted = _thosttraderapi.THOST_FTDC_OSS_InsertSubmitted
r"""
    TFtdcOrderSubmitStatusType是一个报单提交状态类型
    已经提交
    """
THOST_FTDC_OSS_CancelSubmitted = _thosttraderapi.THOST_FTDC_OSS_CancelSubmitted
r"""撤单已经提交"""
THOST_FTDC_OSS_ModifySubmitted = _thosttraderapi.THOST_FTDC_OSS_ModifySubmitted
r"""修改已经提交"""
THOST_FTDC_OSS_Accepted = _thosttraderapi.THOST_FTDC_OSS_Accepted
r"""已经接受"""
THOST_FTDC_OSS_InsertRejected = _thosttraderapi.THOST_FTDC_OSS_InsertRejected
r"""报单已经被拒绝"""
THOST_FTDC_OSS_CancelRejected = _thosttraderapi.THOST_FTDC_OSS_CancelRejected
r"""撤单已经被拒绝"""
THOST_FTDC_OSS_ModifyRejected = _thosttraderapi.THOST_FTDC_OSS_ModifyRejected
r"""改单已经被拒绝"""
THOST_FTDC_PSD_Today = _thosttraderapi.THOST_FTDC_PSD_Today
r"""
    TFtdcPositionDateType是一个持仓日期类型
    今日持仓
    """
THOST_FTDC_PSD_History = _thosttraderapi.THOST_FTDC_PSD_History
r"""历史持仓"""
THOST_FTDC_PDT_UseHistory = _thosttraderapi.THOST_FTDC_PDT_UseHistory
r"""
    TFtdcPositionDateTypeType是一个持仓日期类型类型
    使用历史持仓
    """
THOST_FTDC_PDT_NoUseHistory = _thosttraderapi.THOST_FTDC_PDT_NoUseHistory
r"""不使用历史持仓"""
THOST_FTDC_ER_Broker = _thosttraderapi.THOST_FTDC_ER_Broker
r"""
    TFtdcTradingRoleType是一个交易角色类型
    代理
    """
THOST_FTDC_ER_Host = _thosttraderapi.THOST_FTDC_ER_Host
r"""自营"""
THOST_FTDC_ER_Maker = _thosttraderapi.THOST_FTDC_ER_Maker
r"""做市商"""
THOST_FTDC_PC_Futures = _thosttraderapi.THOST_FTDC_PC_Futures
r"""
    TFtdcProductClassType是一个产品类型类型
    期货
    """
THOST_FTDC_PC_Options = _thosttraderapi.THOST_FTDC_PC_Options
r"""期货期权"""
THOST_FTDC_PC_Combination = _thosttraderapi.THOST_FTDC_PC_Combination
r"""组合"""
THOST_FTDC_PC_Spot = _thosttraderapi.THOST_FTDC_PC_Spot
r"""即期"""
THOST_FTDC_PC_EFP = _thosttraderapi.THOST_FTDC_PC_EFP
r"""期转现"""
THOST_FTDC_PC_SpotOption = _thosttraderapi.THOST_FTDC_PC_SpotOption
r"""现货期权"""
THOST_FTDC_PC_TAS = _thosttraderapi.THOST_FTDC_PC_TAS
r"""TAS合约"""
THOST_FTDC_PC_MI = _thosttraderapi.THOST_FTDC_PC_MI
r"""金属指数"""
THOST_FTDC_APC_FutureSingle = _thosttraderapi.THOST_FTDC_APC_FutureSingle
r"""
    TFtdcAPIProductClassType是一个产品类型类型
    期货单一合约
    """
THOST_FTDC_APC_OptionSingle = _thosttraderapi.THOST_FTDC_APC_OptionSingle
r"""期权单一合约"""
THOST_FTDC_APC_Futures = _thosttraderapi.THOST_FTDC_APC_Futures
r"""可交易期货(含期货组合和期货单一合约)"""
THOST_FTDC_APC_Options = _thosttraderapi.THOST_FTDC_APC_Options
r"""可交易期权(含期权组合和期权单一合约)"""
THOST_FTDC_APC_TradingComb = _thosttraderapi.THOST_FTDC_APC_TradingComb
r"""可下单套利组合"""
THOST_FTDC_APC_UnTradingComb = _thosttraderapi.THOST_FTDC_APC_UnTradingComb
r"""可申请的组合（可以申请的组合合约 包含可以交易的合约）"""
THOST_FTDC_APC_AllTrading = _thosttraderapi.THOST_FTDC_APC_AllTrading
r"""所有可以交易合约"""
THOST_FTDC_APC_All = _thosttraderapi.THOST_FTDC_APC_All
r"""所有合约（包含不能交易合约 慎用）"""
THOST_FTDC_IP_NotStart = _thosttraderapi.THOST_FTDC_IP_NotStart
r"""
    TFtdcInstLifePhaseType是一个合约生命周期状态类型
    未上市
    """
THOST_FTDC_IP_Started = _thosttraderapi.THOST_FTDC_IP_Started
r"""上市"""
THOST_FTDC_IP_Pause = _thosttraderapi.THOST_FTDC_IP_Pause
r"""停牌"""
THOST_FTDC_IP_Expired = _thosttraderapi.THOST_FTDC_IP_Expired
r"""到期"""
THOST_FTDC_D_Buy = _thosttraderapi.THOST_FTDC_D_Buy
r"""
    TFtdcDirectionType是一个买卖方向类型
    买
    """
THOST_FTDC_D_Sell = _thosttraderapi.THOST_FTDC_D_Sell
r"""卖"""
THOST_FTDC_PT_Net = _thosttraderapi.THOST_FTDC_PT_Net
r"""
    TFtdcPositionTypeType是一个持仓类型类型
    净持仓
    """
THOST_FTDC_PT_Gross = _thosttraderapi.THOST_FTDC_PT_Gross
r"""综合持仓"""
THOST_FTDC_PD_Net = _thosttraderapi.THOST_FTDC_PD_Net
r"""
    TFtdcPosiDirectionType是一个持仓多空方向类型
    净
    """
THOST_FTDC_PD_Long = _thosttraderapi.THOST_FTDC_PD_Long
r"""多头"""
THOST_FTDC_PD_Short = _thosttraderapi.THOST_FTDC_PD_Short
r"""空头"""
THOST_FTDC_SS_NonActive = _thosttraderapi.THOST_FTDC_SS_NonActive
r"""
    TFtdcSysSettlementStatusType是一个系统结算状态类型
    不活跃
    """
THOST_FTDC_SS_Startup = _thosttraderapi.THOST_FTDC_SS_Startup
r"""启动"""
THOST_FTDC_SS_Operating = _thosttraderapi.THOST_FTDC_SS_Operating
r"""操作"""
THOST_FTDC_SS_Settlement = _thosttraderapi.THOST_FTDC_SS_Settlement
r"""结算"""
THOST_FTDC_SS_SettlementFinished = _thosttraderapi.THOST_FTDC_SS_SettlementFinished
r"""结算完成"""
THOST_FTDC_RA_Trade = _thosttraderapi.THOST_FTDC_RA_Trade
r"""
    TFtdcRatioAttrType是一个费率属性类型
    交易费率
    """
THOST_FTDC_RA_Settlement = _thosttraderapi.THOST_FTDC_RA_Settlement
r"""结算费率"""
THOST_FTDC_HF_Speculation = _thosttraderapi.THOST_FTDC_HF_Speculation
r"""
    TFtdcHedgeFlagType是一个投机套保标志类型
    投机
    """
THOST_FTDC_HF_Arbitrage = _thosttraderapi.THOST_FTDC_HF_Arbitrage
r"""套利"""
THOST_FTDC_HF_Hedge = _thosttraderapi.THOST_FTDC_HF_Hedge
r"""套保"""
THOST_FTDC_HF_MarketMaker = _thosttraderapi.THOST_FTDC_HF_MarketMaker
r"""做市商"""
THOST_FTDC_HF_SpecHedge = _thosttraderapi.THOST_FTDC_HF_SpecHedge
r"""第一腿投机第二腿套保"""
THOST_FTDC_HF_HedgeSpec = _thosttraderapi.THOST_FTDC_HF_HedgeSpec
r"""第一腿套保第二腿投机"""
THOST_FTDC_BHF_Speculation = _thosttraderapi.THOST_FTDC_BHF_Speculation
r"""
    TFtdcBillHedgeFlagType是一个投机套保标志类型
    投机
    """
THOST_FTDC_BHF_Arbitrage = _thosttraderapi.THOST_FTDC_BHF_Arbitrage
r"""套利"""
THOST_FTDC_BHF_Hedge = _thosttraderapi.THOST_FTDC_BHF_Hedge
r"""套保"""
THOST_FTDC_CIDT_Speculation = _thosttraderapi.THOST_FTDC_CIDT_Speculation
r"""
    TFtdcClientIDTypeType是一个交易编码类型类型
    投机
    """
THOST_FTDC_CIDT_Arbitrage = _thosttraderapi.THOST_FTDC_CIDT_Arbitrage
r"""套利"""
THOST_FTDC_CIDT_Hedge = _thosttraderapi.THOST_FTDC_CIDT_Hedge
r"""套保"""
THOST_FTDC_CIDT_MarketMaker = _thosttraderapi.THOST_FTDC_CIDT_MarketMaker
r"""做市商"""
THOST_FTDC_OPT_AnyPrice = _thosttraderapi.THOST_FTDC_OPT_AnyPrice
r"""
    TFtdcOrderPriceTypeType是一个报单价格条件类型
    任意价
    """
THOST_FTDC_OPT_LimitPrice = _thosttraderapi.THOST_FTDC_OPT_LimitPrice
r"""限价"""
THOST_FTDC_OPT_BestPrice = _thosttraderapi.THOST_FTDC_OPT_BestPrice
r"""最优价"""
THOST_FTDC_OPT_LastPrice = _thosttraderapi.THOST_FTDC_OPT_LastPrice
r"""最新价"""
THOST_FTDC_OPT_LastPricePlusOneTicks = _thosttraderapi.THOST_FTDC_OPT_LastPricePlusOneTicks
r"""最新价浮动上浮1个ticks"""
THOST_FTDC_OPT_LastPricePlusTwoTicks = _thosttraderapi.THOST_FTDC_OPT_LastPricePlusTwoTicks
r"""最新价浮动上浮2个ticks"""
THOST_FTDC_OPT_LastPricePlusThreeTicks = _thosttraderapi.THOST_FTDC_OPT_LastPricePlusThreeTicks
r"""最新价浮动上浮3个ticks"""
THOST_FTDC_OPT_AskPrice1 = _thosttraderapi.THOST_FTDC_OPT_AskPrice1
r"""卖一价"""
THOST_FTDC_OPT_AskPrice1PlusOneTicks = _thosttraderapi.THOST_FTDC_OPT_AskPrice1PlusOneTicks
r"""卖一价浮动上浮1个ticks"""
THOST_FTDC_OPT_AskPrice1PlusTwoTicks = _thosttraderapi.THOST_FTDC_OPT_AskPrice1PlusTwoTicks
r"""卖一价浮动上浮2个ticks"""
THOST_FTDC_OPT_AskPrice1PlusThreeTicks = _thosttraderapi.THOST_FTDC_OPT_AskPrice1PlusThreeTicks
r"""卖一价浮动上浮3个ticks"""
THOST_FTDC_OPT_BidPrice1 = _thosttraderapi.THOST_FTDC_OPT_BidPrice1
r"""买一价"""
THOST_FTDC_OPT_BidPrice1PlusOneTicks = _thosttraderapi.THOST_FTDC_OPT_BidPrice1PlusOneTicks
r"""买一价浮动上浮1个ticks"""
THOST_FTDC_OPT_BidPrice1PlusTwoTicks = _thosttraderapi.THOST_FTDC_OPT_BidPrice1PlusTwoTicks
r"""买一价浮动上浮2个ticks"""
THOST_FTDC_OPT_BidPrice1PlusThreeTicks = _thosttraderapi.THOST_FTDC_OPT_BidPrice1PlusThreeTicks
r"""买一价浮动上浮3个ticks"""
THOST_FTDC_OPT_FiveLevelPrice = _thosttraderapi.THOST_FTDC_OPT_FiveLevelPrice
r"""五档价"""
THOST_FTDC_OF_Open = _thosttraderapi.THOST_FTDC_OF_Open
r"""
    TFtdcOffsetFlagType是一个开平标志类型
    开仓
    """
THOST_FTDC_OF_Close = _thosttraderapi.THOST_FTDC_OF_Close
r"""平仓"""
THOST_FTDC_OF_ForceClose = _thosttraderapi.THOST_FTDC_OF_ForceClose
r"""强平"""
THOST_FTDC_OF_CloseToday = _thosttraderapi.THOST_FTDC_OF_CloseToday
r"""平今"""
THOST_FTDC_OF_CloseYesterday = _thosttraderapi.THOST_FTDC_OF_CloseYesterday
r"""平昨"""
THOST_FTDC_OF_ForceOff = _thosttraderapi.THOST_FTDC_OF_ForceOff
r"""强减"""
THOST_FTDC_OF_LocalForceClose = _thosttraderapi.THOST_FTDC_OF_LocalForceClose
r"""本地强平"""
THOST_FTDC_FCC_NotForceClose = _thosttraderapi.THOST_FTDC_FCC_NotForceClose
r"""
    TFtdcForceCloseReasonType是一个强平原因类型
    非强平
    """
THOST_FTDC_FCC_LackDeposit = _thosttraderapi.THOST_FTDC_FCC_LackDeposit
r"""资金不足"""
THOST_FTDC_FCC_ClientOverPositionLimit = _thosttraderapi.THOST_FTDC_FCC_ClientOverPositionLimit
r"""客户超仓"""
THOST_FTDC_FCC_MemberOverPositionLimit = _thosttraderapi.THOST_FTDC_FCC_MemberOverPositionLimit
r"""会员超仓"""
THOST_FTDC_FCC_NotMultiple = _thosttraderapi.THOST_FTDC_FCC_NotMultiple
r"""持仓非整数倍"""
THOST_FTDC_FCC_Violation = _thosttraderapi.THOST_FTDC_FCC_Violation
r"""违规"""
THOST_FTDC_FCC_Other = _thosttraderapi.THOST_FTDC_FCC_Other
r"""其它"""
THOST_FTDC_FCC_PersonDeliv = _thosttraderapi.THOST_FTDC_FCC_PersonDeliv
r"""自然人临近交割"""
THOST_FTDC_FCC_Notverifycapital = _thosttraderapi.THOST_FTDC_FCC_Notverifycapital
r"""风控强平不验证资金"""
THOST_FTDC_ORDT_Normal = _thosttraderapi.THOST_FTDC_ORDT_Normal
r"""
    TFtdcOrderTypeType是一个报单类型类型
    正常
    """
THOST_FTDC_ORDT_DeriveFromQuote = _thosttraderapi.THOST_FTDC_ORDT_DeriveFromQuote
r"""报价衍生"""
THOST_FTDC_ORDT_DeriveFromCombination = _thosttraderapi.THOST_FTDC_ORDT_DeriveFromCombination
r"""组合衍生"""
THOST_FTDC_ORDT_Combination = _thosttraderapi.THOST_FTDC_ORDT_Combination
r"""组合报单"""
THOST_FTDC_ORDT_ConditionalOrder = _thosttraderapi.THOST_FTDC_ORDT_ConditionalOrder
r"""条件单"""
THOST_FTDC_ORDT_Swap = _thosttraderapi.THOST_FTDC_ORDT_Swap
r"""互换单"""
THOST_FTDC_ORDT_DeriveFromBlockTrade = _thosttraderapi.THOST_FTDC_ORDT_DeriveFromBlockTrade
r"""大宗交易成交衍生"""
THOST_FTDC_ORDT_DeriveFromEFPTrade = _thosttraderapi.THOST_FTDC_ORDT_DeriveFromEFPTrade
r"""期转现成交衍生"""
THOST_FTDC_TC_IOC = _thosttraderapi.THOST_FTDC_TC_IOC
r"""
    TFtdcTimeConditionType是一个有效期类型类型
    立即完成，否则撤销
    """
THOST_FTDC_TC_GFS = _thosttraderapi.THOST_FTDC_TC_GFS
r"""本节有效"""
THOST_FTDC_TC_GFD = _thosttraderapi.THOST_FTDC_TC_GFD
r"""当日有效"""
THOST_FTDC_TC_GTD = _thosttraderapi.THOST_FTDC_TC_GTD
r"""指定日期前有效"""
THOST_FTDC_TC_GTC = _thosttraderapi.THOST_FTDC_TC_GTC
r"""撤销前有效"""
THOST_FTDC_TC_GFA = _thosttraderapi.THOST_FTDC_TC_GFA
r"""集合竞价有效"""
THOST_FTDC_VC_AV = _thosttraderapi.THOST_FTDC_VC_AV
r"""
    TFtdcVolumeConditionType是一个成交量类型类型
    任何数量
    """
THOST_FTDC_VC_MV = _thosttraderapi.THOST_FTDC_VC_MV
r"""最小数量"""
THOST_FTDC_VC_CV = _thosttraderapi.THOST_FTDC_VC_CV
r"""全部数量"""
THOST_FTDC_CC_Immediately = _thosttraderapi.THOST_FTDC_CC_Immediately
r"""
    TFtdcContingentConditionType是一个触发条件类型
    立即
    """
THOST_FTDC_CC_Touch = _thosttraderapi.THOST_FTDC_CC_Touch
r"""止损"""
THOST_FTDC_CC_TouchProfit = _thosttraderapi.THOST_FTDC_CC_TouchProfit
r"""止赢"""
THOST_FTDC_CC_ParkedOrder = _thosttraderapi.THOST_FTDC_CC_ParkedOrder
r"""预埋单"""
THOST_FTDC_CC_LastPriceGreaterThanStopPrice = _thosttraderapi.THOST_FTDC_CC_LastPriceGreaterThanStopPrice
r"""最新价大于条件价"""
THOST_FTDC_CC_LastPriceGreaterEqualStopPrice = _thosttraderapi.THOST_FTDC_CC_LastPriceGreaterEqualStopPrice
r"""最新价大于等于条件价"""
THOST_FTDC_CC_LastPriceLesserThanStopPrice = _thosttraderapi.THOST_FTDC_CC_LastPriceLesserThanStopPrice
r"""最新价小于条件价"""
THOST_FTDC_CC_LastPriceLesserEqualStopPrice = _thosttraderapi.THOST_FTDC_CC_LastPriceLesserEqualStopPrice
r"""最新价小于等于条件价"""
THOST_FTDC_CC_AskPriceGreaterThanStopPrice = _thosttraderapi.THOST_FTDC_CC_AskPriceGreaterThanStopPrice
r"""卖一价大于条件价"""
THOST_FTDC_CC_AskPriceGreaterEqualStopPrice = _thosttraderapi.THOST_FTDC_CC_AskPriceGreaterEqualStopPrice
r"""卖一价大于等于条件价"""
THOST_FTDC_CC_AskPriceLesserThanStopPrice = _thosttraderapi.THOST_FTDC_CC_AskPriceLesserThanStopPrice
r"""卖一价小于条件价"""
THOST_FTDC_CC_AskPriceLesserEqualStopPrice = _thosttraderapi.THOST_FTDC_CC_AskPriceLesserEqualStopPrice
r"""卖一价小于等于条件价"""
THOST_FTDC_CC_BidPriceGreaterThanStopPrice = _thosttraderapi.THOST_FTDC_CC_BidPriceGreaterThanStopPrice
r"""买一价大于条件价"""
THOST_FTDC_CC_BidPriceGreaterEqualStopPrice = _thosttraderapi.THOST_FTDC_CC_BidPriceGreaterEqualStopPrice
r"""买一价大于等于条件价"""
THOST_FTDC_CC_BidPriceLesserThanStopPrice = _thosttraderapi.THOST_FTDC_CC_BidPriceLesserThanStopPrice
r"""买一价小于条件价"""
THOST_FTDC_CC_BidPriceLesserEqualStopPrice = _thosttraderapi.THOST_FTDC_CC_BidPriceLesserEqualStopPrice
r"""买一价小于等于条件价"""
THOST_FTDC_AF_Delete = _thosttraderapi.THOST_FTDC_AF_Delete
r"""
    TFtdcActionFlagType是一个操作标志类型
    删除
    """
THOST_FTDC_AF_Modify = _thosttraderapi.THOST_FTDC_AF_Modify
r"""修改"""
THOST_FTDC_TR_Allow = _thosttraderapi.THOST_FTDC_TR_Allow
r"""
    TFtdcTradingRightType是一个交易权限类型
    可以交易
    """
THOST_FTDC_TR_CloseOnly = _thosttraderapi.THOST_FTDC_TR_CloseOnly
r"""只能平仓"""
THOST_FTDC_TR_Forbidden = _thosttraderapi.THOST_FTDC_TR_Forbidden
r"""不能交易"""
THOST_FTDC_OSRC_Participant = _thosttraderapi.THOST_FTDC_OSRC_Participant
r"""
    TFtdcOrderSourceType是一个报单来源类型
    来自参与者
    """
THOST_FTDC_OSRC_Administrator = _thosttraderapi.THOST_FTDC_OSRC_Administrator
r"""来自管理员"""
THOST_FTDC_TRDT_SplitCombination = _thosttraderapi.THOST_FTDC_TRDT_SplitCombination
r"""
    TFtdcTradeTypeType是一个成交类型类型
    组合持仓拆分为单一持仓,初始化不应包含该类型的持仓
    """
THOST_FTDC_TRDT_Common = _thosttraderapi.THOST_FTDC_TRDT_Common
r"""普通成交"""
THOST_FTDC_TRDT_OptionsExecution = _thosttraderapi.THOST_FTDC_TRDT_OptionsExecution
r"""期权执行"""
THOST_FTDC_TRDT_OTC = _thosttraderapi.THOST_FTDC_TRDT_OTC
r"""OTC成交"""
THOST_FTDC_TRDT_EFPDerived = _thosttraderapi.THOST_FTDC_TRDT_EFPDerived
r"""期转现衍生成交"""
THOST_FTDC_TRDT_CombinationDerived = _thosttraderapi.THOST_FTDC_TRDT_CombinationDerived
r"""组合衍生成交"""
THOST_FTDC_TRDT_BlockTrade = _thosttraderapi.THOST_FTDC_TRDT_BlockTrade
r"""大宗交易成交"""
THOST_FTDC_SPOST_Common = _thosttraderapi.THOST_FTDC_SPOST_Common
r"""
    TFtdcSpecPosiTypeType是一个特殊持仓明细标识类型
    普通持仓明细
    """
THOST_FTDC_SPOST_Tas = _thosttraderapi.THOST_FTDC_SPOST_Tas
r"""TAS合约成交产生的标的合约持仓明细"""
THOST_FTDC_PSRC_LastPrice = _thosttraderapi.THOST_FTDC_PSRC_LastPrice
r"""
    TFtdcPriceSourceType是一个成交价来源类型
    前成交价
    """
THOST_FTDC_PSRC_Buy = _thosttraderapi.THOST_FTDC_PSRC_Buy
r"""买委托价"""
THOST_FTDC_PSRC_Sell = _thosttraderapi.THOST_FTDC_PSRC_Sell
r"""卖委托价"""
THOST_FTDC_PSRC_OTC = _thosttraderapi.THOST_FTDC_PSRC_OTC
r"""场外成交价"""
THOST_FTDC_IS_BeforeTrading = _thosttraderapi.THOST_FTDC_IS_BeforeTrading
r"""
    TFtdcInstrumentStatusType是一个合约交易状态类型
    开盘前
    """
THOST_FTDC_IS_NoTrading = _thosttraderapi.THOST_FTDC_IS_NoTrading
r"""非交易"""
THOST_FTDC_IS_Continous = _thosttraderapi.THOST_FTDC_IS_Continous
r"""连续交易"""
THOST_FTDC_IS_AuctionOrdering = _thosttraderapi.THOST_FTDC_IS_AuctionOrdering
r"""集合竞价报单"""
THOST_FTDC_IS_AuctionBalance = _thosttraderapi.THOST_FTDC_IS_AuctionBalance
r"""集合竞价价格平衡"""
THOST_FTDC_IS_AuctionMatch = _thosttraderapi.THOST_FTDC_IS_AuctionMatch
r"""集合竞价撮合"""
THOST_FTDC_IS_Closed = _thosttraderapi.THOST_FTDC_IS_Closed
r"""收盘"""
THOST_FTDC_IER_Automatic = _thosttraderapi.THOST_FTDC_IER_Automatic
r"""
    TFtdcInstStatusEnterReasonType是一个品种进入交易状态原因类型
    自动切换
    """
THOST_FTDC_IER_Manual = _thosttraderapi.THOST_FTDC_IER_Manual
r"""手动切换"""
THOST_FTDC_IER_Fuse = _thosttraderapi.THOST_FTDC_IER_Fuse
r"""熔断"""
THOST_FTDC_BS_NoUpload = _thosttraderapi.THOST_FTDC_BS_NoUpload
r"""
    TFtdcBatchStatusType是一个处理状态类型
    未上传
    """
THOST_FTDC_BS_Uploaded = _thosttraderapi.THOST_FTDC_BS_Uploaded
r"""已上传"""
THOST_FTDC_BS_Failed = _thosttraderapi.THOST_FTDC_BS_Failed
r"""审核失败"""
THOST_FTDC_RS_All = _thosttraderapi.THOST_FTDC_RS_All
r"""
    TFtdcReturnStyleType是一个按品种返还方式类型
    按所有品种
    """
THOST_FTDC_RS_ByProduct = _thosttraderapi.THOST_FTDC_RS_ByProduct
r"""按品种"""
THOST_FTDC_RP_ByVolume = _thosttraderapi.THOST_FTDC_RP_ByVolume
r"""
    TFtdcReturnPatternType是一个返还模式类型
    按成交手数
    """
THOST_FTDC_RP_ByFeeOnHand = _thosttraderapi.THOST_FTDC_RP_ByFeeOnHand
r"""按留存手续费"""
THOST_FTDC_RL_Level1 = _thosttraderapi.THOST_FTDC_RL_Level1
r"""
    TFtdcReturnLevelType是一个返还级别类型
    级别1
    """
THOST_FTDC_RL_Level2 = _thosttraderapi.THOST_FTDC_RL_Level2
r"""级别2"""
THOST_FTDC_RL_Level3 = _thosttraderapi.THOST_FTDC_RL_Level3
r"""级别3"""
THOST_FTDC_RL_Level4 = _thosttraderapi.THOST_FTDC_RL_Level4
r"""级别4"""
THOST_FTDC_RL_Level5 = _thosttraderapi.THOST_FTDC_RL_Level5
r"""级别5"""
THOST_FTDC_RL_Level6 = _thosttraderapi.THOST_FTDC_RL_Level6
r"""级别6"""
THOST_FTDC_RL_Level7 = _thosttraderapi.THOST_FTDC_RL_Level7
r"""级别7"""
THOST_FTDC_RL_Level8 = _thosttraderapi.THOST_FTDC_RL_Level8
r"""级别8"""
THOST_FTDC_RL_Level9 = _thosttraderapi.THOST_FTDC_RL_Level9
r"""级别9"""
THOST_FTDC_RSD_ByPeriod = _thosttraderapi.THOST_FTDC_RSD_ByPeriod
r"""
    TFtdcReturnStandardType是一个返还标准类型
    分阶段返还
    """
THOST_FTDC_RSD_ByStandard = _thosttraderapi.THOST_FTDC_RSD_ByStandard
r"""按某一标准"""
THOST_FTDC_MT_Out = _thosttraderapi.THOST_FTDC_MT_Out
r"""
    TFtdcMortgageTypeType是一个质押类型类型
    质出
    """
THOST_FTDC_MT_In = _thosttraderapi.THOST_FTDC_MT_In
r"""质入"""
THOST_FTDC_ISPI_MortgageRatio = _thosttraderapi.THOST_FTDC_ISPI_MortgageRatio
r"""
    TFtdcInvestorSettlementParamIDType是一个投资者结算参数代码类型
    质押比例
    """
THOST_FTDC_ISPI_MarginWay = _thosttraderapi.THOST_FTDC_ISPI_MarginWay
r"""保证金算法"""
THOST_FTDC_ISPI_BillDeposit = _thosttraderapi.THOST_FTDC_ISPI_BillDeposit
r"""结算单结存是否包含质押"""
THOST_FTDC_ESPI_MortgageRatio = _thosttraderapi.THOST_FTDC_ESPI_MortgageRatio
r"""
    TFtdcExchangeSettlementParamIDType是一个交易所结算参数代码类型
    质押比例
    """
THOST_FTDC_ESPI_OtherFundItem = _thosttraderapi.THOST_FTDC_ESPI_OtherFundItem
r"""分项资金导入项"""
THOST_FTDC_ESPI_OtherFundImport = _thosttraderapi.THOST_FTDC_ESPI_OtherFundImport
r"""分项资金入交易所出入金"""
THOST_FTDC_ESPI_CFFEXMinPrepa = _thosttraderapi.THOST_FTDC_ESPI_CFFEXMinPrepa
r"""中金所开户最低可用金额"""
THOST_FTDC_ESPI_CZCESettlementType = _thosttraderapi.THOST_FTDC_ESPI_CZCESettlementType
r"""郑商所结算方式"""
THOST_FTDC_ESPI_ExchDelivFeeMode = _thosttraderapi.THOST_FTDC_ESPI_ExchDelivFeeMode
r"""交易所交割手续费收取方式"""
THOST_FTDC_ESPI_DelivFeeMode = _thosttraderapi.THOST_FTDC_ESPI_DelivFeeMode
r"""投资者交割手续费收取方式"""
THOST_FTDC_ESPI_CZCEComMarginType = _thosttraderapi.THOST_FTDC_ESPI_CZCEComMarginType
r"""郑商所组合持仓保证金收取方式"""
THOST_FTDC_ESPI_DceComMarginType = _thosttraderapi.THOST_FTDC_ESPI_DceComMarginType
r"""大商所套利保证金是否优惠"""
THOST_FTDC_ESPI_OptOutDisCountRate = _thosttraderapi.THOST_FTDC_ESPI_OptOutDisCountRate
r"""虚值期权保证金优惠比率"""
THOST_FTDC_ESPI_OptMiniGuarantee = _thosttraderapi.THOST_FTDC_ESPI_OptMiniGuarantee
r"""最低保障系数"""
THOST_FTDC_SPI_InvestorIDMinLength = _thosttraderapi.THOST_FTDC_SPI_InvestorIDMinLength
r"""
    TFtdcSystemParamIDType是一个系统参数代码类型
    投资者代码最小长度
    """
THOST_FTDC_SPI_AccountIDMinLength = _thosttraderapi.THOST_FTDC_SPI_AccountIDMinLength
r"""投资者帐号代码最小长度"""
THOST_FTDC_SPI_UserRightLogon = _thosttraderapi.THOST_FTDC_SPI_UserRightLogon
r"""投资者开户默认登录权限"""
THOST_FTDC_SPI_SettlementBillTrade = _thosttraderapi.THOST_FTDC_SPI_SettlementBillTrade
r"""投资者交易结算单成交汇总方式"""
THOST_FTDC_SPI_TradingCode = _thosttraderapi.THOST_FTDC_SPI_TradingCode
r"""统一开户更新交易编码方式"""
THOST_FTDC_SPI_CheckFund = _thosttraderapi.THOST_FTDC_SPI_CheckFund
r"""结算是否判断存在未复核的出入金和分项资金"""
THOST_FTDC_SPI_CommModelRight = _thosttraderapi.THOST_FTDC_SPI_CommModelRight
r"""是否启用手续费模板数据权限"""
THOST_FTDC_SPI_MarginModelRight = _thosttraderapi.THOST_FTDC_SPI_MarginModelRight
r"""是否启用保证金率模板数据权限"""
THOST_FTDC_SPI_IsStandardActive = _thosttraderapi.THOST_FTDC_SPI_IsStandardActive
r"""是否规范用户才能激活"""
THOST_FTDC_SPI_UploadSettlementFile = _thosttraderapi.THOST_FTDC_SPI_UploadSettlementFile
r"""上传的交易所结算文件路径"""
THOST_FTDC_SPI_DownloadCSRCFile = _thosttraderapi.THOST_FTDC_SPI_DownloadCSRCFile
r"""上报保证金监控中心文件路径"""
THOST_FTDC_SPI_SettlementBillFile = _thosttraderapi.THOST_FTDC_SPI_SettlementBillFile
r"""生成的结算单文件路径"""
THOST_FTDC_SPI_CSRCOthersFile = _thosttraderapi.THOST_FTDC_SPI_CSRCOthersFile
r"""证监会文件标识"""
THOST_FTDC_SPI_InvestorPhoto = _thosttraderapi.THOST_FTDC_SPI_InvestorPhoto
r"""投资者照片路径"""
THOST_FTDC_SPI_CSRCData = _thosttraderapi.THOST_FTDC_SPI_CSRCData
r"""全结经纪公司上传文件路径"""
THOST_FTDC_SPI_InvestorPwdModel = _thosttraderapi.THOST_FTDC_SPI_InvestorPwdModel
r"""开户密码录入方式"""
THOST_FTDC_SPI_CFFEXInvestorSettleFile = _thosttraderapi.THOST_FTDC_SPI_CFFEXInvestorSettleFile
r"""投资者中金所结算文件下载路径"""
THOST_FTDC_SPI_InvestorIDType = _thosttraderapi.THOST_FTDC_SPI_InvestorIDType
r"""投资者代码编码方式"""
THOST_FTDC_SPI_FreezeMaxReMain = _thosttraderapi.THOST_FTDC_SPI_FreezeMaxReMain
r"""休眠户最高权益"""
THOST_FTDC_SPI_IsSync = _thosttraderapi.THOST_FTDC_SPI_IsSync
r"""手续费相关操作实时上场开关"""
THOST_FTDC_SPI_RelieveOpenLimit = _thosttraderapi.THOST_FTDC_SPI_RelieveOpenLimit
r"""解除开仓权限限制"""
THOST_FTDC_SPI_IsStandardFreeze = _thosttraderapi.THOST_FTDC_SPI_IsStandardFreeze
r"""是否规范用户才能休眠"""
THOST_FTDC_SPI_CZCENormalProductHedge = _thosttraderapi.THOST_FTDC_SPI_CZCENormalProductHedge
r"""郑商所是否开放所有品种套保交易"""
THOST_FTDC_TPID_EncryptionStandard = _thosttraderapi.THOST_FTDC_TPID_EncryptionStandard
r"""
    TFtdcTradeParamIDType是一个交易系统参数代码类型
    系统加密算法
    """
THOST_FTDC_TPID_RiskMode = _thosttraderapi.THOST_FTDC_TPID_RiskMode
r"""系统风险算法"""
THOST_FTDC_TPID_RiskModeGlobal = _thosttraderapi.THOST_FTDC_TPID_RiskModeGlobal
r"""系统风险算法是否全局 0-否 1-是"""
THOST_FTDC_TPID_modeEncode = _thosttraderapi.THOST_FTDC_TPID_modeEncode
r"""密码加密算法"""
THOST_FTDC_TPID_tickMode = _thosttraderapi.THOST_FTDC_TPID_tickMode
r"""价格小数位数参数"""
THOST_FTDC_TPID_SingleUserSessionMaxNum = _thosttraderapi.THOST_FTDC_TPID_SingleUserSessionMaxNum
r"""用户最大会话数"""
THOST_FTDC_TPID_LoginFailMaxNum = _thosttraderapi.THOST_FTDC_TPID_LoginFailMaxNum
r"""最大连续登录失败数"""
THOST_FTDC_TPID_IsAuthForce = _thosttraderapi.THOST_FTDC_TPID_IsAuthForce
r"""是否强制认证"""
THOST_FTDC_TPID_IsPosiFreeze = _thosttraderapi.THOST_FTDC_TPID_IsPosiFreeze
r"""是否冻结证券持仓"""
THOST_FTDC_TPID_IsPosiLimit = _thosttraderapi.THOST_FTDC_TPID_IsPosiLimit
r"""是否限仓"""
THOST_FTDC_TPID_ForQuoteTimeInterval = _thosttraderapi.THOST_FTDC_TPID_ForQuoteTimeInterval
r"""郑商所询价时间间隔"""
THOST_FTDC_TPID_IsFuturePosiLimit = _thosttraderapi.THOST_FTDC_TPID_IsFuturePosiLimit
r"""是否期货限仓"""
THOST_FTDC_TPID_IsFutureOrderFreq = _thosttraderapi.THOST_FTDC_TPID_IsFutureOrderFreq
r"""是否期货下单频率限制"""
THOST_FTDC_TPID_IsExecOrderProfit = _thosttraderapi.THOST_FTDC_TPID_IsExecOrderProfit
r"""行权冻结是否计算盈利"""
THOST_FTDC_TPID_IsCheckBankAcc = _thosttraderapi.THOST_FTDC_TPID_IsCheckBankAcc
r"""银期开户是否验证开户银行卡号是否是预留银行账户"""
THOST_FTDC_TPID_PasswordDeadLine = _thosttraderapi.THOST_FTDC_TPID_PasswordDeadLine
r"""弱密码最后修改日期"""
THOST_FTDC_TPID_IsStrongPassword = _thosttraderapi.THOST_FTDC_TPID_IsStrongPassword
r"""强密码校验"""
THOST_FTDC_TPID_BalanceMorgage = _thosttraderapi.THOST_FTDC_TPID_BalanceMorgage
r"""自有资金质押比"""
THOST_FTDC_TPID_MinPwdLen = _thosttraderapi.THOST_FTDC_TPID_MinPwdLen
r"""最小密码长度"""
THOST_FTDC_TPID_LoginFailMaxNumForIP = _thosttraderapi.THOST_FTDC_TPID_LoginFailMaxNumForIP
r"""IP当日最大登陆失败次数"""
THOST_FTDC_TPID_PasswordPeriod = _thosttraderapi.THOST_FTDC_TPID_PasswordPeriod
r"""密码有效期"""
THOST_FTDC_FI_SettlementFund = _thosttraderapi.THOST_FTDC_FI_SettlementFund
r"""
    TFtdcFileIDType是一个文件标识类型
    资金数据
    """
THOST_FTDC_FI_Trade = _thosttraderapi.THOST_FTDC_FI_Trade
r"""成交数据"""
THOST_FTDC_FI_InvestorPosition = _thosttraderapi.THOST_FTDC_FI_InvestorPosition
r"""投资者持仓数据"""
THOST_FTDC_FI_SubEntryFund = _thosttraderapi.THOST_FTDC_FI_SubEntryFund
r"""投资者分项资金数据"""
THOST_FTDC_FI_CZCECombinationPos = _thosttraderapi.THOST_FTDC_FI_CZCECombinationPos
r"""组合持仓数据"""
THOST_FTDC_FI_CSRCData = _thosttraderapi.THOST_FTDC_FI_CSRCData
r"""上报保证金监控中心数据"""
THOST_FTDC_FI_CZCEClose = _thosttraderapi.THOST_FTDC_FI_CZCEClose
r"""郑商所平仓了结数据"""
THOST_FTDC_FI_CZCENoClose = _thosttraderapi.THOST_FTDC_FI_CZCENoClose
r"""郑商所非平仓了结数据"""
THOST_FTDC_FI_PositionDtl = _thosttraderapi.THOST_FTDC_FI_PositionDtl
r"""持仓明细数据"""
THOST_FTDC_FI_OptionStrike = _thosttraderapi.THOST_FTDC_FI_OptionStrike
r"""期权执行文件"""
THOST_FTDC_FI_SettlementPriceComparison = _thosttraderapi.THOST_FTDC_FI_SettlementPriceComparison
r"""结算价比对文件"""
THOST_FTDC_FI_NonTradePosChange = _thosttraderapi.THOST_FTDC_FI_NonTradePosChange
r"""上期所非持仓变动明细"""
THOST_FTDC_FUT_Settlement = _thosttraderapi.THOST_FTDC_FUT_Settlement
r"""
    TFtdcFileTypeType是一个文件上传类型类型
    结算
    """
THOST_FTDC_FUT_Check = _thosttraderapi.THOST_FTDC_FUT_Check
r"""核对"""
THOST_FTDC_FFT_Txt = _thosttraderapi.THOST_FTDC_FFT_Txt
r"""
    TFtdcFileFormatType是一个文件格式类型
    文本文件(.txt)
    """
THOST_FTDC_FFT_Zip = _thosttraderapi.THOST_FTDC_FFT_Zip
r"""压缩文件(.zip)"""
THOST_FTDC_FFT_DBF = _thosttraderapi.THOST_FTDC_FFT_DBF
r"""DBF文件(.dbf)"""
THOST_FTDC_FUS_SucceedUpload = _thosttraderapi.THOST_FTDC_FUS_SucceedUpload
r"""
    TFtdcFileUploadStatusType是一个文件状态类型
    上传成功
    """
THOST_FTDC_FUS_FailedUpload = _thosttraderapi.THOST_FTDC_FUS_FailedUpload
r"""上传失败"""
THOST_FTDC_FUS_SucceedLoad = _thosttraderapi.THOST_FTDC_FUS_SucceedLoad
r"""导入成功"""
THOST_FTDC_FUS_PartSucceedLoad = _thosttraderapi.THOST_FTDC_FUS_PartSucceedLoad
r"""导入部分成功"""
THOST_FTDC_FUS_FailedLoad = _thosttraderapi.THOST_FTDC_FUS_FailedLoad
r"""导入失败"""
THOST_FTDC_TD_Out = _thosttraderapi.THOST_FTDC_TD_Out
r"""
    TFtdcTransferDirectionType是一个移仓方向类型
    移出
    """
THOST_FTDC_TD_In = _thosttraderapi.THOST_FTDC_TD_In
r"""移入"""
THOST_FTDC_SC_NoSpecialRule = _thosttraderapi.THOST_FTDC_SC_NoSpecialRule
r"""
    TFtdcSpecialCreateRuleType是一个特殊的创建规则类型
    没有特殊创建规则
    """
THOST_FTDC_SC_NoSpringFestival = _thosttraderapi.THOST_FTDC_SC_NoSpringFestival
r"""不包含春节"""
THOST_FTDC_IPT_LastSettlement = _thosttraderapi.THOST_FTDC_IPT_LastSettlement
r"""
    TFtdcBasisPriceTypeType是一个挂牌基准价类型类型
    上一合约结算价
    """
THOST_FTDC_IPT_LaseClose = _thosttraderapi.THOST_FTDC_IPT_LaseClose
r"""上一合约收盘价"""
THOST_FTDC_PLP_Active = _thosttraderapi.THOST_FTDC_PLP_Active
r"""
    TFtdcProductLifePhaseType是一个产品生命周期状态类型
    活跃
    """
THOST_FTDC_PLP_NonActive = _thosttraderapi.THOST_FTDC_PLP_NonActive
r"""不活跃"""
THOST_FTDC_PLP_Canceled = _thosttraderapi.THOST_FTDC_PLP_Canceled
r"""注销"""
THOST_FTDC_DM_CashDeliv = _thosttraderapi.THOST_FTDC_DM_CashDeliv
r"""
    TFtdcDeliveryModeType是一个交割方式类型
    现金交割
    """
THOST_FTDC_DM_CommodityDeliv = _thosttraderapi.THOST_FTDC_DM_CommodityDeliv
r"""实物交割"""
THOST_FTDC_FIOT_FundIO = _thosttraderapi.THOST_FTDC_FIOT_FundIO
r"""
    TFtdcFundIOTypeType是一个出入金类型类型
    出入金
    """
THOST_FTDC_FIOT_Transfer = _thosttraderapi.THOST_FTDC_FIOT_Transfer
r"""银期转帐"""
THOST_FTDC_FIOT_SwapCurrency = _thosttraderapi.THOST_FTDC_FIOT_SwapCurrency
r"""银期换汇"""
THOST_FTDC_FT_Deposite = _thosttraderapi.THOST_FTDC_FT_Deposite
r"""
    TFtdcFundTypeType是一个资金类型类型
    银行存款
    """
THOST_FTDC_FT_ItemFund = _thosttraderapi.THOST_FTDC_FT_ItemFund
r"""分项资金"""
THOST_FTDC_FT_Company = _thosttraderapi.THOST_FTDC_FT_Company
r"""公司调整"""
THOST_FTDC_FT_InnerTransfer = _thosttraderapi.THOST_FTDC_FT_InnerTransfer
r"""资金内转"""
THOST_FTDC_FD_In = _thosttraderapi.THOST_FTDC_FD_In
r"""
    TFtdcFundDirectionType是一个出入金方向类型
    入金
    """
THOST_FTDC_FD_Out = _thosttraderapi.THOST_FTDC_FD_Out
r"""出金"""
THOST_FTDC_FS_Record = _thosttraderapi.THOST_FTDC_FS_Record
r"""
    TFtdcFundStatusType是一个资金状态类型
    已录入
    """
THOST_FTDC_FS_Check = _thosttraderapi.THOST_FTDC_FS_Check
r"""已复核"""
THOST_FTDC_FS_Charge = _thosttraderapi.THOST_FTDC_FS_Charge
r"""已冲销"""
THOST_FTDC_PS_None = _thosttraderapi.THOST_FTDC_PS_None
r"""
    TFtdcPublishStatusType是一个发布状态类型
    未发布
    """
THOST_FTDC_PS_Publishing = _thosttraderapi.THOST_FTDC_PS_Publishing
r"""正在发布"""
THOST_FTDC_PS_Published = _thosttraderapi.THOST_FTDC_PS_Published
r"""已发布"""
THOST_FTDC_ES_NonActive = _thosttraderapi.THOST_FTDC_ES_NonActive
r"""
    TFtdcSystemStatusType是一个系统状态类型
    不活跃
    """
THOST_FTDC_ES_Startup = _thosttraderapi.THOST_FTDC_ES_Startup
r"""启动"""
THOST_FTDC_ES_Initialize = _thosttraderapi.THOST_FTDC_ES_Initialize
r"""交易开始初始化"""
THOST_FTDC_ES_Initialized = _thosttraderapi.THOST_FTDC_ES_Initialized
r"""交易完成初始化"""
THOST_FTDC_ES_Close = _thosttraderapi.THOST_FTDC_ES_Close
r"""收市开始"""
THOST_FTDC_ES_Closed = _thosttraderapi.THOST_FTDC_ES_Closed
r"""收市完成"""
THOST_FTDC_ES_Settlement = _thosttraderapi.THOST_FTDC_ES_Settlement
r"""结算"""
THOST_FTDC_STS_Initialize = _thosttraderapi.THOST_FTDC_STS_Initialize
r"""
    TFtdcSettlementStatusType是一个结算状态类型
    初始
    """
THOST_FTDC_STS_Settlementing = _thosttraderapi.THOST_FTDC_STS_Settlementing
r"""结算中"""
THOST_FTDC_STS_Settlemented = _thosttraderapi.THOST_FTDC_STS_Settlemented
r"""已结算"""
THOST_FTDC_STS_Finished = _thosttraderapi.THOST_FTDC_STS_Finished
r"""结算完成"""
THOST_FTDC_CT_Person = _thosttraderapi.THOST_FTDC_CT_Person
r"""
    TFtdcInvestorTypeType是一个投资者类型类型
    自然人
    """
THOST_FTDC_CT_Company = _thosttraderapi.THOST_FTDC_CT_Company
r"""法人"""
THOST_FTDC_CT_Fund = _thosttraderapi.THOST_FTDC_CT_Fund
r"""投资基金"""
THOST_FTDC_CT_SpecialOrgan = _thosttraderapi.THOST_FTDC_CT_SpecialOrgan
r"""特殊法人"""
THOST_FTDC_CT_Asset = _thosttraderapi.THOST_FTDC_CT_Asset
r"""资管户"""
THOST_FTDC_BT_Trade = _thosttraderapi.THOST_FTDC_BT_Trade
r"""
    TFtdcBrokerTypeType是一个经纪公司类型类型
    交易会员
    """
THOST_FTDC_BT_TradeSettle = _thosttraderapi.THOST_FTDC_BT_TradeSettle
r"""交易结算会员"""
THOST_FTDC_FAS_Low = _thosttraderapi.THOST_FTDC_FAS_Low
r"""
    TFtdcRiskLevelType是一个风险等级类型
    低风险客户
    """
THOST_FTDC_FAS_Normal = _thosttraderapi.THOST_FTDC_FAS_Normal
r"""普通客户"""
THOST_FTDC_FAS_Focus = _thosttraderapi.THOST_FTDC_FAS_Focus
r"""关注客户"""
THOST_FTDC_FAS_Risk = _thosttraderapi.THOST_FTDC_FAS_Risk
r"""风险客户"""
THOST_FTDC_FAS_ByTrade = _thosttraderapi.THOST_FTDC_FAS_ByTrade
r"""
    TFtdcFeeAcceptStyleType是一个手续费收取方式类型
    按交易收取
    """
THOST_FTDC_FAS_ByDeliv = _thosttraderapi.THOST_FTDC_FAS_ByDeliv
r"""按交割收取"""
THOST_FTDC_FAS_None = _thosttraderapi.THOST_FTDC_FAS_None
r"""不收"""
THOST_FTDC_FAS_FixFee = _thosttraderapi.THOST_FTDC_FAS_FixFee
r"""按指定手续费收取"""
THOST_FTDC_PWDT_Trade = _thosttraderapi.THOST_FTDC_PWDT_Trade
r"""
    TFtdcPasswordTypeType是一个密码类型类型
    交易密码
    """
THOST_FTDC_PWDT_Account = _thosttraderapi.THOST_FTDC_PWDT_Account
r"""资金密码"""
THOST_FTDC_AG_All = _thosttraderapi.THOST_FTDC_AG_All
r"""
    TFtdcAlgorithmType是一个盈亏算法类型
    浮盈浮亏都计算
    """
THOST_FTDC_AG_OnlyLost = _thosttraderapi.THOST_FTDC_AG_OnlyLost
r"""浮盈不计，浮亏计"""
THOST_FTDC_AG_OnlyGain = _thosttraderapi.THOST_FTDC_AG_OnlyGain
r"""浮盈计，浮亏不计"""
THOST_FTDC_AG_None = _thosttraderapi.THOST_FTDC_AG_None
r"""浮盈浮亏都不计算"""
THOST_FTDC_ICP_Include = _thosttraderapi.THOST_FTDC_ICP_Include
r"""
    TFtdcIncludeCloseProfitType是一个是否包含平仓盈利类型
    包含平仓盈利
    """
THOST_FTDC_ICP_NotInclude = _thosttraderapi.THOST_FTDC_ICP_NotInclude
r"""不包含平仓盈利"""
THOST_FTDC_AWT_Enable = _thosttraderapi.THOST_FTDC_AWT_Enable
r"""
    TFtdcAllWithoutTradeType是一个是否受可提比例限制类型
    无仓无成交不受可提比例限制
    """
THOST_FTDC_AWT_Disable = _thosttraderapi.THOST_FTDC_AWT_Disable
r"""受可提比例限制"""
THOST_FTDC_AWT_NoHoldEnable = _thosttraderapi.THOST_FTDC_AWT_NoHoldEnable
r"""无仓不受可提比例限制"""
THOST_FTDC_FPWD_UnCheck = _thosttraderapi.THOST_FTDC_FPWD_UnCheck
r"""
    TFtdcFuturePwdFlagType是一个资金密码核对标志类型
    不核对
    """
THOST_FTDC_FPWD_Check = _thosttraderapi.THOST_FTDC_FPWD_Check
r"""核对"""
THOST_FTDC_TT_BankToFuture = _thosttraderapi.THOST_FTDC_TT_BankToFuture
r"""
    TFtdcTransferTypeType是一个银期转账类型类型
    银行转期货
    """
THOST_FTDC_TT_FutureToBank = _thosttraderapi.THOST_FTDC_TT_FutureToBank
r"""期货转银行"""
THOST_FTDC_TVF_Invalid = _thosttraderapi.THOST_FTDC_TVF_Invalid
r"""
    TFtdcTransferValidFlagType是一个转账有效标志类型
    无效或失败
    """
THOST_FTDC_TVF_Valid = _thosttraderapi.THOST_FTDC_TVF_Valid
r"""有效"""
THOST_FTDC_TVF_Reverse = _thosttraderapi.THOST_FTDC_TVF_Reverse
r"""冲正"""
THOST_FTDC_RN_CD = _thosttraderapi.THOST_FTDC_RN_CD
r"""
    TFtdcReasonType是一个事由类型
    错单
    """
THOST_FTDC_RN_ZT = _thosttraderapi.THOST_FTDC_RN_ZT
r"""资金在途"""
THOST_FTDC_RN_QT = _thosttraderapi.THOST_FTDC_RN_QT
r"""其它"""
THOST_FTDC_SEX_None = _thosttraderapi.THOST_FTDC_SEX_None
r"""
    TFtdcSexType是一个性别类型
    未知
    """
THOST_FTDC_SEX_Man = _thosttraderapi.THOST_FTDC_SEX_Man
r"""男"""
THOST_FTDC_SEX_Woman = _thosttraderapi.THOST_FTDC_SEX_Woman
r"""女"""
THOST_FTDC_UT_Investor = _thosttraderapi.THOST_FTDC_UT_Investor
r"""
    TFtdcUserTypeType是一个用户类型类型
    投资者
    """
THOST_FTDC_UT_Operator = _thosttraderapi.THOST_FTDC_UT_Operator
r"""操作员"""
THOST_FTDC_UT_SuperUser = _thosttraderapi.THOST_FTDC_UT_SuperUser
r"""管理员"""
THOST_FTDC_RATETYPE_MarginRate = _thosttraderapi.THOST_FTDC_RATETYPE_MarginRate
r"""
    TFtdcRateTypeType是一个费率类型类型
    保证金率
    """
THOST_FTDC_NOTETYPE_TradeSettleBill = _thosttraderapi.THOST_FTDC_NOTETYPE_TradeSettleBill
r"""
    TFtdcNoteTypeType是一个通知类型类型
    交易结算单
    """
THOST_FTDC_NOTETYPE_TradeSettleMonth = _thosttraderapi.THOST_FTDC_NOTETYPE_TradeSettleMonth
r"""交易结算月报"""
THOST_FTDC_NOTETYPE_CallMarginNotes = _thosttraderapi.THOST_FTDC_NOTETYPE_CallMarginNotes
r"""追加保证金通知书"""
THOST_FTDC_NOTETYPE_ForceCloseNotes = _thosttraderapi.THOST_FTDC_NOTETYPE_ForceCloseNotes
r"""强行平仓通知书"""
THOST_FTDC_NOTETYPE_TradeNotes = _thosttraderapi.THOST_FTDC_NOTETYPE_TradeNotes
r"""成交通知书"""
THOST_FTDC_NOTETYPE_DelivNotes = _thosttraderapi.THOST_FTDC_NOTETYPE_DelivNotes
r"""交割通知书"""
THOST_FTDC_SBS_Day = _thosttraderapi.THOST_FTDC_SBS_Day
r"""
    TFtdcSettlementStyleType是一个结算单方式类型
    逐日盯市
    """
THOST_FTDC_SBS_Volume = _thosttraderapi.THOST_FTDC_SBS_Volume
r"""逐笔对冲"""
THOST_FTDC_ST_Day = _thosttraderapi.THOST_FTDC_ST_Day
r"""
    TFtdcSettlementBillTypeType是一个结算单类型类型
    日报
    """
THOST_FTDC_ST_Month = _thosttraderapi.THOST_FTDC_ST_Month
r"""月报"""
THOST_FTDC_URT_Logon = _thosttraderapi.THOST_FTDC_URT_Logon
r"""
    TFtdcUserRightTypeType是一个客户权限类型类型
    登录
    """
THOST_FTDC_URT_Transfer = _thosttraderapi.THOST_FTDC_URT_Transfer
r"""银期转帐"""
THOST_FTDC_URT_EMail = _thosttraderapi.THOST_FTDC_URT_EMail
r"""邮寄结算单"""
THOST_FTDC_URT_Fax = _thosttraderapi.THOST_FTDC_URT_Fax
r"""传真结算单"""
THOST_FTDC_URT_ConditionOrder = _thosttraderapi.THOST_FTDC_URT_ConditionOrder
r"""条件单"""
THOST_FTDC_MPT_PreSettlementPrice = _thosttraderapi.THOST_FTDC_MPT_PreSettlementPrice
r"""
    TFtdcMarginPriceTypeType是一个保证金价格类型类型
    昨结算价
    """
THOST_FTDC_MPT_SettlementPrice = _thosttraderapi.THOST_FTDC_MPT_SettlementPrice
r"""最新价"""
THOST_FTDC_MPT_AveragePrice = _thosttraderapi.THOST_FTDC_MPT_AveragePrice
r"""成交均价"""
THOST_FTDC_MPT_OpenPrice = _thosttraderapi.THOST_FTDC_MPT_OpenPrice
r"""开仓价"""
THOST_FTDC_BGS_None = _thosttraderapi.THOST_FTDC_BGS_None
r"""
    TFtdcBillGenStatusType是一个结算单生成状态类型
    未生成
    """
THOST_FTDC_BGS_NoGenerated = _thosttraderapi.THOST_FTDC_BGS_NoGenerated
r"""生成中"""
THOST_FTDC_BGS_Generated = _thosttraderapi.THOST_FTDC_BGS_Generated
r"""已生成"""
THOST_FTDC_AT_HandlePositionAlgo = _thosttraderapi.THOST_FTDC_AT_HandlePositionAlgo
r"""
    TFtdcAlgoTypeType是一个算法类型类型
    持仓处理算法
    """
THOST_FTDC_AT_FindMarginRateAlgo = _thosttraderapi.THOST_FTDC_AT_FindMarginRateAlgo
r"""寻找保证金率算法"""
THOST_FTDC_HPA_Base = _thosttraderapi.THOST_FTDC_HPA_Base
r"""
    TFtdcHandlePositionAlgoIDType是一个持仓处理算法编号类型
    基本
    """
THOST_FTDC_HPA_DCE = _thosttraderapi.THOST_FTDC_HPA_DCE
r"""大连商品交易所"""
THOST_FTDC_HPA_CZCE = _thosttraderapi.THOST_FTDC_HPA_CZCE
r"""郑州商品交易所"""
THOST_FTDC_FMRA_Base = _thosttraderapi.THOST_FTDC_FMRA_Base
r"""
    TFtdcFindMarginRateAlgoIDType是一个寻找保证金率算法编号类型
    基本
    """
THOST_FTDC_FMRA_DCE = _thosttraderapi.THOST_FTDC_FMRA_DCE
r"""大连商品交易所"""
THOST_FTDC_FMRA_CZCE = _thosttraderapi.THOST_FTDC_FMRA_CZCE
r"""郑州商品交易所"""
THOST_FTDC_HTAA_Base = _thosttraderapi.THOST_FTDC_HTAA_Base
r"""
    TFtdcHandleTradingAccountAlgoIDType是一个资金处理算法编号类型
    基本
    """
THOST_FTDC_HTAA_DCE = _thosttraderapi.THOST_FTDC_HTAA_DCE
r"""大连商品交易所"""
THOST_FTDC_HTAA_CZCE = _thosttraderapi.THOST_FTDC_HTAA_CZCE
r"""郑州商品交易所"""
THOST_FTDC_PST_Order = _thosttraderapi.THOST_FTDC_PST_Order
r"""
    TFtdcPersonTypeType是一个联系人类型类型
    指定下单人
    """
THOST_FTDC_PST_Open = _thosttraderapi.THOST_FTDC_PST_Open
r"""开户授权人"""
THOST_FTDC_PST_Fund = _thosttraderapi.THOST_FTDC_PST_Fund
r"""资金调拨人"""
THOST_FTDC_PST_Settlement = _thosttraderapi.THOST_FTDC_PST_Settlement
r"""结算单确认人"""
THOST_FTDC_PST_Company = _thosttraderapi.THOST_FTDC_PST_Company
r"""法人"""
THOST_FTDC_PST_Corporation = _thosttraderapi.THOST_FTDC_PST_Corporation
r"""法人代表"""
THOST_FTDC_PST_LinkMan = _thosttraderapi.THOST_FTDC_PST_LinkMan
r"""投资者联系人"""
THOST_FTDC_PST_Ledger = _thosttraderapi.THOST_FTDC_PST_Ledger
r"""分户管理资产负责人"""
THOST_FTDC_PST_Trustee = _thosttraderapi.THOST_FTDC_PST_Trustee
r"""托（保）管人"""
THOST_FTDC_PST_TrusteeCorporation = _thosttraderapi.THOST_FTDC_PST_TrusteeCorporation
r"""托（保）管机构法人代表"""
THOST_FTDC_PST_TrusteeOpen = _thosttraderapi.THOST_FTDC_PST_TrusteeOpen
r"""托（保）管机构开户授权人"""
THOST_FTDC_PST_TrusteeContact = _thosttraderapi.THOST_FTDC_PST_TrusteeContact
r"""托（保）管机构联系人"""
THOST_FTDC_PST_ForeignerRefer = _thosttraderapi.THOST_FTDC_PST_ForeignerRefer
r"""境外自然人参考证件"""
THOST_FTDC_PST_CorporationRefer = _thosttraderapi.THOST_FTDC_PST_CorporationRefer
r"""法人代表参考证件"""
THOST_FTDC_QIR_All = _thosttraderapi.THOST_FTDC_QIR_All
r"""
    TFtdcQueryInvestorRangeType是一个查询范围类型
    所有
    """
THOST_FTDC_QIR_Group = _thosttraderapi.THOST_FTDC_QIR_Group
r"""查询分类"""
THOST_FTDC_QIR_Single = _thosttraderapi.THOST_FTDC_QIR_Single
r"""单一投资者"""
THOST_FTDC_IRS_Normal = _thosttraderapi.THOST_FTDC_IRS_Normal
r"""
    TFtdcInvestorRiskStatusType是一个投资者风险状态类型
    正常
    """
THOST_FTDC_IRS_Warn = _thosttraderapi.THOST_FTDC_IRS_Warn
r"""警告"""
THOST_FTDC_IRS_Call = _thosttraderapi.THOST_FTDC_IRS_Call
r"""追保"""
THOST_FTDC_IRS_Force = _thosttraderapi.THOST_FTDC_IRS_Force
r"""强平"""
THOST_FTDC_IRS_Exception = _thosttraderapi.THOST_FTDC_IRS_Exception
r"""异常"""
THOST_FTDC_UET_Login = _thosttraderapi.THOST_FTDC_UET_Login
r"""
    TFtdcUserEventTypeType是一个用户事件类型类型
    登录
    """
THOST_FTDC_UET_Logout = _thosttraderapi.THOST_FTDC_UET_Logout
r"""登出"""
THOST_FTDC_UET_Trading = _thosttraderapi.THOST_FTDC_UET_Trading
r"""CTP校验通过"""
THOST_FTDC_UET_TradingError = _thosttraderapi.THOST_FTDC_UET_TradingError
r"""CTP校验失败"""
THOST_FTDC_UET_UpdatePassword = _thosttraderapi.THOST_FTDC_UET_UpdatePassword
r"""修改密码"""
THOST_FTDC_UET_Authenticate = _thosttraderapi.THOST_FTDC_UET_Authenticate
r"""客户端认证"""
THOST_FTDC_UET_SubmitSysInfo = _thosttraderapi.THOST_FTDC_UET_SubmitSysInfo
r"""终端信息上报"""
THOST_FTDC_UET_Transfer = _thosttraderapi.THOST_FTDC_UET_Transfer
r"""转账"""
THOST_FTDC_UET_Other = _thosttraderapi.THOST_FTDC_UET_Other
r"""其他"""
THOST_FTDC_ICS_Close = _thosttraderapi.THOST_FTDC_ICS_Close
r"""
    TFtdcCloseStyleType是一个平仓方式类型
    先开先平
    """
THOST_FTDC_ICS_CloseToday = _thosttraderapi.THOST_FTDC_ICS_CloseToday
r"""先平今再平昨"""
THOST_FTDC_SM_Non = _thosttraderapi.THOST_FTDC_SM_Non
r"""
    TFtdcStatModeType是一个统计方式类型
    ----
    """
THOST_FTDC_SM_Instrument = _thosttraderapi.THOST_FTDC_SM_Instrument
r"""按合约统计"""
THOST_FTDC_SM_Product = _thosttraderapi.THOST_FTDC_SM_Product
r"""按产品统计"""
THOST_FTDC_SM_Investor = _thosttraderapi.THOST_FTDC_SM_Investor
r"""按投资者统计"""
THOST_FTDC_PAOS_NotSend = _thosttraderapi.THOST_FTDC_PAOS_NotSend
r"""
    TFtdcParkedOrderStatusType是一个预埋单状态类型
    未发送
    """
THOST_FTDC_PAOS_Send = _thosttraderapi.THOST_FTDC_PAOS_Send
r"""已发送"""
THOST_FTDC_PAOS_Deleted = _thosttraderapi.THOST_FTDC_PAOS_Deleted
r"""已删除"""
THOST_FTDC_VDS_Dealing = _thosttraderapi.THOST_FTDC_VDS_Dealing
r"""
    TFtdcVirDealStatusType是一个处理状态类型
    正在处理
    """
THOST_FTDC_VDS_DeaclSucceed = _thosttraderapi.THOST_FTDC_VDS_DeaclSucceed
r"""处理成功"""
THOST_FTDC_ORGS_Standard = _thosttraderapi.THOST_FTDC_ORGS_Standard
r"""
    TFtdcOrgSystemIDType是一个原有系统代码类型
    综合交易平台
    """
THOST_FTDC_ORGS_ESunny = _thosttraderapi.THOST_FTDC_ORGS_ESunny
r"""易盛系统"""
THOST_FTDC_ORGS_KingStarV6 = _thosttraderapi.THOST_FTDC_ORGS_KingStarV6
r"""金仕达V6系统"""
THOST_FTDC_VTS_NaturalDeal = _thosttraderapi.THOST_FTDC_VTS_NaturalDeal
r"""
    TFtdcVirTradeStatusType是一个交易状态类型
    正常处理中
    """
THOST_FTDC_VTS_SucceedEnd = _thosttraderapi.THOST_FTDC_VTS_SucceedEnd
r"""成功结束"""
THOST_FTDC_VTS_FailedEND = _thosttraderapi.THOST_FTDC_VTS_FailedEND
r"""失败结束"""
THOST_FTDC_VTS_Exception = _thosttraderapi.THOST_FTDC_VTS_Exception
r"""异常中"""
THOST_FTDC_VTS_ManualDeal = _thosttraderapi.THOST_FTDC_VTS_ManualDeal
r"""已人工异常处理"""
THOST_FTDC_VTS_MesException = _thosttraderapi.THOST_FTDC_VTS_MesException
r"""通讯异常 ，请人工处理"""
THOST_FTDC_VTS_SysException = _thosttraderapi.THOST_FTDC_VTS_SysException
r"""系统出错，请人工处理"""
THOST_FTDC_VBAT_BankBook = _thosttraderapi.THOST_FTDC_VBAT_BankBook
r"""
    TFtdcVirBankAccTypeType是一个银行帐户类型类型
    存折
    """
THOST_FTDC_VBAT_BankCard = _thosttraderapi.THOST_FTDC_VBAT_BankCard
r"""储蓄卡"""
THOST_FTDC_VBAT_CreditCard = _thosttraderapi.THOST_FTDC_VBAT_CreditCard
r"""信用卡"""
THOST_FTDC_VMS_Natural = _thosttraderapi.THOST_FTDC_VMS_Natural
r"""
    TFtdcVirementStatusType是一个银行帐户类型类型
    正常
    """
THOST_FTDC_VMS_Canceled = _thosttraderapi.THOST_FTDC_VMS_Canceled
r"""销户"""
THOST_FTDC_VAA_NoAvailAbility = _thosttraderapi.THOST_FTDC_VAA_NoAvailAbility
r"""
    TFtdcVirementAvailAbilityType是一个有效标志类型
    未确认
    """
THOST_FTDC_VAA_AvailAbility = _thosttraderapi.THOST_FTDC_VAA_AvailAbility
r"""有效"""
THOST_FTDC_VAA_Repeal = _thosttraderapi.THOST_FTDC_VAA_Repeal
r"""冲正"""
THOST_FTDC_GEN_Program = _thosttraderapi.THOST_FTDC_GEN_Program
r"""
    TFtdcAMLGenStatusType是一个Aml生成方式类型
    程序生成
    """
THOST_FTDC_GEN_HandWork = _thosttraderapi.THOST_FTDC_GEN_HandWork
r"""人工生成"""
THOST_FTDC_CFMMCKK_REQUEST = _thosttraderapi.THOST_FTDC_CFMMCKK_REQUEST
r"""
    TFtdcCFMMCKeyKindType是一个动态密钥类别(保证金监管)类型
    主动请求更新
    """
THOST_FTDC_CFMMCKK_AUTO = _thosttraderapi.THOST_FTDC_CFMMCKK_AUTO
r"""CFMMC自动更新"""
THOST_FTDC_CFMMCKK_MANUAL = _thosttraderapi.THOST_FTDC_CFMMCKK_MANUAL
r"""CFMMC手动更新"""
THOST_FTDC_CFT_IDCard = _thosttraderapi.THOST_FTDC_CFT_IDCard
r"""
    TFtdcCertificationTypeType是一个证件类型类型
    身份证
    """
THOST_FTDC_CFT_Passport = _thosttraderapi.THOST_FTDC_CFT_Passport
r"""护照"""
THOST_FTDC_CFT_OfficerIDCard = _thosttraderapi.THOST_FTDC_CFT_OfficerIDCard
r"""军官证"""
THOST_FTDC_CFT_SoldierIDCard = _thosttraderapi.THOST_FTDC_CFT_SoldierIDCard
r"""士兵证"""
THOST_FTDC_CFT_HomeComingCard = _thosttraderapi.THOST_FTDC_CFT_HomeComingCard
r"""回乡证"""
THOST_FTDC_CFT_HouseholdRegister = _thosttraderapi.THOST_FTDC_CFT_HouseholdRegister
r"""户口簿"""
THOST_FTDC_CFT_LicenseNo = _thosttraderapi.THOST_FTDC_CFT_LicenseNo
r"""营业执照号"""
THOST_FTDC_CFT_InstitutionCodeCard = _thosttraderapi.THOST_FTDC_CFT_InstitutionCodeCard
r"""组织机构代码证"""
THOST_FTDC_CFT_TempLicenseNo = _thosttraderapi.THOST_FTDC_CFT_TempLicenseNo
r"""临时营业执照号"""
THOST_FTDC_CFT_NoEnterpriseLicenseNo = _thosttraderapi.THOST_FTDC_CFT_NoEnterpriseLicenseNo
r"""民办非企业登记证书"""
THOST_FTDC_CFT_OtherCard = _thosttraderapi.THOST_FTDC_CFT_OtherCard
r"""其他证件"""
THOST_FTDC_CFT_SuperDepAgree = _thosttraderapi.THOST_FTDC_CFT_SuperDepAgree
r"""主管部门批文"""
THOST_FTDC_FBC_Others = _thosttraderapi.THOST_FTDC_FBC_Others
r"""
    TFtdcFileBusinessCodeType是一个文件业务功能类型
    其他
    """
THOST_FTDC_FBC_TransferDetails = _thosttraderapi.THOST_FTDC_FBC_TransferDetails
r"""转账交易明细对账"""
THOST_FTDC_FBC_CustAccStatus = _thosttraderapi.THOST_FTDC_FBC_CustAccStatus
r"""客户账户状态对账"""
THOST_FTDC_FBC_AccountTradeDetails = _thosttraderapi.THOST_FTDC_FBC_AccountTradeDetails
r"""账户类交易明细对账"""
THOST_FTDC_FBC_FutureAccountChangeInfoDetails = _thosttraderapi.THOST_FTDC_FBC_FutureAccountChangeInfoDetails
r"""期货账户信息变更明细对账"""
THOST_FTDC_FBC_CustMoneyDetail = _thosttraderapi.THOST_FTDC_FBC_CustMoneyDetail
r"""客户资金台账余额明细对账"""
THOST_FTDC_FBC_CustCancelAccountInfo = _thosttraderapi.THOST_FTDC_FBC_CustCancelAccountInfo
r"""客户销户结息明细对账"""
THOST_FTDC_FBC_CustMoneyResult = _thosttraderapi.THOST_FTDC_FBC_CustMoneyResult
r"""客户资金余额对账结果"""
THOST_FTDC_FBC_OthersExceptionResult = _thosttraderapi.THOST_FTDC_FBC_OthersExceptionResult
r"""其它对账异常结果文件"""
THOST_FTDC_FBC_CustInterestNetMoneyDetails = _thosttraderapi.THOST_FTDC_FBC_CustInterestNetMoneyDetails
r"""客户结息净额明细"""
THOST_FTDC_FBC_CustMoneySendAndReceiveDetails = _thosttraderapi.THOST_FTDC_FBC_CustMoneySendAndReceiveDetails
r"""客户资金交收明细"""
THOST_FTDC_FBC_CorporationMoneyTotal = _thosttraderapi.THOST_FTDC_FBC_CorporationMoneyTotal
r"""法人存管银行资金交收汇总"""
THOST_FTDC_FBC_MainbodyMoneyTotal = _thosttraderapi.THOST_FTDC_FBC_MainbodyMoneyTotal
r"""主体间资金交收汇总"""
THOST_FTDC_FBC_MainPartMonitorData = _thosttraderapi.THOST_FTDC_FBC_MainPartMonitorData
r"""总分平衡监管数据"""
THOST_FTDC_FBC_PreparationMoney = _thosttraderapi.THOST_FTDC_FBC_PreparationMoney
r"""存管银行备付金余额"""
THOST_FTDC_FBC_BankMoneyMonitorData = _thosttraderapi.THOST_FTDC_FBC_BankMoneyMonitorData
r"""协办存管银行资金监管数据"""
THOST_FTDC_CEC_Exchange = _thosttraderapi.THOST_FTDC_CEC_Exchange
r"""
    TFtdcCashExchangeCodeType是一个汇钞标志类型
    汇
    """
THOST_FTDC_CEC_Cash = _thosttraderapi.THOST_FTDC_CEC_Cash
r"""钞"""
THOST_FTDC_YNI_Yes = _thosttraderapi.THOST_FTDC_YNI_Yes
r"""
    TFtdcYesNoIndicatorType是一个是或否标识类型
    是
    """
THOST_FTDC_YNI_No = _thosttraderapi.THOST_FTDC_YNI_No
r"""否"""
THOST_FTDC_BLT_CurrentMoney = _thosttraderapi.THOST_FTDC_BLT_CurrentMoney
r"""
    TFtdcBanlanceTypeType是一个余额类型类型
    当前余额
    """
THOST_FTDC_BLT_UsableMoney = _thosttraderapi.THOST_FTDC_BLT_UsableMoney
r"""可用余额"""
THOST_FTDC_BLT_FetchableMoney = _thosttraderapi.THOST_FTDC_BLT_FetchableMoney
r"""可取余额"""
THOST_FTDC_BLT_FreezeMoney = _thosttraderapi.THOST_FTDC_BLT_FreezeMoney
r"""冻结余额"""
THOST_FTDC_GD_Unknown = _thosttraderapi.THOST_FTDC_GD_Unknown
r"""
    TFtdcGenderType是一个性别类型
    未知状态
    """
THOST_FTDC_GD_Male = _thosttraderapi.THOST_FTDC_GD_Male
r"""男"""
THOST_FTDC_GD_Female = _thosttraderapi.THOST_FTDC_GD_Female
r"""女"""
THOST_FTDC_FPF_BEN = _thosttraderapi.THOST_FTDC_FPF_BEN
r"""
    TFtdcFeePayFlagType是一个费用支付标志类型
    由受益方支付费用
    """
THOST_FTDC_FPF_OUR = _thosttraderapi.THOST_FTDC_FPF_OUR
r"""由发送方支付费用"""
THOST_FTDC_FPF_SHA = _thosttraderapi.THOST_FTDC_FPF_SHA
r"""由发送方支付发起的费用，受益方支付接受的费用"""
THOST_FTDC_PWKT_ExchangeKey = _thosttraderapi.THOST_FTDC_PWKT_ExchangeKey
r"""
    TFtdcPassWordKeyTypeType是一个密钥类型类型
    交换密钥
    """
THOST_FTDC_PWKT_PassWordKey = _thosttraderapi.THOST_FTDC_PWKT_PassWordKey
r"""密码密钥"""
THOST_FTDC_PWKT_MACKey = _thosttraderapi.THOST_FTDC_PWKT_MACKey
r"""MAC密钥"""
THOST_FTDC_PWKT_MessageKey = _thosttraderapi.THOST_FTDC_PWKT_MessageKey
r"""报文密钥"""
THOST_FTDC_PWT_Query = _thosttraderapi.THOST_FTDC_PWT_Query
r"""
    TFtdcFBTPassWordTypeType是一个密码类型类型
    查询
    """
THOST_FTDC_PWT_Fetch = _thosttraderapi.THOST_FTDC_PWT_Fetch
r"""取款"""
THOST_FTDC_PWT_Transfer = _thosttraderapi.THOST_FTDC_PWT_Transfer
r"""转帐"""
THOST_FTDC_PWT_Trade = _thosttraderapi.THOST_FTDC_PWT_Trade
r"""交易"""
THOST_FTDC_EM_NoEncry = _thosttraderapi.THOST_FTDC_EM_NoEncry
r"""
    TFtdcFBTEncryModeType是一个加密方式类型
    不加密
    """
THOST_FTDC_EM_DES = _thosttraderapi.THOST_FTDC_EM_DES
r"""DES"""
THOST_FTDC_EM_3DES = _thosttraderapi.THOST_FTDC_EM_3DES
r"""3DES"""
THOST_FTDC_BRF_BankNotNeedRepeal = _thosttraderapi.THOST_FTDC_BRF_BankNotNeedRepeal
r"""
    TFtdcBankRepealFlagType是一个银行冲正标志类型
    银行无需自动冲正
    """
THOST_FTDC_BRF_BankWaitingRepeal = _thosttraderapi.THOST_FTDC_BRF_BankWaitingRepeal
r"""银行待自动冲正"""
THOST_FTDC_BRF_BankBeenRepealed = _thosttraderapi.THOST_FTDC_BRF_BankBeenRepealed
r"""银行已自动冲正"""
THOST_FTDC_BRORF_BrokerNotNeedRepeal = _thosttraderapi.THOST_FTDC_BRORF_BrokerNotNeedRepeal
r"""
    TFtdcBrokerRepealFlagType是一个期商冲正标志类型
    期商无需自动冲正
    """
THOST_FTDC_BRORF_BrokerWaitingRepeal = _thosttraderapi.THOST_FTDC_BRORF_BrokerWaitingRepeal
r"""期商待自动冲正"""
THOST_FTDC_BRORF_BrokerBeenRepealed = _thosttraderapi.THOST_FTDC_BRORF_BrokerBeenRepealed
r"""期商已自动冲正"""
THOST_FTDC_TS_Bank = _thosttraderapi.THOST_FTDC_TS_Bank
r"""
    TFtdcInstitutionTypeType是一个机构类别类型
    银行
    """
THOST_FTDC_TS_Future = _thosttraderapi.THOST_FTDC_TS_Future
r"""期商"""
THOST_FTDC_TS_Store = _thosttraderapi.THOST_FTDC_TS_Store
r"""券商"""
THOST_FTDC_LF_Yes = _thosttraderapi.THOST_FTDC_LF_Yes
r"""
    TFtdcLastFragmentType是一个最后分片标志类型
    是最后分片
    """
THOST_FTDC_LF_No = _thosttraderapi.THOST_FTDC_LF_No
r"""不是最后分片"""
THOST_FTDC_BAS_Normal = _thosttraderapi.THOST_FTDC_BAS_Normal
r"""
    TFtdcBankAccStatusType是一个银行账户状态类型
    正常
    """
THOST_FTDC_BAS_Freeze = _thosttraderapi.THOST_FTDC_BAS_Freeze
r"""冻结"""
THOST_FTDC_BAS_ReportLoss = _thosttraderapi.THOST_FTDC_BAS_ReportLoss
r"""挂失"""
THOST_FTDC_MAS_Normal = _thosttraderapi.THOST_FTDC_MAS_Normal
r"""
    TFtdcMoneyAccountStatusType是一个资金账户状态类型
    正常
    """
THOST_FTDC_MAS_Cancel = _thosttraderapi.THOST_FTDC_MAS_Cancel
r"""销户"""
THOST_FTDC_MSS_Point = _thosttraderapi.THOST_FTDC_MSS_Point
r"""
    TFtdcManageStatusType是一个存管状态类型
    指定存管
    """
THOST_FTDC_MSS_PrePoint = _thosttraderapi.THOST_FTDC_MSS_PrePoint
r"""预指定"""
THOST_FTDC_MSS_CancelPoint = _thosttraderapi.THOST_FTDC_MSS_CancelPoint
r"""撤销指定"""
THOST_FTDC_SYT_FutureBankTransfer = _thosttraderapi.THOST_FTDC_SYT_FutureBankTransfer
r"""
    TFtdcSystemTypeType是一个应用系统类型类型
    银期转帐
    """
THOST_FTDC_SYT_StockBankTransfer = _thosttraderapi.THOST_FTDC_SYT_StockBankTransfer
r"""银证转帐"""
THOST_FTDC_SYT_TheThirdPartStore = _thosttraderapi.THOST_FTDC_SYT_TheThirdPartStore
r"""第三方存管"""
THOST_FTDC_TEF_NormalProcessing = _thosttraderapi.THOST_FTDC_TEF_NormalProcessing
r"""
    TFtdcTxnEndFlagType是一个银期转帐划转结果标志类型
    正常处理中
    """
THOST_FTDC_TEF_Success = _thosttraderapi.THOST_FTDC_TEF_Success
r"""成功结束"""
THOST_FTDC_TEF_Failed = _thosttraderapi.THOST_FTDC_TEF_Failed
r"""失败结束"""
THOST_FTDC_TEF_Abnormal = _thosttraderapi.THOST_FTDC_TEF_Abnormal
r"""异常中"""
THOST_FTDC_TEF_ManualProcessedForException = _thosttraderapi.THOST_FTDC_TEF_ManualProcessedForException
r"""已人工异常处理"""
THOST_FTDC_TEF_CommuFailedNeedManualProcess = _thosttraderapi.THOST_FTDC_TEF_CommuFailedNeedManualProcess
r"""通讯异常 ，请人工处理"""
THOST_FTDC_TEF_SysErrorNeedManualProcess = _thosttraderapi.THOST_FTDC_TEF_SysErrorNeedManualProcess
r"""系统出错，请人工处理"""
THOST_FTDC_PSS_NotProcess = _thosttraderapi.THOST_FTDC_PSS_NotProcess
r"""
    TFtdcProcessStatusType是一个银期转帐服务处理状态类型
    未处理
    """
THOST_FTDC_PSS_StartProcess = _thosttraderapi.THOST_FTDC_PSS_StartProcess
r"""开始处理"""
THOST_FTDC_PSS_Finished = _thosttraderapi.THOST_FTDC_PSS_Finished
r"""处理完成"""
THOST_FTDC_CUSTT_Person = _thosttraderapi.THOST_FTDC_CUSTT_Person
r"""
    TFtdcCustTypeType是一个客户类型类型
    自然人
    """
THOST_FTDC_CUSTT_Institution = _thosttraderapi.THOST_FTDC_CUSTT_Institution
r"""机构户"""
THOST_FTDC_FBTTD_FromBankToFuture = _thosttraderapi.THOST_FTDC_FBTTD_FromBankToFuture
r"""
    TFtdcFBTTransferDirectionType是一个银期转帐方向类型
    入金，银行转期货
    """
THOST_FTDC_FBTTD_FromFutureToBank = _thosttraderapi.THOST_FTDC_FBTTD_FromFutureToBank
r"""出金，期货转银行"""
THOST_FTDC_OOD_Open = _thosttraderapi.THOST_FTDC_OOD_Open
r"""
    TFtdcOpenOrDestroyType是一个开销户类别类型
    开户
    """
THOST_FTDC_OOD_Destroy = _thosttraderapi.THOST_FTDC_OOD_Destroy
r"""销户"""
THOST_FTDC_AVAF_Invalid = _thosttraderapi.THOST_FTDC_AVAF_Invalid
r"""
    TFtdcAvailabilityFlagType是一个有效标志类型
    未确认
    """
THOST_FTDC_AVAF_Valid = _thosttraderapi.THOST_FTDC_AVAF_Valid
r"""有效"""
THOST_FTDC_AVAF_Repeal = _thosttraderapi.THOST_FTDC_AVAF_Repeal
r"""冲正"""
THOST_FTDC_OT_Bank = _thosttraderapi.THOST_FTDC_OT_Bank
r"""
    TFtdcOrganTypeType是一个机构类型类型
    银行代理
    """
THOST_FTDC_OT_Future = _thosttraderapi.THOST_FTDC_OT_Future
r"""交易前置"""
THOST_FTDC_OT_PlateForm = _thosttraderapi.THOST_FTDC_OT_PlateForm
r"""银期转帐平台管理"""
THOST_FTDC_OL_HeadQuarters = _thosttraderapi.THOST_FTDC_OL_HeadQuarters
r"""
    TFtdcOrganLevelType是一个机构级别类型
    银行总行或期商总部
    """
THOST_FTDC_OL_Branch = _thosttraderapi.THOST_FTDC_OL_Branch
r"""银行分中心或期货公司营业部"""
THOST_FTDC_PID_FutureProtocal = _thosttraderapi.THOST_FTDC_PID_FutureProtocal
r"""
    TFtdcProtocalIDType是一个协议类型类型
    期商协议
    """
THOST_FTDC_PID_ICBCProtocal = _thosttraderapi.THOST_FTDC_PID_ICBCProtocal
r"""工行协议"""
THOST_FTDC_PID_ABCProtocal = _thosttraderapi.THOST_FTDC_PID_ABCProtocal
r"""农行协议"""
THOST_FTDC_PID_CBCProtocal = _thosttraderapi.THOST_FTDC_PID_CBCProtocal
r"""中国银行协议"""
THOST_FTDC_PID_CCBProtocal = _thosttraderapi.THOST_FTDC_PID_CCBProtocal
r"""建行协议"""
THOST_FTDC_PID_BOCOMProtocal = _thosttraderapi.THOST_FTDC_PID_BOCOMProtocal
r"""交行协议"""
THOST_FTDC_PID_FBTPlateFormProtocal = _thosttraderapi.THOST_FTDC_PID_FBTPlateFormProtocal
r"""银期转帐平台协议"""
THOST_FTDC_CM_ShortConnect = _thosttraderapi.THOST_FTDC_CM_ShortConnect
r"""
    TFtdcConnectModeType是一个套接字连接方式类型
    短连接
    """
THOST_FTDC_CM_LongConnect = _thosttraderapi.THOST_FTDC_CM_LongConnect
r"""长连接"""
THOST_FTDC_SRM_ASync = _thosttraderapi.THOST_FTDC_SRM_ASync
r"""
    TFtdcSyncModeType是一个套接字通信方式类型
    异步
    """
THOST_FTDC_SRM_Sync = _thosttraderapi.THOST_FTDC_SRM_Sync
r"""同步"""
THOST_FTDC_BAT_BankBook = _thosttraderapi.THOST_FTDC_BAT_BankBook
r"""
    TFtdcBankAccTypeType是一个银行帐号类型类型
    银行存折
    """
THOST_FTDC_BAT_SavingCard = _thosttraderapi.THOST_FTDC_BAT_SavingCard
r"""储蓄卡"""
THOST_FTDC_BAT_CreditCard = _thosttraderapi.THOST_FTDC_BAT_CreditCard
r"""信用卡"""
THOST_FTDC_FAT_BankBook = _thosttraderapi.THOST_FTDC_FAT_BankBook
r"""
    TFtdcFutureAccTypeType是一个期货公司帐号类型类型
    银行存折
    """
THOST_FTDC_FAT_SavingCard = _thosttraderapi.THOST_FTDC_FAT_SavingCard
r"""储蓄卡"""
THOST_FTDC_FAT_CreditCard = _thosttraderapi.THOST_FTDC_FAT_CreditCard
r"""信用卡"""
THOST_FTDC_OS_Ready = _thosttraderapi.THOST_FTDC_OS_Ready
r"""
    TFtdcOrganStatusType是一个接入机构状态类型
    启用
    """
THOST_FTDC_OS_CheckIn = _thosttraderapi.THOST_FTDC_OS_CheckIn
r"""签到"""
THOST_FTDC_OS_CheckOut = _thosttraderapi.THOST_FTDC_OS_CheckOut
r"""签退"""
THOST_FTDC_OS_CheckFileArrived = _thosttraderapi.THOST_FTDC_OS_CheckFileArrived
r"""对帐文件到达"""
THOST_FTDC_OS_CheckDetail = _thosttraderapi.THOST_FTDC_OS_CheckDetail
r"""对帐"""
THOST_FTDC_OS_DayEndClean = _thosttraderapi.THOST_FTDC_OS_DayEndClean
r"""日终清理"""
THOST_FTDC_OS_Invalid = _thosttraderapi.THOST_FTDC_OS_Invalid
r"""注销"""
THOST_FTDC_CCBFM_ByAmount = _thosttraderapi.THOST_FTDC_CCBFM_ByAmount
r"""
    TFtdcCCBFeeModeType是一个建行收费模式类型
    按金额扣收
    """
THOST_FTDC_CCBFM_ByMonth = _thosttraderapi.THOST_FTDC_CCBFM_ByMonth
r"""按月扣收"""
THOST_FTDC_CAPIT_Client = _thosttraderapi.THOST_FTDC_CAPIT_Client
r"""
    TFtdcCommApiTypeType是一个通讯API类型类型
    客户端
    """
THOST_FTDC_CAPIT_Server = _thosttraderapi.THOST_FTDC_CAPIT_Server
r"""服务端"""
THOST_FTDC_CAPIT_UserApi = _thosttraderapi.THOST_FTDC_CAPIT_UserApi
r"""交易系统的UserApi"""
THOST_FTDC_LS_Connected = _thosttraderapi.THOST_FTDC_LS_Connected
r"""
    TFtdcLinkStatusType是一个连接状态类型
    已经连接
    """
THOST_FTDC_LS_Disconnected = _thosttraderapi.THOST_FTDC_LS_Disconnected
r"""没有连接"""
THOST_FTDC_BPWDF_NoCheck = _thosttraderapi.THOST_FTDC_BPWDF_NoCheck
r"""
    TFtdcPwdFlagType是一个密码核对标志类型
    不核对
    """
THOST_FTDC_BPWDF_BlankCheck = _thosttraderapi.THOST_FTDC_BPWDF_BlankCheck
r"""明文核对"""
THOST_FTDC_BPWDF_EncryptCheck = _thosttraderapi.THOST_FTDC_BPWDF_EncryptCheck
r"""密文核对"""
THOST_FTDC_SAT_AccountID = _thosttraderapi.THOST_FTDC_SAT_AccountID
r"""
    TFtdcSecuAccTypeType是一个期货帐号类型类型
    资金帐号
    """
THOST_FTDC_SAT_CardID = _thosttraderapi.THOST_FTDC_SAT_CardID
r"""资金卡号"""
THOST_FTDC_SAT_SHStockholderID = _thosttraderapi.THOST_FTDC_SAT_SHStockholderID
r"""上海股东帐号"""
THOST_FTDC_SAT_SZStockholderID = _thosttraderapi.THOST_FTDC_SAT_SZStockholderID
r"""深圳股东帐号"""
THOST_FTDC_TRFS_Normal = _thosttraderapi.THOST_FTDC_TRFS_Normal
r"""
    TFtdcTransferStatusType是一个转账交易状态类型
    正常
    """
THOST_FTDC_TRFS_Repealed = _thosttraderapi.THOST_FTDC_TRFS_Repealed
r"""被冲正"""
THOST_FTDC_SPTYPE_Broker = _thosttraderapi.THOST_FTDC_SPTYPE_Broker
r"""
    TFtdcSponsorTypeType是一个发起方类型
    期商
    """
THOST_FTDC_SPTYPE_Bank = _thosttraderapi.THOST_FTDC_SPTYPE_Bank
r"""银行"""
THOST_FTDC_REQRSP_Request = _thosttraderapi.THOST_FTDC_REQRSP_Request
r"""
    TFtdcReqRspTypeType是一个请求响应类别类型
    请求
    """
THOST_FTDC_REQRSP_Response = _thosttraderapi.THOST_FTDC_REQRSP_Response
r"""响应"""
THOST_FTDC_FBTUET_SignIn = _thosttraderapi.THOST_FTDC_FBTUET_SignIn
r"""
    TFtdcFBTUserEventTypeType是一个银期转帐用户事件类型类型
    签到
    """
THOST_FTDC_FBTUET_FromBankToFuture = _thosttraderapi.THOST_FTDC_FBTUET_FromBankToFuture
r"""银行转期货"""
THOST_FTDC_FBTUET_FromFutureToBank = _thosttraderapi.THOST_FTDC_FBTUET_FromFutureToBank
r"""期货转银行"""
THOST_FTDC_FBTUET_OpenAccount = _thosttraderapi.THOST_FTDC_FBTUET_OpenAccount
r"""开户"""
THOST_FTDC_FBTUET_CancelAccount = _thosttraderapi.THOST_FTDC_FBTUET_CancelAccount
r"""销户"""
THOST_FTDC_FBTUET_ChangeAccount = _thosttraderapi.THOST_FTDC_FBTUET_ChangeAccount
r"""变更银行账户"""
THOST_FTDC_FBTUET_RepealFromBankToFuture = _thosttraderapi.THOST_FTDC_FBTUET_RepealFromBankToFuture
r"""冲正银行转期货"""
THOST_FTDC_FBTUET_RepealFromFutureToBank = _thosttraderapi.THOST_FTDC_FBTUET_RepealFromFutureToBank
r"""冲正期货转银行"""
THOST_FTDC_FBTUET_QueryBankAccount = _thosttraderapi.THOST_FTDC_FBTUET_QueryBankAccount
r"""查询银行账户"""
THOST_FTDC_FBTUET_QueryFutureAccount = _thosttraderapi.THOST_FTDC_FBTUET_QueryFutureAccount
r"""查询期货账户"""
THOST_FTDC_FBTUET_SignOut = _thosttraderapi.THOST_FTDC_FBTUET_SignOut
r"""签退"""
THOST_FTDC_FBTUET_SyncKey = _thosttraderapi.THOST_FTDC_FBTUET_SyncKey
r"""密钥同步"""
THOST_FTDC_FBTUET_ReserveOpenAccount = _thosttraderapi.THOST_FTDC_FBTUET_ReserveOpenAccount
r"""预约开户"""
THOST_FTDC_FBTUET_CancelReserveOpenAccount = _thosttraderapi.THOST_FTDC_FBTUET_CancelReserveOpenAccount
r"""撤销预约开户"""
THOST_FTDC_FBTUET_ReserveOpenAccountConfirm = _thosttraderapi.THOST_FTDC_FBTUET_ReserveOpenAccountConfirm
r"""预约开户确认"""
THOST_FTDC_FBTUET_Other = _thosttraderapi.THOST_FTDC_FBTUET_Other
r"""其他"""
THOST_FTDC_DBOP_Insert = _thosttraderapi.THOST_FTDC_DBOP_Insert
r"""
    TFtdcDBOperationType是一个记录操作类型类型
    插入
    """
THOST_FTDC_DBOP_Update = _thosttraderapi.THOST_FTDC_DBOP_Update
r"""更新"""
THOST_FTDC_DBOP_Delete = _thosttraderapi.THOST_FTDC_DBOP_Delete
r"""删除"""
THOST_FTDC_SYNF_Yes = _thosttraderapi.THOST_FTDC_SYNF_Yes
r"""
    TFtdcSyncFlagType是一个同步标记类型
    已同步
    """
THOST_FTDC_SYNF_No = _thosttraderapi.THOST_FTDC_SYNF_No
r"""未同步"""
THOST_FTDC_SYNT_OneOffSync = _thosttraderapi.THOST_FTDC_SYNT_OneOffSync
r"""
    TFtdcSyncTypeType是一个同步类型类型
    一次同步
    """
THOST_FTDC_SYNT_TimerSync = _thosttraderapi.THOST_FTDC_SYNT_TimerSync
r"""定时同步"""
THOST_FTDC_SYNT_TimerFullSync = _thosttraderapi.THOST_FTDC_SYNT_TimerFullSync
r"""定时完全同步"""
THOST_FTDC_FBEDIR_Settlement = _thosttraderapi.THOST_FTDC_FBEDIR_Settlement
r"""
    TFtdcExDirectionType是一个换汇方向类型
    结汇
    """
THOST_FTDC_FBEDIR_Sale = _thosttraderapi.THOST_FTDC_FBEDIR_Sale
r"""售汇"""
THOST_FTDC_FBERES_Success = _thosttraderapi.THOST_FTDC_FBERES_Success
r"""
    TFtdcFBEResultFlagType是一个换汇成功标志类型
    成功
    """
THOST_FTDC_FBERES_InsufficientBalance = _thosttraderapi.THOST_FTDC_FBERES_InsufficientBalance
r"""账户余额不足"""
THOST_FTDC_FBERES_UnknownTrading = _thosttraderapi.THOST_FTDC_FBERES_UnknownTrading
r"""交易结果未知"""
THOST_FTDC_FBERES_Fail = _thosttraderapi.THOST_FTDC_FBERES_Fail
r"""失败"""
THOST_FTDC_FBEES_Normal = _thosttraderapi.THOST_FTDC_FBEES_Normal
r"""
    TFtdcFBEExchStatusType是一个换汇交易状态类型
    正常
    """
THOST_FTDC_FBEES_ReExchange = _thosttraderapi.THOST_FTDC_FBEES_ReExchange
r"""交易重发"""
THOST_FTDC_FBEFG_DataPackage = _thosttraderapi.THOST_FTDC_FBEFG_DataPackage
r"""
    TFtdcFBEFileFlagType是一个换汇文件标志类型
    数据包
    """
THOST_FTDC_FBEFG_File = _thosttraderapi.THOST_FTDC_FBEFG_File
r"""文件"""
THOST_FTDC_FBEAT_NotTrade = _thosttraderapi.THOST_FTDC_FBEAT_NotTrade
r"""
    TFtdcFBEAlreadyTradeType是一个换汇已交易标志类型
    未交易
    """
THOST_FTDC_FBEAT_Trade = _thosttraderapi.THOST_FTDC_FBEAT_Trade
r"""已交易"""
THOST_FTDC_FBEUET_SignIn = _thosttraderapi.THOST_FTDC_FBEUET_SignIn
r"""
    TFtdcFBEUserEventTypeType是一个银期换汇用户事件类型类型
    签到
    """
THOST_FTDC_FBEUET_Exchange = _thosttraderapi.THOST_FTDC_FBEUET_Exchange
r"""换汇"""
THOST_FTDC_FBEUET_ReExchange = _thosttraderapi.THOST_FTDC_FBEUET_ReExchange
r"""换汇重发"""
THOST_FTDC_FBEUET_QueryBankAccount = _thosttraderapi.THOST_FTDC_FBEUET_QueryBankAccount
r"""银行账户查询"""
THOST_FTDC_FBEUET_QueryExchDetial = _thosttraderapi.THOST_FTDC_FBEUET_QueryExchDetial
r"""换汇明细查询"""
THOST_FTDC_FBEUET_QueryExchSummary = _thosttraderapi.THOST_FTDC_FBEUET_QueryExchSummary
r"""换汇汇总查询"""
THOST_FTDC_FBEUET_QueryExchRate = _thosttraderapi.THOST_FTDC_FBEUET_QueryExchRate
r"""换汇汇率查询"""
THOST_FTDC_FBEUET_CheckBankAccount = _thosttraderapi.THOST_FTDC_FBEUET_CheckBankAccount
r"""对账文件通知"""
THOST_FTDC_FBEUET_SignOut = _thosttraderapi.THOST_FTDC_FBEUET_SignOut
r"""签退"""
THOST_FTDC_FBEUET_Other = _thosttraderapi.THOST_FTDC_FBEUET_Other
r"""其他"""
THOST_FTDC_FBERF_UnProcessed = _thosttraderapi.THOST_FTDC_FBERF_UnProcessed
r"""
    TFtdcFBEReqFlagType是一个换汇发送标志类型
    未处理
    """
THOST_FTDC_FBERF_WaitSend = _thosttraderapi.THOST_FTDC_FBERF_WaitSend
r"""等待发送"""
THOST_FTDC_FBERF_SendSuccess = _thosttraderapi.THOST_FTDC_FBERF_SendSuccess
r"""发送成功"""
THOST_FTDC_FBERF_SendFailed = _thosttraderapi.THOST_FTDC_FBERF_SendFailed
r"""发送失败"""
THOST_FTDC_FBERF_WaitReSend = _thosttraderapi.THOST_FTDC_FBERF_WaitReSend
r"""等待重发"""
THOST_FTDC_NC_NOERROR = _thosttraderapi.THOST_FTDC_NC_NOERROR
r"""
    TFtdcNotifyClassType是一个风险通知类型类型
    正常
    """
THOST_FTDC_NC_Warn = _thosttraderapi.THOST_FTDC_NC_Warn
r"""警示"""
THOST_FTDC_NC_Call = _thosttraderapi.THOST_FTDC_NC_Call
r"""追保"""
THOST_FTDC_NC_Force = _thosttraderapi.THOST_FTDC_NC_Force
r"""强平"""
THOST_FTDC_NC_CHUANCANG = _thosttraderapi.THOST_FTDC_NC_CHUANCANG
r"""穿仓"""
THOST_FTDC_NC_Exception = _thosttraderapi.THOST_FTDC_NC_Exception
r"""异常"""
THOST_FTDC_FCT_Manual = _thosttraderapi.THOST_FTDC_FCT_Manual
r"""
    TFtdcForceCloseTypeType是一个强平单类型类型
    手工强平
    """
THOST_FTDC_FCT_Single = _thosttraderapi.THOST_FTDC_FCT_Single
r"""单一投资者辅助强平"""
THOST_FTDC_FCT_Group = _thosttraderapi.THOST_FTDC_FCT_Group
r"""批量投资者辅助强平"""
THOST_FTDC_RNM_System = _thosttraderapi.THOST_FTDC_RNM_System
r"""
    TFtdcRiskNotifyMethodType是一个风险通知途径类型
    系统通知
    """
THOST_FTDC_RNM_SMS = _thosttraderapi.THOST_FTDC_RNM_SMS
r"""短信通知"""
THOST_FTDC_RNM_EMail = _thosttraderapi.THOST_FTDC_RNM_EMail
r"""邮件通知"""
THOST_FTDC_RNM_Manual = _thosttraderapi.THOST_FTDC_RNM_Manual
r"""人工通知"""
THOST_FTDC_RNS_NotGen = _thosttraderapi.THOST_FTDC_RNS_NotGen
r"""
    TFtdcRiskNotifyStatusType是一个风险通知状态类型
    未生成
    """
THOST_FTDC_RNS_Generated = _thosttraderapi.THOST_FTDC_RNS_Generated
r"""已生成未发送"""
THOST_FTDC_RNS_SendError = _thosttraderapi.THOST_FTDC_RNS_SendError
r"""发送失败"""
THOST_FTDC_RNS_SendOk = _thosttraderapi.THOST_FTDC_RNS_SendOk
r"""已发送未接收"""
THOST_FTDC_RNS_Received = _thosttraderapi.THOST_FTDC_RNS_Received
r"""已接收未确认"""
THOST_FTDC_RNS_Confirmed = _thosttraderapi.THOST_FTDC_RNS_Confirmed
r"""已确认"""
THOST_FTDC_RUE_ExportData = _thosttraderapi.THOST_FTDC_RUE_ExportData
r"""
    TFtdcRiskUserEventType是一个风控用户操作事件类型
    导出数据
    """
THOST_FTDC_COST_LastPriceAsc = _thosttraderapi.THOST_FTDC_COST_LastPriceAsc
r"""
    TFtdcConditionalOrderSortTypeType是一个条件单索引条件类型
    使用最新价升序
    """
THOST_FTDC_COST_LastPriceDesc = _thosttraderapi.THOST_FTDC_COST_LastPriceDesc
r"""使用最新价降序"""
THOST_FTDC_COST_AskPriceAsc = _thosttraderapi.THOST_FTDC_COST_AskPriceAsc
r"""使用卖价升序"""
THOST_FTDC_COST_AskPriceDesc = _thosttraderapi.THOST_FTDC_COST_AskPriceDesc
r"""使用卖价降序"""
THOST_FTDC_COST_BidPriceAsc = _thosttraderapi.THOST_FTDC_COST_BidPriceAsc
r"""使用买价升序"""
THOST_FTDC_COST_BidPriceDesc = _thosttraderapi.THOST_FTDC_COST_BidPriceDesc
r"""使用买价降序"""
THOST_FTDC_UOAST_NoSend = _thosttraderapi.THOST_FTDC_UOAST_NoSend
r"""
    TFtdcSendTypeType是一个报送状态类型
    未发送
    """
THOST_FTDC_UOAST_Sended = _thosttraderapi.THOST_FTDC_UOAST_Sended
r"""已发送"""
THOST_FTDC_UOAST_Generated = _thosttraderapi.THOST_FTDC_UOAST_Generated
r"""已生成"""
THOST_FTDC_UOAST_SendFail = _thosttraderapi.THOST_FTDC_UOAST_SendFail
r"""报送失败"""
THOST_FTDC_UOAST_Success = _thosttraderapi.THOST_FTDC_UOAST_Success
r"""接收成功"""
THOST_FTDC_UOAST_Fail = _thosttraderapi.THOST_FTDC_UOAST_Fail
r"""接收失败"""
THOST_FTDC_UOAST_Cancel = _thosttraderapi.THOST_FTDC_UOAST_Cancel
r"""取消报送"""
THOST_FTDC_UOACS_NoApply = _thosttraderapi.THOST_FTDC_UOACS_NoApply
r"""
    TFtdcClientIDStatusType是一个交易编码状态类型
    未申请
    """
THOST_FTDC_UOACS_Submited = _thosttraderapi.THOST_FTDC_UOACS_Submited
r"""已提交申请"""
THOST_FTDC_UOACS_Sended = _thosttraderapi.THOST_FTDC_UOACS_Sended
r"""已发送申请"""
THOST_FTDC_UOACS_Success = _thosttraderapi.THOST_FTDC_UOACS_Success
r"""完成"""
THOST_FTDC_UOACS_Refuse = _thosttraderapi.THOST_FTDC_UOACS_Refuse
r"""拒绝"""
THOST_FTDC_UOACS_Cancel = _thosttraderapi.THOST_FTDC_UOACS_Cancel
r"""已撤销编码"""
THOST_FTDC_QT_Radio = _thosttraderapi.THOST_FTDC_QT_Radio
r"""
    TFtdcQuestionTypeType是一个特有信息类型类型
    单选
    """
THOST_FTDC_QT_Option = _thosttraderapi.THOST_FTDC_QT_Option
r"""多选"""
THOST_FTDC_QT_Blank = _thosttraderapi.THOST_FTDC_QT_Blank
r"""填空"""
THOST_FTDC_BT_Request = _thosttraderapi.THOST_FTDC_BT_Request
r"""
    TFtdcBusinessTypeType是一个业务类型类型
    请求
    """
THOST_FTDC_BT_Response = _thosttraderapi.THOST_FTDC_BT_Response
r"""应答"""
THOST_FTDC_BT_Notice = _thosttraderapi.THOST_FTDC_BT_Notice
r"""通知"""
THOST_FTDC_CRC_Success = _thosttraderapi.THOST_FTDC_CRC_Success
r"""
    TFtdcCfmmcReturnCodeType是一个监控中心返回码类型
    成功
    """
THOST_FTDC_CRC_Working = _thosttraderapi.THOST_FTDC_CRC_Working
r"""该客户已经有流程在处理中"""
THOST_FTDC_CRC_InfoFail = _thosttraderapi.THOST_FTDC_CRC_InfoFail
r"""监控中客户资料检查失败"""
THOST_FTDC_CRC_IDCardFail = _thosttraderapi.THOST_FTDC_CRC_IDCardFail
r"""监控中实名制检查失败"""
THOST_FTDC_CRC_OtherFail = _thosttraderapi.THOST_FTDC_CRC_OtherFail
r"""其他错误"""
THOST_FTDC_CfMMCCT_All = _thosttraderapi.THOST_FTDC_CfMMCCT_All
r"""
    TFtdcClientTypeType是一个客户类型类型
    所有
    """
THOST_FTDC_CfMMCCT_Person = _thosttraderapi.THOST_FTDC_CfMMCCT_Person
r"""个人"""
THOST_FTDC_CfMMCCT_Company = _thosttraderapi.THOST_FTDC_CfMMCCT_Company
r"""单位"""
THOST_FTDC_CfMMCCT_Other = _thosttraderapi.THOST_FTDC_CfMMCCT_Other
r"""其他"""
THOST_FTDC_CfMMCCT_SpecialOrgan = _thosttraderapi.THOST_FTDC_CfMMCCT_SpecialOrgan
r"""特殊法人"""
THOST_FTDC_CfMMCCT_Asset = _thosttraderapi.THOST_FTDC_CfMMCCT_Asset
r"""资管户"""
THOST_FTDC_EIDT_SHFE = _thosttraderapi.THOST_FTDC_EIDT_SHFE
r"""
    TFtdcExchangeIDTypeType是一个交易所编号类型
    上海期货交易所
    """
THOST_FTDC_EIDT_CZCE = _thosttraderapi.THOST_FTDC_EIDT_CZCE
r"""郑州商品交易所"""
THOST_FTDC_EIDT_DCE = _thosttraderapi.THOST_FTDC_EIDT_DCE
r"""大连商品交易所"""
THOST_FTDC_EIDT_CFFEX = _thosttraderapi.THOST_FTDC_EIDT_CFFEX
r"""中国金融期货交易所"""
THOST_FTDC_EIDT_INE = _thosttraderapi.THOST_FTDC_EIDT_INE
r"""上海国际能源交易中心股份有限公司"""
THOST_FTDC_ECIDT_Hedge = _thosttraderapi.THOST_FTDC_ECIDT_Hedge
r"""
    TFtdcExClientIDTypeType是一个交易编码类型类型
    套保
    """
THOST_FTDC_ECIDT_Arbitrage = _thosttraderapi.THOST_FTDC_ECIDT_Arbitrage
r"""套利"""
THOST_FTDC_ECIDT_Speculation = _thosttraderapi.THOST_FTDC_ECIDT_Speculation
r"""投机"""
THOST_FTDC_UF_NoUpdate = _thosttraderapi.THOST_FTDC_UF_NoUpdate
r"""
    TFtdcUpdateFlagType是一个更新状态类型
    未更新
    """
THOST_FTDC_UF_Success = _thosttraderapi.THOST_FTDC_UF_Success
r"""更新全部信息成功"""
THOST_FTDC_UF_Fail = _thosttraderapi.THOST_FTDC_UF_Fail
r"""更新全部信息失败"""
THOST_FTDC_UF_TCSuccess = _thosttraderapi.THOST_FTDC_UF_TCSuccess
r"""更新交易编码成功"""
THOST_FTDC_UF_TCFail = _thosttraderapi.THOST_FTDC_UF_TCFail
r"""更新交易编码失败"""
THOST_FTDC_UF_Cancel = _thosttraderapi.THOST_FTDC_UF_Cancel
r"""已丢弃"""
THOST_FTDC_AOID_OpenInvestor = _thosttraderapi.THOST_FTDC_AOID_OpenInvestor
r"""
    TFtdcApplyOperateIDType是一个申请动作类型
    开户
    """
THOST_FTDC_AOID_ModifyIDCard = _thosttraderapi.THOST_FTDC_AOID_ModifyIDCard
r"""修改身份信息"""
THOST_FTDC_AOID_ModifyNoIDCard = _thosttraderapi.THOST_FTDC_AOID_ModifyNoIDCard
r"""修改一般信息"""
THOST_FTDC_AOID_ApplyTradingCode = _thosttraderapi.THOST_FTDC_AOID_ApplyTradingCode
r"""申请交易编码"""
THOST_FTDC_AOID_CancelTradingCode = _thosttraderapi.THOST_FTDC_AOID_CancelTradingCode
r"""撤销交易编码"""
THOST_FTDC_AOID_CancelInvestor = _thosttraderapi.THOST_FTDC_AOID_CancelInvestor
r"""销户"""
THOST_FTDC_AOID_FreezeAccount = _thosttraderapi.THOST_FTDC_AOID_FreezeAccount
r"""账户休眠"""
THOST_FTDC_AOID_ActiveFreezeAccount = _thosttraderapi.THOST_FTDC_AOID_ActiveFreezeAccount
r"""激活休眠账户"""
THOST_FTDC_ASID_NoComplete = _thosttraderapi.THOST_FTDC_ASID_NoComplete
r"""
    TFtdcApplyStatusIDType是一个申请状态类型
    未补全
    """
THOST_FTDC_ASID_Submited = _thosttraderapi.THOST_FTDC_ASID_Submited
r"""已提交"""
THOST_FTDC_ASID_Checked = _thosttraderapi.THOST_FTDC_ASID_Checked
r"""已审核"""
THOST_FTDC_ASID_Refused = _thosttraderapi.THOST_FTDC_ASID_Refused
r"""已拒绝"""
THOST_FTDC_ASID_Deleted = _thosttraderapi.THOST_FTDC_ASID_Deleted
r"""已删除"""
THOST_FTDC_UOASM_ByAPI = _thosttraderapi.THOST_FTDC_UOASM_ByAPI
r"""
    TFtdcSendMethodType是一个发送方式类型
    文件发送
    """
THOST_FTDC_UOASM_ByFile = _thosttraderapi.THOST_FTDC_UOASM_ByFile
r"""电子发送"""
THOST_FTDC_EvM_ADD = _thosttraderapi.THOST_FTDC_EvM_ADD
r"""
    TFtdcEventModeType是一个操作方法类型
    增加
    """
THOST_FTDC_EvM_UPDATE = _thosttraderapi.THOST_FTDC_EvM_UPDATE
r"""修改"""
THOST_FTDC_EvM_DELETE = _thosttraderapi.THOST_FTDC_EvM_DELETE
r"""删除"""
THOST_FTDC_EvM_CHECK = _thosttraderapi.THOST_FTDC_EvM_CHECK
r"""复核"""
THOST_FTDC_EvM_COPY = _thosttraderapi.THOST_FTDC_EvM_COPY
r"""复制"""
THOST_FTDC_EvM_CANCEL = _thosttraderapi.THOST_FTDC_EvM_CANCEL
r"""注销"""
THOST_FTDC_EvM_Reverse = _thosttraderapi.THOST_FTDC_EvM_Reverse
r"""冲销"""
THOST_FTDC_UOAA_ASR = _thosttraderapi.THOST_FTDC_UOAA_ASR
r"""
    TFtdcUOAAutoSendType是一个统一开户申请自动发送类型
    自动发送并接收
    """
THOST_FTDC_UOAA_ASNR = _thosttraderapi.THOST_FTDC_UOAA_ASNR
r"""自动发送，不自动接收"""
THOST_FTDC_UOAA_NSAR = _thosttraderapi.THOST_FTDC_UOAA_NSAR
r"""不自动发送，自动接收"""
THOST_FTDC_UOAA_NSR = _thosttraderapi.THOST_FTDC_UOAA_NSR
r"""不自动发送，也不自动接收"""
THOST_FTDC_EvM_InvestorGroupFlow = _thosttraderapi.THOST_FTDC_EvM_InvestorGroupFlow
r"""
    TFtdcFlowIDType是一个流程ID类型
    投资者对应投资者组设置
    """
THOST_FTDC_EvM_InvestorRate = _thosttraderapi.THOST_FTDC_EvM_InvestorRate
r"""投资者手续费率设置"""
THOST_FTDC_EvM_InvestorCommRateModel = _thosttraderapi.THOST_FTDC_EvM_InvestorCommRateModel
r"""投资者手续费率模板关系设置"""
THOST_FTDC_CL_Zero = _thosttraderapi.THOST_FTDC_CL_Zero
r"""
    TFtdcCheckLevelType是一个复核级别类型
    零级复核
    """
THOST_FTDC_CL_One = _thosttraderapi.THOST_FTDC_CL_One
r"""一级复核"""
THOST_FTDC_CL_Two = _thosttraderapi.THOST_FTDC_CL_Two
r"""二级复核"""
THOST_FTDC_CHS_Init = _thosttraderapi.THOST_FTDC_CHS_Init
r"""
    TFtdcCheckStatusType是一个复核级别类型
    未复核
    """
THOST_FTDC_CHS_Checking = _thosttraderapi.THOST_FTDC_CHS_Checking
r"""复核中"""
THOST_FTDC_CHS_Checked = _thosttraderapi.THOST_FTDC_CHS_Checked
r"""已复核"""
THOST_FTDC_CHS_Refuse = _thosttraderapi.THOST_FTDC_CHS_Refuse
r"""拒绝"""
THOST_FTDC_CHS_Cancel = _thosttraderapi.THOST_FTDC_CHS_Cancel
r"""作废"""
THOST_FTDC_CHU_Unused = _thosttraderapi.THOST_FTDC_CHU_Unused
r"""
    TFtdcUsedStatusType是一个生效状态类型
    未生效
    """
THOST_FTDC_CHU_Used = _thosttraderapi.THOST_FTDC_CHU_Used
r"""已生效"""
THOST_FTDC_CHU_Fail = _thosttraderapi.THOST_FTDC_CHU_Fail
r"""生效失败"""
THOST_FTDC_BAO_ByAccProperty = _thosttraderapi.THOST_FTDC_BAO_ByAccProperty
r"""
    TFtdcBankAcountOriginType是一个账户来源类型
    手工录入
    """
THOST_FTDC_BAO_ByFBTransfer = _thosttraderapi.THOST_FTDC_BAO_ByFBTransfer
r"""银期转账"""
THOST_FTDC_MBTS_ByInstrument = _thosttraderapi.THOST_FTDC_MBTS_ByInstrument
r"""
    TFtdcMonthBillTradeSumType是一个结算单月报成交汇总方式类型
    同日同合约
    """
THOST_FTDC_MBTS_ByDayInsPrc = _thosttraderapi.THOST_FTDC_MBTS_ByDayInsPrc
r"""同日同合约同价格"""
THOST_FTDC_MBTS_ByDayIns = _thosttraderapi.THOST_FTDC_MBTS_ByDayIns
r"""同合约"""
THOST_FTDC_OTP_NONE = _thosttraderapi.THOST_FTDC_OTP_NONE
r"""
    TFtdcOTPTypeType是一个动态令牌类型类型
    无动态令牌
    """
THOST_FTDC_OTP_TOTP = _thosttraderapi.THOST_FTDC_OTP_TOTP
r"""时间令牌"""
THOST_FTDC_OTPS_Unused = _thosttraderapi.THOST_FTDC_OTPS_Unused
r"""
    TFtdcOTPStatusType是一个动态令牌状态类型
    未使用
    """
THOST_FTDC_OTPS_Used = _thosttraderapi.THOST_FTDC_OTPS_Used
r"""已使用"""
THOST_FTDC_OTPS_Disuse = _thosttraderapi.THOST_FTDC_OTPS_Disuse
r"""注销"""
THOST_FTDC_BUT_Investor = _thosttraderapi.THOST_FTDC_BUT_Investor
r"""
    TFtdcBrokerUserTypeType是一个经济公司用户类型类型
    投资者
    """
THOST_FTDC_BUT_BrokerUser = _thosttraderapi.THOST_FTDC_BUT_BrokerUser
r"""操作员"""
THOST_FTDC_FUTT_Commodity = _thosttraderapi.THOST_FTDC_FUTT_Commodity
r"""
    TFtdcFutureTypeType是一个期货类型类型
    商品期货
    """
THOST_FTDC_FUTT_Financial = _thosttraderapi.THOST_FTDC_FUTT_Financial
r"""金融期货"""
THOST_FTDC_FET_Restriction = _thosttraderapi.THOST_FTDC_FET_Restriction
r"""
    TFtdcFundEventTypeType是一个资金管理操作类型类型
    转账限额
    """
THOST_FTDC_FET_TodayRestriction = _thosttraderapi.THOST_FTDC_FET_TodayRestriction
r"""当日转账限额"""
THOST_FTDC_FET_Transfer = _thosttraderapi.THOST_FTDC_FET_Transfer
r"""期商流水"""
THOST_FTDC_FET_Credit = _thosttraderapi.THOST_FTDC_FET_Credit
r"""资金冻结"""
THOST_FTDC_FET_InvestorWithdrawAlm = _thosttraderapi.THOST_FTDC_FET_InvestorWithdrawAlm
r"""投资者可提资金比例"""
THOST_FTDC_FET_BankRestriction = _thosttraderapi.THOST_FTDC_FET_BankRestriction
r"""单个银行帐户转账限额"""
THOST_FTDC_FET_Accountregister = _thosttraderapi.THOST_FTDC_FET_Accountregister
r"""银期签约账户"""
THOST_FTDC_FET_ExchangeFundIO = _thosttraderapi.THOST_FTDC_FET_ExchangeFundIO
r"""交易所出入金"""
THOST_FTDC_FET_InvestorFundIO = _thosttraderapi.THOST_FTDC_FET_InvestorFundIO
r"""投资者出入金"""
THOST_FTDC_AST_FBTransfer = _thosttraderapi.THOST_FTDC_AST_FBTransfer
r"""
    TFtdcAccountSourceTypeType是一个资金账户来源类型
    银期同步
    """
THOST_FTDC_AST_ManualEntry = _thosttraderapi.THOST_FTDC_AST_ManualEntry
r"""手工录入"""
THOST_FTDC_CST_UnifyAccount = _thosttraderapi.THOST_FTDC_CST_UnifyAccount
r"""
    TFtdcCodeSourceTypeType是一个交易编码来源类型
    统一开户(已规范)
    """
THOST_FTDC_CST_ManualEntry = _thosttraderapi.THOST_FTDC_CST_ManualEntry
r"""手工录入(未规范)"""
THOST_FTDC_UR_All = _thosttraderapi.THOST_FTDC_UR_All
r"""
    TFtdcUserRangeType是一个操作员范围类型
    所有
    """
THOST_FTDC_UR_Single = _thosttraderapi.THOST_FTDC_UR_Single
r"""单一操作员"""
THOST_FTDC_BG_Investor = _thosttraderapi.THOST_FTDC_BG_Investor
r"""
    TFtdcByGroupType是一个交易统计表按客户统计方式类型
    按投资者统计
    """
THOST_FTDC_BG_Group = _thosttraderapi.THOST_FTDC_BG_Group
r"""按类统计"""
THOST_FTDC_TSSM_Instrument = _thosttraderapi.THOST_FTDC_TSSM_Instrument
r"""
    TFtdcTradeSumStatModeType是一个交易统计表按范围统计方式类型
    按合约统计
    """
THOST_FTDC_TSSM_Product = _thosttraderapi.THOST_FTDC_TSSM_Product
r"""按产品统计"""
THOST_FTDC_TSSM_Exchange = _thosttraderapi.THOST_FTDC_TSSM_Exchange
r"""按交易所统计"""
THOST_FTDC_ESM_Relative = _thosttraderapi.THOST_FTDC_ESM_Relative
r"""
    TFtdcExprSetModeType是一个日期表达式设置类型类型
    相对已有规则设置
    """
THOST_FTDC_ESM_Typical = _thosttraderapi.THOST_FTDC_ESM_Typical
r"""典型设置"""
THOST_FTDC_RIR_All = _thosttraderapi.THOST_FTDC_RIR_All
r"""
    TFtdcRateInvestorRangeType是一个投资者范围类型
    公司标准
    """
THOST_FTDC_RIR_Model = _thosttraderapi.THOST_FTDC_RIR_Model
r"""模板"""
THOST_FTDC_RIR_Single = _thosttraderapi.THOST_FTDC_RIR_Single
r"""单一投资者"""
THOST_FTDC_SDS_Initialize = _thosttraderapi.THOST_FTDC_SDS_Initialize
r"""
    TFtdcSyncDataStatusType是一个主次用系统数据同步状态类型
    未同步
    """
THOST_FTDC_SDS_Settlementing = _thosttraderapi.THOST_FTDC_SDS_Settlementing
r"""同步中"""
THOST_FTDC_SDS_Settlemented = _thosttraderapi.THOST_FTDC_SDS_Settlemented
r"""已同步"""
THOST_FTDC_TSRC_NORMAL = _thosttraderapi.THOST_FTDC_TSRC_NORMAL
r"""
    TFtdcTradeSourceType是一个成交来源类型
    来自交易所普通回报
    """
THOST_FTDC_TSRC_QUERY = _thosttraderapi.THOST_FTDC_TSRC_QUERY
r"""来自查询"""
THOST_FTDC_FSM_Product = _thosttraderapi.THOST_FTDC_FSM_Product
r"""
    TFtdcFlexStatModeType是一个产品合约统计方式类型
    产品统计
    """
THOST_FTDC_FSM_Exchange = _thosttraderapi.THOST_FTDC_FSM_Exchange
r"""交易所统计"""
THOST_FTDC_FSM_All = _thosttraderapi.THOST_FTDC_FSM_All
r"""统计所有"""
THOST_FTDC_BIR_Property = _thosttraderapi.THOST_FTDC_BIR_Property
r"""
    TFtdcByInvestorRangeType是一个投资者范围统计方式类型
    属性统计
    """
THOST_FTDC_BIR_All = _thosttraderapi.THOST_FTDC_BIR_All
r"""统计所有"""
THOST_FTDC_PIR_All = _thosttraderapi.THOST_FTDC_PIR_All
r"""
    TFtdcPropertyInvestorRangeType是一个投资者范围类型
    所有
    """
THOST_FTDC_PIR_Property = _thosttraderapi.THOST_FTDC_PIR_Property
r"""投资者属性"""
THOST_FTDC_PIR_Single = _thosttraderapi.THOST_FTDC_PIR_Single
r"""单一投资者"""
THOST_FTDC_FIS_NoCreate = _thosttraderapi.THOST_FTDC_FIS_NoCreate
r"""
    TFtdcFileStatusType是一个文件状态类型
    未生成
    """
THOST_FTDC_FIS_Created = _thosttraderapi.THOST_FTDC_FIS_Created
r"""已生成"""
THOST_FTDC_FIS_Failed = _thosttraderapi.THOST_FTDC_FIS_Failed
r"""生成失败"""
THOST_FTDC_FGS_FileTransmit = _thosttraderapi.THOST_FTDC_FGS_FileTransmit
r"""
    TFtdcFileGenStyleType是一个文件生成方式类型
    下发
    """
THOST_FTDC_FGS_FileGen = _thosttraderapi.THOST_FTDC_FGS_FileGen
r"""生成"""
THOST_FTDC_SoM_Add = _thosttraderapi.THOST_FTDC_SoM_Add
r"""
    TFtdcSysOperModeType是一个系统日志操作方法类型
    增加
    """
THOST_FTDC_SoM_Update = _thosttraderapi.THOST_FTDC_SoM_Update
r"""修改"""
THOST_FTDC_SoM_Delete = _thosttraderapi.THOST_FTDC_SoM_Delete
r"""删除"""
THOST_FTDC_SoM_Copy = _thosttraderapi.THOST_FTDC_SoM_Copy
r"""复制"""
THOST_FTDC_SoM_AcTive = _thosttraderapi.THOST_FTDC_SoM_AcTive
r"""激活"""
THOST_FTDC_SoM_CanCel = _thosttraderapi.THOST_FTDC_SoM_CanCel
r"""注销"""
THOST_FTDC_SoM_ReSet = _thosttraderapi.THOST_FTDC_SoM_ReSet
r"""重置"""
THOST_FTDC_SoT_UpdatePassword = _thosttraderapi.THOST_FTDC_SoT_UpdatePassword
r"""
    TFtdcSysOperTypeType是一个系统日志操作类型类型
    修改操作员密码
    """
THOST_FTDC_SoT_UserDepartment = _thosttraderapi.THOST_FTDC_SoT_UserDepartment
r"""操作员组织架构关系"""
THOST_FTDC_SoT_RoleManager = _thosttraderapi.THOST_FTDC_SoT_RoleManager
r"""角色管理"""
THOST_FTDC_SoT_RoleFunction = _thosttraderapi.THOST_FTDC_SoT_RoleFunction
r"""角色功能设置"""
THOST_FTDC_SoT_BaseParam = _thosttraderapi.THOST_FTDC_SoT_BaseParam
r"""基础参数设置"""
THOST_FTDC_SoT_SetUserID = _thosttraderapi.THOST_FTDC_SoT_SetUserID
r"""设置操作员"""
THOST_FTDC_SoT_SetUserRole = _thosttraderapi.THOST_FTDC_SoT_SetUserRole
r"""用户角色设置"""
THOST_FTDC_SoT_UserIpRestriction = _thosttraderapi.THOST_FTDC_SoT_UserIpRestriction
r"""用户IP限制"""
THOST_FTDC_SoT_DepartmentManager = _thosttraderapi.THOST_FTDC_SoT_DepartmentManager
r"""组织架构管理"""
THOST_FTDC_SoT_DepartmentCopy = _thosttraderapi.THOST_FTDC_SoT_DepartmentCopy
r"""组织架构向查询分类复制"""
THOST_FTDC_SoT_Tradingcode = _thosttraderapi.THOST_FTDC_SoT_Tradingcode
r"""交易编码管理"""
THOST_FTDC_SoT_InvestorStatus = _thosttraderapi.THOST_FTDC_SoT_InvestorStatus
r"""投资者状态维护"""
THOST_FTDC_SoT_InvestorAuthority = _thosttraderapi.THOST_FTDC_SoT_InvestorAuthority
r"""投资者权限管理"""
THOST_FTDC_SoT_PropertySet = _thosttraderapi.THOST_FTDC_SoT_PropertySet
r"""属性设置"""
THOST_FTDC_SoT_ReSetInvestorPasswd = _thosttraderapi.THOST_FTDC_SoT_ReSetInvestorPasswd
r"""重置投资者密码"""
THOST_FTDC_SoT_InvestorPersonalityInfo = _thosttraderapi.THOST_FTDC_SoT_InvestorPersonalityInfo
r"""投资者个性信息维护"""
THOST_FTDC_CSRCQ_Current = _thosttraderapi.THOST_FTDC_CSRCQ_Current
r"""
    TFtdcCSRCDataQueyTypeType是一个上报数据查询类型类型
    查询当前交易日报送的数据
    """
THOST_FTDC_CSRCQ_History = _thosttraderapi.THOST_FTDC_CSRCQ_History
r"""查询历史报送的代理经纪公司的数据"""
THOST_FTDC_FRS_Normal = _thosttraderapi.THOST_FTDC_FRS_Normal
r"""
    TFtdcFreezeStatusType是一个休眠状态类型
    活跃
    """
THOST_FTDC_FRS_Freeze = _thosttraderapi.THOST_FTDC_FRS_Freeze
r"""休眠"""
THOST_FTDC_STST_Standard = _thosttraderapi.THOST_FTDC_STST_Standard
r"""
    TFtdcStandardStatusType是一个规范状态类型
    已规范
    """
THOST_FTDC_STST_NonStandard = _thosttraderapi.THOST_FTDC_STST_NonStandard
r"""未规范"""
THOST_FTDC_RPT_Freeze = _thosttraderapi.THOST_FTDC_RPT_Freeze
r"""
    TFtdcRightParamTypeType是一个配置类型类型
    休眠户
    """
THOST_FTDC_RPT_FreezeActive = _thosttraderapi.THOST_FTDC_RPT_FreezeActive
r"""激活休眠户"""
THOST_FTDC_RPT_OpenLimit = _thosttraderapi.THOST_FTDC_RPT_OpenLimit
r"""开仓权限限制"""
THOST_FTDC_RPT_RelieveOpenLimit = _thosttraderapi.THOST_FTDC_RPT_RelieveOpenLimit
r"""解除开仓权限限制"""
THOST_FTDC_AMLDS_Normal = _thosttraderapi.THOST_FTDC_AMLDS_Normal
r"""
    TFtdcDataStatusType是一个反洗钱审核表数据状态类型
    正常
    """
THOST_FTDC_AMLDS_Deleted = _thosttraderapi.THOST_FTDC_AMLDS_Deleted
r"""已删除"""
THOST_FTDC_AMLCHS_Init = _thosttraderapi.THOST_FTDC_AMLCHS_Init
r"""
    TFtdcAMLCheckStatusType是一个审核状态类型
    未复核
    """
THOST_FTDC_AMLCHS_Checking = _thosttraderapi.THOST_FTDC_AMLCHS_Checking
r"""复核中"""
THOST_FTDC_AMLCHS_Checked = _thosttraderapi.THOST_FTDC_AMLCHS_Checked
r"""已复核"""
THOST_FTDC_AMLCHS_RefuseReport = _thosttraderapi.THOST_FTDC_AMLCHS_RefuseReport
r"""拒绝上报"""
THOST_FTDC_AMLDT_DrawDay = _thosttraderapi.THOST_FTDC_AMLDT_DrawDay
r"""
    TFtdcAmlDateTypeType是一个日期类型类型
    检查日期
    """
THOST_FTDC_AMLDT_TouchDay = _thosttraderapi.THOST_FTDC_AMLDT_TouchDay
r"""发生日期"""
THOST_FTDC_AMLCL_CheckLevel0 = _thosttraderapi.THOST_FTDC_AMLCL_CheckLevel0
r"""
    TFtdcAmlCheckLevelType是一个审核级别类型
    零级审核
    """
THOST_FTDC_AMLCL_CheckLevel1 = _thosttraderapi.THOST_FTDC_AMLCL_CheckLevel1
r"""一级审核"""
THOST_FTDC_AMLCL_CheckLevel2 = _thosttraderapi.THOST_FTDC_AMLCL_CheckLevel2
r"""二级审核"""
THOST_FTDC_AMLCL_CheckLevel3 = _thosttraderapi.THOST_FTDC_AMLCL_CheckLevel3
r"""三级审核"""
THOST_FTDC_EFT_CSV = _thosttraderapi.THOST_FTDC_EFT_CSV
r"""
    TFtdcExportFileTypeType是一个导出文件类型类型
    CSV
    """
THOST_FTDC_EFT_EXCEL = _thosttraderapi.THOST_FTDC_EFT_EXCEL
r"""Excel"""
THOST_FTDC_EFT_DBF = _thosttraderapi.THOST_FTDC_EFT_DBF
r"""DBF"""
THOST_FTDC_SMT_Before = _thosttraderapi.THOST_FTDC_SMT_Before
r"""
    TFtdcSettleManagerTypeType是一个结算配置类型类型
    结算前准备
    """
THOST_FTDC_SMT_Settlement = _thosttraderapi.THOST_FTDC_SMT_Settlement
r"""结算"""
THOST_FTDC_SMT_After = _thosttraderapi.THOST_FTDC_SMT_After
r"""结算后核对"""
THOST_FTDC_SMT_Settlemented = _thosttraderapi.THOST_FTDC_SMT_Settlemented
r"""结算后处理"""
THOST_FTDC_SML_Must = _thosttraderapi.THOST_FTDC_SML_Must
r"""
    TFtdcSettleManagerLevelType是一个结算配置等级类型
    必要
    """
THOST_FTDC_SML_Alarm = _thosttraderapi.THOST_FTDC_SML_Alarm
r"""警告"""
THOST_FTDC_SML_Prompt = _thosttraderapi.THOST_FTDC_SML_Prompt
r"""提示"""
THOST_FTDC_SML_Ignore = _thosttraderapi.THOST_FTDC_SML_Ignore
r"""不检查"""
THOST_FTDC_SMG_Exhcange = _thosttraderapi.THOST_FTDC_SMG_Exhcange
r"""
    TFtdcSettleManagerGroupType是一个模块分组类型
    交易所核对
    """
THOST_FTDC_SMG_ASP = _thosttraderapi.THOST_FTDC_SMG_ASP
r"""内部核对"""
THOST_FTDC_SMG_CSRC = _thosttraderapi.THOST_FTDC_SMG_CSRC
r"""上报数据核对"""
THOST_FTDC_LUT_Repeatable = _thosttraderapi.THOST_FTDC_LUT_Repeatable
r"""
    TFtdcLimitUseTypeType是一个保值额度使用类型类型
    可重复使用
    """
THOST_FTDC_LUT_Unrepeatable = _thosttraderapi.THOST_FTDC_LUT_Unrepeatable
r"""不可重复使用"""
THOST_FTDC_DAR_Settle = _thosttraderapi.THOST_FTDC_DAR_Settle
r"""
    TFtdcDataResourceType是一个数据来源类型
    本系统
    """
THOST_FTDC_DAR_Exchange = _thosttraderapi.THOST_FTDC_DAR_Exchange
r"""交易所"""
THOST_FTDC_DAR_CSRC = _thosttraderapi.THOST_FTDC_DAR_CSRC
r"""报送数据"""
THOST_FTDC_MGT_ExchMarginRate = _thosttraderapi.THOST_FTDC_MGT_ExchMarginRate
r"""
    TFtdcMarginTypeType是一个保证金类型类型
    交易所保证金率
    """
THOST_FTDC_MGT_InstrMarginRate = _thosttraderapi.THOST_FTDC_MGT_InstrMarginRate
r"""投资者保证金率"""
THOST_FTDC_MGT_InstrMarginRateTrade = _thosttraderapi.THOST_FTDC_MGT_InstrMarginRateTrade
r"""投资者交易保证金率"""
THOST_FTDC_ACT_Intraday = _thosttraderapi.THOST_FTDC_ACT_Intraday
r"""
    TFtdcActiveTypeType是一个生效类型类型
    仅当日生效
    """
THOST_FTDC_ACT_Long = _thosttraderapi.THOST_FTDC_ACT_Long
r"""长期生效"""
THOST_FTDC_MRT_Exchange = _thosttraderapi.THOST_FTDC_MRT_Exchange
r"""
    TFtdcMarginRateTypeType是一个冲突保证金率类型类型
    交易所保证金率
    """
THOST_FTDC_MRT_Investor = _thosttraderapi.THOST_FTDC_MRT_Investor
r"""投资者保证金率"""
THOST_FTDC_MRT_InvestorTrade = _thosttraderapi.THOST_FTDC_MRT_InvestorTrade
r"""投资者交易保证金率"""
THOST_FTDC_BUS_UnBak = _thosttraderapi.THOST_FTDC_BUS_UnBak
r"""
    TFtdcBackUpStatusType是一个备份数据状态类型
    未生成备份数据
    """
THOST_FTDC_BUS_BakUp = _thosttraderapi.THOST_FTDC_BUS_BakUp
r"""备份数据生成中"""
THOST_FTDC_BUS_BakUped = _thosttraderapi.THOST_FTDC_BUS_BakUped
r"""已生成备份数据"""
THOST_FTDC_BUS_BakFail = _thosttraderapi.THOST_FTDC_BUS_BakFail
r"""备份数据失败"""
THOST_FTDC_SIS_UnInitialize = _thosttraderapi.THOST_FTDC_SIS_UnInitialize
r"""
    TFtdcInitSettlementType是一个结算初始化状态类型
    结算初始化未开始
    """
THOST_FTDC_SIS_Initialize = _thosttraderapi.THOST_FTDC_SIS_Initialize
r"""结算初始化中"""
THOST_FTDC_SIS_Initialized = _thosttraderapi.THOST_FTDC_SIS_Initialized
r"""结算初始化完成"""
THOST_FTDC_SRS_NoCreate = _thosttraderapi.THOST_FTDC_SRS_NoCreate
r"""
    TFtdcReportStatusType是一个报表数据生成状态类型
    未生成报表数据
    """
THOST_FTDC_SRS_Create = _thosttraderapi.THOST_FTDC_SRS_Create
r"""报表数据生成中"""
THOST_FTDC_SRS_Created = _thosttraderapi.THOST_FTDC_SRS_Created
r"""已生成报表数据"""
THOST_FTDC_SRS_CreateFail = _thosttraderapi.THOST_FTDC_SRS_CreateFail
r"""生成报表数据失败"""
THOST_FTDC_SSS_UnSaveData = _thosttraderapi.THOST_FTDC_SSS_UnSaveData
r"""
    TFtdcSaveStatusType是一个数据归档状态类型
    归档未完成
    """
THOST_FTDC_SSS_SaveDatad = _thosttraderapi.THOST_FTDC_SSS_SaveDatad
r"""归档完成"""
THOST_FTDC_SAS_UnArchived = _thosttraderapi.THOST_FTDC_SAS_UnArchived
r"""
    TFtdcSettArchiveStatusType是一个结算确认数据归档状态类型
    未归档数据
    """
THOST_FTDC_SAS_Archiving = _thosttraderapi.THOST_FTDC_SAS_Archiving
r"""数据归档中"""
THOST_FTDC_SAS_Archived = _thosttraderapi.THOST_FTDC_SAS_Archived
r"""已归档数据"""
THOST_FTDC_SAS_ArchiveFail = _thosttraderapi.THOST_FTDC_SAS_ArchiveFail
r"""归档数据失败"""
THOST_FTDC_CTPT_Unkown = _thosttraderapi.THOST_FTDC_CTPT_Unkown
r"""
    TFtdcCTPTypeType是一个CTP交易系统类型类型
    未知类型
    """
THOST_FTDC_CTPT_MainCenter = _thosttraderapi.THOST_FTDC_CTPT_MainCenter
r"""主中心"""
THOST_FTDC_CTPT_BackUp = _thosttraderapi.THOST_FTDC_CTPT_BackUp
r"""备中心"""
THOST_FTDC_CDT_Normal = _thosttraderapi.THOST_FTDC_CDT_Normal
r"""
    TFtdcCloseDealTypeType是一个平仓处理类型类型
    正常
    """
THOST_FTDC_CDT_SpecFirst = _thosttraderapi.THOST_FTDC_CDT_SpecFirst
r"""投机平仓优先"""
THOST_FTDC_MFUR_None = _thosttraderapi.THOST_FTDC_MFUR_None
r"""
    TFtdcMortgageFundUseRangeType是一个货币质押资金可用范围类型
    不能使用
    """
THOST_FTDC_MFUR_Margin = _thosttraderapi.THOST_FTDC_MFUR_Margin
r"""用于保证金"""
THOST_FTDC_MFUR_All = _thosttraderapi.THOST_FTDC_MFUR_All
r"""用于手续费、盈亏、保证金"""
THOST_FTDC_MFUR_CNY3 = _thosttraderapi.THOST_FTDC_MFUR_CNY3
r"""人民币方案3"""
THOST_FTDC_SPT_CzceHedge = _thosttraderapi.THOST_FTDC_SPT_CzceHedge
r"""
    TFtdcSpecProductTypeType是一个特殊产品类型类型
    郑商所套保产品
    """
THOST_FTDC_SPT_IneForeignCurrency = _thosttraderapi.THOST_FTDC_SPT_IneForeignCurrency
r"""货币质押产品"""
THOST_FTDC_SPT_DceOpenClose = _thosttraderapi.THOST_FTDC_SPT_DceOpenClose
r"""大连短线开平仓产品"""
THOST_FTDC_FMT_Mortgage = _thosttraderapi.THOST_FTDC_FMT_Mortgage
r"""
    TFtdcFundMortgageTypeType是一个货币质押类型类型
    质押
    """
THOST_FTDC_FMT_Redemption = _thosttraderapi.THOST_FTDC_FMT_Redemption
r"""解质"""
THOST_FTDC_ASPI_BaseMargin = _thosttraderapi.THOST_FTDC_ASPI_BaseMargin
r"""
    TFtdcAccountSettlementParamIDType是一个投资者账户结算参数代码类型
    基础保证金
    """
THOST_FTDC_ASPI_LowestInterest = _thosttraderapi.THOST_FTDC_ASPI_LowestInterest
r"""最低权益标准"""
THOST_FTDC_FMD_In = _thosttraderapi.THOST_FTDC_FMD_In
r"""
    TFtdcFundMortDirectionType是一个货币质押方向类型
    货币质入
    """
THOST_FTDC_FMD_Out = _thosttraderapi.THOST_FTDC_FMD_Out
r"""货币质出"""
THOST_FTDC_BT_Profit = _thosttraderapi.THOST_FTDC_BT_Profit
r"""
    TFtdcBusinessClassType是一个换汇类别类型
    盈利
    """
THOST_FTDC_BT_Loss = _thosttraderapi.THOST_FTDC_BT_Loss
r"""亏损"""
THOST_FTDC_BT_Other = _thosttraderapi.THOST_FTDC_BT_Other
r"""其他"""
THOST_FTDC_SST_Manual = _thosttraderapi.THOST_FTDC_SST_Manual
r"""
    TFtdcSwapSourceTypeType是一个换汇数据来源类型
    手工
    """
THOST_FTDC_SST_Automatic = _thosttraderapi.THOST_FTDC_SST_Automatic
r"""自动生成"""
THOST_FTDC_CED_Settlement = _thosttraderapi.THOST_FTDC_CED_Settlement
r"""
    TFtdcCurrExDirectionType是一个换汇类型类型
    结汇
    """
THOST_FTDC_CED_Sale = _thosttraderapi.THOST_FTDC_CED_Sale
r"""售汇"""
THOST_FTDC_CSS_Entry = _thosttraderapi.THOST_FTDC_CSS_Entry
r"""
    TFtdcCurrencySwapStatusType是一个申请状态类型
    已录入
    """
THOST_FTDC_CSS_Approve = _thosttraderapi.THOST_FTDC_CSS_Approve
r"""已审核"""
THOST_FTDC_CSS_Refuse = _thosttraderapi.THOST_FTDC_CSS_Refuse
r"""已拒绝"""
THOST_FTDC_CSS_Revoke = _thosttraderapi.THOST_FTDC_CSS_Revoke
r"""已撤销"""
THOST_FTDC_CSS_Send = _thosttraderapi.THOST_FTDC_CSS_Send
r"""已发送"""
THOST_FTDC_CSS_Success = _thosttraderapi.THOST_FTDC_CSS_Success
r"""换汇成功"""
THOST_FTDC_CSS_Failure = _thosttraderapi.THOST_FTDC_CSS_Failure
r"""换汇失败"""
THOST_FTDC_REQF_NoSend = _thosttraderapi.THOST_FTDC_REQF_NoSend
r"""
    TFtdcReqFlagType是一个换汇发送标志类型
    未发送
    """
THOST_FTDC_REQF_SendSuccess = _thosttraderapi.THOST_FTDC_REQF_SendSuccess
r"""发送成功"""
THOST_FTDC_REQF_SendFailed = _thosttraderapi.THOST_FTDC_REQF_SendFailed
r"""发送失败"""
THOST_FTDC_REQF_WaitReSend = _thosttraderapi.THOST_FTDC_REQF_WaitReSend
r"""等待重发"""
THOST_FTDC_RESF_Success = _thosttraderapi.THOST_FTDC_RESF_Success
r"""
    TFtdcResFlagType是一个换汇返回成功标志类型
    成功
    """
THOST_FTDC_RESF_InsuffiCient = _thosttraderapi.THOST_FTDC_RESF_InsuffiCient
r"""账户余额不足"""
THOST_FTDC_RESF_UnKnown = _thosttraderapi.THOST_FTDC_RESF_UnKnown
r"""交易结果未知"""
THOST_FTDC_EXS_Before = _thosttraderapi.THOST_FTDC_EXS_Before
r"""
    TFtdcExStatusType是一个修改状态类型
    修改前
    """
THOST_FTDC_EXS_After = _thosttraderapi.THOST_FTDC_EXS_After
r"""修改后"""
THOST_FTDC_CR_Domestic = _thosttraderapi.THOST_FTDC_CR_Domestic
r"""
    TFtdcClientRegionType是一个开户客户地域类型
    国内客户
    """
THOST_FTDC_CR_GMT = _thosttraderapi.THOST_FTDC_CR_GMT
r"""港澳台客户"""
THOST_FTDC_CR_Foreign = _thosttraderapi.THOST_FTDC_CR_Foreign
r"""国外客户"""
THOST_FTDC_HB_No = _thosttraderapi.THOST_FTDC_HB_No
r"""
    TFtdcHasBoardType是一个是否有董事会类型
    没有
    """
THOST_FTDC_HB_Yes = _thosttraderapi.THOST_FTDC_HB_Yes
r"""有"""
THOST_FTDC_SM_Normal = _thosttraderapi.THOST_FTDC_SM_Normal
r"""
    TFtdcStartModeType是一个启动模式类型
    正常
    """
THOST_FTDC_SM_Emerge = _thosttraderapi.THOST_FTDC_SM_Emerge
r"""应急"""
THOST_FTDC_SM_Restore = _thosttraderapi.THOST_FTDC_SM_Restore
r"""恢复"""
THOST_FTDC_TPT_Full = _thosttraderapi.THOST_FTDC_TPT_Full
r"""
    TFtdcTemplateTypeType是一个模型类型类型
    全量
    """
THOST_FTDC_TPT_Increment = _thosttraderapi.THOST_FTDC_TPT_Increment
r"""增量"""
THOST_FTDC_TPT_BackUp = _thosttraderapi.THOST_FTDC_TPT_BackUp
r"""备份"""
THOST_FTDC_LM_Trade = _thosttraderapi.THOST_FTDC_LM_Trade
r"""
    TFtdcLoginModeType是一个登录模式类型
    交易
    """
THOST_FTDC_LM_Transfer = _thosttraderapi.THOST_FTDC_LM_Transfer
r"""转账"""
THOST_FTDC_CPT_Instrument = _thosttraderapi.THOST_FTDC_CPT_Instrument
r"""
    TFtdcPromptTypeType是一个日历提示类型类型
    合约上下市
    """
THOST_FTDC_CPT_Margin = _thosttraderapi.THOST_FTDC_CPT_Margin
r"""保证金分段生效"""
THOST_FTDC_HT_Yes = _thosttraderapi.THOST_FTDC_HT_Yes
r"""
    TFtdcHasTrusteeType是一个是否有托管人类型
    有
    """
THOST_FTDC_HT_No = _thosttraderapi.THOST_FTDC_HT_No
r"""没有"""
THOST_FTDC_AMT_Bank = _thosttraderapi.THOST_FTDC_AMT_Bank
r"""
    TFtdcAmTypeType是一个机构类型类型
    银行
    """
THOST_FTDC_AMT_Securities = _thosttraderapi.THOST_FTDC_AMT_Securities
r"""证券公司"""
THOST_FTDC_AMT_Fund = _thosttraderapi.THOST_FTDC_AMT_Fund
r"""基金公司"""
THOST_FTDC_AMT_Insurance = _thosttraderapi.THOST_FTDC_AMT_Insurance
r"""保险公司"""
THOST_FTDC_AMT_Trust = _thosttraderapi.THOST_FTDC_AMT_Trust
r"""信托公司"""
THOST_FTDC_AMT_Other = _thosttraderapi.THOST_FTDC_AMT_Other
r"""其他"""
THOST_FTDC_CFIOT_FundIO = _thosttraderapi.THOST_FTDC_CFIOT_FundIO
r"""
    TFtdcCSRCFundIOTypeType是一个出入金类型类型
    出入金
    """
THOST_FTDC_CFIOT_SwapCurrency = _thosttraderapi.THOST_FTDC_CFIOT_SwapCurrency
r"""银期换汇"""
THOST_FTDC_CAT_Futures = _thosttraderapi.THOST_FTDC_CAT_Futures
r"""
    TFtdcCusAccountTypeType是一个结算账户类型类型
    期货结算账户
    """
THOST_FTDC_CAT_AssetmgrFuture = _thosttraderapi.THOST_FTDC_CAT_AssetmgrFuture
r"""纯期货资管业务下的资管结算账户"""
THOST_FTDC_CAT_AssetmgrTrustee = _thosttraderapi.THOST_FTDC_CAT_AssetmgrTrustee
r"""综合类资管业务下的期货资管托管账户"""
THOST_FTDC_CAT_AssetmgrTransfer = _thosttraderapi.THOST_FTDC_CAT_AssetmgrTransfer
r"""综合类资管业务下的资金中转账户"""
THOST_FTDC_LT_Chinese = _thosttraderapi.THOST_FTDC_LT_Chinese
r"""
    TFtdcLanguageTypeType是一个通知语言类型类型
    中文
    """
THOST_FTDC_LT_English = _thosttraderapi.THOST_FTDC_LT_English
r"""英文"""
THOST_FTDC_AMCT_Person = _thosttraderapi.THOST_FTDC_AMCT_Person
r"""
    TFtdcAssetmgrClientTypeType是一个资产管理客户类型类型
    个人资管客户
    """
THOST_FTDC_AMCT_Organ = _thosttraderapi.THOST_FTDC_AMCT_Organ
r"""单位资管客户"""
THOST_FTDC_AMCT_SpecialOrgan = _thosttraderapi.THOST_FTDC_AMCT_SpecialOrgan
r"""特殊单位资管客户"""
THOST_FTDC_ASST_Futures = _thosttraderapi.THOST_FTDC_ASST_Futures
r"""
    TFtdcAssetmgrTypeType是一个投资类型类型
    期货类
    """
THOST_FTDC_ASST_SpecialOrgan = _thosttraderapi.THOST_FTDC_ASST_SpecialOrgan
r"""综合类"""
THOST_FTDC_CIT_HasExch = _thosttraderapi.THOST_FTDC_CIT_HasExch
r"""
    TFtdcCheckInstrTypeType是一个合约比较类型类型
    合约交易所不存在
    """
THOST_FTDC_CIT_HasATP = _thosttraderapi.THOST_FTDC_CIT_HasATP
r"""合约本系统不存在"""
THOST_FTDC_CIT_HasDiff = _thosttraderapi.THOST_FTDC_CIT_HasDiff
r"""合约比较不一致"""
THOST_FTDC_DT_HandDeliv = _thosttraderapi.THOST_FTDC_DT_HandDeliv
r"""
    TFtdcDeliveryTypeType是一个交割类型类型
    手工交割
    """
THOST_FTDC_DT_PersonDeliv = _thosttraderapi.THOST_FTDC_DT_PersonDeliv
r"""到期交割"""
THOST_FTDC_MMSA_NO = _thosttraderapi.THOST_FTDC_MMSA_NO
r"""
    TFtdcMaxMarginSideAlgorithmType是一个大额单边保证金算法类型
    不使用大额单边保证金算法
    """
THOST_FTDC_MMSA_YES = _thosttraderapi.THOST_FTDC_MMSA_YES
r"""使用大额单边保证金算法"""
THOST_FTDC_CACT_Person = _thosttraderapi.THOST_FTDC_CACT_Person
r"""
    TFtdcDAClientTypeType是一个资产管理客户类型类型
    自然人
    """
THOST_FTDC_CACT_Company = _thosttraderapi.THOST_FTDC_CACT_Company
r"""法人"""
THOST_FTDC_CACT_Other = _thosttraderapi.THOST_FTDC_CACT_Other
r"""其他"""
THOST_FTDC_UOAAT_Futures = _thosttraderapi.THOST_FTDC_UOAAT_Futures
r"""
    TFtdcUOAAssetmgrTypeType是一个投资类型类型
    期货类
    """
THOST_FTDC_UOAAT_SpecialOrgan = _thosttraderapi.THOST_FTDC_UOAAT_SpecialOrgan
r"""综合类"""
THOST_FTDC_DEN_Buy = _thosttraderapi.THOST_FTDC_DEN_Buy
r"""
    TFtdcDirectionEnType是一个买卖方向类型
    Buy
    """
THOST_FTDC_DEN_Sell = _thosttraderapi.THOST_FTDC_DEN_Sell
r"""Sell"""
THOST_FTDC_OFEN_Open = _thosttraderapi.THOST_FTDC_OFEN_Open
r"""
    TFtdcOffsetFlagEnType是一个开平标志类型
    Position Opening
    """
THOST_FTDC_OFEN_Close = _thosttraderapi.THOST_FTDC_OFEN_Close
r"""Position Close"""
THOST_FTDC_OFEN_ForceClose = _thosttraderapi.THOST_FTDC_OFEN_ForceClose
r"""Forced Liquidation"""
THOST_FTDC_OFEN_CloseToday = _thosttraderapi.THOST_FTDC_OFEN_CloseToday
r"""Close Today"""
THOST_FTDC_OFEN_CloseYesterday = _thosttraderapi.THOST_FTDC_OFEN_CloseYesterday
r"""Close Prev."""
THOST_FTDC_OFEN_ForceOff = _thosttraderapi.THOST_FTDC_OFEN_ForceOff
r"""Forced Reduction"""
THOST_FTDC_OFEN_LocalForceClose = _thosttraderapi.THOST_FTDC_OFEN_LocalForceClose
r"""Local Forced Liquidation"""
THOST_FTDC_HFEN_Speculation = _thosttraderapi.THOST_FTDC_HFEN_Speculation
r"""
    TFtdcHedgeFlagEnType是一个投机套保标志类型
    Speculation
    """
THOST_FTDC_HFEN_Arbitrage = _thosttraderapi.THOST_FTDC_HFEN_Arbitrage
r"""Arbitrage"""
THOST_FTDC_HFEN_Hedge = _thosttraderapi.THOST_FTDC_HFEN_Hedge
r"""Hedge"""
THOST_FTDC_FIOTEN_FundIO = _thosttraderapi.THOST_FTDC_FIOTEN_FundIO
r"""
    TFtdcFundIOTypeEnType是一个出入金类型类型
    Deposit/Withdrawal
    """
THOST_FTDC_FIOTEN_Transfer = _thosttraderapi.THOST_FTDC_FIOTEN_Transfer
r"""Bank-Futures Transfer"""
THOST_FTDC_FIOTEN_SwapCurrency = _thosttraderapi.THOST_FTDC_FIOTEN_SwapCurrency
r"""Bank-Futures FX Exchange"""
THOST_FTDC_FTEN_Deposite = _thosttraderapi.THOST_FTDC_FTEN_Deposite
r"""
    TFtdcFundTypeEnType是一个资金类型类型
    Bank Deposit
    """
THOST_FTDC_FTEN_ItemFund = _thosttraderapi.THOST_FTDC_FTEN_ItemFund
r"""Payment/Fee"""
THOST_FTDC_FTEN_Company = _thosttraderapi.THOST_FTDC_FTEN_Company
r"""Brokerage Adj"""
THOST_FTDC_FTEN_InnerTransfer = _thosttraderapi.THOST_FTDC_FTEN_InnerTransfer
r"""Internal Transfer"""
THOST_FTDC_FDEN_In = _thosttraderapi.THOST_FTDC_FDEN_In
r"""
    TFtdcFundDirectionEnType是一个出入金方向类型
    Deposit
    """
THOST_FTDC_FDEN_Out = _thosttraderapi.THOST_FTDC_FDEN_Out
r"""Withdrawal"""
THOST_FTDC_FMDEN_In = _thosttraderapi.THOST_FTDC_FMDEN_In
r"""
    TFtdcFundMortDirectionEnType是一个货币质押方向类型
    Pledge
    """
THOST_FTDC_FMDEN_Out = _thosttraderapi.THOST_FTDC_FMDEN_Out
r"""Redemption"""
THOST_FTDC_CP_CallOptions = _thosttraderapi.THOST_FTDC_CP_CallOptions
r"""
    TFtdcOptionsTypeType是一个期权类型类型
    看涨
    """
THOST_FTDC_CP_PutOptions = _thosttraderapi.THOST_FTDC_CP_PutOptions
r"""看跌"""
THOST_FTDC_STM_Continental = _thosttraderapi.THOST_FTDC_STM_Continental
r"""
    TFtdcStrikeModeType是一个执行方式类型
    欧式
    """
THOST_FTDC_STM_American = _thosttraderapi.THOST_FTDC_STM_American
r"""美式"""
THOST_FTDC_STM_Bermuda = _thosttraderapi.THOST_FTDC_STM_Bermuda
r"""百慕大"""
THOST_FTDC_STT_Hedge = _thosttraderapi.THOST_FTDC_STT_Hedge
r"""
    TFtdcStrikeTypeType是一个执行类型类型
    自身对冲
    """
THOST_FTDC_STT_Match = _thosttraderapi.THOST_FTDC_STT_Match
r"""匹配执行"""
THOST_FTDC_APPT_NotStrikeNum = _thosttraderapi.THOST_FTDC_APPT_NotStrikeNum
r"""
    TFtdcApplyTypeType是一个中金所期权放弃执行申请类型类型
    不执行数量
    """
THOST_FTDC_GUDS_Gen = _thosttraderapi.THOST_FTDC_GUDS_Gen
r"""
    TFtdcGiveUpDataSourceType是一个放弃执行申请数据来源类型
    系统生成
    """
THOST_FTDC_GUDS_Hand = _thosttraderapi.THOST_FTDC_GUDS_Hand
r"""手工添加"""
THOST_FTDC_OER_NoExec = _thosttraderapi.THOST_FTDC_OER_NoExec
r"""
    TFtdcExecResultType是一个执行结果类型
    没有执行
    """
THOST_FTDC_OER_Canceled = _thosttraderapi.THOST_FTDC_OER_Canceled
r"""已经取消"""
THOST_FTDC_OER_OK = _thosttraderapi.THOST_FTDC_OER_OK
r"""执行成功"""
THOST_FTDC_OER_NoPosition = _thosttraderapi.THOST_FTDC_OER_NoPosition
r"""期权持仓不够"""
THOST_FTDC_OER_NoDeposit = _thosttraderapi.THOST_FTDC_OER_NoDeposit
r"""资金不够"""
THOST_FTDC_OER_NoParticipant = _thosttraderapi.THOST_FTDC_OER_NoParticipant
r"""会员不存在"""
THOST_FTDC_OER_NoClient = _thosttraderapi.THOST_FTDC_OER_NoClient
r"""客户不存在"""
THOST_FTDC_OER_NoInstrument = _thosttraderapi.THOST_FTDC_OER_NoInstrument
r"""合约不存在"""
THOST_FTDC_OER_NoRight = _thosttraderapi.THOST_FTDC_OER_NoRight
r"""没有执行权限"""
THOST_FTDC_OER_InvalidVolume = _thosttraderapi.THOST_FTDC_OER_InvalidVolume
r"""不合理的数量"""
THOST_FTDC_OER_NoEnoughHistoryTrade = _thosttraderapi.THOST_FTDC_OER_NoEnoughHistoryTrade
r"""没有足够的历史成交"""
THOST_FTDC_OER_Unknown = _thosttraderapi.THOST_FTDC_OER_Unknown
r"""未知"""
THOST_FTDC_COMBT_Future = _thosttraderapi.THOST_FTDC_COMBT_Future
r"""
    TFtdcCombinationTypeType是一个组合类型类型
    期货组合
    """
THOST_FTDC_COMBT_BUL = _thosttraderapi.THOST_FTDC_COMBT_BUL
r"""垂直价差BUL"""
THOST_FTDC_COMBT_BER = _thosttraderapi.THOST_FTDC_COMBT_BER
r"""垂直价差BER"""
THOST_FTDC_COMBT_STD = _thosttraderapi.THOST_FTDC_COMBT_STD
r"""跨式组合"""
THOST_FTDC_COMBT_STG = _thosttraderapi.THOST_FTDC_COMBT_STG
r"""宽跨式组合"""
THOST_FTDC_COMBT_PRT = _thosttraderapi.THOST_FTDC_COMBT_PRT
r"""备兑组合"""
THOST_FTDC_COMBT_CAS = _thosttraderapi.THOST_FTDC_COMBT_CAS
r"""时间价差组合"""
THOST_FTDC_COMBT_OPL = _thosttraderapi.THOST_FTDC_COMBT_OPL
r"""期权对锁组合"""
THOST_FTDC_COMBT_BFO = _thosttraderapi.THOST_FTDC_COMBT_BFO
r"""买备兑组合"""
THOST_FTDC_COMBT_BLS = _thosttraderapi.THOST_FTDC_COMBT_BLS
r"""买入期权垂直价差组合"""
THOST_FTDC_COMBT_BES = _thosttraderapi.THOST_FTDC_COMBT_BES
r"""卖出期权垂直价差组合"""
THOST_FTDC_DCECOMBT_SPL = _thosttraderapi.THOST_FTDC_DCECOMBT_SPL
r"""
    TFtdcDceCombinationTypeType是一个组合类型类型
    期货对锁组合
    """
THOST_FTDC_DCECOMBT_OPL = _thosttraderapi.THOST_FTDC_DCECOMBT_OPL
r"""期权对锁组合"""
THOST_FTDC_DCECOMBT_SP = _thosttraderapi.THOST_FTDC_DCECOMBT_SP
r"""期货跨期组合"""
THOST_FTDC_DCECOMBT_SPC = _thosttraderapi.THOST_FTDC_DCECOMBT_SPC
r"""期货跨品种组合"""
THOST_FTDC_DCECOMBT_BLS = _thosttraderapi.THOST_FTDC_DCECOMBT_BLS
r"""买入期权垂直价差组合"""
THOST_FTDC_DCECOMBT_BES = _thosttraderapi.THOST_FTDC_DCECOMBT_BES
r"""卖出期权垂直价差组合"""
THOST_FTDC_DCECOMBT_CAS = _thosttraderapi.THOST_FTDC_DCECOMBT_CAS
r"""期权日历价差组合"""
THOST_FTDC_DCECOMBT_STD = _thosttraderapi.THOST_FTDC_DCECOMBT_STD
r"""期权跨式组合"""
THOST_FTDC_DCECOMBT_STG = _thosttraderapi.THOST_FTDC_DCECOMBT_STG
r"""期权宽跨式组合"""
THOST_FTDC_DCECOMBT_BFO = _thosttraderapi.THOST_FTDC_DCECOMBT_BFO
r"""买入期货期权组合"""
THOST_FTDC_DCECOMBT_SFO = _thosttraderapi.THOST_FTDC_DCECOMBT_SFO
r"""卖出期货期权组合"""
THOST_FTDC_ORPT_PreSettlementPrice = _thosttraderapi.THOST_FTDC_ORPT_PreSettlementPrice
r"""
    TFtdcOptionRoyaltyPriceTypeType是一个期权权利金价格类型类型
    昨结算价
    """
THOST_FTDC_ORPT_OpenPrice = _thosttraderapi.THOST_FTDC_ORPT_OpenPrice
r"""开仓价"""
THOST_FTDC_ORPT_MaxPreSettlementPrice = _thosttraderapi.THOST_FTDC_ORPT_MaxPreSettlementPrice
r"""最新价与昨结算价较大值"""
THOST_FTDC_BLAG_Default = _thosttraderapi.THOST_FTDC_BLAG_Default
r"""
    TFtdcBalanceAlgorithmType是一个权益算法类型
    不计算期权市值盈亏
    """
THOST_FTDC_BLAG_IncludeOptValLost = _thosttraderapi.THOST_FTDC_BLAG_IncludeOptValLost
r"""计算期权市值亏损"""
THOST_FTDC_ACTP_Exec = _thosttraderapi.THOST_FTDC_ACTP_Exec
r"""
    TFtdcActionTypeType是一个执行类型类型
    执行
    """
THOST_FTDC_ACTP_Abandon = _thosttraderapi.THOST_FTDC_ACTP_Abandon
r"""放弃"""
THOST_FTDC_FQST_Submitted = _thosttraderapi.THOST_FTDC_FQST_Submitted
r"""
    TFtdcForQuoteStatusType是一个询价状态类型
    已经提交
    """
THOST_FTDC_FQST_Accepted = _thosttraderapi.THOST_FTDC_FQST_Accepted
r"""已经接受"""
THOST_FTDC_FQST_Rejected = _thosttraderapi.THOST_FTDC_FQST_Rejected
r"""已经被拒绝"""
THOST_FTDC_VM_Absolute = _thosttraderapi.THOST_FTDC_VM_Absolute
r"""
    TFtdcValueMethodType是一个取值方式类型
    按绝对值
    """
THOST_FTDC_VM_Ratio = _thosttraderapi.THOST_FTDC_VM_Ratio
r"""按比率"""
THOST_FTDC_EOPF_Reserve = _thosttraderapi.THOST_FTDC_EOPF_Reserve
r"""
    TFtdcExecOrderPositionFlagType是一个期权行权后是否保留期货头寸的标记类型
    保留
    """
THOST_FTDC_EOPF_UnReserve = _thosttraderapi.THOST_FTDC_EOPF_UnReserve
r"""不保留"""
THOST_FTDC_EOCF_AutoClose = _thosttraderapi.THOST_FTDC_EOCF_AutoClose
r"""
    TFtdcExecOrderCloseFlagType是一个期权行权后生成的头寸是否自动平仓类型
    自动平仓
    """
THOST_FTDC_EOCF_NotToClose = _thosttraderapi.THOST_FTDC_EOCF_NotToClose
r"""免于自动平仓"""
THOST_FTDC_PTE_Futures = _thosttraderapi.THOST_FTDC_PTE_Futures
r"""
    TFtdcProductTypeType是一个产品类型类型
    期货
    """
THOST_FTDC_PTE_Options = _thosttraderapi.THOST_FTDC_PTE_Options
r"""期权"""
THOST_FTDC_CUFN_CUFN_O = _thosttraderapi.THOST_FTDC_CUFN_CUFN_O
r"""
    TFtdcCZCEUploadFileNameType是一个郑商所结算文件名类型
    ^\d{8}_zz_\d{4}
    """
THOST_FTDC_CUFN_CUFN_T = _thosttraderapi.THOST_FTDC_CUFN_CUFN_T
r"""^\d{8}成交表"""
THOST_FTDC_CUFN_CUFN_P = _thosttraderapi.THOST_FTDC_CUFN_CUFN_P
r"""^\d{8}单腿持仓表new"""
THOST_FTDC_CUFN_CUFN_N = _thosttraderapi.THOST_FTDC_CUFN_CUFN_N
r"""^\d{8}非平仓了结表"""
THOST_FTDC_CUFN_CUFN_L = _thosttraderapi.THOST_FTDC_CUFN_CUFN_L
r"""^\d{8}平仓表"""
THOST_FTDC_CUFN_CUFN_F = _thosttraderapi.THOST_FTDC_CUFN_CUFN_F
r"""^\d{8}资金表"""
THOST_FTDC_CUFN_CUFN_C = _thosttraderapi.THOST_FTDC_CUFN_CUFN_C
r"""^\d{8}组合持仓表"""
THOST_FTDC_CUFN_CUFN_M = _thosttraderapi.THOST_FTDC_CUFN_CUFN_M
r"""^\d{8}保证金参数表"""
THOST_FTDC_DUFN_DUFN_O = _thosttraderapi.THOST_FTDC_DUFN_DUFN_O
r"""
    TFtdcDCEUploadFileNameType是一个大商所结算文件名类型
    ^\d{8}_dl_\d{3}
    """
THOST_FTDC_DUFN_DUFN_T = _thosttraderapi.THOST_FTDC_DUFN_DUFN_T
r"""^\d{8}_成交表"""
THOST_FTDC_DUFN_DUFN_P = _thosttraderapi.THOST_FTDC_DUFN_DUFN_P
r"""^\d{8}_持仓表"""
THOST_FTDC_DUFN_DUFN_F = _thosttraderapi.THOST_FTDC_DUFN_DUFN_F
r"""^\d{8}_资金结算表"""
THOST_FTDC_DUFN_DUFN_C = _thosttraderapi.THOST_FTDC_DUFN_DUFN_C
r"""^\d{8}_优惠组合持仓明细表"""
THOST_FTDC_DUFN_DUFN_D = _thosttraderapi.THOST_FTDC_DUFN_DUFN_D
r"""^\d{8}_持仓明细表"""
THOST_FTDC_DUFN_DUFN_M = _thosttraderapi.THOST_FTDC_DUFN_DUFN_M
r"""^\d{8}_保证金参数表"""
THOST_FTDC_DUFN_DUFN_S = _thosttraderapi.THOST_FTDC_DUFN_DUFN_S
r"""^\d{8}_期权执行表"""
THOST_FTDC_SUFN_SUFN_O = _thosttraderapi.THOST_FTDC_SUFN_SUFN_O
r"""
    TFtdcSHFEUploadFileNameType是一个上期所结算文件名类型
    ^\d{4}_\d{8}_\d{8}_DailyFundChg
    """
THOST_FTDC_SUFN_SUFN_T = _thosttraderapi.THOST_FTDC_SUFN_SUFN_T
r"""^\d{4}_\d{8}_\d{8}_Trade"""
THOST_FTDC_SUFN_SUFN_P = _thosttraderapi.THOST_FTDC_SUFN_SUFN_P
r"""^\d{4}_\d{8}_\d{8}_SettlementDetail"""
THOST_FTDC_SUFN_SUFN_F = _thosttraderapi.THOST_FTDC_SUFN_SUFN_F
r"""^\d{4}_\d{8}_\d{8}_Capital"""
THOST_FTDC_CFUFN_SUFN_T = _thosttraderapi.THOST_FTDC_CFUFN_SUFN_T
r"""
    TFtdcCFFEXUploadFileNameType是一个中金所结算文件名类型
    ^\d{4}_SG\d{1}_\d{8}_\d{1}_Trade
    """
THOST_FTDC_CFUFN_SUFN_P = _thosttraderapi.THOST_FTDC_CFUFN_SUFN_P
r"""^\d{4}_SG\d{1}_\d{8}_\d{1}_SettlementDetail"""
THOST_FTDC_CFUFN_SUFN_F = _thosttraderapi.THOST_FTDC_CFUFN_SUFN_F
r"""^\d{4}_SG\d{1}_\d{8}_\d{1}_Capital"""
THOST_FTDC_CFUFN_SUFN_S = _thosttraderapi.THOST_FTDC_CFUFN_SUFN_S
r"""^\d{4}_SG\d{1}_\d{8}_\d{1}_OptionExec"""
THOST_FTDC_CMDR_Comb = _thosttraderapi.THOST_FTDC_CMDR_Comb
r"""
    TFtdcCombDirectionType是一个组合指令方向类型
    申请组合
    """
THOST_FTDC_CMDR_UnComb = _thosttraderapi.THOST_FTDC_CMDR_UnComb
r"""申请拆分"""
THOST_FTDC_CMDR_DelComb = _thosttraderapi.THOST_FTDC_CMDR_DelComb
r"""操作员删组合单"""
THOST_FTDC_STOV_RealValue = _thosttraderapi.THOST_FTDC_STOV_RealValue
r"""
    TFtdcStrikeOffsetTypeType是一个行权偏移类型类型
    实值额
    """
THOST_FTDC_STOV_ProfitValue = _thosttraderapi.THOST_FTDC_STOV_ProfitValue
r"""盈利额"""
THOST_FTDC_STOV_RealRatio = _thosttraderapi.THOST_FTDC_STOV_RealRatio
r"""实值比例"""
THOST_FTDC_STOV_ProfitRatio = _thosttraderapi.THOST_FTDC_STOV_ProfitRatio
r"""盈利比例"""
THOST_FTDC_ROAST_Processing = _thosttraderapi.THOST_FTDC_ROAST_Processing
r"""
    TFtdcReserveOpenAccStasType是一个预约开户状态类型
    等待处理中
    """
THOST_FTDC_ROAST_Cancelled = _thosttraderapi.THOST_FTDC_ROAST_Cancelled
r"""已撤销"""
THOST_FTDC_ROAST_Opened = _thosttraderapi.THOST_FTDC_ROAST_Opened
r"""已开户"""
THOST_FTDC_ROAST_Invalid = _thosttraderapi.THOST_FTDC_ROAST_Invalid
r"""无效请求"""
THOST_FTDC_WPSR_Lib = _thosttraderapi.THOST_FTDC_WPSR_Lib
r"""
    TFtdcWeakPasswordSourceType是一个弱密码来源类型
    弱密码库
    """
THOST_FTDC_WPSR_Manual = _thosttraderapi.THOST_FTDC_WPSR_Manual
r"""手工录入"""
THOST_FTDC_OSCF_CloseSelfOptionPosition = _thosttraderapi.THOST_FTDC_OSCF_CloseSelfOptionPosition
r"""
    TFtdcOptSelfCloseFlagType是一个期权行权的头寸是否自对冲类型
    自对冲期权仓位
    """
THOST_FTDC_OSCF_ReserveOptionPosition = _thosttraderapi.THOST_FTDC_OSCF_ReserveOptionPosition
r"""保留期权仓位"""
THOST_FTDC_OSCF_SellCloseSelfFuturePosition = _thosttraderapi.THOST_FTDC_OSCF_SellCloseSelfFuturePosition
r"""自对冲卖方履约后的期货仓位"""
THOST_FTDC_OSCF_ReserveFuturePosition = _thosttraderapi.THOST_FTDC_OSCF_ReserveFuturePosition
r"""保留卖方履约后的期货仓位"""
THOST_FTDC_BZTP_Future = _thosttraderapi.THOST_FTDC_BZTP_Future
r"""
    TFtdcBizTypeType是一个业务类型类型
    期货
    """
THOST_FTDC_BZTP_Stock = _thosttraderapi.THOST_FTDC_BZTP_Stock
r"""证券"""
THOST_FTDC_APP_TYPE_Investor = _thosttraderapi.THOST_FTDC_APP_TYPE_Investor
r"""
    TFtdcAppTypeType是一个用户App类型类型
    直连的投资者
    """
THOST_FTDC_APP_TYPE_InvestorRelay = _thosttraderapi.THOST_FTDC_APP_TYPE_InvestorRelay
r"""为每个投资者都创建连接的中继"""
THOST_FTDC_APP_TYPE_OperatorRelay = _thosttraderapi.THOST_FTDC_APP_TYPE_OperatorRelay
r"""所有投资者共享一个操作员连接的中继"""
THOST_FTDC_APP_TYPE_UnKnown = _thosttraderapi.THOST_FTDC_APP_TYPE_UnKnown
r"""未知"""
THOST_FTDC_RV_Right = _thosttraderapi.THOST_FTDC_RV_Right
r"""
    TFtdcResponseValueType是一个应答类型类型
    检查成功
    """
THOST_FTDC_RV_Refuse = _thosttraderapi.THOST_FTDC_RV_Refuse
r"""检查失败"""
THOST_FTDC_OTC_TRDT_Block = _thosttraderapi.THOST_FTDC_OTC_TRDT_Block
r"""
    TFtdcOTCTradeTypeType是一个OTC成交类型类型
    大宗交易
    """
THOST_FTDC_OTC_TRDT_EFP = _thosttraderapi.THOST_FTDC_OTC_TRDT_EFP
r"""期转现"""
THOST_FTDC_OTC_MT_DV01 = _thosttraderapi.THOST_FTDC_OTC_MT_DV01
r"""
    TFtdcMatchTypeType是一个期现风险匹配方式类型
    基点价值
    """
THOST_FTDC_OTC_MT_ParValue = _thosttraderapi.THOST_FTDC_OTC_MT_ParValue
r"""面值"""
THOST_FTDC_AU_WHITE = _thosttraderapi.THOST_FTDC_AU_WHITE
r"""
    TFtdcAuthTypeType是一个用户终端认证方式类型
    白名单校验
    """
THOST_FTDC_AU_BLACK = _thosttraderapi.THOST_FTDC_AU_BLACK
r"""黑名单校验"""
THOST_FTDC_INS_ALL = _thosttraderapi.THOST_FTDC_INS_ALL
r"""
    TFtdcClassTypeType是一个合约分类方式类型
    所有合约
    """
THOST_FTDC_INS_FUTURE = _thosttraderapi.THOST_FTDC_INS_FUTURE
r"""期货、即期、期转现、Tas、金属指数合约"""
THOST_FTDC_INS_OPTION = _thosttraderapi.THOST_FTDC_INS_OPTION
r"""期货、现货期权合约"""
THOST_FTDC_INS_COMB = _thosttraderapi.THOST_FTDC_INS_COMB
r"""组合合约"""
THOST_FTDC_TD_ALL = _thosttraderapi.THOST_FTDC_TD_ALL
r"""
    TFtdcTradingTypeType是一个合约交易状态分类方式类型
    所有状态
    """
THOST_FTDC_TD_TRADE = _thosttraderapi.THOST_FTDC_TD_TRADE
r"""交易"""
THOST_FTDC_TD_UNTRADE = _thosttraderapi.THOST_FTDC_TD_UNTRADE
r"""非交易"""
THOST_FTDC_PS_tradeable = _thosttraderapi.THOST_FTDC_PS_tradeable
r"""
    TFtdcProductStatusType是一个产品状态类型
    可交易
    """
THOST_FTDC_PS_untradeable = _thosttraderapi.THOST_FTDC_PS_untradeable
r"""不可交易"""
THOST_FTDC_SDS_Readable = _thosttraderapi.THOST_FTDC_SDS_Readable
r"""
    TFtdcSyncDeltaStatusType是一个追平状态类型
    交易可读
    """
THOST_FTDC_SDS_Reading = _thosttraderapi.THOST_FTDC_SDS_Reading
r"""交易在读"""
THOST_FTDC_SDS_Readend = _thosttraderapi.THOST_FTDC_SDS_Readend
r"""交易读取完成"""
THOST_FTDC_SDS_OptErr = _thosttraderapi.THOST_FTDC_SDS_OptErr
r"""追平失败 交易本地状态结算不存在"""
THOST_FTDC_ACD_Add = _thosttraderapi.THOST_FTDC_ACD_Add
r"""
    TFtdcActionDirectionType是一个操作标志类型
    增加
    """
THOST_FTDC_ACD_Del = _thosttraderapi.THOST_FTDC_ACD_Del
r"""删除"""
THOST_FTDC_ACD_Upd = _thosttraderapi.THOST_FTDC_ACD_Upd
r"""更新"""
THOST_FTDC_OAC_Balance = _thosttraderapi.THOST_FTDC_OAC_Balance
r"""
    TFtdcOrderCancelAlgType是一个撤单时选择席位算法类型
    轮询席位撤单
    """
THOST_FTDC_OAC_OrigFirst = _thosttraderapi.THOST_FTDC_OAC_OrigFirst
r"""优先原报单席位撤单"""
THOST_FTDC_PLCL_None = _thosttraderapi.THOST_FTDC_PLCL_None
r"""
    TFtdcOpenLimitControlLevelType是一个开仓量限制粒度类型
    不控制
    """
THOST_FTDC_PLCL_Product = _thosttraderapi.THOST_FTDC_PLCL_Product
r"""产品级别"""
THOST_FTDC_PLCL_Inst = _thosttraderapi.THOST_FTDC_PLCL_Inst
r"""合约级别"""
THOST_FTDC_OFCL_None = _thosttraderapi.THOST_FTDC_OFCL_None
r"""
    TFtdcOrderFreqControlLevelType是一个报单频率控制粒度类型
    不控制
    """
THOST_FTDC_OFCL_Product = _thosttraderapi.THOST_FTDC_OFCL_Product
r"""产品级别"""
THOST_FTDC_OFCL_Inst = _thosttraderapi.THOST_FTDC_OFCL_Inst
r"""合约级别"""
THOST_FTDC_EBL_False = _thosttraderapi.THOST_FTDC_EBL_False
r"""
    TFtdcEnumBoolType是一个枚举bool类型类型
    false
    """
THOST_FTDC_EBL_True = _thosttraderapi.THOST_FTDC_EBL_True
r"""true"""
THOST_FTDC_ETR_USUAL = _thosttraderapi.THOST_FTDC_ETR_USUAL
r"""
    TFtdcTimeRangeType是一个期货合约阶段标识类型
    一般月份
    """
THOST_FTDC_ETR_FNSP = _thosttraderapi.THOST_FTDC_ETR_FNSP
r"""交割月前一个月上半月"""
THOST_FTDC_ETR_BNSP = _thosttraderapi.THOST_FTDC_ETR_BNSP
r"""交割月前一个月下半月"""
THOST_FTDC_ETR_SPOT = _thosttraderapi.THOST_FTDC_ETR_SPOT
r"""交割月份"""
THOST_FTDC_EPF_None = _thosttraderapi.THOST_FTDC_EPF_None
r"""
    TFtdcPortfolioType是一个新型组保算法类型
    不使用新型组保算法
    """
THOST_FTDC_EPF_SPBM = _thosttraderapi.THOST_FTDC_EPF_SPBM
r"""SPBM算法"""
THOST_FTDC_WDPID_CashIn = _thosttraderapi.THOST_FTDC_WDPID_CashIn
r"""
    TFtdcWithDrawParamIDType是一个可提参数代码类型
    权利金收支是否可提 1 代表可提 0 不可提
    """
THOST_FTDC_ITR_CloseOnly = _thosttraderapi.THOST_FTDC_ITR_CloseOnly
r"""
    TFtdcInvstTradingRightType是一个投资者交易权限类型
    只能平仓
    """
THOST_FTDC_ITR_Forbidden = _thosttraderapi.THOST_FTDC_ITR_Forbidden
r"""不能交易"""
class CThostFtdcDisseminationField(object):
    r"""信息分发"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    SequenceSeries: "TThostFtdcSequenceSeriesType" = property(_thosttraderapi.CThostFtdcDisseminationField_SequenceSeries_get, _thosttraderapi.CThostFtdcDisseminationField_SequenceSeries_set, doc=r"""序列系列号""")
    SequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcDisseminationField_SequenceNo_get, _thosttraderapi.CThostFtdcDisseminationField_SequenceNo_set, doc=r"""序列号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcDisseminationField_swiginit(self, _thosttraderapi.new_CThostFtdcDisseminationField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcDisseminationField

# Register CThostFtdcDisseminationField in _thosttraderapi:
_thosttraderapi.CThostFtdcDisseminationField_swigregister(CThostFtdcDisseminationField)
class CThostFtdcReqUserLoginField(object):
    r"""用户登录请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcReqUserLoginField_TradingDay_get, _thosttraderapi.CThostFtdcReqUserLoginField_TradingDay_set, doc=r"""交易日""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcReqUserLoginField_BrokerID_get, _thosttraderapi.CThostFtdcReqUserLoginField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcReqUserLoginField_UserID_get, _thosttraderapi.CThostFtdcReqUserLoginField_UserID_set, doc=r"""用户代码""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqUserLoginField_Password_get, _thosttraderapi.CThostFtdcReqUserLoginField_Password_set, doc=r"""密码""")
    UserProductInfo: "TThostFtdcProductInfoType" = property(_thosttraderapi.CThostFtdcReqUserLoginField_UserProductInfo_get, _thosttraderapi.CThostFtdcReqUserLoginField_UserProductInfo_set, doc=r"""用户端产品信息""")
    InterfaceProductInfo: "TThostFtdcProductInfoType" = property(_thosttraderapi.CThostFtdcReqUserLoginField_InterfaceProductInfo_get, _thosttraderapi.CThostFtdcReqUserLoginField_InterfaceProductInfo_set, doc=r"""接口端产品信息""")
    ProtocolInfo: "TThostFtdcProtocolInfoType" = property(_thosttraderapi.CThostFtdcReqUserLoginField_ProtocolInfo_get, _thosttraderapi.CThostFtdcReqUserLoginField_ProtocolInfo_set, doc=r"""协议信息""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcReqUserLoginField_MacAddress_get, _thosttraderapi.CThostFtdcReqUserLoginField_MacAddress_set, doc=r"""Mac地址""")
    OneTimePassword: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqUserLoginField_OneTimePassword_get, _thosttraderapi.CThostFtdcReqUserLoginField_OneTimePassword_set, doc=r"""动态密码""")
    reserve1: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcReqUserLoginField_reserve1_get, _thosttraderapi.CThostFtdcReqUserLoginField_reserve1_set, doc=r"""保留的无效字段""")
    LoginRemark: "TThostFtdcLoginRemarkType" = property(_thosttraderapi.CThostFtdcReqUserLoginField_LoginRemark_get, _thosttraderapi.CThostFtdcReqUserLoginField_LoginRemark_set, doc=r"""登录备注""")
    ClientIPPort: "TThostFtdcIPPortType" = property(_thosttraderapi.CThostFtdcReqUserLoginField_ClientIPPort_get, _thosttraderapi.CThostFtdcReqUserLoginField_ClientIPPort_set, doc=r"""终端IP端口""")
    ClientIPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcReqUserLoginField_ClientIPAddress_get, _thosttraderapi.CThostFtdcReqUserLoginField_ClientIPAddress_set, doc=r"""终端IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReqUserLoginField_swiginit(self, _thosttraderapi.new_CThostFtdcReqUserLoginField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReqUserLoginField

# Register CThostFtdcReqUserLoginField in _thosttraderapi:
_thosttraderapi.CThostFtdcReqUserLoginField_swigregister(CThostFtdcReqUserLoginField)
class CThostFtdcRspUserLoginField(object):
    r"""用户登录应答"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcRspUserLoginField_TradingDay_get, _thosttraderapi.CThostFtdcRspUserLoginField_TradingDay_set, doc=r"""交易日""")
    LoginTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcRspUserLoginField_LoginTime_get, _thosttraderapi.CThostFtdcRspUserLoginField_LoginTime_set, doc=r"""登录成功时间""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcRspUserLoginField_BrokerID_get, _thosttraderapi.CThostFtdcRspUserLoginField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcRspUserLoginField_UserID_get, _thosttraderapi.CThostFtdcRspUserLoginField_UserID_set, doc=r"""用户代码""")
    SystemName: "TThostFtdcSystemNameType" = property(_thosttraderapi.CThostFtdcRspUserLoginField_SystemName_get, _thosttraderapi.CThostFtdcRspUserLoginField_SystemName_set, doc=r"""交易系统名称""")
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcRspUserLoginField_FrontID_get, _thosttraderapi.CThostFtdcRspUserLoginField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcRspUserLoginField_SessionID_get, _thosttraderapi.CThostFtdcRspUserLoginField_SessionID_set, doc=r"""会话编号""")
    MaxOrderRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcRspUserLoginField_MaxOrderRef_get, _thosttraderapi.CThostFtdcRspUserLoginField_MaxOrderRef_set, doc=r"""最大报单引用""")
    SHFETime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcRspUserLoginField_SHFETime_get, _thosttraderapi.CThostFtdcRspUserLoginField_SHFETime_set, doc=r"""上期所时间""")
    DCETime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcRspUserLoginField_DCETime_get, _thosttraderapi.CThostFtdcRspUserLoginField_DCETime_set, doc=r"""大商所时间""")
    CZCETime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcRspUserLoginField_CZCETime_get, _thosttraderapi.CThostFtdcRspUserLoginField_CZCETime_set, doc=r"""郑商所时间""")
    FFEXTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcRspUserLoginField_FFEXTime_get, _thosttraderapi.CThostFtdcRspUserLoginField_FFEXTime_set, doc=r"""中金所时间""")
    INETime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcRspUserLoginField_INETime_get, _thosttraderapi.CThostFtdcRspUserLoginField_INETime_set, doc=r"""能源中心时间""")
    SysVersion: "TThostFtdcSysVersionType" = property(_thosttraderapi.CThostFtdcRspUserLoginField_SysVersion_get, _thosttraderapi.CThostFtdcRspUserLoginField_SysVersion_set, doc=r"""后台版本信息""")
    GFEXTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcRspUserLoginField_GFEXTime_get, _thosttraderapi.CThostFtdcRspUserLoginField_GFEXTime_set, doc=r"""广期所时间""")

    def __init__(self):
        _thosttraderapi.CThostFtdcRspUserLoginField_swiginit(self, _thosttraderapi.new_CThostFtdcRspUserLoginField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcRspUserLoginField

# Register CThostFtdcRspUserLoginField in _thosttraderapi:
_thosttraderapi.CThostFtdcRspUserLoginField_swigregister(CThostFtdcRspUserLoginField)
class CThostFtdcUserLogoutField(object):
    r"""用户登出请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcUserLogoutField_BrokerID_get, _thosttraderapi.CThostFtdcUserLogoutField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcUserLogoutField_UserID_get, _thosttraderapi.CThostFtdcUserLogoutField_UserID_set, doc=r"""用户代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcUserLogoutField_swiginit(self, _thosttraderapi.new_CThostFtdcUserLogoutField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcUserLogoutField

# Register CThostFtdcUserLogoutField in _thosttraderapi:
_thosttraderapi.CThostFtdcUserLogoutField_swigregister(CThostFtdcUserLogoutField)
class CThostFtdcForceUserLogoutField(object):
    r"""强制交易员退出"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcForceUserLogoutField_BrokerID_get, _thosttraderapi.CThostFtdcForceUserLogoutField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcForceUserLogoutField_UserID_get, _thosttraderapi.CThostFtdcForceUserLogoutField_UserID_set, doc=r"""用户代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcForceUserLogoutField_swiginit(self, _thosttraderapi.new_CThostFtdcForceUserLogoutField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcForceUserLogoutField

# Register CThostFtdcForceUserLogoutField in _thosttraderapi:
_thosttraderapi.CThostFtdcForceUserLogoutField_swigregister(CThostFtdcForceUserLogoutField)
class CThostFtdcReqAuthenticateField(object):
    r"""客户端认证请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcReqAuthenticateField_BrokerID_get, _thosttraderapi.CThostFtdcReqAuthenticateField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcReqAuthenticateField_UserID_get, _thosttraderapi.CThostFtdcReqAuthenticateField_UserID_set, doc=r"""用户代码""")
    UserProductInfo: "TThostFtdcProductInfoType" = property(_thosttraderapi.CThostFtdcReqAuthenticateField_UserProductInfo_get, _thosttraderapi.CThostFtdcReqAuthenticateField_UserProductInfo_set, doc=r"""用户端产品信息""")
    AuthCode: "TThostFtdcAuthCodeType" = property(_thosttraderapi.CThostFtdcReqAuthenticateField_AuthCode_get, _thosttraderapi.CThostFtdcReqAuthenticateField_AuthCode_set, doc=r"""认证码""")
    AppID: "TThostFtdcAppIDType" = property(_thosttraderapi.CThostFtdcReqAuthenticateField_AppID_get, _thosttraderapi.CThostFtdcReqAuthenticateField_AppID_set, doc=r"""App代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReqAuthenticateField_swiginit(self, _thosttraderapi.new_CThostFtdcReqAuthenticateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReqAuthenticateField

# Register CThostFtdcReqAuthenticateField in _thosttraderapi:
_thosttraderapi.CThostFtdcReqAuthenticateField_swigregister(CThostFtdcReqAuthenticateField)
class CThostFtdcRspAuthenticateField(object):
    r"""客户端认证响应"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcRspAuthenticateField_BrokerID_get, _thosttraderapi.CThostFtdcRspAuthenticateField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcRspAuthenticateField_UserID_get, _thosttraderapi.CThostFtdcRspAuthenticateField_UserID_set, doc=r"""用户代码""")
    UserProductInfo: "TThostFtdcProductInfoType" = property(_thosttraderapi.CThostFtdcRspAuthenticateField_UserProductInfo_get, _thosttraderapi.CThostFtdcRspAuthenticateField_UserProductInfo_set, doc=r"""用户端产品信息""")
    AppID: "TThostFtdcAppIDType" = property(_thosttraderapi.CThostFtdcRspAuthenticateField_AppID_get, _thosttraderapi.CThostFtdcRspAuthenticateField_AppID_set, doc=r"""App代码""")
    AppType: "TThostFtdcAppTypeType" = property(_thosttraderapi.CThostFtdcRspAuthenticateField_AppType_get, _thosttraderapi.CThostFtdcRspAuthenticateField_AppType_set, doc=r"""App类型""")

    def __init__(self):
        _thosttraderapi.CThostFtdcRspAuthenticateField_swiginit(self, _thosttraderapi.new_CThostFtdcRspAuthenticateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcRspAuthenticateField

# Register CThostFtdcRspAuthenticateField in _thosttraderapi:
_thosttraderapi.CThostFtdcRspAuthenticateField_swigregister(CThostFtdcRspAuthenticateField)
class CThostFtdcAuthenticationInfoField(object):
    r"""客户端认证信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcAuthenticationInfoField_BrokerID_get, _thosttraderapi.CThostFtdcAuthenticationInfoField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcAuthenticationInfoField_UserID_get, _thosttraderapi.CThostFtdcAuthenticationInfoField_UserID_set, doc=r"""用户代码""")
    UserProductInfo: "TThostFtdcProductInfoType" = property(_thosttraderapi.CThostFtdcAuthenticationInfoField_UserProductInfo_get, _thosttraderapi.CThostFtdcAuthenticationInfoField_UserProductInfo_set, doc=r"""用户端产品信息""")
    AuthInfo: "TThostFtdcAuthInfoType" = property(_thosttraderapi.CThostFtdcAuthenticationInfoField_AuthInfo_get, _thosttraderapi.CThostFtdcAuthenticationInfoField_AuthInfo_set, doc=r"""认证信息""")
    IsResult: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcAuthenticationInfoField_IsResult_get, _thosttraderapi.CThostFtdcAuthenticationInfoField_IsResult_set, doc=r"""是否为认证结果""")
    AppID: "TThostFtdcAppIDType" = property(_thosttraderapi.CThostFtdcAuthenticationInfoField_AppID_get, _thosttraderapi.CThostFtdcAuthenticationInfoField_AppID_set, doc=r"""App代码""")
    AppType: "TThostFtdcAppTypeType" = property(_thosttraderapi.CThostFtdcAuthenticationInfoField_AppType_get, _thosttraderapi.CThostFtdcAuthenticationInfoField_AppType_set, doc=r"""App类型""")
    reserve1: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcAuthenticationInfoField_reserve1_get, _thosttraderapi.CThostFtdcAuthenticationInfoField_reserve1_set, doc=r"""保留的无效字段""")
    ClientIPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcAuthenticationInfoField_ClientIPAddress_get, _thosttraderapi.CThostFtdcAuthenticationInfoField_ClientIPAddress_set, doc=r"""终端IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcAuthenticationInfoField_swiginit(self, _thosttraderapi.new_CThostFtdcAuthenticationInfoField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcAuthenticationInfoField

# Register CThostFtdcAuthenticationInfoField in _thosttraderapi:
_thosttraderapi.CThostFtdcAuthenticationInfoField_swigregister(CThostFtdcAuthenticationInfoField)
class CThostFtdcRspUserLogin2Field(object):
    r"""用户登录应答2"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcRspUserLogin2Field_TradingDay_get, _thosttraderapi.CThostFtdcRspUserLogin2Field_TradingDay_set, doc=r"""交易日""")
    LoginTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcRspUserLogin2Field_LoginTime_get, _thosttraderapi.CThostFtdcRspUserLogin2Field_LoginTime_set, doc=r"""登录成功时间""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcRspUserLogin2Field_BrokerID_get, _thosttraderapi.CThostFtdcRspUserLogin2Field_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcRspUserLogin2Field_UserID_get, _thosttraderapi.CThostFtdcRspUserLogin2Field_UserID_set, doc=r"""用户代码""")
    SystemName: "TThostFtdcSystemNameType" = property(_thosttraderapi.CThostFtdcRspUserLogin2Field_SystemName_get, _thosttraderapi.CThostFtdcRspUserLogin2Field_SystemName_set, doc=r"""交易系统名称""")
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcRspUserLogin2Field_FrontID_get, _thosttraderapi.CThostFtdcRspUserLogin2Field_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcRspUserLogin2Field_SessionID_get, _thosttraderapi.CThostFtdcRspUserLogin2Field_SessionID_set, doc=r"""会话编号""")
    MaxOrderRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcRspUserLogin2Field_MaxOrderRef_get, _thosttraderapi.CThostFtdcRspUserLogin2Field_MaxOrderRef_set, doc=r"""最大报单引用""")
    SHFETime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcRspUserLogin2Field_SHFETime_get, _thosttraderapi.CThostFtdcRspUserLogin2Field_SHFETime_set, doc=r"""上期所时间""")
    DCETime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcRspUserLogin2Field_DCETime_get, _thosttraderapi.CThostFtdcRspUserLogin2Field_DCETime_set, doc=r"""大商所时间""")
    CZCETime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcRspUserLogin2Field_CZCETime_get, _thosttraderapi.CThostFtdcRspUserLogin2Field_CZCETime_set, doc=r"""郑商所时间""")
    FFEXTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcRspUserLogin2Field_FFEXTime_get, _thosttraderapi.CThostFtdcRspUserLogin2Field_FFEXTime_set, doc=r"""中金所时间""")
    INETime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcRspUserLogin2Field_INETime_get, _thosttraderapi.CThostFtdcRspUserLogin2Field_INETime_set, doc=r"""能源中心时间""")
    RandomString: "TThostFtdcRandomStringType" = property(_thosttraderapi.CThostFtdcRspUserLogin2Field_RandomString_get, _thosttraderapi.CThostFtdcRspUserLogin2Field_RandomString_set, doc=r"""随机串""")

    def __init__(self):
        _thosttraderapi.CThostFtdcRspUserLogin2Field_swiginit(self, _thosttraderapi.new_CThostFtdcRspUserLogin2Field())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcRspUserLogin2Field

# Register CThostFtdcRspUserLogin2Field in _thosttraderapi:
_thosttraderapi.CThostFtdcRspUserLogin2Field_swigregister(CThostFtdcRspUserLogin2Field)
class CThostFtdcTransferHeaderField(object):
    r"""银期转帐报文头"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    Version: "TThostFtdcVersionType" = property(_thosttraderapi.CThostFtdcTransferHeaderField_Version_get, _thosttraderapi.CThostFtdcTransferHeaderField_Version_set, doc=r"""版本号，常量，1.0""")
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcTransferHeaderField_TradeCode_get, _thosttraderapi.CThostFtdcTransferHeaderField_TradeCode_set, doc=r"""交易代码，必填""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcTransferHeaderField_TradeDate_get, _thosttraderapi.CThostFtdcTransferHeaderField_TradeDate_set, doc=r"""交易日期，必填，格式：yyyymmdd""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcTransferHeaderField_TradeTime_get, _thosttraderapi.CThostFtdcTransferHeaderField_TradeTime_set, doc=r"""交易时间，必填，格式：hhmmss""")
    TradeSerial: "TThostFtdcTradeSerialType" = property(_thosttraderapi.CThostFtdcTransferHeaderField_TradeSerial_get, _thosttraderapi.CThostFtdcTransferHeaderField_TradeSerial_set, doc=r"""发起方流水号，N/A""")
    FutureID: "TThostFtdcFutureIDType" = property(_thosttraderapi.CThostFtdcTransferHeaderField_FutureID_get, _thosttraderapi.CThostFtdcTransferHeaderField_FutureID_set, doc=r"""期货公司代码，必填""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcTransferHeaderField_BankID_get, _thosttraderapi.CThostFtdcTransferHeaderField_BankID_set, doc=r"""银行代码，根据查询银行得到，必填""")
    BankBrchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcTransferHeaderField_BankBrchID_get, _thosttraderapi.CThostFtdcTransferHeaderField_BankBrchID_set, doc=r"""银行分中心代码，根据查询银行得到，必填""")
    OperNo: "TThostFtdcOperNoType" = property(_thosttraderapi.CThostFtdcTransferHeaderField_OperNo_get, _thosttraderapi.CThostFtdcTransferHeaderField_OperNo_set, doc=r"""操作员，N/A""")
    DeviceID: "TThostFtdcDeviceIDType" = property(_thosttraderapi.CThostFtdcTransferHeaderField_DeviceID_get, _thosttraderapi.CThostFtdcTransferHeaderField_DeviceID_set, doc=r"""交易设备类型，N/A""")
    RecordNum: "TThostFtdcRecordNumType" = property(_thosttraderapi.CThostFtdcTransferHeaderField_RecordNum_get, _thosttraderapi.CThostFtdcTransferHeaderField_RecordNum_set, doc=r"""记录数，N/A""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcTransferHeaderField_SessionID_get, _thosttraderapi.CThostFtdcTransferHeaderField_SessionID_set, doc=r"""会话编号，N/A""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcTransferHeaderField_RequestID_get, _thosttraderapi.CThostFtdcTransferHeaderField_RequestID_set, doc=r"""请求编号，N/A""")

    def __init__(self):
        _thosttraderapi.CThostFtdcTransferHeaderField_swiginit(self, _thosttraderapi.new_CThostFtdcTransferHeaderField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTransferHeaderField

# Register CThostFtdcTransferHeaderField in _thosttraderapi:
_thosttraderapi.CThostFtdcTransferHeaderField_swigregister(CThostFtdcTransferHeaderField)
class CThostFtdcTransferBankToFutureReqField(object):
    r"""银行资金转期货请求，TradeCode=202001"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    FutureAccount: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcTransferBankToFutureReqField_FutureAccount_get, _thosttraderapi.CThostFtdcTransferBankToFutureReqField_FutureAccount_set, doc=r"""期货资金账户""")
    FuturePwdFlag: "TThostFtdcFuturePwdFlagType" = property(_thosttraderapi.CThostFtdcTransferBankToFutureReqField_FuturePwdFlag_get, _thosttraderapi.CThostFtdcTransferBankToFutureReqField_FuturePwdFlag_set, doc=r"""密码标志""")
    FutureAccPwd: "TThostFtdcFutureAccPwdType" = property(_thosttraderapi.CThostFtdcTransferBankToFutureReqField_FutureAccPwd_get, _thosttraderapi.CThostFtdcTransferBankToFutureReqField_FutureAccPwd_set, doc=r"""密码""")
    TradeAmt: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTransferBankToFutureReqField_TradeAmt_get, _thosttraderapi.CThostFtdcTransferBankToFutureReqField_TradeAmt_set, doc=r"""转账金额""")
    CustFee: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTransferBankToFutureReqField_CustFee_get, _thosttraderapi.CThostFtdcTransferBankToFutureReqField_CustFee_set, doc=r"""客户手续费""")
    CurrencyCode: "TThostFtdcCurrencyCodeType" = property(_thosttraderapi.CThostFtdcTransferBankToFutureReqField_CurrencyCode_get, _thosttraderapi.CThostFtdcTransferBankToFutureReqField_CurrencyCode_set, doc=r"""币种：RMB-人民币 USD-美圆 HKD-港元""")

    def __init__(self):
        _thosttraderapi.CThostFtdcTransferBankToFutureReqField_swiginit(self, _thosttraderapi.new_CThostFtdcTransferBankToFutureReqField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTransferBankToFutureReqField

# Register CThostFtdcTransferBankToFutureReqField in _thosttraderapi:
_thosttraderapi.CThostFtdcTransferBankToFutureReqField_swigregister(CThostFtdcTransferBankToFutureReqField)
class CThostFtdcTransferBankToFutureRspField(object):
    r"""银行资金转期货请求响应"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    RetCode: "TThostFtdcRetCodeType" = property(_thosttraderapi.CThostFtdcTransferBankToFutureRspField_RetCode_get, _thosttraderapi.CThostFtdcTransferBankToFutureRspField_RetCode_set, doc=r"""响应代码""")
    RetInfo: "TThostFtdcRetInfoType" = property(_thosttraderapi.CThostFtdcTransferBankToFutureRspField_RetInfo_get, _thosttraderapi.CThostFtdcTransferBankToFutureRspField_RetInfo_set, doc=r"""响应信息""")
    FutureAccount: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcTransferBankToFutureRspField_FutureAccount_get, _thosttraderapi.CThostFtdcTransferBankToFutureRspField_FutureAccount_set, doc=r"""资金账户""")
    TradeAmt: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTransferBankToFutureRspField_TradeAmt_get, _thosttraderapi.CThostFtdcTransferBankToFutureRspField_TradeAmt_set, doc=r"""转帐金额""")
    CustFee: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTransferBankToFutureRspField_CustFee_get, _thosttraderapi.CThostFtdcTransferBankToFutureRspField_CustFee_set, doc=r"""应收客户手续费""")
    CurrencyCode: "TThostFtdcCurrencyCodeType" = property(_thosttraderapi.CThostFtdcTransferBankToFutureRspField_CurrencyCode_get, _thosttraderapi.CThostFtdcTransferBankToFutureRspField_CurrencyCode_set, doc=r"""币种""")

    def __init__(self):
        _thosttraderapi.CThostFtdcTransferBankToFutureRspField_swiginit(self, _thosttraderapi.new_CThostFtdcTransferBankToFutureRspField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTransferBankToFutureRspField

# Register CThostFtdcTransferBankToFutureRspField in _thosttraderapi:
_thosttraderapi.CThostFtdcTransferBankToFutureRspField_swigregister(CThostFtdcTransferBankToFutureRspField)
class CThostFtdcTransferFutureToBankReqField(object):
    r"""期货资金转银行请求，TradeCode=202002"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    FutureAccount: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcTransferFutureToBankReqField_FutureAccount_get, _thosttraderapi.CThostFtdcTransferFutureToBankReqField_FutureAccount_set, doc=r"""期货资金账户""")
    FuturePwdFlag: "TThostFtdcFuturePwdFlagType" = property(_thosttraderapi.CThostFtdcTransferFutureToBankReqField_FuturePwdFlag_get, _thosttraderapi.CThostFtdcTransferFutureToBankReqField_FuturePwdFlag_set, doc=r"""密码标志""")
    FutureAccPwd: "TThostFtdcFutureAccPwdType" = property(_thosttraderapi.CThostFtdcTransferFutureToBankReqField_FutureAccPwd_get, _thosttraderapi.CThostFtdcTransferFutureToBankReqField_FutureAccPwd_set, doc=r"""密码""")
    TradeAmt: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTransferFutureToBankReqField_TradeAmt_get, _thosttraderapi.CThostFtdcTransferFutureToBankReqField_TradeAmt_set, doc=r"""转账金额""")
    CustFee: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTransferFutureToBankReqField_CustFee_get, _thosttraderapi.CThostFtdcTransferFutureToBankReqField_CustFee_set, doc=r"""客户手续费""")
    CurrencyCode: "TThostFtdcCurrencyCodeType" = property(_thosttraderapi.CThostFtdcTransferFutureToBankReqField_CurrencyCode_get, _thosttraderapi.CThostFtdcTransferFutureToBankReqField_CurrencyCode_set, doc=r"""币种：RMB-人民币 USD-美圆 HKD-港元""")

    def __init__(self):
        _thosttraderapi.CThostFtdcTransferFutureToBankReqField_swiginit(self, _thosttraderapi.new_CThostFtdcTransferFutureToBankReqField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTransferFutureToBankReqField

# Register CThostFtdcTransferFutureToBankReqField in _thosttraderapi:
_thosttraderapi.CThostFtdcTransferFutureToBankReqField_swigregister(CThostFtdcTransferFutureToBankReqField)
class CThostFtdcTransferFutureToBankRspField(object):
    r"""期货资金转银行请求响应"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    RetCode: "TThostFtdcRetCodeType" = property(_thosttraderapi.CThostFtdcTransferFutureToBankRspField_RetCode_get, _thosttraderapi.CThostFtdcTransferFutureToBankRspField_RetCode_set, doc=r"""响应代码""")
    RetInfo: "TThostFtdcRetInfoType" = property(_thosttraderapi.CThostFtdcTransferFutureToBankRspField_RetInfo_get, _thosttraderapi.CThostFtdcTransferFutureToBankRspField_RetInfo_set, doc=r"""响应信息""")
    FutureAccount: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcTransferFutureToBankRspField_FutureAccount_get, _thosttraderapi.CThostFtdcTransferFutureToBankRspField_FutureAccount_set, doc=r"""资金账户""")
    TradeAmt: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTransferFutureToBankRspField_TradeAmt_get, _thosttraderapi.CThostFtdcTransferFutureToBankRspField_TradeAmt_set, doc=r"""转帐金额""")
    CustFee: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTransferFutureToBankRspField_CustFee_get, _thosttraderapi.CThostFtdcTransferFutureToBankRspField_CustFee_set, doc=r"""应收客户手续费""")
    CurrencyCode: "TThostFtdcCurrencyCodeType" = property(_thosttraderapi.CThostFtdcTransferFutureToBankRspField_CurrencyCode_get, _thosttraderapi.CThostFtdcTransferFutureToBankRspField_CurrencyCode_set, doc=r"""币种""")

    def __init__(self):
        _thosttraderapi.CThostFtdcTransferFutureToBankRspField_swiginit(self, _thosttraderapi.new_CThostFtdcTransferFutureToBankRspField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTransferFutureToBankRspField

# Register CThostFtdcTransferFutureToBankRspField in _thosttraderapi:
_thosttraderapi.CThostFtdcTransferFutureToBankRspField_swigregister(CThostFtdcTransferFutureToBankRspField)
class CThostFtdcTransferQryBankReqField(object):
    r"""查询银行资金请求，TradeCode=204002"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    FutureAccount: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcTransferQryBankReqField_FutureAccount_get, _thosttraderapi.CThostFtdcTransferQryBankReqField_FutureAccount_set, doc=r"""期货资金账户""")
    FuturePwdFlag: "TThostFtdcFuturePwdFlagType" = property(_thosttraderapi.CThostFtdcTransferQryBankReqField_FuturePwdFlag_get, _thosttraderapi.CThostFtdcTransferQryBankReqField_FuturePwdFlag_set, doc=r"""密码标志""")
    FutureAccPwd: "TThostFtdcFutureAccPwdType" = property(_thosttraderapi.CThostFtdcTransferQryBankReqField_FutureAccPwd_get, _thosttraderapi.CThostFtdcTransferQryBankReqField_FutureAccPwd_set, doc=r"""密码""")
    CurrencyCode: "TThostFtdcCurrencyCodeType" = property(_thosttraderapi.CThostFtdcTransferQryBankReqField_CurrencyCode_get, _thosttraderapi.CThostFtdcTransferQryBankReqField_CurrencyCode_set, doc=r"""币种：RMB-人民币 USD-美圆 HKD-港元""")

    def __init__(self):
        _thosttraderapi.CThostFtdcTransferQryBankReqField_swiginit(self, _thosttraderapi.new_CThostFtdcTransferQryBankReqField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTransferQryBankReqField

# Register CThostFtdcTransferQryBankReqField in _thosttraderapi:
_thosttraderapi.CThostFtdcTransferQryBankReqField_swigregister(CThostFtdcTransferQryBankReqField)
class CThostFtdcTransferQryBankRspField(object):
    r"""查询银行资金请求响应"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    RetCode: "TThostFtdcRetCodeType" = property(_thosttraderapi.CThostFtdcTransferQryBankRspField_RetCode_get, _thosttraderapi.CThostFtdcTransferQryBankRspField_RetCode_set, doc=r"""响应代码""")
    RetInfo: "TThostFtdcRetInfoType" = property(_thosttraderapi.CThostFtdcTransferQryBankRspField_RetInfo_get, _thosttraderapi.CThostFtdcTransferQryBankRspField_RetInfo_set, doc=r"""响应信息""")
    FutureAccount: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcTransferQryBankRspField_FutureAccount_get, _thosttraderapi.CThostFtdcTransferQryBankRspField_FutureAccount_set, doc=r"""资金账户""")
    TradeAmt: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTransferQryBankRspField_TradeAmt_get, _thosttraderapi.CThostFtdcTransferQryBankRspField_TradeAmt_set, doc=r"""银行余额""")
    UseAmt: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTransferQryBankRspField_UseAmt_get, _thosttraderapi.CThostFtdcTransferQryBankRspField_UseAmt_set, doc=r"""银行可用余额""")
    FetchAmt: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTransferQryBankRspField_FetchAmt_get, _thosttraderapi.CThostFtdcTransferQryBankRspField_FetchAmt_set, doc=r"""银行可取余额""")
    CurrencyCode: "TThostFtdcCurrencyCodeType" = property(_thosttraderapi.CThostFtdcTransferQryBankRspField_CurrencyCode_get, _thosttraderapi.CThostFtdcTransferQryBankRspField_CurrencyCode_set, doc=r"""币种""")

    def __init__(self):
        _thosttraderapi.CThostFtdcTransferQryBankRspField_swiginit(self, _thosttraderapi.new_CThostFtdcTransferQryBankRspField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTransferQryBankRspField

# Register CThostFtdcTransferQryBankRspField in _thosttraderapi:
_thosttraderapi.CThostFtdcTransferQryBankRspField_swigregister(CThostFtdcTransferQryBankRspField)
class CThostFtdcTransferQryDetailReqField(object):
    r"""查询银行交易明细请求，TradeCode=204999"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    FutureAccount: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcTransferQryDetailReqField_FutureAccount_get, _thosttraderapi.CThostFtdcTransferQryDetailReqField_FutureAccount_set, doc=r"""期货资金账户""")

    def __init__(self):
        _thosttraderapi.CThostFtdcTransferQryDetailReqField_swiginit(self, _thosttraderapi.new_CThostFtdcTransferQryDetailReqField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTransferQryDetailReqField

# Register CThostFtdcTransferQryDetailReqField in _thosttraderapi:
_thosttraderapi.CThostFtdcTransferQryDetailReqField_swigregister(CThostFtdcTransferQryDetailReqField)
class CThostFtdcTransferQryDetailRspField(object):
    r"""查询银行交易明细请求响应"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcTransferQryDetailRspField_TradeDate_get, _thosttraderapi.CThostFtdcTransferQryDetailRspField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcTransferQryDetailRspField_TradeTime_get, _thosttraderapi.CThostFtdcTransferQryDetailRspField_TradeTime_set, doc=r"""交易时间""")
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcTransferQryDetailRspField_TradeCode_get, _thosttraderapi.CThostFtdcTransferQryDetailRspField_TradeCode_set, doc=r"""交易代码""")
    FutureSerial: "TThostFtdcTradeSerialNoType" = property(_thosttraderapi.CThostFtdcTransferQryDetailRspField_FutureSerial_get, _thosttraderapi.CThostFtdcTransferQryDetailRspField_FutureSerial_set, doc=r"""期货流水号""")
    FutureID: "TThostFtdcFutureIDType" = property(_thosttraderapi.CThostFtdcTransferQryDetailRspField_FutureID_get, _thosttraderapi.CThostFtdcTransferQryDetailRspField_FutureID_set, doc=r"""期货公司代码""")
    FutureAccount: "TThostFtdcFutureAccountType" = property(_thosttraderapi.CThostFtdcTransferQryDetailRspField_FutureAccount_get, _thosttraderapi.CThostFtdcTransferQryDetailRspField_FutureAccount_set, doc=r"""资金帐号""")
    BankSerial: "TThostFtdcTradeSerialNoType" = property(_thosttraderapi.CThostFtdcTransferQryDetailRspField_BankSerial_get, _thosttraderapi.CThostFtdcTransferQryDetailRspField_BankSerial_set, doc=r"""银行流水号""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcTransferQryDetailRspField_BankID_get, _thosttraderapi.CThostFtdcTransferQryDetailRspField_BankID_set, doc=r"""银行代码""")
    BankBrchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcTransferQryDetailRspField_BankBrchID_get, _thosttraderapi.CThostFtdcTransferQryDetailRspField_BankBrchID_set, doc=r"""银行分中心代码""")
    BankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcTransferQryDetailRspField_BankAccount_get, _thosttraderapi.CThostFtdcTransferQryDetailRspField_BankAccount_set, doc=r"""银行账号""")
    CertCode: "TThostFtdcCertCodeType" = property(_thosttraderapi.CThostFtdcTransferQryDetailRspField_CertCode_get, _thosttraderapi.CThostFtdcTransferQryDetailRspField_CertCode_set, doc=r"""证件号码""")
    CurrencyCode: "TThostFtdcCurrencyCodeType" = property(_thosttraderapi.CThostFtdcTransferQryDetailRspField_CurrencyCode_get, _thosttraderapi.CThostFtdcTransferQryDetailRspField_CurrencyCode_set, doc=r"""货币代码""")
    TxAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTransferQryDetailRspField_TxAmount_get, _thosttraderapi.CThostFtdcTransferQryDetailRspField_TxAmount_set, doc=r"""发生金额""")
    Flag: "TThostFtdcTransferValidFlagType" = property(_thosttraderapi.CThostFtdcTransferQryDetailRspField_Flag_get, _thosttraderapi.CThostFtdcTransferQryDetailRspField_Flag_set, doc=r"""有效标志""")

    def __init__(self):
        _thosttraderapi.CThostFtdcTransferQryDetailRspField_swiginit(self, _thosttraderapi.new_CThostFtdcTransferQryDetailRspField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTransferQryDetailRspField

# Register CThostFtdcTransferQryDetailRspField in _thosttraderapi:
_thosttraderapi.CThostFtdcTransferQryDetailRspField_swigregister(CThostFtdcTransferQryDetailRspField)
class CThostFtdcRspInfoField(object):
    r"""响应信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcRspInfoField_ErrorID_get, _thosttraderapi.CThostFtdcRspInfoField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcRspInfoField_ErrorMsg_get, _thosttraderapi.CThostFtdcRspInfoField_ErrorMsg_set, doc=r"""错误信息""")

    def __init__(self):
        _thosttraderapi.CThostFtdcRspInfoField_swiginit(self, _thosttraderapi.new_CThostFtdcRspInfoField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcRspInfoField

# Register CThostFtdcRspInfoField in _thosttraderapi:
_thosttraderapi.CThostFtdcRspInfoField_swigregister(CThostFtdcRspInfoField)
class CThostFtdcExchangeField(object):
    r"""交易所"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcExchangeField_ExchangeID_get, _thosttraderapi.CThostFtdcExchangeField_ExchangeID_set, doc=r"""交易所代码""")
    ExchangeName: "TThostFtdcExchangeNameType" = property(_thosttraderapi.CThostFtdcExchangeField_ExchangeName_get, _thosttraderapi.CThostFtdcExchangeField_ExchangeName_set, doc=r"""交易所名称""")
    ExchangeProperty: "TThostFtdcExchangePropertyType" = property(_thosttraderapi.CThostFtdcExchangeField_ExchangeProperty_get, _thosttraderapi.CThostFtdcExchangeField_ExchangeProperty_set, doc=r"""交易所属性""")

    def __init__(self):
        _thosttraderapi.CThostFtdcExchangeField_swiginit(self, _thosttraderapi.new_CThostFtdcExchangeField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcExchangeField

# Register CThostFtdcExchangeField in _thosttraderapi:
_thosttraderapi.CThostFtdcExchangeField_swigregister(CThostFtdcExchangeField)
class CThostFtdcProductField(object):
    r"""产品"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcProductField_reserve1_get, _thosttraderapi.CThostFtdcProductField_reserve1_set, doc=r"""保留的无效字段""")
    ProductName: "TThostFtdcProductNameType" = property(_thosttraderapi.CThostFtdcProductField_ProductName_get, _thosttraderapi.CThostFtdcProductField_ProductName_set, doc=r"""产品名称""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcProductField_ExchangeID_get, _thosttraderapi.CThostFtdcProductField_ExchangeID_set, doc=r"""交易所代码""")
    ProductClass: "TThostFtdcProductClassType" = property(_thosttraderapi.CThostFtdcProductField_ProductClass_get, _thosttraderapi.CThostFtdcProductField_ProductClass_set, doc=r"""产品类型""")
    VolumeMultiple: "TThostFtdcVolumeMultipleType" = property(_thosttraderapi.CThostFtdcProductField_VolumeMultiple_get, _thosttraderapi.CThostFtdcProductField_VolumeMultiple_set, doc=r"""合约数量乘数""")
    PriceTick: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcProductField_PriceTick_get, _thosttraderapi.CThostFtdcProductField_PriceTick_set, doc=r"""最小变动价位""")
    MaxMarketOrderVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcProductField_MaxMarketOrderVolume_get, _thosttraderapi.CThostFtdcProductField_MaxMarketOrderVolume_set, doc=r"""市价单最大下单量""")
    MinMarketOrderVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcProductField_MinMarketOrderVolume_get, _thosttraderapi.CThostFtdcProductField_MinMarketOrderVolume_set, doc=r"""市价单最小下单量""")
    MaxLimitOrderVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcProductField_MaxLimitOrderVolume_get, _thosttraderapi.CThostFtdcProductField_MaxLimitOrderVolume_set, doc=r"""限价单最大下单量""")
    MinLimitOrderVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcProductField_MinLimitOrderVolume_get, _thosttraderapi.CThostFtdcProductField_MinLimitOrderVolume_set, doc=r"""限价单最小下单量""")
    PositionType: "TThostFtdcPositionTypeType" = property(_thosttraderapi.CThostFtdcProductField_PositionType_get, _thosttraderapi.CThostFtdcProductField_PositionType_set, doc=r"""持仓类型""")
    PositionDateType: "TThostFtdcPositionDateTypeType" = property(_thosttraderapi.CThostFtdcProductField_PositionDateType_get, _thosttraderapi.CThostFtdcProductField_PositionDateType_set, doc=r"""持仓日期类型""")
    CloseDealType: "TThostFtdcCloseDealTypeType" = property(_thosttraderapi.CThostFtdcProductField_CloseDealType_get, _thosttraderapi.CThostFtdcProductField_CloseDealType_set, doc=r"""平仓处理类型""")
    TradeCurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcProductField_TradeCurrencyID_get, _thosttraderapi.CThostFtdcProductField_TradeCurrencyID_set, doc=r"""交易币种类型""")
    MortgageFundUseRange: "TThostFtdcMortgageFundUseRangeType" = property(_thosttraderapi.CThostFtdcProductField_MortgageFundUseRange_get, _thosttraderapi.CThostFtdcProductField_MortgageFundUseRange_set, doc=r"""质押资金可用范围""")
    reserve2: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcProductField_reserve2_get, _thosttraderapi.CThostFtdcProductField_reserve2_set, doc=r"""保留的无效字段""")
    UnderlyingMultiple: "TThostFtdcUnderlyingMultipleType" = property(_thosttraderapi.CThostFtdcProductField_UnderlyingMultiple_get, _thosttraderapi.CThostFtdcProductField_UnderlyingMultiple_set, doc=r"""合约基础商品乘数""")
    ProductID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcProductField_ProductID_get, _thosttraderapi.CThostFtdcProductField_ProductID_set, doc=r"""产品代码""")
    ExchangeProductID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcProductField_ExchangeProductID_get, _thosttraderapi.CThostFtdcProductField_ExchangeProductID_set, doc=r"""交易所产品代码""")
    OpenLimitControlLevel: "TThostFtdcOpenLimitControlLevelType" = property(_thosttraderapi.CThostFtdcProductField_OpenLimitControlLevel_get, _thosttraderapi.CThostFtdcProductField_OpenLimitControlLevel_set, doc=r"""开仓量限制粒度""")
    OrderFreqControlLevel: "TThostFtdcOrderFreqControlLevelType" = property(_thosttraderapi.CThostFtdcProductField_OrderFreqControlLevel_get, _thosttraderapi.CThostFtdcProductField_OrderFreqControlLevel_set, doc=r"""报单频率控制粒度""")

    def __init__(self):
        _thosttraderapi.CThostFtdcProductField_swiginit(self, _thosttraderapi.new_CThostFtdcProductField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcProductField

# Register CThostFtdcProductField in _thosttraderapi:
_thosttraderapi.CThostFtdcProductField_swigregister(CThostFtdcProductField)
class CThostFtdcInstrumentField(object):
    r"""合约"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInstrumentField_reserve1_get, _thosttraderapi.CThostFtdcInstrumentField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcInstrumentField_ExchangeID_get, _thosttraderapi.CThostFtdcInstrumentField_ExchangeID_set, doc=r"""交易所代码""")
    InstrumentName: "TThostFtdcInstrumentNameType" = property(_thosttraderapi.CThostFtdcInstrumentField_InstrumentName_get, _thosttraderapi.CThostFtdcInstrumentField_InstrumentName_set, doc=r"""合约名称""")
    reserve2: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcInstrumentField_reserve2_get, _thosttraderapi.CThostFtdcInstrumentField_reserve2_set, doc=r"""保留的无效字段""")
    reserve3: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInstrumentField_reserve3_get, _thosttraderapi.CThostFtdcInstrumentField_reserve3_set, doc=r"""保留的无效字段""")
    ProductClass: "TThostFtdcProductClassType" = property(_thosttraderapi.CThostFtdcInstrumentField_ProductClass_get, _thosttraderapi.CThostFtdcInstrumentField_ProductClass_set, doc=r"""产品类型""")
    DeliveryYear: "TThostFtdcYearType" = property(_thosttraderapi.CThostFtdcInstrumentField_DeliveryYear_get, _thosttraderapi.CThostFtdcInstrumentField_DeliveryYear_set, doc=r"""交割年份""")
    DeliveryMonth: "TThostFtdcMonthType" = property(_thosttraderapi.CThostFtdcInstrumentField_DeliveryMonth_get, _thosttraderapi.CThostFtdcInstrumentField_DeliveryMonth_set, doc=r"""交割月""")
    MaxMarketOrderVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInstrumentField_MaxMarketOrderVolume_get, _thosttraderapi.CThostFtdcInstrumentField_MaxMarketOrderVolume_set, doc=r"""市价单最大下单量""")
    MinMarketOrderVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInstrumentField_MinMarketOrderVolume_get, _thosttraderapi.CThostFtdcInstrumentField_MinMarketOrderVolume_set, doc=r"""市价单最小下单量""")
    MaxLimitOrderVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInstrumentField_MaxLimitOrderVolume_get, _thosttraderapi.CThostFtdcInstrumentField_MaxLimitOrderVolume_set, doc=r"""限价单最大下单量""")
    MinLimitOrderVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInstrumentField_MinLimitOrderVolume_get, _thosttraderapi.CThostFtdcInstrumentField_MinLimitOrderVolume_set, doc=r"""限价单最小下单量""")
    VolumeMultiple: "TThostFtdcVolumeMultipleType" = property(_thosttraderapi.CThostFtdcInstrumentField_VolumeMultiple_get, _thosttraderapi.CThostFtdcInstrumentField_VolumeMultiple_set, doc=r"""合约数量乘数""")
    PriceTick: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcInstrumentField_PriceTick_get, _thosttraderapi.CThostFtdcInstrumentField_PriceTick_set, doc=r"""最小变动价位""")
    CreateDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcInstrumentField_CreateDate_get, _thosttraderapi.CThostFtdcInstrumentField_CreateDate_set, doc=r"""创建日""")
    OpenDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcInstrumentField_OpenDate_get, _thosttraderapi.CThostFtdcInstrumentField_OpenDate_set, doc=r"""上市日""")
    ExpireDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcInstrumentField_ExpireDate_get, _thosttraderapi.CThostFtdcInstrumentField_ExpireDate_set, doc=r"""到期日""")
    StartDelivDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcInstrumentField_StartDelivDate_get, _thosttraderapi.CThostFtdcInstrumentField_StartDelivDate_set, doc=r"""开始交割日""")
    EndDelivDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcInstrumentField_EndDelivDate_get, _thosttraderapi.CThostFtdcInstrumentField_EndDelivDate_set, doc=r"""结束交割日""")
    InstLifePhase: "TThostFtdcInstLifePhaseType" = property(_thosttraderapi.CThostFtdcInstrumentField_InstLifePhase_get, _thosttraderapi.CThostFtdcInstrumentField_InstLifePhase_set, doc=r"""合约生命周期状态""")
    IsTrading: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcInstrumentField_IsTrading_get, _thosttraderapi.CThostFtdcInstrumentField_IsTrading_set, doc=r"""当前是否交易""")
    PositionType: "TThostFtdcPositionTypeType" = property(_thosttraderapi.CThostFtdcInstrumentField_PositionType_get, _thosttraderapi.CThostFtdcInstrumentField_PositionType_set, doc=r"""持仓类型""")
    PositionDateType: "TThostFtdcPositionDateTypeType" = property(_thosttraderapi.CThostFtdcInstrumentField_PositionDateType_get, _thosttraderapi.CThostFtdcInstrumentField_PositionDateType_set, doc=r"""持仓日期类型""")
    LongMarginRatio: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInstrumentField_LongMarginRatio_get, _thosttraderapi.CThostFtdcInstrumentField_LongMarginRatio_set, doc=r"""多头保证金率""")
    ShortMarginRatio: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInstrumentField_ShortMarginRatio_get, _thosttraderapi.CThostFtdcInstrumentField_ShortMarginRatio_set, doc=r"""空头保证金率""")
    MaxMarginSideAlgorithm: "TThostFtdcMaxMarginSideAlgorithmType" = property(_thosttraderapi.CThostFtdcInstrumentField_MaxMarginSideAlgorithm_get, _thosttraderapi.CThostFtdcInstrumentField_MaxMarginSideAlgorithm_set, doc=r"""是否使用大额单边保证金算法""")
    reserve4: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInstrumentField_reserve4_get, _thosttraderapi.CThostFtdcInstrumentField_reserve4_set, doc=r"""保留的无效字段""")
    StrikePrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcInstrumentField_StrikePrice_get, _thosttraderapi.CThostFtdcInstrumentField_StrikePrice_set, doc=r"""执行价""")
    OptionsType: "TThostFtdcOptionsTypeType" = property(_thosttraderapi.CThostFtdcInstrumentField_OptionsType_get, _thosttraderapi.CThostFtdcInstrumentField_OptionsType_set, doc=r"""期权类型""")
    UnderlyingMultiple: "TThostFtdcUnderlyingMultipleType" = property(_thosttraderapi.CThostFtdcInstrumentField_UnderlyingMultiple_get, _thosttraderapi.CThostFtdcInstrumentField_UnderlyingMultiple_set, doc=r"""合约基础商品乘数""")
    CombinationType: "TThostFtdcCombinationTypeType" = property(_thosttraderapi.CThostFtdcInstrumentField_CombinationType_get, _thosttraderapi.CThostFtdcInstrumentField_CombinationType_set, doc=r"""组合类型""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInstrumentField_InstrumentID_get, _thosttraderapi.CThostFtdcInstrumentField_InstrumentID_set, doc=r"""合约代码""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcInstrumentField_ExchangeInstID_get, _thosttraderapi.CThostFtdcInstrumentField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")
    ProductID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInstrumentField_ProductID_get, _thosttraderapi.CThostFtdcInstrumentField_ProductID_set, doc=r"""产品代码""")
    UnderlyingInstrID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInstrumentField_UnderlyingInstrID_get, _thosttraderapi.CThostFtdcInstrumentField_UnderlyingInstrID_set, doc=r"""基础商品代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInstrumentField_swiginit(self, _thosttraderapi.new_CThostFtdcInstrumentField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInstrumentField

# Register CThostFtdcInstrumentField in _thosttraderapi:
_thosttraderapi.CThostFtdcInstrumentField_swigregister(CThostFtdcInstrumentField)
class CThostFtdcBrokerField(object):
    r"""经纪公司"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcBrokerField_BrokerID_get, _thosttraderapi.CThostFtdcBrokerField_BrokerID_set, doc=r"""经纪公司代码""")
    BrokerAbbr: "TThostFtdcBrokerAbbrType" = property(_thosttraderapi.CThostFtdcBrokerField_BrokerAbbr_get, _thosttraderapi.CThostFtdcBrokerField_BrokerAbbr_set, doc=r"""经纪公司简称""")
    BrokerName: "TThostFtdcBrokerNameType" = property(_thosttraderapi.CThostFtdcBrokerField_BrokerName_get, _thosttraderapi.CThostFtdcBrokerField_BrokerName_set, doc=r"""经纪公司名称""")
    IsActive: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcBrokerField_IsActive_get, _thosttraderapi.CThostFtdcBrokerField_IsActive_set, doc=r"""是否活跃""")

    def __init__(self):
        _thosttraderapi.CThostFtdcBrokerField_swiginit(self, _thosttraderapi.new_CThostFtdcBrokerField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcBrokerField

# Register CThostFtdcBrokerField in _thosttraderapi:
_thosttraderapi.CThostFtdcBrokerField_swigregister(CThostFtdcBrokerField)
class CThostFtdcTraderField(object):
    r"""交易所交易员"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcTraderField_ExchangeID_get, _thosttraderapi.CThostFtdcTraderField_ExchangeID_set, doc=r"""交易所代码""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcTraderField_TraderID_get, _thosttraderapi.CThostFtdcTraderField_TraderID_set, doc=r"""交易所交易员代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcTraderField_ParticipantID_get, _thosttraderapi.CThostFtdcTraderField_ParticipantID_set, doc=r"""会员代码""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcTraderField_Password_get, _thosttraderapi.CThostFtdcTraderField_Password_set, doc=r"""密码""")
    InstallCount: "TThostFtdcInstallCountType" = property(_thosttraderapi.CThostFtdcTraderField_InstallCount_get, _thosttraderapi.CThostFtdcTraderField_InstallCount_set, doc=r"""安装数量""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcTraderField_BrokerID_get, _thosttraderapi.CThostFtdcTraderField_BrokerID_set, doc=r"""经纪公司代码""")
    OrderCancelAlg: "TThostFtdcOrderCancelAlgType" = property(_thosttraderapi.CThostFtdcTraderField_OrderCancelAlg_get, _thosttraderapi.CThostFtdcTraderField_OrderCancelAlg_set, doc=r"""撤单时选择席位算法""")

    def __init__(self):
        _thosttraderapi.CThostFtdcTraderField_swiginit(self, _thosttraderapi.new_CThostFtdcTraderField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTraderField

# Register CThostFtdcTraderField in _thosttraderapi:
_thosttraderapi.CThostFtdcTraderField_swigregister(CThostFtdcTraderField)
class CThostFtdcInvestorField(object):
    r"""投资者"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInvestorField_InvestorID_get, _thosttraderapi.CThostFtdcInvestorField_InvestorID_set, doc=r"""投资者代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInvestorField_BrokerID_get, _thosttraderapi.CThostFtdcInvestorField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorGroupID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInvestorField_InvestorGroupID_get, _thosttraderapi.CThostFtdcInvestorField_InvestorGroupID_set, doc=r"""投资者分组代码""")
    InvestorName: "TThostFtdcPartyNameType" = property(_thosttraderapi.CThostFtdcInvestorField_InvestorName_get, _thosttraderapi.CThostFtdcInvestorField_InvestorName_set, doc=r"""投资者名称""")
    IdentifiedCardType: "TThostFtdcIdCardTypeType" = property(_thosttraderapi.CThostFtdcInvestorField_IdentifiedCardType_get, _thosttraderapi.CThostFtdcInvestorField_IdentifiedCardType_set, doc=r"""证件类型""")
    IdentifiedCardNo: "TThostFtdcIdentifiedCardNoType" = property(_thosttraderapi.CThostFtdcInvestorField_IdentifiedCardNo_get, _thosttraderapi.CThostFtdcInvestorField_IdentifiedCardNo_set, doc=r"""证件号码""")
    IsActive: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcInvestorField_IsActive_get, _thosttraderapi.CThostFtdcInvestorField_IsActive_set, doc=r"""是否活跃""")
    Telephone: "TThostFtdcTelephoneType" = property(_thosttraderapi.CThostFtdcInvestorField_Telephone_get, _thosttraderapi.CThostFtdcInvestorField_Telephone_set, doc=r"""联系电话""")
    Address: "TThostFtdcAddressType" = property(_thosttraderapi.CThostFtdcInvestorField_Address_get, _thosttraderapi.CThostFtdcInvestorField_Address_set, doc=r"""通讯地址""")
    OpenDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcInvestorField_OpenDate_get, _thosttraderapi.CThostFtdcInvestorField_OpenDate_set, doc=r"""开户日期""")
    Mobile: "TThostFtdcMobileType" = property(_thosttraderapi.CThostFtdcInvestorField_Mobile_get, _thosttraderapi.CThostFtdcInvestorField_Mobile_set, doc=r"""手机""")
    CommModelID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInvestorField_CommModelID_get, _thosttraderapi.CThostFtdcInvestorField_CommModelID_set, doc=r"""手续费率模板代码""")
    MarginModelID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInvestorField_MarginModelID_get, _thosttraderapi.CThostFtdcInvestorField_MarginModelID_set, doc=r"""保证金率模板代码""")
    IsOrderFreq: "TThostFtdcEnumBoolType" = property(_thosttraderapi.CThostFtdcInvestorField_IsOrderFreq_get, _thosttraderapi.CThostFtdcInvestorField_IsOrderFreq_set, doc=r"""是否频率控制""")
    IsOpenVolLimit: "TThostFtdcEnumBoolType" = property(_thosttraderapi.CThostFtdcInvestorField_IsOpenVolLimit_get, _thosttraderapi.CThostFtdcInvestorField_IsOpenVolLimit_set, doc=r"""是否开仓限制""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInvestorField_swiginit(self, _thosttraderapi.new_CThostFtdcInvestorField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInvestorField

# Register CThostFtdcInvestorField in _thosttraderapi:
_thosttraderapi.CThostFtdcInvestorField_swigregister(CThostFtdcInvestorField)
class CThostFtdcTradingCodeField(object):
    r"""交易编码"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcTradingCodeField_InvestorID_get, _thosttraderapi.CThostFtdcTradingCodeField_InvestorID_set, doc=r"""投资者代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcTradingCodeField_BrokerID_get, _thosttraderapi.CThostFtdcTradingCodeField_BrokerID_set, doc=r"""经纪公司代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcTradingCodeField_ExchangeID_get, _thosttraderapi.CThostFtdcTradingCodeField_ExchangeID_set, doc=r"""交易所代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcTradingCodeField_ClientID_get, _thosttraderapi.CThostFtdcTradingCodeField_ClientID_set, doc=r"""客户代码""")
    IsActive: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcTradingCodeField_IsActive_get, _thosttraderapi.CThostFtdcTradingCodeField_IsActive_set, doc=r"""是否活跃""")
    ClientIDType: "TThostFtdcClientIDTypeType" = property(_thosttraderapi.CThostFtdcTradingCodeField_ClientIDType_get, _thosttraderapi.CThostFtdcTradingCodeField_ClientIDType_set, doc=r"""交易编码类型""")
    BranchID: "TThostFtdcBranchIDType" = property(_thosttraderapi.CThostFtdcTradingCodeField_BranchID_get, _thosttraderapi.CThostFtdcTradingCodeField_BranchID_set, doc=r"""营业部编号""")
    BizType: "TThostFtdcBizTypeType" = property(_thosttraderapi.CThostFtdcTradingCodeField_BizType_get, _thosttraderapi.CThostFtdcTradingCodeField_BizType_set, doc=r"""业务类型""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcTradingCodeField_InvestUnitID_get, _thosttraderapi.CThostFtdcTradingCodeField_InvestUnitID_set, doc=r"""投资单元代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcTradingCodeField_swiginit(self, _thosttraderapi.new_CThostFtdcTradingCodeField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTradingCodeField

# Register CThostFtdcTradingCodeField in _thosttraderapi:
_thosttraderapi.CThostFtdcTradingCodeField_swigregister(CThostFtdcTradingCodeField)
class CThostFtdcPartBrokerField(object):
    r"""会员编码和经纪公司编码对照表"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcPartBrokerField_BrokerID_get, _thosttraderapi.CThostFtdcPartBrokerField_BrokerID_set, doc=r"""经纪公司代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcPartBrokerField_ExchangeID_get, _thosttraderapi.CThostFtdcPartBrokerField_ExchangeID_set, doc=r"""交易所代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcPartBrokerField_ParticipantID_get, _thosttraderapi.CThostFtdcPartBrokerField_ParticipantID_set, doc=r"""会员代码""")
    IsActive: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcPartBrokerField_IsActive_get, _thosttraderapi.CThostFtdcPartBrokerField_IsActive_set, doc=r"""是否活跃""")

    def __init__(self):
        _thosttraderapi.CThostFtdcPartBrokerField_swiginit(self, _thosttraderapi.new_CThostFtdcPartBrokerField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcPartBrokerField

# Register CThostFtdcPartBrokerField in _thosttraderapi:
_thosttraderapi.CThostFtdcPartBrokerField_swigregister(CThostFtdcPartBrokerField)
class CThostFtdcSuperUserField(object):
    r"""管理用户"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcSuperUserField_UserID_get, _thosttraderapi.CThostFtdcSuperUserField_UserID_set, doc=r"""用户代码""")
    UserName: "TThostFtdcUserNameType" = property(_thosttraderapi.CThostFtdcSuperUserField_UserName_get, _thosttraderapi.CThostFtdcSuperUserField_UserName_set, doc=r"""用户名称""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcSuperUserField_Password_get, _thosttraderapi.CThostFtdcSuperUserField_Password_set, doc=r"""密码""")
    IsActive: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcSuperUserField_IsActive_get, _thosttraderapi.CThostFtdcSuperUserField_IsActive_set, doc=r"""是否活跃""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSuperUserField_swiginit(self, _thosttraderapi.new_CThostFtdcSuperUserField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSuperUserField

# Register CThostFtdcSuperUserField in _thosttraderapi:
_thosttraderapi.CThostFtdcSuperUserField_swigregister(CThostFtdcSuperUserField)
class CThostFtdcSuperUserFunctionField(object):
    r"""管理用户功能权限"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcSuperUserFunctionField_UserID_get, _thosttraderapi.CThostFtdcSuperUserFunctionField_UserID_set, doc=r"""用户代码""")
    FunctionCode: "TThostFtdcFunctionCodeType" = property(_thosttraderapi.CThostFtdcSuperUserFunctionField_FunctionCode_get, _thosttraderapi.CThostFtdcSuperUserFunctionField_FunctionCode_set, doc=r"""功能代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSuperUserFunctionField_swiginit(self, _thosttraderapi.new_CThostFtdcSuperUserFunctionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSuperUserFunctionField

# Register CThostFtdcSuperUserFunctionField in _thosttraderapi:
_thosttraderapi.CThostFtdcSuperUserFunctionField_swigregister(CThostFtdcSuperUserFunctionField)
class CThostFtdcInvestorGroupField(object):
    r"""投资者组"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInvestorGroupField_BrokerID_get, _thosttraderapi.CThostFtdcInvestorGroupField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorGroupID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInvestorGroupField_InvestorGroupID_get, _thosttraderapi.CThostFtdcInvestorGroupField_InvestorGroupID_set, doc=r"""投资者分组代码""")
    InvestorGroupName: "TThostFtdcInvestorGroupNameType" = property(_thosttraderapi.CThostFtdcInvestorGroupField_InvestorGroupName_get, _thosttraderapi.CThostFtdcInvestorGroupField_InvestorGroupName_set, doc=r"""投资者分组名称""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInvestorGroupField_swiginit(self, _thosttraderapi.new_CThostFtdcInvestorGroupField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInvestorGroupField

# Register CThostFtdcInvestorGroupField in _thosttraderapi:
_thosttraderapi.CThostFtdcInvestorGroupField_swigregister(CThostFtdcInvestorGroupField)
class CThostFtdcTradingAccountField(object):
    r"""资金账户"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcTradingAccountField_BrokerID_get, _thosttraderapi.CThostFtdcTradingAccountField_BrokerID_set, doc=r"""经纪公司代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcTradingAccountField_AccountID_get, _thosttraderapi.CThostFtdcTradingAccountField_AccountID_set, doc=r"""投资者帐号""")
    PreMortgage: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_PreMortgage_get, _thosttraderapi.CThostFtdcTradingAccountField_PreMortgage_set, doc=r"""上次质押金额""")
    PreCredit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_PreCredit_get, _thosttraderapi.CThostFtdcTradingAccountField_PreCredit_set, doc=r"""上次信用额度""")
    PreDeposit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_PreDeposit_get, _thosttraderapi.CThostFtdcTradingAccountField_PreDeposit_set, doc=r"""上次存款额""")
    PreBalance: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_PreBalance_get, _thosttraderapi.CThostFtdcTradingAccountField_PreBalance_set, doc=r"""上次结算准备金""")
    PreMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_PreMargin_get, _thosttraderapi.CThostFtdcTradingAccountField_PreMargin_set, doc=r"""上次占用的保证金""")
    InterestBase: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_InterestBase_get, _thosttraderapi.CThostFtdcTradingAccountField_InterestBase_set, doc=r"""利息基数""")
    Interest: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_Interest_get, _thosttraderapi.CThostFtdcTradingAccountField_Interest_set, doc=r"""利息收入""")
    Deposit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_Deposit_get, _thosttraderapi.CThostFtdcTradingAccountField_Deposit_set, doc=r"""入金金额""")
    Withdraw: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_Withdraw_get, _thosttraderapi.CThostFtdcTradingAccountField_Withdraw_set, doc=r"""出金金额""")
    FrozenMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_FrozenMargin_get, _thosttraderapi.CThostFtdcTradingAccountField_FrozenMargin_set, doc=r"""冻结的保证金""")
    FrozenCash: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_FrozenCash_get, _thosttraderapi.CThostFtdcTradingAccountField_FrozenCash_set, doc=r"""冻结的资金""")
    FrozenCommission: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_FrozenCommission_get, _thosttraderapi.CThostFtdcTradingAccountField_FrozenCommission_set, doc=r"""冻结的手续费""")
    CurrMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_CurrMargin_get, _thosttraderapi.CThostFtdcTradingAccountField_CurrMargin_set, doc=r"""当前保证金总额""")
    CashIn: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_CashIn_get, _thosttraderapi.CThostFtdcTradingAccountField_CashIn_set, doc=r"""资金差额""")
    Commission: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_Commission_get, _thosttraderapi.CThostFtdcTradingAccountField_Commission_set, doc=r"""手续费""")
    CloseProfit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_CloseProfit_get, _thosttraderapi.CThostFtdcTradingAccountField_CloseProfit_set, doc=r"""平仓盈亏""")
    PositionProfit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_PositionProfit_get, _thosttraderapi.CThostFtdcTradingAccountField_PositionProfit_set, doc=r"""持仓盈亏""")
    Balance: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_Balance_get, _thosttraderapi.CThostFtdcTradingAccountField_Balance_set, doc=r"""期货结算准备金""")
    Available: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_Available_get, _thosttraderapi.CThostFtdcTradingAccountField_Available_set, doc=r"""可用资金""")
    WithdrawQuota: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_WithdrawQuota_get, _thosttraderapi.CThostFtdcTradingAccountField_WithdrawQuota_set, doc=r"""可取资金""")
    Reserve: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_Reserve_get, _thosttraderapi.CThostFtdcTradingAccountField_Reserve_set, doc=r"""基本准备金""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcTradingAccountField_TradingDay_get, _thosttraderapi.CThostFtdcTradingAccountField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcTradingAccountField_SettlementID_get, _thosttraderapi.CThostFtdcTradingAccountField_SettlementID_set, doc=r"""结算编号""")
    Credit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_Credit_get, _thosttraderapi.CThostFtdcTradingAccountField_Credit_set, doc=r"""信用额度""")
    Mortgage: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_Mortgage_get, _thosttraderapi.CThostFtdcTradingAccountField_Mortgage_set, doc=r"""质押金额""")
    ExchangeMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_ExchangeMargin_get, _thosttraderapi.CThostFtdcTradingAccountField_ExchangeMargin_set, doc=r"""交易所保证金""")
    DeliveryMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_DeliveryMargin_get, _thosttraderapi.CThostFtdcTradingAccountField_DeliveryMargin_set, doc=r"""投资者交割保证金""")
    ExchangeDeliveryMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_ExchangeDeliveryMargin_get, _thosttraderapi.CThostFtdcTradingAccountField_ExchangeDeliveryMargin_set, doc=r"""交易所交割保证金""")
    ReserveBalance: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_ReserveBalance_get, _thosttraderapi.CThostFtdcTradingAccountField_ReserveBalance_set, doc=r"""保底期货结算准备金""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcTradingAccountField_CurrencyID_get, _thosttraderapi.CThostFtdcTradingAccountField_CurrencyID_set, doc=r"""币种代码""")
    PreFundMortgageIn: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_PreFundMortgageIn_get, _thosttraderapi.CThostFtdcTradingAccountField_PreFundMortgageIn_set, doc=r"""上次货币质入金额""")
    PreFundMortgageOut: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_PreFundMortgageOut_get, _thosttraderapi.CThostFtdcTradingAccountField_PreFundMortgageOut_set, doc=r"""上次货币质出金额""")
    FundMortgageIn: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_FundMortgageIn_get, _thosttraderapi.CThostFtdcTradingAccountField_FundMortgageIn_set, doc=r"""货币质入金额""")
    FundMortgageOut: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_FundMortgageOut_get, _thosttraderapi.CThostFtdcTradingAccountField_FundMortgageOut_set, doc=r"""货币质出金额""")
    FundMortgageAvailable: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_FundMortgageAvailable_get, _thosttraderapi.CThostFtdcTradingAccountField_FundMortgageAvailable_set, doc=r"""货币质押余额""")
    MortgageableFund: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_MortgageableFund_get, _thosttraderapi.CThostFtdcTradingAccountField_MortgageableFund_set, doc=r"""可质押货币金额""")
    SpecProductMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_SpecProductMargin_get, _thosttraderapi.CThostFtdcTradingAccountField_SpecProductMargin_set, doc=r"""特殊产品占用保证金""")
    SpecProductFrozenMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_SpecProductFrozenMargin_get, _thosttraderapi.CThostFtdcTradingAccountField_SpecProductFrozenMargin_set, doc=r"""特殊产品冻结保证金""")
    SpecProductCommission: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_SpecProductCommission_get, _thosttraderapi.CThostFtdcTradingAccountField_SpecProductCommission_set, doc=r"""特殊产品手续费""")
    SpecProductFrozenCommission: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_SpecProductFrozenCommission_get, _thosttraderapi.CThostFtdcTradingAccountField_SpecProductFrozenCommission_set, doc=r"""特殊产品冻结手续费""")
    SpecProductPositionProfit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_SpecProductPositionProfit_get, _thosttraderapi.CThostFtdcTradingAccountField_SpecProductPositionProfit_set, doc=r"""特殊产品持仓盈亏""")
    SpecProductCloseProfit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_SpecProductCloseProfit_get, _thosttraderapi.CThostFtdcTradingAccountField_SpecProductCloseProfit_set, doc=r"""特殊产品平仓盈亏""")
    SpecProductPositionProfitByAlg: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_SpecProductPositionProfitByAlg_get, _thosttraderapi.CThostFtdcTradingAccountField_SpecProductPositionProfitByAlg_set, doc=r"""根据持仓盈亏算法计算的特殊产品持仓盈亏""")
    SpecProductExchangeMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_SpecProductExchangeMargin_get, _thosttraderapi.CThostFtdcTradingAccountField_SpecProductExchangeMargin_set, doc=r"""特殊产品交易所保证金""")
    BizType: "TThostFtdcBizTypeType" = property(_thosttraderapi.CThostFtdcTradingAccountField_BizType_get, _thosttraderapi.CThostFtdcTradingAccountField_BizType_set, doc=r"""业务类型""")
    FrozenSwap: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_FrozenSwap_get, _thosttraderapi.CThostFtdcTradingAccountField_FrozenSwap_set, doc=r"""延时换汇冻结金额""")
    RemainSwap: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountField_RemainSwap_get, _thosttraderapi.CThostFtdcTradingAccountField_RemainSwap_set, doc=r"""剩余换汇额度""")

    def __init__(self):
        _thosttraderapi.CThostFtdcTradingAccountField_swiginit(self, _thosttraderapi.new_CThostFtdcTradingAccountField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTradingAccountField

# Register CThostFtdcTradingAccountField in _thosttraderapi:
_thosttraderapi.CThostFtdcTradingAccountField_swigregister(CThostFtdcTradingAccountField)
class CThostFtdcInvestorPositionField(object):
    r"""投资者持仓"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_reserve1_get, _thosttraderapi.CThostFtdcInvestorPositionField_reserve1_set, doc=r"""保留的无效字段""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_BrokerID_get, _thosttraderapi.CThostFtdcInvestorPositionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_InvestorID_get, _thosttraderapi.CThostFtdcInvestorPositionField_InvestorID_set, doc=r"""投资者代码""")
    PosiDirection: "TThostFtdcPosiDirectionType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_PosiDirection_get, _thosttraderapi.CThostFtdcInvestorPositionField_PosiDirection_set, doc=r"""持仓多空方向""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_HedgeFlag_get, _thosttraderapi.CThostFtdcInvestorPositionField_HedgeFlag_set, doc=r"""投机套保标志""")
    PositionDate: "TThostFtdcPositionDateType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_PositionDate_get, _thosttraderapi.CThostFtdcInvestorPositionField_PositionDate_set, doc=r"""持仓日期""")
    YdPosition: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_YdPosition_get, _thosttraderapi.CThostFtdcInvestorPositionField_YdPosition_set, doc=r"""上日持仓""")
    Position: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_Position_get, _thosttraderapi.CThostFtdcInvestorPositionField_Position_set, doc=r"""今日持仓""")
    LongFrozen: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_LongFrozen_get, _thosttraderapi.CThostFtdcInvestorPositionField_LongFrozen_set, doc=r"""多头冻结""")
    ShortFrozen: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_ShortFrozen_get, _thosttraderapi.CThostFtdcInvestorPositionField_ShortFrozen_set, doc=r"""空头冻结""")
    LongFrozenAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_LongFrozenAmount_get, _thosttraderapi.CThostFtdcInvestorPositionField_LongFrozenAmount_set, doc=r"""开仓冻结金额""")
    ShortFrozenAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_ShortFrozenAmount_get, _thosttraderapi.CThostFtdcInvestorPositionField_ShortFrozenAmount_set, doc=r"""开仓冻结金额""")
    OpenVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_OpenVolume_get, _thosttraderapi.CThostFtdcInvestorPositionField_OpenVolume_set, doc=r"""开仓量""")
    CloseVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_CloseVolume_get, _thosttraderapi.CThostFtdcInvestorPositionField_CloseVolume_set, doc=r"""平仓量""")
    OpenAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_OpenAmount_get, _thosttraderapi.CThostFtdcInvestorPositionField_OpenAmount_set, doc=r"""开仓金额""")
    CloseAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_CloseAmount_get, _thosttraderapi.CThostFtdcInvestorPositionField_CloseAmount_set, doc=r"""平仓金额""")
    PositionCost: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_PositionCost_get, _thosttraderapi.CThostFtdcInvestorPositionField_PositionCost_set, doc=r"""持仓成本""")
    PreMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_PreMargin_get, _thosttraderapi.CThostFtdcInvestorPositionField_PreMargin_set, doc=r"""上次占用的保证金""")
    UseMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_UseMargin_get, _thosttraderapi.CThostFtdcInvestorPositionField_UseMargin_set, doc=r"""占用的保证金""")
    FrozenMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_FrozenMargin_get, _thosttraderapi.CThostFtdcInvestorPositionField_FrozenMargin_set, doc=r"""冻结的保证金""")
    FrozenCash: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_FrozenCash_get, _thosttraderapi.CThostFtdcInvestorPositionField_FrozenCash_set, doc=r"""冻结的资金""")
    FrozenCommission: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_FrozenCommission_get, _thosttraderapi.CThostFtdcInvestorPositionField_FrozenCommission_set, doc=r"""冻结的手续费""")
    CashIn: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_CashIn_get, _thosttraderapi.CThostFtdcInvestorPositionField_CashIn_set, doc=r"""资金差额""")
    Commission: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_Commission_get, _thosttraderapi.CThostFtdcInvestorPositionField_Commission_set, doc=r"""手续费""")
    CloseProfit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_CloseProfit_get, _thosttraderapi.CThostFtdcInvestorPositionField_CloseProfit_set, doc=r"""平仓盈亏""")
    PositionProfit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_PositionProfit_get, _thosttraderapi.CThostFtdcInvestorPositionField_PositionProfit_set, doc=r"""持仓盈亏""")
    PreSettlementPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_PreSettlementPrice_get, _thosttraderapi.CThostFtdcInvestorPositionField_PreSettlementPrice_set, doc=r"""上次结算价""")
    SettlementPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_SettlementPrice_get, _thosttraderapi.CThostFtdcInvestorPositionField_SettlementPrice_set, doc=r"""本次结算价""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_TradingDay_get, _thosttraderapi.CThostFtdcInvestorPositionField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_SettlementID_get, _thosttraderapi.CThostFtdcInvestorPositionField_SettlementID_set, doc=r"""结算编号""")
    OpenCost: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_OpenCost_get, _thosttraderapi.CThostFtdcInvestorPositionField_OpenCost_set, doc=r"""开仓成本""")
    ExchangeMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_ExchangeMargin_get, _thosttraderapi.CThostFtdcInvestorPositionField_ExchangeMargin_set, doc=r"""交易所保证金""")
    CombPosition: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_CombPosition_get, _thosttraderapi.CThostFtdcInvestorPositionField_CombPosition_set, doc=r"""组合成交形成的持仓""")
    CombLongFrozen: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_CombLongFrozen_get, _thosttraderapi.CThostFtdcInvestorPositionField_CombLongFrozen_set, doc=r"""组合多头冻结""")
    CombShortFrozen: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_CombShortFrozen_get, _thosttraderapi.CThostFtdcInvestorPositionField_CombShortFrozen_set, doc=r"""组合空头冻结""")
    CloseProfitByDate: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_CloseProfitByDate_get, _thosttraderapi.CThostFtdcInvestorPositionField_CloseProfitByDate_set, doc=r"""逐日盯市平仓盈亏""")
    CloseProfitByTrade: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_CloseProfitByTrade_get, _thosttraderapi.CThostFtdcInvestorPositionField_CloseProfitByTrade_set, doc=r"""逐笔对冲平仓盈亏""")
    TodayPosition: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_TodayPosition_get, _thosttraderapi.CThostFtdcInvestorPositionField_TodayPosition_set, doc=r"""今日持仓""")
    MarginRateByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_MarginRateByMoney_get, _thosttraderapi.CThostFtdcInvestorPositionField_MarginRateByMoney_set, doc=r"""保证金率""")
    MarginRateByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_MarginRateByVolume_get, _thosttraderapi.CThostFtdcInvestorPositionField_MarginRateByVolume_set, doc=r"""保证金率(按手数)""")
    StrikeFrozen: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_StrikeFrozen_get, _thosttraderapi.CThostFtdcInvestorPositionField_StrikeFrozen_set, doc=r"""执行冻结""")
    StrikeFrozenAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_StrikeFrozenAmount_get, _thosttraderapi.CThostFtdcInvestorPositionField_StrikeFrozenAmount_set, doc=r"""执行冻结金额""")
    AbandonFrozen: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_AbandonFrozen_get, _thosttraderapi.CThostFtdcInvestorPositionField_AbandonFrozen_set, doc=r"""放弃执行冻结""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_ExchangeID_get, _thosttraderapi.CThostFtdcInvestorPositionField_ExchangeID_set, doc=r"""交易所代码""")
    YdStrikeFrozen: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_YdStrikeFrozen_get, _thosttraderapi.CThostFtdcInvestorPositionField_YdStrikeFrozen_set, doc=r"""执行冻结的昨仓""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_InvestUnitID_get, _thosttraderapi.CThostFtdcInvestorPositionField_InvestUnitID_set, doc=r"""投资单元代码""")
    PositionCostOffset: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_PositionCostOffset_get, _thosttraderapi.CThostFtdcInvestorPositionField_PositionCostOffset_set, doc=r"""持仓成本差值""")
    TasPosition: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_TasPosition_get, _thosttraderapi.CThostFtdcInvestorPositionField_TasPosition_set, doc=r"""tas持仓手数""")
    TasPositionCost: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_TasPositionCost_get, _thosttraderapi.CThostFtdcInvestorPositionField_TasPositionCost_set, doc=r"""tas持仓成本""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionField_InstrumentID_get, _thosttraderapi.CThostFtdcInvestorPositionField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInvestorPositionField_swiginit(self, _thosttraderapi.new_CThostFtdcInvestorPositionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInvestorPositionField

# Register CThostFtdcInvestorPositionField in _thosttraderapi:
_thosttraderapi.CThostFtdcInvestorPositionField_swigregister(CThostFtdcInvestorPositionField)
class CThostFtdcInstrumentMarginRateField(object):
    r"""合约保证金率"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateField_reserve1_get, _thosttraderapi.CThostFtdcInstrumentMarginRateField_reserve1_set, doc=r"""保留的无效字段""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateField_InvestorRange_get, _thosttraderapi.CThostFtdcInstrumentMarginRateField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateField_BrokerID_get, _thosttraderapi.CThostFtdcInstrumentMarginRateField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateField_InvestorID_get, _thosttraderapi.CThostFtdcInstrumentMarginRateField_InvestorID_set, doc=r"""投资者代码""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateField_HedgeFlag_get, _thosttraderapi.CThostFtdcInstrumentMarginRateField_HedgeFlag_set, doc=r"""投机套保标志""")
    LongMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateField_LongMarginRatioByMoney_get, _thosttraderapi.CThostFtdcInstrumentMarginRateField_LongMarginRatioByMoney_set, doc=r"""多头保证金率""")
    LongMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateField_LongMarginRatioByVolume_get, _thosttraderapi.CThostFtdcInstrumentMarginRateField_LongMarginRatioByVolume_set, doc=r"""多头保证金费""")
    ShortMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateField_ShortMarginRatioByMoney_get, _thosttraderapi.CThostFtdcInstrumentMarginRateField_ShortMarginRatioByMoney_set, doc=r"""空头保证金率""")
    ShortMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateField_ShortMarginRatioByVolume_get, _thosttraderapi.CThostFtdcInstrumentMarginRateField_ShortMarginRatioByVolume_set, doc=r"""空头保证金费""")
    IsRelative: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateField_IsRelative_get, _thosttraderapi.CThostFtdcInstrumentMarginRateField_IsRelative_set, doc=r"""是否相对交易所收取""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateField_ExchangeID_get, _thosttraderapi.CThostFtdcInstrumentMarginRateField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateField_InvestUnitID_get, _thosttraderapi.CThostFtdcInstrumentMarginRateField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateField_InstrumentID_get, _thosttraderapi.CThostFtdcInstrumentMarginRateField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInstrumentMarginRateField_swiginit(self, _thosttraderapi.new_CThostFtdcInstrumentMarginRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInstrumentMarginRateField

# Register CThostFtdcInstrumentMarginRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcInstrumentMarginRateField_swigregister(CThostFtdcInstrumentMarginRateField)
class CThostFtdcInstrumentCommissionRateField(object):
    r"""合约手续费率"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInstrumentCommissionRateField_reserve1_get, _thosttraderapi.CThostFtdcInstrumentCommissionRateField_reserve1_set, doc=r"""保留的无效字段""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcInstrumentCommissionRateField_InvestorRange_get, _thosttraderapi.CThostFtdcInstrumentCommissionRateField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInstrumentCommissionRateField_BrokerID_get, _thosttraderapi.CThostFtdcInstrumentCommissionRateField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInstrumentCommissionRateField_InvestorID_get, _thosttraderapi.CThostFtdcInstrumentCommissionRateField_InvestorID_set, doc=r"""投资者代码""")
    OpenRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInstrumentCommissionRateField_OpenRatioByMoney_get, _thosttraderapi.CThostFtdcInstrumentCommissionRateField_OpenRatioByMoney_set, doc=r"""开仓手续费率""")
    OpenRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInstrumentCommissionRateField_OpenRatioByVolume_get, _thosttraderapi.CThostFtdcInstrumentCommissionRateField_OpenRatioByVolume_set, doc=r"""开仓手续费""")
    CloseRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInstrumentCommissionRateField_CloseRatioByMoney_get, _thosttraderapi.CThostFtdcInstrumentCommissionRateField_CloseRatioByMoney_set, doc=r"""平仓手续费率""")
    CloseRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInstrumentCommissionRateField_CloseRatioByVolume_get, _thosttraderapi.CThostFtdcInstrumentCommissionRateField_CloseRatioByVolume_set, doc=r"""平仓手续费""")
    CloseTodayRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInstrumentCommissionRateField_CloseTodayRatioByMoney_get, _thosttraderapi.CThostFtdcInstrumentCommissionRateField_CloseTodayRatioByMoney_set, doc=r"""平今手续费率""")
    CloseTodayRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInstrumentCommissionRateField_CloseTodayRatioByVolume_get, _thosttraderapi.CThostFtdcInstrumentCommissionRateField_CloseTodayRatioByVolume_set, doc=r"""平今手续费""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcInstrumentCommissionRateField_ExchangeID_get, _thosttraderapi.CThostFtdcInstrumentCommissionRateField_ExchangeID_set, doc=r"""交易所代码""")
    BizType: "TThostFtdcBizTypeType" = property(_thosttraderapi.CThostFtdcInstrumentCommissionRateField_BizType_get, _thosttraderapi.CThostFtdcInstrumentCommissionRateField_BizType_set, doc=r"""业务类型""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcInstrumentCommissionRateField_InvestUnitID_get, _thosttraderapi.CThostFtdcInstrumentCommissionRateField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInstrumentCommissionRateField_InstrumentID_get, _thosttraderapi.CThostFtdcInstrumentCommissionRateField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInstrumentCommissionRateField_swiginit(self, _thosttraderapi.new_CThostFtdcInstrumentCommissionRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInstrumentCommissionRateField

# Register CThostFtdcInstrumentCommissionRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcInstrumentCommissionRateField_swigregister(CThostFtdcInstrumentCommissionRateField)
class CThostFtdcDepthMarketDataField(object):
    r"""深度行情"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_TradingDay_get, _thosttraderapi.CThostFtdcDepthMarketDataField_TradingDay_set, doc=r"""交易日""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_reserve1_get, _thosttraderapi.CThostFtdcDepthMarketDataField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_ExchangeID_get, _thosttraderapi.CThostFtdcDepthMarketDataField_ExchangeID_set, doc=r"""交易所代码""")
    reserve2: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_reserve2_get, _thosttraderapi.CThostFtdcDepthMarketDataField_reserve2_set, doc=r"""保留的无效字段""")
    LastPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_LastPrice_get, _thosttraderapi.CThostFtdcDepthMarketDataField_LastPrice_set, doc=r"""最新价""")
    PreSettlementPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_PreSettlementPrice_get, _thosttraderapi.CThostFtdcDepthMarketDataField_PreSettlementPrice_set, doc=r"""上次结算价""")
    PreClosePrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_PreClosePrice_get, _thosttraderapi.CThostFtdcDepthMarketDataField_PreClosePrice_set, doc=r"""昨收盘""")
    PreOpenInterest: "TThostFtdcLargeVolumeType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_PreOpenInterest_get, _thosttraderapi.CThostFtdcDepthMarketDataField_PreOpenInterest_set, doc=r"""昨持仓量""")
    OpenPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_OpenPrice_get, _thosttraderapi.CThostFtdcDepthMarketDataField_OpenPrice_set, doc=r"""今开盘""")
    HighestPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_HighestPrice_get, _thosttraderapi.CThostFtdcDepthMarketDataField_HighestPrice_set, doc=r"""最高价""")
    LowestPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_LowestPrice_get, _thosttraderapi.CThostFtdcDepthMarketDataField_LowestPrice_set, doc=r"""最低价""")
    Volume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_Volume_get, _thosttraderapi.CThostFtdcDepthMarketDataField_Volume_set, doc=r"""数量""")
    Turnover: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_Turnover_get, _thosttraderapi.CThostFtdcDepthMarketDataField_Turnover_set, doc=r"""成交金额""")
    OpenInterest: "TThostFtdcLargeVolumeType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_OpenInterest_get, _thosttraderapi.CThostFtdcDepthMarketDataField_OpenInterest_set, doc=r"""持仓量""")
    ClosePrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_ClosePrice_get, _thosttraderapi.CThostFtdcDepthMarketDataField_ClosePrice_set, doc=r"""今收盘""")
    SettlementPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_SettlementPrice_get, _thosttraderapi.CThostFtdcDepthMarketDataField_SettlementPrice_set, doc=r"""本次结算价""")
    UpperLimitPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_UpperLimitPrice_get, _thosttraderapi.CThostFtdcDepthMarketDataField_UpperLimitPrice_set, doc=r"""涨停板价""")
    LowerLimitPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_LowerLimitPrice_get, _thosttraderapi.CThostFtdcDepthMarketDataField_LowerLimitPrice_set, doc=r"""跌停板价""")
    PreDelta: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_PreDelta_get, _thosttraderapi.CThostFtdcDepthMarketDataField_PreDelta_set, doc=r"""昨虚实度""")
    CurrDelta: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_CurrDelta_get, _thosttraderapi.CThostFtdcDepthMarketDataField_CurrDelta_set, doc=r"""今虚实度""")
    UpdateTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_UpdateTime_get, _thosttraderapi.CThostFtdcDepthMarketDataField_UpdateTime_set, doc=r"""最后修改时间""")
    UpdateMillisec: "TThostFtdcMillisecType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_UpdateMillisec_get, _thosttraderapi.CThostFtdcDepthMarketDataField_UpdateMillisec_set, doc=r"""最后修改毫秒""")
    BidPrice1: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_BidPrice1_get, _thosttraderapi.CThostFtdcDepthMarketDataField_BidPrice1_set, doc=r"""申买价一""")
    BidVolume1: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_BidVolume1_get, _thosttraderapi.CThostFtdcDepthMarketDataField_BidVolume1_set, doc=r"""申买量一""")
    AskPrice1: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_AskPrice1_get, _thosttraderapi.CThostFtdcDepthMarketDataField_AskPrice1_set, doc=r"""申卖价一""")
    AskVolume1: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_AskVolume1_get, _thosttraderapi.CThostFtdcDepthMarketDataField_AskVolume1_set, doc=r"""申卖量一""")
    BidPrice2: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_BidPrice2_get, _thosttraderapi.CThostFtdcDepthMarketDataField_BidPrice2_set, doc=r"""申买价二""")
    BidVolume2: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_BidVolume2_get, _thosttraderapi.CThostFtdcDepthMarketDataField_BidVolume2_set, doc=r"""申买量二""")
    AskPrice2: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_AskPrice2_get, _thosttraderapi.CThostFtdcDepthMarketDataField_AskPrice2_set, doc=r"""申卖价二""")
    AskVolume2: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_AskVolume2_get, _thosttraderapi.CThostFtdcDepthMarketDataField_AskVolume2_set, doc=r"""申卖量二""")
    BidPrice3: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_BidPrice3_get, _thosttraderapi.CThostFtdcDepthMarketDataField_BidPrice3_set, doc=r"""申买价三""")
    BidVolume3: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_BidVolume3_get, _thosttraderapi.CThostFtdcDepthMarketDataField_BidVolume3_set, doc=r"""申买量三""")
    AskPrice3: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_AskPrice3_get, _thosttraderapi.CThostFtdcDepthMarketDataField_AskPrice3_set, doc=r"""申卖价三""")
    AskVolume3: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_AskVolume3_get, _thosttraderapi.CThostFtdcDepthMarketDataField_AskVolume3_set, doc=r"""申卖量三""")
    BidPrice4: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_BidPrice4_get, _thosttraderapi.CThostFtdcDepthMarketDataField_BidPrice4_set, doc=r"""申买价四""")
    BidVolume4: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_BidVolume4_get, _thosttraderapi.CThostFtdcDepthMarketDataField_BidVolume4_set, doc=r"""申买量四""")
    AskPrice4: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_AskPrice4_get, _thosttraderapi.CThostFtdcDepthMarketDataField_AskPrice4_set, doc=r"""申卖价四""")
    AskVolume4: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_AskVolume4_get, _thosttraderapi.CThostFtdcDepthMarketDataField_AskVolume4_set, doc=r"""申卖量四""")
    BidPrice5: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_BidPrice5_get, _thosttraderapi.CThostFtdcDepthMarketDataField_BidPrice5_set, doc=r"""申买价五""")
    BidVolume5: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_BidVolume5_get, _thosttraderapi.CThostFtdcDepthMarketDataField_BidVolume5_set, doc=r"""申买量五""")
    AskPrice5: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_AskPrice5_get, _thosttraderapi.CThostFtdcDepthMarketDataField_AskPrice5_set, doc=r"""申卖价五""")
    AskVolume5: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_AskVolume5_get, _thosttraderapi.CThostFtdcDepthMarketDataField_AskVolume5_set, doc=r"""申卖量五""")
    AveragePrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_AveragePrice_get, _thosttraderapi.CThostFtdcDepthMarketDataField_AveragePrice_set, doc=r"""当日均价""")
    ActionDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_ActionDay_get, _thosttraderapi.CThostFtdcDepthMarketDataField_ActionDay_set, doc=r"""业务日期""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_InstrumentID_get, _thosttraderapi.CThostFtdcDepthMarketDataField_InstrumentID_set, doc=r"""合约代码""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_ExchangeInstID_get, _thosttraderapi.CThostFtdcDepthMarketDataField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")
    BandingUpperPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_BandingUpperPrice_get, _thosttraderapi.CThostFtdcDepthMarketDataField_BandingUpperPrice_set, doc=r"""上带价""")
    BandingLowerPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcDepthMarketDataField_BandingLowerPrice_get, _thosttraderapi.CThostFtdcDepthMarketDataField_BandingLowerPrice_set, doc=r"""下带价""")

    def __init__(self):
        _thosttraderapi.CThostFtdcDepthMarketDataField_swiginit(self, _thosttraderapi.new_CThostFtdcDepthMarketDataField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcDepthMarketDataField

# Register CThostFtdcDepthMarketDataField in _thosttraderapi:
_thosttraderapi.CThostFtdcDepthMarketDataField_swigregister(CThostFtdcDepthMarketDataField)
class CThostFtdcInstrumentTradingRightField(object):
    r"""投资者合约交易权限"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInstrumentTradingRightField_reserve1_get, _thosttraderapi.CThostFtdcInstrumentTradingRightField_reserve1_set, doc=r"""保留的无效字段""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcInstrumentTradingRightField_InvestorRange_get, _thosttraderapi.CThostFtdcInstrumentTradingRightField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInstrumentTradingRightField_BrokerID_get, _thosttraderapi.CThostFtdcInstrumentTradingRightField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInstrumentTradingRightField_InvestorID_get, _thosttraderapi.CThostFtdcInstrumentTradingRightField_InvestorID_set, doc=r"""投资者代码""")
    TradingRight: "TThostFtdcTradingRightType" = property(_thosttraderapi.CThostFtdcInstrumentTradingRightField_TradingRight_get, _thosttraderapi.CThostFtdcInstrumentTradingRightField_TradingRight_set, doc=r"""交易权限""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInstrumentTradingRightField_InstrumentID_get, _thosttraderapi.CThostFtdcInstrumentTradingRightField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInstrumentTradingRightField_swiginit(self, _thosttraderapi.new_CThostFtdcInstrumentTradingRightField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInstrumentTradingRightField

# Register CThostFtdcInstrumentTradingRightField in _thosttraderapi:
_thosttraderapi.CThostFtdcInstrumentTradingRightField_swigregister(CThostFtdcInstrumentTradingRightField)
class CThostFtdcBrokerUserField(object):
    r"""经纪公司用户"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcBrokerUserField_BrokerID_get, _thosttraderapi.CThostFtdcBrokerUserField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcBrokerUserField_UserID_get, _thosttraderapi.CThostFtdcBrokerUserField_UserID_set, doc=r"""用户代码""")
    UserName: "TThostFtdcUserNameType" = property(_thosttraderapi.CThostFtdcBrokerUserField_UserName_get, _thosttraderapi.CThostFtdcBrokerUserField_UserName_set, doc=r"""用户名称""")
    UserType: "TThostFtdcUserTypeType" = property(_thosttraderapi.CThostFtdcBrokerUserField_UserType_get, _thosttraderapi.CThostFtdcBrokerUserField_UserType_set, doc=r"""用户类型""")
    IsActive: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcBrokerUserField_IsActive_get, _thosttraderapi.CThostFtdcBrokerUserField_IsActive_set, doc=r"""是否活跃""")
    IsUsingOTP: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcBrokerUserField_IsUsingOTP_get, _thosttraderapi.CThostFtdcBrokerUserField_IsUsingOTP_set, doc=r"""是否使用令牌""")
    IsAuthForce: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcBrokerUserField_IsAuthForce_get, _thosttraderapi.CThostFtdcBrokerUserField_IsAuthForce_set, doc=r"""是否强制终端认证""")

    def __init__(self):
        _thosttraderapi.CThostFtdcBrokerUserField_swiginit(self, _thosttraderapi.new_CThostFtdcBrokerUserField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcBrokerUserField

# Register CThostFtdcBrokerUserField in _thosttraderapi:
_thosttraderapi.CThostFtdcBrokerUserField_swigregister(CThostFtdcBrokerUserField)
class CThostFtdcBrokerUserPasswordField(object):
    r"""经纪公司用户口令"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcBrokerUserPasswordField_BrokerID_get, _thosttraderapi.CThostFtdcBrokerUserPasswordField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcBrokerUserPasswordField_UserID_get, _thosttraderapi.CThostFtdcBrokerUserPasswordField_UserID_set, doc=r"""用户代码""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcBrokerUserPasswordField_Password_get, _thosttraderapi.CThostFtdcBrokerUserPasswordField_Password_set, doc=r"""密码""")
    LastUpdateTime: "TThostFtdcDateTimeType" = property(_thosttraderapi.CThostFtdcBrokerUserPasswordField_LastUpdateTime_get, _thosttraderapi.CThostFtdcBrokerUserPasswordField_LastUpdateTime_set, doc=r"""上次修改时间""")
    LastLoginTime: "TThostFtdcDateTimeType" = property(_thosttraderapi.CThostFtdcBrokerUserPasswordField_LastLoginTime_get, _thosttraderapi.CThostFtdcBrokerUserPasswordField_LastLoginTime_set, doc=r"""上次登陆时间""")
    ExpireDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcBrokerUserPasswordField_ExpireDate_get, _thosttraderapi.CThostFtdcBrokerUserPasswordField_ExpireDate_set, doc=r"""密码过期时间""")
    WeakExpireDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcBrokerUserPasswordField_WeakExpireDate_get, _thosttraderapi.CThostFtdcBrokerUserPasswordField_WeakExpireDate_set, doc=r"""弱密码过期时间""")

    def __init__(self):
        _thosttraderapi.CThostFtdcBrokerUserPasswordField_swiginit(self, _thosttraderapi.new_CThostFtdcBrokerUserPasswordField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcBrokerUserPasswordField

# Register CThostFtdcBrokerUserPasswordField in _thosttraderapi:
_thosttraderapi.CThostFtdcBrokerUserPasswordField_swigregister(CThostFtdcBrokerUserPasswordField)
class CThostFtdcBrokerUserFunctionField(object):
    r"""经纪公司用户功能权限"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcBrokerUserFunctionField_BrokerID_get, _thosttraderapi.CThostFtdcBrokerUserFunctionField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcBrokerUserFunctionField_UserID_get, _thosttraderapi.CThostFtdcBrokerUserFunctionField_UserID_set, doc=r"""用户代码""")
    BrokerFunctionCode: "TThostFtdcBrokerFunctionCodeType" = property(_thosttraderapi.CThostFtdcBrokerUserFunctionField_BrokerFunctionCode_get, _thosttraderapi.CThostFtdcBrokerUserFunctionField_BrokerFunctionCode_set, doc=r"""经纪公司功能代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcBrokerUserFunctionField_swiginit(self, _thosttraderapi.new_CThostFtdcBrokerUserFunctionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcBrokerUserFunctionField

# Register CThostFtdcBrokerUserFunctionField in _thosttraderapi:
_thosttraderapi.CThostFtdcBrokerUserFunctionField_swigregister(CThostFtdcBrokerUserFunctionField)
class CThostFtdcTraderOfferField(object):
    r"""交易所交易员报盘机"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcTraderOfferField_ExchangeID_get, _thosttraderapi.CThostFtdcTraderOfferField_ExchangeID_set, doc=r"""交易所代码""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcTraderOfferField_TraderID_get, _thosttraderapi.CThostFtdcTraderOfferField_TraderID_set, doc=r"""交易所交易员代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcTraderOfferField_ParticipantID_get, _thosttraderapi.CThostFtdcTraderOfferField_ParticipantID_set, doc=r"""会员代码""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcTraderOfferField_Password_get, _thosttraderapi.CThostFtdcTraderOfferField_Password_set, doc=r"""密码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcTraderOfferField_InstallID_get, _thosttraderapi.CThostFtdcTraderOfferField_InstallID_set, doc=r"""安装编号""")
    OrderLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcTraderOfferField_OrderLocalID_get, _thosttraderapi.CThostFtdcTraderOfferField_OrderLocalID_set, doc=r"""本地报单编号""")
    TraderConnectStatus: "TThostFtdcTraderConnectStatusType" = property(_thosttraderapi.CThostFtdcTraderOfferField_TraderConnectStatus_get, _thosttraderapi.CThostFtdcTraderOfferField_TraderConnectStatus_set, doc=r"""交易所交易员连接状态""")
    ConnectRequestDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcTraderOfferField_ConnectRequestDate_get, _thosttraderapi.CThostFtdcTraderOfferField_ConnectRequestDate_set, doc=r"""发出连接请求的日期""")
    ConnectRequestTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcTraderOfferField_ConnectRequestTime_get, _thosttraderapi.CThostFtdcTraderOfferField_ConnectRequestTime_set, doc=r"""发出连接请求的时间""")
    LastReportDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcTraderOfferField_LastReportDate_get, _thosttraderapi.CThostFtdcTraderOfferField_LastReportDate_set, doc=r"""上次报告日期""")
    LastReportTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcTraderOfferField_LastReportTime_get, _thosttraderapi.CThostFtdcTraderOfferField_LastReportTime_set, doc=r"""上次报告时间""")
    ConnectDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcTraderOfferField_ConnectDate_get, _thosttraderapi.CThostFtdcTraderOfferField_ConnectDate_set, doc=r"""完成连接日期""")
    ConnectTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcTraderOfferField_ConnectTime_get, _thosttraderapi.CThostFtdcTraderOfferField_ConnectTime_set, doc=r"""完成连接时间""")
    StartDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcTraderOfferField_StartDate_get, _thosttraderapi.CThostFtdcTraderOfferField_StartDate_set, doc=r"""启动日期""")
    StartTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcTraderOfferField_StartTime_get, _thosttraderapi.CThostFtdcTraderOfferField_StartTime_set, doc=r"""启动时间""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcTraderOfferField_TradingDay_get, _thosttraderapi.CThostFtdcTraderOfferField_TradingDay_set, doc=r"""交易日""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcTraderOfferField_BrokerID_get, _thosttraderapi.CThostFtdcTraderOfferField_BrokerID_set, doc=r"""经纪公司代码""")
    MaxTradeID: "TThostFtdcTradeIDType" = property(_thosttraderapi.CThostFtdcTraderOfferField_MaxTradeID_get, _thosttraderapi.CThostFtdcTraderOfferField_MaxTradeID_set, doc=r"""本席位最大成交编号""")
    MaxOrderMessageReference: "TThostFtdcReturnCodeType" = property(_thosttraderapi.CThostFtdcTraderOfferField_MaxOrderMessageReference_get, _thosttraderapi.CThostFtdcTraderOfferField_MaxOrderMessageReference_set, doc=r"""本席位最大报单备拷""")
    OrderCancelAlg: "TThostFtdcOrderCancelAlgType" = property(_thosttraderapi.CThostFtdcTraderOfferField_OrderCancelAlg_get, _thosttraderapi.CThostFtdcTraderOfferField_OrderCancelAlg_set, doc=r"""撤单时选择席位算法""")

    def __init__(self):
        _thosttraderapi.CThostFtdcTraderOfferField_swiginit(self, _thosttraderapi.new_CThostFtdcTraderOfferField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTraderOfferField

# Register CThostFtdcTraderOfferField in _thosttraderapi:
_thosttraderapi.CThostFtdcTraderOfferField_swigregister(CThostFtdcTraderOfferField)
class CThostFtdcSettlementInfoField(object):
    r"""投资者结算结果"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcSettlementInfoField_TradingDay_get, _thosttraderapi.CThostFtdcSettlementInfoField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcSettlementInfoField_SettlementID_get, _thosttraderapi.CThostFtdcSettlementInfoField_SettlementID_set, doc=r"""结算编号""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSettlementInfoField_BrokerID_get, _thosttraderapi.CThostFtdcSettlementInfoField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSettlementInfoField_InvestorID_get, _thosttraderapi.CThostFtdcSettlementInfoField_InvestorID_set, doc=r"""投资者代码""")
    SequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcSettlementInfoField_SequenceNo_get, _thosttraderapi.CThostFtdcSettlementInfoField_SequenceNo_set, doc=r"""序号""")
    Content: "TThostFtdcContentType" = property(_thosttraderapi.CThostFtdcSettlementInfoField_Content_get, _thosttraderapi.CThostFtdcSettlementInfoField_Content_set, doc=r"""消息正文""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcSettlementInfoField_AccountID_get, _thosttraderapi.CThostFtdcSettlementInfoField_AccountID_set, doc=r"""投资者帐号""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcSettlementInfoField_CurrencyID_get, _thosttraderapi.CThostFtdcSettlementInfoField_CurrencyID_set, doc=r"""币种代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSettlementInfoField_swiginit(self, _thosttraderapi.new_CThostFtdcSettlementInfoField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSettlementInfoField

# Register CThostFtdcSettlementInfoField in _thosttraderapi:
_thosttraderapi.CThostFtdcSettlementInfoField_swigregister(CThostFtdcSettlementInfoField)
class CThostFtdcInstrumentMarginRateAdjustField(object):
    r"""合约保证金率调整"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_reserve1_get, _thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_reserve1_set, doc=r"""保留的无效字段""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_InvestorRange_get, _thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_BrokerID_get, _thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_InvestorID_get, _thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_InvestorID_set, doc=r"""投资者代码""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_HedgeFlag_get, _thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_HedgeFlag_set, doc=r"""投机套保标志""")
    LongMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_LongMarginRatioByMoney_get, _thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_LongMarginRatioByMoney_set, doc=r"""多头保证金率""")
    LongMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_LongMarginRatioByVolume_get, _thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_LongMarginRatioByVolume_set, doc=r"""多头保证金费""")
    ShortMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_ShortMarginRatioByMoney_get, _thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_ShortMarginRatioByMoney_set, doc=r"""空头保证金率""")
    ShortMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_ShortMarginRatioByVolume_get, _thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_ShortMarginRatioByVolume_set, doc=r"""空头保证金费""")
    IsRelative: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_IsRelative_get, _thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_IsRelative_set, doc=r"""是否相对交易所收取""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_InstrumentID_get, _thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_swiginit(self, _thosttraderapi.new_CThostFtdcInstrumentMarginRateAdjustField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInstrumentMarginRateAdjustField

# Register CThostFtdcInstrumentMarginRateAdjustField in _thosttraderapi:
_thosttraderapi.CThostFtdcInstrumentMarginRateAdjustField_swigregister(CThostFtdcInstrumentMarginRateAdjustField)
class CThostFtdcExchangeMarginRateField(object):
    r"""交易所保证金率"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateField_BrokerID_get, _thosttraderapi.CThostFtdcExchangeMarginRateField_BrokerID_set, doc=r"""经纪公司代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateField_reserve1_get, _thosttraderapi.CThostFtdcExchangeMarginRateField_reserve1_set, doc=r"""保留的无效字段""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateField_HedgeFlag_get, _thosttraderapi.CThostFtdcExchangeMarginRateField_HedgeFlag_set, doc=r"""投机套保标志""")
    LongMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateField_LongMarginRatioByMoney_get, _thosttraderapi.CThostFtdcExchangeMarginRateField_LongMarginRatioByMoney_set, doc=r"""多头保证金率""")
    LongMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateField_LongMarginRatioByVolume_get, _thosttraderapi.CThostFtdcExchangeMarginRateField_LongMarginRatioByVolume_set, doc=r"""多头保证金费""")
    ShortMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateField_ShortMarginRatioByMoney_get, _thosttraderapi.CThostFtdcExchangeMarginRateField_ShortMarginRatioByMoney_set, doc=r"""空头保证金率""")
    ShortMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateField_ShortMarginRatioByVolume_get, _thosttraderapi.CThostFtdcExchangeMarginRateField_ShortMarginRatioByVolume_set, doc=r"""空头保证金费""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateField_ExchangeID_get, _thosttraderapi.CThostFtdcExchangeMarginRateField_ExchangeID_set, doc=r"""交易所代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateField_InstrumentID_get, _thosttraderapi.CThostFtdcExchangeMarginRateField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcExchangeMarginRateField_swiginit(self, _thosttraderapi.new_CThostFtdcExchangeMarginRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcExchangeMarginRateField

# Register CThostFtdcExchangeMarginRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcExchangeMarginRateField_swigregister(CThostFtdcExchangeMarginRateField)
class CThostFtdcExchangeMarginRateAdjustField(object):
    r"""交易所保证金率调整"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_BrokerID_get, _thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_BrokerID_set, doc=r"""经纪公司代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_reserve1_get, _thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_reserve1_set, doc=r"""保留的无效字段""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_HedgeFlag_get, _thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_HedgeFlag_set, doc=r"""投机套保标志""")
    LongMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_LongMarginRatioByMoney_get, _thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_LongMarginRatioByMoney_set, doc=r"""跟随交易所投资者多头保证金率""")
    LongMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_LongMarginRatioByVolume_get, _thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_LongMarginRatioByVolume_set, doc=r"""跟随交易所投资者多头保证金费""")
    ShortMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_ShortMarginRatioByMoney_get, _thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_ShortMarginRatioByMoney_set, doc=r"""跟随交易所投资者空头保证金率""")
    ShortMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_ShortMarginRatioByVolume_get, _thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_ShortMarginRatioByVolume_set, doc=r"""跟随交易所投资者空头保证金费""")
    ExchLongMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_ExchLongMarginRatioByMoney_get, _thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_ExchLongMarginRatioByMoney_set, doc=r"""交易所多头保证金率""")
    ExchLongMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_ExchLongMarginRatioByVolume_get, _thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_ExchLongMarginRatioByVolume_set, doc=r"""交易所多头保证金费""")
    ExchShortMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_ExchShortMarginRatioByMoney_get, _thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_ExchShortMarginRatioByMoney_set, doc=r"""交易所空头保证金率""")
    ExchShortMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_ExchShortMarginRatioByVolume_get, _thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_ExchShortMarginRatioByVolume_set, doc=r"""交易所空头保证金费""")
    NoLongMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_NoLongMarginRatioByMoney_get, _thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_NoLongMarginRatioByMoney_set, doc=r"""不跟随交易所投资者多头保证金率""")
    NoLongMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_NoLongMarginRatioByVolume_get, _thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_NoLongMarginRatioByVolume_set, doc=r"""不跟随交易所投资者多头保证金费""")
    NoShortMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_NoShortMarginRatioByMoney_get, _thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_NoShortMarginRatioByMoney_set, doc=r"""不跟随交易所投资者空头保证金率""")
    NoShortMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_NoShortMarginRatioByVolume_get, _thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_NoShortMarginRatioByVolume_set, doc=r"""不跟随交易所投资者空头保证金费""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_InstrumentID_get, _thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_swiginit(self, _thosttraderapi.new_CThostFtdcExchangeMarginRateAdjustField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcExchangeMarginRateAdjustField

# Register CThostFtdcExchangeMarginRateAdjustField in _thosttraderapi:
_thosttraderapi.CThostFtdcExchangeMarginRateAdjustField_swigregister(CThostFtdcExchangeMarginRateAdjustField)
class CThostFtdcExchangeRateField(object):
    r"""汇率"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcExchangeRateField_BrokerID_get, _thosttraderapi.CThostFtdcExchangeRateField_BrokerID_set, doc=r"""经纪公司代码""")
    FromCurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcExchangeRateField_FromCurrencyID_get, _thosttraderapi.CThostFtdcExchangeRateField_FromCurrencyID_set, doc=r"""源币种""")
    FromCurrencyUnit: "TThostFtdcCurrencyUnitType" = property(_thosttraderapi.CThostFtdcExchangeRateField_FromCurrencyUnit_get, _thosttraderapi.CThostFtdcExchangeRateField_FromCurrencyUnit_set, doc=r"""源币种单位数量""")
    ToCurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcExchangeRateField_ToCurrencyID_get, _thosttraderapi.CThostFtdcExchangeRateField_ToCurrencyID_set, doc=r"""目标币种""")
    ExchangeRate: "TThostFtdcExchangeRateType" = property(_thosttraderapi.CThostFtdcExchangeRateField_ExchangeRate_get, _thosttraderapi.CThostFtdcExchangeRateField_ExchangeRate_set, doc=r"""汇率""")

    def __init__(self):
        _thosttraderapi.CThostFtdcExchangeRateField_swiginit(self, _thosttraderapi.new_CThostFtdcExchangeRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcExchangeRateField

# Register CThostFtdcExchangeRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcExchangeRateField_swigregister(CThostFtdcExchangeRateField)
class CThostFtdcSettlementRefField(object):
    r"""结算引用"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcSettlementRefField_TradingDay_get, _thosttraderapi.CThostFtdcSettlementRefField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcSettlementRefField_SettlementID_get, _thosttraderapi.CThostFtdcSettlementRefField_SettlementID_set, doc=r"""结算编号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSettlementRefField_swiginit(self, _thosttraderapi.new_CThostFtdcSettlementRefField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSettlementRefField

# Register CThostFtdcSettlementRefField in _thosttraderapi:
_thosttraderapi.CThostFtdcSettlementRefField_swigregister(CThostFtdcSettlementRefField)
class CThostFtdcCurrentTimeField(object):
    r"""当前时间"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    CurrDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcCurrentTimeField_CurrDate_get, _thosttraderapi.CThostFtdcCurrentTimeField_CurrDate_set, doc=r"""当前交易日""")
    CurrTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcCurrentTimeField_CurrTime_get, _thosttraderapi.CThostFtdcCurrentTimeField_CurrTime_set, doc=r"""当前时间""")
    CurrMillisec: "TThostFtdcMillisecType" = property(_thosttraderapi.CThostFtdcCurrentTimeField_CurrMillisec_get, _thosttraderapi.CThostFtdcCurrentTimeField_CurrMillisec_set, doc=r"""当前时间（毫秒）""")
    ActionDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcCurrentTimeField_ActionDay_get, _thosttraderapi.CThostFtdcCurrentTimeField_ActionDay_set, doc=r"""自然日期""")

    def __init__(self):
        _thosttraderapi.CThostFtdcCurrentTimeField_swiginit(self, _thosttraderapi.new_CThostFtdcCurrentTimeField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcCurrentTimeField

# Register CThostFtdcCurrentTimeField in _thosttraderapi:
_thosttraderapi.CThostFtdcCurrentTimeField_swigregister(CThostFtdcCurrentTimeField)
class CThostFtdcCommPhaseField(object):
    r"""通讯阶段"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcCommPhaseField_TradingDay_get, _thosttraderapi.CThostFtdcCommPhaseField_TradingDay_set, doc=r"""交易日""")
    CommPhaseNo: "TThostFtdcCommPhaseNoType" = property(_thosttraderapi.CThostFtdcCommPhaseField_CommPhaseNo_get, _thosttraderapi.CThostFtdcCommPhaseField_CommPhaseNo_set, doc=r"""通讯时段编号""")
    SystemID: "TThostFtdcSystemIDType" = property(_thosttraderapi.CThostFtdcCommPhaseField_SystemID_get, _thosttraderapi.CThostFtdcCommPhaseField_SystemID_set, doc=r"""系统编号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcCommPhaseField_swiginit(self, _thosttraderapi.new_CThostFtdcCommPhaseField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcCommPhaseField

# Register CThostFtdcCommPhaseField in _thosttraderapi:
_thosttraderapi.CThostFtdcCommPhaseField_swigregister(CThostFtdcCommPhaseField)
class CThostFtdcLoginInfoField(object):
    r"""登录信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcLoginInfoField_FrontID_get, _thosttraderapi.CThostFtdcLoginInfoField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcLoginInfoField_SessionID_get, _thosttraderapi.CThostFtdcLoginInfoField_SessionID_set, doc=r"""会话编号""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcLoginInfoField_BrokerID_get, _thosttraderapi.CThostFtdcLoginInfoField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcLoginInfoField_UserID_get, _thosttraderapi.CThostFtdcLoginInfoField_UserID_set, doc=r"""用户代码""")
    LoginDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcLoginInfoField_LoginDate_get, _thosttraderapi.CThostFtdcLoginInfoField_LoginDate_set, doc=r"""登录日期""")
    LoginTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcLoginInfoField_LoginTime_get, _thosttraderapi.CThostFtdcLoginInfoField_LoginTime_set, doc=r"""登录时间""")
    reserve1: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcLoginInfoField_reserve1_get, _thosttraderapi.CThostFtdcLoginInfoField_reserve1_set, doc=r"""保留的无效字段""")
    UserProductInfo: "TThostFtdcProductInfoType" = property(_thosttraderapi.CThostFtdcLoginInfoField_UserProductInfo_get, _thosttraderapi.CThostFtdcLoginInfoField_UserProductInfo_set, doc=r"""用户端产品信息""")
    InterfaceProductInfo: "TThostFtdcProductInfoType" = property(_thosttraderapi.CThostFtdcLoginInfoField_InterfaceProductInfo_get, _thosttraderapi.CThostFtdcLoginInfoField_InterfaceProductInfo_set, doc=r"""接口端产品信息""")
    ProtocolInfo: "TThostFtdcProtocolInfoType" = property(_thosttraderapi.CThostFtdcLoginInfoField_ProtocolInfo_get, _thosttraderapi.CThostFtdcLoginInfoField_ProtocolInfo_set, doc=r"""协议信息""")
    SystemName: "TThostFtdcSystemNameType" = property(_thosttraderapi.CThostFtdcLoginInfoField_SystemName_get, _thosttraderapi.CThostFtdcLoginInfoField_SystemName_set, doc=r"""系统名称""")
    PasswordDeprecated: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcLoginInfoField_PasswordDeprecated_get, _thosttraderapi.CThostFtdcLoginInfoField_PasswordDeprecated_set, doc=r"""密码,已弃用""")
    MaxOrderRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcLoginInfoField_MaxOrderRef_get, _thosttraderapi.CThostFtdcLoginInfoField_MaxOrderRef_set, doc=r"""最大报单引用""")
    SHFETime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcLoginInfoField_SHFETime_get, _thosttraderapi.CThostFtdcLoginInfoField_SHFETime_set, doc=r"""上期所时间""")
    DCETime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcLoginInfoField_DCETime_get, _thosttraderapi.CThostFtdcLoginInfoField_DCETime_set, doc=r"""大商所时间""")
    CZCETime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcLoginInfoField_CZCETime_get, _thosttraderapi.CThostFtdcLoginInfoField_CZCETime_set, doc=r"""郑商所时间""")
    FFEXTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcLoginInfoField_FFEXTime_get, _thosttraderapi.CThostFtdcLoginInfoField_FFEXTime_set, doc=r"""中金所时间""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcLoginInfoField_MacAddress_get, _thosttraderapi.CThostFtdcLoginInfoField_MacAddress_set, doc=r"""Mac地址""")
    OneTimePassword: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcLoginInfoField_OneTimePassword_get, _thosttraderapi.CThostFtdcLoginInfoField_OneTimePassword_set, doc=r"""动态密码""")
    INETime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcLoginInfoField_INETime_get, _thosttraderapi.CThostFtdcLoginInfoField_INETime_set, doc=r"""能源中心时间""")
    IsQryControl: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcLoginInfoField_IsQryControl_get, _thosttraderapi.CThostFtdcLoginInfoField_IsQryControl_set, doc=r"""查询时是否需要流控""")
    LoginRemark: "TThostFtdcLoginRemarkType" = property(_thosttraderapi.CThostFtdcLoginInfoField_LoginRemark_get, _thosttraderapi.CThostFtdcLoginInfoField_LoginRemark_set, doc=r"""登录备注""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcLoginInfoField_Password_get, _thosttraderapi.CThostFtdcLoginInfoField_Password_set, doc=r"""密码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcLoginInfoField_IPAddress_get, _thosttraderapi.CThostFtdcLoginInfoField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcLoginInfoField_swiginit(self, _thosttraderapi.new_CThostFtdcLoginInfoField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcLoginInfoField

# Register CThostFtdcLoginInfoField in _thosttraderapi:
_thosttraderapi.CThostFtdcLoginInfoField_swigregister(CThostFtdcLoginInfoField)
class CThostFtdcLogoutAllField(object):
    r"""登录信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcLogoutAllField_FrontID_get, _thosttraderapi.CThostFtdcLogoutAllField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcLogoutAllField_SessionID_get, _thosttraderapi.CThostFtdcLogoutAllField_SessionID_set, doc=r"""会话编号""")
    SystemName: "TThostFtdcSystemNameType" = property(_thosttraderapi.CThostFtdcLogoutAllField_SystemName_get, _thosttraderapi.CThostFtdcLogoutAllField_SystemName_set, doc=r"""系统名称""")

    def __init__(self):
        _thosttraderapi.CThostFtdcLogoutAllField_swiginit(self, _thosttraderapi.new_CThostFtdcLogoutAllField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcLogoutAllField

# Register CThostFtdcLogoutAllField in _thosttraderapi:
_thosttraderapi.CThostFtdcLogoutAllField_swigregister(CThostFtdcLogoutAllField)
class CThostFtdcFrontStatusField(object):
    r"""前置状态"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcFrontStatusField_FrontID_get, _thosttraderapi.CThostFtdcFrontStatusField_FrontID_set, doc=r"""前置编号""")
    LastReportDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcFrontStatusField_LastReportDate_get, _thosttraderapi.CThostFtdcFrontStatusField_LastReportDate_set, doc=r"""上次报告日期""")
    LastReportTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcFrontStatusField_LastReportTime_get, _thosttraderapi.CThostFtdcFrontStatusField_LastReportTime_set, doc=r"""上次报告时间""")
    IsActive: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcFrontStatusField_IsActive_get, _thosttraderapi.CThostFtdcFrontStatusField_IsActive_set, doc=r"""是否活跃""")

    def __init__(self):
        _thosttraderapi.CThostFtdcFrontStatusField_swiginit(self, _thosttraderapi.new_CThostFtdcFrontStatusField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcFrontStatusField

# Register CThostFtdcFrontStatusField in _thosttraderapi:
_thosttraderapi.CThostFtdcFrontStatusField_swigregister(CThostFtdcFrontStatusField)
class CThostFtdcUserPasswordUpdateField(object):
    r"""用户口令变更"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcUserPasswordUpdateField_BrokerID_get, _thosttraderapi.CThostFtdcUserPasswordUpdateField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcUserPasswordUpdateField_UserID_get, _thosttraderapi.CThostFtdcUserPasswordUpdateField_UserID_set, doc=r"""用户代码""")
    OldPassword: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcUserPasswordUpdateField_OldPassword_get, _thosttraderapi.CThostFtdcUserPasswordUpdateField_OldPassword_set, doc=r"""原来的口令""")
    NewPassword: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcUserPasswordUpdateField_NewPassword_get, _thosttraderapi.CThostFtdcUserPasswordUpdateField_NewPassword_set, doc=r"""新的口令""")

    def __init__(self):
        _thosttraderapi.CThostFtdcUserPasswordUpdateField_swiginit(self, _thosttraderapi.new_CThostFtdcUserPasswordUpdateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcUserPasswordUpdateField

# Register CThostFtdcUserPasswordUpdateField in _thosttraderapi:
_thosttraderapi.CThostFtdcUserPasswordUpdateField_swigregister(CThostFtdcUserPasswordUpdateField)
class CThostFtdcInputOrderField(object):
    r"""输入报单"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInputOrderField_BrokerID_get, _thosttraderapi.CThostFtdcInputOrderField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInputOrderField_InvestorID_get, _thosttraderapi.CThostFtdcInputOrderField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInputOrderField_reserve1_get, _thosttraderapi.CThostFtdcInputOrderField_reserve1_set, doc=r"""保留的无效字段""")
    OrderRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcInputOrderField_OrderRef_get, _thosttraderapi.CThostFtdcInputOrderField_OrderRef_set, doc=r"""报单引用""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcInputOrderField_UserID_get, _thosttraderapi.CThostFtdcInputOrderField_UserID_set, doc=r"""用户代码""")
    OrderPriceType: "TThostFtdcOrderPriceTypeType" = property(_thosttraderapi.CThostFtdcInputOrderField_OrderPriceType_get, _thosttraderapi.CThostFtdcInputOrderField_OrderPriceType_set, doc=r"""报单价格条件""")
    Direction: "TThostFtdcDirectionType" = property(_thosttraderapi.CThostFtdcInputOrderField_Direction_get, _thosttraderapi.CThostFtdcInputOrderField_Direction_set, doc=r"""买卖方向""")
    CombOffsetFlag: "TThostFtdcCombOffsetFlagType" = property(_thosttraderapi.CThostFtdcInputOrderField_CombOffsetFlag_get, _thosttraderapi.CThostFtdcInputOrderField_CombOffsetFlag_set, doc=r"""组合开平标志""")
    CombHedgeFlag: "TThostFtdcCombHedgeFlagType" = property(_thosttraderapi.CThostFtdcInputOrderField_CombHedgeFlag_get, _thosttraderapi.CThostFtdcInputOrderField_CombHedgeFlag_set, doc=r"""组合投机套保标志""")
    LimitPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcInputOrderField_LimitPrice_get, _thosttraderapi.CThostFtdcInputOrderField_LimitPrice_set, doc=r"""价格""")
    VolumeTotalOriginal: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInputOrderField_VolumeTotalOriginal_get, _thosttraderapi.CThostFtdcInputOrderField_VolumeTotalOriginal_set, doc=r"""数量""")
    TimeCondition: "TThostFtdcTimeConditionType" = property(_thosttraderapi.CThostFtdcInputOrderField_TimeCondition_get, _thosttraderapi.CThostFtdcInputOrderField_TimeCondition_set, doc=r"""有效期类型""")
    GTDDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcInputOrderField_GTDDate_get, _thosttraderapi.CThostFtdcInputOrderField_GTDDate_set, doc=r"""GTD日期""")
    VolumeCondition: "TThostFtdcVolumeConditionType" = property(_thosttraderapi.CThostFtdcInputOrderField_VolumeCondition_get, _thosttraderapi.CThostFtdcInputOrderField_VolumeCondition_set, doc=r"""成交量类型""")
    MinVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInputOrderField_MinVolume_get, _thosttraderapi.CThostFtdcInputOrderField_MinVolume_set, doc=r"""最小成交量""")
    ContingentCondition: "TThostFtdcContingentConditionType" = property(_thosttraderapi.CThostFtdcInputOrderField_ContingentCondition_get, _thosttraderapi.CThostFtdcInputOrderField_ContingentCondition_set, doc=r"""触发条件""")
    StopPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcInputOrderField_StopPrice_get, _thosttraderapi.CThostFtdcInputOrderField_StopPrice_set, doc=r"""止损价""")
    ForceCloseReason: "TThostFtdcForceCloseReasonType" = property(_thosttraderapi.CThostFtdcInputOrderField_ForceCloseReason_get, _thosttraderapi.CThostFtdcInputOrderField_ForceCloseReason_set, doc=r"""强平原因""")
    IsAutoSuspend: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcInputOrderField_IsAutoSuspend_get, _thosttraderapi.CThostFtdcInputOrderField_IsAutoSuspend_set, doc=r"""自动挂起标志""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcInputOrderField_BusinessUnit_get, _thosttraderapi.CThostFtdcInputOrderField_BusinessUnit_set, doc=r"""业务单元""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcInputOrderField_RequestID_get, _thosttraderapi.CThostFtdcInputOrderField_RequestID_set, doc=r"""请求编号""")
    UserForceClose: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcInputOrderField_UserForceClose_get, _thosttraderapi.CThostFtdcInputOrderField_UserForceClose_set, doc=r"""用户强评标志""")
    IsSwapOrder: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcInputOrderField_IsSwapOrder_get, _thosttraderapi.CThostFtdcInputOrderField_IsSwapOrder_set, doc=r"""互换单标志""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcInputOrderField_ExchangeID_get, _thosttraderapi.CThostFtdcInputOrderField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcInputOrderField_InvestUnitID_get, _thosttraderapi.CThostFtdcInputOrderField_InvestUnitID_set, doc=r"""投资单元代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcInputOrderField_AccountID_get, _thosttraderapi.CThostFtdcInputOrderField_AccountID_set, doc=r"""资金账号""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcInputOrderField_CurrencyID_get, _thosttraderapi.CThostFtdcInputOrderField_CurrencyID_set, doc=r"""币种代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcInputOrderField_ClientID_get, _thosttraderapi.CThostFtdcInputOrderField_ClientID_set, doc=r"""交易编码""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcInputOrderField_reserve2_get, _thosttraderapi.CThostFtdcInputOrderField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcInputOrderField_MacAddress_get, _thosttraderapi.CThostFtdcInputOrderField_MacAddress_set, doc=r"""Mac地址""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInputOrderField_InstrumentID_get, _thosttraderapi.CThostFtdcInputOrderField_InstrumentID_set, doc=r"""合约代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcInputOrderField_IPAddress_get, _thosttraderapi.CThostFtdcInputOrderField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInputOrderField_swiginit(self, _thosttraderapi.new_CThostFtdcInputOrderField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInputOrderField

# Register CThostFtdcInputOrderField in _thosttraderapi:
_thosttraderapi.CThostFtdcInputOrderField_swigregister(CThostFtdcInputOrderField)
class CThostFtdcOrderField(object):
    r"""报单"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcOrderField_BrokerID_get, _thosttraderapi.CThostFtdcOrderField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcOrderField_InvestorID_get, _thosttraderapi.CThostFtdcOrderField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcOrderField_reserve1_get, _thosttraderapi.CThostFtdcOrderField_reserve1_set, doc=r"""保留的无效字段""")
    OrderRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcOrderField_OrderRef_get, _thosttraderapi.CThostFtdcOrderField_OrderRef_set, doc=r"""报单引用""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcOrderField_UserID_get, _thosttraderapi.CThostFtdcOrderField_UserID_set, doc=r"""用户代码""")
    OrderPriceType: "TThostFtdcOrderPriceTypeType" = property(_thosttraderapi.CThostFtdcOrderField_OrderPriceType_get, _thosttraderapi.CThostFtdcOrderField_OrderPriceType_set, doc=r"""报单价格条件""")
    Direction: "TThostFtdcDirectionType" = property(_thosttraderapi.CThostFtdcOrderField_Direction_get, _thosttraderapi.CThostFtdcOrderField_Direction_set, doc=r"""买卖方向""")
    CombOffsetFlag: "TThostFtdcCombOffsetFlagType" = property(_thosttraderapi.CThostFtdcOrderField_CombOffsetFlag_get, _thosttraderapi.CThostFtdcOrderField_CombOffsetFlag_set, doc=r"""组合开平标志""")
    CombHedgeFlag: "TThostFtdcCombHedgeFlagType" = property(_thosttraderapi.CThostFtdcOrderField_CombHedgeFlag_get, _thosttraderapi.CThostFtdcOrderField_CombHedgeFlag_set, doc=r"""组合投机套保标志""")
    LimitPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcOrderField_LimitPrice_get, _thosttraderapi.CThostFtdcOrderField_LimitPrice_set, doc=r"""价格""")
    VolumeTotalOriginal: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcOrderField_VolumeTotalOriginal_get, _thosttraderapi.CThostFtdcOrderField_VolumeTotalOriginal_set, doc=r"""数量""")
    TimeCondition: "TThostFtdcTimeConditionType" = property(_thosttraderapi.CThostFtdcOrderField_TimeCondition_get, _thosttraderapi.CThostFtdcOrderField_TimeCondition_set, doc=r"""有效期类型""")
    GTDDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcOrderField_GTDDate_get, _thosttraderapi.CThostFtdcOrderField_GTDDate_set, doc=r"""GTD日期""")
    VolumeCondition: "TThostFtdcVolumeConditionType" = property(_thosttraderapi.CThostFtdcOrderField_VolumeCondition_get, _thosttraderapi.CThostFtdcOrderField_VolumeCondition_set, doc=r"""成交量类型""")
    MinVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcOrderField_MinVolume_get, _thosttraderapi.CThostFtdcOrderField_MinVolume_set, doc=r"""最小成交量""")
    ContingentCondition: "TThostFtdcContingentConditionType" = property(_thosttraderapi.CThostFtdcOrderField_ContingentCondition_get, _thosttraderapi.CThostFtdcOrderField_ContingentCondition_set, doc=r"""触发条件""")
    StopPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcOrderField_StopPrice_get, _thosttraderapi.CThostFtdcOrderField_StopPrice_set, doc=r"""止损价""")
    ForceCloseReason: "TThostFtdcForceCloseReasonType" = property(_thosttraderapi.CThostFtdcOrderField_ForceCloseReason_get, _thosttraderapi.CThostFtdcOrderField_ForceCloseReason_set, doc=r"""强平原因""")
    IsAutoSuspend: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcOrderField_IsAutoSuspend_get, _thosttraderapi.CThostFtdcOrderField_IsAutoSuspend_set, doc=r"""自动挂起标志""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcOrderField_BusinessUnit_get, _thosttraderapi.CThostFtdcOrderField_BusinessUnit_set, doc=r"""业务单元""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcOrderField_RequestID_get, _thosttraderapi.CThostFtdcOrderField_RequestID_set, doc=r"""请求编号""")
    OrderLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcOrderField_OrderLocalID_get, _thosttraderapi.CThostFtdcOrderField_OrderLocalID_set, doc=r"""本地报单编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcOrderField_ExchangeID_get, _thosttraderapi.CThostFtdcOrderField_ExchangeID_set, doc=r"""交易所代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcOrderField_ParticipantID_get, _thosttraderapi.CThostFtdcOrderField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcOrderField_ClientID_get, _thosttraderapi.CThostFtdcOrderField_ClientID_set, doc=r"""客户代码""")
    reserve2: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcOrderField_reserve2_get, _thosttraderapi.CThostFtdcOrderField_reserve2_set, doc=r"""保留的无效字段""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcOrderField_TraderID_get, _thosttraderapi.CThostFtdcOrderField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcOrderField_InstallID_get, _thosttraderapi.CThostFtdcOrderField_InstallID_set, doc=r"""安装编号""")
    OrderSubmitStatus: "TThostFtdcOrderSubmitStatusType" = property(_thosttraderapi.CThostFtdcOrderField_OrderSubmitStatus_get, _thosttraderapi.CThostFtdcOrderField_OrderSubmitStatus_set, doc=r"""报单提交状态""")
    NotifySequence: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcOrderField_NotifySequence_get, _thosttraderapi.CThostFtdcOrderField_NotifySequence_set, doc=r"""报单提示序号""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcOrderField_TradingDay_get, _thosttraderapi.CThostFtdcOrderField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcOrderField_SettlementID_get, _thosttraderapi.CThostFtdcOrderField_SettlementID_set, doc=r"""结算编号""")
    OrderSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcOrderField_OrderSysID_get, _thosttraderapi.CThostFtdcOrderField_OrderSysID_set, doc=r"""报单编号""")
    OrderSource: "TThostFtdcOrderSourceType" = property(_thosttraderapi.CThostFtdcOrderField_OrderSource_get, _thosttraderapi.CThostFtdcOrderField_OrderSource_set, doc=r"""报单来源""")
    OrderStatus: "TThostFtdcOrderStatusType" = property(_thosttraderapi.CThostFtdcOrderField_OrderStatus_get, _thosttraderapi.CThostFtdcOrderField_OrderStatus_set, doc=r"""报单状态""")
    OrderType: "TThostFtdcOrderTypeType" = property(_thosttraderapi.CThostFtdcOrderField_OrderType_get, _thosttraderapi.CThostFtdcOrderField_OrderType_set, doc=r"""报单类型""")
    VolumeTraded: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcOrderField_VolumeTraded_get, _thosttraderapi.CThostFtdcOrderField_VolumeTraded_set, doc=r"""今成交数量""")
    VolumeTotal: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcOrderField_VolumeTotal_get, _thosttraderapi.CThostFtdcOrderField_VolumeTotal_set, doc=r"""剩余数量""")
    InsertDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcOrderField_InsertDate_get, _thosttraderapi.CThostFtdcOrderField_InsertDate_set, doc=r"""报单日期""")
    InsertTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcOrderField_InsertTime_get, _thosttraderapi.CThostFtdcOrderField_InsertTime_set, doc=r"""委托时间""")
    ActiveTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcOrderField_ActiveTime_get, _thosttraderapi.CThostFtdcOrderField_ActiveTime_set, doc=r"""激活时间""")
    SuspendTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcOrderField_SuspendTime_get, _thosttraderapi.CThostFtdcOrderField_SuspendTime_set, doc=r"""挂起时间""")
    UpdateTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcOrderField_UpdateTime_get, _thosttraderapi.CThostFtdcOrderField_UpdateTime_set, doc=r"""最后修改时间""")
    CancelTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcOrderField_CancelTime_get, _thosttraderapi.CThostFtdcOrderField_CancelTime_set, doc=r"""撤销时间""")
    ActiveTraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcOrderField_ActiveTraderID_get, _thosttraderapi.CThostFtdcOrderField_ActiveTraderID_set, doc=r"""最后修改交易所交易员代码""")
    ClearingPartID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcOrderField_ClearingPartID_get, _thosttraderapi.CThostFtdcOrderField_ClearingPartID_set, doc=r"""结算会员编号""")
    SequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcOrderField_SequenceNo_get, _thosttraderapi.CThostFtdcOrderField_SequenceNo_set, doc=r"""序号""")
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcOrderField_FrontID_get, _thosttraderapi.CThostFtdcOrderField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcOrderField_SessionID_get, _thosttraderapi.CThostFtdcOrderField_SessionID_set, doc=r"""会话编号""")
    UserProductInfo: "TThostFtdcProductInfoType" = property(_thosttraderapi.CThostFtdcOrderField_UserProductInfo_get, _thosttraderapi.CThostFtdcOrderField_UserProductInfo_set, doc=r"""用户端产品信息""")
    StatusMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcOrderField_StatusMsg_get, _thosttraderapi.CThostFtdcOrderField_StatusMsg_set, doc=r"""状态信息""")
    UserForceClose: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcOrderField_UserForceClose_get, _thosttraderapi.CThostFtdcOrderField_UserForceClose_set, doc=r"""用户强评标志""")
    ActiveUserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcOrderField_ActiveUserID_get, _thosttraderapi.CThostFtdcOrderField_ActiveUserID_set, doc=r"""操作用户代码""")
    BrokerOrderSeq: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcOrderField_BrokerOrderSeq_get, _thosttraderapi.CThostFtdcOrderField_BrokerOrderSeq_set, doc=r"""经纪公司报单编号""")
    RelativeOrderSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcOrderField_RelativeOrderSysID_get, _thosttraderapi.CThostFtdcOrderField_RelativeOrderSysID_set, doc=r"""相关报单""")
    ZCETotalTradedVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcOrderField_ZCETotalTradedVolume_get, _thosttraderapi.CThostFtdcOrderField_ZCETotalTradedVolume_set, doc=r"""郑商所成交数量""")
    IsSwapOrder: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcOrderField_IsSwapOrder_get, _thosttraderapi.CThostFtdcOrderField_IsSwapOrder_set, doc=r"""互换单标志""")
    BranchID: "TThostFtdcBranchIDType" = property(_thosttraderapi.CThostFtdcOrderField_BranchID_get, _thosttraderapi.CThostFtdcOrderField_BranchID_set, doc=r"""营业部编号""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcOrderField_InvestUnitID_get, _thosttraderapi.CThostFtdcOrderField_InvestUnitID_set, doc=r"""投资单元代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcOrderField_AccountID_get, _thosttraderapi.CThostFtdcOrderField_AccountID_set, doc=r"""资金账号""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcOrderField_CurrencyID_get, _thosttraderapi.CThostFtdcOrderField_CurrencyID_set, doc=r"""币种代码""")
    reserve3: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcOrderField_reserve3_get, _thosttraderapi.CThostFtdcOrderField_reserve3_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcOrderField_MacAddress_get, _thosttraderapi.CThostFtdcOrderField_MacAddress_set, doc=r"""Mac地址""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcOrderField_InstrumentID_get, _thosttraderapi.CThostFtdcOrderField_InstrumentID_set, doc=r"""合约代码""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcOrderField_ExchangeInstID_get, _thosttraderapi.CThostFtdcOrderField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcOrderField_IPAddress_get, _thosttraderapi.CThostFtdcOrderField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcOrderField_swiginit(self, _thosttraderapi.new_CThostFtdcOrderField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcOrderField

# Register CThostFtdcOrderField in _thosttraderapi:
_thosttraderapi.CThostFtdcOrderField_swigregister(CThostFtdcOrderField)
class CThostFtdcExchangeOrderField(object):
    r"""交易所报单"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    OrderPriceType: "TThostFtdcOrderPriceTypeType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_OrderPriceType_get, _thosttraderapi.CThostFtdcExchangeOrderField_OrderPriceType_set, doc=r"""报单价格条件""")
    Direction: "TThostFtdcDirectionType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_Direction_get, _thosttraderapi.CThostFtdcExchangeOrderField_Direction_set, doc=r"""买卖方向""")
    CombOffsetFlag: "TThostFtdcCombOffsetFlagType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_CombOffsetFlag_get, _thosttraderapi.CThostFtdcExchangeOrderField_CombOffsetFlag_set, doc=r"""组合开平标志""")
    CombHedgeFlag: "TThostFtdcCombHedgeFlagType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_CombHedgeFlag_get, _thosttraderapi.CThostFtdcExchangeOrderField_CombHedgeFlag_set, doc=r"""组合投机套保标志""")
    LimitPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_LimitPrice_get, _thosttraderapi.CThostFtdcExchangeOrderField_LimitPrice_set, doc=r"""价格""")
    VolumeTotalOriginal: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_VolumeTotalOriginal_get, _thosttraderapi.CThostFtdcExchangeOrderField_VolumeTotalOriginal_set, doc=r"""数量""")
    TimeCondition: "TThostFtdcTimeConditionType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_TimeCondition_get, _thosttraderapi.CThostFtdcExchangeOrderField_TimeCondition_set, doc=r"""有效期类型""")
    GTDDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_GTDDate_get, _thosttraderapi.CThostFtdcExchangeOrderField_GTDDate_set, doc=r"""GTD日期""")
    VolumeCondition: "TThostFtdcVolumeConditionType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_VolumeCondition_get, _thosttraderapi.CThostFtdcExchangeOrderField_VolumeCondition_set, doc=r"""成交量类型""")
    MinVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_MinVolume_get, _thosttraderapi.CThostFtdcExchangeOrderField_MinVolume_set, doc=r"""最小成交量""")
    ContingentCondition: "TThostFtdcContingentConditionType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_ContingentCondition_get, _thosttraderapi.CThostFtdcExchangeOrderField_ContingentCondition_set, doc=r"""触发条件""")
    StopPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_StopPrice_get, _thosttraderapi.CThostFtdcExchangeOrderField_StopPrice_set, doc=r"""止损价""")
    ForceCloseReason: "TThostFtdcForceCloseReasonType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_ForceCloseReason_get, _thosttraderapi.CThostFtdcExchangeOrderField_ForceCloseReason_set, doc=r"""强平原因""")
    IsAutoSuspend: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_IsAutoSuspend_get, _thosttraderapi.CThostFtdcExchangeOrderField_IsAutoSuspend_set, doc=r"""自动挂起标志""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_BusinessUnit_get, _thosttraderapi.CThostFtdcExchangeOrderField_BusinessUnit_set, doc=r"""业务单元""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_RequestID_get, _thosttraderapi.CThostFtdcExchangeOrderField_RequestID_set, doc=r"""请求编号""")
    OrderLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_OrderLocalID_get, _thosttraderapi.CThostFtdcExchangeOrderField_OrderLocalID_set, doc=r"""本地报单编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_ExchangeID_get, _thosttraderapi.CThostFtdcExchangeOrderField_ExchangeID_set, doc=r"""交易所代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_ParticipantID_get, _thosttraderapi.CThostFtdcExchangeOrderField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_ClientID_get, _thosttraderapi.CThostFtdcExchangeOrderField_ClientID_set, doc=r"""客户代码""")
    reserve1: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_reserve1_get, _thosttraderapi.CThostFtdcExchangeOrderField_reserve1_set, doc=r"""保留的无效字段""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_TraderID_get, _thosttraderapi.CThostFtdcExchangeOrderField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_InstallID_get, _thosttraderapi.CThostFtdcExchangeOrderField_InstallID_set, doc=r"""安装编号""")
    OrderSubmitStatus: "TThostFtdcOrderSubmitStatusType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_OrderSubmitStatus_get, _thosttraderapi.CThostFtdcExchangeOrderField_OrderSubmitStatus_set, doc=r"""报单提交状态""")
    NotifySequence: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_NotifySequence_get, _thosttraderapi.CThostFtdcExchangeOrderField_NotifySequence_set, doc=r"""报单提示序号""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_TradingDay_get, _thosttraderapi.CThostFtdcExchangeOrderField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_SettlementID_get, _thosttraderapi.CThostFtdcExchangeOrderField_SettlementID_set, doc=r"""结算编号""")
    OrderSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_OrderSysID_get, _thosttraderapi.CThostFtdcExchangeOrderField_OrderSysID_set, doc=r"""报单编号""")
    OrderSource: "TThostFtdcOrderSourceType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_OrderSource_get, _thosttraderapi.CThostFtdcExchangeOrderField_OrderSource_set, doc=r"""报单来源""")
    OrderStatus: "TThostFtdcOrderStatusType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_OrderStatus_get, _thosttraderapi.CThostFtdcExchangeOrderField_OrderStatus_set, doc=r"""报单状态""")
    OrderType: "TThostFtdcOrderTypeType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_OrderType_get, _thosttraderapi.CThostFtdcExchangeOrderField_OrderType_set, doc=r"""报单类型""")
    VolumeTraded: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_VolumeTraded_get, _thosttraderapi.CThostFtdcExchangeOrderField_VolumeTraded_set, doc=r"""今成交数量""")
    VolumeTotal: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_VolumeTotal_get, _thosttraderapi.CThostFtdcExchangeOrderField_VolumeTotal_set, doc=r"""剩余数量""")
    InsertDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_InsertDate_get, _thosttraderapi.CThostFtdcExchangeOrderField_InsertDate_set, doc=r"""报单日期""")
    InsertTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_InsertTime_get, _thosttraderapi.CThostFtdcExchangeOrderField_InsertTime_set, doc=r"""委托时间""")
    ActiveTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_ActiveTime_get, _thosttraderapi.CThostFtdcExchangeOrderField_ActiveTime_set, doc=r"""激活时间""")
    SuspendTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_SuspendTime_get, _thosttraderapi.CThostFtdcExchangeOrderField_SuspendTime_set, doc=r"""挂起时间""")
    UpdateTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_UpdateTime_get, _thosttraderapi.CThostFtdcExchangeOrderField_UpdateTime_set, doc=r"""最后修改时间""")
    CancelTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_CancelTime_get, _thosttraderapi.CThostFtdcExchangeOrderField_CancelTime_set, doc=r"""撤销时间""")
    ActiveTraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_ActiveTraderID_get, _thosttraderapi.CThostFtdcExchangeOrderField_ActiveTraderID_set, doc=r"""最后修改交易所交易员代码""")
    ClearingPartID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_ClearingPartID_get, _thosttraderapi.CThostFtdcExchangeOrderField_ClearingPartID_set, doc=r"""结算会员编号""")
    SequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_SequenceNo_get, _thosttraderapi.CThostFtdcExchangeOrderField_SequenceNo_set, doc=r"""序号""")
    BranchID: "TThostFtdcBranchIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_BranchID_get, _thosttraderapi.CThostFtdcExchangeOrderField_BranchID_set, doc=r"""营业部编号""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_reserve2_get, _thosttraderapi.CThostFtdcExchangeOrderField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_MacAddress_get, _thosttraderapi.CThostFtdcExchangeOrderField_MacAddress_set, doc=r"""Mac地址""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_ExchangeInstID_get, _thosttraderapi.CThostFtdcExchangeOrderField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcExchangeOrderField_IPAddress_get, _thosttraderapi.CThostFtdcExchangeOrderField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcExchangeOrderField_swiginit(self, _thosttraderapi.new_CThostFtdcExchangeOrderField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcExchangeOrderField

# Register CThostFtdcExchangeOrderField in _thosttraderapi:
_thosttraderapi.CThostFtdcExchangeOrderField_swigregister(CThostFtdcExchangeOrderField)
class CThostFtdcExchangeOrderInsertErrorField(object):
    r"""交易所报单插入失败"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderInsertErrorField_ExchangeID_get, _thosttraderapi.CThostFtdcExchangeOrderInsertErrorField_ExchangeID_set, doc=r"""交易所代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderInsertErrorField_ParticipantID_get, _thosttraderapi.CThostFtdcExchangeOrderInsertErrorField_ParticipantID_set, doc=r"""会员代码""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderInsertErrorField_TraderID_get, _thosttraderapi.CThostFtdcExchangeOrderInsertErrorField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderInsertErrorField_InstallID_get, _thosttraderapi.CThostFtdcExchangeOrderInsertErrorField_InstallID_set, doc=r"""安装编号""")
    OrderLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderInsertErrorField_OrderLocalID_get, _thosttraderapi.CThostFtdcExchangeOrderInsertErrorField_OrderLocalID_set, doc=r"""本地报单编号""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderInsertErrorField_ErrorID_get, _thosttraderapi.CThostFtdcExchangeOrderInsertErrorField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcExchangeOrderInsertErrorField_ErrorMsg_get, _thosttraderapi.CThostFtdcExchangeOrderInsertErrorField_ErrorMsg_set, doc=r"""错误信息""")

    def __init__(self):
        _thosttraderapi.CThostFtdcExchangeOrderInsertErrorField_swiginit(self, _thosttraderapi.new_CThostFtdcExchangeOrderInsertErrorField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcExchangeOrderInsertErrorField

# Register CThostFtdcExchangeOrderInsertErrorField in _thosttraderapi:
_thosttraderapi.CThostFtdcExchangeOrderInsertErrorField_swigregister(CThostFtdcExchangeOrderInsertErrorField)
class CThostFtdcInputOrderActionField(object):
    r"""输入报单操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInputOrderActionField_BrokerID_get, _thosttraderapi.CThostFtdcInputOrderActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInputOrderActionField_InvestorID_get, _thosttraderapi.CThostFtdcInputOrderActionField_InvestorID_set, doc=r"""投资者代码""")
    OrderActionRef: "TThostFtdcOrderActionRefType" = property(_thosttraderapi.CThostFtdcInputOrderActionField_OrderActionRef_get, _thosttraderapi.CThostFtdcInputOrderActionField_OrderActionRef_set, doc=r"""报单操作引用""")
    OrderRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcInputOrderActionField_OrderRef_get, _thosttraderapi.CThostFtdcInputOrderActionField_OrderRef_set, doc=r"""报单引用""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcInputOrderActionField_RequestID_get, _thosttraderapi.CThostFtdcInputOrderActionField_RequestID_set, doc=r"""请求编号""")
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcInputOrderActionField_FrontID_get, _thosttraderapi.CThostFtdcInputOrderActionField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcInputOrderActionField_SessionID_get, _thosttraderapi.CThostFtdcInputOrderActionField_SessionID_set, doc=r"""会话编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcInputOrderActionField_ExchangeID_get, _thosttraderapi.CThostFtdcInputOrderActionField_ExchangeID_set, doc=r"""交易所代码""")
    OrderSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcInputOrderActionField_OrderSysID_get, _thosttraderapi.CThostFtdcInputOrderActionField_OrderSysID_set, doc=r"""报单编号""")
    ActionFlag: "TThostFtdcActionFlagType" = property(_thosttraderapi.CThostFtdcInputOrderActionField_ActionFlag_get, _thosttraderapi.CThostFtdcInputOrderActionField_ActionFlag_set, doc=r"""操作标志""")
    LimitPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcInputOrderActionField_LimitPrice_get, _thosttraderapi.CThostFtdcInputOrderActionField_LimitPrice_set, doc=r"""价格""")
    VolumeChange: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInputOrderActionField_VolumeChange_get, _thosttraderapi.CThostFtdcInputOrderActionField_VolumeChange_set, doc=r"""数量变化""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcInputOrderActionField_UserID_get, _thosttraderapi.CThostFtdcInputOrderActionField_UserID_set, doc=r"""用户代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInputOrderActionField_reserve1_get, _thosttraderapi.CThostFtdcInputOrderActionField_reserve1_set, doc=r"""保留的无效字段""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcInputOrderActionField_InvestUnitID_get, _thosttraderapi.CThostFtdcInputOrderActionField_InvestUnitID_set, doc=r"""投资单元代码""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcInputOrderActionField_reserve2_get, _thosttraderapi.CThostFtdcInputOrderActionField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcInputOrderActionField_MacAddress_get, _thosttraderapi.CThostFtdcInputOrderActionField_MacAddress_set, doc=r"""Mac地址""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInputOrderActionField_InstrumentID_get, _thosttraderapi.CThostFtdcInputOrderActionField_InstrumentID_set, doc=r"""合约代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcInputOrderActionField_IPAddress_get, _thosttraderapi.CThostFtdcInputOrderActionField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInputOrderActionField_swiginit(self, _thosttraderapi.new_CThostFtdcInputOrderActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInputOrderActionField

# Register CThostFtdcInputOrderActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcInputOrderActionField_swigregister(CThostFtdcInputOrderActionField)
class CThostFtdcOrderActionField(object):
    r"""报单操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcOrderActionField_BrokerID_get, _thosttraderapi.CThostFtdcOrderActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcOrderActionField_InvestorID_get, _thosttraderapi.CThostFtdcOrderActionField_InvestorID_set, doc=r"""投资者代码""")
    OrderActionRef: "TThostFtdcOrderActionRefType" = property(_thosttraderapi.CThostFtdcOrderActionField_OrderActionRef_get, _thosttraderapi.CThostFtdcOrderActionField_OrderActionRef_set, doc=r"""报单操作引用""")
    OrderRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcOrderActionField_OrderRef_get, _thosttraderapi.CThostFtdcOrderActionField_OrderRef_set, doc=r"""报单引用""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcOrderActionField_RequestID_get, _thosttraderapi.CThostFtdcOrderActionField_RequestID_set, doc=r"""请求编号""")
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcOrderActionField_FrontID_get, _thosttraderapi.CThostFtdcOrderActionField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcOrderActionField_SessionID_get, _thosttraderapi.CThostFtdcOrderActionField_SessionID_set, doc=r"""会话编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcOrderActionField_ExchangeID_get, _thosttraderapi.CThostFtdcOrderActionField_ExchangeID_set, doc=r"""交易所代码""")
    OrderSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcOrderActionField_OrderSysID_get, _thosttraderapi.CThostFtdcOrderActionField_OrderSysID_set, doc=r"""报单编号""")
    ActionFlag: "TThostFtdcActionFlagType" = property(_thosttraderapi.CThostFtdcOrderActionField_ActionFlag_get, _thosttraderapi.CThostFtdcOrderActionField_ActionFlag_set, doc=r"""操作标志""")
    LimitPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcOrderActionField_LimitPrice_get, _thosttraderapi.CThostFtdcOrderActionField_LimitPrice_set, doc=r"""价格""")
    VolumeChange: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcOrderActionField_VolumeChange_get, _thosttraderapi.CThostFtdcOrderActionField_VolumeChange_set, doc=r"""数量变化""")
    ActionDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcOrderActionField_ActionDate_get, _thosttraderapi.CThostFtdcOrderActionField_ActionDate_set, doc=r"""操作日期""")
    ActionTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcOrderActionField_ActionTime_get, _thosttraderapi.CThostFtdcOrderActionField_ActionTime_set, doc=r"""操作时间""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcOrderActionField_TraderID_get, _thosttraderapi.CThostFtdcOrderActionField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcOrderActionField_InstallID_get, _thosttraderapi.CThostFtdcOrderActionField_InstallID_set, doc=r"""安装编号""")
    OrderLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcOrderActionField_OrderLocalID_get, _thosttraderapi.CThostFtdcOrderActionField_OrderLocalID_set, doc=r"""本地报单编号""")
    ActionLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcOrderActionField_ActionLocalID_get, _thosttraderapi.CThostFtdcOrderActionField_ActionLocalID_set, doc=r"""操作本地编号""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcOrderActionField_ParticipantID_get, _thosttraderapi.CThostFtdcOrderActionField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcOrderActionField_ClientID_get, _thosttraderapi.CThostFtdcOrderActionField_ClientID_set, doc=r"""客户代码""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcOrderActionField_BusinessUnit_get, _thosttraderapi.CThostFtdcOrderActionField_BusinessUnit_set, doc=r"""业务单元""")
    OrderActionStatus: "TThostFtdcOrderActionStatusType" = property(_thosttraderapi.CThostFtdcOrderActionField_OrderActionStatus_get, _thosttraderapi.CThostFtdcOrderActionField_OrderActionStatus_set, doc=r"""报单操作状态""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcOrderActionField_UserID_get, _thosttraderapi.CThostFtdcOrderActionField_UserID_set, doc=r"""用户代码""")
    StatusMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcOrderActionField_StatusMsg_get, _thosttraderapi.CThostFtdcOrderActionField_StatusMsg_set, doc=r"""状态信息""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcOrderActionField_reserve1_get, _thosttraderapi.CThostFtdcOrderActionField_reserve1_set, doc=r"""保留的无效字段""")
    BranchID: "TThostFtdcBranchIDType" = property(_thosttraderapi.CThostFtdcOrderActionField_BranchID_get, _thosttraderapi.CThostFtdcOrderActionField_BranchID_set, doc=r"""营业部编号""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcOrderActionField_InvestUnitID_get, _thosttraderapi.CThostFtdcOrderActionField_InvestUnitID_set, doc=r"""投资单元代码""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcOrderActionField_reserve2_get, _thosttraderapi.CThostFtdcOrderActionField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcOrderActionField_MacAddress_get, _thosttraderapi.CThostFtdcOrderActionField_MacAddress_set, doc=r"""Mac地址""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcOrderActionField_InstrumentID_get, _thosttraderapi.CThostFtdcOrderActionField_InstrumentID_set, doc=r"""合约代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcOrderActionField_IPAddress_get, _thosttraderapi.CThostFtdcOrderActionField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcOrderActionField_swiginit(self, _thosttraderapi.new_CThostFtdcOrderActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcOrderActionField

# Register CThostFtdcOrderActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcOrderActionField_swigregister(CThostFtdcOrderActionField)
class CThostFtdcExchangeOrderActionField(object):
    r"""交易所报单操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionField_ExchangeID_get, _thosttraderapi.CThostFtdcExchangeOrderActionField_ExchangeID_set, doc=r"""交易所代码""")
    OrderSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionField_OrderSysID_get, _thosttraderapi.CThostFtdcExchangeOrderActionField_OrderSysID_set, doc=r"""报单编号""")
    ActionFlag: "TThostFtdcActionFlagType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionField_ActionFlag_get, _thosttraderapi.CThostFtdcExchangeOrderActionField_ActionFlag_set, doc=r"""操作标志""")
    LimitPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionField_LimitPrice_get, _thosttraderapi.CThostFtdcExchangeOrderActionField_LimitPrice_set, doc=r"""价格""")
    VolumeChange: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionField_VolumeChange_get, _thosttraderapi.CThostFtdcExchangeOrderActionField_VolumeChange_set, doc=r"""数量变化""")
    ActionDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionField_ActionDate_get, _thosttraderapi.CThostFtdcExchangeOrderActionField_ActionDate_set, doc=r"""操作日期""")
    ActionTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionField_ActionTime_get, _thosttraderapi.CThostFtdcExchangeOrderActionField_ActionTime_set, doc=r"""操作时间""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionField_TraderID_get, _thosttraderapi.CThostFtdcExchangeOrderActionField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionField_InstallID_get, _thosttraderapi.CThostFtdcExchangeOrderActionField_InstallID_set, doc=r"""安装编号""")
    OrderLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionField_OrderLocalID_get, _thosttraderapi.CThostFtdcExchangeOrderActionField_OrderLocalID_set, doc=r"""本地报单编号""")
    ActionLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionField_ActionLocalID_get, _thosttraderapi.CThostFtdcExchangeOrderActionField_ActionLocalID_set, doc=r"""操作本地编号""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionField_ParticipantID_get, _thosttraderapi.CThostFtdcExchangeOrderActionField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionField_ClientID_get, _thosttraderapi.CThostFtdcExchangeOrderActionField_ClientID_set, doc=r"""客户代码""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionField_BusinessUnit_get, _thosttraderapi.CThostFtdcExchangeOrderActionField_BusinessUnit_set, doc=r"""业务单元""")
    OrderActionStatus: "TThostFtdcOrderActionStatusType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionField_OrderActionStatus_get, _thosttraderapi.CThostFtdcExchangeOrderActionField_OrderActionStatus_set, doc=r"""报单操作状态""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionField_UserID_get, _thosttraderapi.CThostFtdcExchangeOrderActionField_UserID_set, doc=r"""用户代码""")
    BranchID: "TThostFtdcBranchIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionField_BranchID_get, _thosttraderapi.CThostFtdcExchangeOrderActionField_BranchID_set, doc=r"""营业部编号""")
    reserve1: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionField_reserve1_get, _thosttraderapi.CThostFtdcExchangeOrderActionField_reserve1_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionField_MacAddress_get, _thosttraderapi.CThostFtdcExchangeOrderActionField_MacAddress_set, doc=r"""Mac地址""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionField_IPAddress_get, _thosttraderapi.CThostFtdcExchangeOrderActionField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcExchangeOrderActionField_swiginit(self, _thosttraderapi.new_CThostFtdcExchangeOrderActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcExchangeOrderActionField

# Register CThostFtdcExchangeOrderActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcExchangeOrderActionField_swigregister(CThostFtdcExchangeOrderActionField)
class CThostFtdcExchangeOrderActionErrorField(object):
    r"""交易所报单操作失败"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionErrorField_ExchangeID_get, _thosttraderapi.CThostFtdcExchangeOrderActionErrorField_ExchangeID_set, doc=r"""交易所代码""")
    OrderSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionErrorField_OrderSysID_get, _thosttraderapi.CThostFtdcExchangeOrderActionErrorField_OrderSysID_set, doc=r"""报单编号""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionErrorField_TraderID_get, _thosttraderapi.CThostFtdcExchangeOrderActionErrorField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionErrorField_InstallID_get, _thosttraderapi.CThostFtdcExchangeOrderActionErrorField_InstallID_set, doc=r"""安装编号""")
    OrderLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionErrorField_OrderLocalID_get, _thosttraderapi.CThostFtdcExchangeOrderActionErrorField_OrderLocalID_set, doc=r"""本地报单编号""")
    ActionLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionErrorField_ActionLocalID_get, _thosttraderapi.CThostFtdcExchangeOrderActionErrorField_ActionLocalID_set, doc=r"""操作本地编号""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionErrorField_ErrorID_get, _thosttraderapi.CThostFtdcExchangeOrderActionErrorField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcExchangeOrderActionErrorField_ErrorMsg_get, _thosttraderapi.CThostFtdcExchangeOrderActionErrorField_ErrorMsg_set, doc=r"""错误信息""")

    def __init__(self):
        _thosttraderapi.CThostFtdcExchangeOrderActionErrorField_swiginit(self, _thosttraderapi.new_CThostFtdcExchangeOrderActionErrorField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcExchangeOrderActionErrorField

# Register CThostFtdcExchangeOrderActionErrorField in _thosttraderapi:
_thosttraderapi.CThostFtdcExchangeOrderActionErrorField_swigregister(CThostFtdcExchangeOrderActionErrorField)
class CThostFtdcExchangeTradeField(object):
    r"""交易所成交"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcExchangeTradeField_ExchangeID_get, _thosttraderapi.CThostFtdcExchangeTradeField_ExchangeID_set, doc=r"""交易所代码""")
    TradeID: "TThostFtdcTradeIDType" = property(_thosttraderapi.CThostFtdcExchangeTradeField_TradeID_get, _thosttraderapi.CThostFtdcExchangeTradeField_TradeID_set, doc=r"""成交编号""")
    Direction: "TThostFtdcDirectionType" = property(_thosttraderapi.CThostFtdcExchangeTradeField_Direction_get, _thosttraderapi.CThostFtdcExchangeTradeField_Direction_set, doc=r"""买卖方向""")
    OrderSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcExchangeTradeField_OrderSysID_get, _thosttraderapi.CThostFtdcExchangeTradeField_OrderSysID_set, doc=r"""报单编号""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcExchangeTradeField_ParticipantID_get, _thosttraderapi.CThostFtdcExchangeTradeField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcExchangeTradeField_ClientID_get, _thosttraderapi.CThostFtdcExchangeTradeField_ClientID_set, doc=r"""客户代码""")
    TradingRole: "TThostFtdcTradingRoleType" = property(_thosttraderapi.CThostFtdcExchangeTradeField_TradingRole_get, _thosttraderapi.CThostFtdcExchangeTradeField_TradingRole_set, doc=r"""交易角色""")
    reserve1: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcExchangeTradeField_reserve1_get, _thosttraderapi.CThostFtdcExchangeTradeField_reserve1_set, doc=r"""保留的无效字段""")
    OffsetFlag: "TThostFtdcOffsetFlagType" = property(_thosttraderapi.CThostFtdcExchangeTradeField_OffsetFlag_get, _thosttraderapi.CThostFtdcExchangeTradeField_OffsetFlag_set, doc=r"""开平标志""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcExchangeTradeField_HedgeFlag_get, _thosttraderapi.CThostFtdcExchangeTradeField_HedgeFlag_set, doc=r"""投机套保标志""")
    Price: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcExchangeTradeField_Price_get, _thosttraderapi.CThostFtdcExchangeTradeField_Price_set, doc=r"""价格""")
    Volume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcExchangeTradeField_Volume_get, _thosttraderapi.CThostFtdcExchangeTradeField_Volume_set, doc=r"""数量""")
    TradeDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcExchangeTradeField_TradeDate_get, _thosttraderapi.CThostFtdcExchangeTradeField_TradeDate_set, doc=r"""成交时期""")
    TradeTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcExchangeTradeField_TradeTime_get, _thosttraderapi.CThostFtdcExchangeTradeField_TradeTime_set, doc=r"""成交时间""")
    TradeType: "TThostFtdcTradeTypeType" = property(_thosttraderapi.CThostFtdcExchangeTradeField_TradeType_get, _thosttraderapi.CThostFtdcExchangeTradeField_TradeType_set, doc=r"""成交类型""")
    PriceSource: "TThostFtdcPriceSourceType" = property(_thosttraderapi.CThostFtdcExchangeTradeField_PriceSource_get, _thosttraderapi.CThostFtdcExchangeTradeField_PriceSource_set, doc=r"""成交价来源""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcExchangeTradeField_TraderID_get, _thosttraderapi.CThostFtdcExchangeTradeField_TraderID_set, doc=r"""交易所交易员代码""")
    OrderLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcExchangeTradeField_OrderLocalID_get, _thosttraderapi.CThostFtdcExchangeTradeField_OrderLocalID_set, doc=r"""本地报单编号""")
    ClearingPartID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcExchangeTradeField_ClearingPartID_get, _thosttraderapi.CThostFtdcExchangeTradeField_ClearingPartID_set, doc=r"""结算会员编号""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcExchangeTradeField_BusinessUnit_get, _thosttraderapi.CThostFtdcExchangeTradeField_BusinessUnit_set, doc=r"""业务单元""")
    SequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcExchangeTradeField_SequenceNo_get, _thosttraderapi.CThostFtdcExchangeTradeField_SequenceNo_set, doc=r"""序号""")
    TradeSource: "TThostFtdcTradeSourceType" = property(_thosttraderapi.CThostFtdcExchangeTradeField_TradeSource_get, _thosttraderapi.CThostFtdcExchangeTradeField_TradeSource_set, doc=r"""成交来源""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcExchangeTradeField_ExchangeInstID_get, _thosttraderapi.CThostFtdcExchangeTradeField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcExchangeTradeField_swiginit(self, _thosttraderapi.new_CThostFtdcExchangeTradeField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcExchangeTradeField

# Register CThostFtdcExchangeTradeField in _thosttraderapi:
_thosttraderapi.CThostFtdcExchangeTradeField_swigregister(CThostFtdcExchangeTradeField)
class CThostFtdcTradeField(object):
    r"""成交"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcTradeField_BrokerID_get, _thosttraderapi.CThostFtdcTradeField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcTradeField_InvestorID_get, _thosttraderapi.CThostFtdcTradeField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcTradeField_reserve1_get, _thosttraderapi.CThostFtdcTradeField_reserve1_set, doc=r"""保留的无效字段""")
    OrderRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcTradeField_OrderRef_get, _thosttraderapi.CThostFtdcTradeField_OrderRef_set, doc=r"""报单引用""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcTradeField_UserID_get, _thosttraderapi.CThostFtdcTradeField_UserID_set, doc=r"""用户代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcTradeField_ExchangeID_get, _thosttraderapi.CThostFtdcTradeField_ExchangeID_set, doc=r"""交易所代码""")
    TradeID: "TThostFtdcTradeIDType" = property(_thosttraderapi.CThostFtdcTradeField_TradeID_get, _thosttraderapi.CThostFtdcTradeField_TradeID_set, doc=r"""成交编号""")
    Direction: "TThostFtdcDirectionType" = property(_thosttraderapi.CThostFtdcTradeField_Direction_get, _thosttraderapi.CThostFtdcTradeField_Direction_set, doc=r"""买卖方向""")
    OrderSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcTradeField_OrderSysID_get, _thosttraderapi.CThostFtdcTradeField_OrderSysID_set, doc=r"""报单编号""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcTradeField_ParticipantID_get, _thosttraderapi.CThostFtdcTradeField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcTradeField_ClientID_get, _thosttraderapi.CThostFtdcTradeField_ClientID_set, doc=r"""客户代码""")
    TradingRole: "TThostFtdcTradingRoleType" = property(_thosttraderapi.CThostFtdcTradeField_TradingRole_get, _thosttraderapi.CThostFtdcTradeField_TradingRole_set, doc=r"""交易角色""")
    reserve2: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcTradeField_reserve2_get, _thosttraderapi.CThostFtdcTradeField_reserve2_set, doc=r"""保留的无效字段""")
    OffsetFlag: "TThostFtdcOffsetFlagType" = property(_thosttraderapi.CThostFtdcTradeField_OffsetFlag_get, _thosttraderapi.CThostFtdcTradeField_OffsetFlag_set, doc=r"""开平标志""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcTradeField_HedgeFlag_get, _thosttraderapi.CThostFtdcTradeField_HedgeFlag_set, doc=r"""投机套保标志""")
    Price: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcTradeField_Price_get, _thosttraderapi.CThostFtdcTradeField_Price_set, doc=r"""价格""")
    Volume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcTradeField_Volume_get, _thosttraderapi.CThostFtdcTradeField_Volume_set, doc=r"""数量""")
    TradeDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcTradeField_TradeDate_get, _thosttraderapi.CThostFtdcTradeField_TradeDate_set, doc=r"""成交时期""")
    TradeTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcTradeField_TradeTime_get, _thosttraderapi.CThostFtdcTradeField_TradeTime_set, doc=r"""成交时间""")
    TradeType: "TThostFtdcTradeTypeType" = property(_thosttraderapi.CThostFtdcTradeField_TradeType_get, _thosttraderapi.CThostFtdcTradeField_TradeType_set, doc=r"""成交类型""")
    PriceSource: "TThostFtdcPriceSourceType" = property(_thosttraderapi.CThostFtdcTradeField_PriceSource_get, _thosttraderapi.CThostFtdcTradeField_PriceSource_set, doc=r"""成交价来源""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcTradeField_TraderID_get, _thosttraderapi.CThostFtdcTradeField_TraderID_set, doc=r"""交易所交易员代码""")
    OrderLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcTradeField_OrderLocalID_get, _thosttraderapi.CThostFtdcTradeField_OrderLocalID_set, doc=r"""本地报单编号""")
    ClearingPartID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcTradeField_ClearingPartID_get, _thosttraderapi.CThostFtdcTradeField_ClearingPartID_set, doc=r"""结算会员编号""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcTradeField_BusinessUnit_get, _thosttraderapi.CThostFtdcTradeField_BusinessUnit_set, doc=r"""业务单元""")
    SequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcTradeField_SequenceNo_get, _thosttraderapi.CThostFtdcTradeField_SequenceNo_set, doc=r"""序号""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcTradeField_TradingDay_get, _thosttraderapi.CThostFtdcTradeField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcTradeField_SettlementID_get, _thosttraderapi.CThostFtdcTradeField_SettlementID_set, doc=r"""结算编号""")
    BrokerOrderSeq: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcTradeField_BrokerOrderSeq_get, _thosttraderapi.CThostFtdcTradeField_BrokerOrderSeq_set, doc=r"""经纪公司报单编号""")
    TradeSource: "TThostFtdcTradeSourceType" = property(_thosttraderapi.CThostFtdcTradeField_TradeSource_get, _thosttraderapi.CThostFtdcTradeField_TradeSource_set, doc=r"""成交来源""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcTradeField_InvestUnitID_get, _thosttraderapi.CThostFtdcTradeField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcTradeField_InstrumentID_get, _thosttraderapi.CThostFtdcTradeField_InstrumentID_set, doc=r"""合约代码""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcTradeField_ExchangeInstID_get, _thosttraderapi.CThostFtdcTradeField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcTradeField_swiginit(self, _thosttraderapi.new_CThostFtdcTradeField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTradeField

# Register CThostFtdcTradeField in _thosttraderapi:
_thosttraderapi.CThostFtdcTradeField_swigregister(CThostFtdcTradeField)
class CThostFtdcUserSessionField(object):
    r"""用户会话"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcUserSessionField_FrontID_get, _thosttraderapi.CThostFtdcUserSessionField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcUserSessionField_SessionID_get, _thosttraderapi.CThostFtdcUserSessionField_SessionID_set, doc=r"""会话编号""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcUserSessionField_BrokerID_get, _thosttraderapi.CThostFtdcUserSessionField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcUserSessionField_UserID_get, _thosttraderapi.CThostFtdcUserSessionField_UserID_set, doc=r"""用户代码""")
    LoginDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcUserSessionField_LoginDate_get, _thosttraderapi.CThostFtdcUserSessionField_LoginDate_set, doc=r"""登录日期""")
    LoginTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcUserSessionField_LoginTime_get, _thosttraderapi.CThostFtdcUserSessionField_LoginTime_set, doc=r"""登录时间""")
    reserve1: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcUserSessionField_reserve1_get, _thosttraderapi.CThostFtdcUserSessionField_reserve1_set, doc=r"""保留的无效字段""")
    UserProductInfo: "TThostFtdcProductInfoType" = property(_thosttraderapi.CThostFtdcUserSessionField_UserProductInfo_get, _thosttraderapi.CThostFtdcUserSessionField_UserProductInfo_set, doc=r"""用户端产品信息""")
    InterfaceProductInfo: "TThostFtdcProductInfoType" = property(_thosttraderapi.CThostFtdcUserSessionField_InterfaceProductInfo_get, _thosttraderapi.CThostFtdcUserSessionField_InterfaceProductInfo_set, doc=r"""接口端产品信息""")
    ProtocolInfo: "TThostFtdcProtocolInfoType" = property(_thosttraderapi.CThostFtdcUserSessionField_ProtocolInfo_get, _thosttraderapi.CThostFtdcUserSessionField_ProtocolInfo_set, doc=r"""协议信息""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcUserSessionField_MacAddress_get, _thosttraderapi.CThostFtdcUserSessionField_MacAddress_set, doc=r"""Mac地址""")
    LoginRemark: "TThostFtdcLoginRemarkType" = property(_thosttraderapi.CThostFtdcUserSessionField_LoginRemark_get, _thosttraderapi.CThostFtdcUserSessionField_LoginRemark_set, doc=r"""登录备注""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcUserSessionField_IPAddress_get, _thosttraderapi.CThostFtdcUserSessionField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcUserSessionField_swiginit(self, _thosttraderapi.new_CThostFtdcUserSessionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcUserSessionField

# Register CThostFtdcUserSessionField in _thosttraderapi:
_thosttraderapi.CThostFtdcUserSessionField_swigregister(CThostFtdcUserSessionField)
class CThostFtdcQryMaxOrderVolumeField(object):
    r"""查询最大报单数量"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryMaxOrderVolumeField_BrokerID_get, _thosttraderapi.CThostFtdcQryMaxOrderVolumeField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryMaxOrderVolumeField_InvestorID_get, _thosttraderapi.CThostFtdcQryMaxOrderVolumeField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryMaxOrderVolumeField_reserve1_get, _thosttraderapi.CThostFtdcQryMaxOrderVolumeField_reserve1_set, doc=r"""保留的无效字段""")
    Direction: "TThostFtdcDirectionType" = property(_thosttraderapi.CThostFtdcQryMaxOrderVolumeField_Direction_get, _thosttraderapi.CThostFtdcQryMaxOrderVolumeField_Direction_set, doc=r"""买卖方向""")
    OffsetFlag: "TThostFtdcOffsetFlagType" = property(_thosttraderapi.CThostFtdcQryMaxOrderVolumeField_OffsetFlag_get, _thosttraderapi.CThostFtdcQryMaxOrderVolumeField_OffsetFlag_set, doc=r"""开平标志""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcQryMaxOrderVolumeField_HedgeFlag_get, _thosttraderapi.CThostFtdcQryMaxOrderVolumeField_HedgeFlag_set, doc=r"""投机套保标志""")
    MaxVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcQryMaxOrderVolumeField_MaxVolume_get, _thosttraderapi.CThostFtdcQryMaxOrderVolumeField_MaxVolume_set, doc=r"""最大允许报单数量""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryMaxOrderVolumeField_ExchangeID_get, _thosttraderapi.CThostFtdcQryMaxOrderVolumeField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQryMaxOrderVolumeField_InvestUnitID_get, _thosttraderapi.CThostFtdcQryMaxOrderVolumeField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryMaxOrderVolumeField_InstrumentID_get, _thosttraderapi.CThostFtdcQryMaxOrderVolumeField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryMaxOrderVolumeField_swiginit(self, _thosttraderapi.new_CThostFtdcQryMaxOrderVolumeField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryMaxOrderVolumeField

# Register CThostFtdcQryMaxOrderVolumeField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryMaxOrderVolumeField_swigregister(CThostFtdcQryMaxOrderVolumeField)
class CThostFtdcSettlementInfoConfirmField(object):
    r"""投资者结算结果确认信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSettlementInfoConfirmField_BrokerID_get, _thosttraderapi.CThostFtdcSettlementInfoConfirmField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSettlementInfoConfirmField_InvestorID_get, _thosttraderapi.CThostFtdcSettlementInfoConfirmField_InvestorID_set, doc=r"""投资者代码""")
    ConfirmDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcSettlementInfoConfirmField_ConfirmDate_get, _thosttraderapi.CThostFtdcSettlementInfoConfirmField_ConfirmDate_set, doc=r"""确认日期""")
    ConfirmTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcSettlementInfoConfirmField_ConfirmTime_get, _thosttraderapi.CThostFtdcSettlementInfoConfirmField_ConfirmTime_set, doc=r"""确认时间""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcSettlementInfoConfirmField_SettlementID_get, _thosttraderapi.CThostFtdcSettlementInfoConfirmField_SettlementID_set, doc=r"""结算编号""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcSettlementInfoConfirmField_AccountID_get, _thosttraderapi.CThostFtdcSettlementInfoConfirmField_AccountID_set, doc=r"""投资者帐号""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcSettlementInfoConfirmField_CurrencyID_get, _thosttraderapi.CThostFtdcSettlementInfoConfirmField_CurrencyID_set, doc=r"""币种代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSettlementInfoConfirmField_swiginit(self, _thosttraderapi.new_CThostFtdcSettlementInfoConfirmField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSettlementInfoConfirmField

# Register CThostFtdcSettlementInfoConfirmField in _thosttraderapi:
_thosttraderapi.CThostFtdcSettlementInfoConfirmField_swigregister(CThostFtdcSettlementInfoConfirmField)
class CThostFtdcSyncDepositField(object):
    r"""出入金同步"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    DepositSeqNo: "TThostFtdcDepositSeqNoType" = property(_thosttraderapi.CThostFtdcSyncDepositField_DepositSeqNo_get, _thosttraderapi.CThostFtdcSyncDepositField_DepositSeqNo_set, doc=r"""出入金流水号""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncDepositField_BrokerID_get, _thosttraderapi.CThostFtdcSyncDepositField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSyncDepositField_InvestorID_get, _thosttraderapi.CThostFtdcSyncDepositField_InvestorID_set, doc=r"""投资者代码""")
    Deposit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDepositField_Deposit_get, _thosttraderapi.CThostFtdcSyncDepositField_Deposit_set, doc=r"""入金金额""")
    IsForce: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcSyncDepositField_IsForce_get, _thosttraderapi.CThostFtdcSyncDepositField_IsForce_set, doc=r"""是否强制进行""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcSyncDepositField_CurrencyID_get, _thosttraderapi.CThostFtdcSyncDepositField_CurrencyID_set, doc=r"""币种代码""")
    IsFromSopt: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcSyncDepositField_IsFromSopt_get, _thosttraderapi.CThostFtdcSyncDepositField_IsFromSopt_set, doc=r"""是否是个股期权内转""")
    TradingPassword: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcSyncDepositField_TradingPassword_get, _thosttraderapi.CThostFtdcSyncDepositField_TradingPassword_set, doc=r"""资金密码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncDepositField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncDepositField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncDepositField

# Register CThostFtdcSyncDepositField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncDepositField_swigregister(CThostFtdcSyncDepositField)
class CThostFtdcSyncFundMortgageField(object):
    r"""货币质押同步"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    MortgageSeqNo: "TThostFtdcDepositSeqNoType" = property(_thosttraderapi.CThostFtdcSyncFundMortgageField_MortgageSeqNo_get, _thosttraderapi.CThostFtdcSyncFundMortgageField_MortgageSeqNo_set, doc=r"""货币质押流水号""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncFundMortgageField_BrokerID_get, _thosttraderapi.CThostFtdcSyncFundMortgageField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSyncFundMortgageField_InvestorID_get, _thosttraderapi.CThostFtdcSyncFundMortgageField_InvestorID_set, doc=r"""投资者代码""")
    FromCurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcSyncFundMortgageField_FromCurrencyID_get, _thosttraderapi.CThostFtdcSyncFundMortgageField_FromCurrencyID_set, doc=r"""源币种""")
    MortgageAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncFundMortgageField_MortgageAmount_get, _thosttraderapi.CThostFtdcSyncFundMortgageField_MortgageAmount_set, doc=r"""质押金额""")
    ToCurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcSyncFundMortgageField_ToCurrencyID_get, _thosttraderapi.CThostFtdcSyncFundMortgageField_ToCurrencyID_set, doc=r"""目标币种""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncFundMortgageField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncFundMortgageField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncFundMortgageField

# Register CThostFtdcSyncFundMortgageField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncFundMortgageField_swigregister(CThostFtdcSyncFundMortgageField)
class CThostFtdcBrokerSyncField(object):
    r"""经纪公司同步"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcBrokerSyncField_BrokerID_get, _thosttraderapi.CThostFtdcBrokerSyncField_BrokerID_set, doc=r"""经纪公司代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcBrokerSyncField_swiginit(self, _thosttraderapi.new_CThostFtdcBrokerSyncField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcBrokerSyncField

# Register CThostFtdcBrokerSyncField in _thosttraderapi:
_thosttraderapi.CThostFtdcBrokerSyncField_swigregister(CThostFtdcBrokerSyncField)
class CThostFtdcSyncingInvestorField(object):
    r"""正在同步中的投资者"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSyncingInvestorField_InvestorID_get, _thosttraderapi.CThostFtdcSyncingInvestorField_InvestorID_set, doc=r"""投资者代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncingInvestorField_BrokerID_get, _thosttraderapi.CThostFtdcSyncingInvestorField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorGroupID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSyncingInvestorField_InvestorGroupID_get, _thosttraderapi.CThostFtdcSyncingInvestorField_InvestorGroupID_set, doc=r"""投资者分组代码""")
    InvestorName: "TThostFtdcPartyNameType" = property(_thosttraderapi.CThostFtdcSyncingInvestorField_InvestorName_get, _thosttraderapi.CThostFtdcSyncingInvestorField_InvestorName_set, doc=r"""投资者名称""")
    IdentifiedCardType: "TThostFtdcIdCardTypeType" = property(_thosttraderapi.CThostFtdcSyncingInvestorField_IdentifiedCardType_get, _thosttraderapi.CThostFtdcSyncingInvestorField_IdentifiedCardType_set, doc=r"""证件类型""")
    IdentifiedCardNo: "TThostFtdcIdentifiedCardNoType" = property(_thosttraderapi.CThostFtdcSyncingInvestorField_IdentifiedCardNo_get, _thosttraderapi.CThostFtdcSyncingInvestorField_IdentifiedCardNo_set, doc=r"""证件号码""")
    IsActive: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcSyncingInvestorField_IsActive_get, _thosttraderapi.CThostFtdcSyncingInvestorField_IsActive_set, doc=r"""是否活跃""")
    Telephone: "TThostFtdcTelephoneType" = property(_thosttraderapi.CThostFtdcSyncingInvestorField_Telephone_get, _thosttraderapi.CThostFtdcSyncingInvestorField_Telephone_set, doc=r"""联系电话""")
    Address: "TThostFtdcAddressType" = property(_thosttraderapi.CThostFtdcSyncingInvestorField_Address_get, _thosttraderapi.CThostFtdcSyncingInvestorField_Address_set, doc=r"""通讯地址""")
    OpenDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcSyncingInvestorField_OpenDate_get, _thosttraderapi.CThostFtdcSyncingInvestorField_OpenDate_set, doc=r"""开户日期""")
    Mobile: "TThostFtdcMobileType" = property(_thosttraderapi.CThostFtdcSyncingInvestorField_Mobile_get, _thosttraderapi.CThostFtdcSyncingInvestorField_Mobile_set, doc=r"""手机""")
    CommModelID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSyncingInvestorField_CommModelID_get, _thosttraderapi.CThostFtdcSyncingInvestorField_CommModelID_set, doc=r"""手续费率模板代码""")
    MarginModelID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSyncingInvestorField_MarginModelID_get, _thosttraderapi.CThostFtdcSyncingInvestorField_MarginModelID_set, doc=r"""保证金率模板代码""")
    IsOrderFreq: "TThostFtdcEnumBoolType" = property(_thosttraderapi.CThostFtdcSyncingInvestorField_IsOrderFreq_get, _thosttraderapi.CThostFtdcSyncingInvestorField_IsOrderFreq_set, doc=r"""是否频率控制""")
    IsOpenVolLimit: "TThostFtdcEnumBoolType" = property(_thosttraderapi.CThostFtdcSyncingInvestorField_IsOpenVolLimit_get, _thosttraderapi.CThostFtdcSyncingInvestorField_IsOpenVolLimit_set, doc=r"""是否开仓限制""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncingInvestorField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncingInvestorField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncingInvestorField

# Register CThostFtdcSyncingInvestorField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncingInvestorField_swigregister(CThostFtdcSyncingInvestorField)
class CThostFtdcSyncingTradingCodeField(object):
    r"""正在同步中的交易代码"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSyncingTradingCodeField_InvestorID_get, _thosttraderapi.CThostFtdcSyncingTradingCodeField_InvestorID_set, doc=r"""投资者代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncingTradingCodeField_BrokerID_get, _thosttraderapi.CThostFtdcSyncingTradingCodeField_BrokerID_set, doc=r"""经纪公司代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcSyncingTradingCodeField_ExchangeID_get, _thosttraderapi.CThostFtdcSyncingTradingCodeField_ExchangeID_set, doc=r"""交易所代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcSyncingTradingCodeField_ClientID_get, _thosttraderapi.CThostFtdcSyncingTradingCodeField_ClientID_set, doc=r"""客户代码""")
    IsActive: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcSyncingTradingCodeField_IsActive_get, _thosttraderapi.CThostFtdcSyncingTradingCodeField_IsActive_set, doc=r"""是否活跃""")
    ClientIDType: "TThostFtdcClientIDTypeType" = property(_thosttraderapi.CThostFtdcSyncingTradingCodeField_ClientIDType_get, _thosttraderapi.CThostFtdcSyncingTradingCodeField_ClientIDType_set, doc=r"""交易编码类型""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncingTradingCodeField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncingTradingCodeField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncingTradingCodeField

# Register CThostFtdcSyncingTradingCodeField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncingTradingCodeField_swigregister(CThostFtdcSyncingTradingCodeField)
class CThostFtdcSyncingInvestorGroupField(object):
    r"""正在同步中的投资者分组"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncingInvestorGroupField_BrokerID_get, _thosttraderapi.CThostFtdcSyncingInvestorGroupField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorGroupID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSyncingInvestorGroupField_InvestorGroupID_get, _thosttraderapi.CThostFtdcSyncingInvestorGroupField_InvestorGroupID_set, doc=r"""投资者分组代码""")
    InvestorGroupName: "TThostFtdcInvestorGroupNameType" = property(_thosttraderapi.CThostFtdcSyncingInvestorGroupField_InvestorGroupName_get, _thosttraderapi.CThostFtdcSyncingInvestorGroupField_InvestorGroupName_set, doc=r"""投资者分组名称""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncingInvestorGroupField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncingInvestorGroupField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncingInvestorGroupField

# Register CThostFtdcSyncingInvestorGroupField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncingInvestorGroupField_swigregister(CThostFtdcSyncingInvestorGroupField)
class CThostFtdcSyncingTradingAccountField(object):
    r"""正在同步中的交易账号"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_BrokerID_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_BrokerID_set, doc=r"""经纪公司代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_AccountID_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_AccountID_set, doc=r"""投资者帐号""")
    PreMortgage: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_PreMortgage_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_PreMortgage_set, doc=r"""上次质押金额""")
    PreCredit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_PreCredit_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_PreCredit_set, doc=r"""上次信用额度""")
    PreDeposit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_PreDeposit_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_PreDeposit_set, doc=r"""上次存款额""")
    PreBalance: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_PreBalance_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_PreBalance_set, doc=r"""上次结算准备金""")
    PreMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_PreMargin_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_PreMargin_set, doc=r"""上次占用的保证金""")
    InterestBase: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_InterestBase_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_InterestBase_set, doc=r"""利息基数""")
    Interest: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_Interest_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_Interest_set, doc=r"""利息收入""")
    Deposit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_Deposit_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_Deposit_set, doc=r"""入金金额""")
    Withdraw: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_Withdraw_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_Withdraw_set, doc=r"""出金金额""")
    FrozenMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_FrozenMargin_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_FrozenMargin_set, doc=r"""冻结的保证金""")
    FrozenCash: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_FrozenCash_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_FrozenCash_set, doc=r"""冻结的资金""")
    FrozenCommission: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_FrozenCommission_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_FrozenCommission_set, doc=r"""冻结的手续费""")
    CurrMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_CurrMargin_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_CurrMargin_set, doc=r"""当前保证金总额""")
    CashIn: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_CashIn_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_CashIn_set, doc=r"""资金差额""")
    Commission: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_Commission_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_Commission_set, doc=r"""手续费""")
    CloseProfit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_CloseProfit_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_CloseProfit_set, doc=r"""平仓盈亏""")
    PositionProfit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_PositionProfit_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_PositionProfit_set, doc=r"""持仓盈亏""")
    Balance: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_Balance_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_Balance_set, doc=r"""期货结算准备金""")
    Available: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_Available_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_Available_set, doc=r"""可用资金""")
    WithdrawQuota: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_WithdrawQuota_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_WithdrawQuota_set, doc=r"""可取资金""")
    Reserve: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_Reserve_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_Reserve_set, doc=r"""基本准备金""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_TradingDay_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_SettlementID_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_SettlementID_set, doc=r"""结算编号""")
    Credit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_Credit_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_Credit_set, doc=r"""信用额度""")
    Mortgage: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_Mortgage_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_Mortgage_set, doc=r"""质押金额""")
    ExchangeMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_ExchangeMargin_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_ExchangeMargin_set, doc=r"""交易所保证金""")
    DeliveryMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_DeliveryMargin_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_DeliveryMargin_set, doc=r"""投资者交割保证金""")
    ExchangeDeliveryMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_ExchangeDeliveryMargin_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_ExchangeDeliveryMargin_set, doc=r"""交易所交割保证金""")
    ReserveBalance: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_ReserveBalance_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_ReserveBalance_set, doc=r"""保底期货结算准备金""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_CurrencyID_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_CurrencyID_set, doc=r"""币种代码""")
    PreFundMortgageIn: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_PreFundMortgageIn_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_PreFundMortgageIn_set, doc=r"""上次货币质入金额""")
    PreFundMortgageOut: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_PreFundMortgageOut_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_PreFundMortgageOut_set, doc=r"""上次货币质出金额""")
    FundMortgageIn: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_FundMortgageIn_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_FundMortgageIn_set, doc=r"""货币质入金额""")
    FundMortgageOut: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_FundMortgageOut_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_FundMortgageOut_set, doc=r"""货币质出金额""")
    FundMortgageAvailable: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_FundMortgageAvailable_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_FundMortgageAvailable_set, doc=r"""货币质押余额""")
    MortgageableFund: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_MortgageableFund_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_MortgageableFund_set, doc=r"""可质押货币金额""")
    SpecProductMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_SpecProductMargin_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_SpecProductMargin_set, doc=r"""特殊产品占用保证金""")
    SpecProductFrozenMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_SpecProductFrozenMargin_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_SpecProductFrozenMargin_set, doc=r"""特殊产品冻结保证金""")
    SpecProductCommission: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_SpecProductCommission_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_SpecProductCommission_set, doc=r"""特殊产品手续费""")
    SpecProductFrozenCommission: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_SpecProductFrozenCommission_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_SpecProductFrozenCommission_set, doc=r"""特殊产品冻结手续费""")
    SpecProductPositionProfit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_SpecProductPositionProfit_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_SpecProductPositionProfit_set, doc=r"""特殊产品持仓盈亏""")
    SpecProductCloseProfit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_SpecProductCloseProfit_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_SpecProductCloseProfit_set, doc=r"""特殊产品平仓盈亏""")
    SpecProductPositionProfitByAlg: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_SpecProductPositionProfitByAlg_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_SpecProductPositionProfitByAlg_set, doc=r"""根据持仓盈亏算法计算的特殊产品持仓盈亏""")
    SpecProductExchangeMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_SpecProductExchangeMargin_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_SpecProductExchangeMargin_set, doc=r"""特殊产品交易所保证金""")
    FrozenSwap: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_FrozenSwap_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_FrozenSwap_set, doc=r"""延时换汇冻结金额""")
    RemainSwap: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingTradingAccountField_RemainSwap_get, _thosttraderapi.CThostFtdcSyncingTradingAccountField_RemainSwap_set, doc=r"""剩余换汇额度""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncingTradingAccountField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncingTradingAccountField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncingTradingAccountField

# Register CThostFtdcSyncingTradingAccountField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncingTradingAccountField_swigregister(CThostFtdcSyncingTradingAccountField)
class CThostFtdcSyncingInvestorPositionField(object):
    r"""正在同步中的投资者持仓"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_reserve1_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_reserve1_set, doc=r"""保留的无效字段""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_BrokerID_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_InvestorID_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_InvestorID_set, doc=r"""投资者代码""")
    PosiDirection: "TThostFtdcPosiDirectionType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_PosiDirection_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_PosiDirection_set, doc=r"""持仓多空方向""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_HedgeFlag_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_HedgeFlag_set, doc=r"""投机套保标志""")
    PositionDate: "TThostFtdcPositionDateType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_PositionDate_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_PositionDate_set, doc=r"""持仓日期""")
    YdPosition: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_YdPosition_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_YdPosition_set, doc=r"""上日持仓""")
    Position: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_Position_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_Position_set, doc=r"""今日持仓""")
    LongFrozen: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_LongFrozen_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_LongFrozen_set, doc=r"""多头冻结""")
    ShortFrozen: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_ShortFrozen_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_ShortFrozen_set, doc=r"""空头冻结""")
    LongFrozenAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_LongFrozenAmount_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_LongFrozenAmount_set, doc=r"""开仓冻结金额""")
    ShortFrozenAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_ShortFrozenAmount_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_ShortFrozenAmount_set, doc=r"""开仓冻结金额""")
    OpenVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_OpenVolume_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_OpenVolume_set, doc=r"""开仓量""")
    CloseVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_CloseVolume_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_CloseVolume_set, doc=r"""平仓量""")
    OpenAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_OpenAmount_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_OpenAmount_set, doc=r"""开仓金额""")
    CloseAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_CloseAmount_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_CloseAmount_set, doc=r"""平仓金额""")
    PositionCost: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_PositionCost_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_PositionCost_set, doc=r"""持仓成本""")
    PreMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_PreMargin_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_PreMargin_set, doc=r"""上次占用的保证金""")
    UseMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_UseMargin_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_UseMargin_set, doc=r"""占用的保证金""")
    FrozenMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_FrozenMargin_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_FrozenMargin_set, doc=r"""冻结的保证金""")
    FrozenCash: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_FrozenCash_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_FrozenCash_set, doc=r"""冻结的资金""")
    FrozenCommission: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_FrozenCommission_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_FrozenCommission_set, doc=r"""冻结的手续费""")
    CashIn: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_CashIn_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_CashIn_set, doc=r"""资金差额""")
    Commission: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_Commission_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_Commission_set, doc=r"""手续费""")
    CloseProfit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_CloseProfit_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_CloseProfit_set, doc=r"""平仓盈亏""")
    PositionProfit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_PositionProfit_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_PositionProfit_set, doc=r"""持仓盈亏""")
    PreSettlementPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_PreSettlementPrice_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_PreSettlementPrice_set, doc=r"""上次结算价""")
    SettlementPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_SettlementPrice_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_SettlementPrice_set, doc=r"""本次结算价""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_TradingDay_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_SettlementID_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_SettlementID_set, doc=r"""结算编号""")
    OpenCost: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_OpenCost_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_OpenCost_set, doc=r"""开仓成本""")
    ExchangeMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_ExchangeMargin_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_ExchangeMargin_set, doc=r"""交易所保证金""")
    CombPosition: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_CombPosition_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_CombPosition_set, doc=r"""组合成交形成的持仓""")
    CombLongFrozen: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_CombLongFrozen_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_CombLongFrozen_set, doc=r"""组合多头冻结""")
    CombShortFrozen: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_CombShortFrozen_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_CombShortFrozen_set, doc=r"""组合空头冻结""")
    CloseProfitByDate: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_CloseProfitByDate_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_CloseProfitByDate_set, doc=r"""逐日盯市平仓盈亏""")
    CloseProfitByTrade: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_CloseProfitByTrade_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_CloseProfitByTrade_set, doc=r"""逐笔对冲平仓盈亏""")
    TodayPosition: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_TodayPosition_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_TodayPosition_set, doc=r"""今日持仓""")
    MarginRateByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_MarginRateByMoney_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_MarginRateByMoney_set, doc=r"""保证金率""")
    MarginRateByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_MarginRateByVolume_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_MarginRateByVolume_set, doc=r"""保证金率(按手数)""")
    StrikeFrozen: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_StrikeFrozen_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_StrikeFrozen_set, doc=r"""执行冻结""")
    StrikeFrozenAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_StrikeFrozenAmount_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_StrikeFrozenAmount_set, doc=r"""执行冻结金额""")
    AbandonFrozen: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_AbandonFrozen_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_AbandonFrozen_set, doc=r"""放弃执行冻结""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_ExchangeID_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_ExchangeID_set, doc=r"""交易所代码""")
    YdStrikeFrozen: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_YdStrikeFrozen_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_YdStrikeFrozen_set, doc=r"""执行冻结的昨仓""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_InvestUnitID_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_InvestUnitID_set, doc=r"""投资单元代码""")
    PositionCostOffset: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_PositionCostOffset_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_PositionCostOffset_set, doc=r"""持仓成本差值""")
    TasPosition: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_TasPosition_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_TasPosition_set, doc=r"""tas持仓手数""")
    TasPositionCost: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_TasPositionCost_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_TasPositionCost_set, doc=r"""tas持仓成本""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncingInvestorPositionField_InstrumentID_get, _thosttraderapi.CThostFtdcSyncingInvestorPositionField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncingInvestorPositionField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncingInvestorPositionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncingInvestorPositionField

# Register CThostFtdcSyncingInvestorPositionField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncingInvestorPositionField_swigregister(CThostFtdcSyncingInvestorPositionField)
class CThostFtdcSyncingInstrumentMarginRateField(object):
    r"""正在同步中的合约保证金率"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_reserve1_get, _thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_reserve1_set, doc=r"""保留的无效字段""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_InvestorRange_get, _thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_BrokerID_get, _thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_InvestorID_get, _thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_InvestorID_set, doc=r"""投资者代码""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_HedgeFlag_get, _thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_HedgeFlag_set, doc=r"""投机套保标志""")
    LongMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_LongMarginRatioByMoney_get, _thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_LongMarginRatioByMoney_set, doc=r"""多头保证金率""")
    LongMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_LongMarginRatioByVolume_get, _thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_LongMarginRatioByVolume_set, doc=r"""多头保证金费""")
    ShortMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_ShortMarginRatioByMoney_get, _thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_ShortMarginRatioByMoney_set, doc=r"""空头保证金率""")
    ShortMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_ShortMarginRatioByVolume_get, _thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_ShortMarginRatioByVolume_set, doc=r"""空头保证金费""")
    IsRelative: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_IsRelative_get, _thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_IsRelative_set, doc=r"""是否相对交易所收取""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_InstrumentID_get, _thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncingInstrumentMarginRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncingInstrumentMarginRateField

# Register CThostFtdcSyncingInstrumentMarginRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncingInstrumentMarginRateField_swigregister(CThostFtdcSyncingInstrumentMarginRateField)
class CThostFtdcSyncingInstrumentCommissionRateField(object):
    r"""正在同步中的合约手续费率"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_reserve1_get, _thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_reserve1_set, doc=r"""保留的无效字段""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_InvestorRange_get, _thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_BrokerID_get, _thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_InvestorID_get, _thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_InvestorID_set, doc=r"""投资者代码""")
    OpenRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_OpenRatioByMoney_get, _thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_OpenRatioByMoney_set, doc=r"""开仓手续费率""")
    OpenRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_OpenRatioByVolume_get, _thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_OpenRatioByVolume_set, doc=r"""开仓手续费""")
    CloseRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_CloseRatioByMoney_get, _thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_CloseRatioByMoney_set, doc=r"""平仓手续费率""")
    CloseRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_CloseRatioByVolume_get, _thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_CloseRatioByVolume_set, doc=r"""平仓手续费""")
    CloseTodayRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_CloseTodayRatioByMoney_get, _thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_CloseTodayRatioByMoney_set, doc=r"""平今手续费率""")
    CloseTodayRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_CloseTodayRatioByVolume_get, _thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_CloseTodayRatioByVolume_set, doc=r"""平今手续费""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_InstrumentID_get, _thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncingInstrumentCommissionRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncingInstrumentCommissionRateField

# Register CThostFtdcSyncingInstrumentCommissionRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncingInstrumentCommissionRateField_swigregister(CThostFtdcSyncingInstrumentCommissionRateField)
class CThostFtdcSyncingInstrumentTradingRightField(object):
    r"""正在同步中的合约交易权限"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentTradingRightField_reserve1_get, _thosttraderapi.CThostFtdcSyncingInstrumentTradingRightField_reserve1_set, doc=r"""保留的无效字段""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentTradingRightField_InvestorRange_get, _thosttraderapi.CThostFtdcSyncingInstrumentTradingRightField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentTradingRightField_BrokerID_get, _thosttraderapi.CThostFtdcSyncingInstrumentTradingRightField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentTradingRightField_InvestorID_get, _thosttraderapi.CThostFtdcSyncingInstrumentTradingRightField_InvestorID_set, doc=r"""投资者代码""")
    TradingRight: "TThostFtdcTradingRightType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentTradingRightField_TradingRight_get, _thosttraderapi.CThostFtdcSyncingInstrumentTradingRightField_TradingRight_set, doc=r"""交易权限""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncingInstrumentTradingRightField_InstrumentID_get, _thosttraderapi.CThostFtdcSyncingInstrumentTradingRightField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncingInstrumentTradingRightField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncingInstrumentTradingRightField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncingInstrumentTradingRightField

# Register CThostFtdcSyncingInstrumentTradingRightField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncingInstrumentTradingRightField_swigregister(CThostFtdcSyncingInstrumentTradingRightField)
class CThostFtdcQryOrderField(object):
    r"""查询报单"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryOrderField_BrokerID_get, _thosttraderapi.CThostFtdcQryOrderField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryOrderField_InvestorID_get, _thosttraderapi.CThostFtdcQryOrderField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryOrderField_reserve1_get, _thosttraderapi.CThostFtdcQryOrderField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryOrderField_ExchangeID_get, _thosttraderapi.CThostFtdcQryOrderField_ExchangeID_set, doc=r"""交易所代码""")
    OrderSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcQryOrderField_OrderSysID_get, _thosttraderapi.CThostFtdcQryOrderField_OrderSysID_set, doc=r"""报单编号""")
    InsertTimeStart: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcQryOrderField_InsertTimeStart_get, _thosttraderapi.CThostFtdcQryOrderField_InsertTimeStart_set, doc=r"""开始时间""")
    InsertTimeEnd: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcQryOrderField_InsertTimeEnd_get, _thosttraderapi.CThostFtdcQryOrderField_InsertTimeEnd_set, doc=r"""结束时间""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQryOrderField_InvestUnitID_get, _thosttraderapi.CThostFtdcQryOrderField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryOrderField_InstrumentID_get, _thosttraderapi.CThostFtdcQryOrderField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryOrderField_swiginit(self, _thosttraderapi.new_CThostFtdcQryOrderField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryOrderField

# Register CThostFtdcQryOrderField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryOrderField_swigregister(CThostFtdcQryOrderField)
class CThostFtdcQryTradeField(object):
    r"""查询成交"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryTradeField_BrokerID_get, _thosttraderapi.CThostFtdcQryTradeField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryTradeField_InvestorID_get, _thosttraderapi.CThostFtdcQryTradeField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryTradeField_reserve1_get, _thosttraderapi.CThostFtdcQryTradeField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryTradeField_ExchangeID_get, _thosttraderapi.CThostFtdcQryTradeField_ExchangeID_set, doc=r"""交易所代码""")
    TradeID: "TThostFtdcTradeIDType" = property(_thosttraderapi.CThostFtdcQryTradeField_TradeID_get, _thosttraderapi.CThostFtdcQryTradeField_TradeID_set, doc=r"""成交编号""")
    TradeTimeStart: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcQryTradeField_TradeTimeStart_get, _thosttraderapi.CThostFtdcQryTradeField_TradeTimeStart_set, doc=r"""开始时间""")
    TradeTimeEnd: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcQryTradeField_TradeTimeEnd_get, _thosttraderapi.CThostFtdcQryTradeField_TradeTimeEnd_set, doc=r"""结束时间""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQryTradeField_InvestUnitID_get, _thosttraderapi.CThostFtdcQryTradeField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryTradeField_InstrumentID_get, _thosttraderapi.CThostFtdcQryTradeField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryTradeField_swiginit(self, _thosttraderapi.new_CThostFtdcQryTradeField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryTradeField

# Register CThostFtdcQryTradeField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryTradeField_swigregister(CThostFtdcQryTradeField)
class CThostFtdcQryInvestorPositionField(object):
    r"""查询投资者持仓"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryInvestorPositionField_BrokerID_get, _thosttraderapi.CThostFtdcQryInvestorPositionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryInvestorPositionField_InvestorID_get, _thosttraderapi.CThostFtdcQryInvestorPositionField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryInvestorPositionField_reserve1_get, _thosttraderapi.CThostFtdcQryInvestorPositionField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryInvestorPositionField_ExchangeID_get, _thosttraderapi.CThostFtdcQryInvestorPositionField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQryInvestorPositionField_InvestUnitID_get, _thosttraderapi.CThostFtdcQryInvestorPositionField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryInvestorPositionField_InstrumentID_get, _thosttraderapi.CThostFtdcQryInvestorPositionField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryInvestorPositionField_swiginit(self, _thosttraderapi.new_CThostFtdcQryInvestorPositionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryInvestorPositionField

# Register CThostFtdcQryInvestorPositionField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryInvestorPositionField_swigregister(CThostFtdcQryInvestorPositionField)
class CThostFtdcQryTradingAccountField(object):
    r"""查询资金账户"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryTradingAccountField_BrokerID_get, _thosttraderapi.CThostFtdcQryTradingAccountField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryTradingAccountField_InvestorID_get, _thosttraderapi.CThostFtdcQryTradingAccountField_InvestorID_set, doc=r"""投资者代码""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcQryTradingAccountField_CurrencyID_get, _thosttraderapi.CThostFtdcQryTradingAccountField_CurrencyID_set, doc=r"""币种代码""")
    BizType: "TThostFtdcBizTypeType" = property(_thosttraderapi.CThostFtdcQryTradingAccountField_BizType_get, _thosttraderapi.CThostFtdcQryTradingAccountField_BizType_set, doc=r"""业务类型""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcQryTradingAccountField_AccountID_get, _thosttraderapi.CThostFtdcQryTradingAccountField_AccountID_set, doc=r"""投资者帐号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryTradingAccountField_swiginit(self, _thosttraderapi.new_CThostFtdcQryTradingAccountField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryTradingAccountField

# Register CThostFtdcQryTradingAccountField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryTradingAccountField_swigregister(CThostFtdcQryTradingAccountField)
class CThostFtdcQryInvestorField(object):
    r"""查询投资者"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryInvestorField_BrokerID_get, _thosttraderapi.CThostFtdcQryInvestorField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryInvestorField_InvestorID_get, _thosttraderapi.CThostFtdcQryInvestorField_InvestorID_set, doc=r"""投资者代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryInvestorField_swiginit(self, _thosttraderapi.new_CThostFtdcQryInvestorField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryInvestorField

# Register CThostFtdcQryInvestorField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryInvestorField_swigregister(CThostFtdcQryInvestorField)
class CThostFtdcQryTradingCodeField(object):
    r"""查询交易编码"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryTradingCodeField_BrokerID_get, _thosttraderapi.CThostFtdcQryTradingCodeField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryTradingCodeField_InvestorID_get, _thosttraderapi.CThostFtdcQryTradingCodeField_InvestorID_set, doc=r"""投资者代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryTradingCodeField_ExchangeID_get, _thosttraderapi.CThostFtdcQryTradingCodeField_ExchangeID_set, doc=r"""交易所代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcQryTradingCodeField_ClientID_get, _thosttraderapi.CThostFtdcQryTradingCodeField_ClientID_set, doc=r"""客户代码""")
    ClientIDType: "TThostFtdcClientIDTypeType" = property(_thosttraderapi.CThostFtdcQryTradingCodeField_ClientIDType_get, _thosttraderapi.CThostFtdcQryTradingCodeField_ClientIDType_set, doc=r"""交易编码类型""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQryTradingCodeField_InvestUnitID_get, _thosttraderapi.CThostFtdcQryTradingCodeField_InvestUnitID_set, doc=r"""投资单元代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryTradingCodeField_swiginit(self, _thosttraderapi.new_CThostFtdcQryTradingCodeField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryTradingCodeField

# Register CThostFtdcQryTradingCodeField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryTradingCodeField_swigregister(CThostFtdcQryTradingCodeField)
class CThostFtdcQryInvestorGroupField(object):
    r"""查询投资者组"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryInvestorGroupField_BrokerID_get, _thosttraderapi.CThostFtdcQryInvestorGroupField_BrokerID_set, doc=r"""经纪公司代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryInvestorGroupField_swiginit(self, _thosttraderapi.new_CThostFtdcQryInvestorGroupField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryInvestorGroupField

# Register CThostFtdcQryInvestorGroupField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryInvestorGroupField_swigregister(CThostFtdcQryInvestorGroupField)
class CThostFtdcQryInstrumentMarginRateField(object):
    r"""查询合约保证金率"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentMarginRateField_BrokerID_get, _thosttraderapi.CThostFtdcQryInstrumentMarginRateField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentMarginRateField_InvestorID_get, _thosttraderapi.CThostFtdcQryInstrumentMarginRateField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentMarginRateField_reserve1_get, _thosttraderapi.CThostFtdcQryInstrumentMarginRateField_reserve1_set, doc=r"""保留的无效字段""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcQryInstrumentMarginRateField_HedgeFlag_get, _thosttraderapi.CThostFtdcQryInstrumentMarginRateField_HedgeFlag_set, doc=r"""投机套保标志""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentMarginRateField_ExchangeID_get, _thosttraderapi.CThostFtdcQryInstrumentMarginRateField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentMarginRateField_InvestUnitID_get, _thosttraderapi.CThostFtdcQryInstrumentMarginRateField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentMarginRateField_InstrumentID_get, _thosttraderapi.CThostFtdcQryInstrumentMarginRateField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryInstrumentMarginRateField_swiginit(self, _thosttraderapi.new_CThostFtdcQryInstrumentMarginRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryInstrumentMarginRateField

# Register CThostFtdcQryInstrumentMarginRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryInstrumentMarginRateField_swigregister(CThostFtdcQryInstrumentMarginRateField)
class CThostFtdcQryInstrumentCommissionRateField(object):
    r"""查询手续费率"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentCommissionRateField_BrokerID_get, _thosttraderapi.CThostFtdcQryInstrumentCommissionRateField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentCommissionRateField_InvestorID_get, _thosttraderapi.CThostFtdcQryInstrumentCommissionRateField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentCommissionRateField_reserve1_get, _thosttraderapi.CThostFtdcQryInstrumentCommissionRateField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentCommissionRateField_ExchangeID_get, _thosttraderapi.CThostFtdcQryInstrumentCommissionRateField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentCommissionRateField_InvestUnitID_get, _thosttraderapi.CThostFtdcQryInstrumentCommissionRateField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentCommissionRateField_InstrumentID_get, _thosttraderapi.CThostFtdcQryInstrumentCommissionRateField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryInstrumentCommissionRateField_swiginit(self, _thosttraderapi.new_CThostFtdcQryInstrumentCommissionRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryInstrumentCommissionRateField

# Register CThostFtdcQryInstrumentCommissionRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryInstrumentCommissionRateField_swigregister(CThostFtdcQryInstrumentCommissionRateField)
class CThostFtdcQryInstrumentTradingRightField(object):
    r"""查询合约交易权限"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentTradingRightField_BrokerID_get, _thosttraderapi.CThostFtdcQryInstrumentTradingRightField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentTradingRightField_InvestorID_get, _thosttraderapi.CThostFtdcQryInstrumentTradingRightField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentTradingRightField_reserve1_get, _thosttraderapi.CThostFtdcQryInstrumentTradingRightField_reserve1_set, doc=r"""保留的无效字段""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentTradingRightField_InstrumentID_get, _thosttraderapi.CThostFtdcQryInstrumentTradingRightField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryInstrumentTradingRightField_swiginit(self, _thosttraderapi.new_CThostFtdcQryInstrumentTradingRightField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryInstrumentTradingRightField

# Register CThostFtdcQryInstrumentTradingRightField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryInstrumentTradingRightField_swigregister(CThostFtdcQryInstrumentTradingRightField)
class CThostFtdcQryBrokerField(object):
    r"""查询经纪公司"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryBrokerField_BrokerID_get, _thosttraderapi.CThostFtdcQryBrokerField_BrokerID_set, doc=r"""经纪公司代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryBrokerField_swiginit(self, _thosttraderapi.new_CThostFtdcQryBrokerField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryBrokerField

# Register CThostFtdcQryBrokerField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryBrokerField_swigregister(CThostFtdcQryBrokerField)
class CThostFtdcQryTraderField(object):
    r"""查询交易员"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryTraderField_ExchangeID_get, _thosttraderapi.CThostFtdcQryTraderField_ExchangeID_set, doc=r"""交易所代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcQryTraderField_ParticipantID_get, _thosttraderapi.CThostFtdcQryTraderField_ParticipantID_set, doc=r"""会员代码""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcQryTraderField_TraderID_get, _thosttraderapi.CThostFtdcQryTraderField_TraderID_set, doc=r"""交易所交易员代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryTraderField_swiginit(self, _thosttraderapi.new_CThostFtdcQryTraderField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryTraderField

# Register CThostFtdcQryTraderField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryTraderField_swigregister(CThostFtdcQryTraderField)
class CThostFtdcQrySuperUserFunctionField(object):
    r"""查询管理用户功能权限"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcQrySuperUserFunctionField_UserID_get, _thosttraderapi.CThostFtdcQrySuperUserFunctionField_UserID_set, doc=r"""用户代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQrySuperUserFunctionField_swiginit(self, _thosttraderapi.new_CThostFtdcQrySuperUserFunctionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQrySuperUserFunctionField

# Register CThostFtdcQrySuperUserFunctionField in _thosttraderapi:
_thosttraderapi.CThostFtdcQrySuperUserFunctionField_swigregister(CThostFtdcQrySuperUserFunctionField)
class CThostFtdcQryUserSessionField(object):
    r"""查询用户会话"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcQryUserSessionField_FrontID_get, _thosttraderapi.CThostFtdcQryUserSessionField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcQryUserSessionField_SessionID_get, _thosttraderapi.CThostFtdcQryUserSessionField_SessionID_set, doc=r"""会话编号""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryUserSessionField_BrokerID_get, _thosttraderapi.CThostFtdcQryUserSessionField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcQryUserSessionField_UserID_get, _thosttraderapi.CThostFtdcQryUserSessionField_UserID_set, doc=r"""用户代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryUserSessionField_swiginit(self, _thosttraderapi.new_CThostFtdcQryUserSessionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryUserSessionField

# Register CThostFtdcQryUserSessionField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryUserSessionField_swigregister(CThostFtdcQryUserSessionField)
class CThostFtdcQryPartBrokerField(object):
    r"""查询经纪公司会员代码"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryPartBrokerField_ExchangeID_get, _thosttraderapi.CThostFtdcQryPartBrokerField_ExchangeID_set, doc=r"""交易所代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryPartBrokerField_BrokerID_get, _thosttraderapi.CThostFtdcQryPartBrokerField_BrokerID_set, doc=r"""经纪公司代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcQryPartBrokerField_ParticipantID_get, _thosttraderapi.CThostFtdcQryPartBrokerField_ParticipantID_set, doc=r"""会员代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryPartBrokerField_swiginit(self, _thosttraderapi.new_CThostFtdcQryPartBrokerField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryPartBrokerField

# Register CThostFtdcQryPartBrokerField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryPartBrokerField_swigregister(CThostFtdcQryPartBrokerField)
class CThostFtdcQryFrontStatusField(object):
    r"""查询前置状态"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcQryFrontStatusField_FrontID_get, _thosttraderapi.CThostFtdcQryFrontStatusField_FrontID_set, doc=r"""前置编号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryFrontStatusField_swiginit(self, _thosttraderapi.new_CThostFtdcQryFrontStatusField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryFrontStatusField

# Register CThostFtdcQryFrontStatusField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryFrontStatusField_swigregister(CThostFtdcQryFrontStatusField)
class CThostFtdcQryExchangeOrderField(object):
    r"""查询交易所报单"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcQryExchangeOrderField_ParticipantID_get, _thosttraderapi.CThostFtdcQryExchangeOrderField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcQryExchangeOrderField_ClientID_get, _thosttraderapi.CThostFtdcQryExchangeOrderField_ClientID_set, doc=r"""客户代码""")
    reserve1: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcQryExchangeOrderField_reserve1_get, _thosttraderapi.CThostFtdcQryExchangeOrderField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryExchangeOrderField_ExchangeID_get, _thosttraderapi.CThostFtdcQryExchangeOrderField_ExchangeID_set, doc=r"""交易所代码""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcQryExchangeOrderField_TraderID_get, _thosttraderapi.CThostFtdcQryExchangeOrderField_TraderID_set, doc=r"""交易所交易员代码""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcQryExchangeOrderField_ExchangeInstID_get, _thosttraderapi.CThostFtdcQryExchangeOrderField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryExchangeOrderField_swiginit(self, _thosttraderapi.new_CThostFtdcQryExchangeOrderField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryExchangeOrderField

# Register CThostFtdcQryExchangeOrderField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryExchangeOrderField_swigregister(CThostFtdcQryExchangeOrderField)
class CThostFtdcQryOrderActionField(object):
    r"""查询报单操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryOrderActionField_BrokerID_get, _thosttraderapi.CThostFtdcQryOrderActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryOrderActionField_InvestorID_get, _thosttraderapi.CThostFtdcQryOrderActionField_InvestorID_set, doc=r"""投资者代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryOrderActionField_ExchangeID_get, _thosttraderapi.CThostFtdcQryOrderActionField_ExchangeID_set, doc=r"""交易所代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryOrderActionField_swiginit(self, _thosttraderapi.new_CThostFtdcQryOrderActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryOrderActionField

# Register CThostFtdcQryOrderActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryOrderActionField_swigregister(CThostFtdcQryOrderActionField)
class CThostFtdcQryExchangeOrderActionField(object):
    r"""查询交易所报单操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcQryExchangeOrderActionField_ParticipantID_get, _thosttraderapi.CThostFtdcQryExchangeOrderActionField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcQryExchangeOrderActionField_ClientID_get, _thosttraderapi.CThostFtdcQryExchangeOrderActionField_ClientID_set, doc=r"""客户代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryExchangeOrderActionField_ExchangeID_get, _thosttraderapi.CThostFtdcQryExchangeOrderActionField_ExchangeID_set, doc=r"""交易所代码""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcQryExchangeOrderActionField_TraderID_get, _thosttraderapi.CThostFtdcQryExchangeOrderActionField_TraderID_set, doc=r"""交易所交易员代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryExchangeOrderActionField_swiginit(self, _thosttraderapi.new_CThostFtdcQryExchangeOrderActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryExchangeOrderActionField

# Register CThostFtdcQryExchangeOrderActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryExchangeOrderActionField_swigregister(CThostFtdcQryExchangeOrderActionField)
class CThostFtdcQrySuperUserField(object):
    r"""查询管理用户"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcQrySuperUserField_UserID_get, _thosttraderapi.CThostFtdcQrySuperUserField_UserID_set, doc=r"""用户代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQrySuperUserField_swiginit(self, _thosttraderapi.new_CThostFtdcQrySuperUserField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQrySuperUserField

# Register CThostFtdcQrySuperUserField in _thosttraderapi:
_thosttraderapi.CThostFtdcQrySuperUserField_swigregister(CThostFtdcQrySuperUserField)
class CThostFtdcQryExchangeField(object):
    r"""查询交易所"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryExchangeField_ExchangeID_get, _thosttraderapi.CThostFtdcQryExchangeField_ExchangeID_set, doc=r"""交易所代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryExchangeField_swiginit(self, _thosttraderapi.new_CThostFtdcQryExchangeField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryExchangeField

# Register CThostFtdcQryExchangeField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryExchangeField_swigregister(CThostFtdcQryExchangeField)
class CThostFtdcQryProductField(object):
    r"""查询产品"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryProductField_reserve1_get, _thosttraderapi.CThostFtdcQryProductField_reserve1_set, doc=r"""保留的无效字段""")
    ProductClass: "TThostFtdcProductClassType" = property(_thosttraderapi.CThostFtdcQryProductField_ProductClass_get, _thosttraderapi.CThostFtdcQryProductField_ProductClass_set, doc=r"""产品类型""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryProductField_ExchangeID_get, _thosttraderapi.CThostFtdcQryProductField_ExchangeID_set, doc=r"""交易所代码""")
    ProductID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryProductField_ProductID_get, _thosttraderapi.CThostFtdcQryProductField_ProductID_set, doc=r"""产品代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryProductField_swiginit(self, _thosttraderapi.new_CThostFtdcQryProductField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryProductField

# Register CThostFtdcQryProductField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryProductField_swigregister(CThostFtdcQryProductField)
class CThostFtdcQryInstrumentField(object):
    r"""查询合约"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentField_reserve1_get, _thosttraderapi.CThostFtdcQryInstrumentField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentField_ExchangeID_get, _thosttraderapi.CThostFtdcQryInstrumentField_ExchangeID_set, doc=r"""交易所代码""")
    reserve2: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentField_reserve2_get, _thosttraderapi.CThostFtdcQryInstrumentField_reserve2_set, doc=r"""保留的无效字段""")
    reserve3: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentField_reserve3_get, _thosttraderapi.CThostFtdcQryInstrumentField_reserve3_set, doc=r"""保留的无效字段""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentField_InstrumentID_get, _thosttraderapi.CThostFtdcQryInstrumentField_InstrumentID_set, doc=r"""合约代码""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentField_ExchangeInstID_get, _thosttraderapi.CThostFtdcQryInstrumentField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")
    ProductID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentField_ProductID_get, _thosttraderapi.CThostFtdcQryInstrumentField_ProductID_set, doc=r"""产品代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryInstrumentField_swiginit(self, _thosttraderapi.new_CThostFtdcQryInstrumentField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryInstrumentField

# Register CThostFtdcQryInstrumentField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryInstrumentField_swigregister(CThostFtdcQryInstrumentField)
class CThostFtdcQryDepthMarketDataField(object):
    r"""查询行情"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryDepthMarketDataField_reserve1_get, _thosttraderapi.CThostFtdcQryDepthMarketDataField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryDepthMarketDataField_ExchangeID_get, _thosttraderapi.CThostFtdcQryDepthMarketDataField_ExchangeID_set, doc=r"""交易所代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryDepthMarketDataField_InstrumentID_get, _thosttraderapi.CThostFtdcQryDepthMarketDataField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryDepthMarketDataField_swiginit(self, _thosttraderapi.new_CThostFtdcQryDepthMarketDataField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryDepthMarketDataField

# Register CThostFtdcQryDepthMarketDataField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryDepthMarketDataField_swigregister(CThostFtdcQryDepthMarketDataField)
class CThostFtdcQryBrokerUserField(object):
    r"""查询经纪公司用户"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryBrokerUserField_BrokerID_get, _thosttraderapi.CThostFtdcQryBrokerUserField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcQryBrokerUserField_UserID_get, _thosttraderapi.CThostFtdcQryBrokerUserField_UserID_set, doc=r"""用户代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryBrokerUserField_swiginit(self, _thosttraderapi.new_CThostFtdcQryBrokerUserField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryBrokerUserField

# Register CThostFtdcQryBrokerUserField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryBrokerUserField_swigregister(CThostFtdcQryBrokerUserField)
class CThostFtdcQryBrokerUserFunctionField(object):
    r"""查询经纪公司用户权限"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryBrokerUserFunctionField_BrokerID_get, _thosttraderapi.CThostFtdcQryBrokerUserFunctionField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcQryBrokerUserFunctionField_UserID_get, _thosttraderapi.CThostFtdcQryBrokerUserFunctionField_UserID_set, doc=r"""用户代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryBrokerUserFunctionField_swiginit(self, _thosttraderapi.new_CThostFtdcQryBrokerUserFunctionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryBrokerUserFunctionField

# Register CThostFtdcQryBrokerUserFunctionField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryBrokerUserFunctionField_swigregister(CThostFtdcQryBrokerUserFunctionField)
class CThostFtdcQryTraderOfferField(object):
    r"""查询交易员报盘机"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryTraderOfferField_ExchangeID_get, _thosttraderapi.CThostFtdcQryTraderOfferField_ExchangeID_set, doc=r"""交易所代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcQryTraderOfferField_ParticipantID_get, _thosttraderapi.CThostFtdcQryTraderOfferField_ParticipantID_set, doc=r"""会员代码""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcQryTraderOfferField_TraderID_get, _thosttraderapi.CThostFtdcQryTraderOfferField_TraderID_set, doc=r"""交易所交易员代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryTraderOfferField_swiginit(self, _thosttraderapi.new_CThostFtdcQryTraderOfferField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryTraderOfferField

# Register CThostFtdcQryTraderOfferField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryTraderOfferField_swigregister(CThostFtdcQryTraderOfferField)
class CThostFtdcQrySyncDepositField(object):
    r"""查询出入金流水"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQrySyncDepositField_BrokerID_get, _thosttraderapi.CThostFtdcQrySyncDepositField_BrokerID_set, doc=r"""经纪公司代码""")
    DepositSeqNo: "TThostFtdcDepositSeqNoType" = property(_thosttraderapi.CThostFtdcQrySyncDepositField_DepositSeqNo_get, _thosttraderapi.CThostFtdcQrySyncDepositField_DepositSeqNo_set, doc=r"""出入金流水号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQrySyncDepositField_swiginit(self, _thosttraderapi.new_CThostFtdcQrySyncDepositField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQrySyncDepositField

# Register CThostFtdcQrySyncDepositField in _thosttraderapi:
_thosttraderapi.CThostFtdcQrySyncDepositField_swigregister(CThostFtdcQrySyncDepositField)
class CThostFtdcQrySettlementInfoField(object):
    r"""查询投资者结算结果"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQrySettlementInfoField_BrokerID_get, _thosttraderapi.CThostFtdcQrySettlementInfoField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQrySettlementInfoField_InvestorID_get, _thosttraderapi.CThostFtdcQrySettlementInfoField_InvestorID_set, doc=r"""投资者代码""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcQrySettlementInfoField_TradingDay_get, _thosttraderapi.CThostFtdcQrySettlementInfoField_TradingDay_set, doc=r"""交易日""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcQrySettlementInfoField_AccountID_get, _thosttraderapi.CThostFtdcQrySettlementInfoField_AccountID_set, doc=r"""投资者帐号""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcQrySettlementInfoField_CurrencyID_get, _thosttraderapi.CThostFtdcQrySettlementInfoField_CurrencyID_set, doc=r"""币种代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQrySettlementInfoField_swiginit(self, _thosttraderapi.new_CThostFtdcQrySettlementInfoField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQrySettlementInfoField

# Register CThostFtdcQrySettlementInfoField in _thosttraderapi:
_thosttraderapi.CThostFtdcQrySettlementInfoField_swigregister(CThostFtdcQrySettlementInfoField)
class CThostFtdcQryExchangeMarginRateField(object):
    r"""查询交易所保证金率"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryExchangeMarginRateField_BrokerID_get, _thosttraderapi.CThostFtdcQryExchangeMarginRateField_BrokerID_set, doc=r"""经纪公司代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryExchangeMarginRateField_reserve1_get, _thosttraderapi.CThostFtdcQryExchangeMarginRateField_reserve1_set, doc=r"""保留的无效字段""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcQryExchangeMarginRateField_HedgeFlag_get, _thosttraderapi.CThostFtdcQryExchangeMarginRateField_HedgeFlag_set, doc=r"""投机套保标志""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryExchangeMarginRateField_ExchangeID_get, _thosttraderapi.CThostFtdcQryExchangeMarginRateField_ExchangeID_set, doc=r"""交易所代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryExchangeMarginRateField_InstrumentID_get, _thosttraderapi.CThostFtdcQryExchangeMarginRateField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryExchangeMarginRateField_swiginit(self, _thosttraderapi.new_CThostFtdcQryExchangeMarginRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryExchangeMarginRateField

# Register CThostFtdcQryExchangeMarginRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryExchangeMarginRateField_swigregister(CThostFtdcQryExchangeMarginRateField)
class CThostFtdcQryExchangeMarginRateAdjustField(object):
    r"""查询交易所调整保证金率"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryExchangeMarginRateAdjustField_BrokerID_get, _thosttraderapi.CThostFtdcQryExchangeMarginRateAdjustField_BrokerID_set, doc=r"""经纪公司代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryExchangeMarginRateAdjustField_reserve1_get, _thosttraderapi.CThostFtdcQryExchangeMarginRateAdjustField_reserve1_set, doc=r"""保留的无效字段""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcQryExchangeMarginRateAdjustField_HedgeFlag_get, _thosttraderapi.CThostFtdcQryExchangeMarginRateAdjustField_HedgeFlag_set, doc=r"""投机套保标志""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryExchangeMarginRateAdjustField_InstrumentID_get, _thosttraderapi.CThostFtdcQryExchangeMarginRateAdjustField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryExchangeMarginRateAdjustField_swiginit(self, _thosttraderapi.new_CThostFtdcQryExchangeMarginRateAdjustField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryExchangeMarginRateAdjustField

# Register CThostFtdcQryExchangeMarginRateAdjustField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryExchangeMarginRateAdjustField_swigregister(CThostFtdcQryExchangeMarginRateAdjustField)
class CThostFtdcQryExchangeRateField(object):
    r"""查询汇率"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryExchangeRateField_BrokerID_get, _thosttraderapi.CThostFtdcQryExchangeRateField_BrokerID_set, doc=r"""经纪公司代码""")
    FromCurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcQryExchangeRateField_FromCurrencyID_get, _thosttraderapi.CThostFtdcQryExchangeRateField_FromCurrencyID_set, doc=r"""源币种""")
    ToCurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcQryExchangeRateField_ToCurrencyID_get, _thosttraderapi.CThostFtdcQryExchangeRateField_ToCurrencyID_set, doc=r"""目标币种""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryExchangeRateField_swiginit(self, _thosttraderapi.new_CThostFtdcQryExchangeRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryExchangeRateField

# Register CThostFtdcQryExchangeRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryExchangeRateField_swigregister(CThostFtdcQryExchangeRateField)
class CThostFtdcQrySyncFundMortgageField(object):
    r"""查询货币质押流水"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQrySyncFundMortgageField_BrokerID_get, _thosttraderapi.CThostFtdcQrySyncFundMortgageField_BrokerID_set, doc=r"""经纪公司代码""")
    MortgageSeqNo: "TThostFtdcDepositSeqNoType" = property(_thosttraderapi.CThostFtdcQrySyncFundMortgageField_MortgageSeqNo_get, _thosttraderapi.CThostFtdcQrySyncFundMortgageField_MortgageSeqNo_set, doc=r"""货币质押流水号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQrySyncFundMortgageField_swiginit(self, _thosttraderapi.new_CThostFtdcQrySyncFundMortgageField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQrySyncFundMortgageField

# Register CThostFtdcQrySyncFundMortgageField in _thosttraderapi:
_thosttraderapi.CThostFtdcQrySyncFundMortgageField_swigregister(CThostFtdcQrySyncFundMortgageField)
class CThostFtdcQryHisOrderField(object):
    r"""查询报单"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryHisOrderField_BrokerID_get, _thosttraderapi.CThostFtdcQryHisOrderField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryHisOrderField_InvestorID_get, _thosttraderapi.CThostFtdcQryHisOrderField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryHisOrderField_reserve1_get, _thosttraderapi.CThostFtdcQryHisOrderField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryHisOrderField_ExchangeID_get, _thosttraderapi.CThostFtdcQryHisOrderField_ExchangeID_set, doc=r"""交易所代码""")
    OrderSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcQryHisOrderField_OrderSysID_get, _thosttraderapi.CThostFtdcQryHisOrderField_OrderSysID_set, doc=r"""报单编号""")
    InsertTimeStart: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcQryHisOrderField_InsertTimeStart_get, _thosttraderapi.CThostFtdcQryHisOrderField_InsertTimeStart_set, doc=r"""开始时间""")
    InsertTimeEnd: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcQryHisOrderField_InsertTimeEnd_get, _thosttraderapi.CThostFtdcQryHisOrderField_InsertTimeEnd_set, doc=r"""结束时间""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcQryHisOrderField_TradingDay_get, _thosttraderapi.CThostFtdcQryHisOrderField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcQryHisOrderField_SettlementID_get, _thosttraderapi.CThostFtdcQryHisOrderField_SettlementID_set, doc=r"""结算编号""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryHisOrderField_InstrumentID_get, _thosttraderapi.CThostFtdcQryHisOrderField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryHisOrderField_swiginit(self, _thosttraderapi.new_CThostFtdcQryHisOrderField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryHisOrderField

# Register CThostFtdcQryHisOrderField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryHisOrderField_swigregister(CThostFtdcQryHisOrderField)
class CThostFtdcOptionInstrMiniMarginField(object):
    r"""当前期权合约最小保证金"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcOptionInstrMiniMarginField_reserve1_get, _thosttraderapi.CThostFtdcOptionInstrMiniMarginField_reserve1_set, doc=r"""保留的无效字段""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcOptionInstrMiniMarginField_InvestorRange_get, _thosttraderapi.CThostFtdcOptionInstrMiniMarginField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcOptionInstrMiniMarginField_BrokerID_get, _thosttraderapi.CThostFtdcOptionInstrMiniMarginField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcOptionInstrMiniMarginField_InvestorID_get, _thosttraderapi.CThostFtdcOptionInstrMiniMarginField_InvestorID_set, doc=r"""投资者代码""")
    MinMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcOptionInstrMiniMarginField_MinMargin_get, _thosttraderapi.CThostFtdcOptionInstrMiniMarginField_MinMargin_set, doc=r"""单位（手）期权合约最小保证金""")
    ValueMethod: "TThostFtdcValueMethodType" = property(_thosttraderapi.CThostFtdcOptionInstrMiniMarginField_ValueMethod_get, _thosttraderapi.CThostFtdcOptionInstrMiniMarginField_ValueMethod_set, doc=r"""取值方式""")
    IsRelative: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcOptionInstrMiniMarginField_IsRelative_get, _thosttraderapi.CThostFtdcOptionInstrMiniMarginField_IsRelative_set, doc=r"""是否跟随交易所收取""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcOptionInstrMiniMarginField_InstrumentID_get, _thosttraderapi.CThostFtdcOptionInstrMiniMarginField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcOptionInstrMiniMarginField_swiginit(self, _thosttraderapi.new_CThostFtdcOptionInstrMiniMarginField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcOptionInstrMiniMarginField

# Register CThostFtdcOptionInstrMiniMarginField in _thosttraderapi:
_thosttraderapi.CThostFtdcOptionInstrMiniMarginField_swigregister(CThostFtdcOptionInstrMiniMarginField)
class CThostFtdcOptionInstrMarginAdjustField(object):
    r"""当前期权合约保证金调整系数"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_reserve1_get, _thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_reserve1_set, doc=r"""保留的无效字段""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_InvestorRange_get, _thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_BrokerID_get, _thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_InvestorID_get, _thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_InvestorID_set, doc=r"""投资者代码""")
    SShortMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_SShortMarginRatioByMoney_get, _thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_SShortMarginRatioByMoney_set, doc=r"""投机空头保证金调整系数""")
    SShortMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_SShortMarginRatioByVolume_get, _thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_SShortMarginRatioByVolume_set, doc=r"""投机空头保证金调整系数""")
    HShortMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_HShortMarginRatioByMoney_get, _thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_HShortMarginRatioByMoney_set, doc=r"""保值空头保证金调整系数""")
    HShortMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_HShortMarginRatioByVolume_get, _thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_HShortMarginRatioByVolume_set, doc=r"""保值空头保证金调整系数""")
    AShortMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_AShortMarginRatioByMoney_get, _thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_AShortMarginRatioByMoney_set, doc=r"""套利空头保证金调整系数""")
    AShortMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_AShortMarginRatioByVolume_get, _thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_AShortMarginRatioByVolume_set, doc=r"""套利空头保证金调整系数""")
    IsRelative: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_IsRelative_get, _thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_IsRelative_set, doc=r"""是否跟随交易所收取""")
    MShortMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_MShortMarginRatioByMoney_get, _thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_MShortMarginRatioByMoney_set, doc=r"""做市商空头保证金调整系数""")
    MShortMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_MShortMarginRatioByVolume_get, _thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_MShortMarginRatioByVolume_set, doc=r"""做市商空头保证金调整系数""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_InstrumentID_get, _thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_swiginit(self, _thosttraderapi.new_CThostFtdcOptionInstrMarginAdjustField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcOptionInstrMarginAdjustField

# Register CThostFtdcOptionInstrMarginAdjustField in _thosttraderapi:
_thosttraderapi.CThostFtdcOptionInstrMarginAdjustField_swigregister(CThostFtdcOptionInstrMarginAdjustField)
class CThostFtdcOptionInstrCommRateField(object):
    r"""当前期权合约手续费的详细内容"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcOptionInstrCommRateField_reserve1_get, _thosttraderapi.CThostFtdcOptionInstrCommRateField_reserve1_set, doc=r"""保留的无效字段""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcOptionInstrCommRateField_InvestorRange_get, _thosttraderapi.CThostFtdcOptionInstrCommRateField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcOptionInstrCommRateField_BrokerID_get, _thosttraderapi.CThostFtdcOptionInstrCommRateField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcOptionInstrCommRateField_InvestorID_get, _thosttraderapi.CThostFtdcOptionInstrCommRateField_InvestorID_set, doc=r"""投资者代码""")
    OpenRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcOptionInstrCommRateField_OpenRatioByMoney_get, _thosttraderapi.CThostFtdcOptionInstrCommRateField_OpenRatioByMoney_set, doc=r"""开仓手续费率""")
    OpenRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcOptionInstrCommRateField_OpenRatioByVolume_get, _thosttraderapi.CThostFtdcOptionInstrCommRateField_OpenRatioByVolume_set, doc=r"""开仓手续费""")
    CloseRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcOptionInstrCommRateField_CloseRatioByMoney_get, _thosttraderapi.CThostFtdcOptionInstrCommRateField_CloseRatioByMoney_set, doc=r"""平仓手续费率""")
    CloseRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcOptionInstrCommRateField_CloseRatioByVolume_get, _thosttraderapi.CThostFtdcOptionInstrCommRateField_CloseRatioByVolume_set, doc=r"""平仓手续费""")
    CloseTodayRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcOptionInstrCommRateField_CloseTodayRatioByMoney_get, _thosttraderapi.CThostFtdcOptionInstrCommRateField_CloseTodayRatioByMoney_set, doc=r"""平今手续费率""")
    CloseTodayRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcOptionInstrCommRateField_CloseTodayRatioByVolume_get, _thosttraderapi.CThostFtdcOptionInstrCommRateField_CloseTodayRatioByVolume_set, doc=r"""平今手续费""")
    StrikeRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcOptionInstrCommRateField_StrikeRatioByMoney_get, _thosttraderapi.CThostFtdcOptionInstrCommRateField_StrikeRatioByMoney_set, doc=r"""执行手续费率""")
    StrikeRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcOptionInstrCommRateField_StrikeRatioByVolume_get, _thosttraderapi.CThostFtdcOptionInstrCommRateField_StrikeRatioByVolume_set, doc=r"""执行手续费""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcOptionInstrCommRateField_ExchangeID_get, _thosttraderapi.CThostFtdcOptionInstrCommRateField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcOptionInstrCommRateField_InvestUnitID_get, _thosttraderapi.CThostFtdcOptionInstrCommRateField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcOptionInstrCommRateField_InstrumentID_get, _thosttraderapi.CThostFtdcOptionInstrCommRateField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcOptionInstrCommRateField_swiginit(self, _thosttraderapi.new_CThostFtdcOptionInstrCommRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcOptionInstrCommRateField

# Register CThostFtdcOptionInstrCommRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcOptionInstrCommRateField_swigregister(CThostFtdcOptionInstrCommRateField)
class CThostFtdcOptionInstrTradeCostField(object):
    r"""期权交易成本"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcOptionInstrTradeCostField_BrokerID_get, _thosttraderapi.CThostFtdcOptionInstrTradeCostField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcOptionInstrTradeCostField_InvestorID_get, _thosttraderapi.CThostFtdcOptionInstrTradeCostField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcOptionInstrTradeCostField_reserve1_get, _thosttraderapi.CThostFtdcOptionInstrTradeCostField_reserve1_set, doc=r"""保留的无效字段""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcOptionInstrTradeCostField_HedgeFlag_get, _thosttraderapi.CThostFtdcOptionInstrTradeCostField_HedgeFlag_set, doc=r"""投机套保标志""")
    FixedMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcOptionInstrTradeCostField_FixedMargin_get, _thosttraderapi.CThostFtdcOptionInstrTradeCostField_FixedMargin_set, doc=r"""期权合约保证金不变部分""")
    MiniMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcOptionInstrTradeCostField_MiniMargin_get, _thosttraderapi.CThostFtdcOptionInstrTradeCostField_MiniMargin_set, doc=r"""期权合约最小保证金""")
    Royalty: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcOptionInstrTradeCostField_Royalty_get, _thosttraderapi.CThostFtdcOptionInstrTradeCostField_Royalty_set, doc=r"""期权合约权利金""")
    ExchFixedMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcOptionInstrTradeCostField_ExchFixedMargin_get, _thosttraderapi.CThostFtdcOptionInstrTradeCostField_ExchFixedMargin_set, doc=r"""交易所期权合约保证金不变部分""")
    ExchMiniMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcOptionInstrTradeCostField_ExchMiniMargin_get, _thosttraderapi.CThostFtdcOptionInstrTradeCostField_ExchMiniMargin_set, doc=r"""交易所期权合约最小保证金""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcOptionInstrTradeCostField_ExchangeID_get, _thosttraderapi.CThostFtdcOptionInstrTradeCostField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcOptionInstrTradeCostField_InvestUnitID_get, _thosttraderapi.CThostFtdcOptionInstrTradeCostField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcOptionInstrTradeCostField_InstrumentID_get, _thosttraderapi.CThostFtdcOptionInstrTradeCostField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcOptionInstrTradeCostField_swiginit(self, _thosttraderapi.new_CThostFtdcOptionInstrTradeCostField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcOptionInstrTradeCostField

# Register CThostFtdcOptionInstrTradeCostField in _thosttraderapi:
_thosttraderapi.CThostFtdcOptionInstrTradeCostField_swigregister(CThostFtdcOptionInstrTradeCostField)
class CThostFtdcQryOptionInstrTradeCostField(object):
    r"""期权交易成本查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryOptionInstrTradeCostField_BrokerID_get, _thosttraderapi.CThostFtdcQryOptionInstrTradeCostField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryOptionInstrTradeCostField_InvestorID_get, _thosttraderapi.CThostFtdcQryOptionInstrTradeCostField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryOptionInstrTradeCostField_reserve1_get, _thosttraderapi.CThostFtdcQryOptionInstrTradeCostField_reserve1_set, doc=r"""保留的无效字段""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcQryOptionInstrTradeCostField_HedgeFlag_get, _thosttraderapi.CThostFtdcQryOptionInstrTradeCostField_HedgeFlag_set, doc=r"""投机套保标志""")
    InputPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcQryOptionInstrTradeCostField_InputPrice_get, _thosttraderapi.CThostFtdcQryOptionInstrTradeCostField_InputPrice_set, doc=r"""期权合约报价""")
    UnderlyingPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcQryOptionInstrTradeCostField_UnderlyingPrice_get, _thosttraderapi.CThostFtdcQryOptionInstrTradeCostField_UnderlyingPrice_set, doc=r"""标的价格,填0则用昨结算价""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryOptionInstrTradeCostField_ExchangeID_get, _thosttraderapi.CThostFtdcQryOptionInstrTradeCostField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQryOptionInstrTradeCostField_InvestUnitID_get, _thosttraderapi.CThostFtdcQryOptionInstrTradeCostField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryOptionInstrTradeCostField_InstrumentID_get, _thosttraderapi.CThostFtdcQryOptionInstrTradeCostField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryOptionInstrTradeCostField_swiginit(self, _thosttraderapi.new_CThostFtdcQryOptionInstrTradeCostField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryOptionInstrTradeCostField

# Register CThostFtdcQryOptionInstrTradeCostField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryOptionInstrTradeCostField_swigregister(CThostFtdcQryOptionInstrTradeCostField)
class CThostFtdcQryOptionInstrCommRateField(object):
    r"""期权手续费率查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryOptionInstrCommRateField_BrokerID_get, _thosttraderapi.CThostFtdcQryOptionInstrCommRateField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryOptionInstrCommRateField_InvestorID_get, _thosttraderapi.CThostFtdcQryOptionInstrCommRateField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryOptionInstrCommRateField_reserve1_get, _thosttraderapi.CThostFtdcQryOptionInstrCommRateField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryOptionInstrCommRateField_ExchangeID_get, _thosttraderapi.CThostFtdcQryOptionInstrCommRateField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQryOptionInstrCommRateField_InvestUnitID_get, _thosttraderapi.CThostFtdcQryOptionInstrCommRateField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryOptionInstrCommRateField_InstrumentID_get, _thosttraderapi.CThostFtdcQryOptionInstrCommRateField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryOptionInstrCommRateField_swiginit(self, _thosttraderapi.new_CThostFtdcQryOptionInstrCommRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryOptionInstrCommRateField

# Register CThostFtdcQryOptionInstrCommRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryOptionInstrCommRateField_swigregister(CThostFtdcQryOptionInstrCommRateField)
class CThostFtdcIndexPriceField(object):
    r"""股指现货指数"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcIndexPriceField_BrokerID_get, _thosttraderapi.CThostFtdcIndexPriceField_BrokerID_set, doc=r"""经纪公司代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcIndexPriceField_reserve1_get, _thosttraderapi.CThostFtdcIndexPriceField_reserve1_set, doc=r"""保留的无效字段""")
    ClosePrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcIndexPriceField_ClosePrice_get, _thosttraderapi.CThostFtdcIndexPriceField_ClosePrice_set, doc=r"""指数现货收盘价""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcIndexPriceField_InstrumentID_get, _thosttraderapi.CThostFtdcIndexPriceField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcIndexPriceField_swiginit(self, _thosttraderapi.new_CThostFtdcIndexPriceField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcIndexPriceField

# Register CThostFtdcIndexPriceField in _thosttraderapi:
_thosttraderapi.CThostFtdcIndexPriceField_swigregister(CThostFtdcIndexPriceField)
class CThostFtdcInputExecOrderField(object):
    r"""输入的执行宣告"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInputExecOrderField_BrokerID_get, _thosttraderapi.CThostFtdcInputExecOrderField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInputExecOrderField_InvestorID_get, _thosttraderapi.CThostFtdcInputExecOrderField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInputExecOrderField_reserve1_get, _thosttraderapi.CThostFtdcInputExecOrderField_reserve1_set, doc=r"""保留的无效字段""")
    ExecOrderRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcInputExecOrderField_ExecOrderRef_get, _thosttraderapi.CThostFtdcInputExecOrderField_ExecOrderRef_set, doc=r"""执行宣告引用""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcInputExecOrderField_UserID_get, _thosttraderapi.CThostFtdcInputExecOrderField_UserID_set, doc=r"""用户代码""")
    Volume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInputExecOrderField_Volume_get, _thosttraderapi.CThostFtdcInputExecOrderField_Volume_set, doc=r"""数量""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcInputExecOrderField_RequestID_get, _thosttraderapi.CThostFtdcInputExecOrderField_RequestID_set, doc=r"""请求编号""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcInputExecOrderField_BusinessUnit_get, _thosttraderapi.CThostFtdcInputExecOrderField_BusinessUnit_set, doc=r"""业务单元""")
    OffsetFlag: "TThostFtdcOffsetFlagType" = property(_thosttraderapi.CThostFtdcInputExecOrderField_OffsetFlag_get, _thosttraderapi.CThostFtdcInputExecOrderField_OffsetFlag_set, doc=r"""开平标志""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcInputExecOrderField_HedgeFlag_get, _thosttraderapi.CThostFtdcInputExecOrderField_HedgeFlag_set, doc=r"""投机套保标志""")
    ActionType: "TThostFtdcActionTypeType" = property(_thosttraderapi.CThostFtdcInputExecOrderField_ActionType_get, _thosttraderapi.CThostFtdcInputExecOrderField_ActionType_set, doc=r"""执行类型""")
    PosiDirection: "TThostFtdcPosiDirectionType" = property(_thosttraderapi.CThostFtdcInputExecOrderField_PosiDirection_get, _thosttraderapi.CThostFtdcInputExecOrderField_PosiDirection_set, doc=r"""保留头寸申请的持仓方向""")
    ReservePositionFlag: "TThostFtdcExecOrderPositionFlagType" = property(_thosttraderapi.CThostFtdcInputExecOrderField_ReservePositionFlag_get, _thosttraderapi.CThostFtdcInputExecOrderField_ReservePositionFlag_set, doc=r"""期权行权后是否保留期货头寸的标记,该字段已废弃""")
    CloseFlag: "TThostFtdcExecOrderCloseFlagType" = property(_thosttraderapi.CThostFtdcInputExecOrderField_CloseFlag_get, _thosttraderapi.CThostFtdcInputExecOrderField_CloseFlag_set, doc=r"""期权行权后生成的头寸是否自动平仓""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcInputExecOrderField_ExchangeID_get, _thosttraderapi.CThostFtdcInputExecOrderField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcInputExecOrderField_InvestUnitID_get, _thosttraderapi.CThostFtdcInputExecOrderField_InvestUnitID_set, doc=r"""投资单元代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcInputExecOrderField_AccountID_get, _thosttraderapi.CThostFtdcInputExecOrderField_AccountID_set, doc=r"""资金账号""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcInputExecOrderField_CurrencyID_get, _thosttraderapi.CThostFtdcInputExecOrderField_CurrencyID_set, doc=r"""币种代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcInputExecOrderField_ClientID_get, _thosttraderapi.CThostFtdcInputExecOrderField_ClientID_set, doc=r"""交易编码""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcInputExecOrderField_reserve2_get, _thosttraderapi.CThostFtdcInputExecOrderField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcInputExecOrderField_MacAddress_get, _thosttraderapi.CThostFtdcInputExecOrderField_MacAddress_set, doc=r"""Mac地址""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInputExecOrderField_InstrumentID_get, _thosttraderapi.CThostFtdcInputExecOrderField_InstrumentID_set, doc=r"""合约代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcInputExecOrderField_IPAddress_get, _thosttraderapi.CThostFtdcInputExecOrderField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInputExecOrderField_swiginit(self, _thosttraderapi.new_CThostFtdcInputExecOrderField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInputExecOrderField

# Register CThostFtdcInputExecOrderField in _thosttraderapi:
_thosttraderapi.CThostFtdcInputExecOrderField_swigregister(CThostFtdcInputExecOrderField)
class CThostFtdcInputExecOrderActionField(object):
    r"""输入执行宣告操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInputExecOrderActionField_BrokerID_get, _thosttraderapi.CThostFtdcInputExecOrderActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInputExecOrderActionField_InvestorID_get, _thosttraderapi.CThostFtdcInputExecOrderActionField_InvestorID_set, doc=r"""投资者代码""")
    ExecOrderActionRef: "TThostFtdcOrderActionRefType" = property(_thosttraderapi.CThostFtdcInputExecOrderActionField_ExecOrderActionRef_get, _thosttraderapi.CThostFtdcInputExecOrderActionField_ExecOrderActionRef_set, doc=r"""执行宣告操作引用""")
    ExecOrderRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcInputExecOrderActionField_ExecOrderRef_get, _thosttraderapi.CThostFtdcInputExecOrderActionField_ExecOrderRef_set, doc=r"""执行宣告引用""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcInputExecOrderActionField_RequestID_get, _thosttraderapi.CThostFtdcInputExecOrderActionField_RequestID_set, doc=r"""请求编号""")
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcInputExecOrderActionField_FrontID_get, _thosttraderapi.CThostFtdcInputExecOrderActionField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcInputExecOrderActionField_SessionID_get, _thosttraderapi.CThostFtdcInputExecOrderActionField_SessionID_set, doc=r"""会话编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcInputExecOrderActionField_ExchangeID_get, _thosttraderapi.CThostFtdcInputExecOrderActionField_ExchangeID_set, doc=r"""交易所代码""")
    ExecOrderSysID: "TThostFtdcExecOrderSysIDType" = property(_thosttraderapi.CThostFtdcInputExecOrderActionField_ExecOrderSysID_get, _thosttraderapi.CThostFtdcInputExecOrderActionField_ExecOrderSysID_set, doc=r"""执行宣告操作编号""")
    ActionFlag: "TThostFtdcActionFlagType" = property(_thosttraderapi.CThostFtdcInputExecOrderActionField_ActionFlag_get, _thosttraderapi.CThostFtdcInputExecOrderActionField_ActionFlag_set, doc=r"""操作标志""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcInputExecOrderActionField_UserID_get, _thosttraderapi.CThostFtdcInputExecOrderActionField_UserID_set, doc=r"""用户代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInputExecOrderActionField_reserve1_get, _thosttraderapi.CThostFtdcInputExecOrderActionField_reserve1_set, doc=r"""保留的无效字段""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcInputExecOrderActionField_InvestUnitID_get, _thosttraderapi.CThostFtdcInputExecOrderActionField_InvestUnitID_set, doc=r"""投资单元代码""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcInputExecOrderActionField_reserve2_get, _thosttraderapi.CThostFtdcInputExecOrderActionField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcInputExecOrderActionField_MacAddress_get, _thosttraderapi.CThostFtdcInputExecOrderActionField_MacAddress_set, doc=r"""Mac地址""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInputExecOrderActionField_InstrumentID_get, _thosttraderapi.CThostFtdcInputExecOrderActionField_InstrumentID_set, doc=r"""合约代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcInputExecOrderActionField_IPAddress_get, _thosttraderapi.CThostFtdcInputExecOrderActionField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInputExecOrderActionField_swiginit(self, _thosttraderapi.new_CThostFtdcInputExecOrderActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInputExecOrderActionField

# Register CThostFtdcInputExecOrderActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcInputExecOrderActionField_swigregister(CThostFtdcInputExecOrderActionField)
class CThostFtdcExecOrderField(object):
    r"""执行宣告"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_BrokerID_get, _thosttraderapi.CThostFtdcExecOrderField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_InvestorID_get, _thosttraderapi.CThostFtdcExecOrderField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_reserve1_get, _thosttraderapi.CThostFtdcExecOrderField_reserve1_set, doc=r"""保留的无效字段""")
    ExecOrderRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcExecOrderField_ExecOrderRef_get, _thosttraderapi.CThostFtdcExecOrderField_ExecOrderRef_set, doc=r"""执行宣告引用""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_UserID_get, _thosttraderapi.CThostFtdcExecOrderField_UserID_set, doc=r"""用户代码""")
    Volume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcExecOrderField_Volume_get, _thosttraderapi.CThostFtdcExecOrderField_Volume_set, doc=r"""数量""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_RequestID_get, _thosttraderapi.CThostFtdcExecOrderField_RequestID_set, doc=r"""请求编号""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcExecOrderField_BusinessUnit_get, _thosttraderapi.CThostFtdcExecOrderField_BusinessUnit_set, doc=r"""业务单元""")
    OffsetFlag: "TThostFtdcOffsetFlagType" = property(_thosttraderapi.CThostFtdcExecOrderField_OffsetFlag_get, _thosttraderapi.CThostFtdcExecOrderField_OffsetFlag_set, doc=r"""开平标志""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcExecOrderField_HedgeFlag_get, _thosttraderapi.CThostFtdcExecOrderField_HedgeFlag_set, doc=r"""投机套保标志""")
    ActionType: "TThostFtdcActionTypeType" = property(_thosttraderapi.CThostFtdcExecOrderField_ActionType_get, _thosttraderapi.CThostFtdcExecOrderField_ActionType_set, doc=r"""执行类型""")
    PosiDirection: "TThostFtdcPosiDirectionType" = property(_thosttraderapi.CThostFtdcExecOrderField_PosiDirection_get, _thosttraderapi.CThostFtdcExecOrderField_PosiDirection_set, doc=r"""保留头寸申请的持仓方向""")
    ReservePositionFlag: "TThostFtdcExecOrderPositionFlagType" = property(_thosttraderapi.CThostFtdcExecOrderField_ReservePositionFlag_get, _thosttraderapi.CThostFtdcExecOrderField_ReservePositionFlag_set, doc=r"""期权行权后是否保留期货头寸的标记,该字段已废弃""")
    CloseFlag: "TThostFtdcExecOrderCloseFlagType" = property(_thosttraderapi.CThostFtdcExecOrderField_CloseFlag_get, _thosttraderapi.CThostFtdcExecOrderField_CloseFlag_set, doc=r"""期权行权后生成的头寸是否自动平仓""")
    ExecOrderLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_ExecOrderLocalID_get, _thosttraderapi.CThostFtdcExecOrderField_ExecOrderLocalID_set, doc=r"""本地执行宣告编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_ExchangeID_get, _thosttraderapi.CThostFtdcExecOrderField_ExchangeID_set, doc=r"""交易所代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_ParticipantID_get, _thosttraderapi.CThostFtdcExecOrderField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_ClientID_get, _thosttraderapi.CThostFtdcExecOrderField_ClientID_set, doc=r"""客户代码""")
    reserve2: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_reserve2_get, _thosttraderapi.CThostFtdcExecOrderField_reserve2_set, doc=r"""保留的无效字段""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_TraderID_get, _thosttraderapi.CThostFtdcExecOrderField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_InstallID_get, _thosttraderapi.CThostFtdcExecOrderField_InstallID_set, doc=r"""安装编号""")
    OrderSubmitStatus: "TThostFtdcOrderSubmitStatusType" = property(_thosttraderapi.CThostFtdcExecOrderField_OrderSubmitStatus_get, _thosttraderapi.CThostFtdcExecOrderField_OrderSubmitStatus_set, doc=r"""执行宣告提交状态""")
    NotifySequence: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcExecOrderField_NotifySequence_get, _thosttraderapi.CThostFtdcExecOrderField_NotifySequence_set, doc=r"""报单提示序号""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcExecOrderField_TradingDay_get, _thosttraderapi.CThostFtdcExecOrderField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_SettlementID_get, _thosttraderapi.CThostFtdcExecOrderField_SettlementID_set, doc=r"""结算编号""")
    ExecOrderSysID: "TThostFtdcExecOrderSysIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_ExecOrderSysID_get, _thosttraderapi.CThostFtdcExecOrderField_ExecOrderSysID_set, doc=r"""执行宣告编号""")
    InsertDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcExecOrderField_InsertDate_get, _thosttraderapi.CThostFtdcExecOrderField_InsertDate_set, doc=r"""报单日期""")
    InsertTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcExecOrderField_InsertTime_get, _thosttraderapi.CThostFtdcExecOrderField_InsertTime_set, doc=r"""插入时间""")
    CancelTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcExecOrderField_CancelTime_get, _thosttraderapi.CThostFtdcExecOrderField_CancelTime_set, doc=r"""撤销时间""")
    ExecResult: "TThostFtdcExecResultType" = property(_thosttraderapi.CThostFtdcExecOrderField_ExecResult_get, _thosttraderapi.CThostFtdcExecOrderField_ExecResult_set, doc=r"""执行结果""")
    ClearingPartID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_ClearingPartID_get, _thosttraderapi.CThostFtdcExecOrderField_ClearingPartID_set, doc=r"""结算会员编号""")
    SequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcExecOrderField_SequenceNo_get, _thosttraderapi.CThostFtdcExecOrderField_SequenceNo_set, doc=r"""序号""")
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_FrontID_get, _thosttraderapi.CThostFtdcExecOrderField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_SessionID_get, _thosttraderapi.CThostFtdcExecOrderField_SessionID_set, doc=r"""会话编号""")
    UserProductInfo: "TThostFtdcProductInfoType" = property(_thosttraderapi.CThostFtdcExecOrderField_UserProductInfo_get, _thosttraderapi.CThostFtdcExecOrderField_UserProductInfo_set, doc=r"""用户端产品信息""")
    StatusMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcExecOrderField_StatusMsg_get, _thosttraderapi.CThostFtdcExecOrderField_StatusMsg_set, doc=r"""状态信息""")
    ActiveUserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_ActiveUserID_get, _thosttraderapi.CThostFtdcExecOrderField_ActiveUserID_set, doc=r"""操作用户代码""")
    BrokerExecOrderSeq: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcExecOrderField_BrokerExecOrderSeq_get, _thosttraderapi.CThostFtdcExecOrderField_BrokerExecOrderSeq_set, doc=r"""经纪公司报单编号""")
    BranchID: "TThostFtdcBranchIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_BranchID_get, _thosttraderapi.CThostFtdcExecOrderField_BranchID_set, doc=r"""营业部编号""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_InvestUnitID_get, _thosttraderapi.CThostFtdcExecOrderField_InvestUnitID_set, doc=r"""投资单元代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_AccountID_get, _thosttraderapi.CThostFtdcExecOrderField_AccountID_set, doc=r"""资金账号""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_CurrencyID_get, _thosttraderapi.CThostFtdcExecOrderField_CurrencyID_set, doc=r"""币种代码""")
    reserve3: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcExecOrderField_reserve3_get, _thosttraderapi.CThostFtdcExecOrderField_reserve3_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcExecOrderField_MacAddress_get, _thosttraderapi.CThostFtdcExecOrderField_MacAddress_set, doc=r"""Mac地址""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_InstrumentID_get, _thosttraderapi.CThostFtdcExecOrderField_InstrumentID_set, doc=r"""合约代码""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcExecOrderField_ExchangeInstID_get, _thosttraderapi.CThostFtdcExecOrderField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcExecOrderField_IPAddress_get, _thosttraderapi.CThostFtdcExecOrderField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcExecOrderField_swiginit(self, _thosttraderapi.new_CThostFtdcExecOrderField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcExecOrderField

# Register CThostFtdcExecOrderField in _thosttraderapi:
_thosttraderapi.CThostFtdcExecOrderField_swigregister(CThostFtdcExecOrderField)
class CThostFtdcExecOrderActionField(object):
    r"""执行宣告操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_BrokerID_get, _thosttraderapi.CThostFtdcExecOrderActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_InvestorID_get, _thosttraderapi.CThostFtdcExecOrderActionField_InvestorID_set, doc=r"""投资者代码""")
    ExecOrderActionRef: "TThostFtdcOrderActionRefType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_ExecOrderActionRef_get, _thosttraderapi.CThostFtdcExecOrderActionField_ExecOrderActionRef_set, doc=r"""执行宣告操作引用""")
    ExecOrderRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_ExecOrderRef_get, _thosttraderapi.CThostFtdcExecOrderActionField_ExecOrderRef_set, doc=r"""执行宣告引用""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_RequestID_get, _thosttraderapi.CThostFtdcExecOrderActionField_RequestID_set, doc=r"""请求编号""")
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_FrontID_get, _thosttraderapi.CThostFtdcExecOrderActionField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_SessionID_get, _thosttraderapi.CThostFtdcExecOrderActionField_SessionID_set, doc=r"""会话编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_ExchangeID_get, _thosttraderapi.CThostFtdcExecOrderActionField_ExchangeID_set, doc=r"""交易所代码""")
    ExecOrderSysID: "TThostFtdcExecOrderSysIDType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_ExecOrderSysID_get, _thosttraderapi.CThostFtdcExecOrderActionField_ExecOrderSysID_set, doc=r"""执行宣告操作编号""")
    ActionFlag: "TThostFtdcActionFlagType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_ActionFlag_get, _thosttraderapi.CThostFtdcExecOrderActionField_ActionFlag_set, doc=r"""操作标志""")
    ActionDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_ActionDate_get, _thosttraderapi.CThostFtdcExecOrderActionField_ActionDate_set, doc=r"""操作日期""")
    ActionTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_ActionTime_get, _thosttraderapi.CThostFtdcExecOrderActionField_ActionTime_set, doc=r"""操作时间""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_TraderID_get, _thosttraderapi.CThostFtdcExecOrderActionField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_InstallID_get, _thosttraderapi.CThostFtdcExecOrderActionField_InstallID_set, doc=r"""安装编号""")
    ExecOrderLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_ExecOrderLocalID_get, _thosttraderapi.CThostFtdcExecOrderActionField_ExecOrderLocalID_set, doc=r"""本地执行宣告编号""")
    ActionLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_ActionLocalID_get, _thosttraderapi.CThostFtdcExecOrderActionField_ActionLocalID_set, doc=r"""操作本地编号""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_ParticipantID_get, _thosttraderapi.CThostFtdcExecOrderActionField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_ClientID_get, _thosttraderapi.CThostFtdcExecOrderActionField_ClientID_set, doc=r"""客户代码""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_BusinessUnit_get, _thosttraderapi.CThostFtdcExecOrderActionField_BusinessUnit_set, doc=r"""业务单元""")
    OrderActionStatus: "TThostFtdcOrderActionStatusType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_OrderActionStatus_get, _thosttraderapi.CThostFtdcExecOrderActionField_OrderActionStatus_set, doc=r"""报单操作状态""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_UserID_get, _thosttraderapi.CThostFtdcExecOrderActionField_UserID_set, doc=r"""用户代码""")
    ActionType: "TThostFtdcActionTypeType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_ActionType_get, _thosttraderapi.CThostFtdcExecOrderActionField_ActionType_set, doc=r"""执行类型""")
    StatusMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_StatusMsg_get, _thosttraderapi.CThostFtdcExecOrderActionField_StatusMsg_set, doc=r"""状态信息""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_reserve1_get, _thosttraderapi.CThostFtdcExecOrderActionField_reserve1_set, doc=r"""保留的无效字段""")
    BranchID: "TThostFtdcBranchIDType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_BranchID_get, _thosttraderapi.CThostFtdcExecOrderActionField_BranchID_set, doc=r"""营业部编号""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_InvestUnitID_get, _thosttraderapi.CThostFtdcExecOrderActionField_InvestUnitID_set, doc=r"""投资单元代码""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_reserve2_get, _thosttraderapi.CThostFtdcExecOrderActionField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_MacAddress_get, _thosttraderapi.CThostFtdcExecOrderActionField_MacAddress_set, doc=r"""Mac地址""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_InstrumentID_get, _thosttraderapi.CThostFtdcExecOrderActionField_InstrumentID_set, doc=r"""合约代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcExecOrderActionField_IPAddress_get, _thosttraderapi.CThostFtdcExecOrderActionField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcExecOrderActionField_swiginit(self, _thosttraderapi.new_CThostFtdcExecOrderActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcExecOrderActionField

# Register CThostFtdcExecOrderActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcExecOrderActionField_swigregister(CThostFtdcExecOrderActionField)
class CThostFtdcQryExecOrderField(object):
    r"""执行宣告查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryExecOrderField_BrokerID_get, _thosttraderapi.CThostFtdcQryExecOrderField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryExecOrderField_InvestorID_get, _thosttraderapi.CThostFtdcQryExecOrderField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryExecOrderField_reserve1_get, _thosttraderapi.CThostFtdcQryExecOrderField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryExecOrderField_ExchangeID_get, _thosttraderapi.CThostFtdcQryExecOrderField_ExchangeID_set, doc=r"""交易所代码""")
    ExecOrderSysID: "TThostFtdcExecOrderSysIDType" = property(_thosttraderapi.CThostFtdcQryExecOrderField_ExecOrderSysID_get, _thosttraderapi.CThostFtdcQryExecOrderField_ExecOrderSysID_set, doc=r"""执行宣告编号""")
    InsertTimeStart: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcQryExecOrderField_InsertTimeStart_get, _thosttraderapi.CThostFtdcQryExecOrderField_InsertTimeStart_set, doc=r"""开始时间""")
    InsertTimeEnd: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcQryExecOrderField_InsertTimeEnd_get, _thosttraderapi.CThostFtdcQryExecOrderField_InsertTimeEnd_set, doc=r"""结束时间""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryExecOrderField_InstrumentID_get, _thosttraderapi.CThostFtdcQryExecOrderField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryExecOrderField_swiginit(self, _thosttraderapi.new_CThostFtdcQryExecOrderField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryExecOrderField

# Register CThostFtdcQryExecOrderField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryExecOrderField_swigregister(CThostFtdcQryExecOrderField)
class CThostFtdcExchangeExecOrderField(object):
    r"""交易所执行宣告信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    Volume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_Volume_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_Volume_set, doc=r"""数量""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_RequestID_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_RequestID_set, doc=r"""请求编号""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_BusinessUnit_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_BusinessUnit_set, doc=r"""业务单元""")
    OffsetFlag: "TThostFtdcOffsetFlagType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_OffsetFlag_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_OffsetFlag_set, doc=r"""开平标志""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_HedgeFlag_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_HedgeFlag_set, doc=r"""投机套保标志""")
    ActionType: "TThostFtdcActionTypeType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_ActionType_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_ActionType_set, doc=r"""执行类型""")
    PosiDirection: "TThostFtdcPosiDirectionType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_PosiDirection_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_PosiDirection_set, doc=r"""保留头寸申请的持仓方向""")
    ReservePositionFlag: "TThostFtdcExecOrderPositionFlagType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_ReservePositionFlag_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_ReservePositionFlag_set, doc=r"""期权行权后是否保留期货头寸的标记,该字段已废弃""")
    CloseFlag: "TThostFtdcExecOrderCloseFlagType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_CloseFlag_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_CloseFlag_set, doc=r"""期权行权后生成的头寸是否自动平仓""")
    ExecOrderLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_ExecOrderLocalID_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_ExecOrderLocalID_set, doc=r"""本地执行宣告编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_ExchangeID_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_ExchangeID_set, doc=r"""交易所代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_ParticipantID_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_ClientID_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_ClientID_set, doc=r"""客户代码""")
    reserve1: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_reserve1_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_reserve1_set, doc=r"""保留的无效字段""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_TraderID_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_InstallID_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_InstallID_set, doc=r"""安装编号""")
    OrderSubmitStatus: "TThostFtdcOrderSubmitStatusType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_OrderSubmitStatus_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_OrderSubmitStatus_set, doc=r"""执行宣告提交状态""")
    NotifySequence: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_NotifySequence_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_NotifySequence_set, doc=r"""报单提示序号""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_TradingDay_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_SettlementID_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_SettlementID_set, doc=r"""结算编号""")
    ExecOrderSysID: "TThostFtdcExecOrderSysIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_ExecOrderSysID_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_ExecOrderSysID_set, doc=r"""执行宣告编号""")
    InsertDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_InsertDate_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_InsertDate_set, doc=r"""报单日期""")
    InsertTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_InsertTime_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_InsertTime_set, doc=r"""插入时间""")
    CancelTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_CancelTime_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_CancelTime_set, doc=r"""撤销时间""")
    ExecResult: "TThostFtdcExecResultType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_ExecResult_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_ExecResult_set, doc=r"""执行结果""")
    ClearingPartID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_ClearingPartID_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_ClearingPartID_set, doc=r"""结算会员编号""")
    SequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_SequenceNo_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_SequenceNo_set, doc=r"""序号""")
    BranchID: "TThostFtdcBranchIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_BranchID_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_BranchID_set, doc=r"""营业部编号""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_reserve2_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_MacAddress_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_MacAddress_set, doc=r"""Mac地址""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_ExchangeInstID_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderField_IPAddress_get, _thosttraderapi.CThostFtdcExchangeExecOrderField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcExchangeExecOrderField_swiginit(self, _thosttraderapi.new_CThostFtdcExchangeExecOrderField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcExchangeExecOrderField

# Register CThostFtdcExchangeExecOrderField in _thosttraderapi:
_thosttraderapi.CThostFtdcExchangeExecOrderField_swigregister(CThostFtdcExchangeExecOrderField)
class CThostFtdcQryExchangeExecOrderField(object):
    r"""交易所执行宣告查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcQryExchangeExecOrderField_ParticipantID_get, _thosttraderapi.CThostFtdcQryExchangeExecOrderField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcQryExchangeExecOrderField_ClientID_get, _thosttraderapi.CThostFtdcQryExchangeExecOrderField_ClientID_set, doc=r"""客户代码""")
    reserve1: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcQryExchangeExecOrderField_reserve1_get, _thosttraderapi.CThostFtdcQryExchangeExecOrderField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryExchangeExecOrderField_ExchangeID_get, _thosttraderapi.CThostFtdcQryExchangeExecOrderField_ExchangeID_set, doc=r"""交易所代码""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcQryExchangeExecOrderField_TraderID_get, _thosttraderapi.CThostFtdcQryExchangeExecOrderField_TraderID_set, doc=r"""交易所交易员代码""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcQryExchangeExecOrderField_ExchangeInstID_get, _thosttraderapi.CThostFtdcQryExchangeExecOrderField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryExchangeExecOrderField_swiginit(self, _thosttraderapi.new_CThostFtdcQryExchangeExecOrderField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryExchangeExecOrderField

# Register CThostFtdcQryExchangeExecOrderField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryExchangeExecOrderField_swigregister(CThostFtdcQryExchangeExecOrderField)
class CThostFtdcQryExecOrderActionField(object):
    r"""执行宣告操作查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryExecOrderActionField_BrokerID_get, _thosttraderapi.CThostFtdcQryExecOrderActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryExecOrderActionField_InvestorID_get, _thosttraderapi.CThostFtdcQryExecOrderActionField_InvestorID_set, doc=r"""投资者代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryExecOrderActionField_ExchangeID_get, _thosttraderapi.CThostFtdcQryExecOrderActionField_ExchangeID_set, doc=r"""交易所代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryExecOrderActionField_swiginit(self, _thosttraderapi.new_CThostFtdcQryExecOrderActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryExecOrderActionField

# Register CThostFtdcQryExecOrderActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryExecOrderActionField_swigregister(CThostFtdcQryExecOrderActionField)
class CThostFtdcExchangeExecOrderActionField(object):
    r"""交易所执行宣告操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderActionField_ExchangeID_get, _thosttraderapi.CThostFtdcExchangeExecOrderActionField_ExchangeID_set, doc=r"""交易所代码""")
    ExecOrderSysID: "TThostFtdcExecOrderSysIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderActionField_ExecOrderSysID_get, _thosttraderapi.CThostFtdcExchangeExecOrderActionField_ExecOrderSysID_set, doc=r"""执行宣告操作编号""")
    ActionFlag: "TThostFtdcActionFlagType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderActionField_ActionFlag_get, _thosttraderapi.CThostFtdcExchangeExecOrderActionField_ActionFlag_set, doc=r"""操作标志""")
    ActionDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderActionField_ActionDate_get, _thosttraderapi.CThostFtdcExchangeExecOrderActionField_ActionDate_set, doc=r"""操作日期""")
    ActionTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderActionField_ActionTime_get, _thosttraderapi.CThostFtdcExchangeExecOrderActionField_ActionTime_set, doc=r"""操作时间""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderActionField_TraderID_get, _thosttraderapi.CThostFtdcExchangeExecOrderActionField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderActionField_InstallID_get, _thosttraderapi.CThostFtdcExchangeExecOrderActionField_InstallID_set, doc=r"""安装编号""")
    ExecOrderLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderActionField_ExecOrderLocalID_get, _thosttraderapi.CThostFtdcExchangeExecOrderActionField_ExecOrderLocalID_set, doc=r"""本地执行宣告编号""")
    ActionLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderActionField_ActionLocalID_get, _thosttraderapi.CThostFtdcExchangeExecOrderActionField_ActionLocalID_set, doc=r"""操作本地编号""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderActionField_ParticipantID_get, _thosttraderapi.CThostFtdcExchangeExecOrderActionField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderActionField_ClientID_get, _thosttraderapi.CThostFtdcExchangeExecOrderActionField_ClientID_set, doc=r"""客户代码""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderActionField_BusinessUnit_get, _thosttraderapi.CThostFtdcExchangeExecOrderActionField_BusinessUnit_set, doc=r"""业务单元""")
    OrderActionStatus: "TThostFtdcOrderActionStatusType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderActionField_OrderActionStatus_get, _thosttraderapi.CThostFtdcExchangeExecOrderActionField_OrderActionStatus_set, doc=r"""报单操作状态""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderActionField_UserID_get, _thosttraderapi.CThostFtdcExchangeExecOrderActionField_UserID_set, doc=r"""用户代码""")
    ActionType: "TThostFtdcActionTypeType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderActionField_ActionType_get, _thosttraderapi.CThostFtdcExchangeExecOrderActionField_ActionType_set, doc=r"""执行类型""")
    BranchID: "TThostFtdcBranchIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderActionField_BranchID_get, _thosttraderapi.CThostFtdcExchangeExecOrderActionField_BranchID_set, doc=r"""营业部编号""")
    reserve1: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderActionField_reserve1_get, _thosttraderapi.CThostFtdcExchangeExecOrderActionField_reserve1_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderActionField_MacAddress_get, _thosttraderapi.CThostFtdcExchangeExecOrderActionField_MacAddress_set, doc=r"""Mac地址""")
    reserve2: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderActionField_reserve2_get, _thosttraderapi.CThostFtdcExchangeExecOrderActionField_reserve2_set, doc=r"""保留的无效字段""")
    Volume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderActionField_Volume_get, _thosttraderapi.CThostFtdcExchangeExecOrderActionField_Volume_set, doc=r"""数量""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderActionField_IPAddress_get, _thosttraderapi.CThostFtdcExchangeExecOrderActionField_IPAddress_set, doc=r"""IP地址""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcExchangeExecOrderActionField_ExchangeInstID_get, _thosttraderapi.CThostFtdcExchangeExecOrderActionField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcExchangeExecOrderActionField_swiginit(self, _thosttraderapi.new_CThostFtdcExchangeExecOrderActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcExchangeExecOrderActionField

# Register CThostFtdcExchangeExecOrderActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcExchangeExecOrderActionField_swigregister(CThostFtdcExchangeExecOrderActionField)
class CThostFtdcQryExchangeExecOrderActionField(object):
    r"""交易所执行宣告操作查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcQryExchangeExecOrderActionField_ParticipantID_get, _thosttraderapi.CThostFtdcQryExchangeExecOrderActionField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcQryExchangeExecOrderActionField_ClientID_get, _thosttraderapi.CThostFtdcQryExchangeExecOrderActionField_ClientID_set, doc=r"""客户代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryExchangeExecOrderActionField_ExchangeID_get, _thosttraderapi.CThostFtdcQryExchangeExecOrderActionField_ExchangeID_set, doc=r"""交易所代码""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcQryExchangeExecOrderActionField_TraderID_get, _thosttraderapi.CThostFtdcQryExchangeExecOrderActionField_TraderID_set, doc=r"""交易所交易员代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryExchangeExecOrderActionField_swiginit(self, _thosttraderapi.new_CThostFtdcQryExchangeExecOrderActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryExchangeExecOrderActionField

# Register CThostFtdcQryExchangeExecOrderActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryExchangeExecOrderActionField_swigregister(CThostFtdcQryExchangeExecOrderActionField)
class CThostFtdcErrExecOrderField(object):
    r"""错误执行宣告"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_BrokerID_get, _thosttraderapi.CThostFtdcErrExecOrderField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_InvestorID_get, _thosttraderapi.CThostFtdcErrExecOrderField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_reserve1_get, _thosttraderapi.CThostFtdcErrExecOrderField_reserve1_set, doc=r"""保留的无效字段""")
    ExecOrderRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_ExecOrderRef_get, _thosttraderapi.CThostFtdcErrExecOrderField_ExecOrderRef_set, doc=r"""执行宣告引用""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_UserID_get, _thosttraderapi.CThostFtdcErrExecOrderField_UserID_set, doc=r"""用户代码""")
    Volume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_Volume_get, _thosttraderapi.CThostFtdcErrExecOrderField_Volume_set, doc=r"""数量""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_RequestID_get, _thosttraderapi.CThostFtdcErrExecOrderField_RequestID_set, doc=r"""请求编号""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_BusinessUnit_get, _thosttraderapi.CThostFtdcErrExecOrderField_BusinessUnit_set, doc=r"""业务单元""")
    OffsetFlag: "TThostFtdcOffsetFlagType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_OffsetFlag_get, _thosttraderapi.CThostFtdcErrExecOrderField_OffsetFlag_set, doc=r"""开平标志""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_HedgeFlag_get, _thosttraderapi.CThostFtdcErrExecOrderField_HedgeFlag_set, doc=r"""投机套保标志""")
    ActionType: "TThostFtdcActionTypeType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_ActionType_get, _thosttraderapi.CThostFtdcErrExecOrderField_ActionType_set, doc=r"""执行类型""")
    PosiDirection: "TThostFtdcPosiDirectionType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_PosiDirection_get, _thosttraderapi.CThostFtdcErrExecOrderField_PosiDirection_set, doc=r"""保留头寸申请的持仓方向""")
    ReservePositionFlag: "TThostFtdcExecOrderPositionFlagType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_ReservePositionFlag_get, _thosttraderapi.CThostFtdcErrExecOrderField_ReservePositionFlag_set, doc=r"""期权行权后是否保留期货头寸的标记,该字段已废弃""")
    CloseFlag: "TThostFtdcExecOrderCloseFlagType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_CloseFlag_get, _thosttraderapi.CThostFtdcErrExecOrderField_CloseFlag_set, doc=r"""期权行权后生成的头寸是否自动平仓""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_ExchangeID_get, _thosttraderapi.CThostFtdcErrExecOrderField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_InvestUnitID_get, _thosttraderapi.CThostFtdcErrExecOrderField_InvestUnitID_set, doc=r"""投资单元代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_AccountID_get, _thosttraderapi.CThostFtdcErrExecOrderField_AccountID_set, doc=r"""资金账号""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_CurrencyID_get, _thosttraderapi.CThostFtdcErrExecOrderField_CurrencyID_set, doc=r"""币种代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_ClientID_get, _thosttraderapi.CThostFtdcErrExecOrderField_ClientID_set, doc=r"""交易编码""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_reserve2_get, _thosttraderapi.CThostFtdcErrExecOrderField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_MacAddress_get, _thosttraderapi.CThostFtdcErrExecOrderField_MacAddress_set, doc=r"""Mac地址""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_ErrorID_get, _thosttraderapi.CThostFtdcErrExecOrderField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_ErrorMsg_get, _thosttraderapi.CThostFtdcErrExecOrderField_ErrorMsg_set, doc=r"""错误信息""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_InstrumentID_get, _thosttraderapi.CThostFtdcErrExecOrderField_InstrumentID_set, doc=r"""合约代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcErrExecOrderField_IPAddress_get, _thosttraderapi.CThostFtdcErrExecOrderField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcErrExecOrderField_swiginit(self, _thosttraderapi.new_CThostFtdcErrExecOrderField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcErrExecOrderField

# Register CThostFtdcErrExecOrderField in _thosttraderapi:
_thosttraderapi.CThostFtdcErrExecOrderField_swigregister(CThostFtdcErrExecOrderField)
class CThostFtdcQryErrExecOrderField(object):
    r"""查询错误执行宣告"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryErrExecOrderField_BrokerID_get, _thosttraderapi.CThostFtdcQryErrExecOrderField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryErrExecOrderField_InvestorID_get, _thosttraderapi.CThostFtdcQryErrExecOrderField_InvestorID_set, doc=r"""投资者代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryErrExecOrderField_swiginit(self, _thosttraderapi.new_CThostFtdcQryErrExecOrderField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryErrExecOrderField

# Register CThostFtdcQryErrExecOrderField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryErrExecOrderField_swigregister(CThostFtdcQryErrExecOrderField)
class CThostFtdcErrExecOrderActionField(object):
    r"""错误执行宣告操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderActionField_BrokerID_get, _thosttraderapi.CThostFtdcErrExecOrderActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderActionField_InvestorID_get, _thosttraderapi.CThostFtdcErrExecOrderActionField_InvestorID_set, doc=r"""投资者代码""")
    ExecOrderActionRef: "TThostFtdcOrderActionRefType" = property(_thosttraderapi.CThostFtdcErrExecOrderActionField_ExecOrderActionRef_get, _thosttraderapi.CThostFtdcErrExecOrderActionField_ExecOrderActionRef_set, doc=r"""执行宣告操作引用""")
    ExecOrderRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcErrExecOrderActionField_ExecOrderRef_get, _thosttraderapi.CThostFtdcErrExecOrderActionField_ExecOrderRef_set, doc=r"""执行宣告引用""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderActionField_RequestID_get, _thosttraderapi.CThostFtdcErrExecOrderActionField_RequestID_set, doc=r"""请求编号""")
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderActionField_FrontID_get, _thosttraderapi.CThostFtdcErrExecOrderActionField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderActionField_SessionID_get, _thosttraderapi.CThostFtdcErrExecOrderActionField_SessionID_set, doc=r"""会话编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderActionField_ExchangeID_get, _thosttraderapi.CThostFtdcErrExecOrderActionField_ExchangeID_set, doc=r"""交易所代码""")
    ExecOrderSysID: "TThostFtdcExecOrderSysIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderActionField_ExecOrderSysID_get, _thosttraderapi.CThostFtdcErrExecOrderActionField_ExecOrderSysID_set, doc=r"""执行宣告操作编号""")
    ActionFlag: "TThostFtdcActionFlagType" = property(_thosttraderapi.CThostFtdcErrExecOrderActionField_ActionFlag_get, _thosttraderapi.CThostFtdcErrExecOrderActionField_ActionFlag_set, doc=r"""操作标志""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderActionField_UserID_get, _thosttraderapi.CThostFtdcErrExecOrderActionField_UserID_set, doc=r"""用户代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderActionField_reserve1_get, _thosttraderapi.CThostFtdcErrExecOrderActionField_reserve1_set, doc=r"""保留的无效字段""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderActionField_InvestUnitID_get, _thosttraderapi.CThostFtdcErrExecOrderActionField_InvestUnitID_set, doc=r"""投资单元代码""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcErrExecOrderActionField_reserve2_get, _thosttraderapi.CThostFtdcErrExecOrderActionField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcErrExecOrderActionField_MacAddress_get, _thosttraderapi.CThostFtdcErrExecOrderActionField_MacAddress_set, doc=r"""Mac地址""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderActionField_ErrorID_get, _thosttraderapi.CThostFtdcErrExecOrderActionField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcErrExecOrderActionField_ErrorMsg_get, _thosttraderapi.CThostFtdcErrExecOrderActionField_ErrorMsg_set, doc=r"""错误信息""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcErrExecOrderActionField_InstrumentID_get, _thosttraderapi.CThostFtdcErrExecOrderActionField_InstrumentID_set, doc=r"""合约代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcErrExecOrderActionField_IPAddress_get, _thosttraderapi.CThostFtdcErrExecOrderActionField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcErrExecOrderActionField_swiginit(self, _thosttraderapi.new_CThostFtdcErrExecOrderActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcErrExecOrderActionField

# Register CThostFtdcErrExecOrderActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcErrExecOrderActionField_swigregister(CThostFtdcErrExecOrderActionField)
class CThostFtdcQryErrExecOrderActionField(object):
    r"""查询错误执行宣告操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryErrExecOrderActionField_BrokerID_get, _thosttraderapi.CThostFtdcQryErrExecOrderActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryErrExecOrderActionField_InvestorID_get, _thosttraderapi.CThostFtdcQryErrExecOrderActionField_InvestorID_set, doc=r"""投资者代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryErrExecOrderActionField_swiginit(self, _thosttraderapi.new_CThostFtdcQryErrExecOrderActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryErrExecOrderActionField

# Register CThostFtdcQryErrExecOrderActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryErrExecOrderActionField_swigregister(CThostFtdcQryErrExecOrderActionField)
class CThostFtdcOptionInstrTradingRightField(object):
    r"""投资者期权合约交易权限"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcOptionInstrTradingRightField_reserve1_get, _thosttraderapi.CThostFtdcOptionInstrTradingRightField_reserve1_set, doc=r"""保留的无效字段""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcOptionInstrTradingRightField_InvestorRange_get, _thosttraderapi.CThostFtdcOptionInstrTradingRightField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcOptionInstrTradingRightField_BrokerID_get, _thosttraderapi.CThostFtdcOptionInstrTradingRightField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcOptionInstrTradingRightField_InvestorID_get, _thosttraderapi.CThostFtdcOptionInstrTradingRightField_InvestorID_set, doc=r"""投资者代码""")
    Direction: "TThostFtdcDirectionType" = property(_thosttraderapi.CThostFtdcOptionInstrTradingRightField_Direction_get, _thosttraderapi.CThostFtdcOptionInstrTradingRightField_Direction_set, doc=r"""买卖方向""")
    TradingRight: "TThostFtdcTradingRightType" = property(_thosttraderapi.CThostFtdcOptionInstrTradingRightField_TradingRight_get, _thosttraderapi.CThostFtdcOptionInstrTradingRightField_TradingRight_set, doc=r"""交易权限""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcOptionInstrTradingRightField_InstrumentID_get, _thosttraderapi.CThostFtdcOptionInstrTradingRightField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcOptionInstrTradingRightField_swiginit(self, _thosttraderapi.new_CThostFtdcOptionInstrTradingRightField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcOptionInstrTradingRightField

# Register CThostFtdcOptionInstrTradingRightField in _thosttraderapi:
_thosttraderapi.CThostFtdcOptionInstrTradingRightField_swigregister(CThostFtdcOptionInstrTradingRightField)
class CThostFtdcQryOptionInstrTradingRightField(object):
    r"""查询期权合约交易权限"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryOptionInstrTradingRightField_BrokerID_get, _thosttraderapi.CThostFtdcQryOptionInstrTradingRightField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryOptionInstrTradingRightField_InvestorID_get, _thosttraderapi.CThostFtdcQryOptionInstrTradingRightField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryOptionInstrTradingRightField_reserve1_get, _thosttraderapi.CThostFtdcQryOptionInstrTradingRightField_reserve1_set, doc=r"""保留的无效字段""")
    Direction: "TThostFtdcDirectionType" = property(_thosttraderapi.CThostFtdcQryOptionInstrTradingRightField_Direction_get, _thosttraderapi.CThostFtdcQryOptionInstrTradingRightField_Direction_set, doc=r"""买卖方向""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryOptionInstrTradingRightField_InstrumentID_get, _thosttraderapi.CThostFtdcQryOptionInstrTradingRightField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryOptionInstrTradingRightField_swiginit(self, _thosttraderapi.new_CThostFtdcQryOptionInstrTradingRightField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryOptionInstrTradingRightField

# Register CThostFtdcQryOptionInstrTradingRightField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryOptionInstrTradingRightField_swigregister(CThostFtdcQryOptionInstrTradingRightField)
class CThostFtdcInputForQuoteField(object):
    r"""输入的询价"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInputForQuoteField_BrokerID_get, _thosttraderapi.CThostFtdcInputForQuoteField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInputForQuoteField_InvestorID_get, _thosttraderapi.CThostFtdcInputForQuoteField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInputForQuoteField_reserve1_get, _thosttraderapi.CThostFtdcInputForQuoteField_reserve1_set, doc=r"""保留的无效字段""")
    ForQuoteRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcInputForQuoteField_ForQuoteRef_get, _thosttraderapi.CThostFtdcInputForQuoteField_ForQuoteRef_set, doc=r"""询价引用""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcInputForQuoteField_UserID_get, _thosttraderapi.CThostFtdcInputForQuoteField_UserID_set, doc=r"""用户代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcInputForQuoteField_ExchangeID_get, _thosttraderapi.CThostFtdcInputForQuoteField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcInputForQuoteField_InvestUnitID_get, _thosttraderapi.CThostFtdcInputForQuoteField_InvestUnitID_set, doc=r"""投资单元代码""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcInputForQuoteField_reserve2_get, _thosttraderapi.CThostFtdcInputForQuoteField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcInputForQuoteField_MacAddress_get, _thosttraderapi.CThostFtdcInputForQuoteField_MacAddress_set, doc=r"""Mac地址""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInputForQuoteField_InstrumentID_get, _thosttraderapi.CThostFtdcInputForQuoteField_InstrumentID_set, doc=r"""合约代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcInputForQuoteField_IPAddress_get, _thosttraderapi.CThostFtdcInputForQuoteField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInputForQuoteField_swiginit(self, _thosttraderapi.new_CThostFtdcInputForQuoteField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInputForQuoteField

# Register CThostFtdcInputForQuoteField in _thosttraderapi:
_thosttraderapi.CThostFtdcInputForQuoteField_swigregister(CThostFtdcInputForQuoteField)
class CThostFtdcForQuoteField(object):
    r"""询价"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcForQuoteField_BrokerID_get, _thosttraderapi.CThostFtdcForQuoteField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcForQuoteField_InvestorID_get, _thosttraderapi.CThostFtdcForQuoteField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcForQuoteField_reserve1_get, _thosttraderapi.CThostFtdcForQuoteField_reserve1_set, doc=r"""保留的无效字段""")
    ForQuoteRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcForQuoteField_ForQuoteRef_get, _thosttraderapi.CThostFtdcForQuoteField_ForQuoteRef_set, doc=r"""询价引用""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcForQuoteField_UserID_get, _thosttraderapi.CThostFtdcForQuoteField_UserID_set, doc=r"""用户代码""")
    ForQuoteLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcForQuoteField_ForQuoteLocalID_get, _thosttraderapi.CThostFtdcForQuoteField_ForQuoteLocalID_set, doc=r"""本地询价编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcForQuoteField_ExchangeID_get, _thosttraderapi.CThostFtdcForQuoteField_ExchangeID_set, doc=r"""交易所代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcForQuoteField_ParticipantID_get, _thosttraderapi.CThostFtdcForQuoteField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcForQuoteField_ClientID_get, _thosttraderapi.CThostFtdcForQuoteField_ClientID_set, doc=r"""客户代码""")
    reserve2: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcForQuoteField_reserve2_get, _thosttraderapi.CThostFtdcForQuoteField_reserve2_set, doc=r"""保留的无效字段""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcForQuoteField_TraderID_get, _thosttraderapi.CThostFtdcForQuoteField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcForQuoteField_InstallID_get, _thosttraderapi.CThostFtdcForQuoteField_InstallID_set, doc=r"""安装编号""")
    InsertDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcForQuoteField_InsertDate_get, _thosttraderapi.CThostFtdcForQuoteField_InsertDate_set, doc=r"""报单日期""")
    InsertTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcForQuoteField_InsertTime_get, _thosttraderapi.CThostFtdcForQuoteField_InsertTime_set, doc=r"""插入时间""")
    ForQuoteStatus: "TThostFtdcForQuoteStatusType" = property(_thosttraderapi.CThostFtdcForQuoteField_ForQuoteStatus_get, _thosttraderapi.CThostFtdcForQuoteField_ForQuoteStatus_set, doc=r"""询价状态""")
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcForQuoteField_FrontID_get, _thosttraderapi.CThostFtdcForQuoteField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcForQuoteField_SessionID_get, _thosttraderapi.CThostFtdcForQuoteField_SessionID_set, doc=r"""会话编号""")
    StatusMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcForQuoteField_StatusMsg_get, _thosttraderapi.CThostFtdcForQuoteField_StatusMsg_set, doc=r"""状态信息""")
    ActiveUserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcForQuoteField_ActiveUserID_get, _thosttraderapi.CThostFtdcForQuoteField_ActiveUserID_set, doc=r"""操作用户代码""")
    BrokerForQutoSeq: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcForQuoteField_BrokerForQutoSeq_get, _thosttraderapi.CThostFtdcForQuoteField_BrokerForQutoSeq_set, doc=r"""经纪公司询价编号""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcForQuoteField_InvestUnitID_get, _thosttraderapi.CThostFtdcForQuoteField_InvestUnitID_set, doc=r"""投资单元代码""")
    reserve3: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcForQuoteField_reserve3_get, _thosttraderapi.CThostFtdcForQuoteField_reserve3_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcForQuoteField_MacAddress_get, _thosttraderapi.CThostFtdcForQuoteField_MacAddress_set, doc=r"""Mac地址""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcForQuoteField_InstrumentID_get, _thosttraderapi.CThostFtdcForQuoteField_InstrumentID_set, doc=r"""合约代码""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcForQuoteField_ExchangeInstID_get, _thosttraderapi.CThostFtdcForQuoteField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcForQuoteField_IPAddress_get, _thosttraderapi.CThostFtdcForQuoteField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcForQuoteField_swiginit(self, _thosttraderapi.new_CThostFtdcForQuoteField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcForQuoteField

# Register CThostFtdcForQuoteField in _thosttraderapi:
_thosttraderapi.CThostFtdcForQuoteField_swigregister(CThostFtdcForQuoteField)
class CThostFtdcQryForQuoteField(object):
    r"""询价查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryForQuoteField_BrokerID_get, _thosttraderapi.CThostFtdcQryForQuoteField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryForQuoteField_InvestorID_get, _thosttraderapi.CThostFtdcQryForQuoteField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryForQuoteField_reserve1_get, _thosttraderapi.CThostFtdcQryForQuoteField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryForQuoteField_ExchangeID_get, _thosttraderapi.CThostFtdcQryForQuoteField_ExchangeID_set, doc=r"""交易所代码""")
    InsertTimeStart: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcQryForQuoteField_InsertTimeStart_get, _thosttraderapi.CThostFtdcQryForQuoteField_InsertTimeStart_set, doc=r"""开始时间""")
    InsertTimeEnd: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcQryForQuoteField_InsertTimeEnd_get, _thosttraderapi.CThostFtdcQryForQuoteField_InsertTimeEnd_set, doc=r"""结束时间""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQryForQuoteField_InvestUnitID_get, _thosttraderapi.CThostFtdcQryForQuoteField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryForQuoteField_InstrumentID_get, _thosttraderapi.CThostFtdcQryForQuoteField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryForQuoteField_swiginit(self, _thosttraderapi.new_CThostFtdcQryForQuoteField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryForQuoteField

# Register CThostFtdcQryForQuoteField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryForQuoteField_swigregister(CThostFtdcQryForQuoteField)
class CThostFtdcExchangeForQuoteField(object):
    r"""交易所询价信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ForQuoteLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcExchangeForQuoteField_ForQuoteLocalID_get, _thosttraderapi.CThostFtdcExchangeForQuoteField_ForQuoteLocalID_set, doc=r"""本地询价编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcExchangeForQuoteField_ExchangeID_get, _thosttraderapi.CThostFtdcExchangeForQuoteField_ExchangeID_set, doc=r"""交易所代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcExchangeForQuoteField_ParticipantID_get, _thosttraderapi.CThostFtdcExchangeForQuoteField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcExchangeForQuoteField_ClientID_get, _thosttraderapi.CThostFtdcExchangeForQuoteField_ClientID_set, doc=r"""客户代码""")
    reserve1: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcExchangeForQuoteField_reserve1_get, _thosttraderapi.CThostFtdcExchangeForQuoteField_reserve1_set, doc=r"""保留的无效字段""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcExchangeForQuoteField_TraderID_get, _thosttraderapi.CThostFtdcExchangeForQuoteField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcExchangeForQuoteField_InstallID_get, _thosttraderapi.CThostFtdcExchangeForQuoteField_InstallID_set, doc=r"""安装编号""")
    InsertDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcExchangeForQuoteField_InsertDate_get, _thosttraderapi.CThostFtdcExchangeForQuoteField_InsertDate_set, doc=r"""报单日期""")
    InsertTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcExchangeForQuoteField_InsertTime_get, _thosttraderapi.CThostFtdcExchangeForQuoteField_InsertTime_set, doc=r"""插入时间""")
    ForQuoteStatus: "TThostFtdcForQuoteStatusType" = property(_thosttraderapi.CThostFtdcExchangeForQuoteField_ForQuoteStatus_get, _thosttraderapi.CThostFtdcExchangeForQuoteField_ForQuoteStatus_set, doc=r"""询价状态""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcExchangeForQuoteField_reserve2_get, _thosttraderapi.CThostFtdcExchangeForQuoteField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcExchangeForQuoteField_MacAddress_get, _thosttraderapi.CThostFtdcExchangeForQuoteField_MacAddress_set, doc=r"""Mac地址""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcExchangeForQuoteField_ExchangeInstID_get, _thosttraderapi.CThostFtdcExchangeForQuoteField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcExchangeForQuoteField_IPAddress_get, _thosttraderapi.CThostFtdcExchangeForQuoteField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcExchangeForQuoteField_swiginit(self, _thosttraderapi.new_CThostFtdcExchangeForQuoteField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcExchangeForQuoteField

# Register CThostFtdcExchangeForQuoteField in _thosttraderapi:
_thosttraderapi.CThostFtdcExchangeForQuoteField_swigregister(CThostFtdcExchangeForQuoteField)
class CThostFtdcQryExchangeForQuoteField(object):
    r"""交易所询价查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcQryExchangeForQuoteField_ParticipantID_get, _thosttraderapi.CThostFtdcQryExchangeForQuoteField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcQryExchangeForQuoteField_ClientID_get, _thosttraderapi.CThostFtdcQryExchangeForQuoteField_ClientID_set, doc=r"""客户代码""")
    reserve1: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcQryExchangeForQuoteField_reserve1_get, _thosttraderapi.CThostFtdcQryExchangeForQuoteField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryExchangeForQuoteField_ExchangeID_get, _thosttraderapi.CThostFtdcQryExchangeForQuoteField_ExchangeID_set, doc=r"""交易所代码""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcQryExchangeForQuoteField_TraderID_get, _thosttraderapi.CThostFtdcQryExchangeForQuoteField_TraderID_set, doc=r"""交易所交易员代码""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcQryExchangeForQuoteField_ExchangeInstID_get, _thosttraderapi.CThostFtdcQryExchangeForQuoteField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryExchangeForQuoteField_swiginit(self, _thosttraderapi.new_CThostFtdcQryExchangeForQuoteField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryExchangeForQuoteField

# Register CThostFtdcQryExchangeForQuoteField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryExchangeForQuoteField_swigregister(CThostFtdcQryExchangeForQuoteField)
class CThostFtdcInputQuoteField(object):
    r"""输入的报价"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInputQuoteField_BrokerID_get, _thosttraderapi.CThostFtdcInputQuoteField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInputQuoteField_InvestorID_get, _thosttraderapi.CThostFtdcInputQuoteField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInputQuoteField_reserve1_get, _thosttraderapi.CThostFtdcInputQuoteField_reserve1_set, doc=r"""保留的无效字段""")
    QuoteRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcInputQuoteField_QuoteRef_get, _thosttraderapi.CThostFtdcInputQuoteField_QuoteRef_set, doc=r"""报价引用""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcInputQuoteField_UserID_get, _thosttraderapi.CThostFtdcInputQuoteField_UserID_set, doc=r"""用户代码""")
    AskPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcInputQuoteField_AskPrice_get, _thosttraderapi.CThostFtdcInputQuoteField_AskPrice_set, doc=r"""卖价格""")
    BidPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcInputQuoteField_BidPrice_get, _thosttraderapi.CThostFtdcInputQuoteField_BidPrice_set, doc=r"""买价格""")
    AskVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInputQuoteField_AskVolume_get, _thosttraderapi.CThostFtdcInputQuoteField_AskVolume_set, doc=r"""卖数量""")
    BidVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInputQuoteField_BidVolume_get, _thosttraderapi.CThostFtdcInputQuoteField_BidVolume_set, doc=r"""买数量""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcInputQuoteField_RequestID_get, _thosttraderapi.CThostFtdcInputQuoteField_RequestID_set, doc=r"""请求编号""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcInputQuoteField_BusinessUnit_get, _thosttraderapi.CThostFtdcInputQuoteField_BusinessUnit_set, doc=r"""业务单元""")
    AskOffsetFlag: "TThostFtdcOffsetFlagType" = property(_thosttraderapi.CThostFtdcInputQuoteField_AskOffsetFlag_get, _thosttraderapi.CThostFtdcInputQuoteField_AskOffsetFlag_set, doc=r"""卖开平标志""")
    BidOffsetFlag: "TThostFtdcOffsetFlagType" = property(_thosttraderapi.CThostFtdcInputQuoteField_BidOffsetFlag_get, _thosttraderapi.CThostFtdcInputQuoteField_BidOffsetFlag_set, doc=r"""买开平标志""")
    AskHedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcInputQuoteField_AskHedgeFlag_get, _thosttraderapi.CThostFtdcInputQuoteField_AskHedgeFlag_set, doc=r"""卖投机套保标志""")
    BidHedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcInputQuoteField_BidHedgeFlag_get, _thosttraderapi.CThostFtdcInputQuoteField_BidHedgeFlag_set, doc=r"""买投机套保标志""")
    AskOrderRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcInputQuoteField_AskOrderRef_get, _thosttraderapi.CThostFtdcInputQuoteField_AskOrderRef_set, doc=r"""衍生卖报单引用""")
    BidOrderRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcInputQuoteField_BidOrderRef_get, _thosttraderapi.CThostFtdcInputQuoteField_BidOrderRef_set, doc=r"""衍生买报单引用""")
    ForQuoteSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcInputQuoteField_ForQuoteSysID_get, _thosttraderapi.CThostFtdcInputQuoteField_ForQuoteSysID_set, doc=r"""应价编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcInputQuoteField_ExchangeID_get, _thosttraderapi.CThostFtdcInputQuoteField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcInputQuoteField_InvestUnitID_get, _thosttraderapi.CThostFtdcInputQuoteField_InvestUnitID_set, doc=r"""投资单元代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcInputQuoteField_ClientID_get, _thosttraderapi.CThostFtdcInputQuoteField_ClientID_set, doc=r"""交易编码""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcInputQuoteField_reserve2_get, _thosttraderapi.CThostFtdcInputQuoteField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcInputQuoteField_MacAddress_get, _thosttraderapi.CThostFtdcInputQuoteField_MacAddress_set, doc=r"""Mac地址""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInputQuoteField_InstrumentID_get, _thosttraderapi.CThostFtdcInputQuoteField_InstrumentID_set, doc=r"""合约代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcInputQuoteField_IPAddress_get, _thosttraderapi.CThostFtdcInputQuoteField_IPAddress_set, doc=r"""IP地址""")
    ReplaceSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcInputQuoteField_ReplaceSysID_get, _thosttraderapi.CThostFtdcInputQuoteField_ReplaceSysID_set, doc=r"""被顶单编号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInputQuoteField_swiginit(self, _thosttraderapi.new_CThostFtdcInputQuoteField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInputQuoteField

# Register CThostFtdcInputQuoteField in _thosttraderapi:
_thosttraderapi.CThostFtdcInputQuoteField_swigregister(CThostFtdcInputQuoteField)
class CThostFtdcInputQuoteActionField(object):
    r"""输入报价操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInputQuoteActionField_BrokerID_get, _thosttraderapi.CThostFtdcInputQuoteActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInputQuoteActionField_InvestorID_get, _thosttraderapi.CThostFtdcInputQuoteActionField_InvestorID_set, doc=r"""投资者代码""")
    QuoteActionRef: "TThostFtdcOrderActionRefType" = property(_thosttraderapi.CThostFtdcInputQuoteActionField_QuoteActionRef_get, _thosttraderapi.CThostFtdcInputQuoteActionField_QuoteActionRef_set, doc=r"""报价操作引用""")
    QuoteRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcInputQuoteActionField_QuoteRef_get, _thosttraderapi.CThostFtdcInputQuoteActionField_QuoteRef_set, doc=r"""报价引用""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcInputQuoteActionField_RequestID_get, _thosttraderapi.CThostFtdcInputQuoteActionField_RequestID_set, doc=r"""请求编号""")
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcInputQuoteActionField_FrontID_get, _thosttraderapi.CThostFtdcInputQuoteActionField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcInputQuoteActionField_SessionID_get, _thosttraderapi.CThostFtdcInputQuoteActionField_SessionID_set, doc=r"""会话编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcInputQuoteActionField_ExchangeID_get, _thosttraderapi.CThostFtdcInputQuoteActionField_ExchangeID_set, doc=r"""交易所代码""")
    QuoteSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcInputQuoteActionField_QuoteSysID_get, _thosttraderapi.CThostFtdcInputQuoteActionField_QuoteSysID_set, doc=r"""报价操作编号""")
    ActionFlag: "TThostFtdcActionFlagType" = property(_thosttraderapi.CThostFtdcInputQuoteActionField_ActionFlag_get, _thosttraderapi.CThostFtdcInputQuoteActionField_ActionFlag_set, doc=r"""操作标志""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcInputQuoteActionField_UserID_get, _thosttraderapi.CThostFtdcInputQuoteActionField_UserID_set, doc=r"""用户代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInputQuoteActionField_reserve1_get, _thosttraderapi.CThostFtdcInputQuoteActionField_reserve1_set, doc=r"""保留的无效字段""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcInputQuoteActionField_InvestUnitID_get, _thosttraderapi.CThostFtdcInputQuoteActionField_InvestUnitID_set, doc=r"""投资单元代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcInputQuoteActionField_ClientID_get, _thosttraderapi.CThostFtdcInputQuoteActionField_ClientID_set, doc=r"""交易编码""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcInputQuoteActionField_reserve2_get, _thosttraderapi.CThostFtdcInputQuoteActionField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcInputQuoteActionField_MacAddress_get, _thosttraderapi.CThostFtdcInputQuoteActionField_MacAddress_set, doc=r"""Mac地址""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInputQuoteActionField_InstrumentID_get, _thosttraderapi.CThostFtdcInputQuoteActionField_InstrumentID_set, doc=r"""合约代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcInputQuoteActionField_IPAddress_get, _thosttraderapi.CThostFtdcInputQuoteActionField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInputQuoteActionField_swiginit(self, _thosttraderapi.new_CThostFtdcInputQuoteActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInputQuoteActionField

# Register CThostFtdcInputQuoteActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcInputQuoteActionField_swigregister(CThostFtdcInputQuoteActionField)
class CThostFtdcQuoteField(object):
    r"""报价"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQuoteField_BrokerID_get, _thosttraderapi.CThostFtdcQuoteField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQuoteField_InvestorID_get, _thosttraderapi.CThostFtdcQuoteField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQuoteField_reserve1_get, _thosttraderapi.CThostFtdcQuoteField_reserve1_set, doc=r"""保留的无效字段""")
    QuoteRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcQuoteField_QuoteRef_get, _thosttraderapi.CThostFtdcQuoteField_QuoteRef_set, doc=r"""报价引用""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcQuoteField_UserID_get, _thosttraderapi.CThostFtdcQuoteField_UserID_set, doc=r"""用户代码""")
    AskPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcQuoteField_AskPrice_get, _thosttraderapi.CThostFtdcQuoteField_AskPrice_set, doc=r"""卖价格""")
    BidPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcQuoteField_BidPrice_get, _thosttraderapi.CThostFtdcQuoteField_BidPrice_set, doc=r"""买价格""")
    AskVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcQuoteField_AskVolume_get, _thosttraderapi.CThostFtdcQuoteField_AskVolume_set, doc=r"""卖数量""")
    BidVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcQuoteField_BidVolume_get, _thosttraderapi.CThostFtdcQuoteField_BidVolume_set, doc=r"""买数量""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcQuoteField_RequestID_get, _thosttraderapi.CThostFtdcQuoteField_RequestID_set, doc=r"""请求编号""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcQuoteField_BusinessUnit_get, _thosttraderapi.CThostFtdcQuoteField_BusinessUnit_set, doc=r"""业务单元""")
    AskOffsetFlag: "TThostFtdcOffsetFlagType" = property(_thosttraderapi.CThostFtdcQuoteField_AskOffsetFlag_get, _thosttraderapi.CThostFtdcQuoteField_AskOffsetFlag_set, doc=r"""卖开平标志""")
    BidOffsetFlag: "TThostFtdcOffsetFlagType" = property(_thosttraderapi.CThostFtdcQuoteField_BidOffsetFlag_get, _thosttraderapi.CThostFtdcQuoteField_BidOffsetFlag_set, doc=r"""买开平标志""")
    AskHedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcQuoteField_AskHedgeFlag_get, _thosttraderapi.CThostFtdcQuoteField_AskHedgeFlag_set, doc=r"""卖投机套保标志""")
    BidHedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcQuoteField_BidHedgeFlag_get, _thosttraderapi.CThostFtdcQuoteField_BidHedgeFlag_set, doc=r"""买投机套保标志""")
    QuoteLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcQuoteField_QuoteLocalID_get, _thosttraderapi.CThostFtdcQuoteField_QuoteLocalID_set, doc=r"""本地报价编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQuoteField_ExchangeID_get, _thosttraderapi.CThostFtdcQuoteField_ExchangeID_set, doc=r"""交易所代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcQuoteField_ParticipantID_get, _thosttraderapi.CThostFtdcQuoteField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcQuoteField_ClientID_get, _thosttraderapi.CThostFtdcQuoteField_ClientID_set, doc=r"""客户代码""")
    reserve2: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcQuoteField_reserve2_get, _thosttraderapi.CThostFtdcQuoteField_reserve2_set, doc=r"""保留的无效字段""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcQuoteField_TraderID_get, _thosttraderapi.CThostFtdcQuoteField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcQuoteField_InstallID_get, _thosttraderapi.CThostFtdcQuoteField_InstallID_set, doc=r"""安装编号""")
    NotifySequence: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcQuoteField_NotifySequence_get, _thosttraderapi.CThostFtdcQuoteField_NotifySequence_set, doc=r"""报价提示序号""")
    OrderSubmitStatus: "TThostFtdcOrderSubmitStatusType" = property(_thosttraderapi.CThostFtdcQuoteField_OrderSubmitStatus_get, _thosttraderapi.CThostFtdcQuoteField_OrderSubmitStatus_set, doc=r"""报价提交状态""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcQuoteField_TradingDay_get, _thosttraderapi.CThostFtdcQuoteField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcQuoteField_SettlementID_get, _thosttraderapi.CThostFtdcQuoteField_SettlementID_set, doc=r"""结算编号""")
    QuoteSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcQuoteField_QuoteSysID_get, _thosttraderapi.CThostFtdcQuoteField_QuoteSysID_set, doc=r"""报价编号""")
    InsertDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcQuoteField_InsertDate_get, _thosttraderapi.CThostFtdcQuoteField_InsertDate_set, doc=r"""报单日期""")
    InsertTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcQuoteField_InsertTime_get, _thosttraderapi.CThostFtdcQuoteField_InsertTime_set, doc=r"""插入时间""")
    CancelTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcQuoteField_CancelTime_get, _thosttraderapi.CThostFtdcQuoteField_CancelTime_set, doc=r"""撤销时间""")
    QuoteStatus: "TThostFtdcOrderStatusType" = property(_thosttraderapi.CThostFtdcQuoteField_QuoteStatus_get, _thosttraderapi.CThostFtdcQuoteField_QuoteStatus_set, doc=r"""报价状态""")
    ClearingPartID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcQuoteField_ClearingPartID_get, _thosttraderapi.CThostFtdcQuoteField_ClearingPartID_set, doc=r"""结算会员编号""")
    SequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcQuoteField_SequenceNo_get, _thosttraderapi.CThostFtdcQuoteField_SequenceNo_set, doc=r"""序号""")
    AskOrderSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcQuoteField_AskOrderSysID_get, _thosttraderapi.CThostFtdcQuoteField_AskOrderSysID_set, doc=r"""卖方报单编号""")
    BidOrderSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcQuoteField_BidOrderSysID_get, _thosttraderapi.CThostFtdcQuoteField_BidOrderSysID_set, doc=r"""买方报单编号""")
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcQuoteField_FrontID_get, _thosttraderapi.CThostFtdcQuoteField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcQuoteField_SessionID_get, _thosttraderapi.CThostFtdcQuoteField_SessionID_set, doc=r"""会话编号""")
    UserProductInfo: "TThostFtdcProductInfoType" = property(_thosttraderapi.CThostFtdcQuoteField_UserProductInfo_get, _thosttraderapi.CThostFtdcQuoteField_UserProductInfo_set, doc=r"""用户端产品信息""")
    StatusMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcQuoteField_StatusMsg_get, _thosttraderapi.CThostFtdcQuoteField_StatusMsg_set, doc=r"""状态信息""")
    ActiveUserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcQuoteField_ActiveUserID_get, _thosttraderapi.CThostFtdcQuoteField_ActiveUserID_set, doc=r"""操作用户代码""")
    BrokerQuoteSeq: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcQuoteField_BrokerQuoteSeq_get, _thosttraderapi.CThostFtdcQuoteField_BrokerQuoteSeq_set, doc=r"""经纪公司报价编号""")
    AskOrderRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcQuoteField_AskOrderRef_get, _thosttraderapi.CThostFtdcQuoteField_AskOrderRef_set, doc=r"""衍生卖报单引用""")
    BidOrderRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcQuoteField_BidOrderRef_get, _thosttraderapi.CThostFtdcQuoteField_BidOrderRef_set, doc=r"""衍生买报单引用""")
    ForQuoteSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcQuoteField_ForQuoteSysID_get, _thosttraderapi.CThostFtdcQuoteField_ForQuoteSysID_set, doc=r"""应价编号""")
    BranchID: "TThostFtdcBranchIDType" = property(_thosttraderapi.CThostFtdcQuoteField_BranchID_get, _thosttraderapi.CThostFtdcQuoteField_BranchID_set, doc=r"""营业部编号""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQuoteField_InvestUnitID_get, _thosttraderapi.CThostFtdcQuoteField_InvestUnitID_set, doc=r"""投资单元代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcQuoteField_AccountID_get, _thosttraderapi.CThostFtdcQuoteField_AccountID_set, doc=r"""资金账号""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcQuoteField_CurrencyID_get, _thosttraderapi.CThostFtdcQuoteField_CurrencyID_set, doc=r"""币种代码""")
    reserve3: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcQuoteField_reserve3_get, _thosttraderapi.CThostFtdcQuoteField_reserve3_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcQuoteField_MacAddress_get, _thosttraderapi.CThostFtdcQuoteField_MacAddress_set, doc=r"""Mac地址""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQuoteField_InstrumentID_get, _thosttraderapi.CThostFtdcQuoteField_InstrumentID_set, doc=r"""合约代码""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcQuoteField_ExchangeInstID_get, _thosttraderapi.CThostFtdcQuoteField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcQuoteField_IPAddress_get, _thosttraderapi.CThostFtdcQuoteField_IPAddress_set, doc=r"""IP地址""")
    ReplaceSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcQuoteField_ReplaceSysID_get, _thosttraderapi.CThostFtdcQuoteField_ReplaceSysID_set, doc=r"""被顶单编号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQuoteField_swiginit(self, _thosttraderapi.new_CThostFtdcQuoteField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQuoteField

# Register CThostFtdcQuoteField in _thosttraderapi:
_thosttraderapi.CThostFtdcQuoteField_swigregister(CThostFtdcQuoteField)
class CThostFtdcQuoteActionField(object):
    r"""报价操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQuoteActionField_BrokerID_get, _thosttraderapi.CThostFtdcQuoteActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQuoteActionField_InvestorID_get, _thosttraderapi.CThostFtdcQuoteActionField_InvestorID_set, doc=r"""投资者代码""")
    QuoteActionRef: "TThostFtdcOrderActionRefType" = property(_thosttraderapi.CThostFtdcQuoteActionField_QuoteActionRef_get, _thosttraderapi.CThostFtdcQuoteActionField_QuoteActionRef_set, doc=r"""报价操作引用""")
    QuoteRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcQuoteActionField_QuoteRef_get, _thosttraderapi.CThostFtdcQuoteActionField_QuoteRef_set, doc=r"""报价引用""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcQuoteActionField_RequestID_get, _thosttraderapi.CThostFtdcQuoteActionField_RequestID_set, doc=r"""请求编号""")
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcQuoteActionField_FrontID_get, _thosttraderapi.CThostFtdcQuoteActionField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcQuoteActionField_SessionID_get, _thosttraderapi.CThostFtdcQuoteActionField_SessionID_set, doc=r"""会话编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQuoteActionField_ExchangeID_get, _thosttraderapi.CThostFtdcQuoteActionField_ExchangeID_set, doc=r"""交易所代码""")
    QuoteSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcQuoteActionField_QuoteSysID_get, _thosttraderapi.CThostFtdcQuoteActionField_QuoteSysID_set, doc=r"""报价操作编号""")
    ActionFlag: "TThostFtdcActionFlagType" = property(_thosttraderapi.CThostFtdcQuoteActionField_ActionFlag_get, _thosttraderapi.CThostFtdcQuoteActionField_ActionFlag_set, doc=r"""操作标志""")
    ActionDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcQuoteActionField_ActionDate_get, _thosttraderapi.CThostFtdcQuoteActionField_ActionDate_set, doc=r"""操作日期""")
    ActionTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcQuoteActionField_ActionTime_get, _thosttraderapi.CThostFtdcQuoteActionField_ActionTime_set, doc=r"""操作时间""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcQuoteActionField_TraderID_get, _thosttraderapi.CThostFtdcQuoteActionField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcQuoteActionField_InstallID_get, _thosttraderapi.CThostFtdcQuoteActionField_InstallID_set, doc=r"""安装编号""")
    QuoteLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcQuoteActionField_QuoteLocalID_get, _thosttraderapi.CThostFtdcQuoteActionField_QuoteLocalID_set, doc=r"""本地报价编号""")
    ActionLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcQuoteActionField_ActionLocalID_get, _thosttraderapi.CThostFtdcQuoteActionField_ActionLocalID_set, doc=r"""操作本地编号""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcQuoteActionField_ParticipantID_get, _thosttraderapi.CThostFtdcQuoteActionField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcQuoteActionField_ClientID_get, _thosttraderapi.CThostFtdcQuoteActionField_ClientID_set, doc=r"""客户代码""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcQuoteActionField_BusinessUnit_get, _thosttraderapi.CThostFtdcQuoteActionField_BusinessUnit_set, doc=r"""业务单元""")
    OrderActionStatus: "TThostFtdcOrderActionStatusType" = property(_thosttraderapi.CThostFtdcQuoteActionField_OrderActionStatus_get, _thosttraderapi.CThostFtdcQuoteActionField_OrderActionStatus_set, doc=r"""报单操作状态""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcQuoteActionField_UserID_get, _thosttraderapi.CThostFtdcQuoteActionField_UserID_set, doc=r"""用户代码""")
    StatusMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcQuoteActionField_StatusMsg_get, _thosttraderapi.CThostFtdcQuoteActionField_StatusMsg_set, doc=r"""状态信息""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQuoteActionField_reserve1_get, _thosttraderapi.CThostFtdcQuoteActionField_reserve1_set, doc=r"""保留的无效字段""")
    BranchID: "TThostFtdcBranchIDType" = property(_thosttraderapi.CThostFtdcQuoteActionField_BranchID_get, _thosttraderapi.CThostFtdcQuoteActionField_BranchID_set, doc=r"""营业部编号""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQuoteActionField_InvestUnitID_get, _thosttraderapi.CThostFtdcQuoteActionField_InvestUnitID_set, doc=r"""投资单元代码""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcQuoteActionField_reserve2_get, _thosttraderapi.CThostFtdcQuoteActionField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcQuoteActionField_MacAddress_get, _thosttraderapi.CThostFtdcQuoteActionField_MacAddress_set, doc=r"""Mac地址""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQuoteActionField_InstrumentID_get, _thosttraderapi.CThostFtdcQuoteActionField_InstrumentID_set, doc=r"""合约代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcQuoteActionField_IPAddress_get, _thosttraderapi.CThostFtdcQuoteActionField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQuoteActionField_swiginit(self, _thosttraderapi.new_CThostFtdcQuoteActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQuoteActionField

# Register CThostFtdcQuoteActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcQuoteActionField_swigregister(CThostFtdcQuoteActionField)
class CThostFtdcQryQuoteField(object):
    r"""报价查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryQuoteField_BrokerID_get, _thosttraderapi.CThostFtdcQryQuoteField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryQuoteField_InvestorID_get, _thosttraderapi.CThostFtdcQryQuoteField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryQuoteField_reserve1_get, _thosttraderapi.CThostFtdcQryQuoteField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryQuoteField_ExchangeID_get, _thosttraderapi.CThostFtdcQryQuoteField_ExchangeID_set, doc=r"""交易所代码""")
    QuoteSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcQryQuoteField_QuoteSysID_get, _thosttraderapi.CThostFtdcQryQuoteField_QuoteSysID_set, doc=r"""报价编号""")
    InsertTimeStart: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcQryQuoteField_InsertTimeStart_get, _thosttraderapi.CThostFtdcQryQuoteField_InsertTimeStart_set, doc=r"""开始时间""")
    InsertTimeEnd: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcQryQuoteField_InsertTimeEnd_get, _thosttraderapi.CThostFtdcQryQuoteField_InsertTimeEnd_set, doc=r"""结束时间""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQryQuoteField_InvestUnitID_get, _thosttraderapi.CThostFtdcQryQuoteField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryQuoteField_InstrumentID_get, _thosttraderapi.CThostFtdcQryQuoteField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryQuoteField_swiginit(self, _thosttraderapi.new_CThostFtdcQryQuoteField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryQuoteField

# Register CThostFtdcQryQuoteField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryQuoteField_swigregister(CThostFtdcQryQuoteField)
class CThostFtdcExchangeQuoteField(object):
    r"""交易所报价信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    AskPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_AskPrice_get, _thosttraderapi.CThostFtdcExchangeQuoteField_AskPrice_set, doc=r"""卖价格""")
    BidPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_BidPrice_get, _thosttraderapi.CThostFtdcExchangeQuoteField_BidPrice_set, doc=r"""买价格""")
    AskVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_AskVolume_get, _thosttraderapi.CThostFtdcExchangeQuoteField_AskVolume_set, doc=r"""卖数量""")
    BidVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_BidVolume_get, _thosttraderapi.CThostFtdcExchangeQuoteField_BidVolume_set, doc=r"""买数量""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_RequestID_get, _thosttraderapi.CThostFtdcExchangeQuoteField_RequestID_set, doc=r"""请求编号""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_BusinessUnit_get, _thosttraderapi.CThostFtdcExchangeQuoteField_BusinessUnit_set, doc=r"""业务单元""")
    AskOffsetFlag: "TThostFtdcOffsetFlagType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_AskOffsetFlag_get, _thosttraderapi.CThostFtdcExchangeQuoteField_AskOffsetFlag_set, doc=r"""卖开平标志""")
    BidOffsetFlag: "TThostFtdcOffsetFlagType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_BidOffsetFlag_get, _thosttraderapi.CThostFtdcExchangeQuoteField_BidOffsetFlag_set, doc=r"""买开平标志""")
    AskHedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_AskHedgeFlag_get, _thosttraderapi.CThostFtdcExchangeQuoteField_AskHedgeFlag_set, doc=r"""卖投机套保标志""")
    BidHedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_BidHedgeFlag_get, _thosttraderapi.CThostFtdcExchangeQuoteField_BidHedgeFlag_set, doc=r"""买投机套保标志""")
    QuoteLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_QuoteLocalID_get, _thosttraderapi.CThostFtdcExchangeQuoteField_QuoteLocalID_set, doc=r"""本地报价编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_ExchangeID_get, _thosttraderapi.CThostFtdcExchangeQuoteField_ExchangeID_set, doc=r"""交易所代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_ParticipantID_get, _thosttraderapi.CThostFtdcExchangeQuoteField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_ClientID_get, _thosttraderapi.CThostFtdcExchangeQuoteField_ClientID_set, doc=r"""客户代码""")
    reserve1: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_reserve1_get, _thosttraderapi.CThostFtdcExchangeQuoteField_reserve1_set, doc=r"""保留的无效字段""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_TraderID_get, _thosttraderapi.CThostFtdcExchangeQuoteField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_InstallID_get, _thosttraderapi.CThostFtdcExchangeQuoteField_InstallID_set, doc=r"""安装编号""")
    NotifySequence: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_NotifySequence_get, _thosttraderapi.CThostFtdcExchangeQuoteField_NotifySequence_set, doc=r"""报价提示序号""")
    OrderSubmitStatus: "TThostFtdcOrderSubmitStatusType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_OrderSubmitStatus_get, _thosttraderapi.CThostFtdcExchangeQuoteField_OrderSubmitStatus_set, doc=r"""报价提交状态""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_TradingDay_get, _thosttraderapi.CThostFtdcExchangeQuoteField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_SettlementID_get, _thosttraderapi.CThostFtdcExchangeQuoteField_SettlementID_set, doc=r"""结算编号""")
    QuoteSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_QuoteSysID_get, _thosttraderapi.CThostFtdcExchangeQuoteField_QuoteSysID_set, doc=r"""报价编号""")
    InsertDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_InsertDate_get, _thosttraderapi.CThostFtdcExchangeQuoteField_InsertDate_set, doc=r"""报单日期""")
    InsertTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_InsertTime_get, _thosttraderapi.CThostFtdcExchangeQuoteField_InsertTime_set, doc=r"""插入时间""")
    CancelTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_CancelTime_get, _thosttraderapi.CThostFtdcExchangeQuoteField_CancelTime_set, doc=r"""撤销时间""")
    QuoteStatus: "TThostFtdcOrderStatusType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_QuoteStatus_get, _thosttraderapi.CThostFtdcExchangeQuoteField_QuoteStatus_set, doc=r"""报价状态""")
    ClearingPartID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_ClearingPartID_get, _thosttraderapi.CThostFtdcExchangeQuoteField_ClearingPartID_set, doc=r"""结算会员编号""")
    SequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_SequenceNo_get, _thosttraderapi.CThostFtdcExchangeQuoteField_SequenceNo_set, doc=r"""序号""")
    AskOrderSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_AskOrderSysID_get, _thosttraderapi.CThostFtdcExchangeQuoteField_AskOrderSysID_set, doc=r"""卖方报单编号""")
    BidOrderSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_BidOrderSysID_get, _thosttraderapi.CThostFtdcExchangeQuoteField_BidOrderSysID_set, doc=r"""买方报单编号""")
    ForQuoteSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_ForQuoteSysID_get, _thosttraderapi.CThostFtdcExchangeQuoteField_ForQuoteSysID_set, doc=r"""应价编号""")
    BranchID: "TThostFtdcBranchIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_BranchID_get, _thosttraderapi.CThostFtdcExchangeQuoteField_BranchID_set, doc=r"""营业部编号""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_reserve2_get, _thosttraderapi.CThostFtdcExchangeQuoteField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_MacAddress_get, _thosttraderapi.CThostFtdcExchangeQuoteField_MacAddress_set, doc=r"""Mac地址""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_ExchangeInstID_get, _thosttraderapi.CThostFtdcExchangeQuoteField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcExchangeQuoteField_IPAddress_get, _thosttraderapi.CThostFtdcExchangeQuoteField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcExchangeQuoteField_swiginit(self, _thosttraderapi.new_CThostFtdcExchangeQuoteField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcExchangeQuoteField

# Register CThostFtdcExchangeQuoteField in _thosttraderapi:
_thosttraderapi.CThostFtdcExchangeQuoteField_swigregister(CThostFtdcExchangeQuoteField)
class CThostFtdcQryExchangeQuoteField(object):
    r"""交易所报价查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcQryExchangeQuoteField_ParticipantID_get, _thosttraderapi.CThostFtdcQryExchangeQuoteField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcQryExchangeQuoteField_ClientID_get, _thosttraderapi.CThostFtdcQryExchangeQuoteField_ClientID_set, doc=r"""客户代码""")
    reserve1: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcQryExchangeQuoteField_reserve1_get, _thosttraderapi.CThostFtdcQryExchangeQuoteField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryExchangeQuoteField_ExchangeID_get, _thosttraderapi.CThostFtdcQryExchangeQuoteField_ExchangeID_set, doc=r"""交易所代码""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcQryExchangeQuoteField_TraderID_get, _thosttraderapi.CThostFtdcQryExchangeQuoteField_TraderID_set, doc=r"""交易所交易员代码""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcQryExchangeQuoteField_ExchangeInstID_get, _thosttraderapi.CThostFtdcQryExchangeQuoteField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryExchangeQuoteField_swiginit(self, _thosttraderapi.new_CThostFtdcQryExchangeQuoteField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryExchangeQuoteField

# Register CThostFtdcQryExchangeQuoteField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryExchangeQuoteField_swigregister(CThostFtdcQryExchangeQuoteField)
class CThostFtdcQryQuoteActionField(object):
    r"""报价操作查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryQuoteActionField_BrokerID_get, _thosttraderapi.CThostFtdcQryQuoteActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryQuoteActionField_InvestorID_get, _thosttraderapi.CThostFtdcQryQuoteActionField_InvestorID_set, doc=r"""投资者代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryQuoteActionField_ExchangeID_get, _thosttraderapi.CThostFtdcQryQuoteActionField_ExchangeID_set, doc=r"""交易所代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryQuoteActionField_swiginit(self, _thosttraderapi.new_CThostFtdcQryQuoteActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryQuoteActionField

# Register CThostFtdcQryQuoteActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryQuoteActionField_swigregister(CThostFtdcQryQuoteActionField)
class CThostFtdcExchangeQuoteActionField(object):
    r"""交易所报价操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteActionField_ExchangeID_get, _thosttraderapi.CThostFtdcExchangeQuoteActionField_ExchangeID_set, doc=r"""交易所代码""")
    QuoteSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteActionField_QuoteSysID_get, _thosttraderapi.CThostFtdcExchangeQuoteActionField_QuoteSysID_set, doc=r"""报价操作编号""")
    ActionFlag: "TThostFtdcActionFlagType" = property(_thosttraderapi.CThostFtdcExchangeQuoteActionField_ActionFlag_get, _thosttraderapi.CThostFtdcExchangeQuoteActionField_ActionFlag_set, doc=r"""操作标志""")
    ActionDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcExchangeQuoteActionField_ActionDate_get, _thosttraderapi.CThostFtdcExchangeQuoteActionField_ActionDate_set, doc=r"""操作日期""")
    ActionTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcExchangeQuoteActionField_ActionTime_get, _thosttraderapi.CThostFtdcExchangeQuoteActionField_ActionTime_set, doc=r"""操作时间""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteActionField_TraderID_get, _thosttraderapi.CThostFtdcExchangeQuoteActionField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteActionField_InstallID_get, _thosttraderapi.CThostFtdcExchangeQuoteActionField_InstallID_set, doc=r"""安装编号""")
    QuoteLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteActionField_QuoteLocalID_get, _thosttraderapi.CThostFtdcExchangeQuoteActionField_QuoteLocalID_set, doc=r"""本地报价编号""")
    ActionLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteActionField_ActionLocalID_get, _thosttraderapi.CThostFtdcExchangeQuoteActionField_ActionLocalID_set, doc=r"""操作本地编号""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteActionField_ParticipantID_get, _thosttraderapi.CThostFtdcExchangeQuoteActionField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteActionField_ClientID_get, _thosttraderapi.CThostFtdcExchangeQuoteActionField_ClientID_set, doc=r"""客户代码""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcExchangeQuoteActionField_BusinessUnit_get, _thosttraderapi.CThostFtdcExchangeQuoteActionField_BusinessUnit_set, doc=r"""业务单元""")
    OrderActionStatus: "TThostFtdcOrderActionStatusType" = property(_thosttraderapi.CThostFtdcExchangeQuoteActionField_OrderActionStatus_get, _thosttraderapi.CThostFtdcExchangeQuoteActionField_OrderActionStatus_set, doc=r"""报单操作状态""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcExchangeQuoteActionField_UserID_get, _thosttraderapi.CThostFtdcExchangeQuoteActionField_UserID_set, doc=r"""用户代码""")
    reserve1: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcExchangeQuoteActionField_reserve1_get, _thosttraderapi.CThostFtdcExchangeQuoteActionField_reserve1_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcExchangeQuoteActionField_MacAddress_get, _thosttraderapi.CThostFtdcExchangeQuoteActionField_MacAddress_set, doc=r"""Mac地址""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcExchangeQuoteActionField_IPAddress_get, _thosttraderapi.CThostFtdcExchangeQuoteActionField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcExchangeQuoteActionField_swiginit(self, _thosttraderapi.new_CThostFtdcExchangeQuoteActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcExchangeQuoteActionField

# Register CThostFtdcExchangeQuoteActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcExchangeQuoteActionField_swigregister(CThostFtdcExchangeQuoteActionField)
class CThostFtdcQryExchangeQuoteActionField(object):
    r"""交易所报价操作查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcQryExchangeQuoteActionField_ParticipantID_get, _thosttraderapi.CThostFtdcQryExchangeQuoteActionField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcQryExchangeQuoteActionField_ClientID_get, _thosttraderapi.CThostFtdcQryExchangeQuoteActionField_ClientID_set, doc=r"""客户代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryExchangeQuoteActionField_ExchangeID_get, _thosttraderapi.CThostFtdcQryExchangeQuoteActionField_ExchangeID_set, doc=r"""交易所代码""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcQryExchangeQuoteActionField_TraderID_get, _thosttraderapi.CThostFtdcQryExchangeQuoteActionField_TraderID_set, doc=r"""交易所交易员代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryExchangeQuoteActionField_swiginit(self, _thosttraderapi.new_CThostFtdcQryExchangeQuoteActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryExchangeQuoteActionField

# Register CThostFtdcQryExchangeQuoteActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryExchangeQuoteActionField_swigregister(CThostFtdcQryExchangeQuoteActionField)
class CThostFtdcOptionInstrDeltaField(object):
    r"""期权合约delta值"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcOptionInstrDeltaField_reserve1_get, _thosttraderapi.CThostFtdcOptionInstrDeltaField_reserve1_set, doc=r"""保留的无效字段""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcOptionInstrDeltaField_InvestorRange_get, _thosttraderapi.CThostFtdcOptionInstrDeltaField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcOptionInstrDeltaField_BrokerID_get, _thosttraderapi.CThostFtdcOptionInstrDeltaField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcOptionInstrDeltaField_InvestorID_get, _thosttraderapi.CThostFtdcOptionInstrDeltaField_InvestorID_set, doc=r"""投资者代码""")
    Delta: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcOptionInstrDeltaField_Delta_get, _thosttraderapi.CThostFtdcOptionInstrDeltaField_Delta_set, doc=r"""Delta值""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcOptionInstrDeltaField_InstrumentID_get, _thosttraderapi.CThostFtdcOptionInstrDeltaField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcOptionInstrDeltaField_swiginit(self, _thosttraderapi.new_CThostFtdcOptionInstrDeltaField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcOptionInstrDeltaField

# Register CThostFtdcOptionInstrDeltaField in _thosttraderapi:
_thosttraderapi.CThostFtdcOptionInstrDeltaField_swigregister(CThostFtdcOptionInstrDeltaField)
class CThostFtdcForQuoteRspField(object):
    r"""发给做市商的询价请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcForQuoteRspField_TradingDay_get, _thosttraderapi.CThostFtdcForQuoteRspField_TradingDay_set, doc=r"""交易日""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcForQuoteRspField_reserve1_get, _thosttraderapi.CThostFtdcForQuoteRspField_reserve1_set, doc=r"""保留的无效字段""")
    ForQuoteSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcForQuoteRspField_ForQuoteSysID_get, _thosttraderapi.CThostFtdcForQuoteRspField_ForQuoteSysID_set, doc=r"""询价编号""")
    ForQuoteTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcForQuoteRspField_ForQuoteTime_get, _thosttraderapi.CThostFtdcForQuoteRspField_ForQuoteTime_set, doc=r"""询价时间""")
    ActionDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcForQuoteRspField_ActionDay_get, _thosttraderapi.CThostFtdcForQuoteRspField_ActionDay_set, doc=r"""业务日期""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcForQuoteRspField_ExchangeID_get, _thosttraderapi.CThostFtdcForQuoteRspField_ExchangeID_set, doc=r"""交易所代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcForQuoteRspField_InstrumentID_get, _thosttraderapi.CThostFtdcForQuoteRspField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcForQuoteRspField_swiginit(self, _thosttraderapi.new_CThostFtdcForQuoteRspField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcForQuoteRspField

# Register CThostFtdcForQuoteRspField in _thosttraderapi:
_thosttraderapi.CThostFtdcForQuoteRspField_swigregister(CThostFtdcForQuoteRspField)
class CThostFtdcStrikeOffsetField(object):
    r"""当前期权合约执行偏移值的详细内容"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcStrikeOffsetField_reserve1_get, _thosttraderapi.CThostFtdcStrikeOffsetField_reserve1_set, doc=r"""保留的无效字段""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcStrikeOffsetField_InvestorRange_get, _thosttraderapi.CThostFtdcStrikeOffsetField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcStrikeOffsetField_BrokerID_get, _thosttraderapi.CThostFtdcStrikeOffsetField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcStrikeOffsetField_InvestorID_get, _thosttraderapi.CThostFtdcStrikeOffsetField_InvestorID_set, doc=r"""投资者代码""")
    Offset: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcStrikeOffsetField_Offset_get, _thosttraderapi.CThostFtdcStrikeOffsetField_Offset_set, doc=r"""执行偏移值""")
    OffsetType: "TThostFtdcStrikeOffsetTypeType" = property(_thosttraderapi.CThostFtdcStrikeOffsetField_OffsetType_get, _thosttraderapi.CThostFtdcStrikeOffsetField_OffsetType_set, doc=r"""执行偏移类型""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcStrikeOffsetField_InstrumentID_get, _thosttraderapi.CThostFtdcStrikeOffsetField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcStrikeOffsetField_swiginit(self, _thosttraderapi.new_CThostFtdcStrikeOffsetField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcStrikeOffsetField

# Register CThostFtdcStrikeOffsetField in _thosttraderapi:
_thosttraderapi.CThostFtdcStrikeOffsetField_swigregister(CThostFtdcStrikeOffsetField)
class CThostFtdcQryStrikeOffsetField(object):
    r"""期权执行偏移值查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryStrikeOffsetField_BrokerID_get, _thosttraderapi.CThostFtdcQryStrikeOffsetField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryStrikeOffsetField_InvestorID_get, _thosttraderapi.CThostFtdcQryStrikeOffsetField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryStrikeOffsetField_reserve1_get, _thosttraderapi.CThostFtdcQryStrikeOffsetField_reserve1_set, doc=r"""保留的无效字段""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryStrikeOffsetField_InstrumentID_get, _thosttraderapi.CThostFtdcQryStrikeOffsetField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryStrikeOffsetField_swiginit(self, _thosttraderapi.new_CThostFtdcQryStrikeOffsetField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryStrikeOffsetField

# Register CThostFtdcQryStrikeOffsetField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryStrikeOffsetField_swigregister(CThostFtdcQryStrikeOffsetField)
class CThostFtdcInputBatchOrderActionField(object):
    r"""输入批量报单操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInputBatchOrderActionField_BrokerID_get, _thosttraderapi.CThostFtdcInputBatchOrderActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInputBatchOrderActionField_InvestorID_get, _thosttraderapi.CThostFtdcInputBatchOrderActionField_InvestorID_set, doc=r"""投资者代码""")
    OrderActionRef: "TThostFtdcOrderActionRefType" = property(_thosttraderapi.CThostFtdcInputBatchOrderActionField_OrderActionRef_get, _thosttraderapi.CThostFtdcInputBatchOrderActionField_OrderActionRef_set, doc=r"""报单操作引用""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcInputBatchOrderActionField_RequestID_get, _thosttraderapi.CThostFtdcInputBatchOrderActionField_RequestID_set, doc=r"""请求编号""")
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcInputBatchOrderActionField_FrontID_get, _thosttraderapi.CThostFtdcInputBatchOrderActionField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcInputBatchOrderActionField_SessionID_get, _thosttraderapi.CThostFtdcInputBatchOrderActionField_SessionID_set, doc=r"""会话编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcInputBatchOrderActionField_ExchangeID_get, _thosttraderapi.CThostFtdcInputBatchOrderActionField_ExchangeID_set, doc=r"""交易所代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcInputBatchOrderActionField_UserID_get, _thosttraderapi.CThostFtdcInputBatchOrderActionField_UserID_set, doc=r"""用户代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcInputBatchOrderActionField_InvestUnitID_get, _thosttraderapi.CThostFtdcInputBatchOrderActionField_InvestUnitID_set, doc=r"""投资单元代码""")
    reserve1: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcInputBatchOrderActionField_reserve1_get, _thosttraderapi.CThostFtdcInputBatchOrderActionField_reserve1_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcInputBatchOrderActionField_MacAddress_get, _thosttraderapi.CThostFtdcInputBatchOrderActionField_MacAddress_set, doc=r"""Mac地址""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcInputBatchOrderActionField_IPAddress_get, _thosttraderapi.CThostFtdcInputBatchOrderActionField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInputBatchOrderActionField_swiginit(self, _thosttraderapi.new_CThostFtdcInputBatchOrderActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInputBatchOrderActionField

# Register CThostFtdcInputBatchOrderActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcInputBatchOrderActionField_swigregister(CThostFtdcInputBatchOrderActionField)
class CThostFtdcBatchOrderActionField(object):
    r"""批量报单操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcBatchOrderActionField_BrokerID_get, _thosttraderapi.CThostFtdcBatchOrderActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcBatchOrderActionField_InvestorID_get, _thosttraderapi.CThostFtdcBatchOrderActionField_InvestorID_set, doc=r"""投资者代码""")
    OrderActionRef: "TThostFtdcOrderActionRefType" = property(_thosttraderapi.CThostFtdcBatchOrderActionField_OrderActionRef_get, _thosttraderapi.CThostFtdcBatchOrderActionField_OrderActionRef_set, doc=r"""报单操作引用""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcBatchOrderActionField_RequestID_get, _thosttraderapi.CThostFtdcBatchOrderActionField_RequestID_set, doc=r"""请求编号""")
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcBatchOrderActionField_FrontID_get, _thosttraderapi.CThostFtdcBatchOrderActionField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcBatchOrderActionField_SessionID_get, _thosttraderapi.CThostFtdcBatchOrderActionField_SessionID_set, doc=r"""会话编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcBatchOrderActionField_ExchangeID_get, _thosttraderapi.CThostFtdcBatchOrderActionField_ExchangeID_set, doc=r"""交易所代码""")
    ActionDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcBatchOrderActionField_ActionDate_get, _thosttraderapi.CThostFtdcBatchOrderActionField_ActionDate_set, doc=r"""操作日期""")
    ActionTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcBatchOrderActionField_ActionTime_get, _thosttraderapi.CThostFtdcBatchOrderActionField_ActionTime_set, doc=r"""操作时间""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcBatchOrderActionField_TraderID_get, _thosttraderapi.CThostFtdcBatchOrderActionField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcBatchOrderActionField_InstallID_get, _thosttraderapi.CThostFtdcBatchOrderActionField_InstallID_set, doc=r"""安装编号""")
    ActionLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcBatchOrderActionField_ActionLocalID_get, _thosttraderapi.CThostFtdcBatchOrderActionField_ActionLocalID_set, doc=r"""操作本地编号""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcBatchOrderActionField_ParticipantID_get, _thosttraderapi.CThostFtdcBatchOrderActionField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcBatchOrderActionField_ClientID_get, _thosttraderapi.CThostFtdcBatchOrderActionField_ClientID_set, doc=r"""客户代码""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcBatchOrderActionField_BusinessUnit_get, _thosttraderapi.CThostFtdcBatchOrderActionField_BusinessUnit_set, doc=r"""业务单元""")
    OrderActionStatus: "TThostFtdcOrderActionStatusType" = property(_thosttraderapi.CThostFtdcBatchOrderActionField_OrderActionStatus_get, _thosttraderapi.CThostFtdcBatchOrderActionField_OrderActionStatus_set, doc=r"""报单操作状态""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcBatchOrderActionField_UserID_get, _thosttraderapi.CThostFtdcBatchOrderActionField_UserID_set, doc=r"""用户代码""")
    StatusMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcBatchOrderActionField_StatusMsg_get, _thosttraderapi.CThostFtdcBatchOrderActionField_StatusMsg_set, doc=r"""状态信息""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcBatchOrderActionField_InvestUnitID_get, _thosttraderapi.CThostFtdcBatchOrderActionField_InvestUnitID_set, doc=r"""投资单元代码""")
    reserve1: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcBatchOrderActionField_reserve1_get, _thosttraderapi.CThostFtdcBatchOrderActionField_reserve1_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcBatchOrderActionField_MacAddress_get, _thosttraderapi.CThostFtdcBatchOrderActionField_MacAddress_set, doc=r"""Mac地址""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcBatchOrderActionField_IPAddress_get, _thosttraderapi.CThostFtdcBatchOrderActionField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcBatchOrderActionField_swiginit(self, _thosttraderapi.new_CThostFtdcBatchOrderActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcBatchOrderActionField

# Register CThostFtdcBatchOrderActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcBatchOrderActionField_swigregister(CThostFtdcBatchOrderActionField)
class CThostFtdcExchangeBatchOrderActionField(object):
    r"""交易所批量报单操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcExchangeBatchOrderActionField_ExchangeID_get, _thosttraderapi.CThostFtdcExchangeBatchOrderActionField_ExchangeID_set, doc=r"""交易所代码""")
    ActionDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcExchangeBatchOrderActionField_ActionDate_get, _thosttraderapi.CThostFtdcExchangeBatchOrderActionField_ActionDate_set, doc=r"""操作日期""")
    ActionTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcExchangeBatchOrderActionField_ActionTime_get, _thosttraderapi.CThostFtdcExchangeBatchOrderActionField_ActionTime_set, doc=r"""操作时间""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcExchangeBatchOrderActionField_TraderID_get, _thosttraderapi.CThostFtdcExchangeBatchOrderActionField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcExchangeBatchOrderActionField_InstallID_get, _thosttraderapi.CThostFtdcExchangeBatchOrderActionField_InstallID_set, doc=r"""安装编号""")
    ActionLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcExchangeBatchOrderActionField_ActionLocalID_get, _thosttraderapi.CThostFtdcExchangeBatchOrderActionField_ActionLocalID_set, doc=r"""操作本地编号""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcExchangeBatchOrderActionField_ParticipantID_get, _thosttraderapi.CThostFtdcExchangeBatchOrderActionField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcExchangeBatchOrderActionField_ClientID_get, _thosttraderapi.CThostFtdcExchangeBatchOrderActionField_ClientID_set, doc=r"""客户代码""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcExchangeBatchOrderActionField_BusinessUnit_get, _thosttraderapi.CThostFtdcExchangeBatchOrderActionField_BusinessUnit_set, doc=r"""业务单元""")
    OrderActionStatus: "TThostFtdcOrderActionStatusType" = property(_thosttraderapi.CThostFtdcExchangeBatchOrderActionField_OrderActionStatus_get, _thosttraderapi.CThostFtdcExchangeBatchOrderActionField_OrderActionStatus_set, doc=r"""报单操作状态""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcExchangeBatchOrderActionField_UserID_get, _thosttraderapi.CThostFtdcExchangeBatchOrderActionField_UserID_set, doc=r"""用户代码""")
    reserve1: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcExchangeBatchOrderActionField_reserve1_get, _thosttraderapi.CThostFtdcExchangeBatchOrderActionField_reserve1_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcExchangeBatchOrderActionField_MacAddress_get, _thosttraderapi.CThostFtdcExchangeBatchOrderActionField_MacAddress_set, doc=r"""Mac地址""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcExchangeBatchOrderActionField_IPAddress_get, _thosttraderapi.CThostFtdcExchangeBatchOrderActionField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcExchangeBatchOrderActionField_swiginit(self, _thosttraderapi.new_CThostFtdcExchangeBatchOrderActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcExchangeBatchOrderActionField

# Register CThostFtdcExchangeBatchOrderActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcExchangeBatchOrderActionField_swigregister(CThostFtdcExchangeBatchOrderActionField)
class CThostFtdcQryBatchOrderActionField(object):
    r"""查询批量报单操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryBatchOrderActionField_BrokerID_get, _thosttraderapi.CThostFtdcQryBatchOrderActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryBatchOrderActionField_InvestorID_get, _thosttraderapi.CThostFtdcQryBatchOrderActionField_InvestorID_set, doc=r"""投资者代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryBatchOrderActionField_ExchangeID_get, _thosttraderapi.CThostFtdcQryBatchOrderActionField_ExchangeID_set, doc=r"""交易所代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryBatchOrderActionField_swiginit(self, _thosttraderapi.new_CThostFtdcQryBatchOrderActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryBatchOrderActionField

# Register CThostFtdcQryBatchOrderActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryBatchOrderActionField_swigregister(CThostFtdcQryBatchOrderActionField)
class CThostFtdcCombInstrumentGuardField(object):
    r"""组合合约安全系数"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcCombInstrumentGuardField_BrokerID_get, _thosttraderapi.CThostFtdcCombInstrumentGuardField_BrokerID_set, doc=r"""经纪公司代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcCombInstrumentGuardField_reserve1_get, _thosttraderapi.CThostFtdcCombInstrumentGuardField_reserve1_set, doc=r"""保留的无效字段""")
    GuarantRatio: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcCombInstrumentGuardField_GuarantRatio_get, _thosttraderapi.CThostFtdcCombInstrumentGuardField_GuarantRatio_set)
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcCombInstrumentGuardField_ExchangeID_get, _thosttraderapi.CThostFtdcCombInstrumentGuardField_ExchangeID_set, doc=r"""交易所代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcCombInstrumentGuardField_InstrumentID_get, _thosttraderapi.CThostFtdcCombInstrumentGuardField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcCombInstrumentGuardField_swiginit(self, _thosttraderapi.new_CThostFtdcCombInstrumentGuardField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcCombInstrumentGuardField

# Register CThostFtdcCombInstrumentGuardField in _thosttraderapi:
_thosttraderapi.CThostFtdcCombInstrumentGuardField_swigregister(CThostFtdcCombInstrumentGuardField)
class CThostFtdcQryCombInstrumentGuardField(object):
    r"""组合合约安全系数查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryCombInstrumentGuardField_BrokerID_get, _thosttraderapi.CThostFtdcQryCombInstrumentGuardField_BrokerID_set, doc=r"""经纪公司代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryCombInstrumentGuardField_reserve1_get, _thosttraderapi.CThostFtdcQryCombInstrumentGuardField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryCombInstrumentGuardField_ExchangeID_get, _thosttraderapi.CThostFtdcQryCombInstrumentGuardField_ExchangeID_set, doc=r"""交易所代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryCombInstrumentGuardField_InstrumentID_get, _thosttraderapi.CThostFtdcQryCombInstrumentGuardField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryCombInstrumentGuardField_swiginit(self, _thosttraderapi.new_CThostFtdcQryCombInstrumentGuardField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryCombInstrumentGuardField

# Register CThostFtdcQryCombInstrumentGuardField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryCombInstrumentGuardField_swigregister(CThostFtdcQryCombInstrumentGuardField)
class CThostFtdcInputCombActionField(object):
    r"""输入的申请组合"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInputCombActionField_BrokerID_get, _thosttraderapi.CThostFtdcInputCombActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInputCombActionField_InvestorID_get, _thosttraderapi.CThostFtdcInputCombActionField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInputCombActionField_reserve1_get, _thosttraderapi.CThostFtdcInputCombActionField_reserve1_set, doc=r"""保留的无效字段""")
    CombActionRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcInputCombActionField_CombActionRef_get, _thosttraderapi.CThostFtdcInputCombActionField_CombActionRef_set, doc=r"""组合引用""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcInputCombActionField_UserID_get, _thosttraderapi.CThostFtdcInputCombActionField_UserID_set, doc=r"""用户代码""")
    Direction: "TThostFtdcDirectionType" = property(_thosttraderapi.CThostFtdcInputCombActionField_Direction_get, _thosttraderapi.CThostFtdcInputCombActionField_Direction_set, doc=r"""买卖方向""")
    Volume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInputCombActionField_Volume_get, _thosttraderapi.CThostFtdcInputCombActionField_Volume_set, doc=r"""数量""")
    CombDirection: "TThostFtdcCombDirectionType" = property(_thosttraderapi.CThostFtdcInputCombActionField_CombDirection_get, _thosttraderapi.CThostFtdcInputCombActionField_CombDirection_set, doc=r"""组合指令方向""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcInputCombActionField_HedgeFlag_get, _thosttraderapi.CThostFtdcInputCombActionField_HedgeFlag_set, doc=r"""投机套保标志""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcInputCombActionField_ExchangeID_get, _thosttraderapi.CThostFtdcInputCombActionField_ExchangeID_set, doc=r"""交易所代码""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcInputCombActionField_reserve2_get, _thosttraderapi.CThostFtdcInputCombActionField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcInputCombActionField_MacAddress_get, _thosttraderapi.CThostFtdcInputCombActionField_MacAddress_set, doc=r"""Mac地址""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcInputCombActionField_InvestUnitID_get, _thosttraderapi.CThostFtdcInputCombActionField_InvestUnitID_set, doc=r"""投资单元代码""")
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcInputCombActionField_FrontID_get, _thosttraderapi.CThostFtdcInputCombActionField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcInputCombActionField_SessionID_get, _thosttraderapi.CThostFtdcInputCombActionField_SessionID_set, doc=r"""会话编号""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInputCombActionField_InstrumentID_get, _thosttraderapi.CThostFtdcInputCombActionField_InstrumentID_set, doc=r"""合约代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcInputCombActionField_IPAddress_get, _thosttraderapi.CThostFtdcInputCombActionField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInputCombActionField_swiginit(self, _thosttraderapi.new_CThostFtdcInputCombActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInputCombActionField

# Register CThostFtdcInputCombActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcInputCombActionField_swigregister(CThostFtdcInputCombActionField)
class CThostFtdcCombActionField(object):
    r"""申请组合"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcCombActionField_BrokerID_get, _thosttraderapi.CThostFtdcCombActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcCombActionField_InvestorID_get, _thosttraderapi.CThostFtdcCombActionField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcCombActionField_reserve1_get, _thosttraderapi.CThostFtdcCombActionField_reserve1_set, doc=r"""保留的无效字段""")
    CombActionRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcCombActionField_CombActionRef_get, _thosttraderapi.CThostFtdcCombActionField_CombActionRef_set, doc=r"""组合引用""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcCombActionField_UserID_get, _thosttraderapi.CThostFtdcCombActionField_UserID_set, doc=r"""用户代码""")
    Direction: "TThostFtdcDirectionType" = property(_thosttraderapi.CThostFtdcCombActionField_Direction_get, _thosttraderapi.CThostFtdcCombActionField_Direction_set, doc=r"""买卖方向""")
    Volume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcCombActionField_Volume_get, _thosttraderapi.CThostFtdcCombActionField_Volume_set, doc=r"""数量""")
    CombDirection: "TThostFtdcCombDirectionType" = property(_thosttraderapi.CThostFtdcCombActionField_CombDirection_get, _thosttraderapi.CThostFtdcCombActionField_CombDirection_set, doc=r"""组合指令方向""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcCombActionField_HedgeFlag_get, _thosttraderapi.CThostFtdcCombActionField_HedgeFlag_set, doc=r"""投机套保标志""")
    ActionLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcCombActionField_ActionLocalID_get, _thosttraderapi.CThostFtdcCombActionField_ActionLocalID_set, doc=r"""本地申请组合编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcCombActionField_ExchangeID_get, _thosttraderapi.CThostFtdcCombActionField_ExchangeID_set, doc=r"""交易所代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcCombActionField_ParticipantID_get, _thosttraderapi.CThostFtdcCombActionField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcCombActionField_ClientID_get, _thosttraderapi.CThostFtdcCombActionField_ClientID_set, doc=r"""客户代码""")
    reserve2: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcCombActionField_reserve2_get, _thosttraderapi.CThostFtdcCombActionField_reserve2_set, doc=r"""保留的无效字段""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcCombActionField_TraderID_get, _thosttraderapi.CThostFtdcCombActionField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcCombActionField_InstallID_get, _thosttraderapi.CThostFtdcCombActionField_InstallID_set, doc=r"""安装编号""")
    ActionStatus: "TThostFtdcOrderActionStatusType" = property(_thosttraderapi.CThostFtdcCombActionField_ActionStatus_get, _thosttraderapi.CThostFtdcCombActionField_ActionStatus_set, doc=r"""组合状态""")
    NotifySequence: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcCombActionField_NotifySequence_get, _thosttraderapi.CThostFtdcCombActionField_NotifySequence_set, doc=r"""报单提示序号""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcCombActionField_TradingDay_get, _thosttraderapi.CThostFtdcCombActionField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcCombActionField_SettlementID_get, _thosttraderapi.CThostFtdcCombActionField_SettlementID_set, doc=r"""结算编号""")
    SequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcCombActionField_SequenceNo_get, _thosttraderapi.CThostFtdcCombActionField_SequenceNo_set, doc=r"""序号""")
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcCombActionField_FrontID_get, _thosttraderapi.CThostFtdcCombActionField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcCombActionField_SessionID_get, _thosttraderapi.CThostFtdcCombActionField_SessionID_set, doc=r"""会话编号""")
    UserProductInfo: "TThostFtdcProductInfoType" = property(_thosttraderapi.CThostFtdcCombActionField_UserProductInfo_get, _thosttraderapi.CThostFtdcCombActionField_UserProductInfo_set, doc=r"""用户端产品信息""")
    StatusMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcCombActionField_StatusMsg_get, _thosttraderapi.CThostFtdcCombActionField_StatusMsg_set, doc=r"""状态信息""")
    reserve3: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcCombActionField_reserve3_get, _thosttraderapi.CThostFtdcCombActionField_reserve3_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcCombActionField_MacAddress_get, _thosttraderapi.CThostFtdcCombActionField_MacAddress_set, doc=r"""Mac地址""")
    ComTradeID: "TThostFtdcTradeIDType" = property(_thosttraderapi.CThostFtdcCombActionField_ComTradeID_get, _thosttraderapi.CThostFtdcCombActionField_ComTradeID_set, doc=r"""组合编号""")
    BranchID: "TThostFtdcBranchIDType" = property(_thosttraderapi.CThostFtdcCombActionField_BranchID_get, _thosttraderapi.CThostFtdcCombActionField_BranchID_set, doc=r"""营业部编号""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcCombActionField_InvestUnitID_get, _thosttraderapi.CThostFtdcCombActionField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcCombActionField_InstrumentID_get, _thosttraderapi.CThostFtdcCombActionField_InstrumentID_set, doc=r"""合约代码""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcCombActionField_ExchangeInstID_get, _thosttraderapi.CThostFtdcCombActionField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcCombActionField_IPAddress_get, _thosttraderapi.CThostFtdcCombActionField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcCombActionField_swiginit(self, _thosttraderapi.new_CThostFtdcCombActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcCombActionField

# Register CThostFtdcCombActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcCombActionField_swigregister(CThostFtdcCombActionField)
class CThostFtdcQryCombActionField(object):
    r"""申请组合查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryCombActionField_BrokerID_get, _thosttraderapi.CThostFtdcQryCombActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryCombActionField_InvestorID_get, _thosttraderapi.CThostFtdcQryCombActionField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryCombActionField_reserve1_get, _thosttraderapi.CThostFtdcQryCombActionField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryCombActionField_ExchangeID_get, _thosttraderapi.CThostFtdcQryCombActionField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQryCombActionField_InvestUnitID_get, _thosttraderapi.CThostFtdcQryCombActionField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryCombActionField_InstrumentID_get, _thosttraderapi.CThostFtdcQryCombActionField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryCombActionField_swiginit(self, _thosttraderapi.new_CThostFtdcQryCombActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryCombActionField

# Register CThostFtdcQryCombActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryCombActionField_swigregister(CThostFtdcQryCombActionField)
class CThostFtdcExchangeCombActionField(object):
    r"""交易所申请组合信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    Direction: "TThostFtdcDirectionType" = property(_thosttraderapi.CThostFtdcExchangeCombActionField_Direction_get, _thosttraderapi.CThostFtdcExchangeCombActionField_Direction_set, doc=r"""买卖方向""")
    Volume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcExchangeCombActionField_Volume_get, _thosttraderapi.CThostFtdcExchangeCombActionField_Volume_set, doc=r"""数量""")
    CombDirection: "TThostFtdcCombDirectionType" = property(_thosttraderapi.CThostFtdcExchangeCombActionField_CombDirection_get, _thosttraderapi.CThostFtdcExchangeCombActionField_CombDirection_set, doc=r"""组合指令方向""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcExchangeCombActionField_HedgeFlag_get, _thosttraderapi.CThostFtdcExchangeCombActionField_HedgeFlag_set, doc=r"""投机套保标志""")
    ActionLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcExchangeCombActionField_ActionLocalID_get, _thosttraderapi.CThostFtdcExchangeCombActionField_ActionLocalID_set, doc=r"""本地申请组合编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcExchangeCombActionField_ExchangeID_get, _thosttraderapi.CThostFtdcExchangeCombActionField_ExchangeID_set, doc=r"""交易所代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcExchangeCombActionField_ParticipantID_get, _thosttraderapi.CThostFtdcExchangeCombActionField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcExchangeCombActionField_ClientID_get, _thosttraderapi.CThostFtdcExchangeCombActionField_ClientID_set, doc=r"""客户代码""")
    reserve1: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcExchangeCombActionField_reserve1_get, _thosttraderapi.CThostFtdcExchangeCombActionField_reserve1_set, doc=r"""保留的无效字段""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcExchangeCombActionField_TraderID_get, _thosttraderapi.CThostFtdcExchangeCombActionField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcExchangeCombActionField_InstallID_get, _thosttraderapi.CThostFtdcExchangeCombActionField_InstallID_set, doc=r"""安装编号""")
    ActionStatus: "TThostFtdcOrderActionStatusType" = property(_thosttraderapi.CThostFtdcExchangeCombActionField_ActionStatus_get, _thosttraderapi.CThostFtdcExchangeCombActionField_ActionStatus_set, doc=r"""组合状态""")
    NotifySequence: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcExchangeCombActionField_NotifySequence_get, _thosttraderapi.CThostFtdcExchangeCombActionField_NotifySequence_set, doc=r"""报单提示序号""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcExchangeCombActionField_TradingDay_get, _thosttraderapi.CThostFtdcExchangeCombActionField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcExchangeCombActionField_SettlementID_get, _thosttraderapi.CThostFtdcExchangeCombActionField_SettlementID_set, doc=r"""结算编号""")
    SequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcExchangeCombActionField_SequenceNo_get, _thosttraderapi.CThostFtdcExchangeCombActionField_SequenceNo_set, doc=r"""序号""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcExchangeCombActionField_reserve2_get, _thosttraderapi.CThostFtdcExchangeCombActionField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcExchangeCombActionField_MacAddress_get, _thosttraderapi.CThostFtdcExchangeCombActionField_MacAddress_set, doc=r"""Mac地址""")
    ComTradeID: "TThostFtdcTradeIDType" = property(_thosttraderapi.CThostFtdcExchangeCombActionField_ComTradeID_get, _thosttraderapi.CThostFtdcExchangeCombActionField_ComTradeID_set, doc=r"""组合编号""")
    BranchID: "TThostFtdcBranchIDType" = property(_thosttraderapi.CThostFtdcExchangeCombActionField_BranchID_get, _thosttraderapi.CThostFtdcExchangeCombActionField_BranchID_set, doc=r"""营业部编号""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcExchangeCombActionField_ExchangeInstID_get, _thosttraderapi.CThostFtdcExchangeCombActionField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcExchangeCombActionField_IPAddress_get, _thosttraderapi.CThostFtdcExchangeCombActionField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcExchangeCombActionField_swiginit(self, _thosttraderapi.new_CThostFtdcExchangeCombActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcExchangeCombActionField

# Register CThostFtdcExchangeCombActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcExchangeCombActionField_swigregister(CThostFtdcExchangeCombActionField)
class CThostFtdcQryExchangeCombActionField(object):
    r"""交易所申请组合查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcQryExchangeCombActionField_ParticipantID_get, _thosttraderapi.CThostFtdcQryExchangeCombActionField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcQryExchangeCombActionField_ClientID_get, _thosttraderapi.CThostFtdcQryExchangeCombActionField_ClientID_set, doc=r"""客户代码""")
    reserve1: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcQryExchangeCombActionField_reserve1_get, _thosttraderapi.CThostFtdcQryExchangeCombActionField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryExchangeCombActionField_ExchangeID_get, _thosttraderapi.CThostFtdcQryExchangeCombActionField_ExchangeID_set, doc=r"""交易所代码""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcQryExchangeCombActionField_TraderID_get, _thosttraderapi.CThostFtdcQryExchangeCombActionField_TraderID_set, doc=r"""交易所交易员代码""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcQryExchangeCombActionField_ExchangeInstID_get, _thosttraderapi.CThostFtdcQryExchangeCombActionField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryExchangeCombActionField_swiginit(self, _thosttraderapi.new_CThostFtdcQryExchangeCombActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryExchangeCombActionField

# Register CThostFtdcQryExchangeCombActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryExchangeCombActionField_swigregister(CThostFtdcQryExchangeCombActionField)
class CThostFtdcProductExchRateField(object):
    r"""产品报价汇率"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcProductExchRateField_reserve1_get, _thosttraderapi.CThostFtdcProductExchRateField_reserve1_set, doc=r"""保留的无效字段""")
    QuoteCurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcProductExchRateField_QuoteCurrencyID_get, _thosttraderapi.CThostFtdcProductExchRateField_QuoteCurrencyID_set, doc=r"""报价币种类型""")
    ExchangeRate: "TThostFtdcExchangeRateType" = property(_thosttraderapi.CThostFtdcProductExchRateField_ExchangeRate_get, _thosttraderapi.CThostFtdcProductExchRateField_ExchangeRate_set, doc=r"""汇率""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcProductExchRateField_ExchangeID_get, _thosttraderapi.CThostFtdcProductExchRateField_ExchangeID_set, doc=r"""交易所代码""")
    ProductID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcProductExchRateField_ProductID_get, _thosttraderapi.CThostFtdcProductExchRateField_ProductID_set, doc=r"""产品代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcProductExchRateField_swiginit(self, _thosttraderapi.new_CThostFtdcProductExchRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcProductExchRateField

# Register CThostFtdcProductExchRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcProductExchRateField_swigregister(CThostFtdcProductExchRateField)
class CThostFtdcQryProductExchRateField(object):
    r"""产品报价汇率查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryProductExchRateField_reserve1_get, _thosttraderapi.CThostFtdcQryProductExchRateField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryProductExchRateField_ExchangeID_get, _thosttraderapi.CThostFtdcQryProductExchRateField_ExchangeID_set, doc=r"""交易所代码""")
    ProductID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryProductExchRateField_ProductID_get, _thosttraderapi.CThostFtdcQryProductExchRateField_ProductID_set, doc=r"""产品代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryProductExchRateField_swiginit(self, _thosttraderapi.new_CThostFtdcQryProductExchRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryProductExchRateField

# Register CThostFtdcQryProductExchRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryProductExchRateField_swigregister(CThostFtdcQryProductExchRateField)
class CThostFtdcQryForQuoteParamField(object):
    r"""查询询价价差参数"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryForQuoteParamField_BrokerID_get, _thosttraderapi.CThostFtdcQryForQuoteParamField_BrokerID_set, doc=r"""经纪公司代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryForQuoteParamField_reserve1_get, _thosttraderapi.CThostFtdcQryForQuoteParamField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryForQuoteParamField_ExchangeID_get, _thosttraderapi.CThostFtdcQryForQuoteParamField_ExchangeID_set, doc=r"""交易所代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryForQuoteParamField_InstrumentID_get, _thosttraderapi.CThostFtdcQryForQuoteParamField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryForQuoteParamField_swiginit(self, _thosttraderapi.new_CThostFtdcQryForQuoteParamField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryForQuoteParamField

# Register CThostFtdcQryForQuoteParamField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryForQuoteParamField_swigregister(CThostFtdcQryForQuoteParamField)
class CThostFtdcForQuoteParamField(object):
    r"""询价价差参数"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcForQuoteParamField_BrokerID_get, _thosttraderapi.CThostFtdcForQuoteParamField_BrokerID_set, doc=r"""经纪公司代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcForQuoteParamField_reserve1_get, _thosttraderapi.CThostFtdcForQuoteParamField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcForQuoteParamField_ExchangeID_get, _thosttraderapi.CThostFtdcForQuoteParamField_ExchangeID_set, doc=r"""交易所代码""")
    LastPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcForQuoteParamField_LastPrice_get, _thosttraderapi.CThostFtdcForQuoteParamField_LastPrice_set, doc=r"""最新价""")
    PriceInterval: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcForQuoteParamField_PriceInterval_get, _thosttraderapi.CThostFtdcForQuoteParamField_PriceInterval_set, doc=r"""价差""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcForQuoteParamField_InstrumentID_get, _thosttraderapi.CThostFtdcForQuoteParamField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcForQuoteParamField_swiginit(self, _thosttraderapi.new_CThostFtdcForQuoteParamField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcForQuoteParamField

# Register CThostFtdcForQuoteParamField in _thosttraderapi:
_thosttraderapi.CThostFtdcForQuoteParamField_swigregister(CThostFtdcForQuoteParamField)
class CThostFtdcMMOptionInstrCommRateField(object):
    r"""当前做市商期权合约手续费的详细内容"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcMMOptionInstrCommRateField_reserve1_get, _thosttraderapi.CThostFtdcMMOptionInstrCommRateField_reserve1_set, doc=r"""保留的无效字段""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcMMOptionInstrCommRateField_InvestorRange_get, _thosttraderapi.CThostFtdcMMOptionInstrCommRateField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcMMOptionInstrCommRateField_BrokerID_get, _thosttraderapi.CThostFtdcMMOptionInstrCommRateField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcMMOptionInstrCommRateField_InvestorID_get, _thosttraderapi.CThostFtdcMMOptionInstrCommRateField_InvestorID_set, doc=r"""投资者代码""")
    OpenRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcMMOptionInstrCommRateField_OpenRatioByMoney_get, _thosttraderapi.CThostFtdcMMOptionInstrCommRateField_OpenRatioByMoney_set, doc=r"""开仓手续费率""")
    OpenRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcMMOptionInstrCommRateField_OpenRatioByVolume_get, _thosttraderapi.CThostFtdcMMOptionInstrCommRateField_OpenRatioByVolume_set, doc=r"""开仓手续费""")
    CloseRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcMMOptionInstrCommRateField_CloseRatioByMoney_get, _thosttraderapi.CThostFtdcMMOptionInstrCommRateField_CloseRatioByMoney_set, doc=r"""平仓手续费率""")
    CloseRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcMMOptionInstrCommRateField_CloseRatioByVolume_get, _thosttraderapi.CThostFtdcMMOptionInstrCommRateField_CloseRatioByVolume_set, doc=r"""平仓手续费""")
    CloseTodayRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcMMOptionInstrCommRateField_CloseTodayRatioByMoney_get, _thosttraderapi.CThostFtdcMMOptionInstrCommRateField_CloseTodayRatioByMoney_set, doc=r"""平今手续费率""")
    CloseTodayRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcMMOptionInstrCommRateField_CloseTodayRatioByVolume_get, _thosttraderapi.CThostFtdcMMOptionInstrCommRateField_CloseTodayRatioByVolume_set, doc=r"""平今手续费""")
    StrikeRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcMMOptionInstrCommRateField_StrikeRatioByMoney_get, _thosttraderapi.CThostFtdcMMOptionInstrCommRateField_StrikeRatioByMoney_set, doc=r"""执行手续费率""")
    StrikeRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcMMOptionInstrCommRateField_StrikeRatioByVolume_get, _thosttraderapi.CThostFtdcMMOptionInstrCommRateField_StrikeRatioByVolume_set, doc=r"""执行手续费""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcMMOptionInstrCommRateField_InstrumentID_get, _thosttraderapi.CThostFtdcMMOptionInstrCommRateField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcMMOptionInstrCommRateField_swiginit(self, _thosttraderapi.new_CThostFtdcMMOptionInstrCommRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcMMOptionInstrCommRateField

# Register CThostFtdcMMOptionInstrCommRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcMMOptionInstrCommRateField_swigregister(CThostFtdcMMOptionInstrCommRateField)
class CThostFtdcQryMMOptionInstrCommRateField(object):
    r"""做市商期权手续费率查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryMMOptionInstrCommRateField_BrokerID_get, _thosttraderapi.CThostFtdcQryMMOptionInstrCommRateField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryMMOptionInstrCommRateField_InvestorID_get, _thosttraderapi.CThostFtdcQryMMOptionInstrCommRateField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryMMOptionInstrCommRateField_reserve1_get, _thosttraderapi.CThostFtdcQryMMOptionInstrCommRateField_reserve1_set, doc=r"""保留的无效字段""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryMMOptionInstrCommRateField_InstrumentID_get, _thosttraderapi.CThostFtdcQryMMOptionInstrCommRateField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryMMOptionInstrCommRateField_swiginit(self, _thosttraderapi.new_CThostFtdcQryMMOptionInstrCommRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryMMOptionInstrCommRateField

# Register CThostFtdcQryMMOptionInstrCommRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryMMOptionInstrCommRateField_swigregister(CThostFtdcQryMMOptionInstrCommRateField)
class CThostFtdcMMInstrumentCommissionRateField(object):
    r"""做市商合约手续费率"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_reserve1_get, _thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_reserve1_set, doc=r"""保留的无效字段""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_InvestorRange_get, _thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_BrokerID_get, _thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_InvestorID_get, _thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_InvestorID_set, doc=r"""投资者代码""")
    OpenRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_OpenRatioByMoney_get, _thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_OpenRatioByMoney_set, doc=r"""开仓手续费率""")
    OpenRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_OpenRatioByVolume_get, _thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_OpenRatioByVolume_set, doc=r"""开仓手续费""")
    CloseRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_CloseRatioByMoney_get, _thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_CloseRatioByMoney_set, doc=r"""平仓手续费率""")
    CloseRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_CloseRatioByVolume_get, _thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_CloseRatioByVolume_set, doc=r"""平仓手续费""")
    CloseTodayRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_CloseTodayRatioByMoney_get, _thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_CloseTodayRatioByMoney_set, doc=r"""平今手续费率""")
    CloseTodayRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_CloseTodayRatioByVolume_get, _thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_CloseTodayRatioByVolume_set, doc=r"""平今手续费""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_InstrumentID_get, _thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_swiginit(self, _thosttraderapi.new_CThostFtdcMMInstrumentCommissionRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcMMInstrumentCommissionRateField

# Register CThostFtdcMMInstrumentCommissionRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcMMInstrumentCommissionRateField_swigregister(CThostFtdcMMInstrumentCommissionRateField)
class CThostFtdcQryMMInstrumentCommissionRateField(object):
    r"""查询做市商合约手续费率"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryMMInstrumentCommissionRateField_BrokerID_get, _thosttraderapi.CThostFtdcQryMMInstrumentCommissionRateField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryMMInstrumentCommissionRateField_InvestorID_get, _thosttraderapi.CThostFtdcQryMMInstrumentCommissionRateField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryMMInstrumentCommissionRateField_reserve1_get, _thosttraderapi.CThostFtdcQryMMInstrumentCommissionRateField_reserve1_set, doc=r"""保留的无效字段""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryMMInstrumentCommissionRateField_InstrumentID_get, _thosttraderapi.CThostFtdcQryMMInstrumentCommissionRateField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryMMInstrumentCommissionRateField_swiginit(self, _thosttraderapi.new_CThostFtdcQryMMInstrumentCommissionRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryMMInstrumentCommissionRateField

# Register CThostFtdcQryMMInstrumentCommissionRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryMMInstrumentCommissionRateField_swigregister(CThostFtdcQryMMInstrumentCommissionRateField)
class CThostFtdcInstrumentOrderCommRateField(object):
    r"""当前报单手续费的详细内容"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInstrumentOrderCommRateField_reserve1_get, _thosttraderapi.CThostFtdcInstrumentOrderCommRateField_reserve1_set, doc=r"""保留的无效字段""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcInstrumentOrderCommRateField_InvestorRange_get, _thosttraderapi.CThostFtdcInstrumentOrderCommRateField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInstrumentOrderCommRateField_BrokerID_get, _thosttraderapi.CThostFtdcInstrumentOrderCommRateField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInstrumentOrderCommRateField_InvestorID_get, _thosttraderapi.CThostFtdcInstrumentOrderCommRateField_InvestorID_set, doc=r"""投资者代码""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcInstrumentOrderCommRateField_HedgeFlag_get, _thosttraderapi.CThostFtdcInstrumentOrderCommRateField_HedgeFlag_set, doc=r"""投机套保标志""")
    OrderCommByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInstrumentOrderCommRateField_OrderCommByVolume_get, _thosttraderapi.CThostFtdcInstrumentOrderCommRateField_OrderCommByVolume_set, doc=r"""报单手续费""")
    OrderActionCommByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInstrumentOrderCommRateField_OrderActionCommByVolume_get, _thosttraderapi.CThostFtdcInstrumentOrderCommRateField_OrderActionCommByVolume_set, doc=r"""撤单手续费""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcInstrumentOrderCommRateField_ExchangeID_get, _thosttraderapi.CThostFtdcInstrumentOrderCommRateField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcInstrumentOrderCommRateField_InvestUnitID_get, _thosttraderapi.CThostFtdcInstrumentOrderCommRateField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInstrumentOrderCommRateField_InstrumentID_get, _thosttraderapi.CThostFtdcInstrumentOrderCommRateField_InstrumentID_set, doc=r"""合约代码""")
    OrderCommByTrade: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInstrumentOrderCommRateField_OrderCommByTrade_get, _thosttraderapi.CThostFtdcInstrumentOrderCommRateField_OrderCommByTrade_set, doc=r"""报单手续费""")
    OrderActionCommByTrade: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInstrumentOrderCommRateField_OrderActionCommByTrade_get, _thosttraderapi.CThostFtdcInstrumentOrderCommRateField_OrderActionCommByTrade_set, doc=r"""撤单手续费""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInstrumentOrderCommRateField_swiginit(self, _thosttraderapi.new_CThostFtdcInstrumentOrderCommRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInstrumentOrderCommRateField

# Register CThostFtdcInstrumentOrderCommRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcInstrumentOrderCommRateField_swigregister(CThostFtdcInstrumentOrderCommRateField)
class CThostFtdcQryInstrumentOrderCommRateField(object):
    r"""报单手续费率查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentOrderCommRateField_BrokerID_get, _thosttraderapi.CThostFtdcQryInstrumentOrderCommRateField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentOrderCommRateField_InvestorID_get, _thosttraderapi.CThostFtdcQryInstrumentOrderCommRateField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentOrderCommRateField_reserve1_get, _thosttraderapi.CThostFtdcQryInstrumentOrderCommRateField_reserve1_set, doc=r"""保留的无效字段""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentOrderCommRateField_InstrumentID_get, _thosttraderapi.CThostFtdcQryInstrumentOrderCommRateField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryInstrumentOrderCommRateField_swiginit(self, _thosttraderapi.new_CThostFtdcQryInstrumentOrderCommRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryInstrumentOrderCommRateField

# Register CThostFtdcQryInstrumentOrderCommRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryInstrumentOrderCommRateField_swigregister(CThostFtdcQryInstrumentOrderCommRateField)
class CThostFtdcTradeParamField(object):
    r"""交易参数"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcTradeParamField_BrokerID_get, _thosttraderapi.CThostFtdcTradeParamField_BrokerID_set, doc=r"""经纪公司代码""")
    TradeParamID: "TThostFtdcTradeParamIDType" = property(_thosttraderapi.CThostFtdcTradeParamField_TradeParamID_get, _thosttraderapi.CThostFtdcTradeParamField_TradeParamID_set, doc=r"""参数代码""")
    TradeParamValue: "TThostFtdcSettlementParamValueType" = property(_thosttraderapi.CThostFtdcTradeParamField_TradeParamValue_get, _thosttraderapi.CThostFtdcTradeParamField_TradeParamValue_set, doc=r"""参数代码值""")
    Memo: "TThostFtdcMemoType" = property(_thosttraderapi.CThostFtdcTradeParamField_Memo_get, _thosttraderapi.CThostFtdcTradeParamField_Memo_set, doc=r"""备注""")

    def __init__(self):
        _thosttraderapi.CThostFtdcTradeParamField_swiginit(self, _thosttraderapi.new_CThostFtdcTradeParamField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTradeParamField

# Register CThostFtdcTradeParamField in _thosttraderapi:
_thosttraderapi.CThostFtdcTradeParamField_swigregister(CThostFtdcTradeParamField)
class CThostFtdcInstrumentMarginRateULField(object):
    r"""合约保证金率调整"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateULField_reserve1_get, _thosttraderapi.CThostFtdcInstrumentMarginRateULField_reserve1_set, doc=r"""保留的无效字段""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateULField_InvestorRange_get, _thosttraderapi.CThostFtdcInstrumentMarginRateULField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateULField_BrokerID_get, _thosttraderapi.CThostFtdcInstrumentMarginRateULField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateULField_InvestorID_get, _thosttraderapi.CThostFtdcInstrumentMarginRateULField_InvestorID_set, doc=r"""投资者代码""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateULField_HedgeFlag_get, _thosttraderapi.CThostFtdcInstrumentMarginRateULField_HedgeFlag_set, doc=r"""投机套保标志""")
    LongMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateULField_LongMarginRatioByMoney_get, _thosttraderapi.CThostFtdcInstrumentMarginRateULField_LongMarginRatioByMoney_set, doc=r"""多头保证金率""")
    LongMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateULField_LongMarginRatioByVolume_get, _thosttraderapi.CThostFtdcInstrumentMarginRateULField_LongMarginRatioByVolume_set, doc=r"""多头保证金费""")
    ShortMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateULField_ShortMarginRatioByMoney_get, _thosttraderapi.CThostFtdcInstrumentMarginRateULField_ShortMarginRatioByMoney_set, doc=r"""空头保证金率""")
    ShortMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateULField_ShortMarginRatioByVolume_get, _thosttraderapi.CThostFtdcInstrumentMarginRateULField_ShortMarginRatioByVolume_set, doc=r"""空头保证金费""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInstrumentMarginRateULField_InstrumentID_get, _thosttraderapi.CThostFtdcInstrumentMarginRateULField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInstrumentMarginRateULField_swiginit(self, _thosttraderapi.new_CThostFtdcInstrumentMarginRateULField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInstrumentMarginRateULField

# Register CThostFtdcInstrumentMarginRateULField in _thosttraderapi:
_thosttraderapi.CThostFtdcInstrumentMarginRateULField_swigregister(CThostFtdcInstrumentMarginRateULField)
class CThostFtdcFutureLimitPosiParamField(object):
    r"""期货持仓限制参数"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcFutureLimitPosiParamField_InvestorRange_get, _thosttraderapi.CThostFtdcFutureLimitPosiParamField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcFutureLimitPosiParamField_BrokerID_get, _thosttraderapi.CThostFtdcFutureLimitPosiParamField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcFutureLimitPosiParamField_InvestorID_get, _thosttraderapi.CThostFtdcFutureLimitPosiParamField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcFutureLimitPosiParamField_reserve1_get, _thosttraderapi.CThostFtdcFutureLimitPosiParamField_reserve1_set, doc=r"""保留的无效字段""")
    SpecOpenVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcFutureLimitPosiParamField_SpecOpenVolume_get, _thosttraderapi.CThostFtdcFutureLimitPosiParamField_SpecOpenVolume_set, doc=r"""当日投机开仓数量限制""")
    ArbiOpenVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcFutureLimitPosiParamField_ArbiOpenVolume_get, _thosttraderapi.CThostFtdcFutureLimitPosiParamField_ArbiOpenVolume_set, doc=r"""当日套利开仓数量限制""")
    OpenVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcFutureLimitPosiParamField_OpenVolume_get, _thosttraderapi.CThostFtdcFutureLimitPosiParamField_OpenVolume_set, doc=r"""当日投机+套利开仓数量限制""")
    ProductID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcFutureLimitPosiParamField_ProductID_get, _thosttraderapi.CThostFtdcFutureLimitPosiParamField_ProductID_set, doc=r"""产品代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcFutureLimitPosiParamField_swiginit(self, _thosttraderapi.new_CThostFtdcFutureLimitPosiParamField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcFutureLimitPosiParamField

# Register CThostFtdcFutureLimitPosiParamField in _thosttraderapi:
_thosttraderapi.CThostFtdcFutureLimitPosiParamField_swigregister(CThostFtdcFutureLimitPosiParamField)
class CThostFtdcLoginForbiddenIPField(object):
    r"""禁止登录IP"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcLoginForbiddenIPField_reserve1_get, _thosttraderapi.CThostFtdcLoginForbiddenIPField_reserve1_set, doc=r"""保留的无效字段""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcLoginForbiddenIPField_IPAddress_get, _thosttraderapi.CThostFtdcLoginForbiddenIPField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcLoginForbiddenIPField_swiginit(self, _thosttraderapi.new_CThostFtdcLoginForbiddenIPField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcLoginForbiddenIPField

# Register CThostFtdcLoginForbiddenIPField in _thosttraderapi:
_thosttraderapi.CThostFtdcLoginForbiddenIPField_swigregister(CThostFtdcLoginForbiddenIPField)
class CThostFtdcIPListField(object):
    r"""IP列表"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcIPListField_reserve1_get, _thosttraderapi.CThostFtdcIPListField_reserve1_set, doc=r"""保留的无效字段""")
    IsWhite: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcIPListField_IsWhite_get, _thosttraderapi.CThostFtdcIPListField_IsWhite_set, doc=r"""是否白名单""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcIPListField_IPAddress_get, _thosttraderapi.CThostFtdcIPListField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcIPListField_swiginit(self, _thosttraderapi.new_CThostFtdcIPListField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcIPListField

# Register CThostFtdcIPListField in _thosttraderapi:
_thosttraderapi.CThostFtdcIPListField_swigregister(CThostFtdcIPListField)
class CThostFtdcInputOptionSelfCloseField(object):
    r"""输入的期权自对冲"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseField_BrokerID_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseField_InvestorID_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseField_reserve1_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseField_reserve1_set, doc=r"""保留的无效字段""")
    OptionSelfCloseRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseField_OptionSelfCloseRef_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseField_OptionSelfCloseRef_set, doc=r"""期权自对冲引用""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseField_UserID_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseField_UserID_set, doc=r"""用户代码""")
    Volume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseField_Volume_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseField_Volume_set, doc=r"""数量""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseField_RequestID_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseField_RequestID_set, doc=r"""请求编号""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseField_BusinessUnit_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseField_BusinessUnit_set, doc=r"""业务单元""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseField_HedgeFlag_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseField_HedgeFlag_set, doc=r"""投机套保标志""")
    OptSelfCloseFlag: "TThostFtdcOptSelfCloseFlagType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseField_OptSelfCloseFlag_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseField_OptSelfCloseFlag_set, doc=r"""期权行权的头寸是否自对冲""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseField_ExchangeID_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseField_InvestUnitID_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseField_InvestUnitID_set, doc=r"""投资单元代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseField_AccountID_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseField_AccountID_set, doc=r"""资金账号""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseField_CurrencyID_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseField_CurrencyID_set, doc=r"""币种代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseField_ClientID_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseField_ClientID_set, doc=r"""交易编码""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseField_reserve2_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseField_MacAddress_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseField_MacAddress_set, doc=r"""Mac地址""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseField_InstrumentID_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseField_InstrumentID_set, doc=r"""合约代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseField_IPAddress_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInputOptionSelfCloseField_swiginit(self, _thosttraderapi.new_CThostFtdcInputOptionSelfCloseField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInputOptionSelfCloseField

# Register CThostFtdcInputOptionSelfCloseField in _thosttraderapi:
_thosttraderapi.CThostFtdcInputOptionSelfCloseField_swigregister(CThostFtdcInputOptionSelfCloseField)
class CThostFtdcInputOptionSelfCloseActionField(object):
    r"""输入期权自对冲操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_BrokerID_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_InvestorID_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_InvestorID_set, doc=r"""投资者代码""")
    OptionSelfCloseActionRef: "TThostFtdcOrderActionRefType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_OptionSelfCloseActionRef_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_OptionSelfCloseActionRef_set, doc=r"""期权自对冲操作引用""")
    OptionSelfCloseRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_OptionSelfCloseRef_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_OptionSelfCloseRef_set, doc=r"""期权自对冲引用""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_RequestID_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_RequestID_set, doc=r"""请求编号""")
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_FrontID_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_SessionID_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_SessionID_set, doc=r"""会话编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_ExchangeID_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_ExchangeID_set, doc=r"""交易所代码""")
    OptionSelfCloseSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_OptionSelfCloseSysID_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_OptionSelfCloseSysID_set, doc=r"""期权自对冲操作编号""")
    ActionFlag: "TThostFtdcActionFlagType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_ActionFlag_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_ActionFlag_set, doc=r"""操作标志""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_UserID_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_UserID_set, doc=r"""用户代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_reserve1_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_reserve1_set, doc=r"""保留的无效字段""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_InvestUnitID_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_InvestUnitID_set, doc=r"""投资单元代码""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_reserve2_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_MacAddress_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_MacAddress_set, doc=r"""Mac地址""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_InstrumentID_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_InstrumentID_set, doc=r"""合约代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_IPAddress_get, _thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_swiginit(self, _thosttraderapi.new_CThostFtdcInputOptionSelfCloseActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInputOptionSelfCloseActionField

# Register CThostFtdcInputOptionSelfCloseActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcInputOptionSelfCloseActionField_swigregister(CThostFtdcInputOptionSelfCloseActionField)
class CThostFtdcOptionSelfCloseField(object):
    r"""期权自对冲"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_BrokerID_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_InvestorID_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_reserve1_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_reserve1_set, doc=r"""保留的无效字段""")
    OptionSelfCloseRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_OptionSelfCloseRef_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_OptionSelfCloseRef_set, doc=r"""期权自对冲引用""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_UserID_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_UserID_set, doc=r"""用户代码""")
    Volume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_Volume_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_Volume_set, doc=r"""数量""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_RequestID_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_RequestID_set, doc=r"""请求编号""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_BusinessUnit_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_BusinessUnit_set, doc=r"""业务单元""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_HedgeFlag_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_HedgeFlag_set, doc=r"""投机套保标志""")
    OptSelfCloseFlag: "TThostFtdcOptSelfCloseFlagType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_OptSelfCloseFlag_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_OptSelfCloseFlag_set, doc=r"""期权行权的头寸是否自对冲""")
    OptionSelfCloseLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_OptionSelfCloseLocalID_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_OptionSelfCloseLocalID_set, doc=r"""本地期权自对冲编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_ExchangeID_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_ExchangeID_set, doc=r"""交易所代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_ParticipantID_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_ClientID_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_ClientID_set, doc=r"""客户代码""")
    reserve2: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_reserve2_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_reserve2_set, doc=r"""保留的无效字段""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_TraderID_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_InstallID_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_InstallID_set, doc=r"""安装编号""")
    OrderSubmitStatus: "TThostFtdcOrderSubmitStatusType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_OrderSubmitStatus_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_OrderSubmitStatus_set, doc=r"""期权自对冲提交状态""")
    NotifySequence: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_NotifySequence_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_NotifySequence_set, doc=r"""报单提示序号""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_TradingDay_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_SettlementID_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_SettlementID_set, doc=r"""结算编号""")
    OptionSelfCloseSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_OptionSelfCloseSysID_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_OptionSelfCloseSysID_set, doc=r"""期权自对冲编号""")
    InsertDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_InsertDate_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_InsertDate_set, doc=r"""报单日期""")
    InsertTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_InsertTime_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_InsertTime_set, doc=r"""插入时间""")
    CancelTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_CancelTime_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_CancelTime_set, doc=r"""撤销时间""")
    ExecResult: "TThostFtdcExecResultType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_ExecResult_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_ExecResult_set, doc=r"""自对冲结果""")
    ClearingPartID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_ClearingPartID_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_ClearingPartID_set, doc=r"""结算会员编号""")
    SequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_SequenceNo_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_SequenceNo_set, doc=r"""序号""")
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_FrontID_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_SessionID_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_SessionID_set, doc=r"""会话编号""")
    UserProductInfo: "TThostFtdcProductInfoType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_UserProductInfo_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_UserProductInfo_set, doc=r"""用户端产品信息""")
    StatusMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_StatusMsg_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_StatusMsg_set, doc=r"""状态信息""")
    ActiveUserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_ActiveUserID_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_ActiveUserID_set, doc=r"""操作用户代码""")
    BrokerOptionSelfCloseSeq: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_BrokerOptionSelfCloseSeq_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_BrokerOptionSelfCloseSeq_set, doc=r"""经纪公司报单编号""")
    BranchID: "TThostFtdcBranchIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_BranchID_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_BranchID_set, doc=r"""营业部编号""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_InvestUnitID_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_InvestUnitID_set, doc=r"""投资单元代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_AccountID_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_AccountID_set, doc=r"""资金账号""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_CurrencyID_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_CurrencyID_set, doc=r"""币种代码""")
    reserve3: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_reserve3_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_reserve3_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_MacAddress_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_MacAddress_set, doc=r"""Mac地址""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_InstrumentID_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_InstrumentID_set, doc=r"""合约代码""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_ExchangeInstID_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseField_IPAddress_get, _thosttraderapi.CThostFtdcOptionSelfCloseField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcOptionSelfCloseField_swiginit(self, _thosttraderapi.new_CThostFtdcOptionSelfCloseField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcOptionSelfCloseField

# Register CThostFtdcOptionSelfCloseField in _thosttraderapi:
_thosttraderapi.CThostFtdcOptionSelfCloseField_swigregister(CThostFtdcOptionSelfCloseField)
class CThostFtdcOptionSelfCloseActionField(object):
    r"""期权自对冲操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_BrokerID_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_InvestorID_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_InvestorID_set, doc=r"""投资者代码""")
    OptionSelfCloseActionRef: "TThostFtdcOrderActionRefType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_OptionSelfCloseActionRef_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_OptionSelfCloseActionRef_set, doc=r"""期权自对冲操作引用""")
    OptionSelfCloseRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_OptionSelfCloseRef_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_OptionSelfCloseRef_set, doc=r"""期权自对冲引用""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_RequestID_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_RequestID_set, doc=r"""请求编号""")
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_FrontID_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_SessionID_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_SessionID_set, doc=r"""会话编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_ExchangeID_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_ExchangeID_set, doc=r"""交易所代码""")
    OptionSelfCloseSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_OptionSelfCloseSysID_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_OptionSelfCloseSysID_set, doc=r"""期权自对冲操作编号""")
    ActionFlag: "TThostFtdcActionFlagType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_ActionFlag_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_ActionFlag_set, doc=r"""操作标志""")
    ActionDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_ActionDate_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_ActionDate_set, doc=r"""操作日期""")
    ActionTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_ActionTime_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_ActionTime_set, doc=r"""操作时间""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_TraderID_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_InstallID_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_InstallID_set, doc=r"""安装编号""")
    OptionSelfCloseLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_OptionSelfCloseLocalID_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_OptionSelfCloseLocalID_set, doc=r"""本地期权自对冲编号""")
    ActionLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_ActionLocalID_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_ActionLocalID_set, doc=r"""操作本地编号""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_ParticipantID_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_ClientID_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_ClientID_set, doc=r"""客户代码""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_BusinessUnit_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_BusinessUnit_set, doc=r"""业务单元""")
    OrderActionStatus: "TThostFtdcOrderActionStatusType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_OrderActionStatus_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_OrderActionStatus_set, doc=r"""报单操作状态""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_UserID_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_UserID_set, doc=r"""用户代码""")
    StatusMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_StatusMsg_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_StatusMsg_set, doc=r"""状态信息""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_reserve1_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_reserve1_set, doc=r"""保留的无效字段""")
    BranchID: "TThostFtdcBranchIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_BranchID_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_BranchID_set, doc=r"""营业部编号""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_InvestUnitID_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_InvestUnitID_set, doc=r"""投资单元代码""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_reserve2_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_MacAddress_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_MacAddress_set, doc=r"""Mac地址""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_InstrumentID_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_InstrumentID_set, doc=r"""合约代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcOptionSelfCloseActionField_IPAddress_get, _thosttraderapi.CThostFtdcOptionSelfCloseActionField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcOptionSelfCloseActionField_swiginit(self, _thosttraderapi.new_CThostFtdcOptionSelfCloseActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcOptionSelfCloseActionField

# Register CThostFtdcOptionSelfCloseActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcOptionSelfCloseActionField_swigregister(CThostFtdcOptionSelfCloseActionField)
class CThostFtdcQryOptionSelfCloseField(object):
    r"""期权自对冲查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryOptionSelfCloseField_BrokerID_get, _thosttraderapi.CThostFtdcQryOptionSelfCloseField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryOptionSelfCloseField_InvestorID_get, _thosttraderapi.CThostFtdcQryOptionSelfCloseField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryOptionSelfCloseField_reserve1_get, _thosttraderapi.CThostFtdcQryOptionSelfCloseField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryOptionSelfCloseField_ExchangeID_get, _thosttraderapi.CThostFtdcQryOptionSelfCloseField_ExchangeID_set, doc=r"""交易所代码""")
    OptionSelfCloseSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcQryOptionSelfCloseField_OptionSelfCloseSysID_get, _thosttraderapi.CThostFtdcQryOptionSelfCloseField_OptionSelfCloseSysID_set, doc=r"""期权自对冲编号""")
    InsertTimeStart: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcQryOptionSelfCloseField_InsertTimeStart_get, _thosttraderapi.CThostFtdcQryOptionSelfCloseField_InsertTimeStart_set, doc=r"""开始时间""")
    InsertTimeEnd: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcQryOptionSelfCloseField_InsertTimeEnd_get, _thosttraderapi.CThostFtdcQryOptionSelfCloseField_InsertTimeEnd_set, doc=r"""结束时间""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryOptionSelfCloseField_InstrumentID_get, _thosttraderapi.CThostFtdcQryOptionSelfCloseField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryOptionSelfCloseField_swiginit(self, _thosttraderapi.new_CThostFtdcQryOptionSelfCloseField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryOptionSelfCloseField

# Register CThostFtdcQryOptionSelfCloseField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryOptionSelfCloseField_swigregister(CThostFtdcQryOptionSelfCloseField)
class CThostFtdcExchangeOptionSelfCloseField(object):
    r"""交易所期权自对冲信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    Volume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_Volume_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_Volume_set, doc=r"""数量""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_RequestID_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_RequestID_set, doc=r"""请求编号""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_BusinessUnit_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_BusinessUnit_set, doc=r"""业务单元""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_HedgeFlag_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_HedgeFlag_set, doc=r"""投机套保标志""")
    OptSelfCloseFlag: "TThostFtdcOptSelfCloseFlagType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_OptSelfCloseFlag_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_OptSelfCloseFlag_set, doc=r"""期权行权的头寸是否自对冲""")
    OptionSelfCloseLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_OptionSelfCloseLocalID_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_OptionSelfCloseLocalID_set, doc=r"""本地期权自对冲编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_ExchangeID_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_ExchangeID_set, doc=r"""交易所代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_ParticipantID_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_ClientID_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_ClientID_set, doc=r"""客户代码""")
    reserve1: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_reserve1_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_reserve1_set, doc=r"""保留的无效字段""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_TraderID_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_InstallID_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_InstallID_set, doc=r"""安装编号""")
    OrderSubmitStatus: "TThostFtdcOrderSubmitStatusType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_OrderSubmitStatus_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_OrderSubmitStatus_set, doc=r"""期权自对冲提交状态""")
    NotifySequence: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_NotifySequence_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_NotifySequence_set, doc=r"""报单提示序号""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_TradingDay_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_SettlementID_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_SettlementID_set, doc=r"""结算编号""")
    OptionSelfCloseSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_OptionSelfCloseSysID_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_OptionSelfCloseSysID_set, doc=r"""期权自对冲编号""")
    InsertDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_InsertDate_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_InsertDate_set, doc=r"""报单日期""")
    InsertTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_InsertTime_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_InsertTime_set, doc=r"""插入时间""")
    CancelTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_CancelTime_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_CancelTime_set, doc=r"""撤销时间""")
    ExecResult: "TThostFtdcExecResultType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_ExecResult_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_ExecResult_set, doc=r"""自对冲结果""")
    ClearingPartID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_ClearingPartID_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_ClearingPartID_set, doc=r"""结算会员编号""")
    SequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_SequenceNo_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_SequenceNo_set, doc=r"""序号""")
    BranchID: "TThostFtdcBranchIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_BranchID_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_BranchID_set, doc=r"""营业部编号""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_reserve2_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_MacAddress_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_MacAddress_set, doc=r"""Mac地址""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_ExchangeInstID_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_IPAddress_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_swiginit(self, _thosttraderapi.new_CThostFtdcExchangeOptionSelfCloseField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcExchangeOptionSelfCloseField

# Register CThostFtdcExchangeOptionSelfCloseField in _thosttraderapi:
_thosttraderapi.CThostFtdcExchangeOptionSelfCloseField_swigregister(CThostFtdcExchangeOptionSelfCloseField)
class CThostFtdcQryOptionSelfCloseActionField(object):
    r"""期权自对冲操作查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryOptionSelfCloseActionField_BrokerID_get, _thosttraderapi.CThostFtdcQryOptionSelfCloseActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryOptionSelfCloseActionField_InvestorID_get, _thosttraderapi.CThostFtdcQryOptionSelfCloseActionField_InvestorID_set, doc=r"""投资者代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryOptionSelfCloseActionField_ExchangeID_get, _thosttraderapi.CThostFtdcQryOptionSelfCloseActionField_ExchangeID_set, doc=r"""交易所代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryOptionSelfCloseActionField_swiginit(self, _thosttraderapi.new_CThostFtdcQryOptionSelfCloseActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryOptionSelfCloseActionField

# Register CThostFtdcQryOptionSelfCloseActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryOptionSelfCloseActionField_swigregister(CThostFtdcQryOptionSelfCloseActionField)
class CThostFtdcExchangeOptionSelfCloseActionField(object):
    r"""交易所期权自对冲操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_ExchangeID_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_ExchangeID_set, doc=r"""交易所代码""")
    OptionSelfCloseSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_OptionSelfCloseSysID_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_OptionSelfCloseSysID_set, doc=r"""期权自对冲操作编号""")
    ActionFlag: "TThostFtdcActionFlagType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_ActionFlag_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_ActionFlag_set, doc=r"""操作标志""")
    ActionDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_ActionDate_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_ActionDate_set, doc=r"""操作日期""")
    ActionTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_ActionTime_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_ActionTime_set, doc=r"""操作时间""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_TraderID_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_InstallID_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_InstallID_set, doc=r"""安装编号""")
    OptionSelfCloseLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_OptionSelfCloseLocalID_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_OptionSelfCloseLocalID_set, doc=r"""本地期权自对冲编号""")
    ActionLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_ActionLocalID_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_ActionLocalID_set, doc=r"""操作本地编号""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_ParticipantID_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_ClientID_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_ClientID_set, doc=r"""客户代码""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_BusinessUnit_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_BusinessUnit_set, doc=r"""业务单元""")
    OrderActionStatus: "TThostFtdcOrderActionStatusType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_OrderActionStatus_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_OrderActionStatus_set, doc=r"""报单操作状态""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_UserID_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_UserID_set, doc=r"""用户代码""")
    BranchID: "TThostFtdcBranchIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_BranchID_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_BranchID_set, doc=r"""营业部编号""")
    reserve1: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_reserve1_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_reserve1_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_MacAddress_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_MacAddress_set, doc=r"""Mac地址""")
    reserve2: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_reserve2_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_reserve2_set, doc=r"""保留的无效字段""")
    OptSelfCloseFlag: "TThostFtdcOptSelfCloseFlagType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_OptSelfCloseFlag_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_OptSelfCloseFlag_set, doc=r"""期权行权的头寸是否自对冲""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_IPAddress_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_IPAddress_set, doc=r"""IP地址""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_ExchangeInstID_get, _thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_swiginit(self, _thosttraderapi.new_CThostFtdcExchangeOptionSelfCloseActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcExchangeOptionSelfCloseActionField

# Register CThostFtdcExchangeOptionSelfCloseActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcExchangeOptionSelfCloseActionField_swigregister(CThostFtdcExchangeOptionSelfCloseActionField)
class CThostFtdcSyncDelaySwapField(object):
    r"""延时换汇同步"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    DelaySwapSeqNo: "TThostFtdcDepositSeqNoType" = property(_thosttraderapi.CThostFtdcSyncDelaySwapField_DelaySwapSeqNo_get, _thosttraderapi.CThostFtdcSyncDelaySwapField_DelaySwapSeqNo_set, doc=r"""换汇流水号""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncDelaySwapField_BrokerID_get, _thosttraderapi.CThostFtdcSyncDelaySwapField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSyncDelaySwapField_InvestorID_get, _thosttraderapi.CThostFtdcSyncDelaySwapField_InvestorID_set, doc=r"""投资者代码""")
    FromCurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcSyncDelaySwapField_FromCurrencyID_get, _thosttraderapi.CThostFtdcSyncDelaySwapField_FromCurrencyID_set, doc=r"""源币种""")
    FromAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDelaySwapField_FromAmount_get, _thosttraderapi.CThostFtdcSyncDelaySwapField_FromAmount_set, doc=r"""源金额""")
    FromFrozenSwap: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDelaySwapField_FromFrozenSwap_get, _thosttraderapi.CThostFtdcSyncDelaySwapField_FromFrozenSwap_set, doc=r"""源换汇冻结金额(可用冻结)""")
    FromRemainSwap: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDelaySwapField_FromRemainSwap_get, _thosttraderapi.CThostFtdcSyncDelaySwapField_FromRemainSwap_set, doc=r"""源剩余换汇额度(可提冻结)""")
    ToCurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcSyncDelaySwapField_ToCurrencyID_get, _thosttraderapi.CThostFtdcSyncDelaySwapField_ToCurrencyID_set, doc=r"""目标币种""")
    ToAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDelaySwapField_ToAmount_get, _thosttraderapi.CThostFtdcSyncDelaySwapField_ToAmount_set, doc=r"""目标金额""")
    IsManualSwap: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcSyncDelaySwapField_IsManualSwap_get, _thosttraderapi.CThostFtdcSyncDelaySwapField_IsManualSwap_set, doc=r"""是否手工换汇""")
    IsAllRemainSetZero: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcSyncDelaySwapField_IsAllRemainSetZero_get, _thosttraderapi.CThostFtdcSyncDelaySwapField_IsAllRemainSetZero_set, doc=r"""是否将所有外币的剩余换汇额度设置为0""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncDelaySwapField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncDelaySwapField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncDelaySwapField

# Register CThostFtdcSyncDelaySwapField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncDelaySwapField_swigregister(CThostFtdcSyncDelaySwapField)
class CThostFtdcQrySyncDelaySwapField(object):
    r"""查询延时换汇同步"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQrySyncDelaySwapField_BrokerID_get, _thosttraderapi.CThostFtdcQrySyncDelaySwapField_BrokerID_set, doc=r"""经纪公司代码""")
    DelaySwapSeqNo: "TThostFtdcDepositSeqNoType" = property(_thosttraderapi.CThostFtdcQrySyncDelaySwapField_DelaySwapSeqNo_get, _thosttraderapi.CThostFtdcQrySyncDelaySwapField_DelaySwapSeqNo_set, doc=r"""延时换汇流水号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQrySyncDelaySwapField_swiginit(self, _thosttraderapi.new_CThostFtdcQrySyncDelaySwapField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQrySyncDelaySwapField

# Register CThostFtdcQrySyncDelaySwapField in _thosttraderapi:
_thosttraderapi.CThostFtdcQrySyncDelaySwapField_swigregister(CThostFtdcQrySyncDelaySwapField)
class CThostFtdcInvestUnitField(object):
    r"""投资单元"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInvestUnitField_BrokerID_get, _thosttraderapi.CThostFtdcInvestUnitField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInvestUnitField_InvestorID_get, _thosttraderapi.CThostFtdcInvestUnitField_InvestorID_set, doc=r"""投资者代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcInvestUnitField_InvestUnitID_get, _thosttraderapi.CThostFtdcInvestUnitField_InvestUnitID_set, doc=r"""投资单元代码""")
    InvestorUnitName: "TThostFtdcPartyNameType" = property(_thosttraderapi.CThostFtdcInvestUnitField_InvestorUnitName_get, _thosttraderapi.CThostFtdcInvestUnitField_InvestorUnitName_set, doc=r"""投资者单元名称""")
    InvestorGroupID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInvestUnitField_InvestorGroupID_get, _thosttraderapi.CThostFtdcInvestUnitField_InvestorGroupID_set, doc=r"""投资者分组代码""")
    CommModelID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInvestUnitField_CommModelID_get, _thosttraderapi.CThostFtdcInvestUnitField_CommModelID_set, doc=r"""手续费率模板代码""")
    MarginModelID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInvestUnitField_MarginModelID_get, _thosttraderapi.CThostFtdcInvestUnitField_MarginModelID_set, doc=r"""保证金率模板代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcInvestUnitField_AccountID_get, _thosttraderapi.CThostFtdcInvestUnitField_AccountID_set, doc=r"""资金账号""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcInvestUnitField_CurrencyID_get, _thosttraderapi.CThostFtdcInvestUnitField_CurrencyID_set, doc=r"""币种代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInvestUnitField_swiginit(self, _thosttraderapi.new_CThostFtdcInvestUnitField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInvestUnitField

# Register CThostFtdcInvestUnitField in _thosttraderapi:
_thosttraderapi.CThostFtdcInvestUnitField_swigregister(CThostFtdcInvestUnitField)
class CThostFtdcQryInvestUnitField(object):
    r"""查询投资单元"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryInvestUnitField_BrokerID_get, _thosttraderapi.CThostFtdcQryInvestUnitField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryInvestUnitField_InvestorID_get, _thosttraderapi.CThostFtdcQryInvestUnitField_InvestorID_set, doc=r"""投资者代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQryInvestUnitField_InvestUnitID_get, _thosttraderapi.CThostFtdcQryInvestUnitField_InvestUnitID_set, doc=r"""投资单元代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryInvestUnitField_swiginit(self, _thosttraderapi.new_CThostFtdcQryInvestUnitField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryInvestUnitField

# Register CThostFtdcQryInvestUnitField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryInvestUnitField_swigregister(CThostFtdcQryInvestUnitField)
class CThostFtdcSecAgentCheckModeField(object):
    r"""二级代理商资金校验模式"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSecAgentCheckModeField_InvestorID_get, _thosttraderapi.CThostFtdcSecAgentCheckModeField_InvestorID_set, doc=r"""投资者代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSecAgentCheckModeField_BrokerID_get, _thosttraderapi.CThostFtdcSecAgentCheckModeField_BrokerID_set, doc=r"""经纪公司代码""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcSecAgentCheckModeField_CurrencyID_get, _thosttraderapi.CThostFtdcSecAgentCheckModeField_CurrencyID_set, doc=r"""币种""")
    BrokerSecAgentID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcSecAgentCheckModeField_BrokerSecAgentID_get, _thosttraderapi.CThostFtdcSecAgentCheckModeField_BrokerSecAgentID_set, doc=r"""境外中介机构资金帐号""")
    CheckSelfAccount: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcSecAgentCheckModeField_CheckSelfAccount_get, _thosttraderapi.CThostFtdcSecAgentCheckModeField_CheckSelfAccount_set, doc=r"""是否需要校验自己的资金账户""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSecAgentCheckModeField_swiginit(self, _thosttraderapi.new_CThostFtdcSecAgentCheckModeField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSecAgentCheckModeField

# Register CThostFtdcSecAgentCheckModeField in _thosttraderapi:
_thosttraderapi.CThostFtdcSecAgentCheckModeField_swigregister(CThostFtdcSecAgentCheckModeField)
class CThostFtdcSecAgentTradeInfoField(object):
    r"""二级代理商信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSecAgentTradeInfoField_BrokerID_get, _thosttraderapi.CThostFtdcSecAgentTradeInfoField_BrokerID_set, doc=r"""经纪公司代码""")
    BrokerSecAgentID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcSecAgentTradeInfoField_BrokerSecAgentID_get, _thosttraderapi.CThostFtdcSecAgentTradeInfoField_BrokerSecAgentID_set, doc=r"""境外中介机构资金帐号""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSecAgentTradeInfoField_InvestorID_get, _thosttraderapi.CThostFtdcSecAgentTradeInfoField_InvestorID_set, doc=r"""投资者代码""")
    LongCustomerName: "TThostFtdcLongIndividualNameType" = property(_thosttraderapi.CThostFtdcSecAgentTradeInfoField_LongCustomerName_get, _thosttraderapi.CThostFtdcSecAgentTradeInfoField_LongCustomerName_set, doc=r"""二级代理商姓名""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSecAgentTradeInfoField_swiginit(self, _thosttraderapi.new_CThostFtdcSecAgentTradeInfoField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSecAgentTradeInfoField

# Register CThostFtdcSecAgentTradeInfoField in _thosttraderapi:
_thosttraderapi.CThostFtdcSecAgentTradeInfoField_swigregister(CThostFtdcSecAgentTradeInfoField)
class CThostFtdcMarketDataField(object):
    r"""市场行情"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcMarketDataField_TradingDay_get, _thosttraderapi.CThostFtdcMarketDataField_TradingDay_set, doc=r"""交易日""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcMarketDataField_reserve1_get, _thosttraderapi.CThostFtdcMarketDataField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcMarketDataField_ExchangeID_get, _thosttraderapi.CThostFtdcMarketDataField_ExchangeID_set, doc=r"""交易所代码""")
    reserve2: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcMarketDataField_reserve2_get, _thosttraderapi.CThostFtdcMarketDataField_reserve2_set, doc=r"""保留的无效字段""")
    LastPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataField_LastPrice_get, _thosttraderapi.CThostFtdcMarketDataField_LastPrice_set, doc=r"""最新价""")
    PreSettlementPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataField_PreSettlementPrice_get, _thosttraderapi.CThostFtdcMarketDataField_PreSettlementPrice_set, doc=r"""上次结算价""")
    PreClosePrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataField_PreClosePrice_get, _thosttraderapi.CThostFtdcMarketDataField_PreClosePrice_set, doc=r"""昨收盘""")
    PreOpenInterest: "TThostFtdcLargeVolumeType" = property(_thosttraderapi.CThostFtdcMarketDataField_PreOpenInterest_get, _thosttraderapi.CThostFtdcMarketDataField_PreOpenInterest_set, doc=r"""昨持仓量""")
    OpenPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataField_OpenPrice_get, _thosttraderapi.CThostFtdcMarketDataField_OpenPrice_set, doc=r"""今开盘""")
    HighestPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataField_HighestPrice_get, _thosttraderapi.CThostFtdcMarketDataField_HighestPrice_set, doc=r"""最高价""")
    LowestPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataField_LowestPrice_get, _thosttraderapi.CThostFtdcMarketDataField_LowestPrice_set, doc=r"""最低价""")
    Volume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcMarketDataField_Volume_get, _thosttraderapi.CThostFtdcMarketDataField_Volume_set, doc=r"""数量""")
    Turnover: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcMarketDataField_Turnover_get, _thosttraderapi.CThostFtdcMarketDataField_Turnover_set, doc=r"""成交金额""")
    OpenInterest: "TThostFtdcLargeVolumeType" = property(_thosttraderapi.CThostFtdcMarketDataField_OpenInterest_get, _thosttraderapi.CThostFtdcMarketDataField_OpenInterest_set, doc=r"""持仓量""")
    ClosePrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataField_ClosePrice_get, _thosttraderapi.CThostFtdcMarketDataField_ClosePrice_set, doc=r"""今收盘""")
    SettlementPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataField_SettlementPrice_get, _thosttraderapi.CThostFtdcMarketDataField_SettlementPrice_set, doc=r"""本次结算价""")
    UpperLimitPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataField_UpperLimitPrice_get, _thosttraderapi.CThostFtdcMarketDataField_UpperLimitPrice_set, doc=r"""涨停板价""")
    LowerLimitPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataField_LowerLimitPrice_get, _thosttraderapi.CThostFtdcMarketDataField_LowerLimitPrice_set, doc=r"""跌停板价""")
    PreDelta: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcMarketDataField_PreDelta_get, _thosttraderapi.CThostFtdcMarketDataField_PreDelta_set, doc=r"""昨虚实度""")
    CurrDelta: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcMarketDataField_CurrDelta_get, _thosttraderapi.CThostFtdcMarketDataField_CurrDelta_set, doc=r"""今虚实度""")
    UpdateTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcMarketDataField_UpdateTime_get, _thosttraderapi.CThostFtdcMarketDataField_UpdateTime_set, doc=r"""最后修改时间""")
    UpdateMillisec: "TThostFtdcMillisecType" = property(_thosttraderapi.CThostFtdcMarketDataField_UpdateMillisec_get, _thosttraderapi.CThostFtdcMarketDataField_UpdateMillisec_set, doc=r"""最后修改毫秒""")
    ActionDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcMarketDataField_ActionDay_get, _thosttraderapi.CThostFtdcMarketDataField_ActionDay_set, doc=r"""业务日期""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcMarketDataField_InstrumentID_get, _thosttraderapi.CThostFtdcMarketDataField_InstrumentID_set, doc=r"""合约代码""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcMarketDataField_ExchangeInstID_get, _thosttraderapi.CThostFtdcMarketDataField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcMarketDataField_swiginit(self, _thosttraderapi.new_CThostFtdcMarketDataField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcMarketDataField

# Register CThostFtdcMarketDataField in _thosttraderapi:
_thosttraderapi.CThostFtdcMarketDataField_swigregister(CThostFtdcMarketDataField)
class CThostFtdcMarketDataBaseField(object):
    r"""行情基础属性"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcMarketDataBaseField_TradingDay_get, _thosttraderapi.CThostFtdcMarketDataBaseField_TradingDay_set, doc=r"""交易日""")
    PreSettlementPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataBaseField_PreSettlementPrice_get, _thosttraderapi.CThostFtdcMarketDataBaseField_PreSettlementPrice_set, doc=r"""上次结算价""")
    PreClosePrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataBaseField_PreClosePrice_get, _thosttraderapi.CThostFtdcMarketDataBaseField_PreClosePrice_set, doc=r"""昨收盘""")
    PreOpenInterest: "TThostFtdcLargeVolumeType" = property(_thosttraderapi.CThostFtdcMarketDataBaseField_PreOpenInterest_get, _thosttraderapi.CThostFtdcMarketDataBaseField_PreOpenInterest_set, doc=r"""昨持仓量""")
    PreDelta: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcMarketDataBaseField_PreDelta_get, _thosttraderapi.CThostFtdcMarketDataBaseField_PreDelta_set, doc=r"""昨虚实度""")

    def __init__(self):
        _thosttraderapi.CThostFtdcMarketDataBaseField_swiginit(self, _thosttraderapi.new_CThostFtdcMarketDataBaseField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcMarketDataBaseField

# Register CThostFtdcMarketDataBaseField in _thosttraderapi:
_thosttraderapi.CThostFtdcMarketDataBaseField_swigregister(CThostFtdcMarketDataBaseField)
class CThostFtdcMarketDataStaticField(object):
    r"""行情静态属性"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    OpenPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataStaticField_OpenPrice_get, _thosttraderapi.CThostFtdcMarketDataStaticField_OpenPrice_set, doc=r"""今开盘""")
    HighestPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataStaticField_HighestPrice_get, _thosttraderapi.CThostFtdcMarketDataStaticField_HighestPrice_set, doc=r"""最高价""")
    LowestPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataStaticField_LowestPrice_get, _thosttraderapi.CThostFtdcMarketDataStaticField_LowestPrice_set, doc=r"""最低价""")
    ClosePrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataStaticField_ClosePrice_get, _thosttraderapi.CThostFtdcMarketDataStaticField_ClosePrice_set, doc=r"""今收盘""")
    UpperLimitPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataStaticField_UpperLimitPrice_get, _thosttraderapi.CThostFtdcMarketDataStaticField_UpperLimitPrice_set, doc=r"""涨停板价""")
    LowerLimitPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataStaticField_LowerLimitPrice_get, _thosttraderapi.CThostFtdcMarketDataStaticField_LowerLimitPrice_set, doc=r"""跌停板价""")
    SettlementPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataStaticField_SettlementPrice_get, _thosttraderapi.CThostFtdcMarketDataStaticField_SettlementPrice_set, doc=r"""本次结算价""")
    CurrDelta: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcMarketDataStaticField_CurrDelta_get, _thosttraderapi.CThostFtdcMarketDataStaticField_CurrDelta_set, doc=r"""今虚实度""")

    def __init__(self):
        _thosttraderapi.CThostFtdcMarketDataStaticField_swiginit(self, _thosttraderapi.new_CThostFtdcMarketDataStaticField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcMarketDataStaticField

# Register CThostFtdcMarketDataStaticField in _thosttraderapi:
_thosttraderapi.CThostFtdcMarketDataStaticField_swigregister(CThostFtdcMarketDataStaticField)
class CThostFtdcMarketDataLastMatchField(object):
    r"""行情最新成交属性"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    LastPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataLastMatchField_LastPrice_get, _thosttraderapi.CThostFtdcMarketDataLastMatchField_LastPrice_set, doc=r"""最新价""")
    Volume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcMarketDataLastMatchField_Volume_get, _thosttraderapi.CThostFtdcMarketDataLastMatchField_Volume_set, doc=r"""数量""")
    Turnover: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcMarketDataLastMatchField_Turnover_get, _thosttraderapi.CThostFtdcMarketDataLastMatchField_Turnover_set, doc=r"""成交金额""")
    OpenInterest: "TThostFtdcLargeVolumeType" = property(_thosttraderapi.CThostFtdcMarketDataLastMatchField_OpenInterest_get, _thosttraderapi.CThostFtdcMarketDataLastMatchField_OpenInterest_set, doc=r"""持仓量""")

    def __init__(self):
        _thosttraderapi.CThostFtdcMarketDataLastMatchField_swiginit(self, _thosttraderapi.new_CThostFtdcMarketDataLastMatchField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcMarketDataLastMatchField

# Register CThostFtdcMarketDataLastMatchField in _thosttraderapi:
_thosttraderapi.CThostFtdcMarketDataLastMatchField_swigregister(CThostFtdcMarketDataLastMatchField)
class CThostFtdcMarketDataBestPriceField(object):
    r"""行情最优价属性"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BidPrice1: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataBestPriceField_BidPrice1_get, _thosttraderapi.CThostFtdcMarketDataBestPriceField_BidPrice1_set, doc=r"""申买价一""")
    BidVolume1: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcMarketDataBestPriceField_BidVolume1_get, _thosttraderapi.CThostFtdcMarketDataBestPriceField_BidVolume1_set, doc=r"""申买量一""")
    AskPrice1: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataBestPriceField_AskPrice1_get, _thosttraderapi.CThostFtdcMarketDataBestPriceField_AskPrice1_set, doc=r"""申卖价一""")
    AskVolume1: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcMarketDataBestPriceField_AskVolume1_get, _thosttraderapi.CThostFtdcMarketDataBestPriceField_AskVolume1_set, doc=r"""申卖量一""")

    def __init__(self):
        _thosttraderapi.CThostFtdcMarketDataBestPriceField_swiginit(self, _thosttraderapi.new_CThostFtdcMarketDataBestPriceField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcMarketDataBestPriceField

# Register CThostFtdcMarketDataBestPriceField in _thosttraderapi:
_thosttraderapi.CThostFtdcMarketDataBestPriceField_swigregister(CThostFtdcMarketDataBestPriceField)
class CThostFtdcMarketDataBid23Field(object):
    r"""行情申买二、三属性"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BidPrice2: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataBid23Field_BidPrice2_get, _thosttraderapi.CThostFtdcMarketDataBid23Field_BidPrice2_set, doc=r"""申买价二""")
    BidVolume2: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcMarketDataBid23Field_BidVolume2_get, _thosttraderapi.CThostFtdcMarketDataBid23Field_BidVolume2_set, doc=r"""申买量二""")
    BidPrice3: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataBid23Field_BidPrice3_get, _thosttraderapi.CThostFtdcMarketDataBid23Field_BidPrice3_set, doc=r"""申买价三""")
    BidVolume3: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcMarketDataBid23Field_BidVolume3_get, _thosttraderapi.CThostFtdcMarketDataBid23Field_BidVolume3_set, doc=r"""申买量三""")

    def __init__(self):
        _thosttraderapi.CThostFtdcMarketDataBid23Field_swiginit(self, _thosttraderapi.new_CThostFtdcMarketDataBid23Field())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcMarketDataBid23Field

# Register CThostFtdcMarketDataBid23Field in _thosttraderapi:
_thosttraderapi.CThostFtdcMarketDataBid23Field_swigregister(CThostFtdcMarketDataBid23Field)
class CThostFtdcMarketDataAsk23Field(object):
    r"""行情申卖二、三属性"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    AskPrice2: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataAsk23Field_AskPrice2_get, _thosttraderapi.CThostFtdcMarketDataAsk23Field_AskPrice2_set, doc=r"""申卖价二""")
    AskVolume2: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcMarketDataAsk23Field_AskVolume2_get, _thosttraderapi.CThostFtdcMarketDataAsk23Field_AskVolume2_set, doc=r"""申卖量二""")
    AskPrice3: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataAsk23Field_AskPrice3_get, _thosttraderapi.CThostFtdcMarketDataAsk23Field_AskPrice3_set, doc=r"""申卖价三""")
    AskVolume3: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcMarketDataAsk23Field_AskVolume3_get, _thosttraderapi.CThostFtdcMarketDataAsk23Field_AskVolume3_set, doc=r"""申卖量三""")

    def __init__(self):
        _thosttraderapi.CThostFtdcMarketDataAsk23Field_swiginit(self, _thosttraderapi.new_CThostFtdcMarketDataAsk23Field())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcMarketDataAsk23Field

# Register CThostFtdcMarketDataAsk23Field in _thosttraderapi:
_thosttraderapi.CThostFtdcMarketDataAsk23Field_swigregister(CThostFtdcMarketDataAsk23Field)
class CThostFtdcMarketDataBid45Field(object):
    r"""行情申买四、五属性"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BidPrice4: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataBid45Field_BidPrice4_get, _thosttraderapi.CThostFtdcMarketDataBid45Field_BidPrice4_set, doc=r"""申买价四""")
    BidVolume4: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcMarketDataBid45Field_BidVolume4_get, _thosttraderapi.CThostFtdcMarketDataBid45Field_BidVolume4_set, doc=r"""申买量四""")
    BidPrice5: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataBid45Field_BidPrice5_get, _thosttraderapi.CThostFtdcMarketDataBid45Field_BidPrice5_set, doc=r"""申买价五""")
    BidVolume5: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcMarketDataBid45Field_BidVolume5_get, _thosttraderapi.CThostFtdcMarketDataBid45Field_BidVolume5_set, doc=r"""申买量五""")

    def __init__(self):
        _thosttraderapi.CThostFtdcMarketDataBid45Field_swiginit(self, _thosttraderapi.new_CThostFtdcMarketDataBid45Field())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcMarketDataBid45Field

# Register CThostFtdcMarketDataBid45Field in _thosttraderapi:
_thosttraderapi.CThostFtdcMarketDataBid45Field_swigregister(CThostFtdcMarketDataBid45Field)
class CThostFtdcMarketDataAsk45Field(object):
    r"""行情申卖四、五属性"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    AskPrice4: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataAsk45Field_AskPrice4_get, _thosttraderapi.CThostFtdcMarketDataAsk45Field_AskPrice4_set, doc=r"""申卖价四""")
    AskVolume4: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcMarketDataAsk45Field_AskVolume4_get, _thosttraderapi.CThostFtdcMarketDataAsk45Field_AskVolume4_set, doc=r"""申卖量四""")
    AskPrice5: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataAsk45Field_AskPrice5_get, _thosttraderapi.CThostFtdcMarketDataAsk45Field_AskPrice5_set, doc=r"""申卖价五""")
    AskVolume5: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcMarketDataAsk45Field_AskVolume5_get, _thosttraderapi.CThostFtdcMarketDataAsk45Field_AskVolume5_set, doc=r"""申卖量五""")

    def __init__(self):
        _thosttraderapi.CThostFtdcMarketDataAsk45Field_swiginit(self, _thosttraderapi.new_CThostFtdcMarketDataAsk45Field())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcMarketDataAsk45Field

# Register CThostFtdcMarketDataAsk45Field in _thosttraderapi:
_thosttraderapi.CThostFtdcMarketDataAsk45Field_swigregister(CThostFtdcMarketDataAsk45Field)
class CThostFtdcMarketDataUpdateTimeField(object):
    r"""行情更新时间属性"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcMarketDataUpdateTimeField_reserve1_get, _thosttraderapi.CThostFtdcMarketDataUpdateTimeField_reserve1_set, doc=r"""保留的无效字段""")
    UpdateTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcMarketDataUpdateTimeField_UpdateTime_get, _thosttraderapi.CThostFtdcMarketDataUpdateTimeField_UpdateTime_set, doc=r"""最后修改时间""")
    UpdateMillisec: "TThostFtdcMillisecType" = property(_thosttraderapi.CThostFtdcMarketDataUpdateTimeField_UpdateMillisec_get, _thosttraderapi.CThostFtdcMarketDataUpdateTimeField_UpdateMillisec_set, doc=r"""最后修改毫秒""")
    ActionDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcMarketDataUpdateTimeField_ActionDay_get, _thosttraderapi.CThostFtdcMarketDataUpdateTimeField_ActionDay_set, doc=r"""业务日期""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcMarketDataUpdateTimeField_InstrumentID_get, _thosttraderapi.CThostFtdcMarketDataUpdateTimeField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcMarketDataUpdateTimeField_swiginit(self, _thosttraderapi.new_CThostFtdcMarketDataUpdateTimeField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcMarketDataUpdateTimeField

# Register CThostFtdcMarketDataUpdateTimeField in _thosttraderapi:
_thosttraderapi.CThostFtdcMarketDataUpdateTimeField_swigregister(CThostFtdcMarketDataUpdateTimeField)
class CThostFtdcMarketDataBandingPriceField(object):
    r"""行情上下带价"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BandingUpperPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataBandingPriceField_BandingUpperPrice_get, _thosttraderapi.CThostFtdcMarketDataBandingPriceField_BandingUpperPrice_set, doc=r"""上带价""")
    BandingLowerPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataBandingPriceField_BandingLowerPrice_get, _thosttraderapi.CThostFtdcMarketDataBandingPriceField_BandingLowerPrice_set, doc=r"""下带价""")

    def __init__(self):
        _thosttraderapi.CThostFtdcMarketDataBandingPriceField_swiginit(self, _thosttraderapi.new_CThostFtdcMarketDataBandingPriceField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcMarketDataBandingPriceField

# Register CThostFtdcMarketDataBandingPriceField in _thosttraderapi:
_thosttraderapi.CThostFtdcMarketDataBandingPriceField_swigregister(CThostFtdcMarketDataBandingPriceField)
class CThostFtdcMarketDataExchangeField(object):
    r"""行情交易所代码属性"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcMarketDataExchangeField_ExchangeID_get, _thosttraderapi.CThostFtdcMarketDataExchangeField_ExchangeID_set, doc=r"""交易所代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcMarketDataExchangeField_swiginit(self, _thosttraderapi.new_CThostFtdcMarketDataExchangeField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcMarketDataExchangeField

# Register CThostFtdcMarketDataExchangeField in _thosttraderapi:
_thosttraderapi.CThostFtdcMarketDataExchangeField_swigregister(CThostFtdcMarketDataExchangeField)
class CThostFtdcSpecificInstrumentField(object):
    r"""指定的合约"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcSpecificInstrumentField_reserve1_get, _thosttraderapi.CThostFtdcSpecificInstrumentField_reserve1_set, doc=r"""保留的无效字段""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSpecificInstrumentField_InstrumentID_get, _thosttraderapi.CThostFtdcSpecificInstrumentField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSpecificInstrumentField_swiginit(self, _thosttraderapi.new_CThostFtdcSpecificInstrumentField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSpecificInstrumentField

# Register CThostFtdcSpecificInstrumentField in _thosttraderapi:
_thosttraderapi.CThostFtdcSpecificInstrumentField_swigregister(CThostFtdcSpecificInstrumentField)
class CThostFtdcInstrumentStatusField(object):
    r"""合约状态"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcInstrumentStatusField_ExchangeID_get, _thosttraderapi.CThostFtdcInstrumentStatusField_ExchangeID_set, doc=r"""交易所代码""")
    reserve1: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcInstrumentStatusField_reserve1_get, _thosttraderapi.CThostFtdcInstrumentStatusField_reserve1_set, doc=r"""保留的无效字段""")
    SettlementGroupID: "TThostFtdcSettlementGroupIDType" = property(_thosttraderapi.CThostFtdcInstrumentStatusField_SettlementGroupID_get, _thosttraderapi.CThostFtdcInstrumentStatusField_SettlementGroupID_set, doc=r"""结算组代码""")
    reserve2: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInstrumentStatusField_reserve2_get, _thosttraderapi.CThostFtdcInstrumentStatusField_reserve2_set, doc=r"""保留的无效字段""")
    InstrumentStatus: "TThostFtdcInstrumentStatusType" = property(_thosttraderapi.CThostFtdcInstrumentStatusField_InstrumentStatus_get, _thosttraderapi.CThostFtdcInstrumentStatusField_InstrumentStatus_set, doc=r"""合约交易状态""")
    TradingSegmentSN: "TThostFtdcTradingSegmentSNType" = property(_thosttraderapi.CThostFtdcInstrumentStatusField_TradingSegmentSN_get, _thosttraderapi.CThostFtdcInstrumentStatusField_TradingSegmentSN_set, doc=r"""交易阶段编号""")
    EnterTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcInstrumentStatusField_EnterTime_get, _thosttraderapi.CThostFtdcInstrumentStatusField_EnterTime_set, doc=r"""进入本状态时间""")
    EnterReason: "TThostFtdcInstStatusEnterReasonType" = property(_thosttraderapi.CThostFtdcInstrumentStatusField_EnterReason_get, _thosttraderapi.CThostFtdcInstrumentStatusField_EnterReason_set, doc=r"""进入本状态原因""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcInstrumentStatusField_ExchangeInstID_get, _thosttraderapi.CThostFtdcInstrumentStatusField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInstrumentStatusField_InstrumentID_get, _thosttraderapi.CThostFtdcInstrumentStatusField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInstrumentStatusField_swiginit(self, _thosttraderapi.new_CThostFtdcInstrumentStatusField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInstrumentStatusField

# Register CThostFtdcInstrumentStatusField in _thosttraderapi:
_thosttraderapi.CThostFtdcInstrumentStatusField_swigregister(CThostFtdcInstrumentStatusField)
class CThostFtdcQryInstrumentStatusField(object):
    r"""查询合约状态"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentStatusField_ExchangeID_get, _thosttraderapi.CThostFtdcQryInstrumentStatusField_ExchangeID_set, doc=r"""交易所代码""")
    reserve1: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentStatusField_reserve1_get, _thosttraderapi.CThostFtdcQryInstrumentStatusField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcQryInstrumentStatusField_ExchangeInstID_get, _thosttraderapi.CThostFtdcQryInstrumentStatusField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryInstrumentStatusField_swiginit(self, _thosttraderapi.new_CThostFtdcQryInstrumentStatusField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryInstrumentStatusField

# Register CThostFtdcQryInstrumentStatusField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryInstrumentStatusField_swigregister(CThostFtdcQryInstrumentStatusField)
class CThostFtdcInvestorAccountField(object):
    r"""投资者账户"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInvestorAccountField_BrokerID_get, _thosttraderapi.CThostFtdcInvestorAccountField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInvestorAccountField_InvestorID_get, _thosttraderapi.CThostFtdcInvestorAccountField_InvestorID_set, doc=r"""投资者代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcInvestorAccountField_AccountID_get, _thosttraderapi.CThostFtdcInvestorAccountField_AccountID_set, doc=r"""投资者帐号""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcInvestorAccountField_CurrencyID_get, _thosttraderapi.CThostFtdcInvestorAccountField_CurrencyID_set, doc=r"""币种代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInvestorAccountField_swiginit(self, _thosttraderapi.new_CThostFtdcInvestorAccountField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInvestorAccountField

# Register CThostFtdcInvestorAccountField in _thosttraderapi:
_thosttraderapi.CThostFtdcInvestorAccountField_swigregister(CThostFtdcInvestorAccountField)
class CThostFtdcPositionProfitAlgorithmField(object):
    r"""浮动盈亏算法"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcPositionProfitAlgorithmField_BrokerID_get, _thosttraderapi.CThostFtdcPositionProfitAlgorithmField_BrokerID_set, doc=r"""经纪公司代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcPositionProfitAlgorithmField_AccountID_get, _thosttraderapi.CThostFtdcPositionProfitAlgorithmField_AccountID_set, doc=r"""投资者帐号""")
    Algorithm: "TThostFtdcAlgorithmType" = property(_thosttraderapi.CThostFtdcPositionProfitAlgorithmField_Algorithm_get, _thosttraderapi.CThostFtdcPositionProfitAlgorithmField_Algorithm_set, doc=r"""盈亏算法""")
    Memo: "TThostFtdcMemoType" = property(_thosttraderapi.CThostFtdcPositionProfitAlgorithmField_Memo_get, _thosttraderapi.CThostFtdcPositionProfitAlgorithmField_Memo_set, doc=r"""备注""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcPositionProfitAlgorithmField_CurrencyID_get, _thosttraderapi.CThostFtdcPositionProfitAlgorithmField_CurrencyID_set, doc=r"""币种代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcPositionProfitAlgorithmField_swiginit(self, _thosttraderapi.new_CThostFtdcPositionProfitAlgorithmField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcPositionProfitAlgorithmField

# Register CThostFtdcPositionProfitAlgorithmField in _thosttraderapi:
_thosttraderapi.CThostFtdcPositionProfitAlgorithmField_swigregister(CThostFtdcPositionProfitAlgorithmField)
class CThostFtdcDiscountField(object):
    r"""会员资金折扣"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcDiscountField_BrokerID_get, _thosttraderapi.CThostFtdcDiscountField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcDiscountField_InvestorRange_get, _thosttraderapi.CThostFtdcDiscountField_InvestorRange_set, doc=r"""投资者范围""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcDiscountField_InvestorID_get, _thosttraderapi.CThostFtdcDiscountField_InvestorID_set, doc=r"""投资者代码""")
    Discount: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcDiscountField_Discount_get, _thosttraderapi.CThostFtdcDiscountField_Discount_set, doc=r"""资金折扣比例""")

    def __init__(self):
        _thosttraderapi.CThostFtdcDiscountField_swiginit(self, _thosttraderapi.new_CThostFtdcDiscountField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcDiscountField

# Register CThostFtdcDiscountField in _thosttraderapi:
_thosttraderapi.CThostFtdcDiscountField_swigregister(CThostFtdcDiscountField)
class CThostFtdcQryTransferBankField(object):
    r"""查询转帐银行"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcQryTransferBankField_BankID_get, _thosttraderapi.CThostFtdcQryTransferBankField_BankID_set, doc=r"""银行代码""")
    BankBrchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcQryTransferBankField_BankBrchID_get, _thosttraderapi.CThostFtdcQryTransferBankField_BankBrchID_set, doc=r"""银行分中心代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryTransferBankField_swiginit(self, _thosttraderapi.new_CThostFtdcQryTransferBankField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryTransferBankField

# Register CThostFtdcQryTransferBankField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryTransferBankField_swigregister(CThostFtdcQryTransferBankField)
class CThostFtdcTransferBankField(object):
    r"""转帐银行"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcTransferBankField_BankID_get, _thosttraderapi.CThostFtdcTransferBankField_BankID_set, doc=r"""银行代码""")
    BankBrchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcTransferBankField_BankBrchID_get, _thosttraderapi.CThostFtdcTransferBankField_BankBrchID_set, doc=r"""银行分中心代码""")
    BankName: "TThostFtdcBankNameType" = property(_thosttraderapi.CThostFtdcTransferBankField_BankName_get, _thosttraderapi.CThostFtdcTransferBankField_BankName_set, doc=r"""银行名称""")
    IsActive: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcTransferBankField_IsActive_get, _thosttraderapi.CThostFtdcTransferBankField_IsActive_set, doc=r"""是否活跃""")

    def __init__(self):
        _thosttraderapi.CThostFtdcTransferBankField_swiginit(self, _thosttraderapi.new_CThostFtdcTransferBankField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTransferBankField

# Register CThostFtdcTransferBankField in _thosttraderapi:
_thosttraderapi.CThostFtdcTransferBankField_swigregister(CThostFtdcTransferBankField)
class CThostFtdcQryInvestorPositionDetailField(object):
    r"""查询投资者持仓明细"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryInvestorPositionDetailField_BrokerID_get, _thosttraderapi.CThostFtdcQryInvestorPositionDetailField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryInvestorPositionDetailField_InvestorID_get, _thosttraderapi.CThostFtdcQryInvestorPositionDetailField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryInvestorPositionDetailField_reserve1_get, _thosttraderapi.CThostFtdcQryInvestorPositionDetailField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryInvestorPositionDetailField_ExchangeID_get, _thosttraderapi.CThostFtdcQryInvestorPositionDetailField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQryInvestorPositionDetailField_InvestUnitID_get, _thosttraderapi.CThostFtdcQryInvestorPositionDetailField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryInvestorPositionDetailField_InstrumentID_get, _thosttraderapi.CThostFtdcQryInvestorPositionDetailField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryInvestorPositionDetailField_swiginit(self, _thosttraderapi.new_CThostFtdcQryInvestorPositionDetailField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryInvestorPositionDetailField

# Register CThostFtdcQryInvestorPositionDetailField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryInvestorPositionDetailField_swigregister(CThostFtdcQryInvestorPositionDetailField)
class CThostFtdcInvestorPositionDetailField(object):
    r"""投资者持仓明细"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_reserve1_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_reserve1_set, doc=r"""保留的无效字段""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_BrokerID_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_InvestorID_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_InvestorID_set, doc=r"""投资者代码""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_HedgeFlag_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_HedgeFlag_set, doc=r"""投机套保标志""")
    Direction: "TThostFtdcDirectionType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_Direction_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_Direction_set, doc=r"""买卖""")
    OpenDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_OpenDate_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_OpenDate_set, doc=r"""开仓日期""")
    TradeID: "TThostFtdcTradeIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_TradeID_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_TradeID_set, doc=r"""成交编号""")
    Volume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_Volume_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_Volume_set, doc=r"""数量""")
    OpenPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_OpenPrice_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_OpenPrice_set, doc=r"""开仓价""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_TradingDay_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_SettlementID_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_SettlementID_set, doc=r"""结算编号""")
    TradeType: "TThostFtdcTradeTypeType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_TradeType_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_TradeType_set, doc=r"""成交类型""")
    reserve2: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_reserve2_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_reserve2_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_ExchangeID_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_ExchangeID_set, doc=r"""交易所代码""")
    CloseProfitByDate: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_CloseProfitByDate_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_CloseProfitByDate_set, doc=r"""逐日盯市平仓盈亏""")
    CloseProfitByTrade: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_CloseProfitByTrade_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_CloseProfitByTrade_set, doc=r"""逐笔对冲平仓盈亏""")
    PositionProfitByDate: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_PositionProfitByDate_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_PositionProfitByDate_set, doc=r"""逐日盯市持仓盈亏""")
    PositionProfitByTrade: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_PositionProfitByTrade_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_PositionProfitByTrade_set, doc=r"""逐笔对冲持仓盈亏""")
    Margin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_Margin_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_Margin_set, doc=r"""投资者保证金""")
    ExchMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_ExchMargin_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_ExchMargin_set, doc=r"""交易所保证金""")
    MarginRateByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_MarginRateByMoney_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_MarginRateByMoney_set, doc=r"""保证金率""")
    MarginRateByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_MarginRateByVolume_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_MarginRateByVolume_set, doc=r"""保证金率(按手数)""")
    LastSettlementPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_LastSettlementPrice_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_LastSettlementPrice_set, doc=r"""昨结算价""")
    SettlementPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_SettlementPrice_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_SettlementPrice_set, doc=r"""结算价""")
    CloseVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_CloseVolume_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_CloseVolume_set, doc=r"""平仓量""")
    CloseAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_CloseAmount_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_CloseAmount_set, doc=r"""平仓金额""")
    TimeFirstVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_TimeFirstVolume_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_TimeFirstVolume_set, doc=r"""先开先平剩余数量""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_InvestUnitID_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_InvestUnitID_set, doc=r"""投资单元代码""")
    SpecPosiType: "TThostFtdcSpecPosiTypeType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_SpecPosiType_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_SpecPosiType_set, doc=r"""特殊持仓标志""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_InstrumentID_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_InstrumentID_set, doc=r"""合约代码""")
    CombInstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionDetailField_CombInstrumentID_get, _thosttraderapi.CThostFtdcInvestorPositionDetailField_CombInstrumentID_set, doc=r"""组合合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInvestorPositionDetailField_swiginit(self, _thosttraderapi.new_CThostFtdcInvestorPositionDetailField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInvestorPositionDetailField

# Register CThostFtdcInvestorPositionDetailField in _thosttraderapi:
_thosttraderapi.CThostFtdcInvestorPositionDetailField_swigregister(CThostFtdcInvestorPositionDetailField)
class CThostFtdcTradingAccountPasswordField(object):
    r"""资金账户口令域"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcTradingAccountPasswordField_BrokerID_get, _thosttraderapi.CThostFtdcTradingAccountPasswordField_BrokerID_set, doc=r"""经纪公司代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcTradingAccountPasswordField_AccountID_get, _thosttraderapi.CThostFtdcTradingAccountPasswordField_AccountID_set, doc=r"""投资者帐号""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcTradingAccountPasswordField_Password_get, _thosttraderapi.CThostFtdcTradingAccountPasswordField_Password_set, doc=r"""密码""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcTradingAccountPasswordField_CurrencyID_get, _thosttraderapi.CThostFtdcTradingAccountPasswordField_CurrencyID_set, doc=r"""币种代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcTradingAccountPasswordField_swiginit(self, _thosttraderapi.new_CThostFtdcTradingAccountPasswordField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTradingAccountPasswordField

# Register CThostFtdcTradingAccountPasswordField in _thosttraderapi:
_thosttraderapi.CThostFtdcTradingAccountPasswordField_swigregister(CThostFtdcTradingAccountPasswordField)
class CThostFtdcMDTraderOfferField(object):
    r"""交易所行情报盘机"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcMDTraderOfferField_ExchangeID_get, _thosttraderapi.CThostFtdcMDTraderOfferField_ExchangeID_set, doc=r"""交易所代码""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcMDTraderOfferField_TraderID_get, _thosttraderapi.CThostFtdcMDTraderOfferField_TraderID_set, doc=r"""交易所交易员代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcMDTraderOfferField_ParticipantID_get, _thosttraderapi.CThostFtdcMDTraderOfferField_ParticipantID_set, doc=r"""会员代码""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcMDTraderOfferField_Password_get, _thosttraderapi.CThostFtdcMDTraderOfferField_Password_set, doc=r"""密码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcMDTraderOfferField_InstallID_get, _thosttraderapi.CThostFtdcMDTraderOfferField_InstallID_set, doc=r"""安装编号""")
    OrderLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcMDTraderOfferField_OrderLocalID_get, _thosttraderapi.CThostFtdcMDTraderOfferField_OrderLocalID_set, doc=r"""本地报单编号""")
    TraderConnectStatus: "TThostFtdcTraderConnectStatusType" = property(_thosttraderapi.CThostFtdcMDTraderOfferField_TraderConnectStatus_get, _thosttraderapi.CThostFtdcMDTraderOfferField_TraderConnectStatus_set, doc=r"""交易所交易员连接状态""")
    ConnectRequestDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcMDTraderOfferField_ConnectRequestDate_get, _thosttraderapi.CThostFtdcMDTraderOfferField_ConnectRequestDate_set, doc=r"""发出连接请求的日期""")
    ConnectRequestTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcMDTraderOfferField_ConnectRequestTime_get, _thosttraderapi.CThostFtdcMDTraderOfferField_ConnectRequestTime_set, doc=r"""发出连接请求的时间""")
    LastReportDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcMDTraderOfferField_LastReportDate_get, _thosttraderapi.CThostFtdcMDTraderOfferField_LastReportDate_set, doc=r"""上次报告日期""")
    LastReportTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcMDTraderOfferField_LastReportTime_get, _thosttraderapi.CThostFtdcMDTraderOfferField_LastReportTime_set, doc=r"""上次报告时间""")
    ConnectDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcMDTraderOfferField_ConnectDate_get, _thosttraderapi.CThostFtdcMDTraderOfferField_ConnectDate_set, doc=r"""完成连接日期""")
    ConnectTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcMDTraderOfferField_ConnectTime_get, _thosttraderapi.CThostFtdcMDTraderOfferField_ConnectTime_set, doc=r"""完成连接时间""")
    StartDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcMDTraderOfferField_StartDate_get, _thosttraderapi.CThostFtdcMDTraderOfferField_StartDate_set, doc=r"""启动日期""")
    StartTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcMDTraderOfferField_StartTime_get, _thosttraderapi.CThostFtdcMDTraderOfferField_StartTime_set, doc=r"""启动时间""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcMDTraderOfferField_TradingDay_get, _thosttraderapi.CThostFtdcMDTraderOfferField_TradingDay_set, doc=r"""交易日""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcMDTraderOfferField_BrokerID_get, _thosttraderapi.CThostFtdcMDTraderOfferField_BrokerID_set, doc=r"""经纪公司代码""")
    MaxTradeID: "TThostFtdcTradeIDType" = property(_thosttraderapi.CThostFtdcMDTraderOfferField_MaxTradeID_get, _thosttraderapi.CThostFtdcMDTraderOfferField_MaxTradeID_set, doc=r"""本席位最大成交编号""")
    MaxOrderMessageReference: "TThostFtdcReturnCodeType" = property(_thosttraderapi.CThostFtdcMDTraderOfferField_MaxOrderMessageReference_get, _thosttraderapi.CThostFtdcMDTraderOfferField_MaxOrderMessageReference_set, doc=r"""本席位最大报单备拷""")
    OrderCancelAlg: "TThostFtdcOrderCancelAlgType" = property(_thosttraderapi.CThostFtdcMDTraderOfferField_OrderCancelAlg_get, _thosttraderapi.CThostFtdcMDTraderOfferField_OrderCancelAlg_set, doc=r"""撤单时选择席位算法""")

    def __init__(self):
        _thosttraderapi.CThostFtdcMDTraderOfferField_swiginit(self, _thosttraderapi.new_CThostFtdcMDTraderOfferField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcMDTraderOfferField

# Register CThostFtdcMDTraderOfferField in _thosttraderapi:
_thosttraderapi.CThostFtdcMDTraderOfferField_swigregister(CThostFtdcMDTraderOfferField)
class CThostFtdcQryMDTraderOfferField(object):
    r"""查询行情报盘机"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryMDTraderOfferField_ExchangeID_get, _thosttraderapi.CThostFtdcQryMDTraderOfferField_ExchangeID_set, doc=r"""交易所代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcQryMDTraderOfferField_ParticipantID_get, _thosttraderapi.CThostFtdcQryMDTraderOfferField_ParticipantID_set, doc=r"""会员代码""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcQryMDTraderOfferField_TraderID_get, _thosttraderapi.CThostFtdcQryMDTraderOfferField_TraderID_set, doc=r"""交易所交易员代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryMDTraderOfferField_swiginit(self, _thosttraderapi.new_CThostFtdcQryMDTraderOfferField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryMDTraderOfferField

# Register CThostFtdcQryMDTraderOfferField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryMDTraderOfferField_swigregister(CThostFtdcQryMDTraderOfferField)
class CThostFtdcQryNoticeField(object):
    r"""查询客户通知"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryNoticeField_BrokerID_get, _thosttraderapi.CThostFtdcQryNoticeField_BrokerID_set, doc=r"""经纪公司代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryNoticeField_swiginit(self, _thosttraderapi.new_CThostFtdcQryNoticeField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryNoticeField

# Register CThostFtdcQryNoticeField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryNoticeField_swigregister(CThostFtdcQryNoticeField)
class CThostFtdcNoticeField(object):
    r"""客户通知"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcNoticeField_BrokerID_get, _thosttraderapi.CThostFtdcNoticeField_BrokerID_set, doc=r"""经纪公司代码""")
    Content: "TThostFtdcContentType" = property(_thosttraderapi.CThostFtdcNoticeField_Content_get, _thosttraderapi.CThostFtdcNoticeField_Content_set, doc=r"""消息正文""")
    SequenceLabel: "TThostFtdcSequenceLabelType" = property(_thosttraderapi.CThostFtdcNoticeField_SequenceLabel_get, _thosttraderapi.CThostFtdcNoticeField_SequenceLabel_set, doc=r"""经纪公司通知内容序列号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcNoticeField_swiginit(self, _thosttraderapi.new_CThostFtdcNoticeField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcNoticeField

# Register CThostFtdcNoticeField in _thosttraderapi:
_thosttraderapi.CThostFtdcNoticeField_swigregister(CThostFtdcNoticeField)
class CThostFtdcUserRightField(object):
    r"""用户权限"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcUserRightField_BrokerID_get, _thosttraderapi.CThostFtdcUserRightField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcUserRightField_UserID_get, _thosttraderapi.CThostFtdcUserRightField_UserID_set, doc=r"""用户代码""")
    UserRightType: "TThostFtdcUserRightTypeType" = property(_thosttraderapi.CThostFtdcUserRightField_UserRightType_get, _thosttraderapi.CThostFtdcUserRightField_UserRightType_set, doc=r"""客户权限类型""")
    IsForbidden: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcUserRightField_IsForbidden_get, _thosttraderapi.CThostFtdcUserRightField_IsForbidden_set, doc=r"""是否禁止""")

    def __init__(self):
        _thosttraderapi.CThostFtdcUserRightField_swiginit(self, _thosttraderapi.new_CThostFtdcUserRightField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcUserRightField

# Register CThostFtdcUserRightField in _thosttraderapi:
_thosttraderapi.CThostFtdcUserRightField_swigregister(CThostFtdcUserRightField)
class CThostFtdcQrySettlementInfoConfirmField(object):
    r"""查询结算信息确认域"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQrySettlementInfoConfirmField_BrokerID_get, _thosttraderapi.CThostFtdcQrySettlementInfoConfirmField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQrySettlementInfoConfirmField_InvestorID_get, _thosttraderapi.CThostFtdcQrySettlementInfoConfirmField_InvestorID_set, doc=r"""投资者代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcQrySettlementInfoConfirmField_AccountID_get, _thosttraderapi.CThostFtdcQrySettlementInfoConfirmField_AccountID_set, doc=r"""投资者帐号""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcQrySettlementInfoConfirmField_CurrencyID_get, _thosttraderapi.CThostFtdcQrySettlementInfoConfirmField_CurrencyID_set, doc=r"""币种代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQrySettlementInfoConfirmField_swiginit(self, _thosttraderapi.new_CThostFtdcQrySettlementInfoConfirmField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQrySettlementInfoConfirmField

# Register CThostFtdcQrySettlementInfoConfirmField in _thosttraderapi:
_thosttraderapi.CThostFtdcQrySettlementInfoConfirmField_swigregister(CThostFtdcQrySettlementInfoConfirmField)
class CThostFtdcLoadSettlementInfoField(object):
    r"""装载结算信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcLoadSettlementInfoField_BrokerID_get, _thosttraderapi.CThostFtdcLoadSettlementInfoField_BrokerID_set, doc=r"""经纪公司代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcLoadSettlementInfoField_swiginit(self, _thosttraderapi.new_CThostFtdcLoadSettlementInfoField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcLoadSettlementInfoField

# Register CThostFtdcLoadSettlementInfoField in _thosttraderapi:
_thosttraderapi.CThostFtdcLoadSettlementInfoField_swigregister(CThostFtdcLoadSettlementInfoField)
class CThostFtdcBrokerWithdrawAlgorithmField(object):
    r"""经纪公司可提资金算法表"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcBrokerWithdrawAlgorithmField_BrokerID_get, _thosttraderapi.CThostFtdcBrokerWithdrawAlgorithmField_BrokerID_set, doc=r"""经纪公司代码""")
    WithdrawAlgorithm: "TThostFtdcAlgorithmType" = property(_thosttraderapi.CThostFtdcBrokerWithdrawAlgorithmField_WithdrawAlgorithm_get, _thosttraderapi.CThostFtdcBrokerWithdrawAlgorithmField_WithdrawAlgorithm_set, doc=r"""可提资金算法""")
    UsingRatio: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcBrokerWithdrawAlgorithmField_UsingRatio_get, _thosttraderapi.CThostFtdcBrokerWithdrawAlgorithmField_UsingRatio_set, doc=r"""资金使用率""")
    IncludeCloseProfit: "TThostFtdcIncludeCloseProfitType" = property(_thosttraderapi.CThostFtdcBrokerWithdrawAlgorithmField_IncludeCloseProfit_get, _thosttraderapi.CThostFtdcBrokerWithdrawAlgorithmField_IncludeCloseProfit_set, doc=r"""可提是否包含平仓盈利""")
    AllWithoutTrade: "TThostFtdcAllWithoutTradeType" = property(_thosttraderapi.CThostFtdcBrokerWithdrawAlgorithmField_AllWithoutTrade_get, _thosttraderapi.CThostFtdcBrokerWithdrawAlgorithmField_AllWithoutTrade_set, doc=r"""本日无仓且无成交客户是否受可提比例限制""")
    AvailIncludeCloseProfit: "TThostFtdcIncludeCloseProfitType" = property(_thosttraderapi.CThostFtdcBrokerWithdrawAlgorithmField_AvailIncludeCloseProfit_get, _thosttraderapi.CThostFtdcBrokerWithdrawAlgorithmField_AvailIncludeCloseProfit_set, doc=r"""可用是否包含平仓盈利""")
    IsBrokerUserEvent: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcBrokerWithdrawAlgorithmField_IsBrokerUserEvent_get, _thosttraderapi.CThostFtdcBrokerWithdrawAlgorithmField_IsBrokerUserEvent_set, doc=r"""是否启用用户事件""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcBrokerWithdrawAlgorithmField_CurrencyID_get, _thosttraderapi.CThostFtdcBrokerWithdrawAlgorithmField_CurrencyID_set, doc=r"""币种代码""")
    FundMortgageRatio: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcBrokerWithdrawAlgorithmField_FundMortgageRatio_get, _thosttraderapi.CThostFtdcBrokerWithdrawAlgorithmField_FundMortgageRatio_set, doc=r"""货币质押比率""")
    BalanceAlgorithm: "TThostFtdcBalanceAlgorithmType" = property(_thosttraderapi.CThostFtdcBrokerWithdrawAlgorithmField_BalanceAlgorithm_get, _thosttraderapi.CThostFtdcBrokerWithdrawAlgorithmField_BalanceAlgorithm_set, doc=r"""权益算法""")

    def __init__(self):
        _thosttraderapi.CThostFtdcBrokerWithdrawAlgorithmField_swiginit(self, _thosttraderapi.new_CThostFtdcBrokerWithdrawAlgorithmField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcBrokerWithdrawAlgorithmField

# Register CThostFtdcBrokerWithdrawAlgorithmField in _thosttraderapi:
_thosttraderapi.CThostFtdcBrokerWithdrawAlgorithmField_swigregister(CThostFtdcBrokerWithdrawAlgorithmField)
class CThostFtdcTradingAccountPasswordUpdateV1Field(object):
    r"""资金账户口令变更域"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcTradingAccountPasswordUpdateV1Field_BrokerID_get, _thosttraderapi.CThostFtdcTradingAccountPasswordUpdateV1Field_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcTradingAccountPasswordUpdateV1Field_InvestorID_get, _thosttraderapi.CThostFtdcTradingAccountPasswordUpdateV1Field_InvestorID_set, doc=r"""投资者代码""")
    OldPassword: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcTradingAccountPasswordUpdateV1Field_OldPassword_get, _thosttraderapi.CThostFtdcTradingAccountPasswordUpdateV1Field_OldPassword_set, doc=r"""原来的口令""")
    NewPassword: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcTradingAccountPasswordUpdateV1Field_NewPassword_get, _thosttraderapi.CThostFtdcTradingAccountPasswordUpdateV1Field_NewPassword_set, doc=r"""新的口令""")

    def __init__(self):
        _thosttraderapi.CThostFtdcTradingAccountPasswordUpdateV1Field_swiginit(self, _thosttraderapi.new_CThostFtdcTradingAccountPasswordUpdateV1Field())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTradingAccountPasswordUpdateV1Field

# Register CThostFtdcTradingAccountPasswordUpdateV1Field in _thosttraderapi:
_thosttraderapi.CThostFtdcTradingAccountPasswordUpdateV1Field_swigregister(CThostFtdcTradingAccountPasswordUpdateV1Field)
class CThostFtdcTradingAccountPasswordUpdateField(object):
    r"""资金账户口令变更域"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcTradingAccountPasswordUpdateField_BrokerID_get, _thosttraderapi.CThostFtdcTradingAccountPasswordUpdateField_BrokerID_set, doc=r"""经纪公司代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcTradingAccountPasswordUpdateField_AccountID_get, _thosttraderapi.CThostFtdcTradingAccountPasswordUpdateField_AccountID_set, doc=r"""投资者帐号""")
    OldPassword: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcTradingAccountPasswordUpdateField_OldPassword_get, _thosttraderapi.CThostFtdcTradingAccountPasswordUpdateField_OldPassword_set, doc=r"""原来的口令""")
    NewPassword: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcTradingAccountPasswordUpdateField_NewPassword_get, _thosttraderapi.CThostFtdcTradingAccountPasswordUpdateField_NewPassword_set, doc=r"""新的口令""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcTradingAccountPasswordUpdateField_CurrencyID_get, _thosttraderapi.CThostFtdcTradingAccountPasswordUpdateField_CurrencyID_set, doc=r"""币种代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcTradingAccountPasswordUpdateField_swiginit(self, _thosttraderapi.new_CThostFtdcTradingAccountPasswordUpdateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTradingAccountPasswordUpdateField

# Register CThostFtdcTradingAccountPasswordUpdateField in _thosttraderapi:
_thosttraderapi.CThostFtdcTradingAccountPasswordUpdateField_swigregister(CThostFtdcTradingAccountPasswordUpdateField)
class CThostFtdcQryCombinationLegField(object):
    r"""查询组合合约分腿"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryCombinationLegField_reserve1_get, _thosttraderapi.CThostFtdcQryCombinationLegField_reserve1_set, doc=r"""保留的无效字段""")
    LegID: "TThostFtdcLegIDType" = property(_thosttraderapi.CThostFtdcQryCombinationLegField_LegID_get, _thosttraderapi.CThostFtdcQryCombinationLegField_LegID_set, doc=r"""单腿编号""")
    reserve2: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryCombinationLegField_reserve2_get, _thosttraderapi.CThostFtdcQryCombinationLegField_reserve2_set, doc=r"""保留的无效字段""")
    CombInstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryCombinationLegField_CombInstrumentID_get, _thosttraderapi.CThostFtdcQryCombinationLegField_CombInstrumentID_set, doc=r"""组合合约代码""")
    LegInstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryCombinationLegField_LegInstrumentID_get, _thosttraderapi.CThostFtdcQryCombinationLegField_LegInstrumentID_set, doc=r"""单腿合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryCombinationLegField_swiginit(self, _thosttraderapi.new_CThostFtdcQryCombinationLegField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryCombinationLegField

# Register CThostFtdcQryCombinationLegField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryCombinationLegField_swigregister(CThostFtdcQryCombinationLegField)
class CThostFtdcQrySyncStatusField(object):
    r"""查询组合合约分腿"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcQrySyncStatusField_TradingDay_get, _thosttraderapi.CThostFtdcQrySyncStatusField_TradingDay_set, doc=r"""交易日""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQrySyncStatusField_swiginit(self, _thosttraderapi.new_CThostFtdcQrySyncStatusField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQrySyncStatusField

# Register CThostFtdcQrySyncStatusField in _thosttraderapi:
_thosttraderapi.CThostFtdcQrySyncStatusField_swigregister(CThostFtdcQrySyncStatusField)
class CThostFtdcCombinationLegField(object):
    r"""组合交易合约的单腿"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcCombinationLegField_reserve1_get, _thosttraderapi.CThostFtdcCombinationLegField_reserve1_set, doc=r"""保留的无效字段""")
    LegID: "TThostFtdcLegIDType" = property(_thosttraderapi.CThostFtdcCombinationLegField_LegID_get, _thosttraderapi.CThostFtdcCombinationLegField_LegID_set, doc=r"""单腿编号""")
    reserve2: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcCombinationLegField_reserve2_get, _thosttraderapi.CThostFtdcCombinationLegField_reserve2_set, doc=r"""保留的无效字段""")
    Direction: "TThostFtdcDirectionType" = property(_thosttraderapi.CThostFtdcCombinationLegField_Direction_get, _thosttraderapi.CThostFtdcCombinationLegField_Direction_set, doc=r"""买卖方向""")
    LegMultiple: "TThostFtdcLegMultipleType" = property(_thosttraderapi.CThostFtdcCombinationLegField_LegMultiple_get, _thosttraderapi.CThostFtdcCombinationLegField_LegMultiple_set, doc=r"""单腿乘数""")
    ImplyLevel: "TThostFtdcImplyLevelType" = property(_thosttraderapi.CThostFtdcCombinationLegField_ImplyLevel_get, _thosttraderapi.CThostFtdcCombinationLegField_ImplyLevel_set, doc=r"""派生层数""")
    CombInstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcCombinationLegField_CombInstrumentID_get, _thosttraderapi.CThostFtdcCombinationLegField_CombInstrumentID_set, doc=r"""组合合约代码""")
    LegInstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcCombinationLegField_LegInstrumentID_get, _thosttraderapi.CThostFtdcCombinationLegField_LegInstrumentID_set, doc=r"""单腿合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcCombinationLegField_swiginit(self, _thosttraderapi.new_CThostFtdcCombinationLegField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcCombinationLegField

# Register CThostFtdcCombinationLegField in _thosttraderapi:
_thosttraderapi.CThostFtdcCombinationLegField_swigregister(CThostFtdcCombinationLegField)
class CThostFtdcSyncStatusField(object):
    r"""数据同步状态"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcSyncStatusField_TradingDay_get, _thosttraderapi.CThostFtdcSyncStatusField_TradingDay_set, doc=r"""交易日""")
    DataSyncStatus: "TThostFtdcDataSyncStatusType" = property(_thosttraderapi.CThostFtdcSyncStatusField_DataSyncStatus_get, _thosttraderapi.CThostFtdcSyncStatusField_DataSyncStatus_set, doc=r"""数据同步状态""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncStatusField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncStatusField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncStatusField

# Register CThostFtdcSyncStatusField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncStatusField_swigregister(CThostFtdcSyncStatusField)
class CThostFtdcQryLinkManField(object):
    r"""查询联系人"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryLinkManField_BrokerID_get, _thosttraderapi.CThostFtdcQryLinkManField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryLinkManField_InvestorID_get, _thosttraderapi.CThostFtdcQryLinkManField_InvestorID_set, doc=r"""投资者代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryLinkManField_swiginit(self, _thosttraderapi.new_CThostFtdcQryLinkManField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryLinkManField

# Register CThostFtdcQryLinkManField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryLinkManField_swigregister(CThostFtdcQryLinkManField)
class CThostFtdcLinkManField(object):
    r"""联系人"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcLinkManField_BrokerID_get, _thosttraderapi.CThostFtdcLinkManField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcLinkManField_InvestorID_get, _thosttraderapi.CThostFtdcLinkManField_InvestorID_set, doc=r"""投资者代码""")
    PersonType: "TThostFtdcPersonTypeType" = property(_thosttraderapi.CThostFtdcLinkManField_PersonType_get, _thosttraderapi.CThostFtdcLinkManField_PersonType_set, doc=r"""联系人类型""")
    IdentifiedCardType: "TThostFtdcIdCardTypeType" = property(_thosttraderapi.CThostFtdcLinkManField_IdentifiedCardType_get, _thosttraderapi.CThostFtdcLinkManField_IdentifiedCardType_set, doc=r"""证件类型""")
    IdentifiedCardNo: "TThostFtdcIdentifiedCardNoType" = property(_thosttraderapi.CThostFtdcLinkManField_IdentifiedCardNo_get, _thosttraderapi.CThostFtdcLinkManField_IdentifiedCardNo_set, doc=r"""证件号码""")
    PersonName: "TThostFtdcPartyNameType" = property(_thosttraderapi.CThostFtdcLinkManField_PersonName_get, _thosttraderapi.CThostFtdcLinkManField_PersonName_set, doc=r"""名称""")
    Telephone: "TThostFtdcTelephoneType" = property(_thosttraderapi.CThostFtdcLinkManField_Telephone_get, _thosttraderapi.CThostFtdcLinkManField_Telephone_set, doc=r"""联系电话""")
    Address: "TThostFtdcAddressType" = property(_thosttraderapi.CThostFtdcLinkManField_Address_get, _thosttraderapi.CThostFtdcLinkManField_Address_set, doc=r"""通讯地址""")
    ZipCode: "TThostFtdcZipCodeType" = property(_thosttraderapi.CThostFtdcLinkManField_ZipCode_get, _thosttraderapi.CThostFtdcLinkManField_ZipCode_set, doc=r"""邮政编码""")
    Priority: "TThostFtdcPriorityType" = property(_thosttraderapi.CThostFtdcLinkManField_Priority_get, _thosttraderapi.CThostFtdcLinkManField_Priority_set, doc=r"""优先级""")
    UOAZipCode: "TThostFtdcUOAZipCodeType" = property(_thosttraderapi.CThostFtdcLinkManField_UOAZipCode_get, _thosttraderapi.CThostFtdcLinkManField_UOAZipCode_set, doc=r"""开户邮政编码""")
    PersonFullName: "TThostFtdcInvestorFullNameType" = property(_thosttraderapi.CThostFtdcLinkManField_PersonFullName_get, _thosttraderapi.CThostFtdcLinkManField_PersonFullName_set, doc=r"""全称""")

    def __init__(self):
        _thosttraderapi.CThostFtdcLinkManField_swiginit(self, _thosttraderapi.new_CThostFtdcLinkManField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcLinkManField

# Register CThostFtdcLinkManField in _thosttraderapi:
_thosttraderapi.CThostFtdcLinkManField_swigregister(CThostFtdcLinkManField)
class CThostFtdcQryBrokerUserEventField(object):
    r"""查询经纪公司用户事件"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryBrokerUserEventField_BrokerID_get, _thosttraderapi.CThostFtdcQryBrokerUserEventField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcQryBrokerUserEventField_UserID_get, _thosttraderapi.CThostFtdcQryBrokerUserEventField_UserID_set, doc=r"""用户代码""")
    UserEventType: "TThostFtdcUserEventTypeType" = property(_thosttraderapi.CThostFtdcQryBrokerUserEventField_UserEventType_get, _thosttraderapi.CThostFtdcQryBrokerUserEventField_UserEventType_set, doc=r"""用户事件类型""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryBrokerUserEventField_swiginit(self, _thosttraderapi.new_CThostFtdcQryBrokerUserEventField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryBrokerUserEventField

# Register CThostFtdcQryBrokerUserEventField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryBrokerUserEventField_swigregister(CThostFtdcQryBrokerUserEventField)
class CThostFtdcBrokerUserEventField(object):
    r"""查询经纪公司用户事件"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcBrokerUserEventField_BrokerID_get, _thosttraderapi.CThostFtdcBrokerUserEventField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcBrokerUserEventField_UserID_get, _thosttraderapi.CThostFtdcBrokerUserEventField_UserID_set, doc=r"""用户代码""")
    UserEventType: "TThostFtdcUserEventTypeType" = property(_thosttraderapi.CThostFtdcBrokerUserEventField_UserEventType_get, _thosttraderapi.CThostFtdcBrokerUserEventField_UserEventType_set, doc=r"""用户事件类型""")
    EventSequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcBrokerUserEventField_EventSequenceNo_get, _thosttraderapi.CThostFtdcBrokerUserEventField_EventSequenceNo_set, doc=r"""用户事件序号""")
    EventDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcBrokerUserEventField_EventDate_get, _thosttraderapi.CThostFtdcBrokerUserEventField_EventDate_set, doc=r"""事件发生日期""")
    EventTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcBrokerUserEventField_EventTime_get, _thosttraderapi.CThostFtdcBrokerUserEventField_EventTime_set, doc=r"""事件发生时间""")
    UserEventInfo: "TThostFtdcUserEventInfoType" = property(_thosttraderapi.CThostFtdcBrokerUserEventField_UserEventInfo_get, _thosttraderapi.CThostFtdcBrokerUserEventField_UserEventInfo_set, doc=r"""用户事件信息""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcBrokerUserEventField_InvestorID_get, _thosttraderapi.CThostFtdcBrokerUserEventField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcBrokerUserEventField_reserve1_get, _thosttraderapi.CThostFtdcBrokerUserEventField_reserve1_set, doc=r"""保留的无效字段""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcBrokerUserEventField_InstrumentID_get, _thosttraderapi.CThostFtdcBrokerUserEventField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcBrokerUserEventField_swiginit(self, _thosttraderapi.new_CThostFtdcBrokerUserEventField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcBrokerUserEventField

# Register CThostFtdcBrokerUserEventField in _thosttraderapi:
_thosttraderapi.CThostFtdcBrokerUserEventField_swigregister(CThostFtdcBrokerUserEventField)
class CThostFtdcQryContractBankField(object):
    r"""查询签约银行请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryContractBankField_BrokerID_get, _thosttraderapi.CThostFtdcQryContractBankField_BrokerID_set, doc=r"""经纪公司代码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcQryContractBankField_BankID_get, _thosttraderapi.CThostFtdcQryContractBankField_BankID_set, doc=r"""银行代码""")
    BankBrchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcQryContractBankField_BankBrchID_get, _thosttraderapi.CThostFtdcQryContractBankField_BankBrchID_set, doc=r"""银行分中心代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryContractBankField_swiginit(self, _thosttraderapi.new_CThostFtdcQryContractBankField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryContractBankField

# Register CThostFtdcQryContractBankField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryContractBankField_swigregister(CThostFtdcQryContractBankField)
class CThostFtdcContractBankField(object):
    r"""查询签约银行响应"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcContractBankField_BrokerID_get, _thosttraderapi.CThostFtdcContractBankField_BrokerID_set, doc=r"""经纪公司代码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcContractBankField_BankID_get, _thosttraderapi.CThostFtdcContractBankField_BankID_set, doc=r"""银行代码""")
    BankBrchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcContractBankField_BankBrchID_get, _thosttraderapi.CThostFtdcContractBankField_BankBrchID_set, doc=r"""银行分中心代码""")
    BankName: "TThostFtdcBankNameType" = property(_thosttraderapi.CThostFtdcContractBankField_BankName_get, _thosttraderapi.CThostFtdcContractBankField_BankName_set, doc=r"""银行名称""")

    def __init__(self):
        _thosttraderapi.CThostFtdcContractBankField_swiginit(self, _thosttraderapi.new_CThostFtdcContractBankField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcContractBankField

# Register CThostFtdcContractBankField in _thosttraderapi:
_thosttraderapi.CThostFtdcContractBankField_swigregister(CThostFtdcContractBankField)
class CThostFtdcInvestorPositionCombineDetailField(object):
    r"""投资者组合持仓明细"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_TradingDay_get, _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_TradingDay_set, doc=r"""交易日""")
    OpenDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_OpenDate_get, _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_OpenDate_set, doc=r"""开仓日期""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_ExchangeID_get, _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_ExchangeID_set, doc=r"""交易所代码""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_SettlementID_get, _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_SettlementID_set, doc=r"""结算编号""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_BrokerID_get, _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_InvestorID_get, _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_InvestorID_set, doc=r"""投资者代码""")
    ComTradeID: "TThostFtdcTradeIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_ComTradeID_get, _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_ComTradeID_set, doc=r"""组合编号""")
    TradeID: "TThostFtdcTradeIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_TradeID_get, _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_TradeID_set, doc=r"""撮合编号""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_reserve1_get, _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_reserve1_set, doc=r"""保留的无效字段""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_HedgeFlag_get, _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_HedgeFlag_set, doc=r"""投机套保标志""")
    Direction: "TThostFtdcDirectionType" = property(_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_Direction_get, _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_Direction_set, doc=r"""买卖""")
    TotalAmt: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_TotalAmt_get, _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_TotalAmt_set, doc=r"""持仓量""")
    Margin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_Margin_get, _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_Margin_set, doc=r"""投资者保证金""")
    ExchMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_ExchMargin_get, _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_ExchMargin_set, doc=r"""交易所保证金""")
    MarginRateByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_MarginRateByMoney_get, _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_MarginRateByMoney_set, doc=r"""保证金率""")
    MarginRateByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_MarginRateByVolume_get, _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_MarginRateByVolume_set, doc=r"""保证金率(按手数)""")
    LegID: "TThostFtdcLegIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_LegID_get, _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_LegID_set, doc=r"""单腿编号""")
    LegMultiple: "TThostFtdcLegMultipleType" = property(_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_LegMultiple_get, _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_LegMultiple_set, doc=r"""单腿乘数""")
    reserve2: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_reserve2_get, _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_reserve2_set, doc=r"""保留的无效字段""")
    TradeGroupID: "TThostFtdcTradeGroupIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_TradeGroupID_get, _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_TradeGroupID_set, doc=r"""成交组号""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_InvestUnitID_get, _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_InstrumentID_get, _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_InstrumentID_set, doc=r"""合约代码""")
    CombInstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_CombInstrumentID_get, _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_CombInstrumentID_set, doc=r"""组合持仓合约编码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_swiginit(self, _thosttraderapi.new_CThostFtdcInvestorPositionCombineDetailField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInvestorPositionCombineDetailField

# Register CThostFtdcInvestorPositionCombineDetailField in _thosttraderapi:
_thosttraderapi.CThostFtdcInvestorPositionCombineDetailField_swigregister(CThostFtdcInvestorPositionCombineDetailField)
class CThostFtdcParkedOrderField(object):
    r"""预埋单"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcParkedOrderField_BrokerID_get, _thosttraderapi.CThostFtdcParkedOrderField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcParkedOrderField_InvestorID_get, _thosttraderapi.CThostFtdcParkedOrderField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcParkedOrderField_reserve1_get, _thosttraderapi.CThostFtdcParkedOrderField_reserve1_set, doc=r"""保留的无效字段""")
    OrderRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcParkedOrderField_OrderRef_get, _thosttraderapi.CThostFtdcParkedOrderField_OrderRef_set, doc=r"""报单引用""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcParkedOrderField_UserID_get, _thosttraderapi.CThostFtdcParkedOrderField_UserID_set, doc=r"""用户代码""")
    OrderPriceType: "TThostFtdcOrderPriceTypeType" = property(_thosttraderapi.CThostFtdcParkedOrderField_OrderPriceType_get, _thosttraderapi.CThostFtdcParkedOrderField_OrderPriceType_set, doc=r"""报单价格条件""")
    Direction: "TThostFtdcDirectionType" = property(_thosttraderapi.CThostFtdcParkedOrderField_Direction_get, _thosttraderapi.CThostFtdcParkedOrderField_Direction_set, doc=r"""买卖方向""")
    CombOffsetFlag: "TThostFtdcCombOffsetFlagType" = property(_thosttraderapi.CThostFtdcParkedOrderField_CombOffsetFlag_get, _thosttraderapi.CThostFtdcParkedOrderField_CombOffsetFlag_set, doc=r"""组合开平标志""")
    CombHedgeFlag: "TThostFtdcCombHedgeFlagType" = property(_thosttraderapi.CThostFtdcParkedOrderField_CombHedgeFlag_get, _thosttraderapi.CThostFtdcParkedOrderField_CombHedgeFlag_set, doc=r"""组合投机套保标志""")
    LimitPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcParkedOrderField_LimitPrice_get, _thosttraderapi.CThostFtdcParkedOrderField_LimitPrice_set, doc=r"""价格""")
    VolumeTotalOriginal: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcParkedOrderField_VolumeTotalOriginal_get, _thosttraderapi.CThostFtdcParkedOrderField_VolumeTotalOriginal_set, doc=r"""数量""")
    TimeCondition: "TThostFtdcTimeConditionType" = property(_thosttraderapi.CThostFtdcParkedOrderField_TimeCondition_get, _thosttraderapi.CThostFtdcParkedOrderField_TimeCondition_set, doc=r"""有效期类型""")
    GTDDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcParkedOrderField_GTDDate_get, _thosttraderapi.CThostFtdcParkedOrderField_GTDDate_set, doc=r"""GTD日期""")
    VolumeCondition: "TThostFtdcVolumeConditionType" = property(_thosttraderapi.CThostFtdcParkedOrderField_VolumeCondition_get, _thosttraderapi.CThostFtdcParkedOrderField_VolumeCondition_set, doc=r"""成交量类型""")
    MinVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcParkedOrderField_MinVolume_get, _thosttraderapi.CThostFtdcParkedOrderField_MinVolume_set, doc=r"""最小成交量""")
    ContingentCondition: "TThostFtdcContingentConditionType" = property(_thosttraderapi.CThostFtdcParkedOrderField_ContingentCondition_get, _thosttraderapi.CThostFtdcParkedOrderField_ContingentCondition_set, doc=r"""触发条件""")
    StopPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcParkedOrderField_StopPrice_get, _thosttraderapi.CThostFtdcParkedOrderField_StopPrice_set, doc=r"""止损价""")
    ForceCloseReason: "TThostFtdcForceCloseReasonType" = property(_thosttraderapi.CThostFtdcParkedOrderField_ForceCloseReason_get, _thosttraderapi.CThostFtdcParkedOrderField_ForceCloseReason_set, doc=r"""强平原因""")
    IsAutoSuspend: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcParkedOrderField_IsAutoSuspend_get, _thosttraderapi.CThostFtdcParkedOrderField_IsAutoSuspend_set, doc=r"""自动挂起标志""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcParkedOrderField_BusinessUnit_get, _thosttraderapi.CThostFtdcParkedOrderField_BusinessUnit_set, doc=r"""业务单元""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcParkedOrderField_RequestID_get, _thosttraderapi.CThostFtdcParkedOrderField_RequestID_set, doc=r"""请求编号""")
    UserForceClose: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcParkedOrderField_UserForceClose_get, _thosttraderapi.CThostFtdcParkedOrderField_UserForceClose_set, doc=r"""用户强评标志""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcParkedOrderField_ExchangeID_get, _thosttraderapi.CThostFtdcParkedOrderField_ExchangeID_set, doc=r"""交易所代码""")
    ParkedOrderID: "TThostFtdcParkedOrderIDType" = property(_thosttraderapi.CThostFtdcParkedOrderField_ParkedOrderID_get, _thosttraderapi.CThostFtdcParkedOrderField_ParkedOrderID_set, doc=r"""预埋报单编号""")
    UserType: "TThostFtdcUserTypeType" = property(_thosttraderapi.CThostFtdcParkedOrderField_UserType_get, _thosttraderapi.CThostFtdcParkedOrderField_UserType_set, doc=r"""用户类型""")
    Status: "TThostFtdcParkedOrderStatusType" = property(_thosttraderapi.CThostFtdcParkedOrderField_Status_get, _thosttraderapi.CThostFtdcParkedOrderField_Status_set, doc=r"""预埋单状态""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcParkedOrderField_ErrorID_get, _thosttraderapi.CThostFtdcParkedOrderField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcParkedOrderField_ErrorMsg_get, _thosttraderapi.CThostFtdcParkedOrderField_ErrorMsg_set, doc=r"""错误信息""")
    IsSwapOrder: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcParkedOrderField_IsSwapOrder_get, _thosttraderapi.CThostFtdcParkedOrderField_IsSwapOrder_set, doc=r"""互换单标志""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcParkedOrderField_AccountID_get, _thosttraderapi.CThostFtdcParkedOrderField_AccountID_set, doc=r"""资金账号""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcParkedOrderField_CurrencyID_get, _thosttraderapi.CThostFtdcParkedOrderField_CurrencyID_set, doc=r"""币种代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcParkedOrderField_ClientID_get, _thosttraderapi.CThostFtdcParkedOrderField_ClientID_set, doc=r"""交易编码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcParkedOrderField_InvestUnitID_get, _thosttraderapi.CThostFtdcParkedOrderField_InvestUnitID_set, doc=r"""投资单元代码""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcParkedOrderField_reserve2_get, _thosttraderapi.CThostFtdcParkedOrderField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcParkedOrderField_MacAddress_get, _thosttraderapi.CThostFtdcParkedOrderField_MacAddress_set, doc=r"""Mac地址""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcParkedOrderField_InstrumentID_get, _thosttraderapi.CThostFtdcParkedOrderField_InstrumentID_set, doc=r"""合约代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcParkedOrderField_IPAddress_get, _thosttraderapi.CThostFtdcParkedOrderField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcParkedOrderField_swiginit(self, _thosttraderapi.new_CThostFtdcParkedOrderField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcParkedOrderField

# Register CThostFtdcParkedOrderField in _thosttraderapi:
_thosttraderapi.CThostFtdcParkedOrderField_swigregister(CThostFtdcParkedOrderField)
class CThostFtdcParkedOrderActionField(object):
    r"""输入预埋单操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_BrokerID_get, _thosttraderapi.CThostFtdcParkedOrderActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_InvestorID_get, _thosttraderapi.CThostFtdcParkedOrderActionField_InvestorID_set, doc=r"""投资者代码""")
    OrderActionRef: "TThostFtdcOrderActionRefType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_OrderActionRef_get, _thosttraderapi.CThostFtdcParkedOrderActionField_OrderActionRef_set, doc=r"""报单操作引用""")
    OrderRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_OrderRef_get, _thosttraderapi.CThostFtdcParkedOrderActionField_OrderRef_set, doc=r"""报单引用""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_RequestID_get, _thosttraderapi.CThostFtdcParkedOrderActionField_RequestID_set, doc=r"""请求编号""")
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_FrontID_get, _thosttraderapi.CThostFtdcParkedOrderActionField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_SessionID_get, _thosttraderapi.CThostFtdcParkedOrderActionField_SessionID_set, doc=r"""会话编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_ExchangeID_get, _thosttraderapi.CThostFtdcParkedOrderActionField_ExchangeID_set, doc=r"""交易所代码""")
    OrderSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_OrderSysID_get, _thosttraderapi.CThostFtdcParkedOrderActionField_OrderSysID_set, doc=r"""报单编号""")
    ActionFlag: "TThostFtdcActionFlagType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_ActionFlag_get, _thosttraderapi.CThostFtdcParkedOrderActionField_ActionFlag_set, doc=r"""操作标志""")
    LimitPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_LimitPrice_get, _thosttraderapi.CThostFtdcParkedOrderActionField_LimitPrice_set, doc=r"""价格""")
    VolumeChange: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_VolumeChange_get, _thosttraderapi.CThostFtdcParkedOrderActionField_VolumeChange_set, doc=r"""数量变化""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_UserID_get, _thosttraderapi.CThostFtdcParkedOrderActionField_UserID_set, doc=r"""用户代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_reserve1_get, _thosttraderapi.CThostFtdcParkedOrderActionField_reserve1_set, doc=r"""保留的无效字段""")
    ParkedOrderActionID: "TThostFtdcParkedOrderActionIDType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_ParkedOrderActionID_get, _thosttraderapi.CThostFtdcParkedOrderActionField_ParkedOrderActionID_set, doc=r"""预埋撤单单编号""")
    UserType: "TThostFtdcUserTypeType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_UserType_get, _thosttraderapi.CThostFtdcParkedOrderActionField_UserType_set, doc=r"""用户类型""")
    Status: "TThostFtdcParkedOrderStatusType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_Status_get, _thosttraderapi.CThostFtdcParkedOrderActionField_Status_set, doc=r"""预埋撤单状态""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_ErrorID_get, _thosttraderapi.CThostFtdcParkedOrderActionField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_ErrorMsg_get, _thosttraderapi.CThostFtdcParkedOrderActionField_ErrorMsg_set, doc=r"""错误信息""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_InvestUnitID_get, _thosttraderapi.CThostFtdcParkedOrderActionField_InvestUnitID_set, doc=r"""投资单元代码""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_reserve2_get, _thosttraderapi.CThostFtdcParkedOrderActionField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_MacAddress_get, _thosttraderapi.CThostFtdcParkedOrderActionField_MacAddress_set, doc=r"""Mac地址""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_InstrumentID_get, _thosttraderapi.CThostFtdcParkedOrderActionField_InstrumentID_set, doc=r"""合约代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcParkedOrderActionField_IPAddress_get, _thosttraderapi.CThostFtdcParkedOrderActionField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcParkedOrderActionField_swiginit(self, _thosttraderapi.new_CThostFtdcParkedOrderActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcParkedOrderActionField

# Register CThostFtdcParkedOrderActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcParkedOrderActionField_swigregister(CThostFtdcParkedOrderActionField)
class CThostFtdcQryParkedOrderField(object):
    r"""查询预埋单"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryParkedOrderField_BrokerID_get, _thosttraderapi.CThostFtdcQryParkedOrderField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryParkedOrderField_InvestorID_get, _thosttraderapi.CThostFtdcQryParkedOrderField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryParkedOrderField_reserve1_get, _thosttraderapi.CThostFtdcQryParkedOrderField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryParkedOrderField_ExchangeID_get, _thosttraderapi.CThostFtdcQryParkedOrderField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQryParkedOrderField_InvestUnitID_get, _thosttraderapi.CThostFtdcQryParkedOrderField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryParkedOrderField_InstrumentID_get, _thosttraderapi.CThostFtdcQryParkedOrderField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryParkedOrderField_swiginit(self, _thosttraderapi.new_CThostFtdcQryParkedOrderField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryParkedOrderField

# Register CThostFtdcQryParkedOrderField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryParkedOrderField_swigregister(CThostFtdcQryParkedOrderField)
class CThostFtdcQryParkedOrderActionField(object):
    r"""查询预埋撤单"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryParkedOrderActionField_BrokerID_get, _thosttraderapi.CThostFtdcQryParkedOrderActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryParkedOrderActionField_InvestorID_get, _thosttraderapi.CThostFtdcQryParkedOrderActionField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryParkedOrderActionField_reserve1_get, _thosttraderapi.CThostFtdcQryParkedOrderActionField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryParkedOrderActionField_ExchangeID_get, _thosttraderapi.CThostFtdcQryParkedOrderActionField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQryParkedOrderActionField_InvestUnitID_get, _thosttraderapi.CThostFtdcQryParkedOrderActionField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryParkedOrderActionField_InstrumentID_get, _thosttraderapi.CThostFtdcQryParkedOrderActionField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryParkedOrderActionField_swiginit(self, _thosttraderapi.new_CThostFtdcQryParkedOrderActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryParkedOrderActionField

# Register CThostFtdcQryParkedOrderActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryParkedOrderActionField_swigregister(CThostFtdcQryParkedOrderActionField)
class CThostFtdcRemoveParkedOrderField(object):
    r"""删除预埋单"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcRemoveParkedOrderField_BrokerID_get, _thosttraderapi.CThostFtdcRemoveParkedOrderField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcRemoveParkedOrderField_InvestorID_get, _thosttraderapi.CThostFtdcRemoveParkedOrderField_InvestorID_set, doc=r"""投资者代码""")
    ParkedOrderID: "TThostFtdcParkedOrderIDType" = property(_thosttraderapi.CThostFtdcRemoveParkedOrderField_ParkedOrderID_get, _thosttraderapi.CThostFtdcRemoveParkedOrderField_ParkedOrderID_set, doc=r"""预埋报单编号""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcRemoveParkedOrderField_InvestUnitID_get, _thosttraderapi.CThostFtdcRemoveParkedOrderField_InvestUnitID_set, doc=r"""投资单元代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcRemoveParkedOrderField_swiginit(self, _thosttraderapi.new_CThostFtdcRemoveParkedOrderField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcRemoveParkedOrderField

# Register CThostFtdcRemoveParkedOrderField in _thosttraderapi:
_thosttraderapi.CThostFtdcRemoveParkedOrderField_swigregister(CThostFtdcRemoveParkedOrderField)
class CThostFtdcRemoveParkedOrderActionField(object):
    r"""删除预埋撤单"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcRemoveParkedOrderActionField_BrokerID_get, _thosttraderapi.CThostFtdcRemoveParkedOrderActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcRemoveParkedOrderActionField_InvestorID_get, _thosttraderapi.CThostFtdcRemoveParkedOrderActionField_InvestorID_set, doc=r"""投资者代码""")
    ParkedOrderActionID: "TThostFtdcParkedOrderActionIDType" = property(_thosttraderapi.CThostFtdcRemoveParkedOrderActionField_ParkedOrderActionID_get, _thosttraderapi.CThostFtdcRemoveParkedOrderActionField_ParkedOrderActionID_set, doc=r"""预埋撤单编号""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcRemoveParkedOrderActionField_InvestUnitID_get, _thosttraderapi.CThostFtdcRemoveParkedOrderActionField_InvestUnitID_set, doc=r"""投资单元代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcRemoveParkedOrderActionField_swiginit(self, _thosttraderapi.new_CThostFtdcRemoveParkedOrderActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcRemoveParkedOrderActionField

# Register CThostFtdcRemoveParkedOrderActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcRemoveParkedOrderActionField_swigregister(CThostFtdcRemoveParkedOrderActionField)
class CThostFtdcInvestorWithdrawAlgorithmField(object):
    r"""经纪公司可提资金算法表"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInvestorWithdrawAlgorithmField_BrokerID_get, _thosttraderapi.CThostFtdcInvestorWithdrawAlgorithmField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcInvestorWithdrawAlgorithmField_InvestorRange_get, _thosttraderapi.CThostFtdcInvestorWithdrawAlgorithmField_InvestorRange_set, doc=r"""投资者范围""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInvestorWithdrawAlgorithmField_InvestorID_get, _thosttraderapi.CThostFtdcInvestorWithdrawAlgorithmField_InvestorID_set, doc=r"""投资者代码""")
    UsingRatio: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInvestorWithdrawAlgorithmField_UsingRatio_get, _thosttraderapi.CThostFtdcInvestorWithdrawAlgorithmField_UsingRatio_set, doc=r"""可提资金比例""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcInvestorWithdrawAlgorithmField_CurrencyID_get, _thosttraderapi.CThostFtdcInvestorWithdrawAlgorithmField_CurrencyID_set, doc=r"""币种代码""")
    FundMortgageRatio: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInvestorWithdrawAlgorithmField_FundMortgageRatio_get, _thosttraderapi.CThostFtdcInvestorWithdrawAlgorithmField_FundMortgageRatio_set, doc=r"""货币质押比率""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInvestorWithdrawAlgorithmField_swiginit(self, _thosttraderapi.new_CThostFtdcInvestorWithdrawAlgorithmField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInvestorWithdrawAlgorithmField

# Register CThostFtdcInvestorWithdrawAlgorithmField in _thosttraderapi:
_thosttraderapi.CThostFtdcInvestorWithdrawAlgorithmField_swigregister(CThostFtdcInvestorWithdrawAlgorithmField)
class CThostFtdcQryInvestorPositionCombineDetailField(object):
    r"""查询组合持仓明细"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryInvestorPositionCombineDetailField_BrokerID_get, _thosttraderapi.CThostFtdcQryInvestorPositionCombineDetailField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryInvestorPositionCombineDetailField_InvestorID_get, _thosttraderapi.CThostFtdcQryInvestorPositionCombineDetailField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryInvestorPositionCombineDetailField_reserve1_get, _thosttraderapi.CThostFtdcQryInvestorPositionCombineDetailField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryInvestorPositionCombineDetailField_ExchangeID_get, _thosttraderapi.CThostFtdcQryInvestorPositionCombineDetailField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQryInvestorPositionCombineDetailField_InvestUnitID_get, _thosttraderapi.CThostFtdcQryInvestorPositionCombineDetailField_InvestUnitID_set, doc=r"""投资单元代码""")
    CombInstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryInvestorPositionCombineDetailField_CombInstrumentID_get, _thosttraderapi.CThostFtdcQryInvestorPositionCombineDetailField_CombInstrumentID_set, doc=r"""组合持仓合约编码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryInvestorPositionCombineDetailField_swiginit(self, _thosttraderapi.new_CThostFtdcQryInvestorPositionCombineDetailField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryInvestorPositionCombineDetailField

# Register CThostFtdcQryInvestorPositionCombineDetailField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryInvestorPositionCombineDetailField_swigregister(CThostFtdcQryInvestorPositionCombineDetailField)
class CThostFtdcMarketDataAveragePriceField(object):
    r"""成交均价"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    AveragePrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMarketDataAveragePriceField_AveragePrice_get, _thosttraderapi.CThostFtdcMarketDataAveragePriceField_AveragePrice_set, doc=r"""当日均价""")

    def __init__(self):
        _thosttraderapi.CThostFtdcMarketDataAveragePriceField_swiginit(self, _thosttraderapi.new_CThostFtdcMarketDataAveragePriceField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcMarketDataAveragePriceField

# Register CThostFtdcMarketDataAveragePriceField in _thosttraderapi:
_thosttraderapi.CThostFtdcMarketDataAveragePriceField_swigregister(CThostFtdcMarketDataAveragePriceField)
class CThostFtdcVerifyInvestorPasswordField(object):
    r"""校验投资者密码"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcVerifyInvestorPasswordField_BrokerID_get, _thosttraderapi.CThostFtdcVerifyInvestorPasswordField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcVerifyInvestorPasswordField_InvestorID_get, _thosttraderapi.CThostFtdcVerifyInvestorPasswordField_InvestorID_set, doc=r"""投资者代码""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcVerifyInvestorPasswordField_Password_get, _thosttraderapi.CThostFtdcVerifyInvestorPasswordField_Password_set, doc=r"""密码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcVerifyInvestorPasswordField_swiginit(self, _thosttraderapi.new_CThostFtdcVerifyInvestorPasswordField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcVerifyInvestorPasswordField

# Register CThostFtdcVerifyInvestorPasswordField in _thosttraderapi:
_thosttraderapi.CThostFtdcVerifyInvestorPasswordField_swigregister(CThostFtdcVerifyInvestorPasswordField)
class CThostFtdcUserIPField(object):
    r"""用户IP"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcUserIPField_BrokerID_get, _thosttraderapi.CThostFtdcUserIPField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcUserIPField_UserID_get, _thosttraderapi.CThostFtdcUserIPField_UserID_set, doc=r"""用户代码""")
    reserve1: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcUserIPField_reserve1_get, _thosttraderapi.CThostFtdcUserIPField_reserve1_set, doc=r"""保留的无效字段""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcUserIPField_reserve2_get, _thosttraderapi.CThostFtdcUserIPField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcUserIPField_MacAddress_get, _thosttraderapi.CThostFtdcUserIPField_MacAddress_set, doc=r"""Mac地址""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcUserIPField_IPAddress_get, _thosttraderapi.CThostFtdcUserIPField_IPAddress_set, doc=r"""IP地址""")
    IPMask: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcUserIPField_IPMask_get, _thosttraderapi.CThostFtdcUserIPField_IPMask_set, doc=r"""IP地址掩码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcUserIPField_swiginit(self, _thosttraderapi.new_CThostFtdcUserIPField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcUserIPField

# Register CThostFtdcUserIPField in _thosttraderapi:
_thosttraderapi.CThostFtdcUserIPField_swigregister(CThostFtdcUserIPField)
class CThostFtdcTradingNoticeInfoField(object):
    r"""用户事件通知信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcTradingNoticeInfoField_BrokerID_get, _thosttraderapi.CThostFtdcTradingNoticeInfoField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcTradingNoticeInfoField_InvestorID_get, _thosttraderapi.CThostFtdcTradingNoticeInfoField_InvestorID_set, doc=r"""投资者代码""")
    SendTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcTradingNoticeInfoField_SendTime_get, _thosttraderapi.CThostFtdcTradingNoticeInfoField_SendTime_set, doc=r"""发送时间""")
    FieldContent: "TThostFtdcContentType" = property(_thosttraderapi.CThostFtdcTradingNoticeInfoField_FieldContent_get, _thosttraderapi.CThostFtdcTradingNoticeInfoField_FieldContent_set, doc=r"""消息正文""")
    SequenceSeries: "TThostFtdcSequenceSeriesType" = property(_thosttraderapi.CThostFtdcTradingNoticeInfoField_SequenceSeries_get, _thosttraderapi.CThostFtdcTradingNoticeInfoField_SequenceSeries_set, doc=r"""序列系列号""")
    SequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcTradingNoticeInfoField_SequenceNo_get, _thosttraderapi.CThostFtdcTradingNoticeInfoField_SequenceNo_set, doc=r"""序列号""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcTradingNoticeInfoField_InvestUnitID_get, _thosttraderapi.CThostFtdcTradingNoticeInfoField_InvestUnitID_set, doc=r"""投资单元代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcTradingNoticeInfoField_swiginit(self, _thosttraderapi.new_CThostFtdcTradingNoticeInfoField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTradingNoticeInfoField

# Register CThostFtdcTradingNoticeInfoField in _thosttraderapi:
_thosttraderapi.CThostFtdcTradingNoticeInfoField_swigregister(CThostFtdcTradingNoticeInfoField)
class CThostFtdcTradingNoticeField(object):
    r"""用户事件通知"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcTradingNoticeField_BrokerID_get, _thosttraderapi.CThostFtdcTradingNoticeField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcTradingNoticeField_InvestorRange_get, _thosttraderapi.CThostFtdcTradingNoticeField_InvestorRange_set, doc=r"""投资者范围""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcTradingNoticeField_InvestorID_get, _thosttraderapi.CThostFtdcTradingNoticeField_InvestorID_set, doc=r"""投资者代码""")
    SequenceSeries: "TThostFtdcSequenceSeriesType" = property(_thosttraderapi.CThostFtdcTradingNoticeField_SequenceSeries_get, _thosttraderapi.CThostFtdcTradingNoticeField_SequenceSeries_set, doc=r"""序列系列号""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcTradingNoticeField_UserID_get, _thosttraderapi.CThostFtdcTradingNoticeField_UserID_set, doc=r"""用户代码""")
    SendTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcTradingNoticeField_SendTime_get, _thosttraderapi.CThostFtdcTradingNoticeField_SendTime_set, doc=r"""发送时间""")
    SequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcTradingNoticeField_SequenceNo_get, _thosttraderapi.CThostFtdcTradingNoticeField_SequenceNo_set, doc=r"""序列号""")
    FieldContent: "TThostFtdcContentType" = property(_thosttraderapi.CThostFtdcTradingNoticeField_FieldContent_get, _thosttraderapi.CThostFtdcTradingNoticeField_FieldContent_set, doc=r"""消息正文""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcTradingNoticeField_InvestUnitID_get, _thosttraderapi.CThostFtdcTradingNoticeField_InvestUnitID_set, doc=r"""投资单元代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcTradingNoticeField_swiginit(self, _thosttraderapi.new_CThostFtdcTradingNoticeField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTradingNoticeField

# Register CThostFtdcTradingNoticeField in _thosttraderapi:
_thosttraderapi.CThostFtdcTradingNoticeField_swigregister(CThostFtdcTradingNoticeField)
class CThostFtdcQryTradingNoticeField(object):
    r"""查询交易事件通知"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryTradingNoticeField_BrokerID_get, _thosttraderapi.CThostFtdcQryTradingNoticeField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryTradingNoticeField_InvestorID_get, _thosttraderapi.CThostFtdcQryTradingNoticeField_InvestorID_set, doc=r"""投资者代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQryTradingNoticeField_InvestUnitID_get, _thosttraderapi.CThostFtdcQryTradingNoticeField_InvestUnitID_set, doc=r"""投资单元代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryTradingNoticeField_swiginit(self, _thosttraderapi.new_CThostFtdcQryTradingNoticeField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryTradingNoticeField

# Register CThostFtdcQryTradingNoticeField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryTradingNoticeField_swigregister(CThostFtdcQryTradingNoticeField)
class CThostFtdcQryErrOrderField(object):
    r"""查询错误报单"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryErrOrderField_BrokerID_get, _thosttraderapi.CThostFtdcQryErrOrderField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryErrOrderField_InvestorID_get, _thosttraderapi.CThostFtdcQryErrOrderField_InvestorID_set, doc=r"""投资者代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryErrOrderField_swiginit(self, _thosttraderapi.new_CThostFtdcQryErrOrderField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryErrOrderField

# Register CThostFtdcQryErrOrderField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryErrOrderField_swigregister(CThostFtdcQryErrOrderField)
class CThostFtdcErrOrderField(object):
    r"""错误报单"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcErrOrderField_BrokerID_get, _thosttraderapi.CThostFtdcErrOrderField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcErrOrderField_InvestorID_get, _thosttraderapi.CThostFtdcErrOrderField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcErrOrderField_reserve1_get, _thosttraderapi.CThostFtdcErrOrderField_reserve1_set, doc=r"""保留的无效字段""")
    OrderRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcErrOrderField_OrderRef_get, _thosttraderapi.CThostFtdcErrOrderField_OrderRef_set, doc=r"""报单引用""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcErrOrderField_UserID_get, _thosttraderapi.CThostFtdcErrOrderField_UserID_set, doc=r"""用户代码""")
    OrderPriceType: "TThostFtdcOrderPriceTypeType" = property(_thosttraderapi.CThostFtdcErrOrderField_OrderPriceType_get, _thosttraderapi.CThostFtdcErrOrderField_OrderPriceType_set, doc=r"""报单价格条件""")
    Direction: "TThostFtdcDirectionType" = property(_thosttraderapi.CThostFtdcErrOrderField_Direction_get, _thosttraderapi.CThostFtdcErrOrderField_Direction_set, doc=r"""买卖方向""")
    CombOffsetFlag: "TThostFtdcCombOffsetFlagType" = property(_thosttraderapi.CThostFtdcErrOrderField_CombOffsetFlag_get, _thosttraderapi.CThostFtdcErrOrderField_CombOffsetFlag_set, doc=r"""组合开平标志""")
    CombHedgeFlag: "TThostFtdcCombHedgeFlagType" = property(_thosttraderapi.CThostFtdcErrOrderField_CombHedgeFlag_get, _thosttraderapi.CThostFtdcErrOrderField_CombHedgeFlag_set, doc=r"""组合投机套保标志""")
    LimitPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcErrOrderField_LimitPrice_get, _thosttraderapi.CThostFtdcErrOrderField_LimitPrice_set, doc=r"""价格""")
    VolumeTotalOriginal: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcErrOrderField_VolumeTotalOriginal_get, _thosttraderapi.CThostFtdcErrOrderField_VolumeTotalOriginal_set, doc=r"""数量""")
    TimeCondition: "TThostFtdcTimeConditionType" = property(_thosttraderapi.CThostFtdcErrOrderField_TimeCondition_get, _thosttraderapi.CThostFtdcErrOrderField_TimeCondition_set, doc=r"""有效期类型""")
    GTDDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcErrOrderField_GTDDate_get, _thosttraderapi.CThostFtdcErrOrderField_GTDDate_set, doc=r"""GTD日期""")
    VolumeCondition: "TThostFtdcVolumeConditionType" = property(_thosttraderapi.CThostFtdcErrOrderField_VolumeCondition_get, _thosttraderapi.CThostFtdcErrOrderField_VolumeCondition_set, doc=r"""成交量类型""")
    MinVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcErrOrderField_MinVolume_get, _thosttraderapi.CThostFtdcErrOrderField_MinVolume_set, doc=r"""最小成交量""")
    ContingentCondition: "TThostFtdcContingentConditionType" = property(_thosttraderapi.CThostFtdcErrOrderField_ContingentCondition_get, _thosttraderapi.CThostFtdcErrOrderField_ContingentCondition_set, doc=r"""触发条件""")
    StopPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcErrOrderField_StopPrice_get, _thosttraderapi.CThostFtdcErrOrderField_StopPrice_set, doc=r"""止损价""")
    ForceCloseReason: "TThostFtdcForceCloseReasonType" = property(_thosttraderapi.CThostFtdcErrOrderField_ForceCloseReason_get, _thosttraderapi.CThostFtdcErrOrderField_ForceCloseReason_set, doc=r"""强平原因""")
    IsAutoSuspend: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcErrOrderField_IsAutoSuspend_get, _thosttraderapi.CThostFtdcErrOrderField_IsAutoSuspend_set, doc=r"""自动挂起标志""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcErrOrderField_BusinessUnit_get, _thosttraderapi.CThostFtdcErrOrderField_BusinessUnit_set, doc=r"""业务单元""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcErrOrderField_RequestID_get, _thosttraderapi.CThostFtdcErrOrderField_RequestID_set, doc=r"""请求编号""")
    UserForceClose: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcErrOrderField_UserForceClose_get, _thosttraderapi.CThostFtdcErrOrderField_UserForceClose_set, doc=r"""用户强评标志""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcErrOrderField_ErrorID_get, _thosttraderapi.CThostFtdcErrOrderField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcErrOrderField_ErrorMsg_get, _thosttraderapi.CThostFtdcErrOrderField_ErrorMsg_set, doc=r"""错误信息""")
    IsSwapOrder: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcErrOrderField_IsSwapOrder_get, _thosttraderapi.CThostFtdcErrOrderField_IsSwapOrder_set, doc=r"""互换单标志""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcErrOrderField_ExchangeID_get, _thosttraderapi.CThostFtdcErrOrderField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcErrOrderField_InvestUnitID_get, _thosttraderapi.CThostFtdcErrOrderField_InvestUnitID_set, doc=r"""投资单元代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcErrOrderField_AccountID_get, _thosttraderapi.CThostFtdcErrOrderField_AccountID_set, doc=r"""资金账号""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcErrOrderField_CurrencyID_get, _thosttraderapi.CThostFtdcErrOrderField_CurrencyID_set, doc=r"""币种代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcErrOrderField_ClientID_get, _thosttraderapi.CThostFtdcErrOrderField_ClientID_set, doc=r"""交易编码""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcErrOrderField_reserve2_get, _thosttraderapi.CThostFtdcErrOrderField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcErrOrderField_MacAddress_get, _thosttraderapi.CThostFtdcErrOrderField_MacAddress_set, doc=r"""Mac地址""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcErrOrderField_InstrumentID_get, _thosttraderapi.CThostFtdcErrOrderField_InstrumentID_set, doc=r"""合约代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcErrOrderField_IPAddress_get, _thosttraderapi.CThostFtdcErrOrderField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcErrOrderField_swiginit(self, _thosttraderapi.new_CThostFtdcErrOrderField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcErrOrderField

# Register CThostFtdcErrOrderField in _thosttraderapi:
_thosttraderapi.CThostFtdcErrOrderField_swigregister(CThostFtdcErrOrderField)
class CThostFtdcErrorConditionalOrderField(object):
    r"""查询错误报单操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_BrokerID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_InvestorID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_reserve1_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_reserve1_set, doc=r"""保留的无效字段""")
    OrderRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_OrderRef_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_OrderRef_set, doc=r"""报单引用""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_UserID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_UserID_set, doc=r"""用户代码""")
    OrderPriceType: "TThostFtdcOrderPriceTypeType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_OrderPriceType_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_OrderPriceType_set, doc=r"""报单价格条件""")
    Direction: "TThostFtdcDirectionType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_Direction_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_Direction_set, doc=r"""买卖方向""")
    CombOffsetFlag: "TThostFtdcCombOffsetFlagType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_CombOffsetFlag_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_CombOffsetFlag_set, doc=r"""组合开平标志""")
    CombHedgeFlag: "TThostFtdcCombHedgeFlagType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_CombHedgeFlag_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_CombHedgeFlag_set, doc=r"""组合投机套保标志""")
    LimitPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_LimitPrice_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_LimitPrice_set, doc=r"""价格""")
    VolumeTotalOriginal: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_VolumeTotalOriginal_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_VolumeTotalOriginal_set, doc=r"""数量""")
    TimeCondition: "TThostFtdcTimeConditionType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_TimeCondition_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_TimeCondition_set, doc=r"""有效期类型""")
    GTDDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_GTDDate_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_GTDDate_set, doc=r"""GTD日期""")
    VolumeCondition: "TThostFtdcVolumeConditionType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_VolumeCondition_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_VolumeCondition_set, doc=r"""成交量类型""")
    MinVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_MinVolume_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_MinVolume_set, doc=r"""最小成交量""")
    ContingentCondition: "TThostFtdcContingentConditionType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_ContingentCondition_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_ContingentCondition_set, doc=r"""触发条件""")
    StopPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_StopPrice_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_StopPrice_set, doc=r"""止损价""")
    ForceCloseReason: "TThostFtdcForceCloseReasonType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_ForceCloseReason_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_ForceCloseReason_set, doc=r"""强平原因""")
    IsAutoSuspend: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_IsAutoSuspend_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_IsAutoSuspend_set, doc=r"""自动挂起标志""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_BusinessUnit_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_BusinessUnit_set, doc=r"""业务单元""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_RequestID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_RequestID_set, doc=r"""请求编号""")
    OrderLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_OrderLocalID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_OrderLocalID_set, doc=r"""本地报单编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_ExchangeID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_ExchangeID_set, doc=r"""交易所代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_ParticipantID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_ClientID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_ClientID_set, doc=r"""客户代码""")
    reserve2: "TThostFtdcOldExchangeInstIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_reserve2_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_reserve2_set, doc=r"""保留的无效字段""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_TraderID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_InstallID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_InstallID_set, doc=r"""安装编号""")
    OrderSubmitStatus: "TThostFtdcOrderSubmitStatusType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_OrderSubmitStatus_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_OrderSubmitStatus_set, doc=r"""报单提交状态""")
    NotifySequence: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_NotifySequence_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_NotifySequence_set, doc=r"""报单提示序号""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_TradingDay_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_SettlementID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_SettlementID_set, doc=r"""结算编号""")
    OrderSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_OrderSysID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_OrderSysID_set, doc=r"""报单编号""")
    OrderSource: "TThostFtdcOrderSourceType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_OrderSource_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_OrderSource_set, doc=r"""报单来源""")
    OrderStatus: "TThostFtdcOrderStatusType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_OrderStatus_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_OrderStatus_set, doc=r"""报单状态""")
    OrderType: "TThostFtdcOrderTypeType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_OrderType_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_OrderType_set, doc=r"""报单类型""")
    VolumeTraded: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_VolumeTraded_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_VolumeTraded_set, doc=r"""今成交数量""")
    VolumeTotal: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_VolumeTotal_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_VolumeTotal_set, doc=r"""剩余数量""")
    InsertDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_InsertDate_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_InsertDate_set, doc=r"""报单日期""")
    InsertTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_InsertTime_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_InsertTime_set, doc=r"""委托时间""")
    ActiveTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_ActiveTime_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_ActiveTime_set, doc=r"""激活时间""")
    SuspendTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_SuspendTime_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_SuspendTime_set, doc=r"""挂起时间""")
    UpdateTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_UpdateTime_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_UpdateTime_set, doc=r"""最后修改时间""")
    CancelTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_CancelTime_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_CancelTime_set, doc=r"""撤销时间""")
    ActiveTraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_ActiveTraderID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_ActiveTraderID_set, doc=r"""最后修改交易所交易员代码""")
    ClearingPartID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_ClearingPartID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_ClearingPartID_set, doc=r"""结算会员编号""")
    SequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_SequenceNo_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_SequenceNo_set, doc=r"""序号""")
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_FrontID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_SessionID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_SessionID_set, doc=r"""会话编号""")
    UserProductInfo: "TThostFtdcProductInfoType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_UserProductInfo_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_UserProductInfo_set, doc=r"""用户端产品信息""")
    StatusMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_StatusMsg_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_StatusMsg_set, doc=r"""状态信息""")
    UserForceClose: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_UserForceClose_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_UserForceClose_set, doc=r"""用户强评标志""")
    ActiveUserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_ActiveUserID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_ActiveUserID_set, doc=r"""操作用户代码""")
    BrokerOrderSeq: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_BrokerOrderSeq_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_BrokerOrderSeq_set, doc=r"""经纪公司报单编号""")
    RelativeOrderSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_RelativeOrderSysID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_RelativeOrderSysID_set, doc=r"""相关报单""")
    ZCETotalTradedVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_ZCETotalTradedVolume_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_ZCETotalTradedVolume_set, doc=r"""郑商所成交数量""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_ErrorID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_ErrorMsg_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_ErrorMsg_set, doc=r"""错误信息""")
    IsSwapOrder: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_IsSwapOrder_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_IsSwapOrder_set, doc=r"""互换单标志""")
    BranchID: "TThostFtdcBranchIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_BranchID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_BranchID_set, doc=r"""营业部编号""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_InvestUnitID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_InvestUnitID_set, doc=r"""投资单元代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_AccountID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_AccountID_set, doc=r"""资金账号""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_CurrencyID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_CurrencyID_set, doc=r"""币种代码""")
    reserve3: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_reserve3_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_reserve3_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_MacAddress_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_MacAddress_set, doc=r"""Mac地址""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_InstrumentID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_InstrumentID_set, doc=r"""合约代码""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_ExchangeInstID_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcErrorConditionalOrderField_IPAddress_get, _thosttraderapi.CThostFtdcErrorConditionalOrderField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcErrorConditionalOrderField_swiginit(self, _thosttraderapi.new_CThostFtdcErrorConditionalOrderField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcErrorConditionalOrderField

# Register CThostFtdcErrorConditionalOrderField in _thosttraderapi:
_thosttraderapi.CThostFtdcErrorConditionalOrderField_swigregister(CThostFtdcErrorConditionalOrderField)
class CThostFtdcQryErrOrderActionField(object):
    r"""查询错误报单操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryErrOrderActionField_BrokerID_get, _thosttraderapi.CThostFtdcQryErrOrderActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryErrOrderActionField_InvestorID_get, _thosttraderapi.CThostFtdcQryErrOrderActionField_InvestorID_set, doc=r"""投资者代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryErrOrderActionField_swiginit(self, _thosttraderapi.new_CThostFtdcQryErrOrderActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryErrOrderActionField

# Register CThostFtdcQryErrOrderActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryErrOrderActionField_swigregister(CThostFtdcQryErrOrderActionField)
class CThostFtdcErrOrderActionField(object):
    r"""错误报单操作"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_BrokerID_get, _thosttraderapi.CThostFtdcErrOrderActionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_InvestorID_get, _thosttraderapi.CThostFtdcErrOrderActionField_InvestorID_set, doc=r"""投资者代码""")
    OrderActionRef: "TThostFtdcOrderActionRefType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_OrderActionRef_get, _thosttraderapi.CThostFtdcErrOrderActionField_OrderActionRef_set, doc=r"""报单操作引用""")
    OrderRef: "TThostFtdcOrderRefType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_OrderRef_get, _thosttraderapi.CThostFtdcErrOrderActionField_OrderRef_set, doc=r"""报单引用""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_RequestID_get, _thosttraderapi.CThostFtdcErrOrderActionField_RequestID_set, doc=r"""请求编号""")
    FrontID: "TThostFtdcFrontIDType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_FrontID_get, _thosttraderapi.CThostFtdcErrOrderActionField_FrontID_set, doc=r"""前置编号""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_SessionID_get, _thosttraderapi.CThostFtdcErrOrderActionField_SessionID_set, doc=r"""会话编号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_ExchangeID_get, _thosttraderapi.CThostFtdcErrOrderActionField_ExchangeID_set, doc=r"""交易所代码""")
    OrderSysID: "TThostFtdcOrderSysIDType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_OrderSysID_get, _thosttraderapi.CThostFtdcErrOrderActionField_OrderSysID_set, doc=r"""报单编号""")
    ActionFlag: "TThostFtdcActionFlagType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_ActionFlag_get, _thosttraderapi.CThostFtdcErrOrderActionField_ActionFlag_set, doc=r"""操作标志""")
    LimitPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_LimitPrice_get, _thosttraderapi.CThostFtdcErrOrderActionField_LimitPrice_set, doc=r"""价格""")
    VolumeChange: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_VolumeChange_get, _thosttraderapi.CThostFtdcErrOrderActionField_VolumeChange_set, doc=r"""数量变化""")
    ActionDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_ActionDate_get, _thosttraderapi.CThostFtdcErrOrderActionField_ActionDate_set, doc=r"""操作日期""")
    ActionTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_ActionTime_get, _thosttraderapi.CThostFtdcErrOrderActionField_ActionTime_set, doc=r"""操作时间""")
    TraderID: "TThostFtdcTraderIDType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_TraderID_get, _thosttraderapi.CThostFtdcErrOrderActionField_TraderID_set, doc=r"""交易所交易员代码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_InstallID_get, _thosttraderapi.CThostFtdcErrOrderActionField_InstallID_set, doc=r"""安装编号""")
    OrderLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_OrderLocalID_get, _thosttraderapi.CThostFtdcErrOrderActionField_OrderLocalID_set, doc=r"""本地报单编号""")
    ActionLocalID: "TThostFtdcOrderLocalIDType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_ActionLocalID_get, _thosttraderapi.CThostFtdcErrOrderActionField_ActionLocalID_set, doc=r"""操作本地编号""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_ParticipantID_get, _thosttraderapi.CThostFtdcErrOrderActionField_ParticipantID_set, doc=r"""会员代码""")
    ClientID: "TThostFtdcClientIDType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_ClientID_get, _thosttraderapi.CThostFtdcErrOrderActionField_ClientID_set, doc=r"""客户代码""")
    BusinessUnit: "TThostFtdcBusinessUnitType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_BusinessUnit_get, _thosttraderapi.CThostFtdcErrOrderActionField_BusinessUnit_set, doc=r"""业务单元""")
    OrderActionStatus: "TThostFtdcOrderActionStatusType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_OrderActionStatus_get, _thosttraderapi.CThostFtdcErrOrderActionField_OrderActionStatus_set, doc=r"""报单操作状态""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_UserID_get, _thosttraderapi.CThostFtdcErrOrderActionField_UserID_set, doc=r"""用户代码""")
    StatusMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_StatusMsg_get, _thosttraderapi.CThostFtdcErrOrderActionField_StatusMsg_set, doc=r"""状态信息""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_reserve1_get, _thosttraderapi.CThostFtdcErrOrderActionField_reserve1_set, doc=r"""保留的无效字段""")
    BranchID: "TThostFtdcBranchIDType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_BranchID_get, _thosttraderapi.CThostFtdcErrOrderActionField_BranchID_set, doc=r"""营业部编号""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_InvestUnitID_get, _thosttraderapi.CThostFtdcErrOrderActionField_InvestUnitID_set, doc=r"""投资单元代码""")
    reserve2: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_reserve2_get, _thosttraderapi.CThostFtdcErrOrderActionField_reserve2_set, doc=r"""保留的无效字段""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_MacAddress_get, _thosttraderapi.CThostFtdcErrOrderActionField_MacAddress_set, doc=r"""Mac地址""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_ErrorID_get, _thosttraderapi.CThostFtdcErrOrderActionField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_ErrorMsg_get, _thosttraderapi.CThostFtdcErrOrderActionField_ErrorMsg_set, doc=r"""错误信息""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_InstrumentID_get, _thosttraderapi.CThostFtdcErrOrderActionField_InstrumentID_set, doc=r"""合约代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcErrOrderActionField_IPAddress_get, _thosttraderapi.CThostFtdcErrOrderActionField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcErrOrderActionField_swiginit(self, _thosttraderapi.new_CThostFtdcErrOrderActionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcErrOrderActionField

# Register CThostFtdcErrOrderActionField in _thosttraderapi:
_thosttraderapi.CThostFtdcErrOrderActionField_swigregister(CThostFtdcErrOrderActionField)
class CThostFtdcQryExchangeSequenceField(object):
    r"""查询交易所状态"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryExchangeSequenceField_ExchangeID_get, _thosttraderapi.CThostFtdcQryExchangeSequenceField_ExchangeID_set, doc=r"""交易所代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryExchangeSequenceField_swiginit(self, _thosttraderapi.new_CThostFtdcQryExchangeSequenceField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryExchangeSequenceField

# Register CThostFtdcQryExchangeSequenceField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryExchangeSequenceField_swigregister(CThostFtdcQryExchangeSequenceField)
class CThostFtdcExchangeSequenceField(object):
    r"""交易所状态"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcExchangeSequenceField_ExchangeID_get, _thosttraderapi.CThostFtdcExchangeSequenceField_ExchangeID_set, doc=r"""交易所代码""")
    SequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcExchangeSequenceField_SequenceNo_get, _thosttraderapi.CThostFtdcExchangeSequenceField_SequenceNo_set, doc=r"""序号""")
    MarketStatus: "TThostFtdcInstrumentStatusType" = property(_thosttraderapi.CThostFtdcExchangeSequenceField_MarketStatus_get, _thosttraderapi.CThostFtdcExchangeSequenceField_MarketStatus_set, doc=r"""合约交易状态""")

    def __init__(self):
        _thosttraderapi.CThostFtdcExchangeSequenceField_swiginit(self, _thosttraderapi.new_CThostFtdcExchangeSequenceField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcExchangeSequenceField

# Register CThostFtdcExchangeSequenceField in _thosttraderapi:
_thosttraderapi.CThostFtdcExchangeSequenceField_swigregister(CThostFtdcExchangeSequenceField)
class CThostFtdcQryMaxOrderVolumeWithPriceField(object):
    r"""根据价格查询最大报单数量"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_BrokerID_get, _thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_InvestorID_get, _thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_reserve1_get, _thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_reserve1_set, doc=r"""保留的无效字段""")
    Direction: "TThostFtdcDirectionType" = property(_thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_Direction_get, _thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_Direction_set, doc=r"""买卖方向""")
    OffsetFlag: "TThostFtdcOffsetFlagType" = property(_thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_OffsetFlag_get, _thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_OffsetFlag_set, doc=r"""开平标志""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_HedgeFlag_get, _thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_HedgeFlag_set, doc=r"""投机套保标志""")
    MaxVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_MaxVolume_get, _thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_MaxVolume_set, doc=r"""最大允许报单数量""")
    Price: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_Price_get, _thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_Price_set, doc=r"""报单价格""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_ExchangeID_get, _thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_InvestUnitID_get, _thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_InstrumentID_get, _thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_swiginit(self, _thosttraderapi.new_CThostFtdcQryMaxOrderVolumeWithPriceField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryMaxOrderVolumeWithPriceField

# Register CThostFtdcQryMaxOrderVolumeWithPriceField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryMaxOrderVolumeWithPriceField_swigregister(CThostFtdcQryMaxOrderVolumeWithPriceField)
class CThostFtdcQryBrokerTradingParamsField(object):
    r"""查询经纪公司交易参数"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryBrokerTradingParamsField_BrokerID_get, _thosttraderapi.CThostFtdcQryBrokerTradingParamsField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryBrokerTradingParamsField_InvestorID_get, _thosttraderapi.CThostFtdcQryBrokerTradingParamsField_InvestorID_set, doc=r"""投资者代码""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcQryBrokerTradingParamsField_CurrencyID_get, _thosttraderapi.CThostFtdcQryBrokerTradingParamsField_CurrencyID_set, doc=r"""币种代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcQryBrokerTradingParamsField_AccountID_get, _thosttraderapi.CThostFtdcQryBrokerTradingParamsField_AccountID_set, doc=r"""投资者帐号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryBrokerTradingParamsField_swiginit(self, _thosttraderapi.new_CThostFtdcQryBrokerTradingParamsField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryBrokerTradingParamsField

# Register CThostFtdcQryBrokerTradingParamsField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryBrokerTradingParamsField_swigregister(CThostFtdcQryBrokerTradingParamsField)
class CThostFtdcBrokerTradingParamsField(object):
    r"""经纪公司交易参数"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcBrokerTradingParamsField_BrokerID_get, _thosttraderapi.CThostFtdcBrokerTradingParamsField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcBrokerTradingParamsField_InvestorID_get, _thosttraderapi.CThostFtdcBrokerTradingParamsField_InvestorID_set, doc=r"""投资者代码""")
    MarginPriceType: "TThostFtdcMarginPriceTypeType" = property(_thosttraderapi.CThostFtdcBrokerTradingParamsField_MarginPriceType_get, _thosttraderapi.CThostFtdcBrokerTradingParamsField_MarginPriceType_set, doc=r"""保证金价格类型""")
    Algorithm: "TThostFtdcAlgorithmType" = property(_thosttraderapi.CThostFtdcBrokerTradingParamsField_Algorithm_get, _thosttraderapi.CThostFtdcBrokerTradingParamsField_Algorithm_set, doc=r"""盈亏算法""")
    AvailIncludeCloseProfit: "TThostFtdcIncludeCloseProfitType" = property(_thosttraderapi.CThostFtdcBrokerTradingParamsField_AvailIncludeCloseProfit_get, _thosttraderapi.CThostFtdcBrokerTradingParamsField_AvailIncludeCloseProfit_set, doc=r"""可用是否包含平仓盈利""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcBrokerTradingParamsField_CurrencyID_get, _thosttraderapi.CThostFtdcBrokerTradingParamsField_CurrencyID_set, doc=r"""币种代码""")
    OptionRoyaltyPriceType: "TThostFtdcOptionRoyaltyPriceTypeType" = property(_thosttraderapi.CThostFtdcBrokerTradingParamsField_OptionRoyaltyPriceType_get, _thosttraderapi.CThostFtdcBrokerTradingParamsField_OptionRoyaltyPriceType_set, doc=r"""期权权利金价格类型""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcBrokerTradingParamsField_AccountID_get, _thosttraderapi.CThostFtdcBrokerTradingParamsField_AccountID_set, doc=r"""投资者帐号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcBrokerTradingParamsField_swiginit(self, _thosttraderapi.new_CThostFtdcBrokerTradingParamsField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcBrokerTradingParamsField

# Register CThostFtdcBrokerTradingParamsField in _thosttraderapi:
_thosttraderapi.CThostFtdcBrokerTradingParamsField_swigregister(CThostFtdcBrokerTradingParamsField)
class CThostFtdcQryBrokerTradingAlgosField(object):
    r"""查询经纪公司交易算法"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryBrokerTradingAlgosField_BrokerID_get, _thosttraderapi.CThostFtdcQryBrokerTradingAlgosField_BrokerID_set, doc=r"""经纪公司代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryBrokerTradingAlgosField_ExchangeID_get, _thosttraderapi.CThostFtdcQryBrokerTradingAlgosField_ExchangeID_set, doc=r"""交易所代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryBrokerTradingAlgosField_reserve1_get, _thosttraderapi.CThostFtdcQryBrokerTradingAlgosField_reserve1_set, doc=r"""保留的无效字段""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryBrokerTradingAlgosField_InstrumentID_get, _thosttraderapi.CThostFtdcQryBrokerTradingAlgosField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryBrokerTradingAlgosField_swiginit(self, _thosttraderapi.new_CThostFtdcQryBrokerTradingAlgosField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryBrokerTradingAlgosField

# Register CThostFtdcQryBrokerTradingAlgosField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryBrokerTradingAlgosField_swigregister(CThostFtdcQryBrokerTradingAlgosField)
class CThostFtdcBrokerTradingAlgosField(object):
    r"""经纪公司交易算法"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcBrokerTradingAlgosField_BrokerID_get, _thosttraderapi.CThostFtdcBrokerTradingAlgosField_BrokerID_set, doc=r"""经纪公司代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcBrokerTradingAlgosField_ExchangeID_get, _thosttraderapi.CThostFtdcBrokerTradingAlgosField_ExchangeID_set, doc=r"""交易所代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcBrokerTradingAlgosField_reserve1_get, _thosttraderapi.CThostFtdcBrokerTradingAlgosField_reserve1_set, doc=r"""保留的无效字段""")
    HandlePositionAlgoID: "TThostFtdcHandlePositionAlgoIDType" = property(_thosttraderapi.CThostFtdcBrokerTradingAlgosField_HandlePositionAlgoID_get, _thosttraderapi.CThostFtdcBrokerTradingAlgosField_HandlePositionAlgoID_set, doc=r"""持仓处理算法编号""")
    FindMarginRateAlgoID: "TThostFtdcFindMarginRateAlgoIDType" = property(_thosttraderapi.CThostFtdcBrokerTradingAlgosField_FindMarginRateAlgoID_get, _thosttraderapi.CThostFtdcBrokerTradingAlgosField_FindMarginRateAlgoID_set, doc=r"""寻找保证金率算法编号""")
    HandleTradingAccountAlgoID: "TThostFtdcHandleTradingAccountAlgoIDType" = property(_thosttraderapi.CThostFtdcBrokerTradingAlgosField_HandleTradingAccountAlgoID_get, _thosttraderapi.CThostFtdcBrokerTradingAlgosField_HandleTradingAccountAlgoID_set, doc=r"""资金处理算法编号""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcBrokerTradingAlgosField_InstrumentID_get, _thosttraderapi.CThostFtdcBrokerTradingAlgosField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcBrokerTradingAlgosField_swiginit(self, _thosttraderapi.new_CThostFtdcBrokerTradingAlgosField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcBrokerTradingAlgosField

# Register CThostFtdcBrokerTradingAlgosField in _thosttraderapi:
_thosttraderapi.CThostFtdcBrokerTradingAlgosField_swigregister(CThostFtdcBrokerTradingAlgosField)
class CThostFtdcQueryBrokerDepositField(object):
    r"""查询经纪公司资金"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQueryBrokerDepositField_BrokerID_get, _thosttraderapi.CThostFtdcQueryBrokerDepositField_BrokerID_set, doc=r"""经纪公司代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQueryBrokerDepositField_ExchangeID_get, _thosttraderapi.CThostFtdcQueryBrokerDepositField_ExchangeID_set, doc=r"""交易所代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQueryBrokerDepositField_swiginit(self, _thosttraderapi.new_CThostFtdcQueryBrokerDepositField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQueryBrokerDepositField

# Register CThostFtdcQueryBrokerDepositField in _thosttraderapi:
_thosttraderapi.CThostFtdcQueryBrokerDepositField_swigregister(CThostFtdcQueryBrokerDepositField)
class CThostFtdcBrokerDepositField(object):
    r"""经纪公司资金"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcBrokerDepositField_TradingDay_get, _thosttraderapi.CThostFtdcBrokerDepositField_TradingDay_set, doc=r"""交易日期""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcBrokerDepositField_BrokerID_get, _thosttraderapi.CThostFtdcBrokerDepositField_BrokerID_set, doc=r"""经纪公司代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcBrokerDepositField_ParticipantID_get, _thosttraderapi.CThostFtdcBrokerDepositField_ParticipantID_set, doc=r"""会员代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcBrokerDepositField_ExchangeID_get, _thosttraderapi.CThostFtdcBrokerDepositField_ExchangeID_set, doc=r"""交易所代码""")
    PreBalance: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcBrokerDepositField_PreBalance_get, _thosttraderapi.CThostFtdcBrokerDepositField_PreBalance_set, doc=r"""上次结算准备金""")
    CurrMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcBrokerDepositField_CurrMargin_get, _thosttraderapi.CThostFtdcBrokerDepositField_CurrMargin_set, doc=r"""当前保证金总额""")
    CloseProfit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcBrokerDepositField_CloseProfit_get, _thosttraderapi.CThostFtdcBrokerDepositField_CloseProfit_set, doc=r"""平仓盈亏""")
    Balance: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcBrokerDepositField_Balance_get, _thosttraderapi.CThostFtdcBrokerDepositField_Balance_set, doc=r"""期货结算准备金""")
    Deposit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcBrokerDepositField_Deposit_get, _thosttraderapi.CThostFtdcBrokerDepositField_Deposit_set, doc=r"""入金金额""")
    Withdraw: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcBrokerDepositField_Withdraw_get, _thosttraderapi.CThostFtdcBrokerDepositField_Withdraw_set, doc=r"""出金金额""")
    Available: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcBrokerDepositField_Available_get, _thosttraderapi.CThostFtdcBrokerDepositField_Available_set, doc=r"""可提资金""")
    Reserve: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcBrokerDepositField_Reserve_get, _thosttraderapi.CThostFtdcBrokerDepositField_Reserve_set, doc=r"""基本准备金""")
    FrozenMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcBrokerDepositField_FrozenMargin_get, _thosttraderapi.CThostFtdcBrokerDepositField_FrozenMargin_set, doc=r"""冻结的保证金""")

    def __init__(self):
        _thosttraderapi.CThostFtdcBrokerDepositField_swiginit(self, _thosttraderapi.new_CThostFtdcBrokerDepositField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcBrokerDepositField

# Register CThostFtdcBrokerDepositField in _thosttraderapi:
_thosttraderapi.CThostFtdcBrokerDepositField_swigregister(CThostFtdcBrokerDepositField)
class CThostFtdcQryCFMMCBrokerKeyField(object):
    r"""查询保证金监管系统经纪公司密钥"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryCFMMCBrokerKeyField_BrokerID_get, _thosttraderapi.CThostFtdcQryCFMMCBrokerKeyField_BrokerID_set, doc=r"""经纪公司代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryCFMMCBrokerKeyField_swiginit(self, _thosttraderapi.new_CThostFtdcQryCFMMCBrokerKeyField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryCFMMCBrokerKeyField

# Register CThostFtdcQryCFMMCBrokerKeyField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryCFMMCBrokerKeyField_swigregister(CThostFtdcQryCFMMCBrokerKeyField)
class CThostFtdcCFMMCBrokerKeyField(object):
    r"""保证金监管系统经纪公司密钥"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcCFMMCBrokerKeyField_BrokerID_get, _thosttraderapi.CThostFtdcCFMMCBrokerKeyField_BrokerID_set, doc=r"""经纪公司代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcCFMMCBrokerKeyField_ParticipantID_get, _thosttraderapi.CThostFtdcCFMMCBrokerKeyField_ParticipantID_set, doc=r"""经纪公司统一编码""")
    CreateDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcCFMMCBrokerKeyField_CreateDate_get, _thosttraderapi.CThostFtdcCFMMCBrokerKeyField_CreateDate_set, doc=r"""密钥生成日期""")
    CreateTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcCFMMCBrokerKeyField_CreateTime_get, _thosttraderapi.CThostFtdcCFMMCBrokerKeyField_CreateTime_set, doc=r"""密钥生成时间""")
    KeyID: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcCFMMCBrokerKeyField_KeyID_get, _thosttraderapi.CThostFtdcCFMMCBrokerKeyField_KeyID_set, doc=r"""密钥编号""")
    CurrentKey: "TThostFtdcCFMMCKeyType" = property(_thosttraderapi.CThostFtdcCFMMCBrokerKeyField_CurrentKey_get, _thosttraderapi.CThostFtdcCFMMCBrokerKeyField_CurrentKey_set, doc=r"""动态密钥""")
    KeyKind: "TThostFtdcCFMMCKeyKindType" = property(_thosttraderapi.CThostFtdcCFMMCBrokerKeyField_KeyKind_get, _thosttraderapi.CThostFtdcCFMMCBrokerKeyField_KeyKind_set, doc=r"""动态密钥类型""")

    def __init__(self):
        _thosttraderapi.CThostFtdcCFMMCBrokerKeyField_swiginit(self, _thosttraderapi.new_CThostFtdcCFMMCBrokerKeyField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcCFMMCBrokerKeyField

# Register CThostFtdcCFMMCBrokerKeyField in _thosttraderapi:
_thosttraderapi.CThostFtdcCFMMCBrokerKeyField_swigregister(CThostFtdcCFMMCBrokerKeyField)
class CThostFtdcCFMMCTradingAccountKeyField(object):
    r"""保证金监管系统经纪公司资金账户密钥"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcCFMMCTradingAccountKeyField_BrokerID_get, _thosttraderapi.CThostFtdcCFMMCTradingAccountKeyField_BrokerID_set, doc=r"""经纪公司代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcCFMMCTradingAccountKeyField_ParticipantID_get, _thosttraderapi.CThostFtdcCFMMCTradingAccountKeyField_ParticipantID_set, doc=r"""经纪公司统一编码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcCFMMCTradingAccountKeyField_AccountID_get, _thosttraderapi.CThostFtdcCFMMCTradingAccountKeyField_AccountID_set, doc=r"""投资者帐号""")
    KeyID: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcCFMMCTradingAccountKeyField_KeyID_get, _thosttraderapi.CThostFtdcCFMMCTradingAccountKeyField_KeyID_set, doc=r"""密钥编号""")
    CurrentKey: "TThostFtdcCFMMCKeyType" = property(_thosttraderapi.CThostFtdcCFMMCTradingAccountKeyField_CurrentKey_get, _thosttraderapi.CThostFtdcCFMMCTradingAccountKeyField_CurrentKey_set, doc=r"""动态密钥""")

    def __init__(self):
        _thosttraderapi.CThostFtdcCFMMCTradingAccountKeyField_swiginit(self, _thosttraderapi.new_CThostFtdcCFMMCTradingAccountKeyField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcCFMMCTradingAccountKeyField

# Register CThostFtdcCFMMCTradingAccountKeyField in _thosttraderapi:
_thosttraderapi.CThostFtdcCFMMCTradingAccountKeyField_swigregister(CThostFtdcCFMMCTradingAccountKeyField)
class CThostFtdcQryCFMMCTradingAccountKeyField(object):
    r"""请求查询保证金监管系统经纪公司资金账户密钥"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryCFMMCTradingAccountKeyField_BrokerID_get, _thosttraderapi.CThostFtdcQryCFMMCTradingAccountKeyField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryCFMMCTradingAccountKeyField_InvestorID_get, _thosttraderapi.CThostFtdcQryCFMMCTradingAccountKeyField_InvestorID_set, doc=r"""投资者代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryCFMMCTradingAccountKeyField_swiginit(self, _thosttraderapi.new_CThostFtdcQryCFMMCTradingAccountKeyField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryCFMMCTradingAccountKeyField

# Register CThostFtdcQryCFMMCTradingAccountKeyField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryCFMMCTradingAccountKeyField_swigregister(CThostFtdcQryCFMMCTradingAccountKeyField)
class CThostFtdcBrokerUserOTPParamField(object):
    r"""用户动态令牌参数"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcBrokerUserOTPParamField_BrokerID_get, _thosttraderapi.CThostFtdcBrokerUserOTPParamField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcBrokerUserOTPParamField_UserID_get, _thosttraderapi.CThostFtdcBrokerUserOTPParamField_UserID_set, doc=r"""用户代码""")
    OTPVendorsID: "TThostFtdcOTPVendorsIDType" = property(_thosttraderapi.CThostFtdcBrokerUserOTPParamField_OTPVendorsID_get, _thosttraderapi.CThostFtdcBrokerUserOTPParamField_OTPVendorsID_set, doc=r"""动态令牌提供商""")
    SerialNumber: "TThostFtdcSerialNumberType" = property(_thosttraderapi.CThostFtdcBrokerUserOTPParamField_SerialNumber_get, _thosttraderapi.CThostFtdcBrokerUserOTPParamField_SerialNumber_set, doc=r"""动态令牌序列号""")
    AuthKey: "TThostFtdcAuthKeyType" = property(_thosttraderapi.CThostFtdcBrokerUserOTPParamField_AuthKey_get, _thosttraderapi.CThostFtdcBrokerUserOTPParamField_AuthKey_set, doc=r"""令牌密钥""")
    LastDrift: "TThostFtdcLastDriftType" = property(_thosttraderapi.CThostFtdcBrokerUserOTPParamField_LastDrift_get, _thosttraderapi.CThostFtdcBrokerUserOTPParamField_LastDrift_set, doc=r"""漂移值""")
    LastSuccess: "TThostFtdcLastSuccessType" = property(_thosttraderapi.CThostFtdcBrokerUserOTPParamField_LastSuccess_get, _thosttraderapi.CThostFtdcBrokerUserOTPParamField_LastSuccess_set, doc=r"""成功值""")
    OTPType: "TThostFtdcOTPTypeType" = property(_thosttraderapi.CThostFtdcBrokerUserOTPParamField_OTPType_get, _thosttraderapi.CThostFtdcBrokerUserOTPParamField_OTPType_set, doc=r"""动态令牌类型""")

    def __init__(self):
        _thosttraderapi.CThostFtdcBrokerUserOTPParamField_swiginit(self, _thosttraderapi.new_CThostFtdcBrokerUserOTPParamField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcBrokerUserOTPParamField

# Register CThostFtdcBrokerUserOTPParamField in _thosttraderapi:
_thosttraderapi.CThostFtdcBrokerUserOTPParamField_swigregister(CThostFtdcBrokerUserOTPParamField)
class CThostFtdcManualSyncBrokerUserOTPField(object):
    r"""手工同步用户动态令牌"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcManualSyncBrokerUserOTPField_BrokerID_get, _thosttraderapi.CThostFtdcManualSyncBrokerUserOTPField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcManualSyncBrokerUserOTPField_UserID_get, _thosttraderapi.CThostFtdcManualSyncBrokerUserOTPField_UserID_set, doc=r"""用户代码""")
    OTPType: "TThostFtdcOTPTypeType" = property(_thosttraderapi.CThostFtdcManualSyncBrokerUserOTPField_OTPType_get, _thosttraderapi.CThostFtdcManualSyncBrokerUserOTPField_OTPType_set, doc=r"""动态令牌类型""")
    FirstOTP: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcManualSyncBrokerUserOTPField_FirstOTP_get, _thosttraderapi.CThostFtdcManualSyncBrokerUserOTPField_FirstOTP_set, doc=r"""第一个动态密码""")
    SecondOTP: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcManualSyncBrokerUserOTPField_SecondOTP_get, _thosttraderapi.CThostFtdcManualSyncBrokerUserOTPField_SecondOTP_set, doc=r"""第二个动态密码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcManualSyncBrokerUserOTPField_swiginit(self, _thosttraderapi.new_CThostFtdcManualSyncBrokerUserOTPField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcManualSyncBrokerUserOTPField

# Register CThostFtdcManualSyncBrokerUserOTPField in _thosttraderapi:
_thosttraderapi.CThostFtdcManualSyncBrokerUserOTPField_swigregister(CThostFtdcManualSyncBrokerUserOTPField)
class CThostFtdcCommRateModelField(object):
    r"""投资者手续费率模板"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcCommRateModelField_BrokerID_get, _thosttraderapi.CThostFtdcCommRateModelField_BrokerID_set, doc=r"""经纪公司代码""")
    CommModelID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcCommRateModelField_CommModelID_get, _thosttraderapi.CThostFtdcCommRateModelField_CommModelID_set, doc=r"""手续费率模板代码""")
    CommModelName: "TThostFtdcCommModelNameType" = property(_thosttraderapi.CThostFtdcCommRateModelField_CommModelName_get, _thosttraderapi.CThostFtdcCommRateModelField_CommModelName_set, doc=r"""模板名称""")

    def __init__(self):
        _thosttraderapi.CThostFtdcCommRateModelField_swiginit(self, _thosttraderapi.new_CThostFtdcCommRateModelField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcCommRateModelField

# Register CThostFtdcCommRateModelField in _thosttraderapi:
_thosttraderapi.CThostFtdcCommRateModelField_swigregister(CThostFtdcCommRateModelField)
class CThostFtdcQryCommRateModelField(object):
    r"""请求查询投资者手续费率模板"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryCommRateModelField_BrokerID_get, _thosttraderapi.CThostFtdcQryCommRateModelField_BrokerID_set, doc=r"""经纪公司代码""")
    CommModelID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryCommRateModelField_CommModelID_get, _thosttraderapi.CThostFtdcQryCommRateModelField_CommModelID_set, doc=r"""手续费率模板代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryCommRateModelField_swiginit(self, _thosttraderapi.new_CThostFtdcQryCommRateModelField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryCommRateModelField

# Register CThostFtdcQryCommRateModelField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryCommRateModelField_swigregister(CThostFtdcQryCommRateModelField)
class CThostFtdcMarginModelField(object):
    r"""投资者保证金率模板"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcMarginModelField_BrokerID_get, _thosttraderapi.CThostFtdcMarginModelField_BrokerID_set, doc=r"""经纪公司代码""")
    MarginModelID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcMarginModelField_MarginModelID_get, _thosttraderapi.CThostFtdcMarginModelField_MarginModelID_set, doc=r"""保证金率模板代码""")
    MarginModelName: "TThostFtdcCommModelNameType" = property(_thosttraderapi.CThostFtdcMarginModelField_MarginModelName_get, _thosttraderapi.CThostFtdcMarginModelField_MarginModelName_set, doc=r"""模板名称""")

    def __init__(self):
        _thosttraderapi.CThostFtdcMarginModelField_swiginit(self, _thosttraderapi.new_CThostFtdcMarginModelField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcMarginModelField

# Register CThostFtdcMarginModelField in _thosttraderapi:
_thosttraderapi.CThostFtdcMarginModelField_swigregister(CThostFtdcMarginModelField)
class CThostFtdcQryMarginModelField(object):
    r"""请求查询投资者保证金率模板"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryMarginModelField_BrokerID_get, _thosttraderapi.CThostFtdcQryMarginModelField_BrokerID_set, doc=r"""经纪公司代码""")
    MarginModelID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryMarginModelField_MarginModelID_get, _thosttraderapi.CThostFtdcQryMarginModelField_MarginModelID_set, doc=r"""保证金率模板代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryMarginModelField_swiginit(self, _thosttraderapi.new_CThostFtdcQryMarginModelField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryMarginModelField

# Register CThostFtdcQryMarginModelField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryMarginModelField_swigregister(CThostFtdcQryMarginModelField)
class CThostFtdcEWarrantOffsetField(object):
    r"""仓单折抵信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcEWarrantOffsetField_TradingDay_get, _thosttraderapi.CThostFtdcEWarrantOffsetField_TradingDay_set, doc=r"""交易日期""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcEWarrantOffsetField_BrokerID_get, _thosttraderapi.CThostFtdcEWarrantOffsetField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcEWarrantOffsetField_InvestorID_get, _thosttraderapi.CThostFtdcEWarrantOffsetField_InvestorID_set, doc=r"""投资者代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcEWarrantOffsetField_ExchangeID_get, _thosttraderapi.CThostFtdcEWarrantOffsetField_ExchangeID_set, doc=r"""交易所代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcEWarrantOffsetField_reserve1_get, _thosttraderapi.CThostFtdcEWarrantOffsetField_reserve1_set, doc=r"""保留的无效字段""")
    Direction: "TThostFtdcDirectionType" = property(_thosttraderapi.CThostFtdcEWarrantOffsetField_Direction_get, _thosttraderapi.CThostFtdcEWarrantOffsetField_Direction_set, doc=r"""买卖方向""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcEWarrantOffsetField_HedgeFlag_get, _thosttraderapi.CThostFtdcEWarrantOffsetField_HedgeFlag_set, doc=r"""投机套保标志""")
    Volume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcEWarrantOffsetField_Volume_get, _thosttraderapi.CThostFtdcEWarrantOffsetField_Volume_set, doc=r"""数量""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcEWarrantOffsetField_InvestUnitID_get, _thosttraderapi.CThostFtdcEWarrantOffsetField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcEWarrantOffsetField_InstrumentID_get, _thosttraderapi.CThostFtdcEWarrantOffsetField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcEWarrantOffsetField_swiginit(self, _thosttraderapi.new_CThostFtdcEWarrantOffsetField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcEWarrantOffsetField

# Register CThostFtdcEWarrantOffsetField in _thosttraderapi:
_thosttraderapi.CThostFtdcEWarrantOffsetField_swigregister(CThostFtdcEWarrantOffsetField)
class CThostFtdcQryEWarrantOffsetField(object):
    r"""查询仓单折抵信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryEWarrantOffsetField_BrokerID_get, _thosttraderapi.CThostFtdcQryEWarrantOffsetField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryEWarrantOffsetField_InvestorID_get, _thosttraderapi.CThostFtdcQryEWarrantOffsetField_InvestorID_set, doc=r"""投资者代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryEWarrantOffsetField_ExchangeID_get, _thosttraderapi.CThostFtdcQryEWarrantOffsetField_ExchangeID_set, doc=r"""交易所代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryEWarrantOffsetField_reserve1_get, _thosttraderapi.CThostFtdcQryEWarrantOffsetField_reserve1_set, doc=r"""保留的无效字段""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQryEWarrantOffsetField_InvestUnitID_get, _thosttraderapi.CThostFtdcQryEWarrantOffsetField_InvestUnitID_set, doc=r"""投资单元代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryEWarrantOffsetField_InstrumentID_get, _thosttraderapi.CThostFtdcQryEWarrantOffsetField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryEWarrantOffsetField_swiginit(self, _thosttraderapi.new_CThostFtdcQryEWarrantOffsetField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryEWarrantOffsetField

# Register CThostFtdcQryEWarrantOffsetField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryEWarrantOffsetField_swigregister(CThostFtdcQryEWarrantOffsetField)
class CThostFtdcQryInvestorProductGroupMarginField(object):
    r"""查询投资者品种/跨品种保证金"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryInvestorProductGroupMarginField_BrokerID_get, _thosttraderapi.CThostFtdcQryInvestorProductGroupMarginField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryInvestorProductGroupMarginField_InvestorID_get, _thosttraderapi.CThostFtdcQryInvestorProductGroupMarginField_InvestorID_set, doc=r"""投资者代码""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryInvestorProductGroupMarginField_reserve1_get, _thosttraderapi.CThostFtdcQryInvestorProductGroupMarginField_reserve1_set, doc=r"""保留的无效字段""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcQryInvestorProductGroupMarginField_HedgeFlag_get, _thosttraderapi.CThostFtdcQryInvestorProductGroupMarginField_HedgeFlag_set, doc=r"""投机套保标志""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryInvestorProductGroupMarginField_ExchangeID_get, _thosttraderapi.CThostFtdcQryInvestorProductGroupMarginField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQryInvestorProductGroupMarginField_InvestUnitID_get, _thosttraderapi.CThostFtdcQryInvestorProductGroupMarginField_InvestUnitID_set, doc=r"""投资单元代码""")
    ProductGroupID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryInvestorProductGroupMarginField_ProductGroupID_get, _thosttraderapi.CThostFtdcQryInvestorProductGroupMarginField_ProductGroupID_set, doc=r"""品种/跨品种标示""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryInvestorProductGroupMarginField_swiginit(self, _thosttraderapi.new_CThostFtdcQryInvestorProductGroupMarginField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryInvestorProductGroupMarginField

# Register CThostFtdcQryInvestorProductGroupMarginField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryInvestorProductGroupMarginField_swigregister(CThostFtdcQryInvestorProductGroupMarginField)
class CThostFtdcInvestorProductGroupMarginField(object):
    r"""投资者品种/跨品种保证金"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_reserve1_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_reserve1_set, doc=r"""保留的无效字段""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_BrokerID_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_InvestorID_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_InvestorID_set, doc=r"""投资者代码""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_TradingDay_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_SettlementID_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_SettlementID_set, doc=r"""结算编号""")
    FrozenMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_FrozenMargin_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_FrozenMargin_set, doc=r"""冻结的保证金""")
    LongFrozenMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_LongFrozenMargin_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_LongFrozenMargin_set, doc=r"""多头冻结的保证金""")
    ShortFrozenMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_ShortFrozenMargin_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_ShortFrozenMargin_set, doc=r"""空头冻结的保证金""")
    UseMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_UseMargin_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_UseMargin_set, doc=r"""占用的保证金""")
    LongUseMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_LongUseMargin_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_LongUseMargin_set, doc=r"""多头保证金""")
    ShortUseMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_ShortUseMargin_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_ShortUseMargin_set, doc=r"""空头保证金""")
    ExchMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_ExchMargin_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_ExchMargin_set, doc=r"""交易所保证金""")
    LongExchMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_LongExchMargin_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_LongExchMargin_set, doc=r"""交易所多头保证金""")
    ShortExchMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_ShortExchMargin_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_ShortExchMargin_set, doc=r"""交易所空头保证金""")
    CloseProfit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_CloseProfit_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_CloseProfit_set, doc=r"""平仓盈亏""")
    FrozenCommission: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_FrozenCommission_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_FrozenCommission_set, doc=r"""冻结的手续费""")
    Commission: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_Commission_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_Commission_set, doc=r"""手续费""")
    FrozenCash: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_FrozenCash_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_FrozenCash_set, doc=r"""冻结的资金""")
    CashIn: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_CashIn_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_CashIn_set, doc=r"""资金差额""")
    PositionProfit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_PositionProfit_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_PositionProfit_set, doc=r"""持仓盈亏""")
    OffsetAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_OffsetAmount_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_OffsetAmount_set, doc=r"""折抵总金额""")
    LongOffsetAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_LongOffsetAmount_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_LongOffsetAmount_set, doc=r"""多头折抵总金额""")
    ShortOffsetAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_ShortOffsetAmount_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_ShortOffsetAmount_set, doc=r"""空头折抵总金额""")
    ExchOffsetAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_ExchOffsetAmount_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_ExchOffsetAmount_set, doc=r"""交易所折抵总金额""")
    LongExchOffsetAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_LongExchOffsetAmount_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_LongExchOffsetAmount_set, doc=r"""交易所多头折抵总金额""")
    ShortExchOffsetAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_ShortExchOffsetAmount_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_ShortExchOffsetAmount_set, doc=r"""交易所空头折抵总金额""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_HedgeFlag_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_HedgeFlag_set, doc=r"""投机套保标志""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_ExchangeID_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_ExchangeID_set, doc=r"""交易所代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_InvestUnitID_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_InvestUnitID_set, doc=r"""投资单元代码""")
    ProductGroupID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_ProductGroupID_get, _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_ProductGroupID_set, doc=r"""品种/跨品种标示""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInvestorProductGroupMarginField_swiginit(self, _thosttraderapi.new_CThostFtdcInvestorProductGroupMarginField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInvestorProductGroupMarginField

# Register CThostFtdcInvestorProductGroupMarginField in _thosttraderapi:
_thosttraderapi.CThostFtdcInvestorProductGroupMarginField_swigregister(CThostFtdcInvestorProductGroupMarginField)
class CThostFtdcQueryCFMMCTradingAccountTokenField(object):
    r"""查询监控中心用户令牌"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQueryCFMMCTradingAccountTokenField_BrokerID_get, _thosttraderapi.CThostFtdcQueryCFMMCTradingAccountTokenField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQueryCFMMCTradingAccountTokenField_InvestorID_get, _thosttraderapi.CThostFtdcQueryCFMMCTradingAccountTokenField_InvestorID_set, doc=r"""投资者代码""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcQueryCFMMCTradingAccountTokenField_InvestUnitID_get, _thosttraderapi.CThostFtdcQueryCFMMCTradingAccountTokenField_InvestUnitID_set, doc=r"""投资单元代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQueryCFMMCTradingAccountTokenField_swiginit(self, _thosttraderapi.new_CThostFtdcQueryCFMMCTradingAccountTokenField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQueryCFMMCTradingAccountTokenField

# Register CThostFtdcQueryCFMMCTradingAccountTokenField in _thosttraderapi:
_thosttraderapi.CThostFtdcQueryCFMMCTradingAccountTokenField_swigregister(CThostFtdcQueryCFMMCTradingAccountTokenField)
class CThostFtdcCFMMCTradingAccountTokenField(object):
    r"""监控中心用户令牌"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcCFMMCTradingAccountTokenField_BrokerID_get, _thosttraderapi.CThostFtdcCFMMCTradingAccountTokenField_BrokerID_set, doc=r"""经纪公司代码""")
    ParticipantID: "TThostFtdcParticipantIDType" = property(_thosttraderapi.CThostFtdcCFMMCTradingAccountTokenField_ParticipantID_get, _thosttraderapi.CThostFtdcCFMMCTradingAccountTokenField_ParticipantID_set, doc=r"""经纪公司统一编码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcCFMMCTradingAccountTokenField_AccountID_get, _thosttraderapi.CThostFtdcCFMMCTradingAccountTokenField_AccountID_set, doc=r"""投资者帐号""")
    KeyID: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcCFMMCTradingAccountTokenField_KeyID_get, _thosttraderapi.CThostFtdcCFMMCTradingAccountTokenField_KeyID_set, doc=r"""密钥编号""")
    Token: "TThostFtdcCFMMCTokenType" = property(_thosttraderapi.CThostFtdcCFMMCTradingAccountTokenField_Token_get, _thosttraderapi.CThostFtdcCFMMCTradingAccountTokenField_Token_set, doc=r"""动态令牌""")

    def __init__(self):
        _thosttraderapi.CThostFtdcCFMMCTradingAccountTokenField_swiginit(self, _thosttraderapi.new_CThostFtdcCFMMCTradingAccountTokenField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcCFMMCTradingAccountTokenField

# Register CThostFtdcCFMMCTradingAccountTokenField in _thosttraderapi:
_thosttraderapi.CThostFtdcCFMMCTradingAccountTokenField_swigregister(CThostFtdcCFMMCTradingAccountTokenField)
class CThostFtdcQryProductGroupField(object):
    r"""查询产品组"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryProductGroupField_reserve1_get, _thosttraderapi.CThostFtdcQryProductGroupField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryProductGroupField_ExchangeID_get, _thosttraderapi.CThostFtdcQryProductGroupField_ExchangeID_set, doc=r"""交易所代码""")
    ProductID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryProductGroupField_ProductID_get, _thosttraderapi.CThostFtdcQryProductGroupField_ProductID_set, doc=r"""产品代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryProductGroupField_swiginit(self, _thosttraderapi.new_CThostFtdcQryProductGroupField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryProductGroupField

# Register CThostFtdcQryProductGroupField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryProductGroupField_swigregister(CThostFtdcQryProductGroupField)
class CThostFtdcProductGroupField(object):
    r"""投资者品种/跨品种保证金产品组"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcProductGroupField_reserve1_get, _thosttraderapi.CThostFtdcProductGroupField_reserve1_set, doc=r"""保留的无效字段""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcProductGroupField_ExchangeID_get, _thosttraderapi.CThostFtdcProductGroupField_ExchangeID_set, doc=r"""交易所代码""")
    reserve2: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcProductGroupField_reserve2_get, _thosttraderapi.CThostFtdcProductGroupField_reserve2_set, doc=r"""保留的无效字段""")
    ProductID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcProductGroupField_ProductID_get, _thosttraderapi.CThostFtdcProductGroupField_ProductID_set, doc=r"""产品代码""")
    ProductGroupID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcProductGroupField_ProductGroupID_get, _thosttraderapi.CThostFtdcProductGroupField_ProductGroupID_set, doc=r"""产品组代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcProductGroupField_swiginit(self, _thosttraderapi.new_CThostFtdcProductGroupField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcProductGroupField

# Register CThostFtdcProductGroupField in _thosttraderapi:
_thosttraderapi.CThostFtdcProductGroupField_swigregister(CThostFtdcProductGroupField)
class CThostFtdcBulletinField(object):
    r"""交易所公告"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcBulletinField_ExchangeID_get, _thosttraderapi.CThostFtdcBulletinField_ExchangeID_set, doc=r"""交易所代码""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcBulletinField_TradingDay_get, _thosttraderapi.CThostFtdcBulletinField_TradingDay_set, doc=r"""交易日""")
    BulletinID: "TThostFtdcBulletinIDType" = property(_thosttraderapi.CThostFtdcBulletinField_BulletinID_get, _thosttraderapi.CThostFtdcBulletinField_BulletinID_set, doc=r"""公告编号""")
    SequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcBulletinField_SequenceNo_get, _thosttraderapi.CThostFtdcBulletinField_SequenceNo_set, doc=r"""序列号""")
    NewsType: "TThostFtdcNewsTypeType" = property(_thosttraderapi.CThostFtdcBulletinField_NewsType_get, _thosttraderapi.CThostFtdcBulletinField_NewsType_set, doc=r"""公告类型""")
    NewsUrgency: "TThostFtdcNewsUrgencyType" = property(_thosttraderapi.CThostFtdcBulletinField_NewsUrgency_get, _thosttraderapi.CThostFtdcBulletinField_NewsUrgency_set, doc=r"""紧急程度""")
    SendTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcBulletinField_SendTime_get, _thosttraderapi.CThostFtdcBulletinField_SendTime_set, doc=r"""发送时间""")
    Abstract: "TThostFtdcAbstractType" = property(_thosttraderapi.CThostFtdcBulletinField_Abstract_get, _thosttraderapi.CThostFtdcBulletinField_Abstract_set, doc=r"""消息摘要""")
    ComeFrom: "TThostFtdcComeFromType" = property(_thosttraderapi.CThostFtdcBulletinField_ComeFrom_get, _thosttraderapi.CThostFtdcBulletinField_ComeFrom_set, doc=r"""消息来源""")
    Content: "TThostFtdcContentType" = property(_thosttraderapi.CThostFtdcBulletinField_Content_get, _thosttraderapi.CThostFtdcBulletinField_Content_set, doc=r"""消息正文""")
    URLLink: "TThostFtdcURLLinkType" = property(_thosttraderapi.CThostFtdcBulletinField_URLLink_get, _thosttraderapi.CThostFtdcBulletinField_URLLink_set, doc=r"""WEB地址""")
    MarketID: "TThostFtdcMarketIDType" = property(_thosttraderapi.CThostFtdcBulletinField_MarketID_get, _thosttraderapi.CThostFtdcBulletinField_MarketID_set, doc=r"""市场代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcBulletinField_swiginit(self, _thosttraderapi.new_CThostFtdcBulletinField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcBulletinField

# Register CThostFtdcBulletinField in _thosttraderapi:
_thosttraderapi.CThostFtdcBulletinField_swigregister(CThostFtdcBulletinField)
class CThostFtdcQryBulletinField(object):
    r"""查询交易所公告"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryBulletinField_ExchangeID_get, _thosttraderapi.CThostFtdcQryBulletinField_ExchangeID_set, doc=r"""交易所代码""")
    BulletinID: "TThostFtdcBulletinIDType" = property(_thosttraderapi.CThostFtdcQryBulletinField_BulletinID_get, _thosttraderapi.CThostFtdcQryBulletinField_BulletinID_set, doc=r"""公告编号""")
    SequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcQryBulletinField_SequenceNo_get, _thosttraderapi.CThostFtdcQryBulletinField_SequenceNo_set, doc=r"""序列号""")
    NewsType: "TThostFtdcNewsTypeType" = property(_thosttraderapi.CThostFtdcQryBulletinField_NewsType_get, _thosttraderapi.CThostFtdcQryBulletinField_NewsType_set, doc=r"""公告类型""")
    NewsUrgency: "TThostFtdcNewsUrgencyType" = property(_thosttraderapi.CThostFtdcQryBulletinField_NewsUrgency_get, _thosttraderapi.CThostFtdcQryBulletinField_NewsUrgency_set, doc=r"""紧急程度""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryBulletinField_swiginit(self, _thosttraderapi.new_CThostFtdcQryBulletinField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryBulletinField

# Register CThostFtdcQryBulletinField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryBulletinField_swigregister(CThostFtdcQryBulletinField)
class CThostFtdcMulticastInstrumentField(object):
    r"""MulticastInstrument"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TopicID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcMulticastInstrumentField_TopicID_get, _thosttraderapi.CThostFtdcMulticastInstrumentField_TopicID_set, doc=r"""主题号""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcMulticastInstrumentField_reserve1_get, _thosttraderapi.CThostFtdcMulticastInstrumentField_reserve1_set, doc=r"""保留的无效字段""")
    InstrumentNo: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcMulticastInstrumentField_InstrumentNo_get, _thosttraderapi.CThostFtdcMulticastInstrumentField_InstrumentNo_set, doc=r"""合约编号""")
    CodePrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMulticastInstrumentField_CodePrice_get, _thosttraderapi.CThostFtdcMulticastInstrumentField_CodePrice_set, doc=r"""基准价""")
    VolumeMultiple: "TThostFtdcVolumeMultipleType" = property(_thosttraderapi.CThostFtdcMulticastInstrumentField_VolumeMultiple_get, _thosttraderapi.CThostFtdcMulticastInstrumentField_VolumeMultiple_set, doc=r"""合约数量乘数""")
    PriceTick: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcMulticastInstrumentField_PriceTick_get, _thosttraderapi.CThostFtdcMulticastInstrumentField_PriceTick_set, doc=r"""最小变动价位""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcMulticastInstrumentField_InstrumentID_get, _thosttraderapi.CThostFtdcMulticastInstrumentField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcMulticastInstrumentField_swiginit(self, _thosttraderapi.new_CThostFtdcMulticastInstrumentField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcMulticastInstrumentField

# Register CThostFtdcMulticastInstrumentField in _thosttraderapi:
_thosttraderapi.CThostFtdcMulticastInstrumentField_swigregister(CThostFtdcMulticastInstrumentField)
class CThostFtdcQryMulticastInstrumentField(object):
    r"""QryMulticastInstrument"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TopicID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcQryMulticastInstrumentField_TopicID_get, _thosttraderapi.CThostFtdcQryMulticastInstrumentField_TopicID_set, doc=r"""主题号""")
    reserve1: "TThostFtdcOldInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryMulticastInstrumentField_reserve1_get, _thosttraderapi.CThostFtdcQryMulticastInstrumentField_reserve1_set, doc=r"""保留的无效字段""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryMulticastInstrumentField_InstrumentID_get, _thosttraderapi.CThostFtdcQryMulticastInstrumentField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryMulticastInstrumentField_swiginit(self, _thosttraderapi.new_CThostFtdcQryMulticastInstrumentField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryMulticastInstrumentField

# Register CThostFtdcQryMulticastInstrumentField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryMulticastInstrumentField_swigregister(CThostFtdcQryMulticastInstrumentField)
class CThostFtdcAppIDAuthAssignField(object):
    r"""App客户端权限分配"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcAppIDAuthAssignField_BrokerID_get, _thosttraderapi.CThostFtdcAppIDAuthAssignField_BrokerID_set, doc=r"""经纪公司代码""")
    AppID: "TThostFtdcAppIDType" = property(_thosttraderapi.CThostFtdcAppIDAuthAssignField_AppID_get, _thosttraderapi.CThostFtdcAppIDAuthAssignField_AppID_set, doc=r"""App代码""")
    DRIdentityID: "TThostFtdcDRIdentityIDType" = property(_thosttraderapi.CThostFtdcAppIDAuthAssignField_DRIdentityID_get, _thosttraderapi.CThostFtdcAppIDAuthAssignField_DRIdentityID_set, doc=r"""交易中心代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcAppIDAuthAssignField_swiginit(self, _thosttraderapi.new_CThostFtdcAppIDAuthAssignField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcAppIDAuthAssignField

# Register CThostFtdcAppIDAuthAssignField in _thosttraderapi:
_thosttraderapi.CThostFtdcAppIDAuthAssignField_swigregister(CThostFtdcAppIDAuthAssignField)
class CThostFtdcReqOpenAccountField(object):
    r"""转帐开户请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_TradeCode_get, _thosttraderapi.CThostFtdcReqOpenAccountField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_BankID_get, _thosttraderapi.CThostFtdcReqOpenAccountField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_BankBranchID_get, _thosttraderapi.CThostFtdcReqOpenAccountField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_BrokerID_get, _thosttraderapi.CThostFtdcReqOpenAccountField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_BrokerBranchID_get, _thosttraderapi.CThostFtdcReqOpenAccountField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_TradeDate_get, _thosttraderapi.CThostFtdcReqOpenAccountField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_TradeTime_get, _thosttraderapi.CThostFtdcReqOpenAccountField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_BankSerial_get, _thosttraderapi.CThostFtdcReqOpenAccountField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_TradingDay_get, _thosttraderapi.CThostFtdcReqOpenAccountField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_PlateSerial_get, _thosttraderapi.CThostFtdcReqOpenAccountField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_LastFragment_get, _thosttraderapi.CThostFtdcReqOpenAccountField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_SessionID_get, _thosttraderapi.CThostFtdcReqOpenAccountField_SessionID_set, doc=r"""会话号""")
    CustomerName: "TThostFtdcIndividualNameType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_CustomerName_get, _thosttraderapi.CThostFtdcReqOpenAccountField_CustomerName_set, doc=r"""客户姓名""")
    IdCardType: "TThostFtdcIdCardTypeType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_IdCardType_get, _thosttraderapi.CThostFtdcReqOpenAccountField_IdCardType_set, doc=r"""证件类型""")
    IdentifiedCardNo: "TThostFtdcIdentifiedCardNoType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_IdentifiedCardNo_get, _thosttraderapi.CThostFtdcReqOpenAccountField_IdentifiedCardNo_set, doc=r"""证件号码""")
    Gender: "TThostFtdcGenderType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_Gender_get, _thosttraderapi.CThostFtdcReqOpenAccountField_Gender_set, doc=r"""性别""")
    CountryCode: "TThostFtdcCountryCodeType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_CountryCode_get, _thosttraderapi.CThostFtdcReqOpenAccountField_CountryCode_set, doc=r"""国家代码""")
    CustType: "TThostFtdcCustTypeType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_CustType_get, _thosttraderapi.CThostFtdcReqOpenAccountField_CustType_set, doc=r"""客户类型""")
    Address: "TThostFtdcAddressType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_Address_get, _thosttraderapi.CThostFtdcReqOpenAccountField_Address_set, doc=r"""地址""")
    ZipCode: "TThostFtdcZipCodeType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_ZipCode_get, _thosttraderapi.CThostFtdcReqOpenAccountField_ZipCode_set, doc=r"""邮编""")
    Telephone: "TThostFtdcTelephoneType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_Telephone_get, _thosttraderapi.CThostFtdcReqOpenAccountField_Telephone_set, doc=r"""电话号码""")
    MobilePhone: "TThostFtdcMobilePhoneType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_MobilePhone_get, _thosttraderapi.CThostFtdcReqOpenAccountField_MobilePhone_set, doc=r"""手机""")
    Fax: "TThostFtdcFaxType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_Fax_get, _thosttraderapi.CThostFtdcReqOpenAccountField_Fax_set, doc=r"""传真""")
    EMail: "TThostFtdcEMailType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_EMail_get, _thosttraderapi.CThostFtdcReqOpenAccountField_EMail_set, doc=r"""电子邮件""")
    MoneyAccountStatus: "TThostFtdcMoneyAccountStatusType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_MoneyAccountStatus_get, _thosttraderapi.CThostFtdcReqOpenAccountField_MoneyAccountStatus_set, doc=r"""资金账户状态""")
    BankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_BankAccount_get, _thosttraderapi.CThostFtdcReqOpenAccountField_BankAccount_set, doc=r"""银行帐号""")
    BankPassWord: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_BankPassWord_get, _thosttraderapi.CThostFtdcReqOpenAccountField_BankPassWord_set, doc=r"""银行密码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_AccountID_get, _thosttraderapi.CThostFtdcReqOpenAccountField_AccountID_set, doc=r"""投资者帐号""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_Password_get, _thosttraderapi.CThostFtdcReqOpenAccountField_Password_set, doc=r"""期货密码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_InstallID_get, _thosttraderapi.CThostFtdcReqOpenAccountField_InstallID_set, doc=r"""安装编号""")
    VerifyCertNoFlag: "TThostFtdcYesNoIndicatorType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_VerifyCertNoFlag_get, _thosttraderapi.CThostFtdcReqOpenAccountField_VerifyCertNoFlag_set, doc=r"""验证客户证件号码标志""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_CurrencyID_get, _thosttraderapi.CThostFtdcReqOpenAccountField_CurrencyID_set, doc=r"""币种代码""")
    CashExchangeCode: "TThostFtdcCashExchangeCodeType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_CashExchangeCode_get, _thosttraderapi.CThostFtdcReqOpenAccountField_CashExchangeCode_set, doc=r"""汇钞标志""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_Digest_get, _thosttraderapi.CThostFtdcReqOpenAccountField_Digest_set, doc=r"""摘要""")
    BankAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_BankAccType_get, _thosttraderapi.CThostFtdcReqOpenAccountField_BankAccType_set, doc=r"""银行帐号类型""")
    DeviceID: "TThostFtdcDeviceIDType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_DeviceID_get, _thosttraderapi.CThostFtdcReqOpenAccountField_DeviceID_set, doc=r"""渠道标志""")
    BankSecuAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_BankSecuAccType_get, _thosttraderapi.CThostFtdcReqOpenAccountField_BankSecuAccType_set, doc=r"""期货单位帐号类型""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcReqOpenAccountField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    BankSecuAcc: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_BankSecuAcc_get, _thosttraderapi.CThostFtdcReqOpenAccountField_BankSecuAcc_set, doc=r"""期货单位帐号""")
    BankPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_BankPwdFlag_get, _thosttraderapi.CThostFtdcReqOpenAccountField_BankPwdFlag_set, doc=r"""银行密码标志""")
    SecuPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_SecuPwdFlag_get, _thosttraderapi.CThostFtdcReqOpenAccountField_SecuPwdFlag_set, doc=r"""期货资金密码核对标志""")
    OperNo: "TThostFtdcOperNoType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_OperNo_get, _thosttraderapi.CThostFtdcReqOpenAccountField_OperNo_set, doc=r"""交易柜员""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_TID_get, _thosttraderapi.CThostFtdcReqOpenAccountField_TID_set, doc=r"""交易ID""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_UserID_get, _thosttraderapi.CThostFtdcReqOpenAccountField_UserID_set, doc=r"""用户标识""")
    LongCustomerName: "TThostFtdcLongIndividualNameType" = property(_thosttraderapi.CThostFtdcReqOpenAccountField_LongCustomerName_get, _thosttraderapi.CThostFtdcReqOpenAccountField_LongCustomerName_set, doc=r"""长客户姓名""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReqOpenAccountField_swiginit(self, _thosttraderapi.new_CThostFtdcReqOpenAccountField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReqOpenAccountField

# Register CThostFtdcReqOpenAccountField in _thosttraderapi:
_thosttraderapi.CThostFtdcReqOpenAccountField_swigregister(CThostFtdcReqOpenAccountField)
class CThostFtdcReqCancelAccountField(object):
    r"""转帐销户请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_TradeCode_get, _thosttraderapi.CThostFtdcReqCancelAccountField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_BankID_get, _thosttraderapi.CThostFtdcReqCancelAccountField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_BankBranchID_get, _thosttraderapi.CThostFtdcReqCancelAccountField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_BrokerID_get, _thosttraderapi.CThostFtdcReqCancelAccountField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_BrokerBranchID_get, _thosttraderapi.CThostFtdcReqCancelAccountField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_TradeDate_get, _thosttraderapi.CThostFtdcReqCancelAccountField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_TradeTime_get, _thosttraderapi.CThostFtdcReqCancelAccountField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_BankSerial_get, _thosttraderapi.CThostFtdcReqCancelAccountField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_TradingDay_get, _thosttraderapi.CThostFtdcReqCancelAccountField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_PlateSerial_get, _thosttraderapi.CThostFtdcReqCancelAccountField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_LastFragment_get, _thosttraderapi.CThostFtdcReqCancelAccountField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_SessionID_get, _thosttraderapi.CThostFtdcReqCancelAccountField_SessionID_set, doc=r"""会话号""")
    CustomerName: "TThostFtdcIndividualNameType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_CustomerName_get, _thosttraderapi.CThostFtdcReqCancelAccountField_CustomerName_set, doc=r"""客户姓名""")
    IdCardType: "TThostFtdcIdCardTypeType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_IdCardType_get, _thosttraderapi.CThostFtdcReqCancelAccountField_IdCardType_set, doc=r"""证件类型""")
    IdentifiedCardNo: "TThostFtdcIdentifiedCardNoType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_IdentifiedCardNo_get, _thosttraderapi.CThostFtdcReqCancelAccountField_IdentifiedCardNo_set, doc=r"""证件号码""")
    Gender: "TThostFtdcGenderType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_Gender_get, _thosttraderapi.CThostFtdcReqCancelAccountField_Gender_set, doc=r"""性别""")
    CountryCode: "TThostFtdcCountryCodeType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_CountryCode_get, _thosttraderapi.CThostFtdcReqCancelAccountField_CountryCode_set, doc=r"""国家代码""")
    CustType: "TThostFtdcCustTypeType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_CustType_get, _thosttraderapi.CThostFtdcReqCancelAccountField_CustType_set, doc=r"""客户类型""")
    Address: "TThostFtdcAddressType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_Address_get, _thosttraderapi.CThostFtdcReqCancelAccountField_Address_set, doc=r"""地址""")
    ZipCode: "TThostFtdcZipCodeType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_ZipCode_get, _thosttraderapi.CThostFtdcReqCancelAccountField_ZipCode_set, doc=r"""邮编""")
    Telephone: "TThostFtdcTelephoneType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_Telephone_get, _thosttraderapi.CThostFtdcReqCancelAccountField_Telephone_set, doc=r"""电话号码""")
    MobilePhone: "TThostFtdcMobilePhoneType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_MobilePhone_get, _thosttraderapi.CThostFtdcReqCancelAccountField_MobilePhone_set, doc=r"""手机""")
    Fax: "TThostFtdcFaxType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_Fax_get, _thosttraderapi.CThostFtdcReqCancelAccountField_Fax_set, doc=r"""传真""")
    EMail: "TThostFtdcEMailType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_EMail_get, _thosttraderapi.CThostFtdcReqCancelAccountField_EMail_set, doc=r"""电子邮件""")
    MoneyAccountStatus: "TThostFtdcMoneyAccountStatusType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_MoneyAccountStatus_get, _thosttraderapi.CThostFtdcReqCancelAccountField_MoneyAccountStatus_set, doc=r"""资金账户状态""")
    BankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_BankAccount_get, _thosttraderapi.CThostFtdcReqCancelAccountField_BankAccount_set, doc=r"""银行帐号""")
    BankPassWord: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_BankPassWord_get, _thosttraderapi.CThostFtdcReqCancelAccountField_BankPassWord_set, doc=r"""银行密码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_AccountID_get, _thosttraderapi.CThostFtdcReqCancelAccountField_AccountID_set, doc=r"""投资者帐号""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_Password_get, _thosttraderapi.CThostFtdcReqCancelAccountField_Password_set, doc=r"""期货密码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_InstallID_get, _thosttraderapi.CThostFtdcReqCancelAccountField_InstallID_set, doc=r"""安装编号""")
    VerifyCertNoFlag: "TThostFtdcYesNoIndicatorType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_VerifyCertNoFlag_get, _thosttraderapi.CThostFtdcReqCancelAccountField_VerifyCertNoFlag_set, doc=r"""验证客户证件号码标志""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_CurrencyID_get, _thosttraderapi.CThostFtdcReqCancelAccountField_CurrencyID_set, doc=r"""币种代码""")
    CashExchangeCode: "TThostFtdcCashExchangeCodeType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_CashExchangeCode_get, _thosttraderapi.CThostFtdcReqCancelAccountField_CashExchangeCode_set, doc=r"""汇钞标志""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_Digest_get, _thosttraderapi.CThostFtdcReqCancelAccountField_Digest_set, doc=r"""摘要""")
    BankAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_BankAccType_get, _thosttraderapi.CThostFtdcReqCancelAccountField_BankAccType_set, doc=r"""银行帐号类型""")
    DeviceID: "TThostFtdcDeviceIDType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_DeviceID_get, _thosttraderapi.CThostFtdcReqCancelAccountField_DeviceID_set, doc=r"""渠道标志""")
    BankSecuAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_BankSecuAccType_get, _thosttraderapi.CThostFtdcReqCancelAccountField_BankSecuAccType_set, doc=r"""期货单位帐号类型""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcReqCancelAccountField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    BankSecuAcc: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_BankSecuAcc_get, _thosttraderapi.CThostFtdcReqCancelAccountField_BankSecuAcc_set, doc=r"""期货单位帐号""")
    BankPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_BankPwdFlag_get, _thosttraderapi.CThostFtdcReqCancelAccountField_BankPwdFlag_set, doc=r"""银行密码标志""")
    SecuPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_SecuPwdFlag_get, _thosttraderapi.CThostFtdcReqCancelAccountField_SecuPwdFlag_set, doc=r"""期货资金密码核对标志""")
    OperNo: "TThostFtdcOperNoType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_OperNo_get, _thosttraderapi.CThostFtdcReqCancelAccountField_OperNo_set, doc=r"""交易柜员""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_TID_get, _thosttraderapi.CThostFtdcReqCancelAccountField_TID_set, doc=r"""交易ID""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_UserID_get, _thosttraderapi.CThostFtdcReqCancelAccountField_UserID_set, doc=r"""用户标识""")
    LongCustomerName: "TThostFtdcLongIndividualNameType" = property(_thosttraderapi.CThostFtdcReqCancelAccountField_LongCustomerName_get, _thosttraderapi.CThostFtdcReqCancelAccountField_LongCustomerName_set, doc=r"""长客户姓名""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReqCancelAccountField_swiginit(self, _thosttraderapi.new_CThostFtdcReqCancelAccountField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReqCancelAccountField

# Register CThostFtdcReqCancelAccountField in _thosttraderapi:
_thosttraderapi.CThostFtdcReqCancelAccountField_swigregister(CThostFtdcReqCancelAccountField)
class CThostFtdcReqChangeAccountField(object):
    r"""变更银行账户请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_TradeCode_get, _thosttraderapi.CThostFtdcReqChangeAccountField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_BankID_get, _thosttraderapi.CThostFtdcReqChangeAccountField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_BankBranchID_get, _thosttraderapi.CThostFtdcReqChangeAccountField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_BrokerID_get, _thosttraderapi.CThostFtdcReqChangeAccountField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_BrokerBranchID_get, _thosttraderapi.CThostFtdcReqChangeAccountField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_TradeDate_get, _thosttraderapi.CThostFtdcReqChangeAccountField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_TradeTime_get, _thosttraderapi.CThostFtdcReqChangeAccountField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_BankSerial_get, _thosttraderapi.CThostFtdcReqChangeAccountField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_TradingDay_get, _thosttraderapi.CThostFtdcReqChangeAccountField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_PlateSerial_get, _thosttraderapi.CThostFtdcReqChangeAccountField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_LastFragment_get, _thosttraderapi.CThostFtdcReqChangeAccountField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_SessionID_get, _thosttraderapi.CThostFtdcReqChangeAccountField_SessionID_set, doc=r"""会话号""")
    CustomerName: "TThostFtdcIndividualNameType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_CustomerName_get, _thosttraderapi.CThostFtdcReqChangeAccountField_CustomerName_set, doc=r"""客户姓名""")
    IdCardType: "TThostFtdcIdCardTypeType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_IdCardType_get, _thosttraderapi.CThostFtdcReqChangeAccountField_IdCardType_set, doc=r"""证件类型""")
    IdentifiedCardNo: "TThostFtdcIdentifiedCardNoType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_IdentifiedCardNo_get, _thosttraderapi.CThostFtdcReqChangeAccountField_IdentifiedCardNo_set, doc=r"""证件号码""")
    Gender: "TThostFtdcGenderType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_Gender_get, _thosttraderapi.CThostFtdcReqChangeAccountField_Gender_set, doc=r"""性别""")
    CountryCode: "TThostFtdcCountryCodeType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_CountryCode_get, _thosttraderapi.CThostFtdcReqChangeAccountField_CountryCode_set, doc=r"""国家代码""")
    CustType: "TThostFtdcCustTypeType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_CustType_get, _thosttraderapi.CThostFtdcReqChangeAccountField_CustType_set, doc=r"""客户类型""")
    Address: "TThostFtdcAddressType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_Address_get, _thosttraderapi.CThostFtdcReqChangeAccountField_Address_set, doc=r"""地址""")
    ZipCode: "TThostFtdcZipCodeType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_ZipCode_get, _thosttraderapi.CThostFtdcReqChangeAccountField_ZipCode_set, doc=r"""邮编""")
    Telephone: "TThostFtdcTelephoneType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_Telephone_get, _thosttraderapi.CThostFtdcReqChangeAccountField_Telephone_set, doc=r"""电话号码""")
    MobilePhone: "TThostFtdcMobilePhoneType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_MobilePhone_get, _thosttraderapi.CThostFtdcReqChangeAccountField_MobilePhone_set, doc=r"""手机""")
    Fax: "TThostFtdcFaxType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_Fax_get, _thosttraderapi.CThostFtdcReqChangeAccountField_Fax_set, doc=r"""传真""")
    EMail: "TThostFtdcEMailType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_EMail_get, _thosttraderapi.CThostFtdcReqChangeAccountField_EMail_set, doc=r"""电子邮件""")
    MoneyAccountStatus: "TThostFtdcMoneyAccountStatusType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_MoneyAccountStatus_get, _thosttraderapi.CThostFtdcReqChangeAccountField_MoneyAccountStatus_set, doc=r"""资金账户状态""")
    BankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_BankAccount_get, _thosttraderapi.CThostFtdcReqChangeAccountField_BankAccount_set, doc=r"""银行帐号""")
    BankPassWord: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_BankPassWord_get, _thosttraderapi.CThostFtdcReqChangeAccountField_BankPassWord_set, doc=r"""银行密码""")
    NewBankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_NewBankAccount_get, _thosttraderapi.CThostFtdcReqChangeAccountField_NewBankAccount_set, doc=r"""新银行帐号""")
    NewBankPassWord: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_NewBankPassWord_get, _thosttraderapi.CThostFtdcReqChangeAccountField_NewBankPassWord_set, doc=r"""新银行密码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_AccountID_get, _thosttraderapi.CThostFtdcReqChangeAccountField_AccountID_set, doc=r"""投资者帐号""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_Password_get, _thosttraderapi.CThostFtdcReqChangeAccountField_Password_set, doc=r"""期货密码""")
    BankAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_BankAccType_get, _thosttraderapi.CThostFtdcReqChangeAccountField_BankAccType_set, doc=r"""银行帐号类型""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_InstallID_get, _thosttraderapi.CThostFtdcReqChangeAccountField_InstallID_set, doc=r"""安装编号""")
    VerifyCertNoFlag: "TThostFtdcYesNoIndicatorType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_VerifyCertNoFlag_get, _thosttraderapi.CThostFtdcReqChangeAccountField_VerifyCertNoFlag_set, doc=r"""验证客户证件号码标志""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_CurrencyID_get, _thosttraderapi.CThostFtdcReqChangeAccountField_CurrencyID_set, doc=r"""币种代码""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcReqChangeAccountField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    BankPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_BankPwdFlag_get, _thosttraderapi.CThostFtdcReqChangeAccountField_BankPwdFlag_set, doc=r"""银行密码标志""")
    SecuPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_SecuPwdFlag_get, _thosttraderapi.CThostFtdcReqChangeAccountField_SecuPwdFlag_set, doc=r"""期货资金密码核对标志""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_TID_get, _thosttraderapi.CThostFtdcReqChangeAccountField_TID_set, doc=r"""交易ID""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_Digest_get, _thosttraderapi.CThostFtdcReqChangeAccountField_Digest_set, doc=r"""摘要""")
    LongCustomerName: "TThostFtdcLongIndividualNameType" = property(_thosttraderapi.CThostFtdcReqChangeAccountField_LongCustomerName_get, _thosttraderapi.CThostFtdcReqChangeAccountField_LongCustomerName_set, doc=r"""长客户姓名""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReqChangeAccountField_swiginit(self, _thosttraderapi.new_CThostFtdcReqChangeAccountField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReqChangeAccountField

# Register CThostFtdcReqChangeAccountField in _thosttraderapi:
_thosttraderapi.CThostFtdcReqChangeAccountField_swigregister(CThostFtdcReqChangeAccountField)
class CThostFtdcReqTransferField(object):
    r"""转账请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcReqTransferField_TradeCode_get, _thosttraderapi.CThostFtdcReqTransferField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcReqTransferField_BankID_get, _thosttraderapi.CThostFtdcReqTransferField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcReqTransferField_BankBranchID_get, _thosttraderapi.CThostFtdcReqTransferField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcReqTransferField_BrokerID_get, _thosttraderapi.CThostFtdcReqTransferField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcReqTransferField_BrokerBranchID_get, _thosttraderapi.CThostFtdcReqTransferField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReqTransferField_TradeDate_get, _thosttraderapi.CThostFtdcReqTransferField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcReqTransferField_TradeTime_get, _thosttraderapi.CThostFtdcReqTransferField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcReqTransferField_BankSerial_get, _thosttraderapi.CThostFtdcReqTransferField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReqTransferField_TradingDay_get, _thosttraderapi.CThostFtdcReqTransferField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcReqTransferField_PlateSerial_get, _thosttraderapi.CThostFtdcReqTransferField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcReqTransferField_LastFragment_get, _thosttraderapi.CThostFtdcReqTransferField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcReqTransferField_SessionID_get, _thosttraderapi.CThostFtdcReqTransferField_SessionID_set, doc=r"""会话号""")
    CustomerName: "TThostFtdcIndividualNameType" = property(_thosttraderapi.CThostFtdcReqTransferField_CustomerName_get, _thosttraderapi.CThostFtdcReqTransferField_CustomerName_set, doc=r"""客户姓名""")
    IdCardType: "TThostFtdcIdCardTypeType" = property(_thosttraderapi.CThostFtdcReqTransferField_IdCardType_get, _thosttraderapi.CThostFtdcReqTransferField_IdCardType_set, doc=r"""证件类型""")
    IdentifiedCardNo: "TThostFtdcIdentifiedCardNoType" = property(_thosttraderapi.CThostFtdcReqTransferField_IdentifiedCardNo_get, _thosttraderapi.CThostFtdcReqTransferField_IdentifiedCardNo_set, doc=r"""证件号码""")
    CustType: "TThostFtdcCustTypeType" = property(_thosttraderapi.CThostFtdcReqTransferField_CustType_get, _thosttraderapi.CThostFtdcReqTransferField_CustType_set, doc=r"""客户类型""")
    BankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcReqTransferField_BankAccount_get, _thosttraderapi.CThostFtdcReqTransferField_BankAccount_set, doc=r"""银行帐号""")
    BankPassWord: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqTransferField_BankPassWord_get, _thosttraderapi.CThostFtdcReqTransferField_BankPassWord_set, doc=r"""银行密码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcReqTransferField_AccountID_get, _thosttraderapi.CThostFtdcReqTransferField_AccountID_set, doc=r"""投资者帐号""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqTransferField_Password_get, _thosttraderapi.CThostFtdcReqTransferField_Password_set, doc=r"""期货密码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcReqTransferField_InstallID_get, _thosttraderapi.CThostFtdcReqTransferField_InstallID_set, doc=r"""安装编号""")
    FutureSerial: "TThostFtdcFutureSerialType" = property(_thosttraderapi.CThostFtdcReqTransferField_FutureSerial_get, _thosttraderapi.CThostFtdcReqTransferField_FutureSerial_set, doc=r"""期货公司流水号""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcReqTransferField_UserID_get, _thosttraderapi.CThostFtdcReqTransferField_UserID_set, doc=r"""用户标识""")
    VerifyCertNoFlag: "TThostFtdcYesNoIndicatorType" = property(_thosttraderapi.CThostFtdcReqTransferField_VerifyCertNoFlag_get, _thosttraderapi.CThostFtdcReqTransferField_VerifyCertNoFlag_set, doc=r"""验证客户证件号码标志""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcReqTransferField_CurrencyID_get, _thosttraderapi.CThostFtdcReqTransferField_CurrencyID_set, doc=r"""币种代码""")
    TradeAmount: "TThostFtdcTradeAmountType" = property(_thosttraderapi.CThostFtdcReqTransferField_TradeAmount_get, _thosttraderapi.CThostFtdcReqTransferField_TradeAmount_set, doc=r"""转帐金额""")
    FutureFetchAmount: "TThostFtdcTradeAmountType" = property(_thosttraderapi.CThostFtdcReqTransferField_FutureFetchAmount_get, _thosttraderapi.CThostFtdcReqTransferField_FutureFetchAmount_set, doc=r"""期货可取金额""")
    FeePayFlag: "TThostFtdcFeePayFlagType" = property(_thosttraderapi.CThostFtdcReqTransferField_FeePayFlag_get, _thosttraderapi.CThostFtdcReqTransferField_FeePayFlag_set, doc=r"""费用支付标志""")
    CustFee: "TThostFtdcCustFeeType" = property(_thosttraderapi.CThostFtdcReqTransferField_CustFee_get, _thosttraderapi.CThostFtdcReqTransferField_CustFee_set, doc=r"""应收客户费用""")
    BrokerFee: "TThostFtdcFutureFeeType" = property(_thosttraderapi.CThostFtdcReqTransferField_BrokerFee_get, _thosttraderapi.CThostFtdcReqTransferField_BrokerFee_set, doc=r"""应收期货公司费用""")
    Message: "TThostFtdcAddInfoType" = property(_thosttraderapi.CThostFtdcReqTransferField_Message_get, _thosttraderapi.CThostFtdcReqTransferField_Message_set, doc=r"""发送方给接收方的消息""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcReqTransferField_Digest_get, _thosttraderapi.CThostFtdcReqTransferField_Digest_set, doc=r"""摘要""")
    BankAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcReqTransferField_BankAccType_get, _thosttraderapi.CThostFtdcReqTransferField_BankAccType_set, doc=r"""银行帐号类型""")
    DeviceID: "TThostFtdcDeviceIDType" = property(_thosttraderapi.CThostFtdcReqTransferField_DeviceID_get, _thosttraderapi.CThostFtdcReqTransferField_DeviceID_set, doc=r"""渠道标志""")
    BankSecuAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcReqTransferField_BankSecuAccType_get, _thosttraderapi.CThostFtdcReqTransferField_BankSecuAccType_set, doc=r"""期货单位帐号类型""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcReqTransferField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcReqTransferField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    BankSecuAcc: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcReqTransferField_BankSecuAcc_get, _thosttraderapi.CThostFtdcReqTransferField_BankSecuAcc_set, doc=r"""期货单位帐号""")
    BankPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcReqTransferField_BankPwdFlag_get, _thosttraderapi.CThostFtdcReqTransferField_BankPwdFlag_set, doc=r"""银行密码标志""")
    SecuPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcReqTransferField_SecuPwdFlag_get, _thosttraderapi.CThostFtdcReqTransferField_SecuPwdFlag_set, doc=r"""期货资金密码核对标志""")
    OperNo: "TThostFtdcOperNoType" = property(_thosttraderapi.CThostFtdcReqTransferField_OperNo_get, _thosttraderapi.CThostFtdcReqTransferField_OperNo_set, doc=r"""交易柜员""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcReqTransferField_RequestID_get, _thosttraderapi.CThostFtdcReqTransferField_RequestID_set, doc=r"""请求编号""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcReqTransferField_TID_get, _thosttraderapi.CThostFtdcReqTransferField_TID_set, doc=r"""交易ID""")
    TransferStatus: "TThostFtdcTransferStatusType" = property(_thosttraderapi.CThostFtdcReqTransferField_TransferStatus_get, _thosttraderapi.CThostFtdcReqTransferField_TransferStatus_set, doc=r"""转账交易状态""")
    LongCustomerName: "TThostFtdcLongIndividualNameType" = property(_thosttraderapi.CThostFtdcReqTransferField_LongCustomerName_get, _thosttraderapi.CThostFtdcReqTransferField_LongCustomerName_set, doc=r"""长客户姓名""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReqTransferField_swiginit(self, _thosttraderapi.new_CThostFtdcReqTransferField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReqTransferField

# Register CThostFtdcReqTransferField in _thosttraderapi:
_thosttraderapi.CThostFtdcReqTransferField_swigregister(CThostFtdcReqTransferField)
class CThostFtdcRspTransferField(object):
    r"""银行发起银行资金转期货响应"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcRspTransferField_TradeCode_get, _thosttraderapi.CThostFtdcRspTransferField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcRspTransferField_BankID_get, _thosttraderapi.CThostFtdcRspTransferField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcRspTransferField_BankBranchID_get, _thosttraderapi.CThostFtdcRspTransferField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcRspTransferField_BrokerID_get, _thosttraderapi.CThostFtdcRspTransferField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcRspTransferField_BrokerBranchID_get, _thosttraderapi.CThostFtdcRspTransferField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcRspTransferField_TradeDate_get, _thosttraderapi.CThostFtdcRspTransferField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcRspTransferField_TradeTime_get, _thosttraderapi.CThostFtdcRspTransferField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcRspTransferField_BankSerial_get, _thosttraderapi.CThostFtdcRspTransferField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcRspTransferField_TradingDay_get, _thosttraderapi.CThostFtdcRspTransferField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcRspTransferField_PlateSerial_get, _thosttraderapi.CThostFtdcRspTransferField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcRspTransferField_LastFragment_get, _thosttraderapi.CThostFtdcRspTransferField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcRspTransferField_SessionID_get, _thosttraderapi.CThostFtdcRspTransferField_SessionID_set, doc=r"""会话号""")
    CustomerName: "TThostFtdcIndividualNameType" = property(_thosttraderapi.CThostFtdcRspTransferField_CustomerName_get, _thosttraderapi.CThostFtdcRspTransferField_CustomerName_set, doc=r"""客户姓名""")
    IdCardType: "TThostFtdcIdCardTypeType" = property(_thosttraderapi.CThostFtdcRspTransferField_IdCardType_get, _thosttraderapi.CThostFtdcRspTransferField_IdCardType_set, doc=r"""证件类型""")
    IdentifiedCardNo: "TThostFtdcIdentifiedCardNoType" = property(_thosttraderapi.CThostFtdcRspTransferField_IdentifiedCardNo_get, _thosttraderapi.CThostFtdcRspTransferField_IdentifiedCardNo_set, doc=r"""证件号码""")
    CustType: "TThostFtdcCustTypeType" = property(_thosttraderapi.CThostFtdcRspTransferField_CustType_get, _thosttraderapi.CThostFtdcRspTransferField_CustType_set, doc=r"""客户类型""")
    BankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcRspTransferField_BankAccount_get, _thosttraderapi.CThostFtdcRspTransferField_BankAccount_set, doc=r"""银行帐号""")
    BankPassWord: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcRspTransferField_BankPassWord_get, _thosttraderapi.CThostFtdcRspTransferField_BankPassWord_set, doc=r"""银行密码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcRspTransferField_AccountID_get, _thosttraderapi.CThostFtdcRspTransferField_AccountID_set, doc=r"""投资者帐号""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcRspTransferField_Password_get, _thosttraderapi.CThostFtdcRspTransferField_Password_set, doc=r"""期货密码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcRspTransferField_InstallID_get, _thosttraderapi.CThostFtdcRspTransferField_InstallID_set, doc=r"""安装编号""")
    FutureSerial: "TThostFtdcFutureSerialType" = property(_thosttraderapi.CThostFtdcRspTransferField_FutureSerial_get, _thosttraderapi.CThostFtdcRspTransferField_FutureSerial_set, doc=r"""期货公司流水号""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcRspTransferField_UserID_get, _thosttraderapi.CThostFtdcRspTransferField_UserID_set, doc=r"""用户标识""")
    VerifyCertNoFlag: "TThostFtdcYesNoIndicatorType" = property(_thosttraderapi.CThostFtdcRspTransferField_VerifyCertNoFlag_get, _thosttraderapi.CThostFtdcRspTransferField_VerifyCertNoFlag_set, doc=r"""验证客户证件号码标志""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcRspTransferField_CurrencyID_get, _thosttraderapi.CThostFtdcRspTransferField_CurrencyID_set, doc=r"""币种代码""")
    TradeAmount: "TThostFtdcTradeAmountType" = property(_thosttraderapi.CThostFtdcRspTransferField_TradeAmount_get, _thosttraderapi.CThostFtdcRspTransferField_TradeAmount_set, doc=r"""转帐金额""")
    FutureFetchAmount: "TThostFtdcTradeAmountType" = property(_thosttraderapi.CThostFtdcRspTransferField_FutureFetchAmount_get, _thosttraderapi.CThostFtdcRspTransferField_FutureFetchAmount_set, doc=r"""期货可取金额""")
    FeePayFlag: "TThostFtdcFeePayFlagType" = property(_thosttraderapi.CThostFtdcRspTransferField_FeePayFlag_get, _thosttraderapi.CThostFtdcRspTransferField_FeePayFlag_set, doc=r"""费用支付标志""")
    CustFee: "TThostFtdcCustFeeType" = property(_thosttraderapi.CThostFtdcRspTransferField_CustFee_get, _thosttraderapi.CThostFtdcRspTransferField_CustFee_set, doc=r"""应收客户费用""")
    BrokerFee: "TThostFtdcFutureFeeType" = property(_thosttraderapi.CThostFtdcRspTransferField_BrokerFee_get, _thosttraderapi.CThostFtdcRspTransferField_BrokerFee_set, doc=r"""应收期货公司费用""")
    Message: "TThostFtdcAddInfoType" = property(_thosttraderapi.CThostFtdcRspTransferField_Message_get, _thosttraderapi.CThostFtdcRspTransferField_Message_set, doc=r"""发送方给接收方的消息""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcRspTransferField_Digest_get, _thosttraderapi.CThostFtdcRspTransferField_Digest_set, doc=r"""摘要""")
    BankAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcRspTransferField_BankAccType_get, _thosttraderapi.CThostFtdcRspTransferField_BankAccType_set, doc=r"""银行帐号类型""")
    DeviceID: "TThostFtdcDeviceIDType" = property(_thosttraderapi.CThostFtdcRspTransferField_DeviceID_get, _thosttraderapi.CThostFtdcRspTransferField_DeviceID_set, doc=r"""渠道标志""")
    BankSecuAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcRspTransferField_BankSecuAccType_get, _thosttraderapi.CThostFtdcRspTransferField_BankSecuAccType_set, doc=r"""期货单位帐号类型""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcRspTransferField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcRspTransferField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    BankSecuAcc: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcRspTransferField_BankSecuAcc_get, _thosttraderapi.CThostFtdcRspTransferField_BankSecuAcc_set, doc=r"""期货单位帐号""")
    BankPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcRspTransferField_BankPwdFlag_get, _thosttraderapi.CThostFtdcRspTransferField_BankPwdFlag_set, doc=r"""银行密码标志""")
    SecuPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcRspTransferField_SecuPwdFlag_get, _thosttraderapi.CThostFtdcRspTransferField_SecuPwdFlag_set, doc=r"""期货资金密码核对标志""")
    OperNo: "TThostFtdcOperNoType" = property(_thosttraderapi.CThostFtdcRspTransferField_OperNo_get, _thosttraderapi.CThostFtdcRspTransferField_OperNo_set, doc=r"""交易柜员""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcRspTransferField_RequestID_get, _thosttraderapi.CThostFtdcRspTransferField_RequestID_set, doc=r"""请求编号""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcRspTransferField_TID_get, _thosttraderapi.CThostFtdcRspTransferField_TID_set, doc=r"""交易ID""")
    TransferStatus: "TThostFtdcTransferStatusType" = property(_thosttraderapi.CThostFtdcRspTransferField_TransferStatus_get, _thosttraderapi.CThostFtdcRspTransferField_TransferStatus_set, doc=r"""转账交易状态""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcRspTransferField_ErrorID_get, _thosttraderapi.CThostFtdcRspTransferField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcRspTransferField_ErrorMsg_get, _thosttraderapi.CThostFtdcRspTransferField_ErrorMsg_set, doc=r"""错误信息""")
    LongCustomerName: "TThostFtdcLongIndividualNameType" = property(_thosttraderapi.CThostFtdcRspTransferField_LongCustomerName_get, _thosttraderapi.CThostFtdcRspTransferField_LongCustomerName_set, doc=r"""长客户姓名""")

    def __init__(self):
        _thosttraderapi.CThostFtdcRspTransferField_swiginit(self, _thosttraderapi.new_CThostFtdcRspTransferField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcRspTransferField

# Register CThostFtdcRspTransferField in _thosttraderapi:
_thosttraderapi.CThostFtdcRspTransferField_swigregister(CThostFtdcRspTransferField)
class CThostFtdcReqRepealField(object):
    r"""冲正请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    RepealTimeInterval: "TThostFtdcRepealTimeIntervalType" = property(_thosttraderapi.CThostFtdcReqRepealField_RepealTimeInterval_get, _thosttraderapi.CThostFtdcReqRepealField_RepealTimeInterval_set, doc=r"""冲正时间间隔""")
    RepealedTimes: "TThostFtdcRepealedTimesType" = property(_thosttraderapi.CThostFtdcReqRepealField_RepealedTimes_get, _thosttraderapi.CThostFtdcReqRepealField_RepealedTimes_set, doc=r"""已经冲正次数""")
    BankRepealFlag: "TThostFtdcBankRepealFlagType" = property(_thosttraderapi.CThostFtdcReqRepealField_BankRepealFlag_get, _thosttraderapi.CThostFtdcReqRepealField_BankRepealFlag_set, doc=r"""银行冲正标志""")
    BrokerRepealFlag: "TThostFtdcBrokerRepealFlagType" = property(_thosttraderapi.CThostFtdcReqRepealField_BrokerRepealFlag_get, _thosttraderapi.CThostFtdcReqRepealField_BrokerRepealFlag_set, doc=r"""期商冲正标志""")
    PlateRepealSerial: "TThostFtdcPlateSerialType" = property(_thosttraderapi.CThostFtdcReqRepealField_PlateRepealSerial_get, _thosttraderapi.CThostFtdcReqRepealField_PlateRepealSerial_set, doc=r"""被冲正平台流水号""")
    BankRepealSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcReqRepealField_BankRepealSerial_get, _thosttraderapi.CThostFtdcReqRepealField_BankRepealSerial_set, doc=r"""被冲正银行流水号""")
    FutureRepealSerial: "TThostFtdcFutureSerialType" = property(_thosttraderapi.CThostFtdcReqRepealField_FutureRepealSerial_get, _thosttraderapi.CThostFtdcReqRepealField_FutureRepealSerial_set, doc=r"""被冲正期货流水号""")
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcReqRepealField_TradeCode_get, _thosttraderapi.CThostFtdcReqRepealField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcReqRepealField_BankID_get, _thosttraderapi.CThostFtdcReqRepealField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcReqRepealField_BankBranchID_get, _thosttraderapi.CThostFtdcReqRepealField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcReqRepealField_BrokerID_get, _thosttraderapi.CThostFtdcReqRepealField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcReqRepealField_BrokerBranchID_get, _thosttraderapi.CThostFtdcReqRepealField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReqRepealField_TradeDate_get, _thosttraderapi.CThostFtdcReqRepealField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcReqRepealField_TradeTime_get, _thosttraderapi.CThostFtdcReqRepealField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcReqRepealField_BankSerial_get, _thosttraderapi.CThostFtdcReqRepealField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReqRepealField_TradingDay_get, _thosttraderapi.CThostFtdcReqRepealField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcReqRepealField_PlateSerial_get, _thosttraderapi.CThostFtdcReqRepealField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcReqRepealField_LastFragment_get, _thosttraderapi.CThostFtdcReqRepealField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcReqRepealField_SessionID_get, _thosttraderapi.CThostFtdcReqRepealField_SessionID_set, doc=r"""会话号""")
    CustomerName: "TThostFtdcIndividualNameType" = property(_thosttraderapi.CThostFtdcReqRepealField_CustomerName_get, _thosttraderapi.CThostFtdcReqRepealField_CustomerName_set, doc=r"""客户姓名""")
    IdCardType: "TThostFtdcIdCardTypeType" = property(_thosttraderapi.CThostFtdcReqRepealField_IdCardType_get, _thosttraderapi.CThostFtdcReqRepealField_IdCardType_set, doc=r"""证件类型""")
    IdentifiedCardNo: "TThostFtdcIdentifiedCardNoType" = property(_thosttraderapi.CThostFtdcReqRepealField_IdentifiedCardNo_get, _thosttraderapi.CThostFtdcReqRepealField_IdentifiedCardNo_set, doc=r"""证件号码""")
    CustType: "TThostFtdcCustTypeType" = property(_thosttraderapi.CThostFtdcReqRepealField_CustType_get, _thosttraderapi.CThostFtdcReqRepealField_CustType_set, doc=r"""客户类型""")
    BankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcReqRepealField_BankAccount_get, _thosttraderapi.CThostFtdcReqRepealField_BankAccount_set, doc=r"""银行帐号""")
    BankPassWord: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqRepealField_BankPassWord_get, _thosttraderapi.CThostFtdcReqRepealField_BankPassWord_set, doc=r"""银行密码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcReqRepealField_AccountID_get, _thosttraderapi.CThostFtdcReqRepealField_AccountID_set, doc=r"""投资者帐号""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqRepealField_Password_get, _thosttraderapi.CThostFtdcReqRepealField_Password_set, doc=r"""期货密码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcReqRepealField_InstallID_get, _thosttraderapi.CThostFtdcReqRepealField_InstallID_set, doc=r"""安装编号""")
    FutureSerial: "TThostFtdcFutureSerialType" = property(_thosttraderapi.CThostFtdcReqRepealField_FutureSerial_get, _thosttraderapi.CThostFtdcReqRepealField_FutureSerial_set, doc=r"""期货公司流水号""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcReqRepealField_UserID_get, _thosttraderapi.CThostFtdcReqRepealField_UserID_set, doc=r"""用户标识""")
    VerifyCertNoFlag: "TThostFtdcYesNoIndicatorType" = property(_thosttraderapi.CThostFtdcReqRepealField_VerifyCertNoFlag_get, _thosttraderapi.CThostFtdcReqRepealField_VerifyCertNoFlag_set, doc=r"""验证客户证件号码标志""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcReqRepealField_CurrencyID_get, _thosttraderapi.CThostFtdcReqRepealField_CurrencyID_set, doc=r"""币种代码""")
    TradeAmount: "TThostFtdcTradeAmountType" = property(_thosttraderapi.CThostFtdcReqRepealField_TradeAmount_get, _thosttraderapi.CThostFtdcReqRepealField_TradeAmount_set, doc=r"""转帐金额""")
    FutureFetchAmount: "TThostFtdcTradeAmountType" = property(_thosttraderapi.CThostFtdcReqRepealField_FutureFetchAmount_get, _thosttraderapi.CThostFtdcReqRepealField_FutureFetchAmount_set, doc=r"""期货可取金额""")
    FeePayFlag: "TThostFtdcFeePayFlagType" = property(_thosttraderapi.CThostFtdcReqRepealField_FeePayFlag_get, _thosttraderapi.CThostFtdcReqRepealField_FeePayFlag_set, doc=r"""费用支付标志""")
    CustFee: "TThostFtdcCustFeeType" = property(_thosttraderapi.CThostFtdcReqRepealField_CustFee_get, _thosttraderapi.CThostFtdcReqRepealField_CustFee_set, doc=r"""应收客户费用""")
    BrokerFee: "TThostFtdcFutureFeeType" = property(_thosttraderapi.CThostFtdcReqRepealField_BrokerFee_get, _thosttraderapi.CThostFtdcReqRepealField_BrokerFee_set, doc=r"""应收期货公司费用""")
    Message: "TThostFtdcAddInfoType" = property(_thosttraderapi.CThostFtdcReqRepealField_Message_get, _thosttraderapi.CThostFtdcReqRepealField_Message_set, doc=r"""发送方给接收方的消息""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcReqRepealField_Digest_get, _thosttraderapi.CThostFtdcReqRepealField_Digest_set, doc=r"""摘要""")
    BankAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcReqRepealField_BankAccType_get, _thosttraderapi.CThostFtdcReqRepealField_BankAccType_set, doc=r"""银行帐号类型""")
    DeviceID: "TThostFtdcDeviceIDType" = property(_thosttraderapi.CThostFtdcReqRepealField_DeviceID_get, _thosttraderapi.CThostFtdcReqRepealField_DeviceID_set, doc=r"""渠道标志""")
    BankSecuAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcReqRepealField_BankSecuAccType_get, _thosttraderapi.CThostFtdcReqRepealField_BankSecuAccType_set, doc=r"""期货单位帐号类型""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcReqRepealField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcReqRepealField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    BankSecuAcc: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcReqRepealField_BankSecuAcc_get, _thosttraderapi.CThostFtdcReqRepealField_BankSecuAcc_set, doc=r"""期货单位帐号""")
    BankPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcReqRepealField_BankPwdFlag_get, _thosttraderapi.CThostFtdcReqRepealField_BankPwdFlag_set, doc=r"""银行密码标志""")
    SecuPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcReqRepealField_SecuPwdFlag_get, _thosttraderapi.CThostFtdcReqRepealField_SecuPwdFlag_set, doc=r"""期货资金密码核对标志""")
    OperNo: "TThostFtdcOperNoType" = property(_thosttraderapi.CThostFtdcReqRepealField_OperNo_get, _thosttraderapi.CThostFtdcReqRepealField_OperNo_set, doc=r"""交易柜员""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcReqRepealField_RequestID_get, _thosttraderapi.CThostFtdcReqRepealField_RequestID_set, doc=r"""请求编号""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcReqRepealField_TID_get, _thosttraderapi.CThostFtdcReqRepealField_TID_set, doc=r"""交易ID""")
    TransferStatus: "TThostFtdcTransferStatusType" = property(_thosttraderapi.CThostFtdcReqRepealField_TransferStatus_get, _thosttraderapi.CThostFtdcReqRepealField_TransferStatus_set, doc=r"""转账交易状态""")
    LongCustomerName: "TThostFtdcLongIndividualNameType" = property(_thosttraderapi.CThostFtdcReqRepealField_LongCustomerName_get, _thosttraderapi.CThostFtdcReqRepealField_LongCustomerName_set, doc=r"""长客户姓名""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReqRepealField_swiginit(self, _thosttraderapi.new_CThostFtdcReqRepealField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReqRepealField

# Register CThostFtdcReqRepealField in _thosttraderapi:
_thosttraderapi.CThostFtdcReqRepealField_swigregister(CThostFtdcReqRepealField)
class CThostFtdcRspRepealField(object):
    r"""冲正响应"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    RepealTimeInterval: "TThostFtdcRepealTimeIntervalType" = property(_thosttraderapi.CThostFtdcRspRepealField_RepealTimeInterval_get, _thosttraderapi.CThostFtdcRspRepealField_RepealTimeInterval_set, doc=r"""冲正时间间隔""")
    RepealedTimes: "TThostFtdcRepealedTimesType" = property(_thosttraderapi.CThostFtdcRspRepealField_RepealedTimes_get, _thosttraderapi.CThostFtdcRspRepealField_RepealedTimes_set, doc=r"""已经冲正次数""")
    BankRepealFlag: "TThostFtdcBankRepealFlagType" = property(_thosttraderapi.CThostFtdcRspRepealField_BankRepealFlag_get, _thosttraderapi.CThostFtdcRspRepealField_BankRepealFlag_set, doc=r"""银行冲正标志""")
    BrokerRepealFlag: "TThostFtdcBrokerRepealFlagType" = property(_thosttraderapi.CThostFtdcRspRepealField_BrokerRepealFlag_get, _thosttraderapi.CThostFtdcRspRepealField_BrokerRepealFlag_set, doc=r"""期商冲正标志""")
    PlateRepealSerial: "TThostFtdcPlateSerialType" = property(_thosttraderapi.CThostFtdcRspRepealField_PlateRepealSerial_get, _thosttraderapi.CThostFtdcRspRepealField_PlateRepealSerial_set, doc=r"""被冲正平台流水号""")
    BankRepealSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcRspRepealField_BankRepealSerial_get, _thosttraderapi.CThostFtdcRspRepealField_BankRepealSerial_set, doc=r"""被冲正银行流水号""")
    FutureRepealSerial: "TThostFtdcFutureSerialType" = property(_thosttraderapi.CThostFtdcRspRepealField_FutureRepealSerial_get, _thosttraderapi.CThostFtdcRspRepealField_FutureRepealSerial_set, doc=r"""被冲正期货流水号""")
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcRspRepealField_TradeCode_get, _thosttraderapi.CThostFtdcRspRepealField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcRspRepealField_BankID_get, _thosttraderapi.CThostFtdcRspRepealField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcRspRepealField_BankBranchID_get, _thosttraderapi.CThostFtdcRspRepealField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcRspRepealField_BrokerID_get, _thosttraderapi.CThostFtdcRspRepealField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcRspRepealField_BrokerBranchID_get, _thosttraderapi.CThostFtdcRspRepealField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcRspRepealField_TradeDate_get, _thosttraderapi.CThostFtdcRspRepealField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcRspRepealField_TradeTime_get, _thosttraderapi.CThostFtdcRspRepealField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcRspRepealField_BankSerial_get, _thosttraderapi.CThostFtdcRspRepealField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcRspRepealField_TradingDay_get, _thosttraderapi.CThostFtdcRspRepealField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcRspRepealField_PlateSerial_get, _thosttraderapi.CThostFtdcRspRepealField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcRspRepealField_LastFragment_get, _thosttraderapi.CThostFtdcRspRepealField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcRspRepealField_SessionID_get, _thosttraderapi.CThostFtdcRspRepealField_SessionID_set, doc=r"""会话号""")
    CustomerName: "TThostFtdcIndividualNameType" = property(_thosttraderapi.CThostFtdcRspRepealField_CustomerName_get, _thosttraderapi.CThostFtdcRspRepealField_CustomerName_set, doc=r"""客户姓名""")
    IdCardType: "TThostFtdcIdCardTypeType" = property(_thosttraderapi.CThostFtdcRspRepealField_IdCardType_get, _thosttraderapi.CThostFtdcRspRepealField_IdCardType_set, doc=r"""证件类型""")
    IdentifiedCardNo: "TThostFtdcIdentifiedCardNoType" = property(_thosttraderapi.CThostFtdcRspRepealField_IdentifiedCardNo_get, _thosttraderapi.CThostFtdcRspRepealField_IdentifiedCardNo_set, doc=r"""证件号码""")
    CustType: "TThostFtdcCustTypeType" = property(_thosttraderapi.CThostFtdcRspRepealField_CustType_get, _thosttraderapi.CThostFtdcRspRepealField_CustType_set, doc=r"""客户类型""")
    BankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcRspRepealField_BankAccount_get, _thosttraderapi.CThostFtdcRspRepealField_BankAccount_set, doc=r"""银行帐号""")
    BankPassWord: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcRspRepealField_BankPassWord_get, _thosttraderapi.CThostFtdcRspRepealField_BankPassWord_set, doc=r"""银行密码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcRspRepealField_AccountID_get, _thosttraderapi.CThostFtdcRspRepealField_AccountID_set, doc=r"""投资者帐号""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcRspRepealField_Password_get, _thosttraderapi.CThostFtdcRspRepealField_Password_set, doc=r"""期货密码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcRspRepealField_InstallID_get, _thosttraderapi.CThostFtdcRspRepealField_InstallID_set, doc=r"""安装编号""")
    FutureSerial: "TThostFtdcFutureSerialType" = property(_thosttraderapi.CThostFtdcRspRepealField_FutureSerial_get, _thosttraderapi.CThostFtdcRspRepealField_FutureSerial_set, doc=r"""期货公司流水号""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcRspRepealField_UserID_get, _thosttraderapi.CThostFtdcRspRepealField_UserID_set, doc=r"""用户标识""")
    VerifyCertNoFlag: "TThostFtdcYesNoIndicatorType" = property(_thosttraderapi.CThostFtdcRspRepealField_VerifyCertNoFlag_get, _thosttraderapi.CThostFtdcRspRepealField_VerifyCertNoFlag_set, doc=r"""验证客户证件号码标志""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcRspRepealField_CurrencyID_get, _thosttraderapi.CThostFtdcRspRepealField_CurrencyID_set, doc=r"""币种代码""")
    TradeAmount: "TThostFtdcTradeAmountType" = property(_thosttraderapi.CThostFtdcRspRepealField_TradeAmount_get, _thosttraderapi.CThostFtdcRspRepealField_TradeAmount_set, doc=r"""转帐金额""")
    FutureFetchAmount: "TThostFtdcTradeAmountType" = property(_thosttraderapi.CThostFtdcRspRepealField_FutureFetchAmount_get, _thosttraderapi.CThostFtdcRspRepealField_FutureFetchAmount_set, doc=r"""期货可取金额""")
    FeePayFlag: "TThostFtdcFeePayFlagType" = property(_thosttraderapi.CThostFtdcRspRepealField_FeePayFlag_get, _thosttraderapi.CThostFtdcRspRepealField_FeePayFlag_set, doc=r"""费用支付标志""")
    CustFee: "TThostFtdcCustFeeType" = property(_thosttraderapi.CThostFtdcRspRepealField_CustFee_get, _thosttraderapi.CThostFtdcRspRepealField_CustFee_set, doc=r"""应收客户费用""")
    BrokerFee: "TThostFtdcFutureFeeType" = property(_thosttraderapi.CThostFtdcRspRepealField_BrokerFee_get, _thosttraderapi.CThostFtdcRspRepealField_BrokerFee_set, doc=r"""应收期货公司费用""")
    Message: "TThostFtdcAddInfoType" = property(_thosttraderapi.CThostFtdcRspRepealField_Message_get, _thosttraderapi.CThostFtdcRspRepealField_Message_set, doc=r"""发送方给接收方的消息""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcRspRepealField_Digest_get, _thosttraderapi.CThostFtdcRspRepealField_Digest_set, doc=r"""摘要""")
    BankAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcRspRepealField_BankAccType_get, _thosttraderapi.CThostFtdcRspRepealField_BankAccType_set, doc=r"""银行帐号类型""")
    DeviceID: "TThostFtdcDeviceIDType" = property(_thosttraderapi.CThostFtdcRspRepealField_DeviceID_get, _thosttraderapi.CThostFtdcRspRepealField_DeviceID_set, doc=r"""渠道标志""")
    BankSecuAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcRspRepealField_BankSecuAccType_get, _thosttraderapi.CThostFtdcRspRepealField_BankSecuAccType_set, doc=r"""期货单位帐号类型""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcRspRepealField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcRspRepealField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    BankSecuAcc: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcRspRepealField_BankSecuAcc_get, _thosttraderapi.CThostFtdcRspRepealField_BankSecuAcc_set, doc=r"""期货单位帐号""")
    BankPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcRspRepealField_BankPwdFlag_get, _thosttraderapi.CThostFtdcRspRepealField_BankPwdFlag_set, doc=r"""银行密码标志""")
    SecuPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcRspRepealField_SecuPwdFlag_get, _thosttraderapi.CThostFtdcRspRepealField_SecuPwdFlag_set, doc=r"""期货资金密码核对标志""")
    OperNo: "TThostFtdcOperNoType" = property(_thosttraderapi.CThostFtdcRspRepealField_OperNo_get, _thosttraderapi.CThostFtdcRspRepealField_OperNo_set, doc=r"""交易柜员""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcRspRepealField_RequestID_get, _thosttraderapi.CThostFtdcRspRepealField_RequestID_set, doc=r"""请求编号""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcRspRepealField_TID_get, _thosttraderapi.CThostFtdcRspRepealField_TID_set, doc=r"""交易ID""")
    TransferStatus: "TThostFtdcTransferStatusType" = property(_thosttraderapi.CThostFtdcRspRepealField_TransferStatus_get, _thosttraderapi.CThostFtdcRspRepealField_TransferStatus_set, doc=r"""转账交易状态""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcRspRepealField_ErrorID_get, _thosttraderapi.CThostFtdcRspRepealField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcRspRepealField_ErrorMsg_get, _thosttraderapi.CThostFtdcRspRepealField_ErrorMsg_set, doc=r"""错误信息""")
    LongCustomerName: "TThostFtdcLongIndividualNameType" = property(_thosttraderapi.CThostFtdcRspRepealField_LongCustomerName_get, _thosttraderapi.CThostFtdcRspRepealField_LongCustomerName_set, doc=r"""长客户姓名""")

    def __init__(self):
        _thosttraderapi.CThostFtdcRspRepealField_swiginit(self, _thosttraderapi.new_CThostFtdcRspRepealField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcRspRepealField

# Register CThostFtdcRspRepealField in _thosttraderapi:
_thosttraderapi.CThostFtdcRspRepealField_swigregister(CThostFtdcRspRepealField)
class CThostFtdcReqQueryAccountField(object):
    r"""查询账户信息请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_TradeCode_get, _thosttraderapi.CThostFtdcReqQueryAccountField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_BankID_get, _thosttraderapi.CThostFtdcReqQueryAccountField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_BankBranchID_get, _thosttraderapi.CThostFtdcReqQueryAccountField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_BrokerID_get, _thosttraderapi.CThostFtdcReqQueryAccountField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_BrokerBranchID_get, _thosttraderapi.CThostFtdcReqQueryAccountField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_TradeDate_get, _thosttraderapi.CThostFtdcReqQueryAccountField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_TradeTime_get, _thosttraderapi.CThostFtdcReqQueryAccountField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_BankSerial_get, _thosttraderapi.CThostFtdcReqQueryAccountField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_TradingDay_get, _thosttraderapi.CThostFtdcReqQueryAccountField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_PlateSerial_get, _thosttraderapi.CThostFtdcReqQueryAccountField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_LastFragment_get, _thosttraderapi.CThostFtdcReqQueryAccountField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_SessionID_get, _thosttraderapi.CThostFtdcReqQueryAccountField_SessionID_set, doc=r"""会话号""")
    CustomerName: "TThostFtdcIndividualNameType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_CustomerName_get, _thosttraderapi.CThostFtdcReqQueryAccountField_CustomerName_set, doc=r"""客户姓名""")
    IdCardType: "TThostFtdcIdCardTypeType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_IdCardType_get, _thosttraderapi.CThostFtdcReqQueryAccountField_IdCardType_set, doc=r"""证件类型""")
    IdentifiedCardNo: "TThostFtdcIdentifiedCardNoType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_IdentifiedCardNo_get, _thosttraderapi.CThostFtdcReqQueryAccountField_IdentifiedCardNo_set, doc=r"""证件号码""")
    CustType: "TThostFtdcCustTypeType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_CustType_get, _thosttraderapi.CThostFtdcReqQueryAccountField_CustType_set, doc=r"""客户类型""")
    BankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_BankAccount_get, _thosttraderapi.CThostFtdcReqQueryAccountField_BankAccount_set, doc=r"""银行帐号""")
    BankPassWord: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_BankPassWord_get, _thosttraderapi.CThostFtdcReqQueryAccountField_BankPassWord_set, doc=r"""银行密码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_AccountID_get, _thosttraderapi.CThostFtdcReqQueryAccountField_AccountID_set, doc=r"""投资者帐号""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_Password_get, _thosttraderapi.CThostFtdcReqQueryAccountField_Password_set, doc=r"""期货密码""")
    FutureSerial: "TThostFtdcFutureSerialType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_FutureSerial_get, _thosttraderapi.CThostFtdcReqQueryAccountField_FutureSerial_set, doc=r"""期货公司流水号""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_InstallID_get, _thosttraderapi.CThostFtdcReqQueryAccountField_InstallID_set, doc=r"""安装编号""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_UserID_get, _thosttraderapi.CThostFtdcReqQueryAccountField_UserID_set, doc=r"""用户标识""")
    VerifyCertNoFlag: "TThostFtdcYesNoIndicatorType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_VerifyCertNoFlag_get, _thosttraderapi.CThostFtdcReqQueryAccountField_VerifyCertNoFlag_set, doc=r"""验证客户证件号码标志""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_CurrencyID_get, _thosttraderapi.CThostFtdcReqQueryAccountField_CurrencyID_set, doc=r"""币种代码""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_Digest_get, _thosttraderapi.CThostFtdcReqQueryAccountField_Digest_set, doc=r"""摘要""")
    BankAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_BankAccType_get, _thosttraderapi.CThostFtdcReqQueryAccountField_BankAccType_set, doc=r"""银行帐号类型""")
    DeviceID: "TThostFtdcDeviceIDType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_DeviceID_get, _thosttraderapi.CThostFtdcReqQueryAccountField_DeviceID_set, doc=r"""渠道标志""")
    BankSecuAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_BankSecuAccType_get, _thosttraderapi.CThostFtdcReqQueryAccountField_BankSecuAccType_set, doc=r"""期货单位帐号类型""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcReqQueryAccountField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    BankSecuAcc: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_BankSecuAcc_get, _thosttraderapi.CThostFtdcReqQueryAccountField_BankSecuAcc_set, doc=r"""期货单位帐号""")
    BankPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_BankPwdFlag_get, _thosttraderapi.CThostFtdcReqQueryAccountField_BankPwdFlag_set, doc=r"""银行密码标志""")
    SecuPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_SecuPwdFlag_get, _thosttraderapi.CThostFtdcReqQueryAccountField_SecuPwdFlag_set, doc=r"""期货资金密码核对标志""")
    OperNo: "TThostFtdcOperNoType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_OperNo_get, _thosttraderapi.CThostFtdcReqQueryAccountField_OperNo_set, doc=r"""交易柜员""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_RequestID_get, _thosttraderapi.CThostFtdcReqQueryAccountField_RequestID_set, doc=r"""请求编号""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_TID_get, _thosttraderapi.CThostFtdcReqQueryAccountField_TID_set, doc=r"""交易ID""")
    LongCustomerName: "TThostFtdcLongIndividualNameType" = property(_thosttraderapi.CThostFtdcReqQueryAccountField_LongCustomerName_get, _thosttraderapi.CThostFtdcReqQueryAccountField_LongCustomerName_set, doc=r"""长客户姓名""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReqQueryAccountField_swiginit(self, _thosttraderapi.new_CThostFtdcReqQueryAccountField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReqQueryAccountField

# Register CThostFtdcReqQueryAccountField in _thosttraderapi:
_thosttraderapi.CThostFtdcReqQueryAccountField_swigregister(CThostFtdcReqQueryAccountField)
class CThostFtdcRspQueryAccountField(object):
    r"""查询账户信息响应"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_TradeCode_get, _thosttraderapi.CThostFtdcRspQueryAccountField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_BankID_get, _thosttraderapi.CThostFtdcRspQueryAccountField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_BankBranchID_get, _thosttraderapi.CThostFtdcRspQueryAccountField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_BrokerID_get, _thosttraderapi.CThostFtdcRspQueryAccountField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_BrokerBranchID_get, _thosttraderapi.CThostFtdcRspQueryAccountField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_TradeDate_get, _thosttraderapi.CThostFtdcRspQueryAccountField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_TradeTime_get, _thosttraderapi.CThostFtdcRspQueryAccountField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_BankSerial_get, _thosttraderapi.CThostFtdcRspQueryAccountField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_TradingDay_get, _thosttraderapi.CThostFtdcRspQueryAccountField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_PlateSerial_get, _thosttraderapi.CThostFtdcRspQueryAccountField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_LastFragment_get, _thosttraderapi.CThostFtdcRspQueryAccountField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_SessionID_get, _thosttraderapi.CThostFtdcRspQueryAccountField_SessionID_set, doc=r"""会话号""")
    CustomerName: "TThostFtdcIndividualNameType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_CustomerName_get, _thosttraderapi.CThostFtdcRspQueryAccountField_CustomerName_set, doc=r"""客户姓名""")
    IdCardType: "TThostFtdcIdCardTypeType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_IdCardType_get, _thosttraderapi.CThostFtdcRspQueryAccountField_IdCardType_set, doc=r"""证件类型""")
    IdentifiedCardNo: "TThostFtdcIdentifiedCardNoType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_IdentifiedCardNo_get, _thosttraderapi.CThostFtdcRspQueryAccountField_IdentifiedCardNo_set, doc=r"""证件号码""")
    CustType: "TThostFtdcCustTypeType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_CustType_get, _thosttraderapi.CThostFtdcRspQueryAccountField_CustType_set, doc=r"""客户类型""")
    BankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_BankAccount_get, _thosttraderapi.CThostFtdcRspQueryAccountField_BankAccount_set, doc=r"""银行帐号""")
    BankPassWord: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_BankPassWord_get, _thosttraderapi.CThostFtdcRspQueryAccountField_BankPassWord_set, doc=r"""银行密码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_AccountID_get, _thosttraderapi.CThostFtdcRspQueryAccountField_AccountID_set, doc=r"""投资者帐号""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_Password_get, _thosttraderapi.CThostFtdcRspQueryAccountField_Password_set, doc=r"""期货密码""")
    FutureSerial: "TThostFtdcFutureSerialType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_FutureSerial_get, _thosttraderapi.CThostFtdcRspQueryAccountField_FutureSerial_set, doc=r"""期货公司流水号""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_InstallID_get, _thosttraderapi.CThostFtdcRspQueryAccountField_InstallID_set, doc=r"""安装编号""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_UserID_get, _thosttraderapi.CThostFtdcRspQueryAccountField_UserID_set, doc=r"""用户标识""")
    VerifyCertNoFlag: "TThostFtdcYesNoIndicatorType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_VerifyCertNoFlag_get, _thosttraderapi.CThostFtdcRspQueryAccountField_VerifyCertNoFlag_set, doc=r"""验证客户证件号码标志""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_CurrencyID_get, _thosttraderapi.CThostFtdcRspQueryAccountField_CurrencyID_set, doc=r"""币种代码""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_Digest_get, _thosttraderapi.CThostFtdcRspQueryAccountField_Digest_set, doc=r"""摘要""")
    BankAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_BankAccType_get, _thosttraderapi.CThostFtdcRspQueryAccountField_BankAccType_set, doc=r"""银行帐号类型""")
    DeviceID: "TThostFtdcDeviceIDType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_DeviceID_get, _thosttraderapi.CThostFtdcRspQueryAccountField_DeviceID_set, doc=r"""渠道标志""")
    BankSecuAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_BankSecuAccType_get, _thosttraderapi.CThostFtdcRspQueryAccountField_BankSecuAccType_set, doc=r"""期货单位帐号类型""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcRspQueryAccountField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    BankSecuAcc: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_BankSecuAcc_get, _thosttraderapi.CThostFtdcRspQueryAccountField_BankSecuAcc_set, doc=r"""期货单位帐号""")
    BankPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_BankPwdFlag_get, _thosttraderapi.CThostFtdcRspQueryAccountField_BankPwdFlag_set, doc=r"""银行密码标志""")
    SecuPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_SecuPwdFlag_get, _thosttraderapi.CThostFtdcRspQueryAccountField_SecuPwdFlag_set, doc=r"""期货资金密码核对标志""")
    OperNo: "TThostFtdcOperNoType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_OperNo_get, _thosttraderapi.CThostFtdcRspQueryAccountField_OperNo_set, doc=r"""交易柜员""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_RequestID_get, _thosttraderapi.CThostFtdcRspQueryAccountField_RequestID_set, doc=r"""请求编号""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_TID_get, _thosttraderapi.CThostFtdcRspQueryAccountField_TID_set, doc=r"""交易ID""")
    BankUseAmount: "TThostFtdcTradeAmountType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_BankUseAmount_get, _thosttraderapi.CThostFtdcRspQueryAccountField_BankUseAmount_set, doc=r"""银行可用金额""")
    BankFetchAmount: "TThostFtdcTradeAmountType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_BankFetchAmount_get, _thosttraderapi.CThostFtdcRspQueryAccountField_BankFetchAmount_set, doc=r"""银行可取金额""")
    LongCustomerName: "TThostFtdcLongIndividualNameType" = property(_thosttraderapi.CThostFtdcRspQueryAccountField_LongCustomerName_get, _thosttraderapi.CThostFtdcRspQueryAccountField_LongCustomerName_set, doc=r"""长客户姓名""")

    def __init__(self):
        _thosttraderapi.CThostFtdcRspQueryAccountField_swiginit(self, _thosttraderapi.new_CThostFtdcRspQueryAccountField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcRspQueryAccountField

# Register CThostFtdcRspQueryAccountField in _thosttraderapi:
_thosttraderapi.CThostFtdcRspQueryAccountField_swigregister(CThostFtdcRspQueryAccountField)
class CThostFtdcFutureSignIOField(object):
    r"""期商签到签退"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcFutureSignIOField_TradeCode_get, _thosttraderapi.CThostFtdcFutureSignIOField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcFutureSignIOField_BankID_get, _thosttraderapi.CThostFtdcFutureSignIOField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcFutureSignIOField_BankBranchID_get, _thosttraderapi.CThostFtdcFutureSignIOField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcFutureSignIOField_BrokerID_get, _thosttraderapi.CThostFtdcFutureSignIOField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcFutureSignIOField_BrokerBranchID_get, _thosttraderapi.CThostFtdcFutureSignIOField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcFutureSignIOField_TradeDate_get, _thosttraderapi.CThostFtdcFutureSignIOField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcFutureSignIOField_TradeTime_get, _thosttraderapi.CThostFtdcFutureSignIOField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcFutureSignIOField_BankSerial_get, _thosttraderapi.CThostFtdcFutureSignIOField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcFutureSignIOField_TradingDay_get, _thosttraderapi.CThostFtdcFutureSignIOField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcFutureSignIOField_PlateSerial_get, _thosttraderapi.CThostFtdcFutureSignIOField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcFutureSignIOField_LastFragment_get, _thosttraderapi.CThostFtdcFutureSignIOField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcFutureSignIOField_SessionID_get, _thosttraderapi.CThostFtdcFutureSignIOField_SessionID_set, doc=r"""会话号""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcFutureSignIOField_InstallID_get, _thosttraderapi.CThostFtdcFutureSignIOField_InstallID_set, doc=r"""安装编号""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcFutureSignIOField_UserID_get, _thosttraderapi.CThostFtdcFutureSignIOField_UserID_set, doc=r"""用户标识""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcFutureSignIOField_Digest_get, _thosttraderapi.CThostFtdcFutureSignIOField_Digest_set, doc=r"""摘要""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcFutureSignIOField_CurrencyID_get, _thosttraderapi.CThostFtdcFutureSignIOField_CurrencyID_set, doc=r"""币种代码""")
    DeviceID: "TThostFtdcDeviceIDType" = property(_thosttraderapi.CThostFtdcFutureSignIOField_DeviceID_get, _thosttraderapi.CThostFtdcFutureSignIOField_DeviceID_set, doc=r"""渠道标志""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcFutureSignIOField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcFutureSignIOField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    OperNo: "TThostFtdcOperNoType" = property(_thosttraderapi.CThostFtdcFutureSignIOField_OperNo_get, _thosttraderapi.CThostFtdcFutureSignIOField_OperNo_set, doc=r"""交易柜员""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcFutureSignIOField_RequestID_get, _thosttraderapi.CThostFtdcFutureSignIOField_RequestID_set, doc=r"""请求编号""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcFutureSignIOField_TID_get, _thosttraderapi.CThostFtdcFutureSignIOField_TID_set, doc=r"""交易ID""")

    def __init__(self):
        _thosttraderapi.CThostFtdcFutureSignIOField_swiginit(self, _thosttraderapi.new_CThostFtdcFutureSignIOField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcFutureSignIOField

# Register CThostFtdcFutureSignIOField in _thosttraderapi:
_thosttraderapi.CThostFtdcFutureSignIOField_swigregister(CThostFtdcFutureSignIOField)
class CThostFtdcRspFutureSignInField(object):
    r"""期商签到响应"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_TradeCode_get, _thosttraderapi.CThostFtdcRspFutureSignInField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_BankID_get, _thosttraderapi.CThostFtdcRspFutureSignInField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_BankBranchID_get, _thosttraderapi.CThostFtdcRspFutureSignInField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_BrokerID_get, _thosttraderapi.CThostFtdcRspFutureSignInField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_BrokerBranchID_get, _thosttraderapi.CThostFtdcRspFutureSignInField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_TradeDate_get, _thosttraderapi.CThostFtdcRspFutureSignInField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_TradeTime_get, _thosttraderapi.CThostFtdcRspFutureSignInField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_BankSerial_get, _thosttraderapi.CThostFtdcRspFutureSignInField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_TradingDay_get, _thosttraderapi.CThostFtdcRspFutureSignInField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_PlateSerial_get, _thosttraderapi.CThostFtdcRspFutureSignInField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_LastFragment_get, _thosttraderapi.CThostFtdcRspFutureSignInField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_SessionID_get, _thosttraderapi.CThostFtdcRspFutureSignInField_SessionID_set, doc=r"""会话号""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_InstallID_get, _thosttraderapi.CThostFtdcRspFutureSignInField_InstallID_set, doc=r"""安装编号""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_UserID_get, _thosttraderapi.CThostFtdcRspFutureSignInField_UserID_set, doc=r"""用户标识""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_Digest_get, _thosttraderapi.CThostFtdcRspFutureSignInField_Digest_set, doc=r"""摘要""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_CurrencyID_get, _thosttraderapi.CThostFtdcRspFutureSignInField_CurrencyID_set, doc=r"""币种代码""")
    DeviceID: "TThostFtdcDeviceIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_DeviceID_get, _thosttraderapi.CThostFtdcRspFutureSignInField_DeviceID_set, doc=r"""渠道标志""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcRspFutureSignInField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    OperNo: "TThostFtdcOperNoType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_OperNo_get, _thosttraderapi.CThostFtdcRspFutureSignInField_OperNo_set, doc=r"""交易柜员""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_RequestID_get, _thosttraderapi.CThostFtdcRspFutureSignInField_RequestID_set, doc=r"""请求编号""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_TID_get, _thosttraderapi.CThostFtdcRspFutureSignInField_TID_set, doc=r"""交易ID""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_ErrorID_get, _thosttraderapi.CThostFtdcRspFutureSignInField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_ErrorMsg_get, _thosttraderapi.CThostFtdcRspFutureSignInField_ErrorMsg_set, doc=r"""错误信息""")
    PinKey: "TThostFtdcPasswordKeyType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_PinKey_get, _thosttraderapi.CThostFtdcRspFutureSignInField_PinKey_set, doc=r"""PIN密钥""")
    MacKey: "TThostFtdcPasswordKeyType" = property(_thosttraderapi.CThostFtdcRspFutureSignInField_MacKey_get, _thosttraderapi.CThostFtdcRspFutureSignInField_MacKey_set, doc=r"""MAC密钥""")

    def __init__(self):
        _thosttraderapi.CThostFtdcRspFutureSignInField_swiginit(self, _thosttraderapi.new_CThostFtdcRspFutureSignInField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcRspFutureSignInField

# Register CThostFtdcRspFutureSignInField in _thosttraderapi:
_thosttraderapi.CThostFtdcRspFutureSignInField_swigregister(CThostFtdcRspFutureSignInField)
class CThostFtdcReqFutureSignOutField(object):
    r"""期商签退请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcReqFutureSignOutField_TradeCode_get, _thosttraderapi.CThostFtdcReqFutureSignOutField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcReqFutureSignOutField_BankID_get, _thosttraderapi.CThostFtdcReqFutureSignOutField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcReqFutureSignOutField_BankBranchID_get, _thosttraderapi.CThostFtdcReqFutureSignOutField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcReqFutureSignOutField_BrokerID_get, _thosttraderapi.CThostFtdcReqFutureSignOutField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcReqFutureSignOutField_BrokerBranchID_get, _thosttraderapi.CThostFtdcReqFutureSignOutField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReqFutureSignOutField_TradeDate_get, _thosttraderapi.CThostFtdcReqFutureSignOutField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcReqFutureSignOutField_TradeTime_get, _thosttraderapi.CThostFtdcReqFutureSignOutField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcReqFutureSignOutField_BankSerial_get, _thosttraderapi.CThostFtdcReqFutureSignOutField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReqFutureSignOutField_TradingDay_get, _thosttraderapi.CThostFtdcReqFutureSignOutField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcReqFutureSignOutField_PlateSerial_get, _thosttraderapi.CThostFtdcReqFutureSignOutField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcReqFutureSignOutField_LastFragment_get, _thosttraderapi.CThostFtdcReqFutureSignOutField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcReqFutureSignOutField_SessionID_get, _thosttraderapi.CThostFtdcReqFutureSignOutField_SessionID_set, doc=r"""会话号""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcReqFutureSignOutField_InstallID_get, _thosttraderapi.CThostFtdcReqFutureSignOutField_InstallID_set, doc=r"""安装编号""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcReqFutureSignOutField_UserID_get, _thosttraderapi.CThostFtdcReqFutureSignOutField_UserID_set, doc=r"""用户标识""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcReqFutureSignOutField_Digest_get, _thosttraderapi.CThostFtdcReqFutureSignOutField_Digest_set, doc=r"""摘要""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcReqFutureSignOutField_CurrencyID_get, _thosttraderapi.CThostFtdcReqFutureSignOutField_CurrencyID_set, doc=r"""币种代码""")
    DeviceID: "TThostFtdcDeviceIDType" = property(_thosttraderapi.CThostFtdcReqFutureSignOutField_DeviceID_get, _thosttraderapi.CThostFtdcReqFutureSignOutField_DeviceID_set, doc=r"""渠道标志""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcReqFutureSignOutField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcReqFutureSignOutField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    OperNo: "TThostFtdcOperNoType" = property(_thosttraderapi.CThostFtdcReqFutureSignOutField_OperNo_get, _thosttraderapi.CThostFtdcReqFutureSignOutField_OperNo_set, doc=r"""交易柜员""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcReqFutureSignOutField_RequestID_get, _thosttraderapi.CThostFtdcReqFutureSignOutField_RequestID_set, doc=r"""请求编号""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcReqFutureSignOutField_TID_get, _thosttraderapi.CThostFtdcReqFutureSignOutField_TID_set, doc=r"""交易ID""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReqFutureSignOutField_swiginit(self, _thosttraderapi.new_CThostFtdcReqFutureSignOutField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReqFutureSignOutField

# Register CThostFtdcReqFutureSignOutField in _thosttraderapi:
_thosttraderapi.CThostFtdcReqFutureSignOutField_swigregister(CThostFtdcReqFutureSignOutField)
class CThostFtdcRspFutureSignOutField(object):
    r"""期商签退响应"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcRspFutureSignOutField_TradeCode_get, _thosttraderapi.CThostFtdcRspFutureSignOutField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignOutField_BankID_get, _thosttraderapi.CThostFtdcRspFutureSignOutField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignOutField_BankBranchID_get, _thosttraderapi.CThostFtdcRspFutureSignOutField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignOutField_BrokerID_get, _thosttraderapi.CThostFtdcRspFutureSignOutField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignOutField_BrokerBranchID_get, _thosttraderapi.CThostFtdcRspFutureSignOutField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcRspFutureSignOutField_TradeDate_get, _thosttraderapi.CThostFtdcRspFutureSignOutField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcRspFutureSignOutField_TradeTime_get, _thosttraderapi.CThostFtdcRspFutureSignOutField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcRspFutureSignOutField_BankSerial_get, _thosttraderapi.CThostFtdcRspFutureSignOutField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcRspFutureSignOutField_TradingDay_get, _thosttraderapi.CThostFtdcRspFutureSignOutField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcRspFutureSignOutField_PlateSerial_get, _thosttraderapi.CThostFtdcRspFutureSignOutField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcRspFutureSignOutField_LastFragment_get, _thosttraderapi.CThostFtdcRspFutureSignOutField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignOutField_SessionID_get, _thosttraderapi.CThostFtdcRspFutureSignOutField_SessionID_set, doc=r"""会话号""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignOutField_InstallID_get, _thosttraderapi.CThostFtdcRspFutureSignOutField_InstallID_set, doc=r"""安装编号""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignOutField_UserID_get, _thosttraderapi.CThostFtdcRspFutureSignOutField_UserID_set, doc=r"""用户标识""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcRspFutureSignOutField_Digest_get, _thosttraderapi.CThostFtdcRspFutureSignOutField_Digest_set, doc=r"""摘要""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignOutField_CurrencyID_get, _thosttraderapi.CThostFtdcRspFutureSignOutField_CurrencyID_set, doc=r"""币种代码""")
    DeviceID: "TThostFtdcDeviceIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignOutField_DeviceID_get, _thosttraderapi.CThostFtdcRspFutureSignOutField_DeviceID_set, doc=r"""渠道标志""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcRspFutureSignOutField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcRspFutureSignOutField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    OperNo: "TThostFtdcOperNoType" = property(_thosttraderapi.CThostFtdcRspFutureSignOutField_OperNo_get, _thosttraderapi.CThostFtdcRspFutureSignOutField_OperNo_set, doc=r"""交易柜员""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignOutField_RequestID_get, _thosttraderapi.CThostFtdcRspFutureSignOutField_RequestID_set, doc=r"""请求编号""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignOutField_TID_get, _thosttraderapi.CThostFtdcRspFutureSignOutField_TID_set, doc=r"""交易ID""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcRspFutureSignOutField_ErrorID_get, _thosttraderapi.CThostFtdcRspFutureSignOutField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcRspFutureSignOutField_ErrorMsg_get, _thosttraderapi.CThostFtdcRspFutureSignOutField_ErrorMsg_set, doc=r"""错误信息""")

    def __init__(self):
        _thosttraderapi.CThostFtdcRspFutureSignOutField_swiginit(self, _thosttraderapi.new_CThostFtdcRspFutureSignOutField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcRspFutureSignOutField

# Register CThostFtdcRspFutureSignOutField in _thosttraderapi:
_thosttraderapi.CThostFtdcRspFutureSignOutField_swigregister(CThostFtdcRspFutureSignOutField)
class CThostFtdcReqQueryTradeResultBySerialField(object):
    r"""查询指定流水号的交易结果请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_TradeCode_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_BankID_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_BankBranchID_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_BrokerID_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_BrokerBranchID_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_TradeDate_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_TradeTime_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_BankSerial_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_TradingDay_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_PlateSerial_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_LastFragment_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_SessionID_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_SessionID_set, doc=r"""会话号""")
    Reference: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_Reference_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_Reference_set, doc=r"""流水号""")
    RefrenceIssureType: "TThostFtdcInstitutionTypeType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_RefrenceIssureType_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_RefrenceIssureType_set, doc=r"""本流水号发布者的机构类型""")
    RefrenceIssure: "TThostFtdcOrganCodeType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_RefrenceIssure_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_RefrenceIssure_set, doc=r"""本流水号发布者机构编码""")
    CustomerName: "TThostFtdcIndividualNameType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_CustomerName_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_CustomerName_set, doc=r"""客户姓名""")
    IdCardType: "TThostFtdcIdCardTypeType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_IdCardType_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_IdCardType_set, doc=r"""证件类型""")
    IdentifiedCardNo: "TThostFtdcIdentifiedCardNoType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_IdentifiedCardNo_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_IdentifiedCardNo_set, doc=r"""证件号码""")
    CustType: "TThostFtdcCustTypeType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_CustType_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_CustType_set, doc=r"""客户类型""")
    BankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_BankAccount_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_BankAccount_set, doc=r"""银行帐号""")
    BankPassWord: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_BankPassWord_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_BankPassWord_set, doc=r"""银行密码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_AccountID_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_AccountID_set, doc=r"""投资者帐号""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_Password_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_Password_set, doc=r"""期货密码""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_CurrencyID_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_CurrencyID_set, doc=r"""币种代码""")
    TradeAmount: "TThostFtdcTradeAmountType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_TradeAmount_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_TradeAmount_set, doc=r"""转帐金额""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_Digest_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_Digest_set, doc=r"""摘要""")
    LongCustomerName: "TThostFtdcLongIndividualNameType" = property(_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_LongCustomerName_get, _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_LongCustomerName_set, doc=r"""长客户姓名""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_swiginit(self, _thosttraderapi.new_CThostFtdcReqQueryTradeResultBySerialField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReqQueryTradeResultBySerialField

# Register CThostFtdcReqQueryTradeResultBySerialField in _thosttraderapi:
_thosttraderapi.CThostFtdcReqQueryTradeResultBySerialField_swigregister(CThostFtdcReqQueryTradeResultBySerialField)
class CThostFtdcRspQueryTradeResultBySerialField(object):
    r"""查询指定流水号的交易结果响应"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_TradeCode_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_BankID_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_BankBranchID_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_BrokerID_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_BrokerBranchID_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_TradeDate_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_TradeTime_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_BankSerial_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_TradingDay_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_PlateSerial_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_LastFragment_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_SessionID_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_SessionID_set, doc=r"""会话号""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_ErrorID_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_ErrorMsg_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_ErrorMsg_set, doc=r"""错误信息""")
    Reference: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_Reference_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_Reference_set, doc=r"""流水号""")
    RefrenceIssureType: "TThostFtdcInstitutionTypeType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_RefrenceIssureType_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_RefrenceIssureType_set, doc=r"""本流水号发布者的机构类型""")
    RefrenceIssure: "TThostFtdcOrganCodeType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_RefrenceIssure_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_RefrenceIssure_set, doc=r"""本流水号发布者机构编码""")
    OriginReturnCode: "TThostFtdcReturnCodeType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_OriginReturnCode_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_OriginReturnCode_set, doc=r"""原始返回代码""")
    OriginDescrInfoForReturnCode: "TThostFtdcDescrInfoForReturnCodeType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_OriginDescrInfoForReturnCode_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_OriginDescrInfoForReturnCode_set, doc=r"""原始返回码描述""")
    BankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_BankAccount_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_BankAccount_set, doc=r"""银行帐号""")
    BankPassWord: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_BankPassWord_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_BankPassWord_set, doc=r"""银行密码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_AccountID_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_AccountID_set, doc=r"""投资者帐号""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_Password_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_Password_set, doc=r"""期货密码""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_CurrencyID_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_CurrencyID_set, doc=r"""币种代码""")
    TradeAmount: "TThostFtdcTradeAmountType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_TradeAmount_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_TradeAmount_set, doc=r"""转帐金额""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_Digest_get, _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_Digest_set, doc=r"""摘要""")

    def __init__(self):
        _thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_swiginit(self, _thosttraderapi.new_CThostFtdcRspQueryTradeResultBySerialField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcRspQueryTradeResultBySerialField

# Register CThostFtdcRspQueryTradeResultBySerialField in _thosttraderapi:
_thosttraderapi.CThostFtdcRspQueryTradeResultBySerialField_swigregister(CThostFtdcRspQueryTradeResultBySerialField)
class CThostFtdcReqDayEndFileReadyField(object):
    r"""日终文件就绪请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcReqDayEndFileReadyField_TradeCode_get, _thosttraderapi.CThostFtdcReqDayEndFileReadyField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcReqDayEndFileReadyField_BankID_get, _thosttraderapi.CThostFtdcReqDayEndFileReadyField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcReqDayEndFileReadyField_BankBranchID_get, _thosttraderapi.CThostFtdcReqDayEndFileReadyField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcReqDayEndFileReadyField_BrokerID_get, _thosttraderapi.CThostFtdcReqDayEndFileReadyField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcReqDayEndFileReadyField_BrokerBranchID_get, _thosttraderapi.CThostFtdcReqDayEndFileReadyField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReqDayEndFileReadyField_TradeDate_get, _thosttraderapi.CThostFtdcReqDayEndFileReadyField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcReqDayEndFileReadyField_TradeTime_get, _thosttraderapi.CThostFtdcReqDayEndFileReadyField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcReqDayEndFileReadyField_BankSerial_get, _thosttraderapi.CThostFtdcReqDayEndFileReadyField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReqDayEndFileReadyField_TradingDay_get, _thosttraderapi.CThostFtdcReqDayEndFileReadyField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcReqDayEndFileReadyField_PlateSerial_get, _thosttraderapi.CThostFtdcReqDayEndFileReadyField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcReqDayEndFileReadyField_LastFragment_get, _thosttraderapi.CThostFtdcReqDayEndFileReadyField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcReqDayEndFileReadyField_SessionID_get, _thosttraderapi.CThostFtdcReqDayEndFileReadyField_SessionID_set, doc=r"""会话号""")
    FileBusinessCode: "TThostFtdcFileBusinessCodeType" = property(_thosttraderapi.CThostFtdcReqDayEndFileReadyField_FileBusinessCode_get, _thosttraderapi.CThostFtdcReqDayEndFileReadyField_FileBusinessCode_set, doc=r"""文件业务功能""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcReqDayEndFileReadyField_Digest_get, _thosttraderapi.CThostFtdcReqDayEndFileReadyField_Digest_set, doc=r"""摘要""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReqDayEndFileReadyField_swiginit(self, _thosttraderapi.new_CThostFtdcReqDayEndFileReadyField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReqDayEndFileReadyField

# Register CThostFtdcReqDayEndFileReadyField in _thosttraderapi:
_thosttraderapi.CThostFtdcReqDayEndFileReadyField_swigregister(CThostFtdcReqDayEndFileReadyField)
class CThostFtdcReturnResultField(object):
    r"""返回结果"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ReturnCode: "TThostFtdcReturnCodeType" = property(_thosttraderapi.CThostFtdcReturnResultField_ReturnCode_get, _thosttraderapi.CThostFtdcReturnResultField_ReturnCode_set, doc=r"""返回代码""")
    DescrInfoForReturnCode: "TThostFtdcDescrInfoForReturnCodeType" = property(_thosttraderapi.CThostFtdcReturnResultField_DescrInfoForReturnCode_get, _thosttraderapi.CThostFtdcReturnResultField_DescrInfoForReturnCode_set, doc=r"""返回码描述""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReturnResultField_swiginit(self, _thosttraderapi.new_CThostFtdcReturnResultField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReturnResultField

# Register CThostFtdcReturnResultField in _thosttraderapi:
_thosttraderapi.CThostFtdcReturnResultField_swigregister(CThostFtdcReturnResultField)
class CThostFtdcVerifyFuturePasswordField(object):
    r"""验证期货资金密码"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordField_TradeCode_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordField_BankID_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordField_BankBranchID_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordField_BrokerID_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordField_BrokerBranchID_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordField_TradeDate_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordField_TradeTime_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordField_BankSerial_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordField_TradingDay_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordField_PlateSerial_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordField_LastFragment_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordField_SessionID_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordField_SessionID_set, doc=r"""会话号""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordField_AccountID_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordField_AccountID_set, doc=r"""投资者帐号""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordField_Password_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordField_Password_set, doc=r"""期货密码""")
    BankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordField_BankAccount_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordField_BankAccount_set, doc=r"""银行帐号""")
    BankPassWord: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordField_BankPassWord_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordField_BankPassWord_set, doc=r"""银行密码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordField_InstallID_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordField_InstallID_set, doc=r"""安装编号""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordField_TID_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordField_TID_set, doc=r"""交易ID""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordField_CurrencyID_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordField_CurrencyID_set, doc=r"""币种代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcVerifyFuturePasswordField_swiginit(self, _thosttraderapi.new_CThostFtdcVerifyFuturePasswordField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcVerifyFuturePasswordField

# Register CThostFtdcVerifyFuturePasswordField in _thosttraderapi:
_thosttraderapi.CThostFtdcVerifyFuturePasswordField_swigregister(CThostFtdcVerifyFuturePasswordField)
class CThostFtdcVerifyCustInfoField(object):
    r"""验证客户信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    CustomerName: "TThostFtdcIndividualNameType" = property(_thosttraderapi.CThostFtdcVerifyCustInfoField_CustomerName_get, _thosttraderapi.CThostFtdcVerifyCustInfoField_CustomerName_set, doc=r"""客户姓名""")
    IdCardType: "TThostFtdcIdCardTypeType" = property(_thosttraderapi.CThostFtdcVerifyCustInfoField_IdCardType_get, _thosttraderapi.CThostFtdcVerifyCustInfoField_IdCardType_set, doc=r"""证件类型""")
    IdentifiedCardNo: "TThostFtdcIdentifiedCardNoType" = property(_thosttraderapi.CThostFtdcVerifyCustInfoField_IdentifiedCardNo_get, _thosttraderapi.CThostFtdcVerifyCustInfoField_IdentifiedCardNo_set, doc=r"""证件号码""")
    CustType: "TThostFtdcCustTypeType" = property(_thosttraderapi.CThostFtdcVerifyCustInfoField_CustType_get, _thosttraderapi.CThostFtdcVerifyCustInfoField_CustType_set, doc=r"""客户类型""")
    LongCustomerName: "TThostFtdcLongIndividualNameType" = property(_thosttraderapi.CThostFtdcVerifyCustInfoField_LongCustomerName_get, _thosttraderapi.CThostFtdcVerifyCustInfoField_LongCustomerName_set, doc=r"""长客户姓名""")

    def __init__(self):
        _thosttraderapi.CThostFtdcVerifyCustInfoField_swiginit(self, _thosttraderapi.new_CThostFtdcVerifyCustInfoField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcVerifyCustInfoField

# Register CThostFtdcVerifyCustInfoField in _thosttraderapi:
_thosttraderapi.CThostFtdcVerifyCustInfoField_swigregister(CThostFtdcVerifyCustInfoField)
class CThostFtdcVerifyFuturePasswordAndCustInfoField(object):
    r"""验证期货资金密码和客户信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    CustomerName: "TThostFtdcIndividualNameType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordAndCustInfoField_CustomerName_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordAndCustInfoField_CustomerName_set, doc=r"""客户姓名""")
    IdCardType: "TThostFtdcIdCardTypeType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordAndCustInfoField_IdCardType_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordAndCustInfoField_IdCardType_set, doc=r"""证件类型""")
    IdentifiedCardNo: "TThostFtdcIdentifiedCardNoType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordAndCustInfoField_IdentifiedCardNo_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordAndCustInfoField_IdentifiedCardNo_set, doc=r"""证件号码""")
    CustType: "TThostFtdcCustTypeType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordAndCustInfoField_CustType_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordAndCustInfoField_CustType_set, doc=r"""客户类型""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordAndCustInfoField_AccountID_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordAndCustInfoField_AccountID_set, doc=r"""投资者帐号""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordAndCustInfoField_Password_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordAndCustInfoField_Password_set, doc=r"""期货密码""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordAndCustInfoField_CurrencyID_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordAndCustInfoField_CurrencyID_set, doc=r"""币种代码""")
    LongCustomerName: "TThostFtdcLongIndividualNameType" = property(_thosttraderapi.CThostFtdcVerifyFuturePasswordAndCustInfoField_LongCustomerName_get, _thosttraderapi.CThostFtdcVerifyFuturePasswordAndCustInfoField_LongCustomerName_set, doc=r"""长客户姓名""")

    def __init__(self):
        _thosttraderapi.CThostFtdcVerifyFuturePasswordAndCustInfoField_swiginit(self, _thosttraderapi.new_CThostFtdcVerifyFuturePasswordAndCustInfoField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcVerifyFuturePasswordAndCustInfoField

# Register CThostFtdcVerifyFuturePasswordAndCustInfoField in _thosttraderapi:
_thosttraderapi.CThostFtdcVerifyFuturePasswordAndCustInfoField_swigregister(CThostFtdcVerifyFuturePasswordAndCustInfoField)
class CThostFtdcDepositResultInformField(object):
    r"""验证期货资金密码和客户信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    DepositSeqNo: "TThostFtdcDepositSeqNoType" = property(_thosttraderapi.CThostFtdcDepositResultInformField_DepositSeqNo_get, _thosttraderapi.CThostFtdcDepositResultInformField_DepositSeqNo_set, doc=r"""出入金流水号，该流水号为银期报盘返回的流水号""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcDepositResultInformField_BrokerID_get, _thosttraderapi.CThostFtdcDepositResultInformField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcDepositResultInformField_InvestorID_get, _thosttraderapi.CThostFtdcDepositResultInformField_InvestorID_set, doc=r"""投资者代码""")
    Deposit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcDepositResultInformField_Deposit_get, _thosttraderapi.CThostFtdcDepositResultInformField_Deposit_set, doc=r"""入金金额""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcDepositResultInformField_RequestID_get, _thosttraderapi.CThostFtdcDepositResultInformField_RequestID_set, doc=r"""请求编号""")
    ReturnCode: "TThostFtdcReturnCodeType" = property(_thosttraderapi.CThostFtdcDepositResultInformField_ReturnCode_get, _thosttraderapi.CThostFtdcDepositResultInformField_ReturnCode_set, doc=r"""返回代码""")
    DescrInfoForReturnCode: "TThostFtdcDescrInfoForReturnCodeType" = property(_thosttraderapi.CThostFtdcDepositResultInformField_DescrInfoForReturnCode_get, _thosttraderapi.CThostFtdcDepositResultInformField_DescrInfoForReturnCode_set, doc=r"""返回码描述""")

    def __init__(self):
        _thosttraderapi.CThostFtdcDepositResultInformField_swiginit(self, _thosttraderapi.new_CThostFtdcDepositResultInformField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcDepositResultInformField

# Register CThostFtdcDepositResultInformField in _thosttraderapi:
_thosttraderapi.CThostFtdcDepositResultInformField_swigregister(CThostFtdcDepositResultInformField)
class CThostFtdcReqSyncKeyField(object):
    r"""交易核心向银期报盘发出密钥同步请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcReqSyncKeyField_TradeCode_get, _thosttraderapi.CThostFtdcReqSyncKeyField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcReqSyncKeyField_BankID_get, _thosttraderapi.CThostFtdcReqSyncKeyField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcReqSyncKeyField_BankBranchID_get, _thosttraderapi.CThostFtdcReqSyncKeyField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcReqSyncKeyField_BrokerID_get, _thosttraderapi.CThostFtdcReqSyncKeyField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcReqSyncKeyField_BrokerBranchID_get, _thosttraderapi.CThostFtdcReqSyncKeyField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReqSyncKeyField_TradeDate_get, _thosttraderapi.CThostFtdcReqSyncKeyField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcReqSyncKeyField_TradeTime_get, _thosttraderapi.CThostFtdcReqSyncKeyField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcReqSyncKeyField_BankSerial_get, _thosttraderapi.CThostFtdcReqSyncKeyField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReqSyncKeyField_TradingDay_get, _thosttraderapi.CThostFtdcReqSyncKeyField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcReqSyncKeyField_PlateSerial_get, _thosttraderapi.CThostFtdcReqSyncKeyField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcReqSyncKeyField_LastFragment_get, _thosttraderapi.CThostFtdcReqSyncKeyField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcReqSyncKeyField_SessionID_get, _thosttraderapi.CThostFtdcReqSyncKeyField_SessionID_set, doc=r"""会话号""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcReqSyncKeyField_InstallID_get, _thosttraderapi.CThostFtdcReqSyncKeyField_InstallID_set, doc=r"""安装编号""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcReqSyncKeyField_UserID_get, _thosttraderapi.CThostFtdcReqSyncKeyField_UserID_set, doc=r"""用户标识""")
    Message: "TThostFtdcAddInfoType" = property(_thosttraderapi.CThostFtdcReqSyncKeyField_Message_get, _thosttraderapi.CThostFtdcReqSyncKeyField_Message_set, doc=r"""交易核心给银期报盘的消息""")
    DeviceID: "TThostFtdcDeviceIDType" = property(_thosttraderapi.CThostFtdcReqSyncKeyField_DeviceID_get, _thosttraderapi.CThostFtdcReqSyncKeyField_DeviceID_set, doc=r"""渠道标志""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcReqSyncKeyField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcReqSyncKeyField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    OperNo: "TThostFtdcOperNoType" = property(_thosttraderapi.CThostFtdcReqSyncKeyField_OperNo_get, _thosttraderapi.CThostFtdcReqSyncKeyField_OperNo_set, doc=r"""交易柜员""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcReqSyncKeyField_RequestID_get, _thosttraderapi.CThostFtdcReqSyncKeyField_RequestID_set, doc=r"""请求编号""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcReqSyncKeyField_TID_get, _thosttraderapi.CThostFtdcReqSyncKeyField_TID_set, doc=r"""交易ID""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReqSyncKeyField_swiginit(self, _thosttraderapi.new_CThostFtdcReqSyncKeyField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReqSyncKeyField

# Register CThostFtdcReqSyncKeyField in _thosttraderapi:
_thosttraderapi.CThostFtdcReqSyncKeyField_swigregister(CThostFtdcReqSyncKeyField)
class CThostFtdcRspSyncKeyField(object):
    r"""交易核心向银期报盘发出密钥同步响应"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcRspSyncKeyField_TradeCode_get, _thosttraderapi.CThostFtdcRspSyncKeyField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcRspSyncKeyField_BankID_get, _thosttraderapi.CThostFtdcRspSyncKeyField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcRspSyncKeyField_BankBranchID_get, _thosttraderapi.CThostFtdcRspSyncKeyField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcRspSyncKeyField_BrokerID_get, _thosttraderapi.CThostFtdcRspSyncKeyField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcRspSyncKeyField_BrokerBranchID_get, _thosttraderapi.CThostFtdcRspSyncKeyField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcRspSyncKeyField_TradeDate_get, _thosttraderapi.CThostFtdcRspSyncKeyField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcRspSyncKeyField_TradeTime_get, _thosttraderapi.CThostFtdcRspSyncKeyField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcRspSyncKeyField_BankSerial_get, _thosttraderapi.CThostFtdcRspSyncKeyField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcRspSyncKeyField_TradingDay_get, _thosttraderapi.CThostFtdcRspSyncKeyField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcRspSyncKeyField_PlateSerial_get, _thosttraderapi.CThostFtdcRspSyncKeyField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcRspSyncKeyField_LastFragment_get, _thosttraderapi.CThostFtdcRspSyncKeyField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcRspSyncKeyField_SessionID_get, _thosttraderapi.CThostFtdcRspSyncKeyField_SessionID_set, doc=r"""会话号""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcRspSyncKeyField_InstallID_get, _thosttraderapi.CThostFtdcRspSyncKeyField_InstallID_set, doc=r"""安装编号""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcRspSyncKeyField_UserID_get, _thosttraderapi.CThostFtdcRspSyncKeyField_UserID_set, doc=r"""用户标识""")
    Message: "TThostFtdcAddInfoType" = property(_thosttraderapi.CThostFtdcRspSyncKeyField_Message_get, _thosttraderapi.CThostFtdcRspSyncKeyField_Message_set, doc=r"""交易核心给银期报盘的消息""")
    DeviceID: "TThostFtdcDeviceIDType" = property(_thosttraderapi.CThostFtdcRspSyncKeyField_DeviceID_get, _thosttraderapi.CThostFtdcRspSyncKeyField_DeviceID_set, doc=r"""渠道标志""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcRspSyncKeyField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcRspSyncKeyField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    OperNo: "TThostFtdcOperNoType" = property(_thosttraderapi.CThostFtdcRspSyncKeyField_OperNo_get, _thosttraderapi.CThostFtdcRspSyncKeyField_OperNo_set, doc=r"""交易柜员""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcRspSyncKeyField_RequestID_get, _thosttraderapi.CThostFtdcRspSyncKeyField_RequestID_set, doc=r"""请求编号""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcRspSyncKeyField_TID_get, _thosttraderapi.CThostFtdcRspSyncKeyField_TID_set, doc=r"""交易ID""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcRspSyncKeyField_ErrorID_get, _thosttraderapi.CThostFtdcRspSyncKeyField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcRspSyncKeyField_ErrorMsg_get, _thosttraderapi.CThostFtdcRspSyncKeyField_ErrorMsg_set, doc=r"""错误信息""")

    def __init__(self):
        _thosttraderapi.CThostFtdcRspSyncKeyField_swiginit(self, _thosttraderapi.new_CThostFtdcRspSyncKeyField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcRspSyncKeyField

# Register CThostFtdcRspSyncKeyField in _thosttraderapi:
_thosttraderapi.CThostFtdcRspSyncKeyField_swigregister(CThostFtdcRspSyncKeyField)
class CThostFtdcNotifyQueryAccountField(object):
    r"""查询账户信息通知"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_TradeCode_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_BankID_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_BankBranchID_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_BrokerID_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_BrokerBranchID_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_TradeDate_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_TradeTime_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_BankSerial_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_TradingDay_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_PlateSerial_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_LastFragment_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_SessionID_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_SessionID_set, doc=r"""会话号""")
    CustomerName: "TThostFtdcIndividualNameType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_CustomerName_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_CustomerName_set, doc=r"""客户姓名""")
    IdCardType: "TThostFtdcIdCardTypeType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_IdCardType_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_IdCardType_set, doc=r"""证件类型""")
    IdentifiedCardNo: "TThostFtdcIdentifiedCardNoType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_IdentifiedCardNo_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_IdentifiedCardNo_set, doc=r"""证件号码""")
    CustType: "TThostFtdcCustTypeType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_CustType_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_CustType_set, doc=r"""客户类型""")
    BankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_BankAccount_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_BankAccount_set, doc=r"""银行帐号""")
    BankPassWord: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_BankPassWord_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_BankPassWord_set, doc=r"""银行密码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_AccountID_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_AccountID_set, doc=r"""投资者帐号""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_Password_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_Password_set, doc=r"""期货密码""")
    FutureSerial: "TThostFtdcFutureSerialType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_FutureSerial_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_FutureSerial_set, doc=r"""期货公司流水号""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_InstallID_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_InstallID_set, doc=r"""安装编号""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_UserID_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_UserID_set, doc=r"""用户标识""")
    VerifyCertNoFlag: "TThostFtdcYesNoIndicatorType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_VerifyCertNoFlag_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_VerifyCertNoFlag_set, doc=r"""验证客户证件号码标志""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_CurrencyID_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_CurrencyID_set, doc=r"""币种代码""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_Digest_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_Digest_set, doc=r"""摘要""")
    BankAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_BankAccType_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_BankAccType_set, doc=r"""银行帐号类型""")
    DeviceID: "TThostFtdcDeviceIDType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_DeviceID_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_DeviceID_set, doc=r"""渠道标志""")
    BankSecuAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_BankSecuAccType_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_BankSecuAccType_set, doc=r"""期货单位帐号类型""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    BankSecuAcc: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_BankSecuAcc_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_BankSecuAcc_set, doc=r"""期货单位帐号""")
    BankPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_BankPwdFlag_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_BankPwdFlag_set, doc=r"""银行密码标志""")
    SecuPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_SecuPwdFlag_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_SecuPwdFlag_set, doc=r"""期货资金密码核对标志""")
    OperNo: "TThostFtdcOperNoType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_OperNo_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_OperNo_set, doc=r"""交易柜员""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_RequestID_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_RequestID_set, doc=r"""请求编号""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_TID_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_TID_set, doc=r"""交易ID""")
    BankUseAmount: "TThostFtdcTradeAmountType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_BankUseAmount_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_BankUseAmount_set, doc=r"""银行可用金额""")
    BankFetchAmount: "TThostFtdcTradeAmountType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_BankFetchAmount_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_BankFetchAmount_set, doc=r"""银行可取金额""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_ErrorID_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_ErrorMsg_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_ErrorMsg_set, doc=r"""错误信息""")
    LongCustomerName: "TThostFtdcLongIndividualNameType" = property(_thosttraderapi.CThostFtdcNotifyQueryAccountField_LongCustomerName_get, _thosttraderapi.CThostFtdcNotifyQueryAccountField_LongCustomerName_set, doc=r"""长客户姓名""")

    def __init__(self):
        _thosttraderapi.CThostFtdcNotifyQueryAccountField_swiginit(self, _thosttraderapi.new_CThostFtdcNotifyQueryAccountField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcNotifyQueryAccountField

# Register CThostFtdcNotifyQueryAccountField in _thosttraderapi:
_thosttraderapi.CThostFtdcNotifyQueryAccountField_swigregister(CThostFtdcNotifyQueryAccountField)
class CThostFtdcTransferSerialField(object):
    r"""银期转账交易流水表"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    PlateSerial: "TThostFtdcPlateSerialType" = property(_thosttraderapi.CThostFtdcTransferSerialField_PlateSerial_get, _thosttraderapi.CThostFtdcTransferSerialField_PlateSerial_set, doc=r"""平台流水号""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcTransferSerialField_TradeDate_get, _thosttraderapi.CThostFtdcTransferSerialField_TradeDate_set, doc=r"""交易发起方日期""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcTransferSerialField_TradingDay_get, _thosttraderapi.CThostFtdcTransferSerialField_TradingDay_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcTransferSerialField_TradeTime_get, _thosttraderapi.CThostFtdcTransferSerialField_TradeTime_set, doc=r"""交易时间""")
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcTransferSerialField_TradeCode_get, _thosttraderapi.CThostFtdcTransferSerialField_TradeCode_set, doc=r"""交易代码""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcTransferSerialField_SessionID_get, _thosttraderapi.CThostFtdcTransferSerialField_SessionID_set, doc=r"""会话编号""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcTransferSerialField_BankID_get, _thosttraderapi.CThostFtdcTransferSerialField_BankID_set, doc=r"""银行编码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcTransferSerialField_BankBranchID_get, _thosttraderapi.CThostFtdcTransferSerialField_BankBranchID_set, doc=r"""银行分支机构编码""")
    BankAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcTransferSerialField_BankAccType_get, _thosttraderapi.CThostFtdcTransferSerialField_BankAccType_set, doc=r"""银行帐号类型""")
    BankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcTransferSerialField_BankAccount_get, _thosttraderapi.CThostFtdcTransferSerialField_BankAccount_set, doc=r"""银行帐号""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcTransferSerialField_BankSerial_get, _thosttraderapi.CThostFtdcTransferSerialField_BankSerial_set, doc=r"""银行流水号""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcTransferSerialField_BrokerID_get, _thosttraderapi.CThostFtdcTransferSerialField_BrokerID_set, doc=r"""期货公司编码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcTransferSerialField_BrokerBranchID_get, _thosttraderapi.CThostFtdcTransferSerialField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    FutureAccType: "TThostFtdcFutureAccTypeType" = property(_thosttraderapi.CThostFtdcTransferSerialField_FutureAccType_get, _thosttraderapi.CThostFtdcTransferSerialField_FutureAccType_set, doc=r"""期货公司帐号类型""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcTransferSerialField_AccountID_get, _thosttraderapi.CThostFtdcTransferSerialField_AccountID_set, doc=r"""投资者帐号""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcTransferSerialField_InvestorID_get, _thosttraderapi.CThostFtdcTransferSerialField_InvestorID_set, doc=r"""投资者代码""")
    FutureSerial: "TThostFtdcFutureSerialType" = property(_thosttraderapi.CThostFtdcTransferSerialField_FutureSerial_get, _thosttraderapi.CThostFtdcTransferSerialField_FutureSerial_set, doc=r"""期货公司流水号""")
    IdCardType: "TThostFtdcIdCardTypeType" = property(_thosttraderapi.CThostFtdcTransferSerialField_IdCardType_get, _thosttraderapi.CThostFtdcTransferSerialField_IdCardType_set, doc=r"""证件类型""")
    IdentifiedCardNo: "TThostFtdcIdentifiedCardNoType" = property(_thosttraderapi.CThostFtdcTransferSerialField_IdentifiedCardNo_get, _thosttraderapi.CThostFtdcTransferSerialField_IdentifiedCardNo_set, doc=r"""证件号码""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcTransferSerialField_CurrencyID_get, _thosttraderapi.CThostFtdcTransferSerialField_CurrencyID_set, doc=r"""币种代码""")
    TradeAmount: "TThostFtdcTradeAmountType" = property(_thosttraderapi.CThostFtdcTransferSerialField_TradeAmount_get, _thosttraderapi.CThostFtdcTransferSerialField_TradeAmount_set, doc=r"""交易金额""")
    CustFee: "TThostFtdcCustFeeType" = property(_thosttraderapi.CThostFtdcTransferSerialField_CustFee_get, _thosttraderapi.CThostFtdcTransferSerialField_CustFee_set, doc=r"""应收客户费用""")
    BrokerFee: "TThostFtdcFutureFeeType" = property(_thosttraderapi.CThostFtdcTransferSerialField_BrokerFee_get, _thosttraderapi.CThostFtdcTransferSerialField_BrokerFee_set, doc=r"""应收期货公司费用""")
    AvailabilityFlag: "TThostFtdcAvailabilityFlagType" = property(_thosttraderapi.CThostFtdcTransferSerialField_AvailabilityFlag_get, _thosttraderapi.CThostFtdcTransferSerialField_AvailabilityFlag_set, doc=r"""有效标志""")
    OperatorCode: "TThostFtdcOperatorCodeType" = property(_thosttraderapi.CThostFtdcTransferSerialField_OperatorCode_get, _thosttraderapi.CThostFtdcTransferSerialField_OperatorCode_set, doc=r"""操作员""")
    BankNewAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcTransferSerialField_BankNewAccount_get, _thosttraderapi.CThostFtdcTransferSerialField_BankNewAccount_set, doc=r"""新银行帐号""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcTransferSerialField_ErrorID_get, _thosttraderapi.CThostFtdcTransferSerialField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcTransferSerialField_ErrorMsg_get, _thosttraderapi.CThostFtdcTransferSerialField_ErrorMsg_set, doc=r"""错误信息""")

    def __init__(self):
        _thosttraderapi.CThostFtdcTransferSerialField_swiginit(self, _thosttraderapi.new_CThostFtdcTransferSerialField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTransferSerialField

# Register CThostFtdcTransferSerialField in _thosttraderapi:
_thosttraderapi.CThostFtdcTransferSerialField_swigregister(CThostFtdcTransferSerialField)
class CThostFtdcQryTransferSerialField(object):
    r"""请求查询转帐流水"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryTransferSerialField_BrokerID_get, _thosttraderapi.CThostFtdcQryTransferSerialField_BrokerID_set, doc=r"""经纪公司代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcQryTransferSerialField_AccountID_get, _thosttraderapi.CThostFtdcQryTransferSerialField_AccountID_set, doc=r"""投资者帐号""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcQryTransferSerialField_BankID_get, _thosttraderapi.CThostFtdcQryTransferSerialField_BankID_set, doc=r"""银行编码""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcQryTransferSerialField_CurrencyID_get, _thosttraderapi.CThostFtdcQryTransferSerialField_CurrencyID_set, doc=r"""币种代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryTransferSerialField_swiginit(self, _thosttraderapi.new_CThostFtdcQryTransferSerialField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryTransferSerialField

# Register CThostFtdcQryTransferSerialField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryTransferSerialField_swigregister(CThostFtdcQryTransferSerialField)
class CThostFtdcNotifyFutureSignInField(object):
    r"""期商签到通知"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_TradeCode_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_BankID_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_BankBranchID_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_BrokerID_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_BrokerBranchID_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_TradeDate_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_TradeTime_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_BankSerial_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_TradingDay_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_PlateSerial_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_LastFragment_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_SessionID_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_SessionID_set, doc=r"""会话号""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_InstallID_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_InstallID_set, doc=r"""安装编号""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_UserID_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_UserID_set, doc=r"""用户标识""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_Digest_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_Digest_set, doc=r"""摘要""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_CurrencyID_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_CurrencyID_set, doc=r"""币种代码""")
    DeviceID: "TThostFtdcDeviceIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_DeviceID_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_DeviceID_set, doc=r"""渠道标志""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    OperNo: "TThostFtdcOperNoType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_OperNo_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_OperNo_set, doc=r"""交易柜员""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_RequestID_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_RequestID_set, doc=r"""请求编号""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_TID_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_TID_set, doc=r"""交易ID""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_ErrorID_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_ErrorMsg_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_ErrorMsg_set, doc=r"""错误信息""")
    PinKey: "TThostFtdcPasswordKeyType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_PinKey_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_PinKey_set, doc=r"""PIN密钥""")
    MacKey: "TThostFtdcPasswordKeyType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignInField_MacKey_get, _thosttraderapi.CThostFtdcNotifyFutureSignInField_MacKey_set, doc=r"""MAC密钥""")

    def __init__(self):
        _thosttraderapi.CThostFtdcNotifyFutureSignInField_swiginit(self, _thosttraderapi.new_CThostFtdcNotifyFutureSignInField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcNotifyFutureSignInField

# Register CThostFtdcNotifyFutureSignInField in _thosttraderapi:
_thosttraderapi.CThostFtdcNotifyFutureSignInField_swigregister(CThostFtdcNotifyFutureSignInField)
class CThostFtdcNotifyFutureSignOutField(object):
    r"""期商签退通知"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignOutField_TradeCode_get, _thosttraderapi.CThostFtdcNotifyFutureSignOutField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignOutField_BankID_get, _thosttraderapi.CThostFtdcNotifyFutureSignOutField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignOutField_BankBranchID_get, _thosttraderapi.CThostFtdcNotifyFutureSignOutField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignOutField_BrokerID_get, _thosttraderapi.CThostFtdcNotifyFutureSignOutField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignOutField_BrokerBranchID_get, _thosttraderapi.CThostFtdcNotifyFutureSignOutField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignOutField_TradeDate_get, _thosttraderapi.CThostFtdcNotifyFutureSignOutField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignOutField_TradeTime_get, _thosttraderapi.CThostFtdcNotifyFutureSignOutField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignOutField_BankSerial_get, _thosttraderapi.CThostFtdcNotifyFutureSignOutField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignOutField_TradingDay_get, _thosttraderapi.CThostFtdcNotifyFutureSignOutField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignOutField_PlateSerial_get, _thosttraderapi.CThostFtdcNotifyFutureSignOutField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignOutField_LastFragment_get, _thosttraderapi.CThostFtdcNotifyFutureSignOutField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignOutField_SessionID_get, _thosttraderapi.CThostFtdcNotifyFutureSignOutField_SessionID_set, doc=r"""会话号""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignOutField_InstallID_get, _thosttraderapi.CThostFtdcNotifyFutureSignOutField_InstallID_set, doc=r"""安装编号""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignOutField_UserID_get, _thosttraderapi.CThostFtdcNotifyFutureSignOutField_UserID_set, doc=r"""用户标识""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignOutField_Digest_get, _thosttraderapi.CThostFtdcNotifyFutureSignOutField_Digest_set, doc=r"""摘要""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignOutField_CurrencyID_get, _thosttraderapi.CThostFtdcNotifyFutureSignOutField_CurrencyID_set, doc=r"""币种代码""")
    DeviceID: "TThostFtdcDeviceIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignOutField_DeviceID_get, _thosttraderapi.CThostFtdcNotifyFutureSignOutField_DeviceID_set, doc=r"""渠道标志""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignOutField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcNotifyFutureSignOutField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    OperNo: "TThostFtdcOperNoType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignOutField_OperNo_get, _thosttraderapi.CThostFtdcNotifyFutureSignOutField_OperNo_set, doc=r"""交易柜员""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignOutField_RequestID_get, _thosttraderapi.CThostFtdcNotifyFutureSignOutField_RequestID_set, doc=r"""请求编号""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignOutField_TID_get, _thosttraderapi.CThostFtdcNotifyFutureSignOutField_TID_set, doc=r"""交易ID""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignOutField_ErrorID_get, _thosttraderapi.CThostFtdcNotifyFutureSignOutField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcNotifyFutureSignOutField_ErrorMsg_get, _thosttraderapi.CThostFtdcNotifyFutureSignOutField_ErrorMsg_set, doc=r"""错误信息""")

    def __init__(self):
        _thosttraderapi.CThostFtdcNotifyFutureSignOutField_swiginit(self, _thosttraderapi.new_CThostFtdcNotifyFutureSignOutField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcNotifyFutureSignOutField

# Register CThostFtdcNotifyFutureSignOutField in _thosttraderapi:
_thosttraderapi.CThostFtdcNotifyFutureSignOutField_swigregister(CThostFtdcNotifyFutureSignOutField)
class CThostFtdcNotifySyncKeyField(object):
    r"""交易核心向银期报盘发出密钥同步处理结果的通知"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcNotifySyncKeyField_TradeCode_get, _thosttraderapi.CThostFtdcNotifySyncKeyField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcNotifySyncKeyField_BankID_get, _thosttraderapi.CThostFtdcNotifySyncKeyField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcNotifySyncKeyField_BankBranchID_get, _thosttraderapi.CThostFtdcNotifySyncKeyField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcNotifySyncKeyField_BrokerID_get, _thosttraderapi.CThostFtdcNotifySyncKeyField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcNotifySyncKeyField_BrokerBranchID_get, _thosttraderapi.CThostFtdcNotifySyncKeyField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcNotifySyncKeyField_TradeDate_get, _thosttraderapi.CThostFtdcNotifySyncKeyField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcNotifySyncKeyField_TradeTime_get, _thosttraderapi.CThostFtdcNotifySyncKeyField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcNotifySyncKeyField_BankSerial_get, _thosttraderapi.CThostFtdcNotifySyncKeyField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcNotifySyncKeyField_TradingDay_get, _thosttraderapi.CThostFtdcNotifySyncKeyField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcNotifySyncKeyField_PlateSerial_get, _thosttraderapi.CThostFtdcNotifySyncKeyField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcNotifySyncKeyField_LastFragment_get, _thosttraderapi.CThostFtdcNotifySyncKeyField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcNotifySyncKeyField_SessionID_get, _thosttraderapi.CThostFtdcNotifySyncKeyField_SessionID_set, doc=r"""会话号""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcNotifySyncKeyField_InstallID_get, _thosttraderapi.CThostFtdcNotifySyncKeyField_InstallID_set, doc=r"""安装编号""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcNotifySyncKeyField_UserID_get, _thosttraderapi.CThostFtdcNotifySyncKeyField_UserID_set, doc=r"""用户标识""")
    Message: "TThostFtdcAddInfoType" = property(_thosttraderapi.CThostFtdcNotifySyncKeyField_Message_get, _thosttraderapi.CThostFtdcNotifySyncKeyField_Message_set, doc=r"""交易核心给银期报盘的消息""")
    DeviceID: "TThostFtdcDeviceIDType" = property(_thosttraderapi.CThostFtdcNotifySyncKeyField_DeviceID_get, _thosttraderapi.CThostFtdcNotifySyncKeyField_DeviceID_set, doc=r"""渠道标志""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcNotifySyncKeyField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcNotifySyncKeyField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    OperNo: "TThostFtdcOperNoType" = property(_thosttraderapi.CThostFtdcNotifySyncKeyField_OperNo_get, _thosttraderapi.CThostFtdcNotifySyncKeyField_OperNo_set, doc=r"""交易柜员""")
    RequestID: "TThostFtdcRequestIDType" = property(_thosttraderapi.CThostFtdcNotifySyncKeyField_RequestID_get, _thosttraderapi.CThostFtdcNotifySyncKeyField_RequestID_set, doc=r"""请求编号""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcNotifySyncKeyField_TID_get, _thosttraderapi.CThostFtdcNotifySyncKeyField_TID_set, doc=r"""交易ID""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcNotifySyncKeyField_ErrorID_get, _thosttraderapi.CThostFtdcNotifySyncKeyField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcNotifySyncKeyField_ErrorMsg_get, _thosttraderapi.CThostFtdcNotifySyncKeyField_ErrorMsg_set, doc=r"""错误信息""")

    def __init__(self):
        _thosttraderapi.CThostFtdcNotifySyncKeyField_swiginit(self, _thosttraderapi.new_CThostFtdcNotifySyncKeyField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcNotifySyncKeyField

# Register CThostFtdcNotifySyncKeyField in _thosttraderapi:
_thosttraderapi.CThostFtdcNotifySyncKeyField_swigregister(CThostFtdcNotifySyncKeyField)
class CThostFtdcQryAccountregisterField(object):
    r"""请求查询银期签约关系"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryAccountregisterField_BrokerID_get, _thosttraderapi.CThostFtdcQryAccountregisterField_BrokerID_set, doc=r"""经纪公司代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcQryAccountregisterField_AccountID_get, _thosttraderapi.CThostFtdcQryAccountregisterField_AccountID_set, doc=r"""投资者帐号""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcQryAccountregisterField_BankID_get, _thosttraderapi.CThostFtdcQryAccountregisterField_BankID_set, doc=r"""银行编码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcQryAccountregisterField_BankBranchID_get, _thosttraderapi.CThostFtdcQryAccountregisterField_BankBranchID_set, doc=r"""银行分支机构编码""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcQryAccountregisterField_CurrencyID_get, _thosttraderapi.CThostFtdcQryAccountregisterField_CurrencyID_set, doc=r"""币种代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryAccountregisterField_swiginit(self, _thosttraderapi.new_CThostFtdcQryAccountregisterField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryAccountregisterField

# Register CThostFtdcQryAccountregisterField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryAccountregisterField_swigregister(CThostFtdcQryAccountregisterField)
class CThostFtdcAccountregisterField(object):
    r"""客户开销户信息表"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcAccountregisterField_TradeDay_get, _thosttraderapi.CThostFtdcAccountregisterField_TradeDay_set, doc=r"""交易日期""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcAccountregisterField_BankID_get, _thosttraderapi.CThostFtdcAccountregisterField_BankID_set, doc=r"""银行编码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcAccountregisterField_BankBranchID_get, _thosttraderapi.CThostFtdcAccountregisterField_BankBranchID_set, doc=r"""银行分支机构编码""")
    BankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcAccountregisterField_BankAccount_get, _thosttraderapi.CThostFtdcAccountregisterField_BankAccount_set, doc=r"""银行帐号""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcAccountregisterField_BrokerID_get, _thosttraderapi.CThostFtdcAccountregisterField_BrokerID_set, doc=r"""期货公司编码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcAccountregisterField_BrokerBranchID_get, _thosttraderapi.CThostFtdcAccountregisterField_BrokerBranchID_set, doc=r"""期货公司分支机构编码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcAccountregisterField_AccountID_get, _thosttraderapi.CThostFtdcAccountregisterField_AccountID_set, doc=r"""投资者帐号""")
    IdCardType: "TThostFtdcIdCardTypeType" = property(_thosttraderapi.CThostFtdcAccountregisterField_IdCardType_get, _thosttraderapi.CThostFtdcAccountregisterField_IdCardType_set, doc=r"""证件类型""")
    IdentifiedCardNo: "TThostFtdcIdentifiedCardNoType" = property(_thosttraderapi.CThostFtdcAccountregisterField_IdentifiedCardNo_get, _thosttraderapi.CThostFtdcAccountregisterField_IdentifiedCardNo_set, doc=r"""证件号码""")
    CustomerName: "TThostFtdcIndividualNameType" = property(_thosttraderapi.CThostFtdcAccountregisterField_CustomerName_get, _thosttraderapi.CThostFtdcAccountregisterField_CustomerName_set, doc=r"""客户姓名""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcAccountregisterField_CurrencyID_get, _thosttraderapi.CThostFtdcAccountregisterField_CurrencyID_set, doc=r"""币种代码""")
    OpenOrDestroy: "TThostFtdcOpenOrDestroyType" = property(_thosttraderapi.CThostFtdcAccountregisterField_OpenOrDestroy_get, _thosttraderapi.CThostFtdcAccountregisterField_OpenOrDestroy_set, doc=r"""开销户类别""")
    RegDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcAccountregisterField_RegDate_get, _thosttraderapi.CThostFtdcAccountregisterField_RegDate_set, doc=r"""签约日期""")
    OutDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcAccountregisterField_OutDate_get, _thosttraderapi.CThostFtdcAccountregisterField_OutDate_set, doc=r"""解约日期""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcAccountregisterField_TID_get, _thosttraderapi.CThostFtdcAccountregisterField_TID_set, doc=r"""交易ID""")
    CustType: "TThostFtdcCustTypeType" = property(_thosttraderapi.CThostFtdcAccountregisterField_CustType_get, _thosttraderapi.CThostFtdcAccountregisterField_CustType_set, doc=r"""客户类型""")
    BankAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcAccountregisterField_BankAccType_get, _thosttraderapi.CThostFtdcAccountregisterField_BankAccType_set, doc=r"""银行帐号类型""")
    LongCustomerName: "TThostFtdcLongIndividualNameType" = property(_thosttraderapi.CThostFtdcAccountregisterField_LongCustomerName_get, _thosttraderapi.CThostFtdcAccountregisterField_LongCustomerName_set, doc=r"""长客户姓名""")

    def __init__(self):
        _thosttraderapi.CThostFtdcAccountregisterField_swiginit(self, _thosttraderapi.new_CThostFtdcAccountregisterField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcAccountregisterField

# Register CThostFtdcAccountregisterField in _thosttraderapi:
_thosttraderapi.CThostFtdcAccountregisterField_swigregister(CThostFtdcAccountregisterField)
class CThostFtdcOpenAccountField(object):
    r"""银期开户信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcOpenAccountField_TradeCode_get, _thosttraderapi.CThostFtdcOpenAccountField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcOpenAccountField_BankID_get, _thosttraderapi.CThostFtdcOpenAccountField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcOpenAccountField_BankBranchID_get, _thosttraderapi.CThostFtdcOpenAccountField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcOpenAccountField_BrokerID_get, _thosttraderapi.CThostFtdcOpenAccountField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcOpenAccountField_BrokerBranchID_get, _thosttraderapi.CThostFtdcOpenAccountField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcOpenAccountField_TradeDate_get, _thosttraderapi.CThostFtdcOpenAccountField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcOpenAccountField_TradeTime_get, _thosttraderapi.CThostFtdcOpenAccountField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcOpenAccountField_BankSerial_get, _thosttraderapi.CThostFtdcOpenAccountField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcOpenAccountField_TradingDay_get, _thosttraderapi.CThostFtdcOpenAccountField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcOpenAccountField_PlateSerial_get, _thosttraderapi.CThostFtdcOpenAccountField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcOpenAccountField_LastFragment_get, _thosttraderapi.CThostFtdcOpenAccountField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcOpenAccountField_SessionID_get, _thosttraderapi.CThostFtdcOpenAccountField_SessionID_set, doc=r"""会话号""")
    CustomerName: "TThostFtdcIndividualNameType" = property(_thosttraderapi.CThostFtdcOpenAccountField_CustomerName_get, _thosttraderapi.CThostFtdcOpenAccountField_CustomerName_set, doc=r"""客户姓名""")
    IdCardType: "TThostFtdcIdCardTypeType" = property(_thosttraderapi.CThostFtdcOpenAccountField_IdCardType_get, _thosttraderapi.CThostFtdcOpenAccountField_IdCardType_set, doc=r"""证件类型""")
    IdentifiedCardNo: "TThostFtdcIdentifiedCardNoType" = property(_thosttraderapi.CThostFtdcOpenAccountField_IdentifiedCardNo_get, _thosttraderapi.CThostFtdcOpenAccountField_IdentifiedCardNo_set, doc=r"""证件号码""")
    Gender: "TThostFtdcGenderType" = property(_thosttraderapi.CThostFtdcOpenAccountField_Gender_get, _thosttraderapi.CThostFtdcOpenAccountField_Gender_set, doc=r"""性别""")
    CountryCode: "TThostFtdcCountryCodeType" = property(_thosttraderapi.CThostFtdcOpenAccountField_CountryCode_get, _thosttraderapi.CThostFtdcOpenAccountField_CountryCode_set, doc=r"""国家代码""")
    CustType: "TThostFtdcCustTypeType" = property(_thosttraderapi.CThostFtdcOpenAccountField_CustType_get, _thosttraderapi.CThostFtdcOpenAccountField_CustType_set, doc=r"""客户类型""")
    Address: "TThostFtdcAddressType" = property(_thosttraderapi.CThostFtdcOpenAccountField_Address_get, _thosttraderapi.CThostFtdcOpenAccountField_Address_set, doc=r"""地址""")
    ZipCode: "TThostFtdcZipCodeType" = property(_thosttraderapi.CThostFtdcOpenAccountField_ZipCode_get, _thosttraderapi.CThostFtdcOpenAccountField_ZipCode_set, doc=r"""邮编""")
    Telephone: "TThostFtdcTelephoneType" = property(_thosttraderapi.CThostFtdcOpenAccountField_Telephone_get, _thosttraderapi.CThostFtdcOpenAccountField_Telephone_set, doc=r"""电话号码""")
    MobilePhone: "TThostFtdcMobilePhoneType" = property(_thosttraderapi.CThostFtdcOpenAccountField_MobilePhone_get, _thosttraderapi.CThostFtdcOpenAccountField_MobilePhone_set, doc=r"""手机""")
    Fax: "TThostFtdcFaxType" = property(_thosttraderapi.CThostFtdcOpenAccountField_Fax_get, _thosttraderapi.CThostFtdcOpenAccountField_Fax_set, doc=r"""传真""")
    EMail: "TThostFtdcEMailType" = property(_thosttraderapi.CThostFtdcOpenAccountField_EMail_get, _thosttraderapi.CThostFtdcOpenAccountField_EMail_set, doc=r"""电子邮件""")
    MoneyAccountStatus: "TThostFtdcMoneyAccountStatusType" = property(_thosttraderapi.CThostFtdcOpenAccountField_MoneyAccountStatus_get, _thosttraderapi.CThostFtdcOpenAccountField_MoneyAccountStatus_set, doc=r"""资金账户状态""")
    BankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcOpenAccountField_BankAccount_get, _thosttraderapi.CThostFtdcOpenAccountField_BankAccount_set, doc=r"""银行帐号""")
    BankPassWord: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcOpenAccountField_BankPassWord_get, _thosttraderapi.CThostFtdcOpenAccountField_BankPassWord_set, doc=r"""银行密码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcOpenAccountField_AccountID_get, _thosttraderapi.CThostFtdcOpenAccountField_AccountID_set, doc=r"""投资者帐号""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcOpenAccountField_Password_get, _thosttraderapi.CThostFtdcOpenAccountField_Password_set, doc=r"""期货密码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcOpenAccountField_InstallID_get, _thosttraderapi.CThostFtdcOpenAccountField_InstallID_set, doc=r"""安装编号""")
    VerifyCertNoFlag: "TThostFtdcYesNoIndicatorType" = property(_thosttraderapi.CThostFtdcOpenAccountField_VerifyCertNoFlag_get, _thosttraderapi.CThostFtdcOpenAccountField_VerifyCertNoFlag_set, doc=r"""验证客户证件号码标志""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcOpenAccountField_CurrencyID_get, _thosttraderapi.CThostFtdcOpenAccountField_CurrencyID_set, doc=r"""币种代码""")
    CashExchangeCode: "TThostFtdcCashExchangeCodeType" = property(_thosttraderapi.CThostFtdcOpenAccountField_CashExchangeCode_get, _thosttraderapi.CThostFtdcOpenAccountField_CashExchangeCode_set, doc=r"""汇钞标志""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcOpenAccountField_Digest_get, _thosttraderapi.CThostFtdcOpenAccountField_Digest_set, doc=r"""摘要""")
    BankAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcOpenAccountField_BankAccType_get, _thosttraderapi.CThostFtdcOpenAccountField_BankAccType_set, doc=r"""银行帐号类型""")
    DeviceID: "TThostFtdcDeviceIDType" = property(_thosttraderapi.CThostFtdcOpenAccountField_DeviceID_get, _thosttraderapi.CThostFtdcOpenAccountField_DeviceID_set, doc=r"""渠道标志""")
    BankSecuAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcOpenAccountField_BankSecuAccType_get, _thosttraderapi.CThostFtdcOpenAccountField_BankSecuAccType_set, doc=r"""期货单位帐号类型""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcOpenAccountField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcOpenAccountField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    BankSecuAcc: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcOpenAccountField_BankSecuAcc_get, _thosttraderapi.CThostFtdcOpenAccountField_BankSecuAcc_set, doc=r"""期货单位帐号""")
    BankPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcOpenAccountField_BankPwdFlag_get, _thosttraderapi.CThostFtdcOpenAccountField_BankPwdFlag_set, doc=r"""银行密码标志""")
    SecuPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcOpenAccountField_SecuPwdFlag_get, _thosttraderapi.CThostFtdcOpenAccountField_SecuPwdFlag_set, doc=r"""期货资金密码核对标志""")
    OperNo: "TThostFtdcOperNoType" = property(_thosttraderapi.CThostFtdcOpenAccountField_OperNo_get, _thosttraderapi.CThostFtdcOpenAccountField_OperNo_set, doc=r"""交易柜员""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcOpenAccountField_TID_get, _thosttraderapi.CThostFtdcOpenAccountField_TID_set, doc=r"""交易ID""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcOpenAccountField_UserID_get, _thosttraderapi.CThostFtdcOpenAccountField_UserID_set, doc=r"""用户标识""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcOpenAccountField_ErrorID_get, _thosttraderapi.CThostFtdcOpenAccountField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcOpenAccountField_ErrorMsg_get, _thosttraderapi.CThostFtdcOpenAccountField_ErrorMsg_set, doc=r"""错误信息""")
    LongCustomerName: "TThostFtdcLongIndividualNameType" = property(_thosttraderapi.CThostFtdcOpenAccountField_LongCustomerName_get, _thosttraderapi.CThostFtdcOpenAccountField_LongCustomerName_set, doc=r"""长客户姓名""")

    def __init__(self):
        _thosttraderapi.CThostFtdcOpenAccountField_swiginit(self, _thosttraderapi.new_CThostFtdcOpenAccountField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcOpenAccountField

# Register CThostFtdcOpenAccountField in _thosttraderapi:
_thosttraderapi.CThostFtdcOpenAccountField_swigregister(CThostFtdcOpenAccountField)
class CThostFtdcCancelAccountField(object):
    r"""银期销户信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcCancelAccountField_TradeCode_get, _thosttraderapi.CThostFtdcCancelAccountField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcCancelAccountField_BankID_get, _thosttraderapi.CThostFtdcCancelAccountField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcCancelAccountField_BankBranchID_get, _thosttraderapi.CThostFtdcCancelAccountField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcCancelAccountField_BrokerID_get, _thosttraderapi.CThostFtdcCancelAccountField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcCancelAccountField_BrokerBranchID_get, _thosttraderapi.CThostFtdcCancelAccountField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcCancelAccountField_TradeDate_get, _thosttraderapi.CThostFtdcCancelAccountField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcCancelAccountField_TradeTime_get, _thosttraderapi.CThostFtdcCancelAccountField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcCancelAccountField_BankSerial_get, _thosttraderapi.CThostFtdcCancelAccountField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcCancelAccountField_TradingDay_get, _thosttraderapi.CThostFtdcCancelAccountField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcCancelAccountField_PlateSerial_get, _thosttraderapi.CThostFtdcCancelAccountField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcCancelAccountField_LastFragment_get, _thosttraderapi.CThostFtdcCancelAccountField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcCancelAccountField_SessionID_get, _thosttraderapi.CThostFtdcCancelAccountField_SessionID_set, doc=r"""会话号""")
    CustomerName: "TThostFtdcIndividualNameType" = property(_thosttraderapi.CThostFtdcCancelAccountField_CustomerName_get, _thosttraderapi.CThostFtdcCancelAccountField_CustomerName_set, doc=r"""客户姓名""")
    IdCardType: "TThostFtdcIdCardTypeType" = property(_thosttraderapi.CThostFtdcCancelAccountField_IdCardType_get, _thosttraderapi.CThostFtdcCancelAccountField_IdCardType_set, doc=r"""证件类型""")
    IdentifiedCardNo: "TThostFtdcIdentifiedCardNoType" = property(_thosttraderapi.CThostFtdcCancelAccountField_IdentifiedCardNo_get, _thosttraderapi.CThostFtdcCancelAccountField_IdentifiedCardNo_set, doc=r"""证件号码""")
    Gender: "TThostFtdcGenderType" = property(_thosttraderapi.CThostFtdcCancelAccountField_Gender_get, _thosttraderapi.CThostFtdcCancelAccountField_Gender_set, doc=r"""性别""")
    CountryCode: "TThostFtdcCountryCodeType" = property(_thosttraderapi.CThostFtdcCancelAccountField_CountryCode_get, _thosttraderapi.CThostFtdcCancelAccountField_CountryCode_set, doc=r"""国家代码""")
    CustType: "TThostFtdcCustTypeType" = property(_thosttraderapi.CThostFtdcCancelAccountField_CustType_get, _thosttraderapi.CThostFtdcCancelAccountField_CustType_set, doc=r"""客户类型""")
    Address: "TThostFtdcAddressType" = property(_thosttraderapi.CThostFtdcCancelAccountField_Address_get, _thosttraderapi.CThostFtdcCancelAccountField_Address_set, doc=r"""地址""")
    ZipCode: "TThostFtdcZipCodeType" = property(_thosttraderapi.CThostFtdcCancelAccountField_ZipCode_get, _thosttraderapi.CThostFtdcCancelAccountField_ZipCode_set, doc=r"""邮编""")
    Telephone: "TThostFtdcTelephoneType" = property(_thosttraderapi.CThostFtdcCancelAccountField_Telephone_get, _thosttraderapi.CThostFtdcCancelAccountField_Telephone_set, doc=r"""电话号码""")
    MobilePhone: "TThostFtdcMobilePhoneType" = property(_thosttraderapi.CThostFtdcCancelAccountField_MobilePhone_get, _thosttraderapi.CThostFtdcCancelAccountField_MobilePhone_set, doc=r"""手机""")
    Fax: "TThostFtdcFaxType" = property(_thosttraderapi.CThostFtdcCancelAccountField_Fax_get, _thosttraderapi.CThostFtdcCancelAccountField_Fax_set, doc=r"""传真""")
    EMail: "TThostFtdcEMailType" = property(_thosttraderapi.CThostFtdcCancelAccountField_EMail_get, _thosttraderapi.CThostFtdcCancelAccountField_EMail_set, doc=r"""电子邮件""")
    MoneyAccountStatus: "TThostFtdcMoneyAccountStatusType" = property(_thosttraderapi.CThostFtdcCancelAccountField_MoneyAccountStatus_get, _thosttraderapi.CThostFtdcCancelAccountField_MoneyAccountStatus_set, doc=r"""资金账户状态""")
    BankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcCancelAccountField_BankAccount_get, _thosttraderapi.CThostFtdcCancelAccountField_BankAccount_set, doc=r"""银行帐号""")
    BankPassWord: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcCancelAccountField_BankPassWord_get, _thosttraderapi.CThostFtdcCancelAccountField_BankPassWord_set, doc=r"""银行密码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcCancelAccountField_AccountID_get, _thosttraderapi.CThostFtdcCancelAccountField_AccountID_set, doc=r"""投资者帐号""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcCancelAccountField_Password_get, _thosttraderapi.CThostFtdcCancelAccountField_Password_set, doc=r"""期货密码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcCancelAccountField_InstallID_get, _thosttraderapi.CThostFtdcCancelAccountField_InstallID_set, doc=r"""安装编号""")
    VerifyCertNoFlag: "TThostFtdcYesNoIndicatorType" = property(_thosttraderapi.CThostFtdcCancelAccountField_VerifyCertNoFlag_get, _thosttraderapi.CThostFtdcCancelAccountField_VerifyCertNoFlag_set, doc=r"""验证客户证件号码标志""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcCancelAccountField_CurrencyID_get, _thosttraderapi.CThostFtdcCancelAccountField_CurrencyID_set, doc=r"""币种代码""")
    CashExchangeCode: "TThostFtdcCashExchangeCodeType" = property(_thosttraderapi.CThostFtdcCancelAccountField_CashExchangeCode_get, _thosttraderapi.CThostFtdcCancelAccountField_CashExchangeCode_set, doc=r"""汇钞标志""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcCancelAccountField_Digest_get, _thosttraderapi.CThostFtdcCancelAccountField_Digest_set, doc=r"""摘要""")
    BankAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcCancelAccountField_BankAccType_get, _thosttraderapi.CThostFtdcCancelAccountField_BankAccType_set, doc=r"""银行帐号类型""")
    DeviceID: "TThostFtdcDeviceIDType" = property(_thosttraderapi.CThostFtdcCancelAccountField_DeviceID_get, _thosttraderapi.CThostFtdcCancelAccountField_DeviceID_set, doc=r"""渠道标志""")
    BankSecuAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcCancelAccountField_BankSecuAccType_get, _thosttraderapi.CThostFtdcCancelAccountField_BankSecuAccType_set, doc=r"""期货单位帐号类型""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcCancelAccountField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcCancelAccountField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    BankSecuAcc: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcCancelAccountField_BankSecuAcc_get, _thosttraderapi.CThostFtdcCancelAccountField_BankSecuAcc_set, doc=r"""期货单位帐号""")
    BankPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcCancelAccountField_BankPwdFlag_get, _thosttraderapi.CThostFtdcCancelAccountField_BankPwdFlag_set, doc=r"""银行密码标志""")
    SecuPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcCancelAccountField_SecuPwdFlag_get, _thosttraderapi.CThostFtdcCancelAccountField_SecuPwdFlag_set, doc=r"""期货资金密码核对标志""")
    OperNo: "TThostFtdcOperNoType" = property(_thosttraderapi.CThostFtdcCancelAccountField_OperNo_get, _thosttraderapi.CThostFtdcCancelAccountField_OperNo_set, doc=r"""交易柜员""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcCancelAccountField_TID_get, _thosttraderapi.CThostFtdcCancelAccountField_TID_set, doc=r"""交易ID""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcCancelAccountField_UserID_get, _thosttraderapi.CThostFtdcCancelAccountField_UserID_set, doc=r"""用户标识""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcCancelAccountField_ErrorID_get, _thosttraderapi.CThostFtdcCancelAccountField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcCancelAccountField_ErrorMsg_get, _thosttraderapi.CThostFtdcCancelAccountField_ErrorMsg_set, doc=r"""错误信息""")
    LongCustomerName: "TThostFtdcLongIndividualNameType" = property(_thosttraderapi.CThostFtdcCancelAccountField_LongCustomerName_get, _thosttraderapi.CThostFtdcCancelAccountField_LongCustomerName_set, doc=r"""长客户姓名""")

    def __init__(self):
        _thosttraderapi.CThostFtdcCancelAccountField_swiginit(self, _thosttraderapi.new_CThostFtdcCancelAccountField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcCancelAccountField

# Register CThostFtdcCancelAccountField in _thosttraderapi:
_thosttraderapi.CThostFtdcCancelAccountField_swigregister(CThostFtdcCancelAccountField)
class CThostFtdcChangeAccountField(object):
    r"""银期变更银行账号信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcChangeAccountField_TradeCode_get, _thosttraderapi.CThostFtdcChangeAccountField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcChangeAccountField_BankID_get, _thosttraderapi.CThostFtdcChangeAccountField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcChangeAccountField_BankBranchID_get, _thosttraderapi.CThostFtdcChangeAccountField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcChangeAccountField_BrokerID_get, _thosttraderapi.CThostFtdcChangeAccountField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcChangeAccountField_BrokerBranchID_get, _thosttraderapi.CThostFtdcChangeAccountField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcChangeAccountField_TradeDate_get, _thosttraderapi.CThostFtdcChangeAccountField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcChangeAccountField_TradeTime_get, _thosttraderapi.CThostFtdcChangeAccountField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcChangeAccountField_BankSerial_get, _thosttraderapi.CThostFtdcChangeAccountField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcChangeAccountField_TradingDay_get, _thosttraderapi.CThostFtdcChangeAccountField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcChangeAccountField_PlateSerial_get, _thosttraderapi.CThostFtdcChangeAccountField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcChangeAccountField_LastFragment_get, _thosttraderapi.CThostFtdcChangeAccountField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcChangeAccountField_SessionID_get, _thosttraderapi.CThostFtdcChangeAccountField_SessionID_set, doc=r"""会话号""")
    CustomerName: "TThostFtdcIndividualNameType" = property(_thosttraderapi.CThostFtdcChangeAccountField_CustomerName_get, _thosttraderapi.CThostFtdcChangeAccountField_CustomerName_set, doc=r"""客户姓名""")
    IdCardType: "TThostFtdcIdCardTypeType" = property(_thosttraderapi.CThostFtdcChangeAccountField_IdCardType_get, _thosttraderapi.CThostFtdcChangeAccountField_IdCardType_set, doc=r"""证件类型""")
    IdentifiedCardNo: "TThostFtdcIdentifiedCardNoType" = property(_thosttraderapi.CThostFtdcChangeAccountField_IdentifiedCardNo_get, _thosttraderapi.CThostFtdcChangeAccountField_IdentifiedCardNo_set, doc=r"""证件号码""")
    Gender: "TThostFtdcGenderType" = property(_thosttraderapi.CThostFtdcChangeAccountField_Gender_get, _thosttraderapi.CThostFtdcChangeAccountField_Gender_set, doc=r"""性别""")
    CountryCode: "TThostFtdcCountryCodeType" = property(_thosttraderapi.CThostFtdcChangeAccountField_CountryCode_get, _thosttraderapi.CThostFtdcChangeAccountField_CountryCode_set, doc=r"""国家代码""")
    CustType: "TThostFtdcCustTypeType" = property(_thosttraderapi.CThostFtdcChangeAccountField_CustType_get, _thosttraderapi.CThostFtdcChangeAccountField_CustType_set, doc=r"""客户类型""")
    Address: "TThostFtdcAddressType" = property(_thosttraderapi.CThostFtdcChangeAccountField_Address_get, _thosttraderapi.CThostFtdcChangeAccountField_Address_set, doc=r"""地址""")
    ZipCode: "TThostFtdcZipCodeType" = property(_thosttraderapi.CThostFtdcChangeAccountField_ZipCode_get, _thosttraderapi.CThostFtdcChangeAccountField_ZipCode_set, doc=r"""邮编""")
    Telephone: "TThostFtdcTelephoneType" = property(_thosttraderapi.CThostFtdcChangeAccountField_Telephone_get, _thosttraderapi.CThostFtdcChangeAccountField_Telephone_set, doc=r"""电话号码""")
    MobilePhone: "TThostFtdcMobilePhoneType" = property(_thosttraderapi.CThostFtdcChangeAccountField_MobilePhone_get, _thosttraderapi.CThostFtdcChangeAccountField_MobilePhone_set, doc=r"""手机""")
    Fax: "TThostFtdcFaxType" = property(_thosttraderapi.CThostFtdcChangeAccountField_Fax_get, _thosttraderapi.CThostFtdcChangeAccountField_Fax_set, doc=r"""传真""")
    EMail: "TThostFtdcEMailType" = property(_thosttraderapi.CThostFtdcChangeAccountField_EMail_get, _thosttraderapi.CThostFtdcChangeAccountField_EMail_set, doc=r"""电子邮件""")
    MoneyAccountStatus: "TThostFtdcMoneyAccountStatusType" = property(_thosttraderapi.CThostFtdcChangeAccountField_MoneyAccountStatus_get, _thosttraderapi.CThostFtdcChangeAccountField_MoneyAccountStatus_set, doc=r"""资金账户状态""")
    BankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcChangeAccountField_BankAccount_get, _thosttraderapi.CThostFtdcChangeAccountField_BankAccount_set, doc=r"""银行帐号""")
    BankPassWord: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcChangeAccountField_BankPassWord_get, _thosttraderapi.CThostFtdcChangeAccountField_BankPassWord_set, doc=r"""银行密码""")
    NewBankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcChangeAccountField_NewBankAccount_get, _thosttraderapi.CThostFtdcChangeAccountField_NewBankAccount_set, doc=r"""新银行帐号""")
    NewBankPassWord: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcChangeAccountField_NewBankPassWord_get, _thosttraderapi.CThostFtdcChangeAccountField_NewBankPassWord_set, doc=r"""新银行密码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcChangeAccountField_AccountID_get, _thosttraderapi.CThostFtdcChangeAccountField_AccountID_set, doc=r"""投资者帐号""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcChangeAccountField_Password_get, _thosttraderapi.CThostFtdcChangeAccountField_Password_set, doc=r"""期货密码""")
    BankAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcChangeAccountField_BankAccType_get, _thosttraderapi.CThostFtdcChangeAccountField_BankAccType_set, doc=r"""银行帐号类型""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcChangeAccountField_InstallID_get, _thosttraderapi.CThostFtdcChangeAccountField_InstallID_set, doc=r"""安装编号""")
    VerifyCertNoFlag: "TThostFtdcYesNoIndicatorType" = property(_thosttraderapi.CThostFtdcChangeAccountField_VerifyCertNoFlag_get, _thosttraderapi.CThostFtdcChangeAccountField_VerifyCertNoFlag_set, doc=r"""验证客户证件号码标志""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcChangeAccountField_CurrencyID_get, _thosttraderapi.CThostFtdcChangeAccountField_CurrencyID_set, doc=r"""币种代码""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcChangeAccountField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcChangeAccountField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    BankPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcChangeAccountField_BankPwdFlag_get, _thosttraderapi.CThostFtdcChangeAccountField_BankPwdFlag_set, doc=r"""银行密码标志""")
    SecuPwdFlag: "TThostFtdcPwdFlagType" = property(_thosttraderapi.CThostFtdcChangeAccountField_SecuPwdFlag_get, _thosttraderapi.CThostFtdcChangeAccountField_SecuPwdFlag_set, doc=r"""期货资金密码核对标志""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcChangeAccountField_TID_get, _thosttraderapi.CThostFtdcChangeAccountField_TID_set, doc=r"""交易ID""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcChangeAccountField_Digest_get, _thosttraderapi.CThostFtdcChangeAccountField_Digest_set, doc=r"""摘要""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcChangeAccountField_ErrorID_get, _thosttraderapi.CThostFtdcChangeAccountField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcChangeAccountField_ErrorMsg_get, _thosttraderapi.CThostFtdcChangeAccountField_ErrorMsg_set, doc=r"""错误信息""")
    LongCustomerName: "TThostFtdcLongIndividualNameType" = property(_thosttraderapi.CThostFtdcChangeAccountField_LongCustomerName_get, _thosttraderapi.CThostFtdcChangeAccountField_LongCustomerName_set, doc=r"""长客户姓名""")

    def __init__(self):
        _thosttraderapi.CThostFtdcChangeAccountField_swiginit(self, _thosttraderapi.new_CThostFtdcChangeAccountField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcChangeAccountField

# Register CThostFtdcChangeAccountField in _thosttraderapi:
_thosttraderapi.CThostFtdcChangeAccountField_swigregister(CThostFtdcChangeAccountField)
class CThostFtdcSecAgentACIDMapField(object):
    r"""二级代理操作员银期权限"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSecAgentACIDMapField_BrokerID_get, _thosttraderapi.CThostFtdcSecAgentACIDMapField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcSecAgentACIDMapField_UserID_get, _thosttraderapi.CThostFtdcSecAgentACIDMapField_UserID_set, doc=r"""用户代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcSecAgentACIDMapField_AccountID_get, _thosttraderapi.CThostFtdcSecAgentACIDMapField_AccountID_set, doc=r"""资金账户""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcSecAgentACIDMapField_CurrencyID_get, _thosttraderapi.CThostFtdcSecAgentACIDMapField_CurrencyID_set, doc=r"""币种""")
    BrokerSecAgentID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcSecAgentACIDMapField_BrokerSecAgentID_get, _thosttraderapi.CThostFtdcSecAgentACIDMapField_BrokerSecAgentID_set, doc=r"""境外中介机构资金帐号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSecAgentACIDMapField_swiginit(self, _thosttraderapi.new_CThostFtdcSecAgentACIDMapField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSecAgentACIDMapField

# Register CThostFtdcSecAgentACIDMapField in _thosttraderapi:
_thosttraderapi.CThostFtdcSecAgentACIDMapField_swigregister(CThostFtdcSecAgentACIDMapField)
class CThostFtdcQrySecAgentACIDMapField(object):
    r"""二级代理操作员银期权限查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQrySecAgentACIDMapField_BrokerID_get, _thosttraderapi.CThostFtdcQrySecAgentACIDMapField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcQrySecAgentACIDMapField_UserID_get, _thosttraderapi.CThostFtdcQrySecAgentACIDMapField_UserID_set, doc=r"""用户代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcQrySecAgentACIDMapField_AccountID_get, _thosttraderapi.CThostFtdcQrySecAgentACIDMapField_AccountID_set, doc=r"""资金账户""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcQrySecAgentACIDMapField_CurrencyID_get, _thosttraderapi.CThostFtdcQrySecAgentACIDMapField_CurrencyID_set, doc=r"""币种""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQrySecAgentACIDMapField_swiginit(self, _thosttraderapi.new_CThostFtdcQrySecAgentACIDMapField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQrySecAgentACIDMapField

# Register CThostFtdcQrySecAgentACIDMapField in _thosttraderapi:
_thosttraderapi.CThostFtdcQrySecAgentACIDMapField_swigregister(CThostFtdcQrySecAgentACIDMapField)
class CThostFtdcUserRightsAssignField(object):
    r"""灾备中心交易权限"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcUserRightsAssignField_BrokerID_get, _thosttraderapi.CThostFtdcUserRightsAssignField_BrokerID_set, doc=r"""应用单元代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcUserRightsAssignField_UserID_get, _thosttraderapi.CThostFtdcUserRightsAssignField_UserID_set, doc=r"""用户代码""")
    DRIdentityID: "TThostFtdcDRIdentityIDType" = property(_thosttraderapi.CThostFtdcUserRightsAssignField_DRIdentityID_get, _thosttraderapi.CThostFtdcUserRightsAssignField_DRIdentityID_set, doc=r"""交易中心代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcUserRightsAssignField_swiginit(self, _thosttraderapi.new_CThostFtdcUserRightsAssignField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcUserRightsAssignField

# Register CThostFtdcUserRightsAssignField in _thosttraderapi:
_thosttraderapi.CThostFtdcUserRightsAssignField_swigregister(CThostFtdcUserRightsAssignField)
class CThostFtdcBrokerUserRightAssignField(object):
    r"""经济公司是否有在本标示的交易权限"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcBrokerUserRightAssignField_BrokerID_get, _thosttraderapi.CThostFtdcBrokerUserRightAssignField_BrokerID_set, doc=r"""应用单元代码""")
    DRIdentityID: "TThostFtdcDRIdentityIDType" = property(_thosttraderapi.CThostFtdcBrokerUserRightAssignField_DRIdentityID_get, _thosttraderapi.CThostFtdcBrokerUserRightAssignField_DRIdentityID_set, doc=r"""交易中心代码""")
    Tradeable: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcBrokerUserRightAssignField_Tradeable_get, _thosttraderapi.CThostFtdcBrokerUserRightAssignField_Tradeable_set, doc=r"""能否交易""")

    def __init__(self):
        _thosttraderapi.CThostFtdcBrokerUserRightAssignField_swiginit(self, _thosttraderapi.new_CThostFtdcBrokerUserRightAssignField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcBrokerUserRightAssignField

# Register CThostFtdcBrokerUserRightAssignField in _thosttraderapi:
_thosttraderapi.CThostFtdcBrokerUserRightAssignField_swigregister(CThostFtdcBrokerUserRightAssignField)
class CThostFtdcDRTransferField(object):
    r"""灾备交易转换报文"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    OrigDRIdentityID: "TThostFtdcDRIdentityIDType" = property(_thosttraderapi.CThostFtdcDRTransferField_OrigDRIdentityID_get, _thosttraderapi.CThostFtdcDRTransferField_OrigDRIdentityID_set, doc=r"""原交易中心代码""")
    DestDRIdentityID: "TThostFtdcDRIdentityIDType" = property(_thosttraderapi.CThostFtdcDRTransferField_DestDRIdentityID_get, _thosttraderapi.CThostFtdcDRTransferField_DestDRIdentityID_set, doc=r"""目标交易中心代码""")
    OrigBrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcDRTransferField_OrigBrokerID_get, _thosttraderapi.CThostFtdcDRTransferField_OrigBrokerID_set, doc=r"""原应用单元代码""")
    DestBrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcDRTransferField_DestBrokerID_get, _thosttraderapi.CThostFtdcDRTransferField_DestBrokerID_set, doc=r"""目标易用单元代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcDRTransferField_swiginit(self, _thosttraderapi.new_CThostFtdcDRTransferField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcDRTransferField

# Register CThostFtdcDRTransferField in _thosttraderapi:
_thosttraderapi.CThostFtdcDRTransferField_swigregister(CThostFtdcDRTransferField)
class CThostFtdcFensUserInfoField(object):
    r"""Fens用户信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcFensUserInfoField_BrokerID_get, _thosttraderapi.CThostFtdcFensUserInfoField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcFensUserInfoField_UserID_get, _thosttraderapi.CThostFtdcFensUserInfoField_UserID_set, doc=r"""用户代码""")
    LoginMode: "TThostFtdcLoginModeType" = property(_thosttraderapi.CThostFtdcFensUserInfoField_LoginMode_get, _thosttraderapi.CThostFtdcFensUserInfoField_LoginMode_set, doc=r"""登录模式""")

    def __init__(self):
        _thosttraderapi.CThostFtdcFensUserInfoField_swiginit(self, _thosttraderapi.new_CThostFtdcFensUserInfoField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcFensUserInfoField

# Register CThostFtdcFensUserInfoField in _thosttraderapi:
_thosttraderapi.CThostFtdcFensUserInfoField_swigregister(CThostFtdcFensUserInfoField)
class CThostFtdcCurrTransferIdentityField(object):
    r"""当前银期所属交易中心"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    IdentityID: "TThostFtdcDRIdentityIDType" = property(_thosttraderapi.CThostFtdcCurrTransferIdentityField_IdentityID_get, _thosttraderapi.CThostFtdcCurrTransferIdentityField_IdentityID_set, doc=r"""交易中心代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcCurrTransferIdentityField_swiginit(self, _thosttraderapi.new_CThostFtdcCurrTransferIdentityField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcCurrTransferIdentityField

# Register CThostFtdcCurrTransferIdentityField in _thosttraderapi:
_thosttraderapi.CThostFtdcCurrTransferIdentityField_swigregister(CThostFtdcCurrTransferIdentityField)
class CThostFtdcLoginForbiddenUserField(object):
    r"""禁止登录用户"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcLoginForbiddenUserField_BrokerID_get, _thosttraderapi.CThostFtdcLoginForbiddenUserField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcLoginForbiddenUserField_UserID_get, _thosttraderapi.CThostFtdcLoginForbiddenUserField_UserID_set, doc=r"""用户代码""")
    reserve1: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcLoginForbiddenUserField_reserve1_get, _thosttraderapi.CThostFtdcLoginForbiddenUserField_reserve1_set, doc=r"""保留的无效字段""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcLoginForbiddenUserField_IPAddress_get, _thosttraderapi.CThostFtdcLoginForbiddenUserField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcLoginForbiddenUserField_swiginit(self, _thosttraderapi.new_CThostFtdcLoginForbiddenUserField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcLoginForbiddenUserField

# Register CThostFtdcLoginForbiddenUserField in _thosttraderapi:
_thosttraderapi.CThostFtdcLoginForbiddenUserField_swigregister(CThostFtdcLoginForbiddenUserField)
class CThostFtdcQryLoginForbiddenUserField(object):
    r"""查询禁止登录用户"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryLoginForbiddenUserField_BrokerID_get, _thosttraderapi.CThostFtdcQryLoginForbiddenUserField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcQryLoginForbiddenUserField_UserID_get, _thosttraderapi.CThostFtdcQryLoginForbiddenUserField_UserID_set, doc=r"""用户代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryLoginForbiddenUserField_swiginit(self, _thosttraderapi.new_CThostFtdcQryLoginForbiddenUserField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryLoginForbiddenUserField

# Register CThostFtdcQryLoginForbiddenUserField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryLoginForbiddenUserField_swigregister(CThostFtdcQryLoginForbiddenUserField)
class CThostFtdcTradingAccountReserveField(object):
    r"""资金账户基本准备金"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcTradingAccountReserveField_BrokerID_get, _thosttraderapi.CThostFtdcTradingAccountReserveField_BrokerID_set, doc=r"""经纪公司代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcTradingAccountReserveField_AccountID_get, _thosttraderapi.CThostFtdcTradingAccountReserveField_AccountID_set, doc=r"""投资者帐号""")
    Reserve: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcTradingAccountReserveField_Reserve_get, _thosttraderapi.CThostFtdcTradingAccountReserveField_Reserve_set, doc=r"""基本准备金""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcTradingAccountReserveField_CurrencyID_get, _thosttraderapi.CThostFtdcTradingAccountReserveField_CurrencyID_set, doc=r"""币种代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcTradingAccountReserveField_swiginit(self, _thosttraderapi.new_CThostFtdcTradingAccountReserveField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTradingAccountReserveField

# Register CThostFtdcTradingAccountReserveField in _thosttraderapi:
_thosttraderapi.CThostFtdcTradingAccountReserveField_swigregister(CThostFtdcTradingAccountReserveField)
class CThostFtdcQryLoginForbiddenIPField(object):
    r"""查询禁止登录IP"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcQryLoginForbiddenIPField_reserve1_get, _thosttraderapi.CThostFtdcQryLoginForbiddenIPField_reserve1_set, doc=r"""保留的无效字段""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcQryLoginForbiddenIPField_IPAddress_get, _thosttraderapi.CThostFtdcQryLoginForbiddenIPField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryLoginForbiddenIPField_swiginit(self, _thosttraderapi.new_CThostFtdcQryLoginForbiddenIPField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryLoginForbiddenIPField

# Register CThostFtdcQryLoginForbiddenIPField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryLoginForbiddenIPField_swigregister(CThostFtdcQryLoginForbiddenIPField)
class CThostFtdcQryIPListField(object):
    r"""查询IP列表"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    reserve1: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcQryIPListField_reserve1_get, _thosttraderapi.CThostFtdcQryIPListField_reserve1_set, doc=r"""保留的无效字段""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcQryIPListField_IPAddress_get, _thosttraderapi.CThostFtdcQryIPListField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryIPListField_swiginit(self, _thosttraderapi.new_CThostFtdcQryIPListField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryIPListField

# Register CThostFtdcQryIPListField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryIPListField_swigregister(CThostFtdcQryIPListField)
class CThostFtdcQryUserRightsAssignField(object):
    r"""查询用户下单权限分配表"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryUserRightsAssignField_BrokerID_get, _thosttraderapi.CThostFtdcQryUserRightsAssignField_BrokerID_set, doc=r"""应用单元代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcQryUserRightsAssignField_UserID_get, _thosttraderapi.CThostFtdcQryUserRightsAssignField_UserID_set, doc=r"""用户代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryUserRightsAssignField_swiginit(self, _thosttraderapi.new_CThostFtdcQryUserRightsAssignField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryUserRightsAssignField

# Register CThostFtdcQryUserRightsAssignField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryUserRightsAssignField_swigregister(CThostFtdcQryUserRightsAssignField)
class CThostFtdcReserveOpenAccountConfirmField(object):
    r"""银期预约开户确认请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_TradeCode_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BankID_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BankBranchID_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BrokerID_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BrokerBranchID_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_TradeDate_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_TradeTime_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BankSerial_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_TradingDay_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_PlateSerial_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_LastFragment_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_SessionID_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_SessionID_set, doc=r"""会话号""")
    CustomerName: "TThostFtdcLongIndividualNameType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_CustomerName_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_CustomerName_set, doc=r"""客户姓名""")
    IdCardType: "TThostFtdcIdCardTypeType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_IdCardType_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_IdCardType_set, doc=r"""证件类型""")
    IdentifiedCardNo: "TThostFtdcIdentifiedCardNoType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_IdentifiedCardNo_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_IdentifiedCardNo_set, doc=r"""证件号码""")
    Gender: "TThostFtdcGenderType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_Gender_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_Gender_set, doc=r"""性别""")
    CountryCode: "TThostFtdcCountryCodeType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_CountryCode_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_CountryCode_set, doc=r"""国家代码""")
    CustType: "TThostFtdcCustTypeType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_CustType_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_CustType_set, doc=r"""客户类型""")
    Address: "TThostFtdcAddressType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_Address_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_Address_set, doc=r"""地址""")
    ZipCode: "TThostFtdcZipCodeType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_ZipCode_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_ZipCode_set, doc=r"""邮编""")
    Telephone: "TThostFtdcTelephoneType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_Telephone_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_Telephone_set, doc=r"""电话号码""")
    MobilePhone: "TThostFtdcMobilePhoneType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_MobilePhone_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_MobilePhone_set, doc=r"""手机""")
    Fax: "TThostFtdcFaxType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_Fax_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_Fax_set, doc=r"""传真""")
    EMail: "TThostFtdcEMailType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_EMail_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_EMail_set, doc=r"""电子邮件""")
    MoneyAccountStatus: "TThostFtdcMoneyAccountStatusType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_MoneyAccountStatus_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_MoneyAccountStatus_set, doc=r"""资金账户状态""")
    BankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BankAccount_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BankAccount_set, doc=r"""银行帐号""")
    BankPassWord: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BankPassWord_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BankPassWord_set, doc=r"""银行密码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_InstallID_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_InstallID_set, doc=r"""安装编号""")
    VerifyCertNoFlag: "TThostFtdcYesNoIndicatorType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_VerifyCertNoFlag_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_VerifyCertNoFlag_set, doc=r"""验证客户证件号码标志""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_CurrencyID_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_CurrencyID_set, doc=r"""币种代码""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_Digest_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_Digest_set, doc=r"""摘要""")
    BankAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BankAccType_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BankAccType_set, doc=r"""银行帐号类型""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_TID_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_TID_set, doc=r"""交易ID""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_AccountID_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_AccountID_set, doc=r"""投资者帐号""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_Password_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_Password_set, doc=r"""期货密码""")
    BankReserveOpenSeq: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BankReserveOpenSeq_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BankReserveOpenSeq_set, doc=r"""预约开户银行流水号""")
    BookDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BookDate_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BookDate_set, doc=r"""预约开户日期""")
    BookPsw: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BookPsw_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_BookPsw_set, doc=r"""预约开户验证密码""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_ErrorID_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_ErrorMsg_get, _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_ErrorMsg_set, doc=r"""错误信息""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_swiginit(self, _thosttraderapi.new_CThostFtdcReserveOpenAccountConfirmField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReserveOpenAccountConfirmField

# Register CThostFtdcReserveOpenAccountConfirmField in _thosttraderapi:
_thosttraderapi.CThostFtdcReserveOpenAccountConfirmField_swigregister(CThostFtdcReserveOpenAccountConfirmField)
class CThostFtdcReserveOpenAccountField(object):
    r"""银期预约开户"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradeCode: "TThostFtdcTradeCodeType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_TradeCode_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_TradeCode_set, doc=r"""业务功能码""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_BankID_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_BankID_set, doc=r"""银行代码""")
    BankBranchID: "TThostFtdcBankBrchIDType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_BankBranchID_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_BankBranchID_set, doc=r"""银行分支机构代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_BrokerID_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_BrokerID_set, doc=r"""期商代码""")
    BrokerBranchID: "TThostFtdcFutureBranchIDType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_BrokerBranchID_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_BrokerBranchID_set, doc=r"""期商分支机构代码""")
    TradeDate: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_TradeDate_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_TradeDate_set, doc=r"""交易日期""")
    TradeTime: "TThostFtdcTradeTimeType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_TradeTime_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_TradeTime_set, doc=r"""交易时间""")
    BankSerial: "TThostFtdcBankSerialType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_BankSerial_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_BankSerial_set, doc=r"""银行流水号""")
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_TradingDay_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_TradingDay_set, doc=r"""交易系统日期""")
    PlateSerial: "TThostFtdcSerialType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_PlateSerial_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_PlateSerial_set, doc=r"""银期平台消息流水号""")
    LastFragment: "TThostFtdcLastFragmentType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_LastFragment_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_LastFragment_set, doc=r"""最后分片标志""")
    SessionID: "TThostFtdcSessionIDType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_SessionID_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_SessionID_set, doc=r"""会话号""")
    CustomerName: "TThostFtdcLongIndividualNameType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_CustomerName_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_CustomerName_set, doc=r"""客户姓名""")
    IdCardType: "TThostFtdcIdCardTypeType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_IdCardType_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_IdCardType_set, doc=r"""证件类型""")
    IdentifiedCardNo: "TThostFtdcIdentifiedCardNoType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_IdentifiedCardNo_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_IdentifiedCardNo_set, doc=r"""证件号码""")
    Gender: "TThostFtdcGenderType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_Gender_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_Gender_set, doc=r"""性别""")
    CountryCode: "TThostFtdcCountryCodeType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_CountryCode_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_CountryCode_set, doc=r"""国家代码""")
    CustType: "TThostFtdcCustTypeType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_CustType_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_CustType_set, doc=r"""客户类型""")
    Address: "TThostFtdcAddressType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_Address_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_Address_set, doc=r"""地址""")
    ZipCode: "TThostFtdcZipCodeType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_ZipCode_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_ZipCode_set, doc=r"""邮编""")
    Telephone: "TThostFtdcTelephoneType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_Telephone_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_Telephone_set, doc=r"""电话号码""")
    MobilePhone: "TThostFtdcMobilePhoneType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_MobilePhone_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_MobilePhone_set, doc=r"""手机""")
    Fax: "TThostFtdcFaxType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_Fax_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_Fax_set, doc=r"""传真""")
    EMail: "TThostFtdcEMailType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_EMail_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_EMail_set, doc=r"""电子邮件""")
    MoneyAccountStatus: "TThostFtdcMoneyAccountStatusType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_MoneyAccountStatus_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_MoneyAccountStatus_set, doc=r"""资金账户状态""")
    BankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_BankAccount_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_BankAccount_set, doc=r"""银行帐号""")
    BankPassWord: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_BankPassWord_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_BankPassWord_set, doc=r"""银行密码""")
    InstallID: "TThostFtdcInstallIDType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_InstallID_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_InstallID_set, doc=r"""安装编号""")
    VerifyCertNoFlag: "TThostFtdcYesNoIndicatorType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_VerifyCertNoFlag_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_VerifyCertNoFlag_set, doc=r"""验证客户证件号码标志""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_CurrencyID_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_CurrencyID_set, doc=r"""币种代码""")
    Digest: "TThostFtdcDigestType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_Digest_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_Digest_set, doc=r"""摘要""")
    BankAccType: "TThostFtdcBankAccTypeType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_BankAccType_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_BankAccType_set, doc=r"""银行帐号类型""")
    BrokerIDByBank: "TThostFtdcBankCodingForFutureType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_BrokerIDByBank_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_BrokerIDByBank_set, doc=r"""期货公司银行编码""")
    TID: "TThostFtdcTIDType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_TID_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_TID_set, doc=r"""交易ID""")
    ReserveOpenAccStas: "TThostFtdcReserveOpenAccStasType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_ReserveOpenAccStas_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_ReserveOpenAccStas_set, doc=r"""预约开户状态""")
    ErrorID: "TThostFtdcErrorIDType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_ErrorID_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_ErrorID_set, doc=r"""错误代码""")
    ErrorMsg: "TThostFtdcErrorMsgType" = property(_thosttraderapi.CThostFtdcReserveOpenAccountField_ErrorMsg_get, _thosttraderapi.CThostFtdcReserveOpenAccountField_ErrorMsg_set, doc=r"""错误信息""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReserveOpenAccountField_swiginit(self, _thosttraderapi.new_CThostFtdcReserveOpenAccountField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReserveOpenAccountField

# Register CThostFtdcReserveOpenAccountField in _thosttraderapi:
_thosttraderapi.CThostFtdcReserveOpenAccountField_swigregister(CThostFtdcReserveOpenAccountField)
class CThostFtdcAccountPropertyField(object):
    r"""银行账户属性"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcAccountPropertyField_BrokerID_get, _thosttraderapi.CThostFtdcAccountPropertyField_BrokerID_set, doc=r"""经纪公司代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcAccountPropertyField_AccountID_get, _thosttraderapi.CThostFtdcAccountPropertyField_AccountID_set, doc=r"""投资者帐号""")
    BankID: "TThostFtdcBankIDType" = property(_thosttraderapi.CThostFtdcAccountPropertyField_BankID_get, _thosttraderapi.CThostFtdcAccountPropertyField_BankID_set, doc=r"""银行统一标识类型""")
    BankAccount: "TThostFtdcBankAccountType" = property(_thosttraderapi.CThostFtdcAccountPropertyField_BankAccount_get, _thosttraderapi.CThostFtdcAccountPropertyField_BankAccount_set, doc=r"""银行账户""")
    OpenName: "TThostFtdcInvestorFullNameType" = property(_thosttraderapi.CThostFtdcAccountPropertyField_OpenName_get, _thosttraderapi.CThostFtdcAccountPropertyField_OpenName_set, doc=r"""银行账户的开户人名称""")
    OpenBank: "TThostFtdcOpenBankType" = property(_thosttraderapi.CThostFtdcAccountPropertyField_OpenBank_get, _thosttraderapi.CThostFtdcAccountPropertyField_OpenBank_set, doc=r"""银行账户的开户行""")
    IsActive: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcAccountPropertyField_IsActive_get, _thosttraderapi.CThostFtdcAccountPropertyField_IsActive_set, doc=r"""是否活跃""")
    AccountSourceType: "TThostFtdcAccountSourceTypeType" = property(_thosttraderapi.CThostFtdcAccountPropertyField_AccountSourceType_get, _thosttraderapi.CThostFtdcAccountPropertyField_AccountSourceType_set, doc=r"""账户来源""")
    OpenDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcAccountPropertyField_OpenDate_get, _thosttraderapi.CThostFtdcAccountPropertyField_OpenDate_set, doc=r"""开户日期""")
    CancelDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcAccountPropertyField_CancelDate_get, _thosttraderapi.CThostFtdcAccountPropertyField_CancelDate_set, doc=r"""注销日期""")
    OperatorID: "TThostFtdcOperatorIDType" = property(_thosttraderapi.CThostFtdcAccountPropertyField_OperatorID_get, _thosttraderapi.CThostFtdcAccountPropertyField_OperatorID_set, doc=r"""录入员代码""")
    OperateDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcAccountPropertyField_OperateDate_get, _thosttraderapi.CThostFtdcAccountPropertyField_OperateDate_set, doc=r"""录入日期""")
    OperateTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcAccountPropertyField_OperateTime_get, _thosttraderapi.CThostFtdcAccountPropertyField_OperateTime_set, doc=r"""录入时间""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcAccountPropertyField_CurrencyID_get, _thosttraderapi.CThostFtdcAccountPropertyField_CurrencyID_set, doc=r"""币种代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcAccountPropertyField_swiginit(self, _thosttraderapi.new_CThostFtdcAccountPropertyField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcAccountPropertyField

# Register CThostFtdcAccountPropertyField in _thosttraderapi:
_thosttraderapi.CThostFtdcAccountPropertyField_swigregister(CThostFtdcAccountPropertyField)
class CThostFtdcQryCurrDRIdentityField(object):
    r"""查询当前交易中心"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    DRIdentityID: "TThostFtdcDRIdentityIDType" = property(_thosttraderapi.CThostFtdcQryCurrDRIdentityField_DRIdentityID_get, _thosttraderapi.CThostFtdcQryCurrDRIdentityField_DRIdentityID_set, doc=r"""交易中心代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryCurrDRIdentityField_swiginit(self, _thosttraderapi.new_CThostFtdcQryCurrDRIdentityField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryCurrDRIdentityField

# Register CThostFtdcQryCurrDRIdentityField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryCurrDRIdentityField_swigregister(CThostFtdcQryCurrDRIdentityField)
class CThostFtdcCurrDRIdentityField(object):
    r"""当前交易中心"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    DRIdentityID: "TThostFtdcDRIdentityIDType" = property(_thosttraderapi.CThostFtdcCurrDRIdentityField_DRIdentityID_get, _thosttraderapi.CThostFtdcCurrDRIdentityField_DRIdentityID_set, doc=r"""交易中心代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcCurrDRIdentityField_swiginit(self, _thosttraderapi.new_CThostFtdcCurrDRIdentityField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcCurrDRIdentityField

# Register CThostFtdcCurrDRIdentityField in _thosttraderapi:
_thosttraderapi.CThostFtdcCurrDRIdentityField_swigregister(CThostFtdcCurrDRIdentityField)
class CThostFtdcQrySecAgentCheckModeField(object):
    r"""查询二级代理商资金校验模式"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQrySecAgentCheckModeField_BrokerID_get, _thosttraderapi.CThostFtdcQrySecAgentCheckModeField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQrySecAgentCheckModeField_InvestorID_get, _thosttraderapi.CThostFtdcQrySecAgentCheckModeField_InvestorID_set, doc=r"""投资者代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQrySecAgentCheckModeField_swiginit(self, _thosttraderapi.new_CThostFtdcQrySecAgentCheckModeField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQrySecAgentCheckModeField

# Register CThostFtdcQrySecAgentCheckModeField in _thosttraderapi:
_thosttraderapi.CThostFtdcQrySecAgentCheckModeField_swigregister(CThostFtdcQrySecAgentCheckModeField)
class CThostFtdcQrySecAgentTradeInfoField(object):
    r"""查询二级代理商信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQrySecAgentTradeInfoField_BrokerID_get, _thosttraderapi.CThostFtdcQrySecAgentTradeInfoField_BrokerID_set, doc=r"""经纪公司代码""")
    BrokerSecAgentID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcQrySecAgentTradeInfoField_BrokerSecAgentID_get, _thosttraderapi.CThostFtdcQrySecAgentTradeInfoField_BrokerSecAgentID_set, doc=r"""境外中介机构资金帐号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQrySecAgentTradeInfoField_swiginit(self, _thosttraderapi.new_CThostFtdcQrySecAgentTradeInfoField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQrySecAgentTradeInfoField

# Register CThostFtdcQrySecAgentTradeInfoField in _thosttraderapi:
_thosttraderapi.CThostFtdcQrySecAgentTradeInfoField_swigregister(CThostFtdcQrySecAgentTradeInfoField)
class CThostFtdcReqUserAuthMethodField(object):
    r"""用户发出获取安全安全登陆方法请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcReqUserAuthMethodField_TradingDay_get, _thosttraderapi.CThostFtdcReqUserAuthMethodField_TradingDay_set, doc=r"""交易日""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcReqUserAuthMethodField_BrokerID_get, _thosttraderapi.CThostFtdcReqUserAuthMethodField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcReqUserAuthMethodField_UserID_get, _thosttraderapi.CThostFtdcReqUserAuthMethodField_UserID_set, doc=r"""用户代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReqUserAuthMethodField_swiginit(self, _thosttraderapi.new_CThostFtdcReqUserAuthMethodField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReqUserAuthMethodField

# Register CThostFtdcReqUserAuthMethodField in _thosttraderapi:
_thosttraderapi.CThostFtdcReqUserAuthMethodField_swigregister(CThostFtdcReqUserAuthMethodField)
class CThostFtdcRspUserAuthMethodField(object):
    r"""用户发出获取安全安全登陆方法回复"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    UsableAuthMethod: "TThostFtdcCurrentAuthMethodType" = property(_thosttraderapi.CThostFtdcRspUserAuthMethodField_UsableAuthMethod_get, _thosttraderapi.CThostFtdcRspUserAuthMethodField_UsableAuthMethod_set, doc=r"""当前可以用的认证模式""")

    def __init__(self):
        _thosttraderapi.CThostFtdcRspUserAuthMethodField_swiginit(self, _thosttraderapi.new_CThostFtdcRspUserAuthMethodField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcRspUserAuthMethodField

# Register CThostFtdcRspUserAuthMethodField in _thosttraderapi:
_thosttraderapi.CThostFtdcRspUserAuthMethodField_swigregister(CThostFtdcRspUserAuthMethodField)
class CThostFtdcReqGenUserCaptchaField(object):
    r"""用户发出获取安全安全登陆方法请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcReqGenUserCaptchaField_TradingDay_get, _thosttraderapi.CThostFtdcReqGenUserCaptchaField_TradingDay_set, doc=r"""交易日""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcReqGenUserCaptchaField_BrokerID_get, _thosttraderapi.CThostFtdcReqGenUserCaptchaField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcReqGenUserCaptchaField_UserID_get, _thosttraderapi.CThostFtdcReqGenUserCaptchaField_UserID_set, doc=r"""用户代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReqGenUserCaptchaField_swiginit(self, _thosttraderapi.new_CThostFtdcReqGenUserCaptchaField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReqGenUserCaptchaField

# Register CThostFtdcReqGenUserCaptchaField in _thosttraderapi:
_thosttraderapi.CThostFtdcReqGenUserCaptchaField_swigregister(CThostFtdcReqGenUserCaptchaField)
class CThostFtdcRspGenUserCaptchaField(object):
    r"""生成的图片验证码信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcRspGenUserCaptchaField_BrokerID_get, _thosttraderapi.CThostFtdcRspGenUserCaptchaField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcRspGenUserCaptchaField_UserID_get, _thosttraderapi.CThostFtdcRspGenUserCaptchaField_UserID_set, doc=r"""用户代码""")
    CaptchaInfoLen: "TThostFtdcCaptchaInfoLenType" = property(_thosttraderapi.CThostFtdcRspGenUserCaptchaField_CaptchaInfoLen_get, _thosttraderapi.CThostFtdcRspGenUserCaptchaField_CaptchaInfoLen_set, doc=r"""图片信息长度""")
    CaptchaInfo: "TThostFtdcCaptchaInfoType" = property(_thosttraderapi.CThostFtdcRspGenUserCaptchaField_CaptchaInfo_get, _thosttraderapi.CThostFtdcRspGenUserCaptchaField_CaptchaInfo_set, doc=r"""图片信息""")

    def __init__(self):
        _thosttraderapi.CThostFtdcRspGenUserCaptchaField_swiginit(self, _thosttraderapi.new_CThostFtdcRspGenUserCaptchaField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcRspGenUserCaptchaField

# Register CThostFtdcRspGenUserCaptchaField in _thosttraderapi:
_thosttraderapi.CThostFtdcRspGenUserCaptchaField_swigregister(CThostFtdcRspGenUserCaptchaField)
class CThostFtdcReqGenUserTextField(object):
    r"""用户发出获取安全安全登陆方法请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcReqGenUserTextField_TradingDay_get, _thosttraderapi.CThostFtdcReqGenUserTextField_TradingDay_set, doc=r"""交易日""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcReqGenUserTextField_BrokerID_get, _thosttraderapi.CThostFtdcReqGenUserTextField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcReqGenUserTextField_UserID_get, _thosttraderapi.CThostFtdcReqGenUserTextField_UserID_set, doc=r"""用户代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReqGenUserTextField_swiginit(self, _thosttraderapi.new_CThostFtdcReqGenUserTextField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReqGenUserTextField

# Register CThostFtdcReqGenUserTextField in _thosttraderapi:
_thosttraderapi.CThostFtdcReqGenUserTextField_swigregister(CThostFtdcReqGenUserTextField)
class CThostFtdcRspGenUserTextField(object):
    r"""短信验证码生成的回复"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    UserTextSeq: "TThostFtdcUserTextSeqType" = property(_thosttraderapi.CThostFtdcRspGenUserTextField_UserTextSeq_get, _thosttraderapi.CThostFtdcRspGenUserTextField_UserTextSeq_set, doc=r"""短信验证码序号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcRspGenUserTextField_swiginit(self, _thosttraderapi.new_CThostFtdcRspGenUserTextField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcRspGenUserTextField

# Register CThostFtdcRspGenUserTextField in _thosttraderapi:
_thosttraderapi.CThostFtdcRspGenUserTextField_swigregister(CThostFtdcRspGenUserTextField)
class CThostFtdcReqUserLoginWithCaptchaField(object):
    r"""用户发出带图形验证码的登录请求请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_TradingDay_get, _thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_TradingDay_set, doc=r"""交易日""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_BrokerID_get, _thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_UserID_get, _thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_UserID_set, doc=r"""用户代码""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_Password_get, _thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_Password_set, doc=r"""密码""")
    UserProductInfo: "TThostFtdcProductInfoType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_UserProductInfo_get, _thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_UserProductInfo_set, doc=r"""用户端产品信息""")
    InterfaceProductInfo: "TThostFtdcProductInfoType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_InterfaceProductInfo_get, _thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_InterfaceProductInfo_set, doc=r"""接口端产品信息""")
    ProtocolInfo: "TThostFtdcProtocolInfoType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_ProtocolInfo_get, _thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_ProtocolInfo_set, doc=r"""协议信息""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_MacAddress_get, _thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_MacAddress_set, doc=r"""Mac地址""")
    reserve1: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_reserve1_get, _thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_reserve1_set, doc=r"""保留的无效字段""")
    LoginRemark: "TThostFtdcLoginRemarkType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_LoginRemark_get, _thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_LoginRemark_set, doc=r"""登录备注""")
    Captcha: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_Captcha_get, _thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_Captcha_set, doc=r"""图形验证码的文字内容""")
    ClientIPPort: "TThostFtdcIPPortType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_ClientIPPort_get, _thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_ClientIPPort_set, doc=r"""终端IP端口""")
    ClientIPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_ClientIPAddress_get, _thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_ClientIPAddress_set, doc=r"""终端IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_swiginit(self, _thosttraderapi.new_CThostFtdcReqUserLoginWithCaptchaField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReqUserLoginWithCaptchaField

# Register CThostFtdcReqUserLoginWithCaptchaField in _thosttraderapi:
_thosttraderapi.CThostFtdcReqUserLoginWithCaptchaField_swigregister(CThostFtdcReqUserLoginWithCaptchaField)
class CThostFtdcReqUserLoginWithTextField(object):
    r"""用户发出带短信验证码的登录请求请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithTextField_TradingDay_get, _thosttraderapi.CThostFtdcReqUserLoginWithTextField_TradingDay_set, doc=r"""交易日""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithTextField_BrokerID_get, _thosttraderapi.CThostFtdcReqUserLoginWithTextField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithTextField_UserID_get, _thosttraderapi.CThostFtdcReqUserLoginWithTextField_UserID_set, doc=r"""用户代码""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithTextField_Password_get, _thosttraderapi.CThostFtdcReqUserLoginWithTextField_Password_set, doc=r"""密码""")
    UserProductInfo: "TThostFtdcProductInfoType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithTextField_UserProductInfo_get, _thosttraderapi.CThostFtdcReqUserLoginWithTextField_UserProductInfo_set, doc=r"""用户端产品信息""")
    InterfaceProductInfo: "TThostFtdcProductInfoType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithTextField_InterfaceProductInfo_get, _thosttraderapi.CThostFtdcReqUserLoginWithTextField_InterfaceProductInfo_set, doc=r"""接口端产品信息""")
    ProtocolInfo: "TThostFtdcProtocolInfoType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithTextField_ProtocolInfo_get, _thosttraderapi.CThostFtdcReqUserLoginWithTextField_ProtocolInfo_set, doc=r"""协议信息""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithTextField_MacAddress_get, _thosttraderapi.CThostFtdcReqUserLoginWithTextField_MacAddress_set, doc=r"""Mac地址""")
    reserve1: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithTextField_reserve1_get, _thosttraderapi.CThostFtdcReqUserLoginWithTextField_reserve1_set, doc=r"""保留的无效字段""")
    LoginRemark: "TThostFtdcLoginRemarkType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithTextField_LoginRemark_get, _thosttraderapi.CThostFtdcReqUserLoginWithTextField_LoginRemark_set, doc=r"""登录备注""")
    Text: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithTextField_Text_get, _thosttraderapi.CThostFtdcReqUserLoginWithTextField_Text_set, doc=r"""短信验证码文字内容""")
    ClientIPPort: "TThostFtdcIPPortType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithTextField_ClientIPPort_get, _thosttraderapi.CThostFtdcReqUserLoginWithTextField_ClientIPPort_set, doc=r"""终端IP端口""")
    ClientIPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithTextField_ClientIPAddress_get, _thosttraderapi.CThostFtdcReqUserLoginWithTextField_ClientIPAddress_set, doc=r"""终端IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReqUserLoginWithTextField_swiginit(self, _thosttraderapi.new_CThostFtdcReqUserLoginWithTextField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReqUserLoginWithTextField

# Register CThostFtdcReqUserLoginWithTextField in _thosttraderapi:
_thosttraderapi.CThostFtdcReqUserLoginWithTextField_swigregister(CThostFtdcReqUserLoginWithTextField)
class CThostFtdcReqUserLoginWithOTPField(object):
    r"""用户发出带动态验证码的登录请求请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithOTPField_TradingDay_get, _thosttraderapi.CThostFtdcReqUserLoginWithOTPField_TradingDay_set, doc=r"""交易日""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithOTPField_BrokerID_get, _thosttraderapi.CThostFtdcReqUserLoginWithOTPField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithOTPField_UserID_get, _thosttraderapi.CThostFtdcReqUserLoginWithOTPField_UserID_set, doc=r"""用户代码""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithOTPField_Password_get, _thosttraderapi.CThostFtdcReqUserLoginWithOTPField_Password_set, doc=r"""密码""")
    UserProductInfo: "TThostFtdcProductInfoType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithOTPField_UserProductInfo_get, _thosttraderapi.CThostFtdcReqUserLoginWithOTPField_UserProductInfo_set, doc=r"""用户端产品信息""")
    InterfaceProductInfo: "TThostFtdcProductInfoType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithOTPField_InterfaceProductInfo_get, _thosttraderapi.CThostFtdcReqUserLoginWithOTPField_InterfaceProductInfo_set, doc=r"""接口端产品信息""")
    ProtocolInfo: "TThostFtdcProtocolInfoType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithOTPField_ProtocolInfo_get, _thosttraderapi.CThostFtdcReqUserLoginWithOTPField_ProtocolInfo_set, doc=r"""协议信息""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithOTPField_MacAddress_get, _thosttraderapi.CThostFtdcReqUserLoginWithOTPField_MacAddress_set, doc=r"""Mac地址""")
    reserve1: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithOTPField_reserve1_get, _thosttraderapi.CThostFtdcReqUserLoginWithOTPField_reserve1_set, doc=r"""保留的无效字段""")
    LoginRemark: "TThostFtdcLoginRemarkType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithOTPField_LoginRemark_get, _thosttraderapi.CThostFtdcReqUserLoginWithOTPField_LoginRemark_set, doc=r"""登录备注""")
    OTPPassword: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithOTPField_OTPPassword_get, _thosttraderapi.CThostFtdcReqUserLoginWithOTPField_OTPPassword_set, doc=r"""OTP密码""")
    ClientIPPort: "TThostFtdcIPPortType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithOTPField_ClientIPPort_get, _thosttraderapi.CThostFtdcReqUserLoginWithOTPField_ClientIPPort_set, doc=r"""终端IP端口""")
    ClientIPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcReqUserLoginWithOTPField_ClientIPAddress_get, _thosttraderapi.CThostFtdcReqUserLoginWithOTPField_ClientIPAddress_set, doc=r"""终端IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReqUserLoginWithOTPField_swiginit(self, _thosttraderapi.new_CThostFtdcReqUserLoginWithOTPField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReqUserLoginWithOTPField

# Register CThostFtdcReqUserLoginWithOTPField in _thosttraderapi:
_thosttraderapi.CThostFtdcReqUserLoginWithOTPField_swigregister(CThostFtdcReqUserLoginWithOTPField)
class CThostFtdcReqApiHandshakeField(object):
    r"""api握手请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    CryptoKeyVersion: "TThostFtdcCryptoKeyVersionType" = property(_thosttraderapi.CThostFtdcReqApiHandshakeField_CryptoKeyVersion_get, _thosttraderapi.CThostFtdcReqApiHandshakeField_CryptoKeyVersion_set, doc=r"""api与front通信密钥版本号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReqApiHandshakeField_swiginit(self, _thosttraderapi.new_CThostFtdcReqApiHandshakeField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReqApiHandshakeField

# Register CThostFtdcReqApiHandshakeField in _thosttraderapi:
_thosttraderapi.CThostFtdcReqApiHandshakeField_swigregister(CThostFtdcReqApiHandshakeField)
class CThostFtdcRspApiHandshakeField(object):
    r"""front发给api的握手回复"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    FrontHandshakeDataLen: "TThostFtdcHandshakeDataLenType" = property(_thosttraderapi.CThostFtdcRspApiHandshakeField_FrontHandshakeDataLen_get, _thosttraderapi.CThostFtdcRspApiHandshakeField_FrontHandshakeDataLen_set, doc=r"""握手回复数据长度""")
    FrontHandshakeData: "TThostFtdcHandshakeDataType" = property(_thosttraderapi.CThostFtdcRspApiHandshakeField_FrontHandshakeData_get, _thosttraderapi.CThostFtdcRspApiHandshakeField_FrontHandshakeData_set, doc=r"""握手回复数据""")
    IsApiAuthEnabled: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcRspApiHandshakeField_IsApiAuthEnabled_get, _thosttraderapi.CThostFtdcRspApiHandshakeField_IsApiAuthEnabled_set, doc=r"""API认证是否开启""")

    def __init__(self):
        _thosttraderapi.CThostFtdcRspApiHandshakeField_swiginit(self, _thosttraderapi.new_CThostFtdcRspApiHandshakeField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcRspApiHandshakeField

# Register CThostFtdcRspApiHandshakeField in _thosttraderapi:
_thosttraderapi.CThostFtdcRspApiHandshakeField_swigregister(CThostFtdcRspApiHandshakeField)
class CThostFtdcReqVerifyApiKeyField(object):
    r"""api给front的验证key的请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ApiHandshakeDataLen: "TThostFtdcHandshakeDataLenType" = property(_thosttraderapi.CThostFtdcReqVerifyApiKeyField_ApiHandshakeDataLen_get, _thosttraderapi.CThostFtdcReqVerifyApiKeyField_ApiHandshakeDataLen_set, doc=r"""握手回复数据长度""")
    ApiHandshakeData: "TThostFtdcHandshakeDataType" = property(_thosttraderapi.CThostFtdcReqVerifyApiKeyField_ApiHandshakeData_get, _thosttraderapi.CThostFtdcReqVerifyApiKeyField_ApiHandshakeData_set, doc=r"""握手回复数据""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReqVerifyApiKeyField_swiginit(self, _thosttraderapi.new_CThostFtdcReqVerifyApiKeyField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReqVerifyApiKeyField

# Register CThostFtdcReqVerifyApiKeyField in _thosttraderapi:
_thosttraderapi.CThostFtdcReqVerifyApiKeyField_swigregister(CThostFtdcReqVerifyApiKeyField)
class CThostFtdcDepartmentUserField(object):
    r"""操作员组织架构关系"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcDepartmentUserField_BrokerID_get, _thosttraderapi.CThostFtdcDepartmentUserField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcDepartmentUserField_UserID_get, _thosttraderapi.CThostFtdcDepartmentUserField_UserID_set, doc=r"""用户代码""")
    InvestorRange: "TThostFtdcDepartmentRangeType" = property(_thosttraderapi.CThostFtdcDepartmentUserField_InvestorRange_get, _thosttraderapi.CThostFtdcDepartmentUserField_InvestorRange_set, doc=r"""投资者范围""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcDepartmentUserField_InvestorID_get, _thosttraderapi.CThostFtdcDepartmentUserField_InvestorID_set, doc=r"""投资者代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcDepartmentUserField_swiginit(self, _thosttraderapi.new_CThostFtdcDepartmentUserField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcDepartmentUserField

# Register CThostFtdcDepartmentUserField in _thosttraderapi:
_thosttraderapi.CThostFtdcDepartmentUserField_swigregister(CThostFtdcDepartmentUserField)
class CThostFtdcQueryFreqField(object):
    r"""查询频率，每秒查询比数"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    QueryFreq: "TThostFtdcQueryFreqType" = property(_thosttraderapi.CThostFtdcQueryFreqField_QueryFreq_get, _thosttraderapi.CThostFtdcQueryFreqField_QueryFreq_set, doc=r"""查询频率""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQueryFreqField_swiginit(self, _thosttraderapi.new_CThostFtdcQueryFreqField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQueryFreqField

# Register CThostFtdcQueryFreqField in _thosttraderapi:
_thosttraderapi.CThostFtdcQueryFreqField_swigregister(CThostFtdcQueryFreqField)
class CThostFtdcAuthForbiddenIPField(object):
    r"""禁止认证IP"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcAuthForbiddenIPField_IPAddress_get, _thosttraderapi.CThostFtdcAuthForbiddenIPField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcAuthForbiddenIPField_swiginit(self, _thosttraderapi.new_CThostFtdcAuthForbiddenIPField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcAuthForbiddenIPField

# Register CThostFtdcAuthForbiddenIPField in _thosttraderapi:
_thosttraderapi.CThostFtdcAuthForbiddenIPField_swigregister(CThostFtdcAuthForbiddenIPField)
class CThostFtdcQryAuthForbiddenIPField(object):
    r"""查询禁止认证IP"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcQryAuthForbiddenIPField_IPAddress_get, _thosttraderapi.CThostFtdcQryAuthForbiddenIPField_IPAddress_set, doc=r"""IP地址""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryAuthForbiddenIPField_swiginit(self, _thosttraderapi.new_CThostFtdcQryAuthForbiddenIPField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryAuthForbiddenIPField

# Register CThostFtdcQryAuthForbiddenIPField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryAuthForbiddenIPField_swigregister(CThostFtdcQryAuthForbiddenIPField)
class CThostFtdcSyncDelaySwapFrozenField(object):
    r"""换汇可提冻结"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    DelaySwapSeqNo: "TThostFtdcDepositSeqNoType" = property(_thosttraderapi.CThostFtdcSyncDelaySwapFrozenField_DelaySwapSeqNo_get, _thosttraderapi.CThostFtdcSyncDelaySwapFrozenField_DelaySwapSeqNo_set, doc=r"""换汇流水号""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncDelaySwapFrozenField_BrokerID_get, _thosttraderapi.CThostFtdcSyncDelaySwapFrozenField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSyncDelaySwapFrozenField_InvestorID_get, _thosttraderapi.CThostFtdcSyncDelaySwapFrozenField_InvestorID_set, doc=r"""投资者代码""")
    FromCurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcSyncDelaySwapFrozenField_FromCurrencyID_get, _thosttraderapi.CThostFtdcSyncDelaySwapFrozenField_FromCurrencyID_set, doc=r"""源币种""")
    FromRemainSwap: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDelaySwapFrozenField_FromRemainSwap_get, _thosttraderapi.CThostFtdcSyncDelaySwapFrozenField_FromRemainSwap_set, doc=r"""源剩余换汇额度(可提冻结)""")
    IsManualSwap: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcSyncDelaySwapFrozenField_IsManualSwap_get, _thosttraderapi.CThostFtdcSyncDelaySwapFrozenField_IsManualSwap_set, doc=r"""是否手工换汇""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncDelaySwapFrozenField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncDelaySwapFrozenField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncDelaySwapFrozenField

# Register CThostFtdcSyncDelaySwapFrozenField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncDelaySwapFrozenField_swigregister(CThostFtdcSyncDelaySwapFrozenField)
class CThostFtdcUserSystemInfoField(object):
    r"""用户系统信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcUserSystemInfoField_BrokerID_get, _thosttraderapi.CThostFtdcUserSystemInfoField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcUserSystemInfoField_UserID_get, _thosttraderapi.CThostFtdcUserSystemInfoField_UserID_set, doc=r"""用户代码""")
    ClientSystemInfoLen: "TThostFtdcSystemInfoLenType" = property(_thosttraderapi.CThostFtdcUserSystemInfoField_ClientSystemInfoLen_get, _thosttraderapi.CThostFtdcUserSystemInfoField_ClientSystemInfoLen_set, doc=r"""用户端系统内部信息长度""")
    ClientSystemInfo: "TThostFtdcClientSystemInfoType" = property(_thosttraderapi.CThostFtdcUserSystemInfoField_ClientSystemInfo_get, _thosttraderapi.CThostFtdcUserSystemInfoField_ClientSystemInfo_set, doc=r"""用户端系统内部信息""")
    reserve1: "TThostFtdcOldIPAddressType" = property(_thosttraderapi.CThostFtdcUserSystemInfoField_reserve1_get, _thosttraderapi.CThostFtdcUserSystemInfoField_reserve1_set, doc=r"""保留的无效字段""")
    ClientIPPort: "TThostFtdcIPPortType" = property(_thosttraderapi.CThostFtdcUserSystemInfoField_ClientIPPort_get, _thosttraderapi.CThostFtdcUserSystemInfoField_ClientIPPort_set, doc=r"""终端IP端口""")
    ClientLoginTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcUserSystemInfoField_ClientLoginTime_get, _thosttraderapi.CThostFtdcUserSystemInfoField_ClientLoginTime_set, doc=r"""登录成功时间""")
    ClientAppID: "TThostFtdcAppIDType" = property(_thosttraderapi.CThostFtdcUserSystemInfoField_ClientAppID_get, _thosttraderapi.CThostFtdcUserSystemInfoField_ClientAppID_set, doc=r"""App代码""")
    ClientPublicIP: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcUserSystemInfoField_ClientPublicIP_get, _thosttraderapi.CThostFtdcUserSystemInfoField_ClientPublicIP_set, doc=r"""用户公网IP""")
    ClientLoginRemark: "TThostFtdcClientLoginRemarkType" = property(_thosttraderapi.CThostFtdcUserSystemInfoField_ClientLoginRemark_get, _thosttraderapi.CThostFtdcUserSystemInfoField_ClientLoginRemark_set, doc=r"""客户登录备注2""")

    def __init__(self):
        _thosttraderapi.CThostFtdcUserSystemInfoField_swiginit(self, _thosttraderapi.new_CThostFtdcUserSystemInfoField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcUserSystemInfoField

# Register CThostFtdcUserSystemInfoField in _thosttraderapi:
_thosttraderapi.CThostFtdcUserSystemInfoField_swigregister(CThostFtdcUserSystemInfoField)
class CThostFtdcAuthUserIDField(object):
    r"""终端用户绑定信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcAuthUserIDField_BrokerID_get, _thosttraderapi.CThostFtdcAuthUserIDField_BrokerID_set, doc=r"""经纪公司代码""")
    AppID: "TThostFtdcAppIDType" = property(_thosttraderapi.CThostFtdcAuthUserIDField_AppID_get, _thosttraderapi.CThostFtdcAuthUserIDField_AppID_set, doc=r"""App代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcAuthUserIDField_UserID_get, _thosttraderapi.CThostFtdcAuthUserIDField_UserID_set, doc=r"""用户代码""")
    AuthType: "TThostFtdcAuthTypeType" = property(_thosttraderapi.CThostFtdcAuthUserIDField_AuthType_get, _thosttraderapi.CThostFtdcAuthUserIDField_AuthType_set, doc=r"""校验类型""")

    def __init__(self):
        _thosttraderapi.CThostFtdcAuthUserIDField_swiginit(self, _thosttraderapi.new_CThostFtdcAuthUserIDField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcAuthUserIDField

# Register CThostFtdcAuthUserIDField in _thosttraderapi:
_thosttraderapi.CThostFtdcAuthUserIDField_swigregister(CThostFtdcAuthUserIDField)
class CThostFtdcAuthIPField(object):
    r"""用户IP绑定信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcAuthIPField_BrokerID_get, _thosttraderapi.CThostFtdcAuthIPField_BrokerID_set, doc=r"""经纪公司代码""")
    AppID: "TThostFtdcAppIDType" = property(_thosttraderapi.CThostFtdcAuthIPField_AppID_get, _thosttraderapi.CThostFtdcAuthIPField_AppID_set, doc=r"""App代码""")
    IPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcAuthIPField_IPAddress_get, _thosttraderapi.CThostFtdcAuthIPField_IPAddress_set, doc=r"""用户代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcAuthIPField_swiginit(self, _thosttraderapi.new_CThostFtdcAuthIPField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcAuthIPField

# Register CThostFtdcAuthIPField in _thosttraderapi:
_thosttraderapi.CThostFtdcAuthIPField_swigregister(CThostFtdcAuthIPField)
class CThostFtdcQryClassifiedInstrumentField(object):
    r"""查询分类合约"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryClassifiedInstrumentField_InstrumentID_get, _thosttraderapi.CThostFtdcQryClassifiedInstrumentField_InstrumentID_set, doc=r"""合约代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryClassifiedInstrumentField_ExchangeID_get, _thosttraderapi.CThostFtdcQryClassifiedInstrumentField_ExchangeID_set, doc=r"""交易所代码""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcQryClassifiedInstrumentField_ExchangeInstID_get, _thosttraderapi.CThostFtdcQryClassifiedInstrumentField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")
    ProductID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryClassifiedInstrumentField_ProductID_get, _thosttraderapi.CThostFtdcQryClassifiedInstrumentField_ProductID_set, doc=r"""产品代码""")
    TradingType: "TThostFtdcTradingTypeType" = property(_thosttraderapi.CThostFtdcQryClassifiedInstrumentField_TradingType_get, _thosttraderapi.CThostFtdcQryClassifiedInstrumentField_TradingType_set, doc=r"""合约交易状态""")
    ClassType: "TThostFtdcClassTypeType" = property(_thosttraderapi.CThostFtdcQryClassifiedInstrumentField_ClassType_get, _thosttraderapi.CThostFtdcQryClassifiedInstrumentField_ClassType_set, doc=r"""合约分类类型""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryClassifiedInstrumentField_swiginit(self, _thosttraderapi.new_CThostFtdcQryClassifiedInstrumentField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryClassifiedInstrumentField

# Register CThostFtdcQryClassifiedInstrumentField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryClassifiedInstrumentField_swigregister(CThostFtdcQryClassifiedInstrumentField)
class CThostFtdcQryCombPromotionParamField(object):
    r"""查询组合优惠比例"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryCombPromotionParamField_ExchangeID_get, _thosttraderapi.CThostFtdcQryCombPromotionParamField_ExchangeID_set, doc=r"""交易所代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryCombPromotionParamField_InstrumentID_get, _thosttraderapi.CThostFtdcQryCombPromotionParamField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryCombPromotionParamField_swiginit(self, _thosttraderapi.new_CThostFtdcQryCombPromotionParamField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryCombPromotionParamField

# Register CThostFtdcQryCombPromotionParamField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryCombPromotionParamField_swigregister(CThostFtdcQryCombPromotionParamField)
class CThostFtdcCombPromotionParamField(object):
    r"""组合优惠比例"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcCombPromotionParamField_ExchangeID_get, _thosttraderapi.CThostFtdcCombPromotionParamField_ExchangeID_set, doc=r"""交易所代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcCombPromotionParamField_InstrumentID_get, _thosttraderapi.CThostFtdcCombPromotionParamField_InstrumentID_set, doc=r"""合约代码""")
    CombHedgeFlag: "TThostFtdcCombHedgeFlagType" = property(_thosttraderapi.CThostFtdcCombPromotionParamField_CombHedgeFlag_get, _thosttraderapi.CThostFtdcCombPromotionParamField_CombHedgeFlag_set, doc=r"""投机套保标志""")
    Xparameter: "TThostFtdcDiscountRatioType" = property(_thosttraderapi.CThostFtdcCombPromotionParamField_Xparameter_get, _thosttraderapi.CThostFtdcCombPromotionParamField_Xparameter_set, doc=r"""期权组合保证金比例""")

    def __init__(self):
        _thosttraderapi.CThostFtdcCombPromotionParamField_swiginit(self, _thosttraderapi.new_CThostFtdcCombPromotionParamField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcCombPromotionParamField

# Register CThostFtdcCombPromotionParamField in _thosttraderapi:
_thosttraderapi.CThostFtdcCombPromotionParamField_swigregister(CThostFtdcCombPromotionParamField)
class CThostFtdcReqUserLoginSCField(object):
    r"""国密用户登录请求"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcReqUserLoginSCField_TradingDay_get, _thosttraderapi.CThostFtdcReqUserLoginSCField_TradingDay_set, doc=r"""交易日""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcReqUserLoginSCField_BrokerID_get, _thosttraderapi.CThostFtdcReqUserLoginSCField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcReqUserLoginSCField_UserID_get, _thosttraderapi.CThostFtdcReqUserLoginSCField_UserID_set, doc=r"""用户代码""")
    Password: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqUserLoginSCField_Password_get, _thosttraderapi.CThostFtdcReqUserLoginSCField_Password_set, doc=r"""密码""")
    UserProductInfo: "TThostFtdcProductInfoType" = property(_thosttraderapi.CThostFtdcReqUserLoginSCField_UserProductInfo_get, _thosttraderapi.CThostFtdcReqUserLoginSCField_UserProductInfo_set, doc=r"""用户端产品信息""")
    InterfaceProductInfo: "TThostFtdcProductInfoType" = property(_thosttraderapi.CThostFtdcReqUserLoginSCField_InterfaceProductInfo_get, _thosttraderapi.CThostFtdcReqUserLoginSCField_InterfaceProductInfo_set, doc=r"""接口端产品信息""")
    ProtocolInfo: "TThostFtdcProtocolInfoType" = property(_thosttraderapi.CThostFtdcReqUserLoginSCField_ProtocolInfo_get, _thosttraderapi.CThostFtdcReqUserLoginSCField_ProtocolInfo_set, doc=r"""协议信息""")
    MacAddress: "TThostFtdcMacAddressType" = property(_thosttraderapi.CThostFtdcReqUserLoginSCField_MacAddress_get, _thosttraderapi.CThostFtdcReqUserLoginSCField_MacAddress_set, doc=r"""Mac地址""")
    OneTimePassword: "TThostFtdcPasswordType" = property(_thosttraderapi.CThostFtdcReqUserLoginSCField_OneTimePassword_get, _thosttraderapi.CThostFtdcReqUserLoginSCField_OneTimePassword_set, doc=r"""动态密码""")
    ClientIPAddress: "TThostFtdcIPAddressType" = property(_thosttraderapi.CThostFtdcReqUserLoginSCField_ClientIPAddress_get, _thosttraderapi.CThostFtdcReqUserLoginSCField_ClientIPAddress_set, doc=r"""终端IP地址""")
    LoginRemark: "TThostFtdcLoginRemarkType" = property(_thosttraderapi.CThostFtdcReqUserLoginSCField_LoginRemark_get, _thosttraderapi.CThostFtdcReqUserLoginSCField_LoginRemark_set, doc=r"""登录备注""")
    ClientIPPort: "TThostFtdcIPPortType" = property(_thosttraderapi.CThostFtdcReqUserLoginSCField_ClientIPPort_get, _thosttraderapi.CThostFtdcReqUserLoginSCField_ClientIPPort_set, doc=r"""终端IP端口""")
    AuthCode: "TThostFtdcAuthCodeType" = property(_thosttraderapi.CThostFtdcReqUserLoginSCField_AuthCode_get, _thosttraderapi.CThostFtdcReqUserLoginSCField_AuthCode_set, doc=r"""认证码""")
    AppID: "TThostFtdcAppIDType" = property(_thosttraderapi.CThostFtdcReqUserLoginSCField_AppID_get, _thosttraderapi.CThostFtdcReqUserLoginSCField_AppID_set, doc=r"""App代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcReqUserLoginSCField_swiginit(self, _thosttraderapi.new_CThostFtdcReqUserLoginSCField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcReqUserLoginSCField

# Register CThostFtdcReqUserLoginSCField in _thosttraderapi:
_thosttraderapi.CThostFtdcReqUserLoginSCField_swigregister(CThostFtdcReqUserLoginSCField)
class CThostFtdcQryRiskSettleInvstPositionField(object):
    r"""投资者风险结算持仓查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryRiskSettleInvstPositionField_BrokerID_get, _thosttraderapi.CThostFtdcQryRiskSettleInvstPositionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryRiskSettleInvstPositionField_InvestorID_get, _thosttraderapi.CThostFtdcQryRiskSettleInvstPositionField_InvestorID_set, doc=r"""投资者代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryRiskSettleInvstPositionField_InstrumentID_get, _thosttraderapi.CThostFtdcQryRiskSettleInvstPositionField_InstrumentID_set, doc=r"""合约代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryRiskSettleInvstPositionField_swiginit(self, _thosttraderapi.new_CThostFtdcQryRiskSettleInvstPositionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryRiskSettleInvstPositionField

# Register CThostFtdcQryRiskSettleInvstPositionField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryRiskSettleInvstPositionField_swigregister(CThostFtdcQryRiskSettleInvstPositionField)
class CThostFtdcQryRiskSettleProductStatusField(object):
    r"""风险结算产品查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ProductID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryRiskSettleProductStatusField_ProductID_get, _thosttraderapi.CThostFtdcQryRiskSettleProductStatusField_ProductID_set, doc=r"""产品代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryRiskSettleProductStatusField_swiginit(self, _thosttraderapi.new_CThostFtdcQryRiskSettleProductStatusField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryRiskSettleProductStatusField

# Register CThostFtdcQryRiskSettleProductStatusField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryRiskSettleProductStatusField_swigregister(CThostFtdcQryRiskSettleProductStatusField)
class CThostFtdcRiskSettleInvstPositionField(object):
    r"""投资者风险结算持仓"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_InstrumentID_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_InstrumentID_set, doc=r"""合约代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_BrokerID_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_InvestorID_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_InvestorID_set, doc=r"""投资者代码""")
    PosiDirection: "TThostFtdcPosiDirectionType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_PosiDirection_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_PosiDirection_set, doc=r"""持仓多空方向""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_HedgeFlag_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_HedgeFlag_set, doc=r"""投机套保标志""")
    PositionDate: "TThostFtdcPositionDateType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_PositionDate_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_PositionDate_set, doc=r"""持仓日期""")
    YdPosition: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_YdPosition_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_YdPosition_set, doc=r"""上日持仓""")
    Position: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_Position_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_Position_set, doc=r"""今日持仓""")
    LongFrozen: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_LongFrozen_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_LongFrozen_set, doc=r"""多头冻结""")
    ShortFrozen: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_ShortFrozen_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_ShortFrozen_set, doc=r"""空头冻结""")
    LongFrozenAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_LongFrozenAmount_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_LongFrozenAmount_set, doc=r"""开仓冻结金额""")
    ShortFrozenAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_ShortFrozenAmount_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_ShortFrozenAmount_set, doc=r"""开仓冻结金额""")
    OpenVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_OpenVolume_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_OpenVolume_set, doc=r"""开仓量""")
    CloseVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_CloseVolume_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_CloseVolume_set, doc=r"""平仓量""")
    OpenAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_OpenAmount_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_OpenAmount_set, doc=r"""开仓金额""")
    CloseAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_CloseAmount_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_CloseAmount_set, doc=r"""平仓金额""")
    PositionCost: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_PositionCost_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_PositionCost_set, doc=r"""持仓成本""")
    PreMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_PreMargin_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_PreMargin_set, doc=r"""上次占用的保证金""")
    UseMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_UseMargin_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_UseMargin_set, doc=r"""占用的保证金""")
    FrozenMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_FrozenMargin_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_FrozenMargin_set, doc=r"""冻结的保证金""")
    FrozenCash: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_FrozenCash_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_FrozenCash_set, doc=r"""冻结的资金""")
    FrozenCommission: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_FrozenCommission_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_FrozenCommission_set, doc=r"""冻结的手续费""")
    CashIn: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_CashIn_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_CashIn_set, doc=r"""资金差额""")
    Commission: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_Commission_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_Commission_set, doc=r"""手续费""")
    CloseProfit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_CloseProfit_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_CloseProfit_set, doc=r"""平仓盈亏""")
    PositionProfit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_PositionProfit_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_PositionProfit_set, doc=r"""持仓盈亏""")
    PreSettlementPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_PreSettlementPrice_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_PreSettlementPrice_set, doc=r"""上次结算价""")
    SettlementPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_SettlementPrice_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_SettlementPrice_set, doc=r"""本次结算价""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_TradingDay_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_SettlementID_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_SettlementID_set, doc=r"""结算编号""")
    OpenCost: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_OpenCost_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_OpenCost_set, doc=r"""开仓成本""")
    ExchangeMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_ExchangeMargin_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_ExchangeMargin_set, doc=r"""交易所保证金""")
    CombPosition: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_CombPosition_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_CombPosition_set, doc=r"""组合成交形成的持仓""")
    CombLongFrozen: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_CombLongFrozen_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_CombLongFrozen_set, doc=r"""组合多头冻结""")
    CombShortFrozen: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_CombShortFrozen_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_CombShortFrozen_set, doc=r"""组合空头冻结""")
    CloseProfitByDate: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_CloseProfitByDate_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_CloseProfitByDate_set, doc=r"""逐日盯市平仓盈亏""")
    CloseProfitByTrade: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_CloseProfitByTrade_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_CloseProfitByTrade_set, doc=r"""逐笔对冲平仓盈亏""")
    TodayPosition: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_TodayPosition_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_TodayPosition_set, doc=r"""今日持仓""")
    MarginRateByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_MarginRateByMoney_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_MarginRateByMoney_set, doc=r"""保证金率""")
    MarginRateByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_MarginRateByVolume_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_MarginRateByVolume_set, doc=r"""保证金率(按手数)""")
    StrikeFrozen: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_StrikeFrozen_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_StrikeFrozen_set, doc=r"""执行冻结""")
    StrikeFrozenAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_StrikeFrozenAmount_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_StrikeFrozenAmount_set, doc=r"""执行冻结金额""")
    AbandonFrozen: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_AbandonFrozen_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_AbandonFrozen_set, doc=r"""放弃执行冻结""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_ExchangeID_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_ExchangeID_set, doc=r"""交易所代码""")
    YdStrikeFrozen: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_YdStrikeFrozen_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_YdStrikeFrozen_set, doc=r"""执行冻结的昨仓""")
    InvestUnitID: "TThostFtdcInvestUnitIDType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_InvestUnitID_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_InvestUnitID_set, doc=r"""投资单元代码""")
    PositionCostOffset: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_PositionCostOffset_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_PositionCostOffset_set, doc=r"""持仓成本差值""")
    TasPosition: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_TasPosition_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_TasPosition_set, doc=r"""tas持仓手数""")
    TasPositionCost: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_TasPositionCost_get, _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_TasPositionCost_set, doc=r"""tas持仓成本""")

    def __init__(self):
        _thosttraderapi.CThostFtdcRiskSettleInvstPositionField_swiginit(self, _thosttraderapi.new_CThostFtdcRiskSettleInvstPositionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcRiskSettleInvstPositionField

# Register CThostFtdcRiskSettleInvstPositionField in _thosttraderapi:
_thosttraderapi.CThostFtdcRiskSettleInvstPositionField_swigregister(CThostFtdcRiskSettleInvstPositionField)
class CThostFtdcRiskSettleProductStatusField(object):
    r"""风险品种"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcRiskSettleProductStatusField_ExchangeID_get, _thosttraderapi.CThostFtdcRiskSettleProductStatusField_ExchangeID_set, doc=r"""交易所代码""")
    ProductID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcRiskSettleProductStatusField_ProductID_get, _thosttraderapi.CThostFtdcRiskSettleProductStatusField_ProductID_set, doc=r"""产品编号""")
    ProductStatus: "TThostFtdcProductStatusType" = property(_thosttraderapi.CThostFtdcRiskSettleProductStatusField_ProductStatus_get, _thosttraderapi.CThostFtdcRiskSettleProductStatusField_ProductStatus_set, doc=r"""产品结算状态""")

    def __init__(self):
        _thosttraderapi.CThostFtdcRiskSettleProductStatusField_swiginit(self, _thosttraderapi.new_CThostFtdcRiskSettleProductStatusField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcRiskSettleProductStatusField

# Register CThostFtdcRiskSettleProductStatusField in _thosttraderapi:
_thosttraderapi.CThostFtdcRiskSettleProductStatusField_swigregister(CThostFtdcRiskSettleProductStatusField)
class CThostFtdcSyncDeltaInfoField(object):
    r"""风险结算追平信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    SyncDeltaSequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcSyncDeltaInfoField_SyncDeltaSequenceNo_get, _thosttraderapi.CThostFtdcSyncDeltaInfoField_SyncDeltaSequenceNo_set, doc=r"""追平序号""")
    SyncDeltaStatus: "TThostFtdcSyncDeltaStatusType" = property(_thosttraderapi.CThostFtdcSyncDeltaInfoField_SyncDeltaStatus_get, _thosttraderapi.CThostFtdcSyncDeltaInfoField_SyncDeltaStatus_set, doc=r"""追平状态""")
    SyncDescription: "TThostFtdcSyncDescriptionType" = property(_thosttraderapi.CThostFtdcSyncDeltaInfoField_SyncDescription_get, _thosttraderapi.CThostFtdcSyncDeltaInfoField_SyncDescription_set, doc=r"""追平描述""")
    IsOnlyTrdDelta: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcSyncDeltaInfoField_IsOnlyTrdDelta_get, _thosttraderapi.CThostFtdcSyncDeltaInfoField_IsOnlyTrdDelta_set, doc=r"""是否只有资金追平""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncDeltaInfoField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncDeltaInfoField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncDeltaInfoField

# Register CThostFtdcSyncDeltaInfoField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncDeltaInfoField_swigregister(CThostFtdcSyncDeltaInfoField)
class CThostFtdcSyncDeltaProductStatusField(object):
    r"""风险结算追平产品信息"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    SyncDeltaSequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcSyncDeltaProductStatusField_SyncDeltaSequenceNo_get, _thosttraderapi.CThostFtdcSyncDeltaProductStatusField_SyncDeltaSequenceNo_set, doc=r"""追平序号""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaProductStatusField_ExchangeID_get, _thosttraderapi.CThostFtdcSyncDeltaProductStatusField_ExchangeID_set, doc=r"""交易所代码""")
    ProductID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaProductStatusField_ProductID_get, _thosttraderapi.CThostFtdcSyncDeltaProductStatusField_ProductID_set, doc=r"""产品代码""")
    ProductStatus: "TThostFtdcProductStatusType" = property(_thosttraderapi.CThostFtdcSyncDeltaProductStatusField_ProductStatus_get, _thosttraderapi.CThostFtdcSyncDeltaProductStatusField_ProductStatus_set, doc=r"""是否允许交易""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncDeltaProductStatusField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncDeltaProductStatusField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncDeltaProductStatusField

# Register CThostFtdcSyncDeltaProductStatusField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncDeltaProductStatusField_swigregister(CThostFtdcSyncDeltaProductStatusField)
class CThostFtdcSyncDeltaInvstPosDtlField(object):
    r"""风险结算追平持仓明细"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_InstrumentID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_InstrumentID_set, doc=r"""合约代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_BrokerID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_InvestorID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_InvestorID_set, doc=r"""投资者代码""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_HedgeFlag_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_HedgeFlag_set, doc=r"""投机套保标志""")
    Direction: "TThostFtdcDirectionType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_Direction_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_Direction_set, doc=r"""买卖""")
    OpenDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_OpenDate_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_OpenDate_set, doc=r"""开仓日期""")
    TradeID: "TThostFtdcTradeIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_TradeID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_TradeID_set, doc=r"""成交编号""")
    Volume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_Volume_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_Volume_set, doc=r"""数量""")
    OpenPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_OpenPrice_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_OpenPrice_set, doc=r"""开仓价""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_TradingDay_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_SettlementID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_SettlementID_set, doc=r"""结算编号""")
    TradeType: "TThostFtdcTradeTypeType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_TradeType_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_TradeType_set, doc=r"""成交类型""")
    CombInstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_CombInstrumentID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_CombInstrumentID_set, doc=r"""组合合约代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_ExchangeID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_ExchangeID_set, doc=r"""交易所代码""")
    CloseProfitByDate: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_CloseProfitByDate_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_CloseProfitByDate_set, doc=r"""逐日盯市平仓盈亏""")
    CloseProfitByTrade: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_CloseProfitByTrade_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_CloseProfitByTrade_set, doc=r"""逐笔对冲平仓盈亏""")
    PositionProfitByDate: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_PositionProfitByDate_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_PositionProfitByDate_set, doc=r"""逐日盯市持仓盈亏""")
    PositionProfitByTrade: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_PositionProfitByTrade_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_PositionProfitByTrade_set, doc=r"""逐笔对冲持仓盈亏""")
    Margin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_Margin_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_Margin_set, doc=r"""投资者保证金""")
    ExchMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_ExchMargin_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_ExchMargin_set, doc=r"""交易所保证金""")
    MarginRateByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_MarginRateByMoney_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_MarginRateByMoney_set, doc=r"""保证金率""")
    MarginRateByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_MarginRateByVolume_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_MarginRateByVolume_set, doc=r"""保证金率(按手数)""")
    LastSettlementPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_LastSettlementPrice_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_LastSettlementPrice_set, doc=r"""昨结算价""")
    SettlementPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_SettlementPrice_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_SettlementPrice_set, doc=r"""结算价""")
    CloseVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_CloseVolume_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_CloseVolume_set, doc=r"""平仓量""")
    CloseAmount: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_CloseAmount_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_CloseAmount_set, doc=r"""平仓金额""")
    TimeFirstVolume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_TimeFirstVolume_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_TimeFirstVolume_set, doc=r"""先开先平剩余数量""")
    SpecPosiType: "TThostFtdcSpecPosiTypeType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_SpecPosiType_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_SpecPosiType_set, doc=r"""特殊持仓标志""")
    ActionDirection: "TThostFtdcActionDirectionType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_ActionDirection_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_ActionDirection_set, doc=r"""操作标志""")
    SyncDeltaSequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_SyncDeltaSequenceNo_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_SyncDeltaSequenceNo_set, doc=r"""追平序号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncDeltaInvstPosDtlField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncDeltaInvstPosDtlField

# Register CThostFtdcSyncDeltaInvstPosDtlField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncDeltaInvstPosDtlField_swigregister(CThostFtdcSyncDeltaInvstPosDtlField)
class CThostFtdcSyncDeltaInvstPosCombDtlField(object):
    r"""风险结算追平组合持仓明细"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_TradingDay_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_TradingDay_set, doc=r"""交易日""")
    OpenDate: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_OpenDate_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_OpenDate_set, doc=r"""开仓日期""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_ExchangeID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_ExchangeID_set, doc=r"""交易所代码""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_SettlementID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_SettlementID_set, doc=r"""结算编号""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_BrokerID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_InvestorID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_InvestorID_set, doc=r"""投资者代码""")
    ComTradeID: "TThostFtdcTradeIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_ComTradeID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_ComTradeID_set, doc=r"""组合编号""")
    TradeID: "TThostFtdcTradeIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_TradeID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_TradeID_set, doc=r"""撮合编号""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_InstrumentID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_InstrumentID_set, doc=r"""合约代码""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_HedgeFlag_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_HedgeFlag_set, doc=r"""投机套保标志""")
    Direction: "TThostFtdcDirectionType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_Direction_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_Direction_set, doc=r"""买卖""")
    TotalAmt: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_TotalAmt_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_TotalAmt_set, doc=r"""持仓量""")
    Margin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_Margin_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_Margin_set, doc=r"""投资者保证金""")
    ExchMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_ExchMargin_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_ExchMargin_set, doc=r"""交易所保证金""")
    MarginRateByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_MarginRateByMoney_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_MarginRateByMoney_set, doc=r"""保证金率""")
    MarginRateByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_MarginRateByVolume_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_MarginRateByVolume_set, doc=r"""保证金率(按手数)""")
    LegID: "TThostFtdcLegIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_LegID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_LegID_set, doc=r"""单腿编号""")
    LegMultiple: "TThostFtdcLegMultipleType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_LegMultiple_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_LegMultiple_set, doc=r"""单腿乘数""")
    TradeGroupID: "TThostFtdcTradeGroupIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_TradeGroupID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_TradeGroupID_set, doc=r"""成交组号""")
    ActionDirection: "TThostFtdcActionDirectionType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_ActionDirection_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_ActionDirection_set, doc=r"""操作标志""")
    SyncDeltaSequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_SyncDeltaSequenceNo_get, _thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_SyncDeltaSequenceNo_set, doc=r"""追平序号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncDeltaInvstPosCombDtlField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncDeltaInvstPosCombDtlField

# Register CThostFtdcSyncDeltaInvstPosCombDtlField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncDeltaInvstPosCombDtlField_swigregister(CThostFtdcSyncDeltaInvstPosCombDtlField)
class CThostFtdcSyncDeltaTradingAccountField(object):
    r"""风险结算追平资金"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_BrokerID_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_BrokerID_set, doc=r"""经纪公司代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_AccountID_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_AccountID_set, doc=r"""投资者帐号""")
    PreMortgage: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_PreMortgage_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_PreMortgage_set, doc=r"""上次质押金额""")
    PreCredit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_PreCredit_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_PreCredit_set, doc=r"""上次信用额度""")
    PreDeposit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_PreDeposit_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_PreDeposit_set, doc=r"""上次存款额""")
    PreBalance: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_PreBalance_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_PreBalance_set, doc=r"""上次结算准备金""")
    PreMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_PreMargin_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_PreMargin_set, doc=r"""上次占用的保证金""")
    InterestBase: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_InterestBase_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_InterestBase_set, doc=r"""利息基数""")
    Interest: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_Interest_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_Interest_set, doc=r"""利息收入""")
    Deposit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_Deposit_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_Deposit_set, doc=r"""入金金额""")
    Withdraw: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_Withdraw_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_Withdraw_set, doc=r"""出金金额""")
    FrozenMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_FrozenMargin_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_FrozenMargin_set, doc=r"""冻结的保证金""")
    FrozenCash: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_FrozenCash_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_FrozenCash_set, doc=r"""冻结的资金""")
    FrozenCommission: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_FrozenCommission_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_FrozenCommission_set, doc=r"""冻结的手续费""")
    CurrMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_CurrMargin_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_CurrMargin_set, doc=r"""当前保证金总额""")
    CashIn: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_CashIn_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_CashIn_set, doc=r"""资金差额""")
    Commission: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_Commission_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_Commission_set, doc=r"""手续费""")
    CloseProfit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_CloseProfit_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_CloseProfit_set, doc=r"""平仓盈亏""")
    PositionProfit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_PositionProfit_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_PositionProfit_set, doc=r"""持仓盈亏""")
    Balance: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_Balance_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_Balance_set, doc=r"""期货结算准备金""")
    Available: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_Available_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_Available_set, doc=r"""可用资金""")
    WithdrawQuota: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_WithdrawQuota_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_WithdrawQuota_set, doc=r"""可取资金""")
    Reserve: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_Reserve_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_Reserve_set, doc=r"""基本准备金""")
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_TradingDay_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_TradingDay_set, doc=r"""交易日""")
    SettlementID: "TThostFtdcSettlementIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_SettlementID_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_SettlementID_set, doc=r"""结算编号""")
    Credit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_Credit_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_Credit_set, doc=r"""信用额度""")
    Mortgage: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_Mortgage_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_Mortgage_set, doc=r"""质押金额""")
    ExchangeMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_ExchangeMargin_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_ExchangeMargin_set, doc=r"""交易所保证金""")
    DeliveryMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_DeliveryMargin_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_DeliveryMargin_set, doc=r"""投资者交割保证金""")
    ExchangeDeliveryMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_ExchangeDeliveryMargin_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_ExchangeDeliveryMargin_set, doc=r"""交易所交割保证金""")
    ReserveBalance: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_ReserveBalance_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_ReserveBalance_set, doc=r"""保底期货结算准备金""")
    CurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_CurrencyID_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_CurrencyID_set, doc=r"""币种代码""")
    PreFundMortgageIn: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_PreFundMortgageIn_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_PreFundMortgageIn_set, doc=r"""上次货币质入金额""")
    PreFundMortgageOut: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_PreFundMortgageOut_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_PreFundMortgageOut_set, doc=r"""上次货币质出金额""")
    FundMortgageIn: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_FundMortgageIn_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_FundMortgageIn_set, doc=r"""货币质入金额""")
    FundMortgageOut: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_FundMortgageOut_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_FundMortgageOut_set, doc=r"""货币质出金额""")
    FundMortgageAvailable: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_FundMortgageAvailable_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_FundMortgageAvailable_set, doc=r"""货币质押余额""")
    MortgageableFund: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_MortgageableFund_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_MortgageableFund_set, doc=r"""可质押货币金额""")
    SpecProductMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_SpecProductMargin_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_SpecProductMargin_set, doc=r"""特殊产品占用保证金""")
    SpecProductFrozenMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_SpecProductFrozenMargin_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_SpecProductFrozenMargin_set, doc=r"""特殊产品冻结保证金""")
    SpecProductCommission: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_SpecProductCommission_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_SpecProductCommission_set, doc=r"""特殊产品手续费""")
    SpecProductFrozenCommission: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_SpecProductFrozenCommission_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_SpecProductFrozenCommission_set, doc=r"""特殊产品冻结手续费""")
    SpecProductPositionProfit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_SpecProductPositionProfit_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_SpecProductPositionProfit_set, doc=r"""特殊产品持仓盈亏""")
    SpecProductCloseProfit: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_SpecProductCloseProfit_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_SpecProductCloseProfit_set, doc=r"""特殊产品平仓盈亏""")
    SpecProductPositionProfitByAlg: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_SpecProductPositionProfitByAlg_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_SpecProductPositionProfitByAlg_set, doc=r"""根据持仓盈亏算法计算的特殊产品持仓盈亏""")
    SpecProductExchangeMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_SpecProductExchangeMargin_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_SpecProductExchangeMargin_set, doc=r"""特殊产品交易所保证金""")
    FrozenSwap: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_FrozenSwap_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_FrozenSwap_set, doc=r"""延时换汇冻结金额""")
    RemainSwap: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_RemainSwap_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_RemainSwap_set, doc=r"""剩余换汇额度""")
    SyncDeltaSequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_SyncDeltaSequenceNo_get, _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_SyncDeltaSequenceNo_set, doc=r"""追平序号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncDeltaTradingAccountField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncDeltaTradingAccountField

# Register CThostFtdcSyncDeltaTradingAccountField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncDeltaTradingAccountField_swigregister(CThostFtdcSyncDeltaTradingAccountField)
class CThostFtdcSyncDeltaInitInvstMarginField(object):
    r"""投资者风险结算总保证金"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_BrokerID_get, _thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_InvestorID_get, _thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_InvestorID_set, doc=r"""投资者代码""")
    LastRiskTotalInvstMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_LastRiskTotalInvstMargin_get, _thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_LastRiskTotalInvstMargin_set, doc=r"""追平前总风险保证金""")
    LastRiskTotalExchMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_LastRiskTotalExchMargin_get, _thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_LastRiskTotalExchMargin_set, doc=r"""追平前交易所总风险保证金""")
    ThisSyncInvstMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_ThisSyncInvstMargin_get, _thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_ThisSyncInvstMargin_set, doc=r"""本次追平品种总保证金""")
    ThisSyncExchMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_ThisSyncExchMargin_get, _thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_ThisSyncExchMargin_set, doc=r"""本次追平品种交易所总保证金""")
    RemainRiskInvstMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_RemainRiskInvstMargin_get, _thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_RemainRiskInvstMargin_set, doc=r"""本次未追平品种总保证金""")
    RemainRiskExchMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_RemainRiskExchMargin_get, _thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_RemainRiskExchMargin_set, doc=r"""本次未追平品种交易所总保证金""")
    LastRiskSpecTotalInvstMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_LastRiskSpecTotalInvstMargin_get, _thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_LastRiskSpecTotalInvstMargin_set, doc=r"""追平前总特殊产品风险保证金""")
    LastRiskSpecTotalExchMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_LastRiskSpecTotalExchMargin_get, _thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_LastRiskSpecTotalExchMargin_set, doc=r"""追平前总特殊产品交易所风险保证金""")
    ThisSyncSpecInvstMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_ThisSyncSpecInvstMargin_get, _thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_ThisSyncSpecInvstMargin_set, doc=r"""本次追平品种特殊产品总保证金""")
    ThisSyncSpecExchMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_ThisSyncSpecExchMargin_get, _thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_ThisSyncSpecExchMargin_set, doc=r"""本次追平品种特殊产品交易所总保证金""")
    RemainRiskSpecInvstMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_RemainRiskSpecInvstMargin_get, _thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_RemainRiskSpecInvstMargin_set, doc=r"""本次未追平品种特殊产品总保证金""")
    RemainRiskSpecExchMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_RemainRiskSpecExchMargin_get, _thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_RemainRiskSpecExchMargin_set, doc=r"""本次未追平品种特殊产品交易所总保证金""")
    SyncDeltaSequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_SyncDeltaSequenceNo_get, _thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_SyncDeltaSequenceNo_set, doc=r"""追平序号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncDeltaInitInvstMarginField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncDeltaInitInvstMarginField

# Register CThostFtdcSyncDeltaInitInvstMarginField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncDeltaInitInvstMarginField_swigregister(CThostFtdcSyncDeltaInitInvstMarginField)
class CThostFtdcSyncDeltaDceCombInstrumentField(object):
    r"""风险结算追平组合优先级"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    CombInstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_CombInstrumentID_get, _thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_CombInstrumentID_set, doc=r"""合约代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_ExchangeID_get, _thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_ExchangeID_set, doc=r"""交易所代码""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_ExchangeInstID_get, _thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")
    TradeGroupID: "TThostFtdcTradeGroupIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_TradeGroupID_get, _thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_TradeGroupID_set, doc=r"""成交组号""")
    CombHedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_CombHedgeFlag_get, _thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_CombHedgeFlag_set, doc=r"""投机套保标志""")
    CombinationType: "TThostFtdcDceCombinationTypeType" = property(_thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_CombinationType_get, _thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_CombinationType_set, doc=r"""组合类型""")
    Direction: "TThostFtdcDirectionType" = property(_thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_Direction_get, _thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_Direction_set, doc=r"""买卖""")
    ProductID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_ProductID_get, _thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_ProductID_set, doc=r"""产品代码""")
    Xparameter: "TThostFtdcDiscountRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_Xparameter_get, _thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_Xparameter_set, doc=r"""期权组合保证金比例""")
    ActionDirection: "TThostFtdcActionDirectionType" = property(_thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_ActionDirection_get, _thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_ActionDirection_set, doc=r"""操作标志""")
    SyncDeltaSequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_SyncDeltaSequenceNo_get, _thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_SyncDeltaSequenceNo_set, doc=r"""追平序号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncDeltaDceCombInstrumentField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncDeltaDceCombInstrumentField

# Register CThostFtdcSyncDeltaDceCombInstrumentField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncDeltaDceCombInstrumentField_swigregister(CThostFtdcSyncDeltaDceCombInstrumentField)
class CThostFtdcSyncDeltaInvstMarginRateField(object):
    r"""风险结算追平投资者期货保证金率"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_InstrumentID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_InstrumentID_set, doc=r"""合约代码""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_InvestorRange_get, _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_BrokerID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_InvestorID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_InvestorID_set, doc=r"""投资者代码""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_HedgeFlag_get, _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_HedgeFlag_set, doc=r"""投机套保标志""")
    LongMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_LongMarginRatioByMoney_get, _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_LongMarginRatioByMoney_set, doc=r"""多头保证金率""")
    LongMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_LongMarginRatioByVolume_get, _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_LongMarginRatioByVolume_set, doc=r"""多头保证金费""")
    ShortMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_ShortMarginRatioByMoney_get, _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_ShortMarginRatioByMoney_set, doc=r"""空头保证金率""")
    ShortMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_ShortMarginRatioByVolume_get, _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_ShortMarginRatioByVolume_set, doc=r"""空头保证金费""")
    IsRelative: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_IsRelative_get, _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_IsRelative_set, doc=r"""是否相对交易所收取""")
    ActionDirection: "TThostFtdcActionDirectionType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_ActionDirection_get, _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_ActionDirection_set, doc=r"""操作标志""")
    SyncDeltaSequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_SyncDeltaSequenceNo_get, _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_SyncDeltaSequenceNo_set, doc=r"""追平序号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncDeltaInvstMarginRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncDeltaInvstMarginRateField

# Register CThostFtdcSyncDeltaInvstMarginRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateField_swigregister(CThostFtdcSyncDeltaInvstMarginRateField)
class CThostFtdcSyncDeltaExchMarginRateField(object):
    r"""风险结算追平交易所期货保证金率"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaExchMarginRateField_BrokerID_get, _thosttraderapi.CThostFtdcSyncDeltaExchMarginRateField_BrokerID_set, doc=r"""经纪公司代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaExchMarginRateField_InstrumentID_get, _thosttraderapi.CThostFtdcSyncDeltaExchMarginRateField_InstrumentID_set, doc=r"""合约代码""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcSyncDeltaExchMarginRateField_HedgeFlag_get, _thosttraderapi.CThostFtdcSyncDeltaExchMarginRateField_HedgeFlag_set, doc=r"""投机套保标志""")
    LongMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaExchMarginRateField_LongMarginRatioByMoney_get, _thosttraderapi.CThostFtdcSyncDeltaExchMarginRateField_LongMarginRatioByMoney_set, doc=r"""多头保证金率""")
    LongMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaExchMarginRateField_LongMarginRatioByVolume_get, _thosttraderapi.CThostFtdcSyncDeltaExchMarginRateField_LongMarginRatioByVolume_set, doc=r"""多头保证金费""")
    ShortMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaExchMarginRateField_ShortMarginRatioByMoney_get, _thosttraderapi.CThostFtdcSyncDeltaExchMarginRateField_ShortMarginRatioByMoney_set, doc=r"""空头保证金率""")
    ShortMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaExchMarginRateField_ShortMarginRatioByVolume_get, _thosttraderapi.CThostFtdcSyncDeltaExchMarginRateField_ShortMarginRatioByVolume_set, doc=r"""空头保证金费""")
    ActionDirection: "TThostFtdcActionDirectionType" = property(_thosttraderapi.CThostFtdcSyncDeltaExchMarginRateField_ActionDirection_get, _thosttraderapi.CThostFtdcSyncDeltaExchMarginRateField_ActionDirection_set, doc=r"""操作标志""")
    SyncDeltaSequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcSyncDeltaExchMarginRateField_SyncDeltaSequenceNo_get, _thosttraderapi.CThostFtdcSyncDeltaExchMarginRateField_SyncDeltaSequenceNo_set, doc=r"""追平序号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncDeltaExchMarginRateField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncDeltaExchMarginRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncDeltaExchMarginRateField

# Register CThostFtdcSyncDeltaExchMarginRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncDeltaExchMarginRateField_swigregister(CThostFtdcSyncDeltaExchMarginRateField)
class CThostFtdcSyncDeltaOptExchMarginField(object):
    r"""风险结算追平中金现货期权交易所保证金率"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_BrokerID_get, _thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_BrokerID_set, doc=r"""经纪公司代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_InstrumentID_get, _thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_InstrumentID_set, doc=r"""合约代码""")
    SShortMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_SShortMarginRatioByMoney_get, _thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_SShortMarginRatioByMoney_set, doc=r"""投机空头保证金调整系数""")
    SShortMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_SShortMarginRatioByVolume_get, _thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_SShortMarginRatioByVolume_set, doc=r"""投机空头保证金调整系数""")
    HShortMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_HShortMarginRatioByMoney_get, _thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_HShortMarginRatioByMoney_set, doc=r"""保值空头保证金调整系数""")
    HShortMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_HShortMarginRatioByVolume_get, _thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_HShortMarginRatioByVolume_set, doc=r"""保值空头保证金调整系数""")
    AShortMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_AShortMarginRatioByMoney_get, _thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_AShortMarginRatioByMoney_set, doc=r"""套利空头保证金调整系数""")
    AShortMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_AShortMarginRatioByVolume_get, _thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_AShortMarginRatioByVolume_set, doc=r"""套利空头保证金调整系数""")
    MShortMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_MShortMarginRatioByMoney_get, _thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_MShortMarginRatioByMoney_set, doc=r"""做市商空头保证金调整系数""")
    MShortMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_MShortMarginRatioByVolume_get, _thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_MShortMarginRatioByVolume_set, doc=r"""做市商空头保证金调整系数""")
    ActionDirection: "TThostFtdcActionDirectionType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_ActionDirection_get, _thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_ActionDirection_set, doc=r"""操作标志""")
    SyncDeltaSequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_SyncDeltaSequenceNo_get, _thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_SyncDeltaSequenceNo_set, doc=r"""追平序号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncDeltaOptExchMarginField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncDeltaOptExchMarginField

# Register CThostFtdcSyncDeltaOptExchMarginField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncDeltaOptExchMarginField_swigregister(CThostFtdcSyncDeltaOptExchMarginField)
class CThostFtdcSyncDeltaOptInvstMarginField(object):
    r"""风险结算追平中金现货期权投资者保证金率"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_InstrumentID_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_InstrumentID_set, doc=r"""合约代码""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_InvestorRange_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_BrokerID_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_InvestorID_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_InvestorID_set, doc=r"""投资者代码""")
    SShortMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_SShortMarginRatioByMoney_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_SShortMarginRatioByMoney_set, doc=r"""投机空头保证金调整系数""")
    SShortMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_SShortMarginRatioByVolume_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_SShortMarginRatioByVolume_set, doc=r"""投机空头保证金调整系数""")
    HShortMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_HShortMarginRatioByMoney_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_HShortMarginRatioByMoney_set, doc=r"""保值空头保证金调整系数""")
    HShortMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_HShortMarginRatioByVolume_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_HShortMarginRatioByVolume_set, doc=r"""保值空头保证金调整系数""")
    AShortMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_AShortMarginRatioByMoney_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_AShortMarginRatioByMoney_set, doc=r"""套利空头保证金调整系数""")
    AShortMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_AShortMarginRatioByVolume_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_AShortMarginRatioByVolume_set, doc=r"""套利空头保证金调整系数""")
    IsRelative: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_IsRelative_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_IsRelative_set, doc=r"""是否跟随交易所收取""")
    MShortMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_MShortMarginRatioByMoney_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_MShortMarginRatioByMoney_set, doc=r"""做市商空头保证金调整系数""")
    MShortMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_MShortMarginRatioByVolume_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_MShortMarginRatioByVolume_set, doc=r"""做市商空头保证金调整系数""")
    ActionDirection: "TThostFtdcActionDirectionType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_ActionDirection_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_ActionDirection_set, doc=r"""操作标志""")
    SyncDeltaSequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_SyncDeltaSequenceNo_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_SyncDeltaSequenceNo_set, doc=r"""追平序号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncDeltaOptInvstMarginField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncDeltaOptInvstMarginField

# Register CThostFtdcSyncDeltaOptInvstMarginField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncDeltaOptInvstMarginField_swigregister(CThostFtdcSyncDeltaOptInvstMarginField)
class CThostFtdcSyncDeltaInvstMarginRateULField(object):
    r"""风险结算追平期权标的调整保证金率"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_InstrumentID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_InstrumentID_set, doc=r"""合约代码""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_InvestorRange_get, _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_BrokerID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_InvestorID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_InvestorID_set, doc=r"""投资者代码""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_HedgeFlag_get, _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_HedgeFlag_set, doc=r"""投机套保标志""")
    LongMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_LongMarginRatioByMoney_get, _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_LongMarginRatioByMoney_set, doc=r"""多头保证金率""")
    LongMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_LongMarginRatioByVolume_get, _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_LongMarginRatioByVolume_set, doc=r"""多头保证金费""")
    ShortMarginRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_ShortMarginRatioByMoney_get, _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_ShortMarginRatioByMoney_set, doc=r"""空头保证金率""")
    ShortMarginRatioByVolume: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_ShortMarginRatioByVolume_get, _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_ShortMarginRatioByVolume_set, doc=r"""空头保证金费""")
    ActionDirection: "TThostFtdcActionDirectionType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_ActionDirection_get, _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_ActionDirection_set, doc=r"""操作标志""")
    SyncDeltaSequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_SyncDeltaSequenceNo_get, _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_SyncDeltaSequenceNo_set, doc=r"""追平序号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncDeltaInvstMarginRateULField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncDeltaInvstMarginRateULField

# Register CThostFtdcSyncDeltaInvstMarginRateULField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncDeltaInvstMarginRateULField_swigregister(CThostFtdcSyncDeltaInvstMarginRateULField)
class CThostFtdcSyncDeltaOptInvstCommRateField(object):
    r"""风险结算追平期权手续费率"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_InstrumentID_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_InstrumentID_set, doc=r"""合约代码""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_InvestorRange_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_BrokerID_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_InvestorID_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_InvestorID_set, doc=r"""投资者代码""")
    OpenRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_OpenRatioByMoney_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_OpenRatioByMoney_set, doc=r"""开仓手续费率""")
    OpenRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_OpenRatioByVolume_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_OpenRatioByVolume_set, doc=r"""开仓手续费""")
    CloseRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_CloseRatioByMoney_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_CloseRatioByMoney_set, doc=r"""平仓手续费率""")
    CloseRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_CloseRatioByVolume_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_CloseRatioByVolume_set, doc=r"""平仓手续费""")
    CloseTodayRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_CloseTodayRatioByMoney_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_CloseTodayRatioByMoney_set, doc=r"""平今手续费率""")
    CloseTodayRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_CloseTodayRatioByVolume_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_CloseTodayRatioByVolume_set, doc=r"""平今手续费""")
    StrikeRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_StrikeRatioByMoney_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_StrikeRatioByMoney_set, doc=r"""执行手续费率""")
    StrikeRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_StrikeRatioByVolume_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_StrikeRatioByVolume_set, doc=r"""执行手续费""")
    ActionDirection: "TThostFtdcActionDirectionType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_ActionDirection_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_ActionDirection_set, doc=r"""操作标志""")
    SyncDeltaSequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_SyncDeltaSequenceNo_get, _thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_SyncDeltaSequenceNo_set, doc=r"""追平序号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncDeltaOptInvstCommRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncDeltaOptInvstCommRateField

# Register CThostFtdcSyncDeltaOptInvstCommRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncDeltaOptInvstCommRateField_swigregister(CThostFtdcSyncDeltaOptInvstCommRateField)
class CThostFtdcSyncDeltaInvstCommRateField(object):
    r"""风险结算追平期货手续费率"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_InstrumentID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_InstrumentID_set, doc=r"""合约代码""")
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_InvestorRange_get, _thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_BrokerID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_InvestorID_get, _thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_InvestorID_set, doc=r"""投资者代码""")
    OpenRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_OpenRatioByMoney_get, _thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_OpenRatioByMoney_set, doc=r"""开仓手续费率""")
    OpenRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_OpenRatioByVolume_get, _thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_OpenRatioByVolume_set, doc=r"""开仓手续费""")
    CloseRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_CloseRatioByMoney_get, _thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_CloseRatioByMoney_set, doc=r"""平仓手续费率""")
    CloseRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_CloseRatioByVolume_get, _thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_CloseRatioByVolume_set, doc=r"""平仓手续费""")
    CloseTodayRatioByMoney: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_CloseTodayRatioByMoney_get, _thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_CloseTodayRatioByMoney_set, doc=r"""平今手续费率""")
    CloseTodayRatioByVolume: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_CloseTodayRatioByVolume_get, _thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_CloseTodayRatioByVolume_set, doc=r"""平今手续费""")
    ActionDirection: "TThostFtdcActionDirectionType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_ActionDirection_get, _thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_ActionDirection_set, doc=r"""操作标志""")
    SyncDeltaSequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_SyncDeltaSequenceNo_get, _thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_SyncDeltaSequenceNo_set, doc=r"""追平序号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncDeltaInvstCommRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncDeltaInvstCommRateField

# Register CThostFtdcSyncDeltaInvstCommRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncDeltaInvstCommRateField_swigregister(CThostFtdcSyncDeltaInvstCommRateField)
class CThostFtdcSyncDeltaProductExchRateField(object):
    r"""风险结算追平交叉汇率"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ProductID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaProductExchRateField_ProductID_get, _thosttraderapi.CThostFtdcSyncDeltaProductExchRateField_ProductID_set, doc=r"""产品代码""")
    QuoteCurrencyID: "TThostFtdcCurrencyIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaProductExchRateField_QuoteCurrencyID_get, _thosttraderapi.CThostFtdcSyncDeltaProductExchRateField_QuoteCurrencyID_set, doc=r"""报价币种类型""")
    ExchangeRate: "TThostFtdcExchangeRateType" = property(_thosttraderapi.CThostFtdcSyncDeltaProductExchRateField_ExchangeRate_get, _thosttraderapi.CThostFtdcSyncDeltaProductExchRateField_ExchangeRate_set, doc=r"""汇率""")
    ActionDirection: "TThostFtdcActionDirectionType" = property(_thosttraderapi.CThostFtdcSyncDeltaProductExchRateField_ActionDirection_get, _thosttraderapi.CThostFtdcSyncDeltaProductExchRateField_ActionDirection_set, doc=r"""操作标志""")
    SyncDeltaSequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcSyncDeltaProductExchRateField_SyncDeltaSequenceNo_get, _thosttraderapi.CThostFtdcSyncDeltaProductExchRateField_SyncDeltaSequenceNo_set, doc=r"""追平序号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncDeltaProductExchRateField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncDeltaProductExchRateField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncDeltaProductExchRateField

# Register CThostFtdcSyncDeltaProductExchRateField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncDeltaProductExchRateField_swigregister(CThostFtdcSyncDeltaProductExchRateField)
class CThostFtdcSyncDeltaDepthMarketDataField(object):
    r"""风险结算追平行情"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_TradingDay_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_TradingDay_set, doc=r"""交易日""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_InstrumentID_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_InstrumentID_set, doc=r"""合约代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_ExchangeID_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_ExchangeID_set, doc=r"""交易所代码""")
    ExchangeInstID: "TThostFtdcExchangeInstIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_ExchangeInstID_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_ExchangeInstID_set, doc=r"""合约在交易所的代码""")
    LastPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_LastPrice_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_LastPrice_set, doc=r"""最新价""")
    PreSettlementPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_PreSettlementPrice_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_PreSettlementPrice_set, doc=r"""上次结算价""")
    PreClosePrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_PreClosePrice_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_PreClosePrice_set, doc=r"""昨收盘""")
    PreOpenInterest: "TThostFtdcLargeVolumeType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_PreOpenInterest_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_PreOpenInterest_set, doc=r"""昨持仓量""")
    OpenPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_OpenPrice_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_OpenPrice_set, doc=r"""今开盘""")
    HighestPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_HighestPrice_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_HighestPrice_set, doc=r"""最高价""")
    LowestPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_LowestPrice_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_LowestPrice_set, doc=r"""最低价""")
    Volume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_Volume_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_Volume_set, doc=r"""数量""")
    Turnover: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_Turnover_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_Turnover_set, doc=r"""成交金额""")
    OpenInterest: "TThostFtdcLargeVolumeType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_OpenInterest_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_OpenInterest_set, doc=r"""持仓量""")
    ClosePrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_ClosePrice_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_ClosePrice_set, doc=r"""今收盘""")
    SettlementPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_SettlementPrice_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_SettlementPrice_set, doc=r"""本次结算价""")
    UpperLimitPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_UpperLimitPrice_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_UpperLimitPrice_set, doc=r"""涨停板价""")
    LowerLimitPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_LowerLimitPrice_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_LowerLimitPrice_set, doc=r"""跌停板价""")
    PreDelta: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_PreDelta_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_PreDelta_set, doc=r"""昨虚实度""")
    CurrDelta: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_CurrDelta_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_CurrDelta_set, doc=r"""今虚实度""")
    UpdateTime: "TThostFtdcTimeType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_UpdateTime_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_UpdateTime_set, doc=r"""最后修改时间""")
    UpdateMillisec: "TThostFtdcMillisecType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_UpdateMillisec_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_UpdateMillisec_set, doc=r"""最后修改毫秒""")
    BidPrice1: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BidPrice1_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BidPrice1_set, doc=r"""申买价一""")
    BidVolume1: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BidVolume1_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BidVolume1_set, doc=r"""申买量一""")
    AskPrice1: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_AskPrice1_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_AskPrice1_set, doc=r"""申卖价一""")
    AskVolume1: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_AskVolume1_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_AskVolume1_set, doc=r"""申卖量一""")
    BidPrice2: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BidPrice2_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BidPrice2_set, doc=r"""申买价二""")
    BidVolume2: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BidVolume2_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BidVolume2_set, doc=r"""申买量二""")
    AskPrice2: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_AskPrice2_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_AskPrice2_set, doc=r"""申卖价二""")
    AskVolume2: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_AskVolume2_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_AskVolume2_set, doc=r"""申卖量二""")
    BidPrice3: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BidPrice3_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BidPrice3_set, doc=r"""申买价三""")
    BidVolume3: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BidVolume3_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BidVolume3_set, doc=r"""申买量三""")
    AskPrice3: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_AskPrice3_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_AskPrice3_set, doc=r"""申卖价三""")
    AskVolume3: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_AskVolume3_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_AskVolume3_set, doc=r"""申卖量三""")
    BidPrice4: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BidPrice4_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BidPrice4_set, doc=r"""申买价四""")
    BidVolume4: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BidVolume4_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BidVolume4_set, doc=r"""申买量四""")
    AskPrice4: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_AskPrice4_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_AskPrice4_set, doc=r"""申卖价四""")
    AskVolume4: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_AskVolume4_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_AskVolume4_set, doc=r"""申卖量四""")
    BidPrice5: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BidPrice5_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BidPrice5_set, doc=r"""申买价五""")
    BidVolume5: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BidVolume5_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BidVolume5_set, doc=r"""申买量五""")
    AskPrice5: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_AskPrice5_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_AskPrice5_set, doc=r"""申卖价五""")
    AskVolume5: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_AskVolume5_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_AskVolume5_set, doc=r"""申卖量五""")
    AveragePrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_AveragePrice_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_AveragePrice_set, doc=r"""当日均价""")
    ActionDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_ActionDay_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_ActionDay_set, doc=r"""业务日期""")
    BandingUpperPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BandingUpperPrice_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BandingUpperPrice_set, doc=r"""上带价""")
    BandingLowerPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BandingLowerPrice_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_BandingLowerPrice_set, doc=r"""下带价""")
    ActionDirection: "TThostFtdcActionDirectionType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_ActionDirection_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_ActionDirection_set, doc=r"""操作标志""")
    SyncDeltaSequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_SyncDeltaSequenceNo_get, _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_SyncDeltaSequenceNo_set, doc=r"""追平序号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncDeltaDepthMarketDataField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncDeltaDepthMarketDataField

# Register CThostFtdcSyncDeltaDepthMarketDataField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncDeltaDepthMarketDataField_swigregister(CThostFtdcSyncDeltaDepthMarketDataField)
class CThostFtdcSyncDeltaIndexPriceField(object):
    r"""风险结算追平现货指数"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaIndexPriceField_BrokerID_get, _thosttraderapi.CThostFtdcSyncDeltaIndexPriceField_BrokerID_set, doc=r"""经纪公司代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaIndexPriceField_InstrumentID_get, _thosttraderapi.CThostFtdcSyncDeltaIndexPriceField_InstrumentID_set, doc=r"""合约代码""")
    ClosePrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSyncDeltaIndexPriceField_ClosePrice_get, _thosttraderapi.CThostFtdcSyncDeltaIndexPriceField_ClosePrice_set, doc=r"""指数现货收盘价""")
    ActionDirection: "TThostFtdcActionDirectionType" = property(_thosttraderapi.CThostFtdcSyncDeltaIndexPriceField_ActionDirection_get, _thosttraderapi.CThostFtdcSyncDeltaIndexPriceField_ActionDirection_set, doc=r"""操作标志""")
    SyncDeltaSequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcSyncDeltaIndexPriceField_SyncDeltaSequenceNo_get, _thosttraderapi.CThostFtdcSyncDeltaIndexPriceField_SyncDeltaSequenceNo_set, doc=r"""追平序号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncDeltaIndexPriceField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncDeltaIndexPriceField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncDeltaIndexPriceField

# Register CThostFtdcSyncDeltaIndexPriceField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncDeltaIndexPriceField_swigregister(CThostFtdcSyncDeltaIndexPriceField)
class CThostFtdcSyncDeltaEWarrantOffsetField(object):
    r"""风险结算追平仓单折抵"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcTradeDateType" = property(_thosttraderapi.CThostFtdcSyncDeltaEWarrantOffsetField_TradingDay_get, _thosttraderapi.CThostFtdcSyncDeltaEWarrantOffsetField_TradingDay_set, doc=r"""交易日期""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaEWarrantOffsetField_BrokerID_get, _thosttraderapi.CThostFtdcSyncDeltaEWarrantOffsetField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaEWarrantOffsetField_InvestorID_get, _thosttraderapi.CThostFtdcSyncDeltaEWarrantOffsetField_InvestorID_set, doc=r"""投资者代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaEWarrantOffsetField_ExchangeID_get, _thosttraderapi.CThostFtdcSyncDeltaEWarrantOffsetField_ExchangeID_set, doc=r"""交易所代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSyncDeltaEWarrantOffsetField_InstrumentID_get, _thosttraderapi.CThostFtdcSyncDeltaEWarrantOffsetField_InstrumentID_set, doc=r"""合约代码""")
    Direction: "TThostFtdcDirectionType" = property(_thosttraderapi.CThostFtdcSyncDeltaEWarrantOffsetField_Direction_get, _thosttraderapi.CThostFtdcSyncDeltaEWarrantOffsetField_Direction_set, doc=r"""买卖方向""")
    HedgeFlag: "TThostFtdcHedgeFlagType" = property(_thosttraderapi.CThostFtdcSyncDeltaEWarrantOffsetField_HedgeFlag_get, _thosttraderapi.CThostFtdcSyncDeltaEWarrantOffsetField_HedgeFlag_set, doc=r"""投机套保标志""")
    Volume: "TThostFtdcVolumeType" = property(_thosttraderapi.CThostFtdcSyncDeltaEWarrantOffsetField_Volume_get, _thosttraderapi.CThostFtdcSyncDeltaEWarrantOffsetField_Volume_set, doc=r"""数量""")
    ActionDirection: "TThostFtdcActionDirectionType" = property(_thosttraderapi.CThostFtdcSyncDeltaEWarrantOffsetField_ActionDirection_get, _thosttraderapi.CThostFtdcSyncDeltaEWarrantOffsetField_ActionDirection_set, doc=r"""操作标志""")
    SyncDeltaSequenceNo: "TThostFtdcSequenceNoType" = property(_thosttraderapi.CThostFtdcSyncDeltaEWarrantOffsetField_SyncDeltaSequenceNo_get, _thosttraderapi.CThostFtdcSyncDeltaEWarrantOffsetField_SyncDeltaSequenceNo_set, doc=r"""追平序号""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncDeltaEWarrantOffsetField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncDeltaEWarrantOffsetField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncDeltaEWarrantOffsetField

# Register CThostFtdcSyncDeltaEWarrantOffsetField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncDeltaEWarrantOffsetField_swigregister(CThostFtdcSyncDeltaEWarrantOffsetField)
class CThostFtdcSPBMFutureParameterField(object):
    r"""SPBM期货合约保证金参数"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcSPBMFutureParameterField_TradingDay_get, _thosttraderapi.CThostFtdcSPBMFutureParameterField_TradingDay_set, doc=r"""交易日""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcSPBMFutureParameterField_ExchangeID_get, _thosttraderapi.CThostFtdcSPBMFutureParameterField_ExchangeID_set, doc=r"""交易所代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSPBMFutureParameterField_InstrumentID_get, _thosttraderapi.CThostFtdcSPBMFutureParameterField_InstrumentID_set, doc=r"""合约代码""")
    ProdFamilyCode: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSPBMFutureParameterField_ProdFamilyCode_get, _thosttraderapi.CThostFtdcSPBMFutureParameterField_ProdFamilyCode_set, doc=r"""品种代码""")
    Cvf: "TThostFtdcVolumeMultipleType" = property(_thosttraderapi.CThostFtdcSPBMFutureParameterField_Cvf_get, _thosttraderapi.CThostFtdcSPBMFutureParameterField_Cvf_set, doc=r"""期货合约因子""")
    TimeRange: "TThostFtdcTimeRangeType" = property(_thosttraderapi.CThostFtdcSPBMFutureParameterField_TimeRange_get, _thosttraderapi.CThostFtdcSPBMFutureParameterField_TimeRange_set, doc=r"""阶段标识""")
    MarginRate: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSPBMFutureParameterField_MarginRate_get, _thosttraderapi.CThostFtdcSPBMFutureParameterField_MarginRate_set, doc=r"""品种保证金标准""")
    LockRateX: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSPBMFutureParameterField_LockRateX_get, _thosttraderapi.CThostFtdcSPBMFutureParameterField_LockRateX_set, doc=r"""期货合约内部对锁仓费率折扣比例""")
    AddOnRate: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSPBMFutureParameterField_AddOnRate_get, _thosttraderapi.CThostFtdcSPBMFutureParameterField_AddOnRate_set, doc=r"""提高保证金标准""")
    PreSettlementPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSPBMFutureParameterField_PreSettlementPrice_get, _thosttraderapi.CThostFtdcSPBMFutureParameterField_PreSettlementPrice_set, doc=r"""昨结算价""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSPBMFutureParameterField_swiginit(self, _thosttraderapi.new_CThostFtdcSPBMFutureParameterField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSPBMFutureParameterField

# Register CThostFtdcSPBMFutureParameterField in _thosttraderapi:
_thosttraderapi.CThostFtdcSPBMFutureParameterField_swigregister(CThostFtdcSPBMFutureParameterField)
class CThostFtdcSPBMOptionParameterField(object):
    r"""SPBM期权合约保证金参数"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcSPBMOptionParameterField_TradingDay_get, _thosttraderapi.CThostFtdcSPBMOptionParameterField_TradingDay_set, doc=r"""交易日""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcSPBMOptionParameterField_ExchangeID_get, _thosttraderapi.CThostFtdcSPBMOptionParameterField_ExchangeID_set, doc=r"""交易所代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSPBMOptionParameterField_InstrumentID_get, _thosttraderapi.CThostFtdcSPBMOptionParameterField_InstrumentID_set, doc=r"""合约代码""")
    ProdFamilyCode: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSPBMOptionParameterField_ProdFamilyCode_get, _thosttraderapi.CThostFtdcSPBMOptionParameterField_ProdFamilyCode_set, doc=r"""品种代码""")
    Cvf: "TThostFtdcVolumeMultipleType" = property(_thosttraderapi.CThostFtdcSPBMOptionParameterField_Cvf_get, _thosttraderapi.CThostFtdcSPBMOptionParameterField_Cvf_set, doc=r"""期权合约因子""")
    DownPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSPBMOptionParameterField_DownPrice_get, _thosttraderapi.CThostFtdcSPBMOptionParameterField_DownPrice_set, doc=r"""期权冲抵价格""")
    Delta: "TThostFtdcDeltaType" = property(_thosttraderapi.CThostFtdcSPBMOptionParameterField_Delta_get, _thosttraderapi.CThostFtdcSPBMOptionParameterField_Delta_set, doc=r"""Delta值""")
    SlimiDelta: "TThostFtdcDeltaType" = property(_thosttraderapi.CThostFtdcSPBMOptionParameterField_SlimiDelta_get, _thosttraderapi.CThostFtdcSPBMOptionParameterField_SlimiDelta_set, doc=r"""卖方期权风险转换最低值""")
    PreSettlementPrice: "TThostFtdcPriceType" = property(_thosttraderapi.CThostFtdcSPBMOptionParameterField_PreSettlementPrice_get, _thosttraderapi.CThostFtdcSPBMOptionParameterField_PreSettlementPrice_set, doc=r"""昨结算价""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSPBMOptionParameterField_swiginit(self, _thosttraderapi.new_CThostFtdcSPBMOptionParameterField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSPBMOptionParameterField

# Register CThostFtdcSPBMOptionParameterField in _thosttraderapi:
_thosttraderapi.CThostFtdcSPBMOptionParameterField_swigregister(CThostFtdcSPBMOptionParameterField)
class CThostFtdcSPBMIntraParameterField(object):
    r"""SPBM品种内对锁仓折扣参数"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcSPBMIntraParameterField_TradingDay_get, _thosttraderapi.CThostFtdcSPBMIntraParameterField_TradingDay_set, doc=r"""交易日""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcSPBMIntraParameterField_ExchangeID_get, _thosttraderapi.CThostFtdcSPBMIntraParameterField_ExchangeID_set, doc=r"""交易所代码""")
    ProdFamilyCode: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSPBMIntraParameterField_ProdFamilyCode_get, _thosttraderapi.CThostFtdcSPBMIntraParameterField_ProdFamilyCode_set, doc=r"""品种代码""")
    IntraRateY: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSPBMIntraParameterField_IntraRateY_get, _thosttraderapi.CThostFtdcSPBMIntraParameterField_IntraRateY_set, doc=r"""品种内合约间对锁仓费率折扣比例""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSPBMIntraParameterField_swiginit(self, _thosttraderapi.new_CThostFtdcSPBMIntraParameterField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSPBMIntraParameterField

# Register CThostFtdcSPBMIntraParameterField in _thosttraderapi:
_thosttraderapi.CThostFtdcSPBMIntraParameterField_swigregister(CThostFtdcSPBMIntraParameterField)
class CThostFtdcSPBMInterParameterField(object):
    r"""SPBM跨品种抵扣参数"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcSPBMInterParameterField_TradingDay_get, _thosttraderapi.CThostFtdcSPBMInterParameterField_TradingDay_set, doc=r"""交易日""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcSPBMInterParameterField_ExchangeID_get, _thosttraderapi.CThostFtdcSPBMInterParameterField_ExchangeID_set, doc=r"""交易所代码""")
    SpreadId: "TThostFtdcSpreadIdType" = property(_thosttraderapi.CThostFtdcSPBMInterParameterField_SpreadId_get, _thosttraderapi.CThostFtdcSPBMInterParameterField_SpreadId_set, doc=r"""优先级""")
    InterRateZ: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcSPBMInterParameterField_InterRateZ_get, _thosttraderapi.CThostFtdcSPBMInterParameterField_InterRateZ_set, doc=r"""品种间对锁仓费率折扣比例""")
    Leg1ProdFamilyCode: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSPBMInterParameterField_Leg1ProdFamilyCode_get, _thosttraderapi.CThostFtdcSPBMInterParameterField_Leg1ProdFamilyCode_set, doc=r"""第一腿构成品种""")
    Leg2ProdFamilyCode: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSPBMInterParameterField_Leg2ProdFamilyCode_get, _thosttraderapi.CThostFtdcSPBMInterParameterField_Leg2ProdFamilyCode_set, doc=r"""第二腿构成品种""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSPBMInterParameterField_swiginit(self, _thosttraderapi.new_CThostFtdcSPBMInterParameterField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSPBMInterParameterField

# Register CThostFtdcSPBMInterParameterField in _thosttraderapi:
_thosttraderapi.CThostFtdcSPBMInterParameterField_swigregister(CThostFtdcSPBMInterParameterField)
class CThostFtdcSyncSPBMParameterEndField(object):
    r"""同步SPBM参数结束"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    TradingDay: "TThostFtdcDateType" = property(_thosttraderapi.CThostFtdcSyncSPBMParameterEndField_TradingDay_get, _thosttraderapi.CThostFtdcSyncSPBMParameterEndField_TradingDay_set, doc=r"""交易日""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSyncSPBMParameterEndField_swiginit(self, _thosttraderapi.new_CThostFtdcSyncSPBMParameterEndField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSyncSPBMParameterEndField

# Register CThostFtdcSyncSPBMParameterEndField in _thosttraderapi:
_thosttraderapi.CThostFtdcSyncSPBMParameterEndField_swigregister(CThostFtdcSyncSPBMParameterEndField)
class CThostFtdcQrySPBMFutureParameterField(object):
    r"""SPBM期货合约保证金参数查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQrySPBMFutureParameterField_ExchangeID_get, _thosttraderapi.CThostFtdcQrySPBMFutureParameterField_ExchangeID_set, doc=r"""交易所代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQrySPBMFutureParameterField_InstrumentID_get, _thosttraderapi.CThostFtdcQrySPBMFutureParameterField_InstrumentID_set, doc=r"""合约代码""")
    ProdFamilyCode: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQrySPBMFutureParameterField_ProdFamilyCode_get, _thosttraderapi.CThostFtdcQrySPBMFutureParameterField_ProdFamilyCode_set, doc=r"""品种代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQrySPBMFutureParameterField_swiginit(self, _thosttraderapi.new_CThostFtdcQrySPBMFutureParameterField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQrySPBMFutureParameterField

# Register CThostFtdcQrySPBMFutureParameterField in _thosttraderapi:
_thosttraderapi.CThostFtdcQrySPBMFutureParameterField_swigregister(CThostFtdcQrySPBMFutureParameterField)
class CThostFtdcQrySPBMOptionParameterField(object):
    r"""SPBM期权合约保证金参数查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQrySPBMOptionParameterField_ExchangeID_get, _thosttraderapi.CThostFtdcQrySPBMOptionParameterField_ExchangeID_set, doc=r"""交易所代码""")
    InstrumentID: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQrySPBMOptionParameterField_InstrumentID_get, _thosttraderapi.CThostFtdcQrySPBMOptionParameterField_InstrumentID_set, doc=r"""合约代码""")
    ProdFamilyCode: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQrySPBMOptionParameterField_ProdFamilyCode_get, _thosttraderapi.CThostFtdcQrySPBMOptionParameterField_ProdFamilyCode_set, doc=r"""品种代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQrySPBMOptionParameterField_swiginit(self, _thosttraderapi.new_CThostFtdcQrySPBMOptionParameterField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQrySPBMOptionParameterField

# Register CThostFtdcQrySPBMOptionParameterField in _thosttraderapi:
_thosttraderapi.CThostFtdcQrySPBMOptionParameterField_swigregister(CThostFtdcQrySPBMOptionParameterField)
class CThostFtdcQrySPBMIntraParameterField(object):
    r"""SPBM品种内对锁仓折扣参数查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQrySPBMIntraParameterField_ExchangeID_get, _thosttraderapi.CThostFtdcQrySPBMIntraParameterField_ExchangeID_set, doc=r"""交易所代码""")
    ProdFamilyCode: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQrySPBMIntraParameterField_ProdFamilyCode_get, _thosttraderapi.CThostFtdcQrySPBMIntraParameterField_ProdFamilyCode_set, doc=r"""品种代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQrySPBMIntraParameterField_swiginit(self, _thosttraderapi.new_CThostFtdcQrySPBMIntraParameterField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQrySPBMIntraParameterField

# Register CThostFtdcQrySPBMIntraParameterField in _thosttraderapi:
_thosttraderapi.CThostFtdcQrySPBMIntraParameterField_swigregister(CThostFtdcQrySPBMIntraParameterField)
class CThostFtdcQrySPBMInterParameterField(object):
    r"""SPBM跨品种抵扣参数查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQrySPBMInterParameterField_ExchangeID_get, _thosttraderapi.CThostFtdcQrySPBMInterParameterField_ExchangeID_set, doc=r"""交易所代码""")
    Leg1ProdFamilyCode: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQrySPBMInterParameterField_Leg1ProdFamilyCode_get, _thosttraderapi.CThostFtdcQrySPBMInterParameterField_Leg1ProdFamilyCode_set, doc=r"""第一腿构成品种""")
    Leg2ProdFamilyCode: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQrySPBMInterParameterField_Leg2ProdFamilyCode_get, _thosttraderapi.CThostFtdcQrySPBMInterParameterField_Leg2ProdFamilyCode_set, doc=r"""第二腿构成品种""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQrySPBMInterParameterField_swiginit(self, _thosttraderapi.new_CThostFtdcQrySPBMInterParameterField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQrySPBMInterParameterField

# Register CThostFtdcQrySPBMInterParameterField in _thosttraderapi:
_thosttraderapi.CThostFtdcQrySPBMInterParameterField_swigregister(CThostFtdcQrySPBMInterParameterField)
class CThostFtdcSPBMPortfDefinitionField(object):
    r"""组合保证金套餐"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcSPBMPortfDefinitionField_ExchangeID_get, _thosttraderapi.CThostFtdcSPBMPortfDefinitionField_ExchangeID_set, doc=r"""交易所代码""")
    PortfolioDefID: "TThostFtdcPortfolioDefIDType" = property(_thosttraderapi.CThostFtdcSPBMPortfDefinitionField_PortfolioDefID_get, _thosttraderapi.CThostFtdcSPBMPortfDefinitionField_PortfolioDefID_set, doc=r"""组合保证金套餐代码""")
    ProdFamilyCode: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcSPBMPortfDefinitionField_ProdFamilyCode_get, _thosttraderapi.CThostFtdcSPBMPortfDefinitionField_ProdFamilyCode_set, doc=r"""品种代码""")
    IsSPBM: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcSPBMPortfDefinitionField_IsSPBM_get, _thosttraderapi.CThostFtdcSPBMPortfDefinitionField_IsSPBM_set, doc=r"""是否启用SPBM""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSPBMPortfDefinitionField_swiginit(self, _thosttraderapi.new_CThostFtdcSPBMPortfDefinitionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSPBMPortfDefinitionField

# Register CThostFtdcSPBMPortfDefinitionField in _thosttraderapi:
_thosttraderapi.CThostFtdcSPBMPortfDefinitionField_swigregister(CThostFtdcSPBMPortfDefinitionField)
class CThostFtdcSPBMInvestorPortfDefField(object):
    r"""投资者套餐选择"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcSPBMInvestorPortfDefField_ExchangeID_get, _thosttraderapi.CThostFtdcSPBMInvestorPortfDefField_ExchangeID_set, doc=r"""交易所代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcSPBMInvestorPortfDefField_BrokerID_get, _thosttraderapi.CThostFtdcSPBMInvestorPortfDefField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcSPBMInvestorPortfDefField_InvestorID_get, _thosttraderapi.CThostFtdcSPBMInvestorPortfDefField_InvestorID_set, doc=r"""投资者代码""")
    PortfolioDefID: "TThostFtdcPortfolioDefIDType" = property(_thosttraderapi.CThostFtdcSPBMInvestorPortfDefField_PortfolioDefID_get, _thosttraderapi.CThostFtdcSPBMInvestorPortfDefField_PortfolioDefID_set, doc=r"""组合保证金套餐代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcSPBMInvestorPortfDefField_swiginit(self, _thosttraderapi.new_CThostFtdcSPBMInvestorPortfDefField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcSPBMInvestorPortfDefField

# Register CThostFtdcSPBMInvestorPortfDefField in _thosttraderapi:
_thosttraderapi.CThostFtdcSPBMInvestorPortfDefField_swigregister(CThostFtdcSPBMInvestorPortfDefField)
class CThostFtdcInvestorPortfMarginRatioField(object):
    r"""投资者新型组合保证金系数"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    InvestorRange: "TThostFtdcInvestorRangeType" = property(_thosttraderapi.CThostFtdcInvestorPortfMarginRatioField_InvestorRange_get, _thosttraderapi.CThostFtdcInvestorPortfMarginRatioField_InvestorRange_set, doc=r"""投资者范围""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInvestorPortfMarginRatioField_BrokerID_get, _thosttraderapi.CThostFtdcInvestorPortfMarginRatioField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInvestorPortfMarginRatioField_InvestorID_get, _thosttraderapi.CThostFtdcInvestorPortfMarginRatioField_InvestorID_set, doc=r"""投资者代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcInvestorPortfMarginRatioField_ExchangeID_get, _thosttraderapi.CThostFtdcInvestorPortfMarginRatioField_ExchangeID_set, doc=r"""交易所代码""")
    MarginRatio: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcInvestorPortfMarginRatioField_MarginRatio_get, _thosttraderapi.CThostFtdcInvestorPortfMarginRatioField_MarginRatio_set, doc=r"""会员对投资者收取的保证金和交易所对投资者收取的保证金的比例""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInvestorPortfMarginRatioField_swiginit(self, _thosttraderapi.new_CThostFtdcInvestorPortfMarginRatioField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInvestorPortfMarginRatioField

# Register CThostFtdcInvestorPortfMarginRatioField in _thosttraderapi:
_thosttraderapi.CThostFtdcInvestorPortfMarginRatioField_swigregister(CThostFtdcInvestorPortfMarginRatioField)
class CThostFtdcQrySPBMPortfDefinitionField(object):
    r"""组合保证金套餐查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQrySPBMPortfDefinitionField_ExchangeID_get, _thosttraderapi.CThostFtdcQrySPBMPortfDefinitionField_ExchangeID_set, doc=r"""交易所代码""")
    PortfolioDefID: "TThostFtdcPortfolioDefIDType" = property(_thosttraderapi.CThostFtdcQrySPBMPortfDefinitionField_PortfolioDefID_get, _thosttraderapi.CThostFtdcQrySPBMPortfDefinitionField_PortfolioDefID_set, doc=r"""组合保证金套餐代码""")
    ProdFamilyCode: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQrySPBMPortfDefinitionField_ProdFamilyCode_get, _thosttraderapi.CThostFtdcQrySPBMPortfDefinitionField_ProdFamilyCode_set, doc=r"""品种代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQrySPBMPortfDefinitionField_swiginit(self, _thosttraderapi.new_CThostFtdcQrySPBMPortfDefinitionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQrySPBMPortfDefinitionField

# Register CThostFtdcQrySPBMPortfDefinitionField in _thosttraderapi:
_thosttraderapi.CThostFtdcQrySPBMPortfDefinitionField_swigregister(CThostFtdcQrySPBMPortfDefinitionField)
class CThostFtdcQrySPBMInvestorPortfDefField(object):
    r"""投资者套餐选择查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQrySPBMInvestorPortfDefField_ExchangeID_get, _thosttraderapi.CThostFtdcQrySPBMInvestorPortfDefField_ExchangeID_set, doc=r"""交易所代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQrySPBMInvestorPortfDefField_BrokerID_get, _thosttraderapi.CThostFtdcQrySPBMInvestorPortfDefField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQrySPBMInvestorPortfDefField_InvestorID_get, _thosttraderapi.CThostFtdcQrySPBMInvestorPortfDefField_InvestorID_set, doc=r"""投资者代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQrySPBMInvestorPortfDefField_swiginit(self, _thosttraderapi.new_CThostFtdcQrySPBMInvestorPortfDefField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQrySPBMInvestorPortfDefField

# Register CThostFtdcQrySPBMInvestorPortfDefField in _thosttraderapi:
_thosttraderapi.CThostFtdcQrySPBMInvestorPortfDefField_swigregister(CThostFtdcQrySPBMInvestorPortfDefField)
class CThostFtdcQryInvestorPortfMarginRatioField(object):
    r"""投资者新型组合保证金系数查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryInvestorPortfMarginRatioField_BrokerID_get, _thosttraderapi.CThostFtdcQryInvestorPortfMarginRatioField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryInvestorPortfMarginRatioField_InvestorID_get, _thosttraderapi.CThostFtdcQryInvestorPortfMarginRatioField_InvestorID_set, doc=r"""投资者代码""")
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryInvestorPortfMarginRatioField_ExchangeID_get, _thosttraderapi.CThostFtdcQryInvestorPortfMarginRatioField_ExchangeID_set, doc=r"""交易所代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryInvestorPortfMarginRatioField_swiginit(self, _thosttraderapi.new_CThostFtdcQryInvestorPortfMarginRatioField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryInvestorPortfMarginRatioField

# Register CThostFtdcQryInvestorPortfMarginRatioField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryInvestorPortfMarginRatioField_swigregister(CThostFtdcQryInvestorPortfMarginRatioField)
class CThostFtdcInvestorProdSPBMDetailField(object):
    r"""投资者产品SPBM明细"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_ExchangeID_get, _thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_ExchangeID_set, doc=r"""交易所代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_BrokerID_get, _thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_InvestorID_get, _thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_InvestorID_set, doc=r"""投资者代码""")
    ProdFamilyCode: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_ProdFamilyCode_get, _thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_ProdFamilyCode_set, doc=r"""品种代码""")
    IntraInstrMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_IntraInstrMargin_get, _thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_IntraInstrMargin_set, doc=r"""合约内对锁保证金""")
    BCollectingMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_BCollectingMargin_get, _thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_BCollectingMargin_set, doc=r"""买归集保证金""")
    SCollectingMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_SCollectingMargin_get, _thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_SCollectingMargin_set, doc=r"""卖归集保证金""")
    IntraProdMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_IntraProdMargin_get, _thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_IntraProdMargin_set, doc=r"""品种内合约间对锁保证金""")
    NetMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_NetMargin_get, _thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_NetMargin_set, doc=r"""净保证金""")
    InterProdMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_InterProdMargin_get, _thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_InterProdMargin_set, doc=r"""产品间对锁保证金""")
    SingleMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_SingleMargin_get, _thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_SingleMargin_set, doc=r"""裸保证金""")
    AddOnMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_AddOnMargin_get, _thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_AddOnMargin_set, doc=r"""附加保证金""")
    DeliveryMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_DeliveryMargin_get, _thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_DeliveryMargin_set, doc=r"""交割月保证金""")
    CallOptionMinRisk: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_CallOptionMinRisk_get, _thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_CallOptionMinRisk_set, doc=r"""看涨期权最低风险""")
    PutOptionMinRisk: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_PutOptionMinRisk_get, _thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_PutOptionMinRisk_set, doc=r"""看跌期权最低风险""")
    OptionMinRisk: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_OptionMinRisk_get, _thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_OptionMinRisk_set, doc=r"""卖方期权最低风险""")
    OptionValueOffset: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_OptionValueOffset_get, _thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_OptionValueOffset_set, doc=r"""买方期权冲抵价值""")
    OptionRoyalty: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_OptionRoyalty_get, _thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_OptionRoyalty_set, doc=r"""卖方期权权利金""")
    RealOptionValueOffset: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_RealOptionValueOffset_get, _thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_RealOptionValueOffset_set, doc=r"""价值冲抵""")
    Margin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_Margin_get, _thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_Margin_set, doc=r"""保证金""")
    ExchMargin: "TThostFtdcMoneyType" = property(_thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_ExchMargin_get, _thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_ExchMargin_set, doc=r"""交易所保证金""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_swiginit(self, _thosttraderapi.new_CThostFtdcInvestorProdSPBMDetailField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInvestorProdSPBMDetailField

# Register CThostFtdcInvestorProdSPBMDetailField in _thosttraderapi:
_thosttraderapi.CThostFtdcInvestorProdSPBMDetailField_swigregister(CThostFtdcInvestorProdSPBMDetailField)
class CThostFtdcQryInvestorProdSPBMDetailField(object):
    r"""投资者产品SPBM明细查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcQryInvestorProdSPBMDetailField_ExchangeID_get, _thosttraderapi.CThostFtdcQryInvestorProdSPBMDetailField_ExchangeID_set, doc=r"""交易所代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryInvestorProdSPBMDetailField_BrokerID_get, _thosttraderapi.CThostFtdcQryInvestorProdSPBMDetailField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcQryInvestorProdSPBMDetailField_InvestorID_get, _thosttraderapi.CThostFtdcQryInvestorProdSPBMDetailField_InvestorID_set, doc=r"""投资者代码""")
    ProdFamilyCode: "TThostFtdcInstrumentIDType" = property(_thosttraderapi.CThostFtdcQryInvestorProdSPBMDetailField_ProdFamilyCode_get, _thosttraderapi.CThostFtdcQryInvestorProdSPBMDetailField_ProdFamilyCode_set, doc=r"""品种代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryInvestorProdSPBMDetailField_swiginit(self, _thosttraderapi.new_CThostFtdcQryInvestorProdSPBMDetailField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryInvestorProdSPBMDetailField

# Register CThostFtdcQryInvestorProdSPBMDetailField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryInvestorProdSPBMDetailField_swigregister(CThostFtdcQryInvestorProdSPBMDetailField)
class CThostFtdcPortfTradeParamSettingField(object):
    r"""组保交易参数设置"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    ExchangeID: "TThostFtdcExchangeIDType" = property(_thosttraderapi.CThostFtdcPortfTradeParamSettingField_ExchangeID_get, _thosttraderapi.CThostFtdcPortfTradeParamSettingField_ExchangeID_set, doc=r"""交易所代码""")
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcPortfTradeParamSettingField_BrokerID_get, _thosttraderapi.CThostFtdcPortfTradeParamSettingField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcPortfTradeParamSettingField_InvestorID_get, _thosttraderapi.CThostFtdcPortfTradeParamSettingField_InvestorID_set, doc=r"""投资者代码""")
    Portfolio: "TThostFtdcPortfolioType" = property(_thosttraderapi.CThostFtdcPortfTradeParamSettingField_Portfolio_get, _thosttraderapi.CThostFtdcPortfTradeParamSettingField_Portfolio_set, doc=r"""新型组保算法""")
    IsActionVerify: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcPortfTradeParamSettingField_IsActionVerify_get, _thosttraderapi.CThostFtdcPortfTradeParamSettingField_IsActionVerify_set, doc=r"""撤单是否验资""")
    IsCloseVerify: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcPortfTradeParamSettingField_IsCloseVerify_get, _thosttraderapi.CThostFtdcPortfTradeParamSettingField_IsCloseVerify_set, doc=r"""平仓是否验资""")

    def __init__(self):
        _thosttraderapi.CThostFtdcPortfTradeParamSettingField_swiginit(self, _thosttraderapi.new_CThostFtdcPortfTradeParamSettingField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcPortfTradeParamSettingField

# Register CThostFtdcPortfTradeParamSettingField in _thosttraderapi:
_thosttraderapi.CThostFtdcPortfTradeParamSettingField_swigregister(CThostFtdcPortfTradeParamSettingField)
class CThostFtdcInvestorTradingRightField(object):
    r"""投资者交易权限设置"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcInvestorTradingRightField_BrokerID_get, _thosttraderapi.CThostFtdcInvestorTradingRightField_BrokerID_set, doc=r"""经纪公司代码""")
    InvestorID: "TThostFtdcInvestorIDType" = property(_thosttraderapi.CThostFtdcInvestorTradingRightField_InvestorID_get, _thosttraderapi.CThostFtdcInvestorTradingRightField_InvestorID_set, doc=r"""投资者代码""")
    InvstTradingRight: "TThostFtdcInvstTradingRightType" = property(_thosttraderapi.CThostFtdcInvestorTradingRightField_InvstTradingRight_get, _thosttraderapi.CThostFtdcInvestorTradingRightField_InvstTradingRight_set, doc=r"""交易权限""")

    def __init__(self):
        _thosttraderapi.CThostFtdcInvestorTradingRightField_swiginit(self, _thosttraderapi.new_CThostFtdcInvestorTradingRightField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcInvestorTradingRightField

# Register CThostFtdcInvestorTradingRightField in _thosttraderapi:
_thosttraderapi.CThostFtdcInvestorTradingRightField_swigregister(CThostFtdcInvestorTradingRightField)
class CThostFtdcMortgageParamField(object):
    r"""质押配比参数"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcMortgageParamField_BrokerID_get, _thosttraderapi.CThostFtdcMortgageParamField_BrokerID_set, doc=r"""经纪公司代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcMortgageParamField_AccountID_get, _thosttraderapi.CThostFtdcMortgageParamField_AccountID_set, doc=r"""投资者帐号""")
    MortgageBalance: "TThostFtdcRatioType" = property(_thosttraderapi.CThostFtdcMortgageParamField_MortgageBalance_get, _thosttraderapi.CThostFtdcMortgageParamField_MortgageBalance_set, doc=r"""质押配比系数""")
    CheckMortgageRatio: "TThostFtdcBoolType" = property(_thosttraderapi.CThostFtdcMortgageParamField_CheckMortgageRatio_get, _thosttraderapi.CThostFtdcMortgageParamField_CheckMortgageRatio_set, doc=r"""开仓是否验证质押配比""")

    def __init__(self):
        _thosttraderapi.CThostFtdcMortgageParamField_swiginit(self, _thosttraderapi.new_CThostFtdcMortgageParamField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcMortgageParamField

# Register CThostFtdcMortgageParamField in _thosttraderapi:
_thosttraderapi.CThostFtdcMortgageParamField_swigregister(CThostFtdcMortgageParamField)
class CThostFtdcWithDrawParamField(object):
    r"""可提控制参数"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcWithDrawParamField_BrokerID_get, _thosttraderapi.CThostFtdcWithDrawParamField_BrokerID_set, doc=r"""经纪公司代码""")
    AccountID: "TThostFtdcAccountIDType" = property(_thosttraderapi.CThostFtdcWithDrawParamField_AccountID_get, _thosttraderapi.CThostFtdcWithDrawParamField_AccountID_set, doc=r"""投资者帐号""")
    WithDrawParamID: "TThostFtdcWithDrawParamIDType" = property(_thosttraderapi.CThostFtdcWithDrawParamField_WithDrawParamID_get, _thosttraderapi.CThostFtdcWithDrawParamField_WithDrawParamID_set, doc=r"""参数代码""")
    WithDrawParamValue: "TThostFtdcWithDrawParamValueType" = property(_thosttraderapi.CThostFtdcWithDrawParamField_WithDrawParamValue_get, _thosttraderapi.CThostFtdcWithDrawParamField_WithDrawParamValue_set, doc=r"""参数代码值""")

    def __init__(self):
        _thosttraderapi.CThostFtdcWithDrawParamField_swiginit(self, _thosttraderapi.new_CThostFtdcWithDrawParamField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcWithDrawParamField

# Register CThostFtdcWithDrawParamField in _thosttraderapi:
_thosttraderapi.CThostFtdcWithDrawParamField_swigregister(CThostFtdcWithDrawParamField)
class CThostFtdcThostUserFunctionField(object):
    r"""Thost终端用户功能权限"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcThostUserFunctionField_BrokerID_get, _thosttraderapi.CThostFtdcThostUserFunctionField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcThostUserFunctionField_UserID_get, _thosttraderapi.CThostFtdcThostUserFunctionField_UserID_set, doc=r"""用户代码""")
    ThostFunctionCode: "TThostFtdcThostFunctionCodeType" = property(_thosttraderapi.CThostFtdcThostUserFunctionField_ThostFunctionCode_get, _thosttraderapi.CThostFtdcThostUserFunctionField_ThostFunctionCode_set, doc=r"""Thost终端功能代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcThostUserFunctionField_swiginit(self, _thosttraderapi.new_CThostFtdcThostUserFunctionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcThostUserFunctionField

# Register CThostFtdcThostUserFunctionField in _thosttraderapi:
_thosttraderapi.CThostFtdcThostUserFunctionField_swigregister(CThostFtdcThostUserFunctionField)
class CThostFtdcQryThostUserFunctionField(object):
    r"""Thost终端用户功能权限查询"""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    BrokerID: "TThostFtdcBrokerIDType" = property(_thosttraderapi.CThostFtdcQryThostUserFunctionField_BrokerID_get, _thosttraderapi.CThostFtdcQryThostUserFunctionField_BrokerID_set, doc=r"""经纪公司代码""")
    UserID: "TThostFtdcUserIDType" = property(_thosttraderapi.CThostFtdcQryThostUserFunctionField_UserID_get, _thosttraderapi.CThostFtdcQryThostUserFunctionField_UserID_set, doc=r"""用户代码""")

    def __init__(self):
        _thosttraderapi.CThostFtdcQryThostUserFunctionField_swiginit(self, _thosttraderapi.new_CThostFtdcQryThostUserFunctionField())
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcQryThostUserFunctionField

# Register CThostFtdcQryThostUserFunctionField in _thosttraderapi:
_thosttraderapi.CThostFtdcQryThostUserFunctionField_swigregister(CThostFtdcQryThostUserFunctionField)
class CThostFtdcTraderSpi(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def OnFrontConnected(self) -> "void":
        r"""当客户端与交易后台建立起通信连接时（还未登录前），该方法被调用。"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnFrontConnected(self)
    OnFrontConnected = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnFrontConnected)

    def OnFrontDisconnected(self, nReason: "int") -> "void":
        r"""
        当客户端与交易后台通信连接断开时，该方法被调用。当发生这个情况后，API会自动重新连接，客户端可不做处理。
        :type nReason: int
        :param nReason: 错误原因
                    0x1001 网络读失败
                    0x1002 网络写失败
                    0x2001 接收心跳超时
                    0x2002 发送心跳失败
                    0x2003 收到错误报文
        """
        return _thosttraderapi.CThostFtdcTraderSpi_OnFrontDisconnected(self, nReason)
    OnFrontDisconnected = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnFrontDisconnected)

    def OnHeartBeatWarning(self, nTimeLapse: "int") -> "void":
        r"""
        心跳超时警告。当长时间未收到报文时，该方法被调用。
        :type nTimeLapse: int
        :param nTimeLapse: 距离上次接收报文的时间
        """
        return _thosttraderapi.CThostFtdcTraderSpi_OnHeartBeatWarning(self, nTimeLapse)
    OnHeartBeatWarning = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnHeartBeatWarning)

    def OnRspAuthenticate(self, pRspAuthenticateField: "CThostFtdcRspAuthenticateField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""客户端认证响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspAuthenticate(self, pRspAuthenticateField, pRspInfo, nRequestID, bIsLast)
    OnRspAuthenticate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspAuthenticate)

    def OnRspUserLogin(self, pRspUserLogin: "CThostFtdcRspUserLoginField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""登录请求响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspUserLogin(self, pRspUserLogin, pRspInfo, nRequestID, bIsLast)
    OnRspUserLogin = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspUserLogin)

    def OnRspUserLogout(self, pUserLogout: "CThostFtdcUserLogoutField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""登出请求响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspUserLogout(self, pUserLogout, pRspInfo, nRequestID, bIsLast)
    OnRspUserLogout = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspUserLogout)

    def OnRspUserPasswordUpdate(self, pUserPasswordUpdate: "CThostFtdcUserPasswordUpdateField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""用户口令更新请求响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspUserPasswordUpdate(self, pUserPasswordUpdate, pRspInfo, nRequestID, bIsLast)
    OnRspUserPasswordUpdate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspUserPasswordUpdate)

    def OnRspTradingAccountPasswordUpdate(self, pTradingAccountPasswordUpdate: "CThostFtdcTradingAccountPasswordUpdateField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""资金账户口令更新请求响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspTradingAccountPasswordUpdate(self, pTradingAccountPasswordUpdate, pRspInfo, nRequestID, bIsLast)
    OnRspTradingAccountPasswordUpdate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspTradingAccountPasswordUpdate)

    def OnRspUserAuthMethod(self, pRspUserAuthMethod: "CThostFtdcRspUserAuthMethodField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""查询用户当前支持的认证模式的回复"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspUserAuthMethod(self, pRspUserAuthMethod, pRspInfo, nRequestID, bIsLast)
    OnRspUserAuthMethod = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspUserAuthMethod)

    def OnRspGenUserCaptcha(self, pRspGenUserCaptcha: "CThostFtdcRspGenUserCaptchaField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""获取图形验证码请求的回复"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspGenUserCaptcha(self, pRspGenUserCaptcha, pRspInfo, nRequestID, bIsLast)
    OnRspGenUserCaptcha = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspGenUserCaptcha)

    def OnRspGenUserText(self, pRspGenUserText: "CThostFtdcRspGenUserTextField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""获取短信验证码请求的回复"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspGenUserText(self, pRspGenUserText, pRspInfo, nRequestID, bIsLast)
    OnRspGenUserText = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspGenUserText)

    def OnRspOrderInsert(self, pInputOrder: "CThostFtdcInputOrderField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""报单录入请求响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspOrderInsert(self, pInputOrder, pRspInfo, nRequestID, bIsLast)
    OnRspOrderInsert = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspOrderInsert)

    def OnRspParkedOrderInsert(self, pParkedOrder: "CThostFtdcParkedOrderField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""预埋单录入请求响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspParkedOrderInsert(self, pParkedOrder, pRspInfo, nRequestID, bIsLast)
    OnRspParkedOrderInsert = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspParkedOrderInsert)

    def OnRspParkedOrderAction(self, pParkedOrderAction: "CThostFtdcParkedOrderActionField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""预埋撤单录入请求响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspParkedOrderAction(self, pParkedOrderAction, pRspInfo, nRequestID, bIsLast)
    OnRspParkedOrderAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspParkedOrderAction)

    def OnRspOrderAction(self, pInputOrderAction: "CThostFtdcInputOrderActionField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""报单操作请求响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspOrderAction(self, pInputOrderAction, pRspInfo, nRequestID, bIsLast)
    OnRspOrderAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspOrderAction)

    def OnRspQryMaxOrderVolume(self, pQryMaxOrderVolume: "CThostFtdcQryMaxOrderVolumeField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""查询最大报单数量响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryMaxOrderVolume(self, pQryMaxOrderVolume, pRspInfo, nRequestID, bIsLast)
    OnRspQryMaxOrderVolume = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryMaxOrderVolume)

    def OnRspSettlementInfoConfirm(self, pSettlementInfoConfirm: "CThostFtdcSettlementInfoConfirmField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""投资者结算结果确认响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspSettlementInfoConfirm(self, pSettlementInfoConfirm, pRspInfo, nRequestID, bIsLast)
    OnRspSettlementInfoConfirm = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspSettlementInfoConfirm)

    def OnRspRemoveParkedOrder(self, pRemoveParkedOrder: "CThostFtdcRemoveParkedOrderField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""删除预埋单响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspRemoveParkedOrder(self, pRemoveParkedOrder, pRspInfo, nRequestID, bIsLast)
    OnRspRemoveParkedOrder = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspRemoveParkedOrder)

    def OnRspRemoveParkedOrderAction(self, pRemoveParkedOrderAction: "CThostFtdcRemoveParkedOrderActionField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""删除预埋撤单响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspRemoveParkedOrderAction(self, pRemoveParkedOrderAction, pRspInfo, nRequestID, bIsLast)
    OnRspRemoveParkedOrderAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspRemoveParkedOrderAction)

    def OnRspExecOrderInsert(self, pInputExecOrder: "CThostFtdcInputExecOrderField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""执行宣告录入请求响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspExecOrderInsert(self, pInputExecOrder, pRspInfo, nRequestID, bIsLast)
    OnRspExecOrderInsert = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspExecOrderInsert)

    def OnRspExecOrderAction(self, pInputExecOrderAction: "CThostFtdcInputExecOrderActionField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""执行宣告操作请求响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspExecOrderAction(self, pInputExecOrderAction, pRspInfo, nRequestID, bIsLast)
    OnRspExecOrderAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspExecOrderAction)

    def OnRspForQuoteInsert(self, pInputForQuote: "CThostFtdcInputForQuoteField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""询价录入请求响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspForQuoteInsert(self, pInputForQuote, pRspInfo, nRequestID, bIsLast)
    OnRspForQuoteInsert = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspForQuoteInsert)

    def OnRspQuoteInsert(self, pInputQuote: "CThostFtdcInputQuoteField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""报价录入请求响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQuoteInsert(self, pInputQuote, pRspInfo, nRequestID, bIsLast)
    OnRspQuoteInsert = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQuoteInsert)

    def OnRspQuoteAction(self, pInputQuoteAction: "CThostFtdcInputQuoteActionField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""报价操作请求响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQuoteAction(self, pInputQuoteAction, pRspInfo, nRequestID, bIsLast)
    OnRspQuoteAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQuoteAction)

    def OnRspBatchOrderAction(self, pInputBatchOrderAction: "CThostFtdcInputBatchOrderActionField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""批量报单操作请求响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspBatchOrderAction(self, pInputBatchOrderAction, pRspInfo, nRequestID, bIsLast)
    OnRspBatchOrderAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspBatchOrderAction)

    def OnRspOptionSelfCloseInsert(self, pInputOptionSelfClose: "CThostFtdcInputOptionSelfCloseField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""期权自对冲录入请求响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspOptionSelfCloseInsert(self, pInputOptionSelfClose, pRspInfo, nRequestID, bIsLast)
    OnRspOptionSelfCloseInsert = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspOptionSelfCloseInsert)

    def OnRspOptionSelfCloseAction(self, pInputOptionSelfCloseAction: "CThostFtdcInputOptionSelfCloseActionField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""期权自对冲操作请求响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspOptionSelfCloseAction(self, pInputOptionSelfCloseAction, pRspInfo, nRequestID, bIsLast)
    OnRspOptionSelfCloseAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspOptionSelfCloseAction)

    def OnRspCombActionInsert(self, pInputCombAction: "CThostFtdcInputCombActionField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""申请组合录入请求响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspCombActionInsert(self, pInputCombAction, pRspInfo, nRequestID, bIsLast)
    OnRspCombActionInsert = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspCombActionInsert)

    def OnRspQryOrder(self, pOrder: "CThostFtdcOrderField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询报单响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryOrder(self, pOrder, pRspInfo, nRequestID, bIsLast)
    OnRspQryOrder = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryOrder)

    def OnRspQryTrade(self, pTrade: "CThostFtdcTradeField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询成交响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryTrade(self, pTrade, pRspInfo, nRequestID, bIsLast)
    OnRspQryTrade = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryTrade)

    def OnRspQryInvestorPosition(self, pInvestorPosition: "CThostFtdcInvestorPositionField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询投资者持仓响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryInvestorPosition(self, pInvestorPosition, pRspInfo, nRequestID, bIsLast)
    OnRspQryInvestorPosition = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryInvestorPosition)

    def OnRspQryTradingAccount(self, pTradingAccount: "CThostFtdcTradingAccountField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询资金账户响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryTradingAccount(self, pTradingAccount, pRspInfo, nRequestID, bIsLast)
    OnRspQryTradingAccount = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryTradingAccount)

    def OnRspQryInvestor(self, pInvestor: "CThostFtdcInvestorField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询投资者响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryInvestor(self, pInvestor, pRspInfo, nRequestID, bIsLast)
    OnRspQryInvestor = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryInvestor)

    def OnRspQryTradingCode(self, pTradingCode: "CThostFtdcTradingCodeField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询交易编码响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryTradingCode(self, pTradingCode, pRspInfo, nRequestID, bIsLast)
    OnRspQryTradingCode = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryTradingCode)

    def OnRspQryInstrumentMarginRate(self, pInstrumentMarginRate: "CThostFtdcInstrumentMarginRateField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询合约保证金率响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryInstrumentMarginRate(self, pInstrumentMarginRate, pRspInfo, nRequestID, bIsLast)
    OnRspQryInstrumentMarginRate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryInstrumentMarginRate)

    def OnRspQryInstrumentCommissionRate(self, pInstrumentCommissionRate: "CThostFtdcInstrumentCommissionRateField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询合约手续费率响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryInstrumentCommissionRate(self, pInstrumentCommissionRate, pRspInfo, nRequestID, bIsLast)
    OnRspQryInstrumentCommissionRate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryInstrumentCommissionRate)

    def OnRspQryExchange(self, pExchange: "CThostFtdcExchangeField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询交易所响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryExchange(self, pExchange, pRspInfo, nRequestID, bIsLast)
    OnRspQryExchange = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryExchange)

    def OnRspQryProduct(self, pProduct: "CThostFtdcProductField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询产品响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryProduct(self, pProduct, pRspInfo, nRequestID, bIsLast)
    OnRspQryProduct = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryProduct)

    def OnRspQryInstrument(self, pInstrument: "CThostFtdcInstrumentField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询合约响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryInstrument(self, pInstrument, pRspInfo, nRequestID, bIsLast)
    OnRspQryInstrument = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryInstrument)

    def OnRspQryDepthMarketData(self, pDepthMarketData: "CThostFtdcDepthMarketDataField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询行情响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryDepthMarketData(self, pDepthMarketData, pRspInfo, nRequestID, bIsLast)
    OnRspQryDepthMarketData = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryDepthMarketData)

    def OnRspQryTraderOffer(self, pTraderOffer: "CThostFtdcTraderOfferField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询交易员报盘机响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryTraderOffer(self, pTraderOffer, pRspInfo, nRequestID, bIsLast)
    OnRspQryTraderOffer = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryTraderOffer)

    def OnRspQrySettlementInfo(self, pSettlementInfo: "CThostFtdcSettlementInfoField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询投资者结算结果响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQrySettlementInfo(self, pSettlementInfo, pRspInfo, nRequestID, bIsLast)
    OnRspQrySettlementInfo = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQrySettlementInfo)

    def OnRspQryTransferBank(self, pTransferBank: "CThostFtdcTransferBankField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询转帐银行响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryTransferBank(self, pTransferBank, pRspInfo, nRequestID, bIsLast)
    OnRspQryTransferBank = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryTransferBank)

    def OnRspQryInvestorPositionDetail(self, pInvestorPositionDetail: "CThostFtdcInvestorPositionDetailField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询投资者持仓明细响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryInvestorPositionDetail(self, pInvestorPositionDetail, pRspInfo, nRequestID, bIsLast)
    OnRspQryInvestorPositionDetail = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryInvestorPositionDetail)

    def OnRspQryNotice(self, pNotice: "CThostFtdcNoticeField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询客户通知响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryNotice(self, pNotice, pRspInfo, nRequestID, bIsLast)
    OnRspQryNotice = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryNotice)

    def OnRspQrySettlementInfoConfirm(self, pSettlementInfoConfirm: "CThostFtdcSettlementInfoConfirmField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询结算信息确认响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQrySettlementInfoConfirm(self, pSettlementInfoConfirm, pRspInfo, nRequestID, bIsLast)
    OnRspQrySettlementInfoConfirm = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQrySettlementInfoConfirm)

    def OnRspQryInvestorPositionCombineDetail(self, pInvestorPositionCombineDetail: "CThostFtdcInvestorPositionCombineDetailField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询投资者持仓明细响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryInvestorPositionCombineDetail(self, pInvestorPositionCombineDetail, pRspInfo, nRequestID, bIsLast)
    OnRspQryInvestorPositionCombineDetail = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryInvestorPositionCombineDetail)

    def OnRspQryCFMMCTradingAccountKey(self, pCFMMCTradingAccountKey: "CThostFtdcCFMMCTradingAccountKeyField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""查询保证金监管系统经纪公司资金账户密钥响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryCFMMCTradingAccountKey(self, pCFMMCTradingAccountKey, pRspInfo, nRequestID, bIsLast)
    OnRspQryCFMMCTradingAccountKey = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryCFMMCTradingAccountKey)

    def OnRspQryEWarrantOffset(self, pEWarrantOffset: "CThostFtdcEWarrantOffsetField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询仓单折抵信息响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryEWarrantOffset(self, pEWarrantOffset, pRspInfo, nRequestID, bIsLast)
    OnRspQryEWarrantOffset = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryEWarrantOffset)

    def OnRspQryInvestorProductGroupMargin(self, pInvestorProductGroupMargin: "CThostFtdcInvestorProductGroupMarginField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询投资者品种/跨品种保证金响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryInvestorProductGroupMargin(self, pInvestorProductGroupMargin, pRspInfo, nRequestID, bIsLast)
    OnRspQryInvestorProductGroupMargin = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryInvestorProductGroupMargin)

    def OnRspQryExchangeMarginRate(self, pExchangeMarginRate: "CThostFtdcExchangeMarginRateField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询交易所保证金率响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryExchangeMarginRate(self, pExchangeMarginRate, pRspInfo, nRequestID, bIsLast)
    OnRspQryExchangeMarginRate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryExchangeMarginRate)

    def OnRspQryExchangeMarginRateAdjust(self, pExchangeMarginRateAdjust: "CThostFtdcExchangeMarginRateAdjustField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询交易所调整保证金率响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryExchangeMarginRateAdjust(self, pExchangeMarginRateAdjust, pRspInfo, nRequestID, bIsLast)
    OnRspQryExchangeMarginRateAdjust = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryExchangeMarginRateAdjust)

    def OnRspQryExchangeRate(self, pExchangeRate: "CThostFtdcExchangeRateField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询汇率响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryExchangeRate(self, pExchangeRate, pRspInfo, nRequestID, bIsLast)
    OnRspQryExchangeRate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryExchangeRate)

    def OnRspQrySecAgentACIDMap(self, pSecAgentACIDMap: "CThostFtdcSecAgentACIDMapField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询二级代理操作员银期权限响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQrySecAgentACIDMap(self, pSecAgentACIDMap, pRspInfo, nRequestID, bIsLast)
    OnRspQrySecAgentACIDMap = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQrySecAgentACIDMap)

    def OnRspQryProductExchRate(self, pProductExchRate: "CThostFtdcProductExchRateField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询产品报价汇率"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryProductExchRate(self, pProductExchRate, pRspInfo, nRequestID, bIsLast)
    OnRspQryProductExchRate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryProductExchRate)

    def OnRspQryProductGroup(self, pProductGroup: "CThostFtdcProductGroupField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询产品组"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryProductGroup(self, pProductGroup, pRspInfo, nRequestID, bIsLast)
    OnRspQryProductGroup = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryProductGroup)

    def OnRspQryMMInstrumentCommissionRate(self, pMMInstrumentCommissionRate: "CThostFtdcMMInstrumentCommissionRateField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询做市商合约手续费率响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryMMInstrumentCommissionRate(self, pMMInstrumentCommissionRate, pRspInfo, nRequestID, bIsLast)
    OnRspQryMMInstrumentCommissionRate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryMMInstrumentCommissionRate)

    def OnRspQryMMOptionInstrCommRate(self, pMMOptionInstrCommRate: "CThostFtdcMMOptionInstrCommRateField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询做市商期权合约手续费响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryMMOptionInstrCommRate(self, pMMOptionInstrCommRate, pRspInfo, nRequestID, bIsLast)
    OnRspQryMMOptionInstrCommRate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryMMOptionInstrCommRate)

    def OnRspQryInstrumentOrderCommRate(self, pInstrumentOrderCommRate: "CThostFtdcInstrumentOrderCommRateField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询报单手续费响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryInstrumentOrderCommRate(self, pInstrumentOrderCommRate, pRspInfo, nRequestID, bIsLast)
    OnRspQryInstrumentOrderCommRate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryInstrumentOrderCommRate)

    def OnRspQrySecAgentTradingAccount(self, pTradingAccount: "CThostFtdcTradingAccountField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询资金账户响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQrySecAgentTradingAccount(self, pTradingAccount, pRspInfo, nRequestID, bIsLast)
    OnRspQrySecAgentTradingAccount = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQrySecAgentTradingAccount)

    def OnRspQrySecAgentCheckMode(self, pSecAgentCheckMode: "CThostFtdcSecAgentCheckModeField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询二级代理商资金校验模式响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQrySecAgentCheckMode(self, pSecAgentCheckMode, pRspInfo, nRequestID, bIsLast)
    OnRspQrySecAgentCheckMode = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQrySecAgentCheckMode)

    def OnRspQrySecAgentTradeInfo(self, pSecAgentTradeInfo: "CThostFtdcSecAgentTradeInfoField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询二级代理商信息响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQrySecAgentTradeInfo(self, pSecAgentTradeInfo, pRspInfo, nRequestID, bIsLast)
    OnRspQrySecAgentTradeInfo = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQrySecAgentTradeInfo)

    def OnRspQryOptionInstrTradeCost(self, pOptionInstrTradeCost: "CThostFtdcOptionInstrTradeCostField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询期权交易成本响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryOptionInstrTradeCost(self, pOptionInstrTradeCost, pRspInfo, nRequestID, bIsLast)
    OnRspQryOptionInstrTradeCost = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryOptionInstrTradeCost)

    def OnRspQryOptionInstrCommRate(self, pOptionInstrCommRate: "CThostFtdcOptionInstrCommRateField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询期权合约手续费响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryOptionInstrCommRate(self, pOptionInstrCommRate, pRspInfo, nRequestID, bIsLast)
    OnRspQryOptionInstrCommRate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryOptionInstrCommRate)

    def OnRspQryExecOrder(self, pExecOrder: "CThostFtdcExecOrderField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询执行宣告响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryExecOrder(self, pExecOrder, pRspInfo, nRequestID, bIsLast)
    OnRspQryExecOrder = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryExecOrder)

    def OnRspQryForQuote(self, pForQuote: "CThostFtdcForQuoteField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询询价响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryForQuote(self, pForQuote, pRspInfo, nRequestID, bIsLast)
    OnRspQryForQuote = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryForQuote)

    def OnRspQryQuote(self, pQuote: "CThostFtdcQuoteField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询报价响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryQuote(self, pQuote, pRspInfo, nRequestID, bIsLast)
    OnRspQryQuote = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryQuote)

    def OnRspQryOptionSelfClose(self, pOptionSelfClose: "CThostFtdcOptionSelfCloseField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询期权自对冲响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryOptionSelfClose(self, pOptionSelfClose, pRspInfo, nRequestID, bIsLast)
    OnRspQryOptionSelfClose = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryOptionSelfClose)

    def OnRspQryInvestUnit(self, pInvestUnit: "CThostFtdcInvestUnitField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询投资单元响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryInvestUnit(self, pInvestUnit, pRspInfo, nRequestID, bIsLast)
    OnRspQryInvestUnit = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryInvestUnit)

    def OnRspQryCombInstrumentGuard(self, pCombInstrumentGuard: "CThostFtdcCombInstrumentGuardField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询组合合约安全系数响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryCombInstrumentGuard(self, pCombInstrumentGuard, pRspInfo, nRequestID, bIsLast)
    OnRspQryCombInstrumentGuard = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryCombInstrumentGuard)

    def OnRspQryCombAction(self, pCombAction: "CThostFtdcCombActionField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询申请组合响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryCombAction(self, pCombAction, pRspInfo, nRequestID, bIsLast)
    OnRspQryCombAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryCombAction)

    def OnRspQryTransferSerial(self, pTransferSerial: "CThostFtdcTransferSerialField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询转帐流水响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryTransferSerial(self, pTransferSerial, pRspInfo, nRequestID, bIsLast)
    OnRspQryTransferSerial = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryTransferSerial)

    def OnRspQryAccountregister(self, pAccountregister: "CThostFtdcAccountregisterField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询银期签约关系响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryAccountregister(self, pAccountregister, pRspInfo, nRequestID, bIsLast)
    OnRspQryAccountregister = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryAccountregister)

    def OnRspError(self, pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""错误应答"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspError(self, pRspInfo, nRequestID, bIsLast)
    OnRspError = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspError)

    def OnRtnOrder(self, pOrder: "CThostFtdcOrderField") -> "void":
        r"""报单通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnOrder(self, pOrder)
    OnRtnOrder = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnOrder)

    def OnRtnTrade(self, pTrade: "CThostFtdcTradeField") -> "void":
        r"""成交通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnTrade(self, pTrade)
    OnRtnTrade = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnTrade)

    def OnErrRtnOrderInsert(self, pInputOrder: "CThostFtdcInputOrderField", pRspInfo: "CThostFtdcRspInfoField") -> "void":
        r"""报单录入错误回报"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnErrRtnOrderInsert(self, pInputOrder, pRspInfo)
    OnErrRtnOrderInsert = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnErrRtnOrderInsert)

    def OnErrRtnOrderAction(self, pOrderAction: "CThostFtdcOrderActionField", pRspInfo: "CThostFtdcRspInfoField") -> "void":
        r"""报单操作错误回报"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnErrRtnOrderAction(self, pOrderAction, pRspInfo)
    OnErrRtnOrderAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnErrRtnOrderAction)

    def OnRtnInstrumentStatus(self, pInstrumentStatus: "CThostFtdcInstrumentStatusField") -> "void":
        r"""合约交易状态通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnInstrumentStatus(self, pInstrumentStatus)
    OnRtnInstrumentStatus = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnInstrumentStatus)

    def OnRtnBulletin(self, pBulletin: "CThostFtdcBulletinField") -> "void":
        r"""交易所公告通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnBulletin(self, pBulletin)
    OnRtnBulletin = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnBulletin)

    def OnRtnTradingNotice(self, pTradingNoticeInfo: "CThostFtdcTradingNoticeInfoField") -> "void":
        r"""交易通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnTradingNotice(self, pTradingNoticeInfo)
    OnRtnTradingNotice = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnTradingNotice)

    def OnRtnErrorConditionalOrder(self, pErrorConditionalOrder: "CThostFtdcErrorConditionalOrderField") -> "void":
        r"""提示条件单校验错误"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnErrorConditionalOrder(self, pErrorConditionalOrder)
    OnRtnErrorConditionalOrder = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnErrorConditionalOrder)

    def OnRtnExecOrder(self, pExecOrder: "CThostFtdcExecOrderField") -> "void":
        r"""执行宣告通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnExecOrder(self, pExecOrder)
    OnRtnExecOrder = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnExecOrder)

    def OnErrRtnExecOrderInsert(self, pInputExecOrder: "CThostFtdcInputExecOrderField", pRspInfo: "CThostFtdcRspInfoField") -> "void":
        r"""执行宣告录入错误回报"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnErrRtnExecOrderInsert(self, pInputExecOrder, pRspInfo)
    OnErrRtnExecOrderInsert = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnErrRtnExecOrderInsert)

    def OnErrRtnExecOrderAction(self, pExecOrderAction: "CThostFtdcExecOrderActionField", pRspInfo: "CThostFtdcRspInfoField") -> "void":
        r"""执行宣告操作错误回报"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnErrRtnExecOrderAction(self, pExecOrderAction, pRspInfo)
    OnErrRtnExecOrderAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnErrRtnExecOrderAction)

    def OnErrRtnForQuoteInsert(self, pInputForQuote: "CThostFtdcInputForQuoteField", pRspInfo: "CThostFtdcRspInfoField") -> "void":
        r"""询价录入错误回报"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnErrRtnForQuoteInsert(self, pInputForQuote, pRspInfo)
    OnErrRtnForQuoteInsert = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnErrRtnForQuoteInsert)

    def OnRtnQuote(self, pQuote: "CThostFtdcQuoteField") -> "void":
        r"""报价通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnQuote(self, pQuote)
    OnRtnQuote = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnQuote)

    def OnErrRtnQuoteInsert(self, pInputQuote: "CThostFtdcInputQuoteField", pRspInfo: "CThostFtdcRspInfoField") -> "void":
        r"""报价录入错误回报"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnErrRtnQuoteInsert(self, pInputQuote, pRspInfo)
    OnErrRtnQuoteInsert = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnErrRtnQuoteInsert)

    def OnErrRtnQuoteAction(self, pQuoteAction: "CThostFtdcQuoteActionField", pRspInfo: "CThostFtdcRspInfoField") -> "void":
        r"""报价操作错误回报"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnErrRtnQuoteAction(self, pQuoteAction, pRspInfo)
    OnErrRtnQuoteAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnErrRtnQuoteAction)

    def OnRtnForQuoteRsp(self, pForQuoteRsp: "CThostFtdcForQuoteRspField") -> "void":
        r"""询价通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnForQuoteRsp(self, pForQuoteRsp)
    OnRtnForQuoteRsp = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnForQuoteRsp)

    def OnRtnCFMMCTradingAccountToken(self, pCFMMCTradingAccountToken: "CThostFtdcCFMMCTradingAccountTokenField") -> "void":
        r"""保证金监控中心用户令牌"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnCFMMCTradingAccountToken(self, pCFMMCTradingAccountToken)
    OnRtnCFMMCTradingAccountToken = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnCFMMCTradingAccountToken)

    def OnErrRtnBatchOrderAction(self, pBatchOrderAction: "CThostFtdcBatchOrderActionField", pRspInfo: "CThostFtdcRspInfoField") -> "void":
        r"""批量报单操作错误回报"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnErrRtnBatchOrderAction(self, pBatchOrderAction, pRspInfo)
    OnErrRtnBatchOrderAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnErrRtnBatchOrderAction)

    def OnRtnOptionSelfClose(self, pOptionSelfClose: "CThostFtdcOptionSelfCloseField") -> "void":
        r"""期权自对冲通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnOptionSelfClose(self, pOptionSelfClose)
    OnRtnOptionSelfClose = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnOptionSelfClose)

    def OnErrRtnOptionSelfCloseInsert(self, pInputOptionSelfClose: "CThostFtdcInputOptionSelfCloseField", pRspInfo: "CThostFtdcRspInfoField") -> "void":
        r"""期权自对冲录入错误回报"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnErrRtnOptionSelfCloseInsert(self, pInputOptionSelfClose, pRspInfo)
    OnErrRtnOptionSelfCloseInsert = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnErrRtnOptionSelfCloseInsert)

    def OnErrRtnOptionSelfCloseAction(self, pOptionSelfCloseAction: "CThostFtdcOptionSelfCloseActionField", pRspInfo: "CThostFtdcRspInfoField") -> "void":
        r"""期权自对冲操作错误回报"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnErrRtnOptionSelfCloseAction(self, pOptionSelfCloseAction, pRspInfo)
    OnErrRtnOptionSelfCloseAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnErrRtnOptionSelfCloseAction)

    def OnRtnCombAction(self, pCombAction: "CThostFtdcCombActionField") -> "void":
        r"""申请组合通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnCombAction(self, pCombAction)
    OnRtnCombAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnCombAction)

    def OnErrRtnCombActionInsert(self, pInputCombAction: "CThostFtdcInputCombActionField", pRspInfo: "CThostFtdcRspInfoField") -> "void":
        r"""申请组合录入错误回报"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnErrRtnCombActionInsert(self, pInputCombAction, pRspInfo)
    OnErrRtnCombActionInsert = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnErrRtnCombActionInsert)

    def OnRspQryContractBank(self, pContractBank: "CThostFtdcContractBankField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询签约银行响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryContractBank(self, pContractBank, pRspInfo, nRequestID, bIsLast)
    OnRspQryContractBank = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryContractBank)

    def OnRspQryParkedOrder(self, pParkedOrder: "CThostFtdcParkedOrderField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询预埋单响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryParkedOrder(self, pParkedOrder, pRspInfo, nRequestID, bIsLast)
    OnRspQryParkedOrder = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryParkedOrder)

    def OnRspQryParkedOrderAction(self, pParkedOrderAction: "CThostFtdcParkedOrderActionField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询预埋撤单响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryParkedOrderAction(self, pParkedOrderAction, pRspInfo, nRequestID, bIsLast)
    OnRspQryParkedOrderAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryParkedOrderAction)

    def OnRspQryTradingNotice(self, pTradingNotice: "CThostFtdcTradingNoticeField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询交易通知响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryTradingNotice(self, pTradingNotice, pRspInfo, nRequestID, bIsLast)
    OnRspQryTradingNotice = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryTradingNotice)

    def OnRspQryBrokerTradingParams(self, pBrokerTradingParams: "CThostFtdcBrokerTradingParamsField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询经纪公司交易参数响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryBrokerTradingParams(self, pBrokerTradingParams, pRspInfo, nRequestID, bIsLast)
    OnRspQryBrokerTradingParams = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryBrokerTradingParams)

    def OnRspQryBrokerTradingAlgos(self, pBrokerTradingAlgos: "CThostFtdcBrokerTradingAlgosField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询经纪公司交易算法响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryBrokerTradingAlgos(self, pBrokerTradingAlgos, pRspInfo, nRequestID, bIsLast)
    OnRspQryBrokerTradingAlgos = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryBrokerTradingAlgos)

    def OnRspQueryCFMMCTradingAccountToken(self, pQueryCFMMCTradingAccountToken: "CThostFtdcQueryCFMMCTradingAccountTokenField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询监控中心用户令牌"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQueryCFMMCTradingAccountToken(self, pQueryCFMMCTradingAccountToken, pRspInfo, nRequestID, bIsLast)
    OnRspQueryCFMMCTradingAccountToken = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQueryCFMMCTradingAccountToken)

    def OnRtnFromBankToFutureByBank(self, pRspTransfer: "CThostFtdcRspTransferField") -> "void":
        r"""银行发起银行资金转期货通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnFromBankToFutureByBank(self, pRspTransfer)
    OnRtnFromBankToFutureByBank = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnFromBankToFutureByBank)

    def OnRtnFromFutureToBankByBank(self, pRspTransfer: "CThostFtdcRspTransferField") -> "void":
        r"""银行发起期货资金转银行通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnFromFutureToBankByBank(self, pRspTransfer)
    OnRtnFromFutureToBankByBank = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnFromFutureToBankByBank)

    def OnRtnRepealFromBankToFutureByBank(self, pRspRepeal: "CThostFtdcRspRepealField") -> "void":
        r"""银行发起冲正银行转期货通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnRepealFromBankToFutureByBank(self, pRspRepeal)
    OnRtnRepealFromBankToFutureByBank = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnRepealFromBankToFutureByBank)

    def OnRtnRepealFromFutureToBankByBank(self, pRspRepeal: "CThostFtdcRspRepealField") -> "void":
        r"""银行发起冲正期货转银行通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnRepealFromFutureToBankByBank(self, pRspRepeal)
    OnRtnRepealFromFutureToBankByBank = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnRepealFromFutureToBankByBank)

    def OnRtnFromBankToFutureByFuture(self, pRspTransfer: "CThostFtdcRspTransferField") -> "void":
        r"""期货发起银行资金转期货通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnFromBankToFutureByFuture(self, pRspTransfer)
    OnRtnFromBankToFutureByFuture = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnFromBankToFutureByFuture)

    def OnRtnFromFutureToBankByFuture(self, pRspTransfer: "CThostFtdcRspTransferField") -> "void":
        r"""期货发起期货资金转银行通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnFromFutureToBankByFuture(self, pRspTransfer)
    OnRtnFromFutureToBankByFuture = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnFromFutureToBankByFuture)

    def OnRtnRepealFromBankToFutureByFutureManual(self, pRspRepeal: "CThostFtdcRspRepealField") -> "void":
        r"""系统运行时期货端手工发起冲正银行转期货请求，银行处理完毕后报盘发回的通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnRepealFromBankToFutureByFutureManual(self, pRspRepeal)
    OnRtnRepealFromBankToFutureByFutureManual = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnRepealFromBankToFutureByFutureManual)

    def OnRtnRepealFromFutureToBankByFutureManual(self, pRspRepeal: "CThostFtdcRspRepealField") -> "void":
        r"""系统运行时期货端手工发起冲正期货转银行请求，银行处理完毕后报盘发回的通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnRepealFromFutureToBankByFutureManual(self, pRspRepeal)
    OnRtnRepealFromFutureToBankByFutureManual = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnRepealFromFutureToBankByFutureManual)

    def OnRtnQueryBankBalanceByFuture(self, pNotifyQueryAccount: "CThostFtdcNotifyQueryAccountField") -> "void":
        r"""期货发起查询银行余额通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnQueryBankBalanceByFuture(self, pNotifyQueryAccount)
    OnRtnQueryBankBalanceByFuture = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnQueryBankBalanceByFuture)

    def OnErrRtnBankToFutureByFuture(self, pReqTransfer: "CThostFtdcReqTransferField", pRspInfo: "CThostFtdcRspInfoField") -> "void":
        r"""期货发起银行资金转期货错误回报"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnErrRtnBankToFutureByFuture(self, pReqTransfer, pRspInfo)
    OnErrRtnBankToFutureByFuture = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnErrRtnBankToFutureByFuture)

    def OnErrRtnFutureToBankByFuture(self, pReqTransfer: "CThostFtdcReqTransferField", pRspInfo: "CThostFtdcRspInfoField") -> "void":
        r"""期货发起期货资金转银行错误回报"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnErrRtnFutureToBankByFuture(self, pReqTransfer, pRspInfo)
    OnErrRtnFutureToBankByFuture = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnErrRtnFutureToBankByFuture)

    def OnErrRtnRepealBankToFutureByFutureManual(self, pReqRepeal: "CThostFtdcReqRepealField", pRspInfo: "CThostFtdcRspInfoField") -> "void":
        r"""系统运行时期货端手工发起冲正银行转期货错误回报"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnErrRtnRepealBankToFutureByFutureManual(self, pReqRepeal, pRspInfo)
    OnErrRtnRepealBankToFutureByFutureManual = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnErrRtnRepealBankToFutureByFutureManual)

    def OnErrRtnRepealFutureToBankByFutureManual(self, pReqRepeal: "CThostFtdcReqRepealField", pRspInfo: "CThostFtdcRspInfoField") -> "void":
        r"""系统运行时期货端手工发起冲正期货转银行错误回报"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnErrRtnRepealFutureToBankByFutureManual(self, pReqRepeal, pRspInfo)
    OnErrRtnRepealFutureToBankByFutureManual = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnErrRtnRepealFutureToBankByFutureManual)

    def OnErrRtnQueryBankBalanceByFuture(self, pReqQueryAccount: "CThostFtdcReqQueryAccountField", pRspInfo: "CThostFtdcRspInfoField") -> "void":
        r"""期货发起查询银行余额错误回报"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnErrRtnQueryBankBalanceByFuture(self, pReqQueryAccount, pRspInfo)
    OnErrRtnQueryBankBalanceByFuture = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnErrRtnQueryBankBalanceByFuture)

    def OnRtnRepealFromBankToFutureByFuture(self, pRspRepeal: "CThostFtdcRspRepealField") -> "void":
        r"""期货发起冲正银行转期货请求，银行处理完毕后报盘发回的通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnRepealFromBankToFutureByFuture(self, pRspRepeal)
    OnRtnRepealFromBankToFutureByFuture = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnRepealFromBankToFutureByFuture)

    def OnRtnRepealFromFutureToBankByFuture(self, pRspRepeal: "CThostFtdcRspRepealField") -> "void":
        r"""期货发起冲正期货转银行请求，银行处理完毕后报盘发回的通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnRepealFromFutureToBankByFuture(self, pRspRepeal)
    OnRtnRepealFromFutureToBankByFuture = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnRepealFromFutureToBankByFuture)

    def OnRspFromBankToFutureByFuture(self, pReqTransfer: "CThostFtdcReqTransferField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""期货发起银行资金转期货应答"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspFromBankToFutureByFuture(self, pReqTransfer, pRspInfo, nRequestID, bIsLast)
    OnRspFromBankToFutureByFuture = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspFromBankToFutureByFuture)

    def OnRspFromFutureToBankByFuture(self, pReqTransfer: "CThostFtdcReqTransferField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""期货发起期货资金转银行应答"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspFromFutureToBankByFuture(self, pReqTransfer, pRspInfo, nRequestID, bIsLast)
    OnRspFromFutureToBankByFuture = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspFromFutureToBankByFuture)

    def OnRspQueryBankAccountMoneyByFuture(self, pReqQueryAccount: "CThostFtdcReqQueryAccountField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""期货发起查询银行余额应答"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQueryBankAccountMoneyByFuture(self, pReqQueryAccount, pRspInfo, nRequestID, bIsLast)
    OnRspQueryBankAccountMoneyByFuture = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQueryBankAccountMoneyByFuture)

    def OnRtnOpenAccountByBank(self, pOpenAccount: "CThostFtdcOpenAccountField") -> "void":
        r"""银行发起银期开户通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnOpenAccountByBank(self, pOpenAccount)
    OnRtnOpenAccountByBank = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnOpenAccountByBank)

    def OnRtnCancelAccountByBank(self, pCancelAccount: "CThostFtdcCancelAccountField") -> "void":
        r"""银行发起银期销户通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnCancelAccountByBank(self, pCancelAccount)
    OnRtnCancelAccountByBank = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnCancelAccountByBank)

    def OnRtnChangeAccountByBank(self, pChangeAccount: "CThostFtdcChangeAccountField") -> "void":
        r"""银行发起变更银行账号通知"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRtnChangeAccountByBank(self, pChangeAccount)
    OnRtnChangeAccountByBank = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRtnChangeAccountByBank)

    def OnRspQryClassifiedInstrument(self, pInstrument: "CThostFtdcInstrumentField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求查询分类合约响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryClassifiedInstrument(self, pInstrument, pRspInfo, nRequestID, bIsLast)
    OnRspQryClassifiedInstrument = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryClassifiedInstrument)

    def OnRspQryCombPromotionParam(self, pCombPromotionParam: "CThostFtdcCombPromotionParamField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""请求组合优惠比例响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryCombPromotionParam(self, pCombPromotionParam, pRspInfo, nRequestID, bIsLast)
    OnRspQryCombPromotionParam = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryCombPromotionParam)

    def OnRspQryRiskSettleInvstPosition(self, pRiskSettleInvstPosition: "CThostFtdcRiskSettleInvstPositionField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""投资者风险结算持仓查询响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryRiskSettleInvstPosition(self, pRiskSettleInvstPosition, pRspInfo, nRequestID, bIsLast)
    OnRspQryRiskSettleInvstPosition = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryRiskSettleInvstPosition)

    def OnRspQryRiskSettleProductStatus(self, pRiskSettleProductStatus: "CThostFtdcRiskSettleProductStatusField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""风险结算产品查询响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryRiskSettleProductStatus(self, pRiskSettleProductStatus, pRspInfo, nRequestID, bIsLast)
    OnRspQryRiskSettleProductStatus = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryRiskSettleProductStatus)

    def OnRspQrySPBMFutureParameter(self, pSPBMFutureParameter: "CThostFtdcSPBMFutureParameterField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""SPBM期货合约参数查询响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQrySPBMFutureParameter(self, pSPBMFutureParameter, pRspInfo, nRequestID, bIsLast)
    OnRspQrySPBMFutureParameter = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQrySPBMFutureParameter)

    def OnRspQrySPBMOptionParameter(self, pSPBMOptionParameter: "CThostFtdcSPBMOptionParameterField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""SPBM期权合约参数查询响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQrySPBMOptionParameter(self, pSPBMOptionParameter, pRspInfo, nRequestID, bIsLast)
    OnRspQrySPBMOptionParameter = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQrySPBMOptionParameter)

    def OnRspQrySPBMIntraParameter(self, pSPBMIntraParameter: "CThostFtdcSPBMIntraParameterField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""SPBM品种内对锁仓折扣参数查询响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQrySPBMIntraParameter(self, pSPBMIntraParameter, pRspInfo, nRequestID, bIsLast)
    OnRspQrySPBMIntraParameter = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQrySPBMIntraParameter)

    def OnRspQrySPBMInterParameter(self, pSPBMInterParameter: "CThostFtdcSPBMInterParameterField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""SPBM跨品种抵扣参数查询响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQrySPBMInterParameter(self, pSPBMInterParameter, pRspInfo, nRequestID, bIsLast)
    OnRspQrySPBMInterParameter = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQrySPBMInterParameter)

    def OnRspQrySPBMPortfDefinition(self, pSPBMPortfDefinition: "CThostFtdcSPBMPortfDefinitionField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""SPBM组合保证金套餐查询响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQrySPBMPortfDefinition(self, pSPBMPortfDefinition, pRspInfo, nRequestID, bIsLast)
    OnRspQrySPBMPortfDefinition = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQrySPBMPortfDefinition)

    def OnRspQrySPBMInvestorPortfDef(self, pSPBMInvestorPortfDef: "CThostFtdcSPBMInvestorPortfDefField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""投资者SPBM套餐选择查询响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQrySPBMInvestorPortfDef(self, pSPBMInvestorPortfDef, pRspInfo, nRequestID, bIsLast)
    OnRspQrySPBMInvestorPortfDef = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQrySPBMInvestorPortfDef)

    def OnRspQryInvestorPortfMarginRatio(self, pInvestorPortfMarginRatio: "CThostFtdcInvestorPortfMarginRatioField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""投资者新型组合保证金系数查询响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryInvestorPortfMarginRatio(self, pInvestorPortfMarginRatio, pRspInfo, nRequestID, bIsLast)
    OnRspQryInvestorPortfMarginRatio = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryInvestorPortfMarginRatio)

    def OnRspQryInvestorProdSPBMDetail(self, pInvestorProdSPBMDetail: "CThostFtdcInvestorProdSPBMDetailField", pRspInfo: "CThostFtdcRspInfoField", nRequestID: "int", bIsLast: "bool") -> "void":
        r"""投资者产品SPBM明细查询响应"""
        return _thosttraderapi.CThostFtdcTraderSpi_OnRspQryInvestorProdSPBMDetail(self, pInvestorProdSPBMDetail, pRspInfo, nRequestID, bIsLast)
    OnRspQryInvestorProdSPBMDetail = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderSpi_OnRspQryInvestorProdSPBMDetail)

    def __init__(self):
        if self.__class__ == CThostFtdcTraderSpi:
            _self = None
        else:
            _self = self
        _thosttraderapi.CThostFtdcTraderSpi_swiginit(self, _thosttraderapi.new_CThostFtdcTraderSpi(_self, ))
    __swig_destroy__ = _thosttraderapi.delete_CThostFtdcTraderSpi
    def __disown__(self):
        self.this.disown()
        _thosttraderapi.disown_CThostFtdcTraderSpi(self)
        return weakref.proxy(self)

# Register CThostFtdcTraderSpi in _thosttraderapi:
_thosttraderapi.CThostFtdcTraderSpi_swigregister(CThostFtdcTraderSpi)
class CThostFtdcTraderApi(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    @staticmethod
    def CreateFtdcTraderApi(*args) -> "CThostFtdcTraderApi *":
        r"""
        创建TraderApi
        :type pszFlowPath: string, optional
        :param pszFlowPath: 存贮订阅信息文件的目录，默认为当前目录
        :rtype: :py:class:`CThostFtdcTraderApi`
        :return: 创建出的UserApi
        """
        return _thosttraderapi.CThostFtdcTraderApi_CreateFtdcTraderApi(*args)
    CreateFtdcTraderApi = _swig_new_static_method(_thosttraderapi.CThostFtdcTraderApi_CreateFtdcTraderApi)

    @staticmethod
    def GetApiVersion() -> "char const *":
        r"""
        获取API的版本信息
        :rtype: string
        :return: 获取到的版本号
        """
        return _thosttraderapi.CThostFtdcTraderApi_GetApiVersion()
    GetApiVersion = _swig_new_static_method(_thosttraderapi.CThostFtdcTraderApi_GetApiVersion)

    def Release(self) -> "void":
        r"""
        删除接口对象本身
        Remarks: 不再使用本接口对象时,调用该函数删除接口对象
        """
        return _thosttraderapi.CThostFtdcTraderApi_Release(self)
    Release = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_Release)

    def Init(self) -> "void":
        r"""
        初始化
        Remarks: 初始化运行环境,只有调用后,接口才开始工作
        """
        return _thosttraderapi.CThostFtdcTraderApi_Init(self)
    Init = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_Init)

    def Join(self) -> "int":
        r"""
        等待接口线程结束运行
        :rtype: int
        :return: 线程退出代码
        """
        return _thosttraderapi.CThostFtdcTraderApi_Join(self)
    Join = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_Join)

    def GetTradingDay(self) -> "char const *":
        r"""
        获取当前交易日
        :rtype: string
        :return: 获取到的交易日
        Remarks: 只有登录成功后,才能得到正确的交易日
        """
        return _thosttraderapi.CThostFtdcTraderApi_GetTradingDay(self)
    GetTradingDay = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_GetTradingDay)

    def RegisterFront(self, pszFrontAddress: "char *") -> "void":
        r"""
        注册前置机网络地址
        :param pszFrontAddress：前置机网络地址。:
        Remarks: 网络地址的格式为：“protocol://ipaddress:port”，如：”tcp://127.0.0.1:17001”。
        “tcp”代表传输协议，“127.0.0.1”代表服务器地址。”17001”代表服务器端口号。
        """
        return _thosttraderapi.CThostFtdcTraderApi_RegisterFront(self, pszFrontAddress)
    RegisterFront = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_RegisterFront)

    def RegisterNameServer(self, pszNsAddress: "char *") -> "void":
        r"""
        注册名字服务器网络地址
        :param pszNsAddress：名字服务器网络地址。:
        Remarks: 网络地址的格式为：“protocol://ipaddress:port”，如：”tcp://127.0.0.1:12001”。
        “tcp”代表传输协议，“127.0.0.1”代表服务器地址。”12001”代表服务器端口号。
        RegisterNameServer优先于RegisterFront
        """
        return _thosttraderapi.CThostFtdcTraderApi_RegisterNameServer(self, pszNsAddress)
    RegisterNameServer = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_RegisterNameServer)

    def RegisterFensUserInfo(self, pFensUserInfo: "CThostFtdcFensUserInfoField") -> "void":
        r"""
        注册名字服务器用户信息
        :param pFensUserInfo：用户信息。:
        """
        return _thosttraderapi.CThostFtdcTraderApi_RegisterFensUserInfo(self, pFensUserInfo)
    RegisterFensUserInfo = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_RegisterFensUserInfo)

    def RegisterSpi(self, pSpi: "CThostFtdcTraderSpi") -> "void":
        r"""
        注册回调接口
        :type pSpi: :py:class:`CThostFtdcTraderSpi`
        :param pSpi: 派生自回调接口类的实例
        """
        return _thosttraderapi.CThostFtdcTraderApi_RegisterSpi(self, pSpi)
    RegisterSpi = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_RegisterSpi)

    def SubscribePrivateTopic(self, nResumeType: "THOST_TE_RESUME_TYPE") -> "void":
        r"""
        订阅私有流。
        :type nResumeType: int
        :param nResumeType: 私有流重传方式
                    THOST_TERT_RESTART:从本交易日开始重传
                    THOST_TERT_RESUME:从上次收到的续传
                    THOST_TERT_QUICK:只传送登录后私有流的内容
        Remarks: 该方法要在Init方法前调用。若不调用则不会收到私有流的数据。
        """
        return _thosttraderapi.CThostFtdcTraderApi_SubscribePrivateTopic(self, nResumeType)
    SubscribePrivateTopic = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_SubscribePrivateTopic)

    def SubscribePublicTopic(self, nResumeType: "THOST_TE_RESUME_TYPE") -> "void":
        r"""
        订阅公共流。
        :type nResumeType: int
        :param nResumeType: 公共流重传方式
                    THOST_TERT_RESTART:从本交易日开始重传
                    THOST_TERT_RESUME:从上次收到的续传
                    THOST_TERT_QUICK:只传送登录后公共流的内容
                    THOST_TERT_NONE:取消订阅公共流
        Remarks: 该方法要在Init方法前调用。若不调用则不会收到公共流的数据。
        """
        return _thosttraderapi.CThostFtdcTraderApi_SubscribePublicTopic(self, nResumeType)
    SubscribePublicTopic = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_SubscribePublicTopic)

    def ReqAuthenticate(self, pReqAuthenticateField: "CThostFtdcReqAuthenticateField", nRequestID: "int") -> "int":
        r"""客户端认证请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqAuthenticate(self, pReqAuthenticateField, nRequestID)
    ReqAuthenticate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqAuthenticate)

    def RegisterUserSystemInfo(self, pUserSystemInfo: "CThostFtdcUserSystemInfoField") -> "int":
        r"""
        注册用户终端信息，用于中继服务器多连接模式
        需要在终端认证成功后，用户登录前调用该接口
        """
        return _thosttraderapi.CThostFtdcTraderApi_RegisterUserSystemInfo(self, pUserSystemInfo)
    RegisterUserSystemInfo = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_RegisterUserSystemInfo)

    def SubmitUserSystemInfo(self, pUserSystemInfo: "CThostFtdcUserSystemInfoField") -> "int":
        r"""
        上报用户终端信息，用于中继服务器操作员登录模式
        操作员登录后，可以多次调用该接口上报客户信息
        """
        return _thosttraderapi.CThostFtdcTraderApi_SubmitUserSystemInfo(self, pUserSystemInfo)
    SubmitUserSystemInfo = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_SubmitUserSystemInfo)

    def ReqUserLogin(self, pReqUserLoginField: "CThostFtdcReqUserLoginField", nRequestID: "int") -> "int":
        r"""用户登录请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqUserLogin(self, pReqUserLoginField, nRequestID)
    ReqUserLogin = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqUserLogin)

    def ReqUserLogout(self, pUserLogout: "CThostFtdcUserLogoutField", nRequestID: "int") -> "int":
        r"""登出请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqUserLogout(self, pUserLogout, nRequestID)
    ReqUserLogout = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqUserLogout)

    def ReqUserPasswordUpdate(self, pUserPasswordUpdate: "CThostFtdcUserPasswordUpdateField", nRequestID: "int") -> "int":
        r"""用户口令更新请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqUserPasswordUpdate(self, pUserPasswordUpdate, nRequestID)
    ReqUserPasswordUpdate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqUserPasswordUpdate)

    def ReqTradingAccountPasswordUpdate(self, pTradingAccountPasswordUpdate: "CThostFtdcTradingAccountPasswordUpdateField", nRequestID: "int") -> "int":
        r"""资金账户口令更新请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqTradingAccountPasswordUpdate(self, pTradingAccountPasswordUpdate, nRequestID)
    ReqTradingAccountPasswordUpdate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqTradingAccountPasswordUpdate)

    def ReqUserAuthMethod(self, pReqUserAuthMethod: "CThostFtdcReqUserAuthMethodField", nRequestID: "int") -> "int":
        r"""查询用户当前支持的认证模式"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqUserAuthMethod(self, pReqUserAuthMethod, nRequestID)
    ReqUserAuthMethod = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqUserAuthMethod)

    def ReqGenUserCaptcha(self, pReqGenUserCaptcha: "CThostFtdcReqGenUserCaptchaField", nRequestID: "int") -> "int":
        r"""用户发出获取图形验证码请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqGenUserCaptcha(self, pReqGenUserCaptcha, nRequestID)
    ReqGenUserCaptcha = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqGenUserCaptcha)

    def ReqGenUserText(self, pReqGenUserText: "CThostFtdcReqGenUserTextField", nRequestID: "int") -> "int":
        r"""用户发出获取短信验证码请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqGenUserText(self, pReqGenUserText, nRequestID)
    ReqGenUserText = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqGenUserText)

    def ReqUserLoginWithCaptcha(self, pReqUserLoginWithCaptcha: "CThostFtdcReqUserLoginWithCaptchaField", nRequestID: "int") -> "int":
        r"""用户发出带有图片验证码的登陆请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqUserLoginWithCaptcha(self, pReqUserLoginWithCaptcha, nRequestID)
    ReqUserLoginWithCaptcha = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqUserLoginWithCaptcha)

    def ReqUserLoginWithText(self, pReqUserLoginWithText: "CThostFtdcReqUserLoginWithTextField", nRequestID: "int") -> "int":
        r"""用户发出带有短信验证码的登陆请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqUserLoginWithText(self, pReqUserLoginWithText, nRequestID)
    ReqUserLoginWithText = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqUserLoginWithText)

    def ReqUserLoginWithOTP(self, pReqUserLoginWithOTP: "CThostFtdcReqUserLoginWithOTPField", nRequestID: "int") -> "int":
        r"""用户发出带有动态口令的登陆请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqUserLoginWithOTP(self, pReqUserLoginWithOTP, nRequestID)
    ReqUserLoginWithOTP = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqUserLoginWithOTP)

    def ReqOrderInsert(self, pInputOrder: "CThostFtdcInputOrderField", nRequestID: "int") -> "int":
        r"""报单录入请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqOrderInsert(self, pInputOrder, nRequestID)
    ReqOrderInsert = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqOrderInsert)

    def ReqParkedOrderInsert(self, pParkedOrder: "CThostFtdcParkedOrderField", nRequestID: "int") -> "int":
        r"""预埋单录入请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqParkedOrderInsert(self, pParkedOrder, nRequestID)
    ReqParkedOrderInsert = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqParkedOrderInsert)

    def ReqParkedOrderAction(self, pParkedOrderAction: "CThostFtdcParkedOrderActionField", nRequestID: "int") -> "int":
        r"""预埋撤单录入请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqParkedOrderAction(self, pParkedOrderAction, nRequestID)
    ReqParkedOrderAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqParkedOrderAction)

    def ReqOrderAction(self, pInputOrderAction: "CThostFtdcInputOrderActionField", nRequestID: "int") -> "int":
        r"""报单操作请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqOrderAction(self, pInputOrderAction, nRequestID)
    ReqOrderAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqOrderAction)

    def ReqQryMaxOrderVolume(self, pQryMaxOrderVolume: "CThostFtdcQryMaxOrderVolumeField", nRequestID: "int") -> "int":
        r"""查询最大报单数量请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryMaxOrderVolume(self, pQryMaxOrderVolume, nRequestID)
    ReqQryMaxOrderVolume = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryMaxOrderVolume)

    def ReqSettlementInfoConfirm(self, pSettlementInfoConfirm: "CThostFtdcSettlementInfoConfirmField", nRequestID: "int") -> "int":
        r"""投资者结算结果确认"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqSettlementInfoConfirm(self, pSettlementInfoConfirm, nRequestID)
    ReqSettlementInfoConfirm = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqSettlementInfoConfirm)

    def ReqRemoveParkedOrder(self, pRemoveParkedOrder: "CThostFtdcRemoveParkedOrderField", nRequestID: "int") -> "int":
        r"""请求删除预埋单"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqRemoveParkedOrder(self, pRemoveParkedOrder, nRequestID)
    ReqRemoveParkedOrder = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqRemoveParkedOrder)

    def ReqRemoveParkedOrderAction(self, pRemoveParkedOrderAction: "CThostFtdcRemoveParkedOrderActionField", nRequestID: "int") -> "int":
        r"""请求删除预埋撤单"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqRemoveParkedOrderAction(self, pRemoveParkedOrderAction, nRequestID)
    ReqRemoveParkedOrderAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqRemoveParkedOrderAction)

    def ReqExecOrderInsert(self, pInputExecOrder: "CThostFtdcInputExecOrderField", nRequestID: "int") -> "int":
        r"""执行宣告录入请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqExecOrderInsert(self, pInputExecOrder, nRequestID)
    ReqExecOrderInsert = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqExecOrderInsert)

    def ReqExecOrderAction(self, pInputExecOrderAction: "CThostFtdcInputExecOrderActionField", nRequestID: "int") -> "int":
        r"""执行宣告操作请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqExecOrderAction(self, pInputExecOrderAction, nRequestID)
    ReqExecOrderAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqExecOrderAction)

    def ReqForQuoteInsert(self, pInputForQuote: "CThostFtdcInputForQuoteField", nRequestID: "int") -> "int":
        r"""询价录入请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqForQuoteInsert(self, pInputForQuote, nRequestID)
    ReqForQuoteInsert = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqForQuoteInsert)

    def ReqQuoteInsert(self, pInputQuote: "CThostFtdcInputQuoteField", nRequestID: "int") -> "int":
        r"""报价录入请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQuoteInsert(self, pInputQuote, nRequestID)
    ReqQuoteInsert = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQuoteInsert)

    def ReqQuoteAction(self, pInputQuoteAction: "CThostFtdcInputQuoteActionField", nRequestID: "int") -> "int":
        r"""报价操作请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQuoteAction(self, pInputQuoteAction, nRequestID)
    ReqQuoteAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQuoteAction)

    def ReqBatchOrderAction(self, pInputBatchOrderAction: "CThostFtdcInputBatchOrderActionField", nRequestID: "int") -> "int":
        r"""批量报单操作请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqBatchOrderAction(self, pInputBatchOrderAction, nRequestID)
    ReqBatchOrderAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqBatchOrderAction)

    def ReqOptionSelfCloseInsert(self, pInputOptionSelfClose: "CThostFtdcInputOptionSelfCloseField", nRequestID: "int") -> "int":
        r"""期权自对冲录入请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqOptionSelfCloseInsert(self, pInputOptionSelfClose, nRequestID)
    ReqOptionSelfCloseInsert = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqOptionSelfCloseInsert)

    def ReqOptionSelfCloseAction(self, pInputOptionSelfCloseAction: "CThostFtdcInputOptionSelfCloseActionField", nRequestID: "int") -> "int":
        r"""期权自对冲操作请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqOptionSelfCloseAction(self, pInputOptionSelfCloseAction, nRequestID)
    ReqOptionSelfCloseAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqOptionSelfCloseAction)

    def ReqCombActionInsert(self, pInputCombAction: "CThostFtdcInputCombActionField", nRequestID: "int") -> "int":
        r"""申请组合录入请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqCombActionInsert(self, pInputCombAction, nRequestID)
    ReqCombActionInsert = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqCombActionInsert)

    def ReqQryOrder(self, pQryOrder: "CThostFtdcQryOrderField", nRequestID: "int") -> "int":
        r"""请求查询报单"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryOrder(self, pQryOrder, nRequestID)
    ReqQryOrder = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryOrder)

    def ReqQryTrade(self, pQryTrade: "CThostFtdcQryTradeField", nRequestID: "int") -> "int":
        r"""请求查询成交"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryTrade(self, pQryTrade, nRequestID)
    ReqQryTrade = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryTrade)

    def ReqQryInvestorPosition(self, pQryInvestorPosition: "CThostFtdcQryInvestorPositionField", nRequestID: "int") -> "int":
        r"""请求查询投资者持仓"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryInvestorPosition(self, pQryInvestorPosition, nRequestID)
    ReqQryInvestorPosition = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryInvestorPosition)

    def ReqQryTradingAccount(self, pQryTradingAccount: "CThostFtdcQryTradingAccountField", nRequestID: "int") -> "int":
        r"""请求查询资金账户"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryTradingAccount(self, pQryTradingAccount, nRequestID)
    ReqQryTradingAccount = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryTradingAccount)

    def ReqQryInvestor(self, pQryInvestor: "CThostFtdcQryInvestorField", nRequestID: "int") -> "int":
        r"""请求查询投资者"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryInvestor(self, pQryInvestor, nRequestID)
    ReqQryInvestor = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryInvestor)

    def ReqQryTradingCode(self, pQryTradingCode: "CThostFtdcQryTradingCodeField", nRequestID: "int") -> "int":
        r"""请求查询交易编码"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryTradingCode(self, pQryTradingCode, nRequestID)
    ReqQryTradingCode = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryTradingCode)

    def ReqQryInstrumentMarginRate(self, pQryInstrumentMarginRate: "CThostFtdcQryInstrumentMarginRateField", nRequestID: "int") -> "int":
        r"""请求查询合约保证金率"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryInstrumentMarginRate(self, pQryInstrumentMarginRate, nRequestID)
    ReqQryInstrumentMarginRate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryInstrumentMarginRate)

    def ReqQryInstrumentCommissionRate(self, pQryInstrumentCommissionRate: "CThostFtdcQryInstrumentCommissionRateField", nRequestID: "int") -> "int":
        r"""请求查询合约手续费率"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryInstrumentCommissionRate(self, pQryInstrumentCommissionRate, nRequestID)
    ReqQryInstrumentCommissionRate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryInstrumentCommissionRate)

    def ReqQryExchange(self, pQryExchange: "CThostFtdcQryExchangeField", nRequestID: "int") -> "int":
        r"""请求查询交易所"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryExchange(self, pQryExchange, nRequestID)
    ReqQryExchange = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryExchange)

    def ReqQryProduct(self, pQryProduct: "CThostFtdcQryProductField", nRequestID: "int") -> "int":
        r"""请求查询产品"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryProduct(self, pQryProduct, nRequestID)
    ReqQryProduct = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryProduct)

    def ReqQryInstrument(self, pQryInstrument: "CThostFtdcQryInstrumentField", nRequestID: "int") -> "int":
        r"""请求查询合约"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryInstrument(self, pQryInstrument, nRequestID)
    ReqQryInstrument = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryInstrument)

    def ReqQryDepthMarketData(self, pQryDepthMarketData: "CThostFtdcQryDepthMarketDataField", nRequestID: "int") -> "int":
        r"""请求查询行情"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryDepthMarketData(self, pQryDepthMarketData, nRequestID)
    ReqQryDepthMarketData = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryDepthMarketData)

    def ReqQryTraderOffer(self, pQryTraderOffer: "CThostFtdcQryTraderOfferField", nRequestID: "int") -> "int":
        r"""请求查询交易员报盘机"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryTraderOffer(self, pQryTraderOffer, nRequestID)
    ReqQryTraderOffer = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryTraderOffer)

    def ReqQrySettlementInfo(self, pQrySettlementInfo: "CThostFtdcQrySettlementInfoField", nRequestID: "int") -> "int":
        r"""请求查询投资者结算结果"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQrySettlementInfo(self, pQrySettlementInfo, nRequestID)
    ReqQrySettlementInfo = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQrySettlementInfo)

    def ReqQryTransferBank(self, pQryTransferBank: "CThostFtdcQryTransferBankField", nRequestID: "int") -> "int":
        r"""请求查询转帐银行"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryTransferBank(self, pQryTransferBank, nRequestID)
    ReqQryTransferBank = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryTransferBank)

    def ReqQryInvestorPositionDetail(self, pQryInvestorPositionDetail: "CThostFtdcQryInvestorPositionDetailField", nRequestID: "int") -> "int":
        r"""请求查询投资者持仓明细"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryInvestorPositionDetail(self, pQryInvestorPositionDetail, nRequestID)
    ReqQryInvestorPositionDetail = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryInvestorPositionDetail)

    def ReqQryNotice(self, pQryNotice: "CThostFtdcQryNoticeField", nRequestID: "int") -> "int":
        r"""请求查询客户通知"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryNotice(self, pQryNotice, nRequestID)
    ReqQryNotice = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryNotice)

    def ReqQrySettlementInfoConfirm(self, pQrySettlementInfoConfirm: "CThostFtdcQrySettlementInfoConfirmField", nRequestID: "int") -> "int":
        r"""请求查询结算信息确认"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQrySettlementInfoConfirm(self, pQrySettlementInfoConfirm, nRequestID)
    ReqQrySettlementInfoConfirm = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQrySettlementInfoConfirm)

    def ReqQryInvestorPositionCombineDetail(self, pQryInvestorPositionCombineDetail: "CThostFtdcQryInvestorPositionCombineDetailField", nRequestID: "int") -> "int":
        r"""请求查询投资者持仓明细"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryInvestorPositionCombineDetail(self, pQryInvestorPositionCombineDetail, nRequestID)
    ReqQryInvestorPositionCombineDetail = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryInvestorPositionCombineDetail)

    def ReqQryCFMMCTradingAccountKey(self, pQryCFMMCTradingAccountKey: "CThostFtdcQryCFMMCTradingAccountKeyField", nRequestID: "int") -> "int":
        r"""请求查询保证金监管系统经纪公司资金账户密钥"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryCFMMCTradingAccountKey(self, pQryCFMMCTradingAccountKey, nRequestID)
    ReqQryCFMMCTradingAccountKey = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryCFMMCTradingAccountKey)

    def ReqQryEWarrantOffset(self, pQryEWarrantOffset: "CThostFtdcQryEWarrantOffsetField", nRequestID: "int") -> "int":
        r"""请求查询仓单折抵信息"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryEWarrantOffset(self, pQryEWarrantOffset, nRequestID)
    ReqQryEWarrantOffset = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryEWarrantOffset)

    def ReqQryInvestorProductGroupMargin(self, pQryInvestorProductGroupMargin: "CThostFtdcQryInvestorProductGroupMarginField", nRequestID: "int") -> "int":
        r"""请求查询投资者品种/跨品种保证金"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryInvestorProductGroupMargin(self, pQryInvestorProductGroupMargin, nRequestID)
    ReqQryInvestorProductGroupMargin = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryInvestorProductGroupMargin)

    def ReqQryExchangeMarginRate(self, pQryExchangeMarginRate: "CThostFtdcQryExchangeMarginRateField", nRequestID: "int") -> "int":
        r"""请求查询交易所保证金率"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryExchangeMarginRate(self, pQryExchangeMarginRate, nRequestID)
    ReqQryExchangeMarginRate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryExchangeMarginRate)

    def ReqQryExchangeMarginRateAdjust(self, pQryExchangeMarginRateAdjust: "CThostFtdcQryExchangeMarginRateAdjustField", nRequestID: "int") -> "int":
        r"""请求查询交易所调整保证金率"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryExchangeMarginRateAdjust(self, pQryExchangeMarginRateAdjust, nRequestID)
    ReqQryExchangeMarginRateAdjust = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryExchangeMarginRateAdjust)

    def ReqQryExchangeRate(self, pQryExchangeRate: "CThostFtdcQryExchangeRateField", nRequestID: "int") -> "int":
        r"""请求查询汇率"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryExchangeRate(self, pQryExchangeRate, nRequestID)
    ReqQryExchangeRate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryExchangeRate)

    def ReqQrySecAgentACIDMap(self, pQrySecAgentACIDMap: "CThostFtdcQrySecAgentACIDMapField", nRequestID: "int") -> "int":
        r"""请求查询二级代理操作员银期权限"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQrySecAgentACIDMap(self, pQrySecAgentACIDMap, nRequestID)
    ReqQrySecAgentACIDMap = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQrySecAgentACIDMap)

    def ReqQryProductExchRate(self, pQryProductExchRate: "CThostFtdcQryProductExchRateField", nRequestID: "int") -> "int":
        r"""请求查询产品报价汇率"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryProductExchRate(self, pQryProductExchRate, nRequestID)
    ReqQryProductExchRate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryProductExchRate)

    def ReqQryProductGroup(self, pQryProductGroup: "CThostFtdcQryProductGroupField", nRequestID: "int") -> "int":
        r"""请求查询产品组"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryProductGroup(self, pQryProductGroup, nRequestID)
    ReqQryProductGroup = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryProductGroup)

    def ReqQryMMInstrumentCommissionRate(self, pQryMMInstrumentCommissionRate: "CThostFtdcQryMMInstrumentCommissionRateField", nRequestID: "int") -> "int":
        r"""请求查询做市商合约手续费率"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryMMInstrumentCommissionRate(self, pQryMMInstrumentCommissionRate, nRequestID)
    ReqQryMMInstrumentCommissionRate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryMMInstrumentCommissionRate)

    def ReqQryMMOptionInstrCommRate(self, pQryMMOptionInstrCommRate: "CThostFtdcQryMMOptionInstrCommRateField", nRequestID: "int") -> "int":
        r"""请求查询做市商期权合约手续费"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryMMOptionInstrCommRate(self, pQryMMOptionInstrCommRate, nRequestID)
    ReqQryMMOptionInstrCommRate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryMMOptionInstrCommRate)

    def ReqQryInstrumentOrderCommRate(self, pQryInstrumentOrderCommRate: "CThostFtdcQryInstrumentOrderCommRateField", nRequestID: "int") -> "int":
        r"""请求查询报单手续费"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryInstrumentOrderCommRate(self, pQryInstrumentOrderCommRate, nRequestID)
    ReqQryInstrumentOrderCommRate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryInstrumentOrderCommRate)

    def ReqQrySecAgentTradingAccount(self, pQryTradingAccount: "CThostFtdcQryTradingAccountField", nRequestID: "int") -> "int":
        r"""请求查询资金账户"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQrySecAgentTradingAccount(self, pQryTradingAccount, nRequestID)
    ReqQrySecAgentTradingAccount = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQrySecAgentTradingAccount)

    def ReqQrySecAgentCheckMode(self, pQrySecAgentCheckMode: "CThostFtdcQrySecAgentCheckModeField", nRequestID: "int") -> "int":
        r"""请求查询二级代理商资金校验模式"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQrySecAgentCheckMode(self, pQrySecAgentCheckMode, nRequestID)
    ReqQrySecAgentCheckMode = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQrySecAgentCheckMode)

    def ReqQrySecAgentTradeInfo(self, pQrySecAgentTradeInfo: "CThostFtdcQrySecAgentTradeInfoField", nRequestID: "int") -> "int":
        r"""请求查询二级代理商信息"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQrySecAgentTradeInfo(self, pQrySecAgentTradeInfo, nRequestID)
    ReqQrySecAgentTradeInfo = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQrySecAgentTradeInfo)

    def ReqQryOptionInstrTradeCost(self, pQryOptionInstrTradeCost: "CThostFtdcQryOptionInstrTradeCostField", nRequestID: "int") -> "int":
        r"""请求查询期权交易成本"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryOptionInstrTradeCost(self, pQryOptionInstrTradeCost, nRequestID)
    ReqQryOptionInstrTradeCost = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryOptionInstrTradeCost)

    def ReqQryOptionInstrCommRate(self, pQryOptionInstrCommRate: "CThostFtdcQryOptionInstrCommRateField", nRequestID: "int") -> "int":
        r"""请求查询期权合约手续费"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryOptionInstrCommRate(self, pQryOptionInstrCommRate, nRequestID)
    ReqQryOptionInstrCommRate = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryOptionInstrCommRate)

    def ReqQryExecOrder(self, pQryExecOrder: "CThostFtdcQryExecOrderField", nRequestID: "int") -> "int":
        r"""请求查询执行宣告"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryExecOrder(self, pQryExecOrder, nRequestID)
    ReqQryExecOrder = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryExecOrder)

    def ReqQryForQuote(self, pQryForQuote: "CThostFtdcQryForQuoteField", nRequestID: "int") -> "int":
        r"""请求查询询价"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryForQuote(self, pQryForQuote, nRequestID)
    ReqQryForQuote = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryForQuote)

    def ReqQryQuote(self, pQryQuote: "CThostFtdcQryQuoteField", nRequestID: "int") -> "int":
        r"""请求查询报价"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryQuote(self, pQryQuote, nRequestID)
    ReqQryQuote = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryQuote)

    def ReqQryOptionSelfClose(self, pQryOptionSelfClose: "CThostFtdcQryOptionSelfCloseField", nRequestID: "int") -> "int":
        r"""请求查询期权自对冲"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryOptionSelfClose(self, pQryOptionSelfClose, nRequestID)
    ReqQryOptionSelfClose = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryOptionSelfClose)

    def ReqQryInvestUnit(self, pQryInvestUnit: "CThostFtdcQryInvestUnitField", nRequestID: "int") -> "int":
        r"""请求查询投资单元"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryInvestUnit(self, pQryInvestUnit, nRequestID)
    ReqQryInvestUnit = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryInvestUnit)

    def ReqQryCombInstrumentGuard(self, pQryCombInstrumentGuard: "CThostFtdcQryCombInstrumentGuardField", nRequestID: "int") -> "int":
        r"""请求查询组合合约安全系数"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryCombInstrumentGuard(self, pQryCombInstrumentGuard, nRequestID)
    ReqQryCombInstrumentGuard = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryCombInstrumentGuard)

    def ReqQryCombAction(self, pQryCombAction: "CThostFtdcQryCombActionField", nRequestID: "int") -> "int":
        r"""请求查询申请组合"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryCombAction(self, pQryCombAction, nRequestID)
    ReqQryCombAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryCombAction)

    def ReqQryTransferSerial(self, pQryTransferSerial: "CThostFtdcQryTransferSerialField", nRequestID: "int") -> "int":
        r"""请求查询转帐流水"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryTransferSerial(self, pQryTransferSerial, nRequestID)
    ReqQryTransferSerial = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryTransferSerial)

    def ReqQryAccountregister(self, pQryAccountregister: "CThostFtdcQryAccountregisterField", nRequestID: "int") -> "int":
        r"""请求查询银期签约关系"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryAccountregister(self, pQryAccountregister, nRequestID)
    ReqQryAccountregister = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryAccountregister)

    def ReqQryContractBank(self, pQryContractBank: "CThostFtdcQryContractBankField", nRequestID: "int") -> "int":
        r"""请求查询签约银行"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryContractBank(self, pQryContractBank, nRequestID)
    ReqQryContractBank = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryContractBank)

    def ReqQryParkedOrder(self, pQryParkedOrder: "CThostFtdcQryParkedOrderField", nRequestID: "int") -> "int":
        r"""请求查询预埋单"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryParkedOrder(self, pQryParkedOrder, nRequestID)
    ReqQryParkedOrder = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryParkedOrder)

    def ReqQryParkedOrderAction(self, pQryParkedOrderAction: "CThostFtdcQryParkedOrderActionField", nRequestID: "int") -> "int":
        r"""请求查询预埋撤单"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryParkedOrderAction(self, pQryParkedOrderAction, nRequestID)
    ReqQryParkedOrderAction = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryParkedOrderAction)

    def ReqQryTradingNotice(self, pQryTradingNotice: "CThostFtdcQryTradingNoticeField", nRequestID: "int") -> "int":
        r"""请求查询交易通知"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryTradingNotice(self, pQryTradingNotice, nRequestID)
    ReqQryTradingNotice = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryTradingNotice)

    def ReqQryBrokerTradingParams(self, pQryBrokerTradingParams: "CThostFtdcQryBrokerTradingParamsField", nRequestID: "int") -> "int":
        r"""请求查询经纪公司交易参数"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryBrokerTradingParams(self, pQryBrokerTradingParams, nRequestID)
    ReqQryBrokerTradingParams = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryBrokerTradingParams)

    def ReqQryBrokerTradingAlgos(self, pQryBrokerTradingAlgos: "CThostFtdcQryBrokerTradingAlgosField", nRequestID: "int") -> "int":
        r"""请求查询经纪公司交易算法"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryBrokerTradingAlgos(self, pQryBrokerTradingAlgos, nRequestID)
    ReqQryBrokerTradingAlgos = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryBrokerTradingAlgos)

    def ReqQueryCFMMCTradingAccountToken(self, pQueryCFMMCTradingAccountToken: "CThostFtdcQueryCFMMCTradingAccountTokenField", nRequestID: "int") -> "int":
        r"""请求查询监控中心用户令牌"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQueryCFMMCTradingAccountToken(self, pQueryCFMMCTradingAccountToken, nRequestID)
    ReqQueryCFMMCTradingAccountToken = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQueryCFMMCTradingAccountToken)

    def ReqFromBankToFutureByFuture(self, pReqTransfer: "CThostFtdcReqTransferField", nRequestID: "int") -> "int":
        r"""期货发起银行资金转期货请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqFromBankToFutureByFuture(self, pReqTransfer, nRequestID)
    ReqFromBankToFutureByFuture = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqFromBankToFutureByFuture)

    def ReqFromFutureToBankByFuture(self, pReqTransfer: "CThostFtdcReqTransferField", nRequestID: "int") -> "int":
        r"""期货发起期货资金转银行请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqFromFutureToBankByFuture(self, pReqTransfer, nRequestID)
    ReqFromFutureToBankByFuture = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqFromFutureToBankByFuture)

    def ReqQueryBankAccountMoneyByFuture(self, pReqQueryAccount: "CThostFtdcReqQueryAccountField", nRequestID: "int") -> "int":
        r"""期货发起查询银行余额请求"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQueryBankAccountMoneyByFuture(self, pReqQueryAccount, nRequestID)
    ReqQueryBankAccountMoneyByFuture = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQueryBankAccountMoneyByFuture)

    def ReqQryClassifiedInstrument(self, pQryClassifiedInstrument: "CThostFtdcQryClassifiedInstrumentField", nRequestID: "int") -> "int":
        r"""请求查询分类合约"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryClassifiedInstrument(self, pQryClassifiedInstrument, nRequestID)
    ReqQryClassifiedInstrument = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryClassifiedInstrument)

    def ReqQryCombPromotionParam(self, pQryCombPromotionParam: "CThostFtdcQryCombPromotionParamField", nRequestID: "int") -> "int":
        r"""请求组合优惠比例"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryCombPromotionParam(self, pQryCombPromotionParam, nRequestID)
    ReqQryCombPromotionParam = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryCombPromotionParam)

    def ReqQryRiskSettleInvstPosition(self, pQryRiskSettleInvstPosition: "CThostFtdcQryRiskSettleInvstPositionField", nRequestID: "int") -> "int":
        r"""投资者风险结算持仓查询"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryRiskSettleInvstPosition(self, pQryRiskSettleInvstPosition, nRequestID)
    ReqQryRiskSettleInvstPosition = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryRiskSettleInvstPosition)

    def ReqQryRiskSettleProductStatus(self, pQryRiskSettleProductStatus: "CThostFtdcQryRiskSettleProductStatusField", nRequestID: "int") -> "int":
        r"""风险结算产品查询"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryRiskSettleProductStatus(self, pQryRiskSettleProductStatus, nRequestID)
    ReqQryRiskSettleProductStatus = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryRiskSettleProductStatus)

    def ReqQrySPBMFutureParameter(self, pQrySPBMFutureParameter: "CThostFtdcQrySPBMFutureParameterField", nRequestID: "int") -> "int":
        r"""SPBM期货合约参数查询"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQrySPBMFutureParameter(self, pQrySPBMFutureParameter, nRequestID)
    ReqQrySPBMFutureParameter = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQrySPBMFutureParameter)

    def ReqQrySPBMOptionParameter(self, pQrySPBMOptionParameter: "CThostFtdcQrySPBMOptionParameterField", nRequestID: "int") -> "int":
        r"""SPBM期权合约参数查询"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQrySPBMOptionParameter(self, pQrySPBMOptionParameter, nRequestID)
    ReqQrySPBMOptionParameter = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQrySPBMOptionParameter)

    def ReqQrySPBMIntraParameter(self, pQrySPBMIntraParameter: "CThostFtdcQrySPBMIntraParameterField", nRequestID: "int") -> "int":
        r"""SPBM品种内对锁仓折扣参数查询"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQrySPBMIntraParameter(self, pQrySPBMIntraParameter, nRequestID)
    ReqQrySPBMIntraParameter = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQrySPBMIntraParameter)

    def ReqQrySPBMInterParameter(self, pQrySPBMInterParameter: "CThostFtdcQrySPBMInterParameterField", nRequestID: "int") -> "int":
        r"""SPBM跨品种抵扣参数查询"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQrySPBMInterParameter(self, pQrySPBMInterParameter, nRequestID)
    ReqQrySPBMInterParameter = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQrySPBMInterParameter)

    def ReqQrySPBMPortfDefinition(self, pQrySPBMPortfDefinition: "CThostFtdcQrySPBMPortfDefinitionField", nRequestID: "int") -> "int":
        r"""SPBM组合保证金套餐查询"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQrySPBMPortfDefinition(self, pQrySPBMPortfDefinition, nRequestID)
    ReqQrySPBMPortfDefinition = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQrySPBMPortfDefinition)

    def ReqQrySPBMInvestorPortfDef(self, pQrySPBMInvestorPortfDef: "CThostFtdcQrySPBMInvestorPortfDefField", nRequestID: "int") -> "int":
        r"""投资者SPBM套餐选择查询"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQrySPBMInvestorPortfDef(self, pQrySPBMInvestorPortfDef, nRequestID)
    ReqQrySPBMInvestorPortfDef = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQrySPBMInvestorPortfDef)

    def ReqQryInvestorPortfMarginRatio(self, pQryInvestorPortfMarginRatio: "CThostFtdcQryInvestorPortfMarginRatioField", nRequestID: "int") -> "int":
        r"""投资者新型组合保证金系数查询"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryInvestorPortfMarginRatio(self, pQryInvestorPortfMarginRatio, nRequestID)
    ReqQryInvestorPortfMarginRatio = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryInvestorPortfMarginRatio)

    def ReqQryInvestorProdSPBMDetail(self, pQryInvestorProdSPBMDetail: "CThostFtdcQryInvestorProdSPBMDetailField", nRequestID: "int") -> "int":
        r"""投资者产品SPBM明细查询"""
        return _thosttraderapi.CThostFtdcTraderApi_ReqQryInvestorProdSPBMDetail(self, pQryInvestorProdSPBMDetail, nRequestID)
    ReqQryInvestorProdSPBMDetail = _swig_new_instance_method(_thosttraderapi.CThostFtdcTraderApi_ReqQryInvestorProdSPBMDetail)

# Register CThostFtdcTraderApi in _thosttraderapi:
_thosttraderapi.CThostFtdcTraderApi_swigregister(CThostFtdcTraderApi)

