金仕达个股期权系统OTP_APIReference: KingstarAPI名字空间参考

OTP_API Reference

金仕达个股期权系统OTP_APIReference 1.0.50303
KingstarAPI名字空间参考

数据结构

class  CKSOTPTraderSpi
 CKSOTPTraderSpi实现了事件通知接口. 用户必需派生CKSOTPTraderSpi接口,编写事件处理方法来处理感兴趣的事件. 更多...
class  CKSOTPTraderApi
 CKSOTPTraderApi接口是提供给用户使用的功能. 更多...
struct  CKSOTPRspInfoField
 响应信息 更多...
struct  CKSOTPReqUserLoginField
 用户登录请求 更多...
struct  CKSOTPRspUserLoginField
 用户登录应答 更多...
struct  CKSOTPUserLogoutField
 用户登出请求 更多...
struct  CKSOTPUserPasswordUpdateField
 用户口令变更 更多...
struct  CKSOTPTradingAccountPasswordUpdateField
 资金账户口令变更域 更多...
struct  CKSOTPInputOrderField
 输入报单 更多...
struct  CKSOTPInputOrderActionField
 输入报单操作 更多...
struct  CKSOTPQryOrderField
 查询报单 更多...
struct  CKSOTPQryTradeField
 查询成交 更多...
struct  CKSOTPQryInvestorPositionField
 查询投资者持仓 更多...
struct  CKSOTPInvestorPositionField
 投资者持仓 更多...
struct  CKSOTPQryTradingAccountField
 查询资金账户 更多...
struct  CKSOTPTradingAccountField
 资金账户 更多...
struct  CKSOTPQryInvestorField
 查询投资者 更多...
struct  CKSOTPInvestorField
 投资者 更多...
struct  CKSOTPQryTradingCodeField
 查询合约账号 更多...
struct  CKSOTPTradingCodeField
 交易编码 更多...
struct  CKSOTPQryExchangeField
 查询交易所 更多...
struct  CKSOTPExchangeField
 交易所 更多...
struct  CKSOTPQryInstrumentField
 查询合约 更多...
struct  CKSOTPInstrumentField
 合约 更多...
struct  CKSOTPQryInvestorPositionDetailField
 查询投资者持仓明细 更多...
struct  CKSOTPInvestorPositionDetailField
 投资者持仓明细 更多...
struct  CKSOTPQryTradingNoticeField
 查询交易事件通知 更多...
struct  CKSOTPTradingNoticeField
 用户事件通知 更多...
struct  CKSOTPTradingNoticeInfoField
 用户事件通知信息 更多...
struct  CKSOTPInputExecOrderField
 输入的执行宣告 更多...
struct  CKSOTPInputExecOrderActionField
 输入执行宣告操作 更多...
struct  CKSOTPInputLockField
 录入锁定 更多...
struct  CKSOTPLockField
 锁定 更多...
struct  CKSOTPQryLockField
 查询锁定 更多...
struct  CKSOTPQryExecOrderField
 执行宣告查询 更多...
struct  CKSOTPQryExecOrderVolumeField
 输入查询宣告数量 更多...
struct  CKSOTPExecOrderVolumeField
 输出查询宣告数量 更多...
struct  CKSOTPQryLockPositionField
 查询锁定证券仓位 更多...
struct  CKSOTPLockPositionField
 锁定证券仓位 更多...
struct  CKSOTPQryUnderlyingStockInfoField
 输入查询标的券信息请求 更多...
struct  CKSOTPUnderlyingStockInfoField
 输出查询标的券信息请求 更多...
struct  CKSOTPQryOTPInsCommRateField
 输入查询个股期权手续费率请求 更多...
struct  CKSOTPOTPInsCommRateField
 输出查询个股期权合约手续费率 更多...
struct  CKSOTPQryInstrumentMarginRateField
 输入查询个股期权合约保证金率请求 更多...
struct  CKSOTPInstrumentMarginRateField
 输出查询个股期权合约保证金率 更多...
struct  CKSOTPQryOTPAssignmentField
 输入个股行权指派信息 更多...
struct  CKSOTPOTPAssignmentField
 输出个股行权指派信息 更多...
struct  CKSOTPQryDepthMarketDataField
 查询行情 更多...
struct  CKSOTPDepthMarketDataField
 深度行情 更多...
struct  CKSOTPForQuoteRspField
 发给做市商的询价请求 更多...
struct  CKSOTPOrderField
 报单 更多...
struct  CKSOTPTradeField
 成交 更多...
struct  CKSOTPExecOrderField
 执行宣告 更多...
struct  CKSOTPInstrumentStatusField
 合约状态 更多...
struct  CKSOTPReqTransferField
 转账请求 更多...
struct  CKSOTPRspTransferField
 银行资金转证券响应 更多...
struct  CKSOTPQryContractBankField
 查询签约银行请求 更多...
struct  CKSOTPContractBankField
 查询签约银行响应 更多...
struct  CKSOTPReqQueryAccountField
 查询账户信息请求 更多...
struct  CKSOTPRspQueryAccountField
 查询账户信息响应 更多...
struct  CKSOTPQryTransferSerialField
 请求查询转帐流水 更多...
struct  CKSOTPNotifyQueryAccountField
 查询账户信息通知 更多...
struct  CKSOTPTransferSerialField
 银期转账交易流水表 更多...
struct  CKSOTPSpecificInstrumentField
 指定的合约 更多...
struct  CKSOTPQryInvestorTradeLevelField
 查询客户交易级别 更多...
struct  CKSOTPInvestorTradeLevelField
 客户交易级别 更多...
struct  CKSOTPQryPurchaseLimitAmtField
 查询个股限购额度 更多...
struct  CKSOTPPurchaseLimitAmtField
 个股限购额度 更多...
struct  CKSOTPQryPositionLimitVolField
 查询个股限仓额度 更多...
struct  CKSOTPPositionLimitVolField
 查询个股限仓额度 更多...
struct  CKSOTPQrySettlementInfoField
 查询投资者结算结果 更多...
struct  CKSOTPQrySettlementInfoConfirmField
 查询结算信息确认域 更多...
struct  CKSOTPSettlementInfoConfirmField
 投资者结算结果确认信息 更多...
struct  CKSOTPSettlementInfoField
 投资者结算结果 更多...
struct  CKSOTPQryHistoryOrderField
 查询历史报单 更多...
struct  CKSOTPQryHistoryTradeField
 查询历史成交 更多...
struct  CKSOTPQryHistoryAssignmentField
 查询历史行权指派明细 更多...
struct  CKSOTPQryDelivDetailField
 查询行权交割明细 更多...
struct  CKSOTPAutoExecOrderActionField
 自动行权执行操作 更多...
struct  CKSOTPHistoryAssignmentField
 历史行权指派明细 更多...
struct  CKSOTPDelivDetailField
 行权交割明细 更多...
struct  CKSOTPHistoryOrderField
 历史报单 更多...
struct  CKSOTPHistoryTradeField
 历史成交 更多...

类型定义

typedef char TKSOTPTraderIDType [21]
typedef char TKSOTPInvestorIDType [13]
typedef char TKSOTPBrokerIDType [11]
typedef char TKSOTPBrokerAbbrType [9]
typedef char TKSOTPBrokerNameType [81]
typedef char TKSOTPExchangeInstIDType [31]
typedef char TKSOTPOrderRefType [13]
typedef char TKSOTPParticipantIDType [11]
typedef char TKSOTPUserIDType [16]
typedef char TKSOTPPasswordType [41]
typedef char TKSOTPClientIDType [11]
typedef char TKSOTPInstrumentIDType [31]
typedef double TKSOTPUnderlyingMultipleType
typedef char TKSOTPMarketIDType [31]
typedef char TKSOTPProductNameType [21]
typedef char TKSOTPExchangeIDType [9]
typedef char TKSOTPExchangeNameType [31]
typedef char TKSOTPExchangeAbbrType [9]
typedef char TKSOTPExchangeFlagType [2]
typedef char TKSOTPMacAddressType [21]
typedef char TKSOTPDateType [9]
typedef char TKSOTPTimeType [9]
typedef char TKSOTPLongTimeType [13]
typedef char TKSOTPInstrumentNameType [21]
typedef char TKSOTPOrderSysIDType [21]
typedef char TKSOTPTradeIDType [21]
typedef char TKSOTPCommandTypeType [65]
typedef char TKSOTPIPAddressType [16]
typedef char TKSOTPProductInfoType [11]
typedef char TKSOTPProtocolInfoType [11]
typedef char TKSOTPBusinessUnitType [21]
typedef char TKSOTPDepositSeqNoType [15]
typedef char TKSOTPIdentifiedCardNoType [51]
typedef char TKSOTPIdCardTypeType
typedef char TKSOTPOrderLocalIDType [13]
typedef char TKSOTPPartyNameType [81]
typedef char TKSOTPErrorMsgType [81]
typedef char TKSOTPFieldNameType [2049]
typedef char TKSOTPFieldContentType [2049]
typedef char TKSOTPSystemNameType [41]
typedef char TKSOTPContentType [501]
typedef char TKSOTPOrderActionStatusType
typedef char TKSOTPOrderStatusType
typedef char TKSOTPOrderSubmitStatusType
typedef char TKSOTPPositionDateType
typedef char TKSOTPPositionDateTypeType
typedef char TKSOTPTradingRoleType
typedef char TKSOTPProductClassType
typedef char TKSOTPInstLifePhaseType
typedef char TKSOTPDirectionType
typedef char TKSOTPPositionTypeType
typedef char TKSOTPHedgeFlagType
typedef char TKSOTPClientIDTypeType
typedef char TKSOTPOrderPriceTypeType
typedef char TKSOTPOffsetFlagType
typedef char TKSOTPForceCloseReasonType
typedef char TKSOTPOrderTypeType
typedef char TKSOTPTimeConditionType
typedef char TKSOTPVolumeConditionType
typedef char TKSOTPContingentConditionType
typedef char TKSOTPActionFlagType
typedef char TKSOTPOrderSourceType
typedef char TKSOTPTradeTypeType
typedef char TKSOTPPriceSourceType
typedef char TKSOTPInstrumentStatusType
typedef char TKSOTPInstStatusEnterReasonType
typedef int TKSOTPOrderActionRefType
typedef int TKSOTPInstallCountType
typedef int TKSOTPInstallIDType
typedef int TKSOTPErrorIDType
typedef int TKSOTPSettlementIDType
typedef int TKSOTPVolumeType
typedef int TKSOTPFrontIDType
typedef int TKSOTPSessionIDType
typedef int TKSOTPSequenceNoType
typedef int TKSOTPMillisecType
typedef int TKSOTPVolumeMultipleType
typedef int TKSOTPTradingSegmentSNType
typedef int TKSOTPRequestIDType
typedef int TKSOTPYearType
typedef int TKSOTPMonthType
typedef int TKSOTPBoolType
typedef double TKSOTPPriceType
typedef double TKSOTPRatioType
typedef double TKSOTPMoneyType
typedef double TKSOTPLargeVolumeType
typedef short TKSOTPSequenceSeriesType
typedef short TKSOTPCommPhaseNoType
typedef char TKSOTPSequenceLabelType [2]
typedef char TKSOTPAddressType [101]
typedef char TKSOTPZipCodeType [7]
typedef char TKSOTPTelephoneType [41]
typedef char TKSOTPFaxType [41]
typedef char TKSOTPMobileType [41]
typedef char TKSOTPEMailType [41]
typedef char TKSOTPMemoType [161]
typedef char TKSOTPPropertyIDType [33]
typedef char TKSOTPPropertyNameType [65]
typedef char TKSOTPLicenseNoType [51]
typedef char TKSOTPSettlementParamValueType [256]
typedef char TKSOTPBrandCodeType [257]
typedef char TKSOTPWarehouseType [257]
typedef char TKSOTPProductDateType [41]
typedef char TKSOTPGradeType [41]
typedef char TKSOTPClassifyType [41]
typedef char TKSOTPAccountIDType [13]
typedef char TKSOTPProductLifePhaseType
typedef char TKSOTPInvestorTypeType
typedef char TKSOTPBrokerTypeType
typedef char TKSOTPCurrencyCodeType [4]
typedef char TKSOTPCertCodeType [21]
typedef char TKSOTPUserTypeType
typedef char TKSOTPExClientIDTypeType
typedef char TKSOTPUserProductIDType [33]
typedef char TKSOTPTradeSourceType
typedef char TKSOTPSRiskRateType [21]
typedef char TKSOTPOptionsTypeType
typedef char TKSOTPActionTypeType
typedef char TKSOTPFutureBranchIDType [31]
typedef char TKSOTPCustTypeType
typedef char TKSOTPIndividualNameType [51]
typedef double TKSOTPTradeAmountType
typedef char TKSOTPFeePayFlagType
typedef double TKSOTPCustFeeType
typedef double TKSOTPFutureFeeType
typedef char TKSOTPBankIDType [4]
typedef char TKSOTPCurrencyIDType [4]
typedef char TKSOTPBankSerialType [13]
typedef int TKSOTPSerialType
typedef char TKSOTPLastFragmentType
typedef int TKSOTPFutureSerialType
typedef char TKSOTPBankAccountType [41]
typedef char TKSOTPTradeDateType [9]
typedef char TKSOTPTradeTimeType [9]
typedef char TKSOTPTradeCodeType [7]
typedef char TKSOTPDigestType [36]
typedef char TKSOTPTransferStatusType
typedef char TKSOTPBankAccTypeType
typedef char TKSOTPDeviceIDType [3]
typedef char TKSOTPBankCodingForFutureType [33]
typedef char TKSOTPBankBrchIDType [5]
typedef char TKSOTPYesNoIndicatorType
typedef char TKSOTPAddInfoType [129]
typedef char TKSOTPPwdFlagType
typedef char TKSOTPBankOperNoType [4]
typedef char TKSOTPTargetIDType [4]
typedef char TKSOTPOperNoType [17]
typedef int TKSOTPTIDType
typedef char TKSOTPBankNameType [101]
typedef int TKSOTPPlateSerialType
typedef char TKSOTPFutureAccTypeType
typedef char TKSOTPAvailabilityFlagType
typedef char TKSOTPOperatorCodeType [17]
typedef char TKSOTPProtectFlagType
typedef char TKSOTPControlRangeType
typedef char TKSOTPTradeLevelType
typedef char TKSOTPPosiDirectionType
typedef char TKSOTPDelivModeType
typedef char TKSOTPFunctionNameType [65]
typedef char TKSOTPStrikeTypeType
typedef char TKSOTPExecOrderPositionFlagType
typedef char TKSOTPExecOrderCloseFlagType
typedef char TKSOTPLockTypeType
typedef char TKSOTPExecOrderSysIDType [21]
typedef char TKSOTPExecResultType
typedef char TKSOTPBranchIDType [9]
typedef char TKSOTPInvestorRangeType

枚举

enum  KSOTP_TE_RESUME_TYPE { KSOTP_TERT_RESTART = 0, KSOTP_TERT_RESUME, KSOTP_TERT_QUICK }

类型定义文档

TKSOTPTraderIDType是一个交易所交易员代码类型

TKSOTPInvestorIDType是一个投资者代码类型

TKSOTPBrokerIDType是一个经纪公司代码类型

TKSOTPBrokerAbbrType是一个经纪公司简称类型

TKSOTPBrokerNameType是一个经纪公司名称类型

TKSOTPExchangeInstIDType是一个合约在交易所的代码类型

TKSOTPOrderRefType是一个报单引用类型

TKSOTPParticipantIDType是一个会员代码类型

TKSOTPUserIDType是一个用户代码类型

TKSOTPPasswordType是一个密码类型

TKSOTPClientIDType是一个合约账号类型

TKSOTPInstrumentIDType是一个合约代码类型

TFtdcUnderlyingMultipleType是一个基础商品乘数类型

TKSOTPMarketIDType是一个市场代码类型

TKSOTPProductNameType是一个产品名称类型

TKSOTPExchangeIDType是一个交易所代码类型

TKSOTPExchangeNameType是一个交易所名称类型

TKSOTPExchangeAbbrType是一个交易所简称类型

TKSOTPExchangeFlagType是一个交易所标志类型

TKSOTPMacAddressType是一个Mac地址类型

typedef char KingstarAPI::TKSOTPDateType[9]

TKSOTPDateType是一个日期类型

typedef char KingstarAPI::TKSOTPTimeType[9]

TKSOTPTimeType是一个时间类型

TKSOTPLongTimeType是一个长时间类型

TKSOTPInstrumentNameType是一个合约名称类型

TKSOTPOrderSysIDType是一个报单编号类型

TKSOTPTradeIDType是一个成交编号类型

TKSOTPCommandTypeType是一个DB命令类型类型

TKSOTPIPAddressType是一个IP地址类型

TKSOTPProductInfoType是一个产品信息类型

TKSOTPProtocolInfoType是一个协议信息类型

TKSOTPBusinessUnitType是一个业务单元类型

TKSOTPDepositSeqNoType是一个出入金流水号类型

TKSOTPIdentifiedCardNoType是一个证件号码类型

TKSOTPOrderLocalIDType是一个本地报单编号类型

TKSOTPPartyNameType是一个参与人名称类型

TKSOTPErrorMsgType是一个错误信息类型

TKSOTPFieldNameType是一个字段名类型

TKSOTPFieldContentType是一个字段内容类型

TKSOTPSystemNameType是一个系统名称类型

typedef char KingstarAPI::TKSOTPContentType[501]

TKSOTPContentType是一个消息正文类型

TKSOTPOrderActionRefType是一个报单操作引用类型

TKSOTPInstallCountType是一个安装数量类型

TKSOTPInstallIDType是一个安装编号类型

TKSOTPErrorIDType是一个错误代码类型

TKSOTPSettlementIDType是一个结算编号类型

TKSOTPVolumeType是一个数量类型

TKSOTPFrontIDType是一个前置编号类型

TKSOTPSessionIDType是一个会话编号类型

TKSOTPSequenceNoType是一个序号类型

TKSOTPMillisecType是一个时间(毫秒)类型

TKSOTPVolumeMultipleType是一个合约数量乘数类型

TKSOTPTradingSegmentSNType是一个交易阶段编号类型

TKSOTPRequestIDType是一个请求编号类型

TKSOTPYearType是一个年份类型

TKSOTPMonthType是一个月份类型

TKSOTPBoolType是一个布尔型类型

TKSOTPPriceType是一个价格类型

TKSOTPRatioType是一个比率类型

TKSOTPMoneyType是一个资金类型

TKSOTPLargeVolumeType是一个大额数量类型

TKSOTPSequenceSeriesType是一个序列系列号类型

TKSOTPCommPhaseNoType是一个通讯时段编号类型

TKSOTPSequenceLabelType是一个序列编号类型

typedef char KingstarAPI::TKSOTPAddressType[101]

TKSOTPAddressType是一个通讯地址类型

TKSOTPZipCodeType是一个邮政编码类型

TKSOTPTelephoneType是一个联系电话类型

typedef char KingstarAPI::TKSOTPFaxType[41]

TKSOTPFaxType是一个传真类型

TKSOTPMobileType是一个手机类型

typedef char KingstarAPI::TKSOTPEMailType[41]

TKSOTPEMailType是一个电子邮件类型

typedef char KingstarAPI::TKSOTPMemoType[161]

TKSOTPMemoType是一个备注类型

TKSOTPPropertyIDType是一个属性代码类型

TKSOTPPropertyNameType是一个属性名称类型

TKSOTPLicenseNoType是一个营业执照号类型

TKSOTPSettlementParamValueType是一个参数代码值类型

TKSOTPBrandCodeType是一个牌号类型

TKSOTPWarehouseType是一个仓库类型

TKSOTPProductDateType是一个产期类型

typedef char KingstarAPI::TKSOTPGradeType[41]

TKSOTPGradeType是一个等级类型

TKSOTPClassifyType是一个类别类型

TKSOTPAccountIDType是一个投资者帐号类型

TKSOTPCurrencyCodeType是一个币种类型

TKSOTPCertCodeType是一个证件号码类型

TKSOTPUserProductIDType是一个产品标识类型

TKSOTPSRiskRateType是一个风险度类型

TKSOTPFutureBranchIDType是一个证券分支机构编码类型

TKSOTPIndividualNameType是一个个人姓名类型

TKSOTPTradeAmountType是一个交易金额(元)类型

TKSOTPCustFeeType是一个应收客户费用(元)类型

TKSOTPFutureFeeType是一个应收证券公司费用(元)类型

TKSOTPBankIDType是一个银行代码类型

TKSOTPCurrencyIDType是一个币种代码类型

TKSOTPBankSerialType是一个银行流水号类型

TKSOTPSerialType是一个流水号类型

TKSOTPFutureSerialType是一个证券公司流水号类型

TKSOTPBankAccountType是一个银行账户类型

TKSOTPTradeDateType是一个交易日期类型

TKSOTPTradeTimeType是一个交易时间类型

TKSOTPTradeCodeType是一个交易代码类型

TKSOTPDigestType是一个摘要类型

TKSOTPDeviceIDType是一个渠道标志类型

TKSOTPBankCodingForFutureType是一个银行对证券公司的编码类型

TKSOTPBankBrchIDType是一个银行分中心代码类型

typedef char KingstarAPI::TKSOTPAddInfoType[129]

TKSOTPAddInfoType是一个附加信息类型

TKSOTPBankOperNoType是一个银行操作员号类型

TKSOTPTargetIDType是一个同步目标编号类型

TKSOTPOperNoType是一个交易柜员类型

TKSOTPTIDType是一个交易ID类型

TKSOTPBankNameType是一个银行名称类型

TKSOTPPlateSerialType是一个平台流水号类型

TKSOTPOperatorCodeType是一个操作员类型

TKSOTPFunctionNameType是一个功能名称类型

TKSOTPExecOrderSysIDType是一个执行宣告系统编号类型

TKSOTPBranchIDType是一个营业部编号类型


枚举类型文档

枚举值:
KSOTP_TERT_RESTART 
KSOTP_TERT_RESUME 
KSOTP_TERT_QUICK