@hitrading/ctp-node 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/README.zh-CN.md +2 -1
- package/dist/generated/enums.gen.d.ts +76 -6
- package/dist/generated/enums.gen.d.ts.map +1 -1
- package/dist/generated/enums.gen.js +78 -0
- package/dist/generated/enums.gen.js.map +1 -1
- package/dist/generated/structs.gen.d.ts +6271 -4816
- package/dist/generated/structs.gen.d.ts.map +1 -1
- package/dist/generated/structs.gen.js +131 -25
- package/dist/generated/structs.gen.js.map +1 -1
- package/dist/generated/trader.gen.d.ts +39 -1
- package/dist/generated/trader.gen.d.ts.map +1 -1
- package/dist/generated/trader.gen.js +315 -225
- package/dist/generated/trader.gen.js.map +1 -1
- package/dist/index.cjs +534 -252
- package/package.json +6 -2
- package/prebuilds/linux-x64/@hitrading+ctp-node.node +0 -0
- package/prebuilds/linux-x64/thostmduserapi_se.so +0 -0
- package/prebuilds/linux-x64/thosttraderapi_se.so +0 -0
- package/prebuilds/win32-x64/@hitrading+ctp-node.node +0 -0
- package/prebuilds/win32-x64/thostmduserapi_se.dll +0 -0
- package/prebuilds/win32-x64/thosttraderapi_se.dll +0 -0
- package/src/generated/enums.gen.ts +78 -0
- package/src/generated/layout.gen.cc +794 -40
- package/src/generated/structids.gen.h +54 -1
- package/src/generated/structs.gen.ts +6455 -4841
- package/src/generated/trader.gen.ts +315 -225
- package/src/generated/traderreq.gen.cc +84 -0
- package/src/generated/traderreq.gen.h +89 -75
- package/src/generated/traderspi.gen.cc +96 -0
- package/src/generated/traderspi.gen.h +198 -150
- package/tradeapi/ThostFtdcMdApi.h +69 -68
- package/tradeapi/ThostFtdcTraderApi.h +450 -323
- package/tradeapi/ThostFtdcUserApiDataType.h +2288 -2092
- package/tradeapi/ThostFtdcUserApiStruct.h +7049 -5487
- package/tradeapi/error.xml +56 -11
- package/tradeapi/linux/thostmduserapi_se.so +0 -0
- package/tradeapi/linux/thosttraderapi_se.so +0 -0
- package/tradeapi/macos/thostmduserapi_se.framework/Versions/A/Headers/ThostFtdcMdApi.h +66 -66
- package/tradeapi/macos/thostmduserapi_se.framework/Versions/A/Headers/ThostFtdcUserApiDataType.h +2123 -2090
- package/tradeapi/macos/thostmduserapi_se.framework/Versions/A/Headers/ThostFtdcUserApiStruct.h +5596 -5486
- package/tradeapi/macos/thostmduserapi_se.framework/Versions/A/Resources/Info.plist +46 -46
- package/tradeapi/macos/thostmduserapi_se.framework/Versions/A/_CodeSignature/CodeResources +149 -149
- package/tradeapi/macos/thostmduserapi_se.framework/Versions/A/thostmduserapi_se +0 -0
- package/tradeapi/macos/thosttraderapi_se.framework/Versions/A/Headers/ThostFtdcTraderApi.h +333 -321
- package/tradeapi/macos/thosttraderapi_se.framework/Versions/A/Headers/ThostFtdcUserApiDataType.h +2123 -2090
- package/tradeapi/macos/thosttraderapi_se.framework/Versions/A/Headers/ThostFtdcUserApiStruct.h +5596 -5486
- package/tradeapi/macos/thosttraderapi_se.framework/Versions/A/Resources/Info.plist +46 -46
- package/tradeapi/macos/thosttraderapi_se.framework/Versions/A/_CodeSignature/CodeResources +149 -149
- package/tradeapi/macos/thosttraderapi_se.framework/Versions/A/thosttraderapi_se +0 -0
- package/tradeapi/windows/thostmduserapi_se.dll +0 -0
- package/tradeapi/windows/thostmduserapi_se.lib +0 -0
- package/tradeapi/windows/thosttraderapi_se.dll +0 -0
- package/tradeapi/windows/thosttraderapi_se.lib +0 -0
package/dist/index.cjs
CHANGED
|
@@ -40,6 +40,8 @@ __export(index_exports, {
|
|
|
40
40
|
ActionFlag: () => ActionFlag,
|
|
41
41
|
ActionType: () => ActionType,
|
|
42
42
|
ActiveType: () => ActiveType,
|
|
43
|
+
AddrSrvMode: () => AddrSrvMode,
|
|
44
|
+
AddrVer: () => AddrVer,
|
|
43
45
|
AlgoType: () => AlgoType,
|
|
44
46
|
Algorithm: () => Algorithm,
|
|
45
47
|
AllWithoutTrade: () => AllWithoutTrade,
|
|
@@ -48,6 +50,8 @@ __export(index_exports, {
|
|
|
48
50
|
AmlDateType: () => AmlDateType,
|
|
49
51
|
AppType: () => AppType,
|
|
50
52
|
ApplyOperateID: () => ApplyOperateID,
|
|
53
|
+
ApplySrc: () => ApplySrc,
|
|
54
|
+
ApplyStatus: () => ApplyStatus,
|
|
51
55
|
ApplyStatusID: () => ApplyStatusID,
|
|
52
56
|
ApplyType: () => ApplyType,
|
|
53
57
|
AssetmgrClientType: () => AssetmgrClientType,
|
|
@@ -95,6 +99,7 @@ __export(index_exports, {
|
|
|
95
99
|
ClientType: () => ClientType,
|
|
96
100
|
CloseDealType: () => CloseDealType,
|
|
97
101
|
CloseStyle: () => CloseStyle,
|
|
102
|
+
CmbType: () => CmbType,
|
|
98
103
|
CodeSourceType: () => CodeSourceType,
|
|
99
104
|
CombDirection: () => CombDirection,
|
|
100
105
|
CombinationType: () => CombinationType,
|
|
@@ -221,6 +226,7 @@ __export(index_exports, {
|
|
|
221
226
|
OTPType: () => OTPType,
|
|
222
227
|
OffsetFlag: () => OffsetFlag,
|
|
223
228
|
OffsetFlagEn: () => OffsetFlagEn,
|
|
229
|
+
OffsetType: () => OffsetType,
|
|
224
230
|
OpenLimitControlLevel: () => OpenLimitControlLevel,
|
|
225
231
|
OpenOrDestroy: () => OpenOrDestroy,
|
|
226
232
|
OptSelfCloseFlag: () => OptSelfCloseFlag,
|
|
@@ -260,6 +266,7 @@ __export(index_exports, {
|
|
|
260
266
|
ProtocalID: () => ProtocalID,
|
|
261
267
|
PublishStatus: () => PublishStatus,
|
|
262
268
|
PwdFlag: () => PwdFlag,
|
|
269
|
+
PwdRcdSrc: () => PwdRcdSrc,
|
|
263
270
|
QueryInvestorRange: () => QueryInvestorRange,
|
|
264
271
|
QuestionType: () => QuestionType,
|
|
265
272
|
RCAMSCombinationType: () => RCAMSCombinationType,
|
|
@@ -317,6 +324,7 @@ __export(index_exports, {
|
|
|
317
324
|
SystemParamID: () => SystemParamID,
|
|
318
325
|
SystemStatus: () => SystemStatus,
|
|
319
326
|
SystemType: () => SystemType,
|
|
327
|
+
TGSessionQryStatusType: () => TGSessionQryStatusType,
|
|
320
328
|
TemplateType: () => TemplateType,
|
|
321
329
|
TimeCondition: () => TimeCondition,
|
|
322
330
|
TimeRange: () => TimeRange,
|
|
@@ -376,8 +384,8 @@ var import_node_events = require("node:events");
|
|
|
376
384
|
// dist/generated/structs.gen.js
|
|
377
385
|
var STRUCTS = [
|
|
378
386
|
{ id: 0, name: "Dissemination", cName: "CThostFtdcDisseminationField", fields: [{ js: "sequenceSeries", kind: 2 }, { js: "sequenceNo", kind: 1 }] },
|
|
379
|
-
{ id: 1, name: "ReqUserLogin", cName: "CThostFtdcReqUserLoginField", fields: [{ js: "tradingDay", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "password", kind: 0 }, { js: "userProductInfo", kind: 0 }, { js: "interfaceProductInfo", kind: 0 }, { js: "protocolInfo", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "oneTimePassword", kind: 0 }, { js: "loginRemark", kind: 0 }, { js: "clientIpPort", kind: 1 }, { js: "clientIpAddress", kind: 0 }] },
|
|
380
|
-
{ id: 2, name: "RspUserLogin", cName: "CThostFtdcRspUserLoginField", fields: [{ js: "tradingDay", kind: 0 }, { js: "loginTime", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "systemName", kind: 0 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "maxOrderRef", kind: 0 }, { js: "shfeTime", kind: 0 }, { js: "dceTime", kind: 0 }, { js: "czceTime", kind: 0 }, { js: "ffexTime", kind: 0 }, { js: "ineTime", kind: 0 }, { js: "sysVersion", kind: 0 }, { js: "gfexTime", kind: 0 }] },
|
|
387
|
+
{ id: 1, name: "ReqUserLogin", cName: "CThostFtdcReqUserLoginField", fields: [{ js: "tradingDay", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "password", kind: 0 }, { js: "userProductInfo", kind: 0 }, { js: "interfaceProductInfo", kind: 0 }, { js: "protocolInfo", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "oneTimePassword", kind: 0 }, { js: "loginRemark", kind: 0 }, { js: "clientIpPort", kind: 1 }, { js: "clientIpAddress", kind: 0 }, { js: "smsCode", kind: 0 }] },
|
|
388
|
+
{ id: 2, name: "RspUserLogin", cName: "CThostFtdcRspUserLoginField", fields: [{ js: "tradingDay", kind: 0 }, { js: "loginTime", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "systemName", kind: 0 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "maxOrderRef", kind: 0 }, { js: "shfeTime", kind: 0 }, { js: "dceTime", kind: 0 }, { js: "czceTime", kind: 0 }, { js: "ffexTime", kind: 0 }, { js: "ineTime", kind: 0 }, { js: "sysVersion", kind: 0 }, { js: "gfexTime", kind: 0 }, { js: "loginDrIdentityId", kind: 1 }, { js: "userDrIdentityId", kind: 1 }, { js: "lastLoginTime", kind: 0 }, { js: "reserveInfo", kind: 0 }] },
|
|
381
389
|
{ id: 3, name: "UserLogout", cName: "CThostFtdcUserLogoutField", fields: [{ js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }] },
|
|
382
390
|
{ id: 4, name: "ForceUserLogout", cName: "CThostFtdcForceUserLogoutField", fields: [{ js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }] },
|
|
383
391
|
{ id: 5, name: "ReqAuthenticate", cName: "CThostFtdcReqAuthenticateField", fields: [{ js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "userProductInfo", kind: 0 }, { js: "authCode", kind: 0 }, { js: "appId", kind: 0 }] },
|
|
@@ -405,8 +413,8 @@ var STRUCTS = [
|
|
|
405
413
|
{ id: 27, name: "SuperUser", cName: "CThostFtdcSuperUserField", fields: [{ js: "userId", kind: 0 }, { js: "userName", kind: 0 }, { js: "password", kind: 0 }, { js: "isActive", kind: 1 }] },
|
|
406
414
|
{ id: 28, name: "SuperUserFunction", cName: "CThostFtdcSuperUserFunctionField", fields: [{ js: "userId", kind: 0 }, { js: "functionCode", kind: 0 }] },
|
|
407
415
|
{ id: 29, name: "InvestorGroup", cName: "CThostFtdcInvestorGroupField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorGroupId", kind: 0 }, { js: "investorGroupName", kind: 0 }] },
|
|
408
|
-
{ id: 30, name: "TradingAccount", cName: "CThostFtdcTradingAccountField", fields: [{ js: "brokerId", kind: 0 }, { js: "accountId", kind: 0 }, { js: "preMortgage", kind: 3 }, { js: "preCredit", kind: 3 }, { js: "preDeposit", kind: 3 }, { js: "preBalance", kind: 3 }, { js: "preMargin", kind: 3 }, { js: "interestBase", kind: 3 }, { js: "interest", kind: 3 }, { js: "deposit", kind: 3 }, { js: "withdraw", kind: 3 }, { js: "frozenMargin", kind: 3 }, { js: "frozenCash", kind: 3 }, { js: "frozenCommission", kind: 3 }, { js: "currMargin", kind: 3 }, { js: "cashIn", kind: 3 }, { js: "commission", kind: 3 }, { js: "closeProfit", kind: 3 }, { js: "positionProfit", kind: 3 }, { js: "balance", kind: 3 }, { js: "available", kind: 3 }, { js: "withdrawQuota", kind: 3 }, { js: "reserve", kind: 3 }, { js: "tradingDay", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "credit", kind: 3 }, { js: "mortgage", kind: 3 }, { js: "exchangeMargin", kind: 3 }, { js: "deliveryMargin", kind: 3 }, { js: "exchangeDeliveryMargin", kind: 3 }, { js: "reserveBalance", kind: 3 }, { js: "currencyId", kind: 0 }, { js: "preFundMortgageIn", kind: 3 }, { js: "preFundMortgageOut", kind: 3 }, { js: "fundMortgageIn", kind: 3 }, { js: "fundMortgageOut", kind: 3 }, { js: "fundMortgageAvailable", kind: 3 }, { js: "mortgageableFund", kind: 3 }, { js: "specProductMargin", kind: 3 }, { js: "specProductFrozenMargin", kind: 3 }, { js: "specProductCommission", kind: 3 }, { js: "specProductFrozenCommission", kind: 3 }, { js: "specProductPositionProfit", kind: 3 }, { js: "specProductCloseProfit", kind: 3 }, { js: "specProductPositionProfitByAlg", kind: 3 }, { js: "specProductExchangeMargin", kind: 3 }, { js: "bizType", kind: 0 }, { js: "frozenSwap", kind: 3 }, { js: "remainSwap", kind: 3 }] },
|
|
409
|
-
{ id: 31, name: "InvestorPosition", cName: "CThostFtdcInvestorPositionField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "posiDirection", kind: 0 }, { js: "hedgeFlag", kind: 0 }, { js: "positionDate", kind: 0 }, { js: "ydPosition", kind: 1 }, { js: "position", kind: 1 }, { js: "longFrozen", kind: 1 }, { js: "shortFrozen", kind: 1 }, { js: "longFrozenAmount", kind: 3 }, { js: "shortFrozenAmount", kind: 3 }, { js: "openVolume", kind: 1 }, { js: "closeVolume", kind: 1 }, { js: "openAmount", kind: 3 }, { js: "closeAmount", kind: 3 }, { js: "positionCost", kind: 3 }, { js: "preMargin", kind: 3 }, { js: "useMargin", kind: 3 }, { js: "frozenMargin", kind: 3 }, { js: "frozenCash", kind: 3 }, { js: "frozenCommission", kind: 3 }, { js: "cashIn", kind: 3 }, { js: "commission", kind: 3 }, { js: "closeProfit", kind: 3 }, { js: "positionProfit", kind: 3 }, { js: "preSettlementPrice", kind: 3 }, { js: "settlementPrice", kind: 3 }, { js: "tradingDay", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "openCost", kind: 3 }, { js: "exchangeMargin", kind: 3 }, { js: "combPosition", kind: 1 }, { js: "combLongFrozen", kind: 1 }, { js: "combShortFrozen", kind: 1 }, { js: "closeProfitByDate", kind: 3 }, { js: "closeProfitByTrade", kind: 3 }, { js: "todayPosition", kind: 1 }, { js: "marginRateByMoney", kind: 3 }, { js: "marginRateByVolume", kind: 3 }, { js: "strikeFrozen", kind: 1 }, { js: "strikeFrozenAmount", kind: 3 }, { js: "abandonFrozen", kind: 1 }, { js: "exchangeId", kind: 0 }, { js: "ydStrikeFrozen", kind: 1 }, { js: "investUnitId", kind: 0 }, { js: "positionCostOffset", kind: 3 }, { js: "tasPosition", kind: 1 }, { js: "tasPositionCost", kind: 3 }, { js: "instrumentId", kind: 0 }] },
|
|
416
|
+
{ id: 30, name: "TradingAccount", cName: "CThostFtdcTradingAccountField", fields: [{ js: "brokerId", kind: 0 }, { js: "accountId", kind: 0 }, { js: "preMortgage", kind: 3 }, { js: "preCredit", kind: 3 }, { js: "preDeposit", kind: 3 }, { js: "preBalance", kind: 3 }, { js: "preMargin", kind: 3 }, { js: "interestBase", kind: 3 }, { js: "interest", kind: 3 }, { js: "deposit", kind: 3 }, { js: "withdraw", kind: 3 }, { js: "frozenMargin", kind: 3 }, { js: "frozenCash", kind: 3 }, { js: "frozenCommission", kind: 3 }, { js: "currMargin", kind: 3 }, { js: "cashIn", kind: 3 }, { js: "commission", kind: 3 }, { js: "closeProfit", kind: 3 }, { js: "positionProfit", kind: 3 }, { js: "balance", kind: 3 }, { js: "available", kind: 3 }, { js: "withdrawQuota", kind: 3 }, { js: "reserve", kind: 3 }, { js: "tradingDay", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "credit", kind: 3 }, { js: "mortgage", kind: 3 }, { js: "exchangeMargin", kind: 3 }, { js: "deliveryMargin", kind: 3 }, { js: "exchangeDeliveryMargin", kind: 3 }, { js: "reserveBalance", kind: 3 }, { js: "currencyId", kind: 0 }, { js: "preFundMortgageIn", kind: 3 }, { js: "preFundMortgageOut", kind: 3 }, { js: "fundMortgageIn", kind: 3 }, { js: "fundMortgageOut", kind: 3 }, { js: "fundMortgageAvailable", kind: 3 }, { js: "mortgageableFund", kind: 3 }, { js: "specProductMargin", kind: 3 }, { js: "specProductFrozenMargin", kind: 3 }, { js: "specProductCommission", kind: 3 }, { js: "specProductFrozenCommission", kind: 3 }, { js: "specProductPositionProfit", kind: 3 }, { js: "specProductCloseProfit", kind: 3 }, { js: "specProductPositionProfitByAlg", kind: 3 }, { js: "specProductExchangeMargin", kind: 3 }, { js: "bizType", kind: 0 }, { js: "frozenSwap", kind: 3 }, { js: "remainSwap", kind: 3 }, { js: "optionValue", kind: 3 }] },
|
|
417
|
+
{ id: 31, name: "InvestorPosition", cName: "CThostFtdcInvestorPositionField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "posiDirection", kind: 0 }, { js: "hedgeFlag", kind: 0 }, { js: "positionDate", kind: 0 }, { js: "ydPosition", kind: 1 }, { js: "position", kind: 1 }, { js: "longFrozen", kind: 1 }, { js: "shortFrozen", kind: 1 }, { js: "longFrozenAmount", kind: 3 }, { js: "shortFrozenAmount", kind: 3 }, { js: "openVolume", kind: 1 }, { js: "closeVolume", kind: 1 }, { js: "openAmount", kind: 3 }, { js: "closeAmount", kind: 3 }, { js: "positionCost", kind: 3 }, { js: "preMargin", kind: 3 }, { js: "useMargin", kind: 3 }, { js: "frozenMargin", kind: 3 }, { js: "frozenCash", kind: 3 }, { js: "frozenCommission", kind: 3 }, { js: "cashIn", kind: 3 }, { js: "commission", kind: 3 }, { js: "closeProfit", kind: 3 }, { js: "positionProfit", kind: 3 }, { js: "preSettlementPrice", kind: 3 }, { js: "settlementPrice", kind: 3 }, { js: "tradingDay", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "openCost", kind: 3 }, { js: "exchangeMargin", kind: 3 }, { js: "combPosition", kind: 1 }, { js: "combLongFrozen", kind: 1 }, { js: "combShortFrozen", kind: 1 }, { js: "closeProfitByDate", kind: 3 }, { js: "closeProfitByTrade", kind: 3 }, { js: "todayPosition", kind: 1 }, { js: "marginRateByMoney", kind: 3 }, { js: "marginRateByVolume", kind: 3 }, { js: "strikeFrozen", kind: 1 }, { js: "strikeFrozenAmount", kind: 3 }, { js: "abandonFrozen", kind: 1 }, { js: "exchangeId", kind: 0 }, { js: "ydStrikeFrozen", kind: 1 }, { js: "investUnitId", kind: 0 }, { js: "positionCostOffset", kind: 3 }, { js: "tasPosition", kind: 1 }, { js: "tasPositionCost", kind: 3 }, { js: "instrumentId", kind: 0 }, { js: "optionValue", kind: 3 }] },
|
|
410
418
|
{ id: 32, name: "InstrumentMarginRate", cName: "CThostFtdcInstrumentMarginRateField", fields: [{ js: "investorRange", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "hedgeFlag", kind: 0 }, { js: "longMarginRatioByMoney", kind: 3 }, { js: "longMarginRatioByVolume", kind: 3 }, { js: "shortMarginRatioByMoney", kind: 3 }, { js: "shortMarginRatioByVolume", kind: 3 }, { js: "isRelative", kind: 1 }, { js: "exchangeId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "instrumentId", kind: 0 }] },
|
|
411
419
|
{ id: 33, name: "InstrumentCommissionRate", cName: "CThostFtdcInstrumentCommissionRateField", fields: [{ js: "investorRange", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "openRatioByMoney", kind: 3 }, { js: "openRatioByVolume", kind: 3 }, { js: "closeRatioByMoney", kind: 3 }, { js: "closeRatioByVolume", kind: 3 }, { js: "closeTodayRatioByMoney", kind: 3 }, { js: "closeTodayRatioByVolume", kind: 3 }, { js: "exchangeId", kind: 0 }, { js: "bizType", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "instrumentId", kind: 0 }] },
|
|
412
420
|
{ id: 34, name: "DepthMarketData", cName: "CThostFtdcDepthMarketDataField", fields: [{ js: "tradingDay", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "lastPrice", kind: 3 }, { js: "preSettlementPrice", kind: 3 }, { js: "preClosePrice", kind: 3 }, { js: "preOpenInterest", kind: 3 }, { js: "openPrice", kind: 3 }, { js: "highestPrice", kind: 3 }, { js: "lowestPrice", kind: 3 }, { js: "volume", kind: 1 }, { js: "turnover", kind: 3 }, { js: "openInterest", kind: 3 }, { js: "closePrice", kind: 3 }, { js: "settlementPrice", kind: 3 }, { js: "upperLimitPrice", kind: 3 }, { js: "lowerLimitPrice", kind: 3 }, { js: "preDelta", kind: 3 }, { js: "currDelta", kind: 3 }, { js: "updateTime", kind: 0 }, { js: "updateMillisec", kind: 1 }, { js: "bidPrice1", kind: 3 }, { js: "bidVolume1", kind: 1 }, { js: "askPrice1", kind: 3 }, { js: "askVolume1", kind: 1 }, { js: "bidPrice2", kind: 3 }, { js: "bidVolume2", kind: 1 }, { js: "askPrice2", kind: 3 }, { js: "askVolume2", kind: 1 }, { js: "bidPrice3", kind: 3 }, { js: "bidVolume3", kind: 1 }, { js: "askPrice3", kind: 3 }, { js: "askVolume3", kind: 1 }, { js: "bidPrice4", kind: 3 }, { js: "bidVolume4", kind: 1 }, { js: "askPrice4", kind: 3 }, { js: "askVolume4", kind: 1 }, { js: "bidPrice5", kind: 3 }, { js: "bidVolume5", kind: 1 }, { js: "askPrice5", kind: 3 }, { js: "askVolume5", kind: 1 }, { js: "averagePrice", kind: 3 }, { js: "actionDay", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "exchangeInstId", kind: 0 }, { js: "bandingUpperPrice", kind: 3 }, { js: "bandingLowerPrice", kind: 3 }] },
|
|
@@ -427,12 +435,12 @@ var STRUCTS = [
|
|
|
427
435
|
{ id: 49, name: "LogoutAll", cName: "CThostFtdcLogoutAllField", fields: [{ js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "systemName", kind: 0 }] },
|
|
428
436
|
{ id: 50, name: "FrontStatus", cName: "CThostFtdcFrontStatusField", fields: [{ js: "frontId", kind: 1 }, { js: "lastReportDate", kind: 0 }, { js: "lastReportTime", kind: 0 }, { js: "isActive", kind: 1 }] },
|
|
429
437
|
{ id: 51, name: "UserPasswordUpdate", cName: "CThostFtdcUserPasswordUpdateField", fields: [{ js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "oldPassword", kind: 0 }, { js: "newPassword", kind: 0 }] },
|
|
430
|
-
{ id: 52, name: "InputOrder", cName: "CThostFtdcInputOrderField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "orderRef", kind: 0 }, { js: "userId", kind: 0 }, { js: "orderPriceType", kind: 0 }, { js: "direction", kind: 0 }, { js: "combOffsetFlag", kind: 0 }, { js: "combHedgeFlag", kind: 0 }, { js: "limitPrice", kind: 3 }, { js: "volumeTotalOriginal", kind: 1 }, { js: "timeCondition", kind: 0 }, { js: "gtdDate", kind: 0 }, { js: "volumeCondition", kind: 0 }, { js: "minVolume", kind: 1 }, { js: "contingentCondition", kind: 0 }, { js: "stopPrice", kind: 3 }, { js: "forceCloseReason", kind: 0 }, { js: "isAutoSuspend", kind: 1 }, { js: "businessUnit", kind: 0 }, { js: "requestId", kind: 1 }, { js: "userForceClose", kind: 1 }, { js: "isSwapOrder", kind: 1 }, { js: "exchangeId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "accountId", kind: 0 }, { js: "currencyId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "ipAddress", kind: 0 }] },
|
|
431
|
-
{ id: 53, name: "Order", cName: "CThostFtdcOrderField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "orderRef", kind: 0 }, { js: "userId", kind: 0 }, { js: "orderPriceType", kind: 0 }, { js: "direction", kind: 0 }, { js: "combOffsetFlag", kind: 0 }, { js: "combHedgeFlag", kind: 0 }, { js: "limitPrice", kind: 3 }, { js: "volumeTotalOriginal", kind: 1 }, { js: "timeCondition", kind: 0 }, { js: "gtdDate", kind: 0 }, { js: "volumeCondition", kind: 0 }, { js: "minVolume", kind: 1 }, { js: "contingentCondition", kind: 0 }, { js: "stopPrice", kind: 3 }, { js: "forceCloseReason", kind: 0 }, { js: "isAutoSuspend", kind: 1 }, { js: "businessUnit", kind: 0 }, { js: "requestId", kind: 1 }, { js: "orderLocalId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "traderId", kind: 0 }, { js: "installId", kind: 1 }, { js: "orderSubmitStatus", kind: 0 }, { js: "notifySequence", kind: 1 }, { js: "tradingDay", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "orderSysId", kind: 0 }, { js: "orderSource", kind: 0 }, { js: "orderStatus", kind: 0 }, { js: "orderType", kind: 0 }, { js: "volumeTraded", kind: 1 }, { js: "volumeTotal", kind: 1 }, { js: "insertDate", kind: 0 }, { js: "insertTime", kind: 0 }, { js: "activeTime", kind: 0 }, { js: "suspendTime", kind: 0 }, { js: "updateTime", kind: 0 }, { js: "cancelTime", kind: 0 }, { js: "activeTraderId", kind: 0 }, { js: "clearingPartId", kind: 0 }, { js: "sequenceNo", kind: 1 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "userProductInfo", kind: 0 }, { js: "statusMsg", kind: 0 }, { js: "userForceClose", kind: 1 }, { js: "activeUserId", kind: 0 }, { js: "brokerOrderSeq", kind: 1 }, { js: "relativeOrderSysId", kind: 0 }, { js: "zceTotalTradedVolume", kind: 1 }, { js: "isSwapOrder", kind: 1 }, { js: "branchId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "accountId", kind: 0 }, { js: "currencyId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "exchangeInstId", kind: 0 }, { js: "ipAddress", kind: 0 }] },
|
|
438
|
+
{ id: 52, name: "InputOrder", cName: "CThostFtdcInputOrderField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "orderRef", kind: 0 }, { js: "userId", kind: 0 }, { js: "orderPriceType", kind: 0 }, { js: "direction", kind: 0 }, { js: "combOffsetFlag", kind: 0 }, { js: "combHedgeFlag", kind: 0 }, { js: "limitPrice", kind: 3 }, { js: "volumeTotalOriginal", kind: 1 }, { js: "timeCondition", kind: 0 }, { js: "gtdDate", kind: 0 }, { js: "volumeCondition", kind: 0 }, { js: "minVolume", kind: 1 }, { js: "contingentCondition", kind: 0 }, { js: "stopPrice", kind: 3 }, { js: "forceCloseReason", kind: 0 }, { js: "isAutoSuspend", kind: 1 }, { js: "businessUnit", kind: 0 }, { js: "requestId", kind: 1 }, { js: "userForceClose", kind: 1 }, { js: "isSwapOrder", kind: 1 }, { js: "exchangeId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "accountId", kind: 0 }, { js: "currencyId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "ipAddress", kind: 0 }, { js: "orderMemo", kind: 0 }, { js: "sessionReqSeq", kind: 1 }] },
|
|
439
|
+
{ id: 53, name: "Order", cName: "CThostFtdcOrderField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "orderRef", kind: 0 }, { js: "userId", kind: 0 }, { js: "orderPriceType", kind: 0 }, { js: "direction", kind: 0 }, { js: "combOffsetFlag", kind: 0 }, { js: "combHedgeFlag", kind: 0 }, { js: "limitPrice", kind: 3 }, { js: "volumeTotalOriginal", kind: 1 }, { js: "timeCondition", kind: 0 }, { js: "gtdDate", kind: 0 }, { js: "volumeCondition", kind: 0 }, { js: "minVolume", kind: 1 }, { js: "contingentCondition", kind: 0 }, { js: "stopPrice", kind: 3 }, { js: "forceCloseReason", kind: 0 }, { js: "isAutoSuspend", kind: 1 }, { js: "businessUnit", kind: 0 }, { js: "requestId", kind: 1 }, { js: "orderLocalId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "traderId", kind: 0 }, { js: "installId", kind: 1 }, { js: "orderSubmitStatus", kind: 0 }, { js: "notifySequence", kind: 1 }, { js: "tradingDay", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "orderSysId", kind: 0 }, { js: "orderSource", kind: 0 }, { js: "orderStatus", kind: 0 }, { js: "orderType", kind: 0 }, { js: "volumeTraded", kind: 1 }, { js: "volumeTotal", kind: 1 }, { js: "insertDate", kind: 0 }, { js: "insertTime", kind: 0 }, { js: "activeTime", kind: 0 }, { js: "suspendTime", kind: 0 }, { js: "updateTime", kind: 0 }, { js: "cancelTime", kind: 0 }, { js: "activeTraderId", kind: 0 }, { js: "clearingPartId", kind: 0 }, { js: "sequenceNo", kind: 1 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "userProductInfo", kind: 0 }, { js: "statusMsg", kind: 0 }, { js: "userForceClose", kind: 1 }, { js: "activeUserId", kind: 0 }, { js: "brokerOrderSeq", kind: 1 }, { js: "relativeOrderSysId", kind: 0 }, { js: "zceTotalTradedVolume", kind: 1 }, { js: "isSwapOrder", kind: 1 }, { js: "branchId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "accountId", kind: 0 }, { js: "currencyId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "exchangeInstId", kind: 0 }, { js: "ipAddress", kind: 0 }, { js: "orderMemo", kind: 0 }, { js: "sessionReqSeq", kind: 1 }] },
|
|
432
440
|
{ id: 54, name: "ExchangeOrder", cName: "CThostFtdcExchangeOrderField", fields: [{ js: "orderPriceType", kind: 0 }, { js: "direction", kind: 0 }, { js: "combOffsetFlag", kind: 0 }, { js: "combHedgeFlag", kind: 0 }, { js: "limitPrice", kind: 3 }, { js: "volumeTotalOriginal", kind: 1 }, { js: "timeCondition", kind: 0 }, { js: "gtdDate", kind: 0 }, { js: "volumeCondition", kind: 0 }, { js: "minVolume", kind: 1 }, { js: "contingentCondition", kind: 0 }, { js: "stopPrice", kind: 3 }, { js: "forceCloseReason", kind: 0 }, { js: "isAutoSuspend", kind: 1 }, { js: "businessUnit", kind: 0 }, { js: "requestId", kind: 1 }, { js: "orderLocalId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "traderId", kind: 0 }, { js: "installId", kind: 1 }, { js: "orderSubmitStatus", kind: 0 }, { js: "notifySequence", kind: 1 }, { js: "tradingDay", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "orderSysId", kind: 0 }, { js: "orderSource", kind: 0 }, { js: "orderStatus", kind: 0 }, { js: "orderType", kind: 0 }, { js: "volumeTraded", kind: 1 }, { js: "volumeTotal", kind: 1 }, { js: "insertDate", kind: 0 }, { js: "insertTime", kind: 0 }, { js: "activeTime", kind: 0 }, { js: "suspendTime", kind: 0 }, { js: "updateTime", kind: 0 }, { js: "cancelTime", kind: 0 }, { js: "activeTraderId", kind: 0 }, { js: "clearingPartId", kind: 0 }, { js: "sequenceNo", kind: 1 }, { js: "branchId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "exchangeInstId", kind: 0 }, { js: "ipAddress", kind: 0 }] },
|
|
433
441
|
{ id: 55, name: "ExchangeOrderInsertError", cName: "CThostFtdcExchangeOrderInsertErrorField", fields: [{ js: "exchangeId", kind: 0 }, { js: "participantId", kind: 0 }, { js: "traderId", kind: 0 }, { js: "installId", kind: 1 }, { js: "orderLocalId", kind: 0 }, { js: "errorId", kind: 1 }, { js: "errorMsg", kind: 0 }] },
|
|
434
|
-
{ id: 56, name: "InputOrderAction", cName: "CThostFtdcInputOrderActionField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "orderActionRef", kind: 1 }, { js: "orderRef", kind: 0 }, { js: "requestId", kind: 1 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "exchangeId", kind: 0 }, { js: "orderSysId", kind: 0 }, { js: "actionFlag", kind: 0 }, { js: "limitPrice", kind: 3 }, { js: "volumeChange", kind: 1 }, { js: "userId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "ipAddress", kind: 0 }] },
|
|
435
|
-
{ id: 57, name: "OrderAction", cName: "CThostFtdcOrderActionField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "orderActionRef", kind: 1 }, { js: "orderRef", kind: 0 }, { js: "requestId", kind: 1 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "exchangeId", kind: 0 }, { js: "orderSysId", kind: 0 }, { js: "actionFlag", kind: 0 }, { js: "limitPrice", kind: 3 }, { js: "volumeChange", kind: 1 }, { js: "actionDate", kind: 0 }, { js: "actionTime", kind: 0 }, { js: "traderId", kind: 0 }, { js: "installId", kind: 1 }, { js: "orderLocalId", kind: 0 }, { js: "actionLocalId", kind: 0 }, { js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "businessUnit", kind: 0 }, { js: "orderActionStatus", kind: 0 }, { js: "userId", kind: 0 }, { js: "statusMsg", kind: 0 }, { js: "branchId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "ipAddress", kind: 0 }] },
|
|
442
|
+
{ id: 56, name: "InputOrderAction", cName: "CThostFtdcInputOrderActionField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "orderActionRef", kind: 1 }, { js: "orderRef", kind: 0 }, { js: "requestId", kind: 1 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "exchangeId", kind: 0 }, { js: "orderSysId", kind: 0 }, { js: "actionFlag", kind: 0 }, { js: "limitPrice", kind: 3 }, { js: "volumeChange", kind: 1 }, { js: "userId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "ipAddress", kind: 0 }, { js: "orderMemo", kind: 0 }, { js: "sessionReqSeq", kind: 1 }] },
|
|
443
|
+
{ id: 57, name: "OrderAction", cName: "CThostFtdcOrderActionField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "orderActionRef", kind: 1 }, { js: "orderRef", kind: 0 }, { js: "requestId", kind: 1 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "exchangeId", kind: 0 }, { js: "orderSysId", kind: 0 }, { js: "actionFlag", kind: 0 }, { js: "limitPrice", kind: 3 }, { js: "volumeChange", kind: 1 }, { js: "actionDate", kind: 0 }, { js: "actionTime", kind: 0 }, { js: "traderId", kind: 0 }, { js: "installId", kind: 1 }, { js: "orderLocalId", kind: 0 }, { js: "actionLocalId", kind: 0 }, { js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "businessUnit", kind: 0 }, { js: "orderActionStatus", kind: 0 }, { js: "userId", kind: 0 }, { js: "statusMsg", kind: 0 }, { js: "branchId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "ipAddress", kind: 0 }, { js: "orderMemo", kind: 0 }, { js: "sessionReqSeq", kind: 1 }] },
|
|
436
444
|
{ id: 58, name: "ExchangeOrderAction", cName: "CThostFtdcExchangeOrderActionField", fields: [{ js: "exchangeId", kind: 0 }, { js: "orderSysId", kind: 0 }, { js: "actionFlag", kind: 0 }, { js: "limitPrice", kind: 3 }, { js: "volumeChange", kind: 1 }, { js: "actionDate", kind: 0 }, { js: "actionTime", kind: 0 }, { js: "traderId", kind: 0 }, { js: "installId", kind: 1 }, { js: "orderLocalId", kind: 0 }, { js: "actionLocalId", kind: 0 }, { js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "businessUnit", kind: 0 }, { js: "orderActionStatus", kind: 0 }, { js: "userId", kind: 0 }, { js: "branchId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "ipAddress", kind: 0 }] },
|
|
437
445
|
{ id: 59, name: "ExchangeOrderActionError", cName: "CThostFtdcExchangeOrderActionErrorField", fields: [{ js: "exchangeId", kind: 0 }, { js: "orderSysId", kind: 0 }, { js: "traderId", kind: 0 }, { js: "installId", kind: 1 }, { js: "orderLocalId", kind: 0 }, { js: "actionLocalId", kind: 0 }, { js: "errorId", kind: 1 }, { js: "errorMsg", kind: 0 }] },
|
|
438
446
|
{ id: 60, name: "ExchangeTrade", cName: "CThostFtdcExchangeTradeField", fields: [{ js: "exchangeId", kind: 0 }, { js: "tradeId", kind: 0 }, { js: "direction", kind: 0 }, { js: "orderSysId", kind: 0 }, { js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "tradingRole", kind: 0 }, { js: "offsetFlag", kind: 0 }, { js: "hedgeFlag", kind: 0 }, { js: "price", kind: 3 }, { js: "volume", kind: 1 }, { js: "tradeDate", kind: 0 }, { js: "tradeTime", kind: 0 }, { js: "tradeType", kind: 0 }, { js: "priceSource", kind: 0 }, { js: "traderId", kind: 0 }, { js: "orderLocalId", kind: 0 }, { js: "clearingPartId", kind: 0 }, { js: "businessUnit", kind: 0 }, { js: "sequenceNo", kind: 1 }, { js: "tradeSource", kind: 0 }, { js: "exchangeInstId", kind: 0 }] },
|
|
@@ -440,13 +448,13 @@ var STRUCTS = [
|
|
|
440
448
|
{ id: 62, name: "UserSession", cName: "CThostFtdcUserSessionField", fields: [{ js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "loginDate", kind: 0 }, { js: "loginTime", kind: 0 }, { js: "userProductInfo", kind: 0 }, { js: "interfaceProductInfo", kind: 0 }, { js: "protocolInfo", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "loginRemark", kind: 0 }, { js: "ipAddress", kind: 0 }] },
|
|
441
449
|
{ id: 63, name: "QryMaxOrderVolume", cName: "CThostFtdcQryMaxOrderVolumeField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "direction", kind: 0 }, { js: "offsetFlag", kind: 0 }, { js: "hedgeFlag", kind: 0 }, { js: "maxVolume", kind: 1 }, { js: "exchangeId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "instrumentId", kind: 0 }] },
|
|
442
450
|
{ id: 64, name: "SettlementInfoConfirm", cName: "CThostFtdcSettlementInfoConfirmField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "confirmDate", kind: 0 }, { js: "confirmTime", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "accountId", kind: 0 }, { js: "currencyId", kind: 0 }] },
|
|
443
|
-
{ id: 65, name: "SyncDeposit", cName: "CThostFtdcSyncDepositField", fields: [{ js: "depositSeqNo", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "deposit", kind: 3 }, { js: "isForce", kind: 1 }, { js: "currencyId", kind: 0 }, { js: "isFromSopt", kind: 1 }, { js: "tradingPassword", kind: 0 }] },
|
|
451
|
+
{ id: 65, name: "SyncDeposit", cName: "CThostFtdcSyncDepositField", fields: [{ js: "depositSeqNo", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "deposit", kind: 3 }, { js: "isForce", kind: 1 }, { js: "currencyId", kind: 0 }, { js: "isFromSopt", kind: 1 }, { js: "tradingPassword", kind: 0 }, { js: "isSecAgentTranfer", kind: 1 }] },
|
|
444
452
|
{ id: 66, name: "SyncFundMortgage", cName: "CThostFtdcSyncFundMortgageField", fields: [{ js: "mortgageSeqNo", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "fromCurrencyId", kind: 0 }, { js: "mortgageAmount", kind: 3 }, { js: "toCurrencyId", kind: 0 }] },
|
|
445
453
|
{ id: 67, name: "BrokerSync", cName: "CThostFtdcBrokerSyncField", fields: [{ js: "brokerId", kind: 0 }] },
|
|
446
454
|
{ id: 68, name: "SyncingInvestor", cName: "CThostFtdcSyncingInvestorField", fields: [{ js: "investorId", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "investorGroupId", kind: 0 }, { js: "investorName", kind: 0 }, { js: "identifiedCardType", kind: 0 }, { js: "identifiedCardNo", kind: 0 }, { js: "isActive", kind: 1 }, { js: "telephone", kind: 0 }, { js: "address", kind: 0 }, { js: "openDate", kind: 0 }, { js: "mobile", kind: 0 }, { js: "commModelId", kind: 0 }, { js: "marginModelId", kind: 0 }, { js: "isOrderFreq", kind: 0 }, { js: "isOpenVolLimit", kind: 0 }] },
|
|
447
455
|
{ id: 69, name: "SyncingTradingCode", cName: "CThostFtdcSyncingTradingCodeField", fields: [{ js: "investorId", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "isActive", kind: 1 }, { js: "clientIdType", kind: 0 }] },
|
|
448
456
|
{ id: 70, name: "SyncingInvestorGroup", cName: "CThostFtdcSyncingInvestorGroupField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorGroupId", kind: 0 }, { js: "investorGroupName", kind: 0 }] },
|
|
449
|
-
{ id: 71, name: "SyncingTradingAccount", cName: "CThostFtdcSyncingTradingAccountField", fields: [{ js: "brokerId", kind: 0 }, { js: "accountId", kind: 0 }, { js: "preMortgage", kind: 3 }, { js: "preCredit", kind: 3 }, { js: "preDeposit", kind: 3 }, { js: "preBalance", kind: 3 }, { js: "preMargin", kind: 3 }, { js: "interestBase", kind: 3 }, { js: "interest", kind: 3 }, { js: "deposit", kind: 3 }, { js: "withdraw", kind: 3 }, { js: "frozenMargin", kind: 3 }, { js: "frozenCash", kind: 3 }, { js: "frozenCommission", kind: 3 }, { js: "currMargin", kind: 3 }, { js: "cashIn", kind: 3 }, { js: "commission", kind: 3 }, { js: "closeProfit", kind: 3 }, { js: "positionProfit", kind: 3 }, { js: "balance", kind: 3 }, { js: "available", kind: 3 }, { js: "withdrawQuota", kind: 3 }, { js: "reserve", kind: 3 }, { js: "tradingDay", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "credit", kind: 3 }, { js: "mortgage", kind: 3 }, { js: "exchangeMargin", kind: 3 }, { js: "deliveryMargin", kind: 3 }, { js: "exchangeDeliveryMargin", kind: 3 }, { js: "reserveBalance", kind: 3 }, { js: "currencyId", kind: 0 }, { js: "preFundMortgageIn", kind: 3 }, { js: "preFundMortgageOut", kind: 3 }, { js: "fundMortgageIn", kind: 3 }, { js: "fundMortgageOut", kind: 3 }, { js: "fundMortgageAvailable", kind: 3 }, { js: "mortgageableFund", kind: 3 }, { js: "specProductMargin", kind: 3 }, { js: "specProductFrozenMargin", kind: 3 }, { js: "specProductCommission", kind: 3 }, { js: "specProductFrozenCommission", kind: 3 }, { js: "specProductPositionProfit", kind: 3 }, { js: "specProductCloseProfit", kind: 3 }, { js: "specProductPositionProfitByAlg", kind: 3 }, { js: "specProductExchangeMargin", kind: 3 }, { js: "frozenSwap", kind: 3 }, { js: "remainSwap", kind: 3 }] },
|
|
457
|
+
{ id: 71, name: "SyncingTradingAccount", cName: "CThostFtdcSyncingTradingAccountField", fields: [{ js: "brokerId", kind: 0 }, { js: "accountId", kind: 0 }, { js: "preMortgage", kind: 3 }, { js: "preCredit", kind: 3 }, { js: "preDeposit", kind: 3 }, { js: "preBalance", kind: 3 }, { js: "preMargin", kind: 3 }, { js: "interestBase", kind: 3 }, { js: "interest", kind: 3 }, { js: "deposit", kind: 3 }, { js: "withdraw", kind: 3 }, { js: "frozenMargin", kind: 3 }, { js: "frozenCash", kind: 3 }, { js: "frozenCommission", kind: 3 }, { js: "currMargin", kind: 3 }, { js: "cashIn", kind: 3 }, { js: "commission", kind: 3 }, { js: "closeProfit", kind: 3 }, { js: "positionProfit", kind: 3 }, { js: "balance", kind: 3 }, { js: "available", kind: 3 }, { js: "withdrawQuota", kind: 3 }, { js: "reserve", kind: 3 }, { js: "tradingDay", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "credit", kind: 3 }, { js: "mortgage", kind: 3 }, { js: "exchangeMargin", kind: 3 }, { js: "deliveryMargin", kind: 3 }, { js: "exchangeDeliveryMargin", kind: 3 }, { js: "reserveBalance", kind: 3 }, { js: "currencyId", kind: 0 }, { js: "preFundMortgageIn", kind: 3 }, { js: "preFundMortgageOut", kind: 3 }, { js: "fundMortgageIn", kind: 3 }, { js: "fundMortgageOut", kind: 3 }, { js: "fundMortgageAvailable", kind: 3 }, { js: "mortgageableFund", kind: 3 }, { js: "specProductMargin", kind: 3 }, { js: "specProductFrozenMargin", kind: 3 }, { js: "specProductCommission", kind: 3 }, { js: "specProductFrozenCommission", kind: 3 }, { js: "specProductPositionProfit", kind: 3 }, { js: "specProductCloseProfit", kind: 3 }, { js: "specProductPositionProfitByAlg", kind: 3 }, { js: "specProductExchangeMargin", kind: 3 }, { js: "frozenSwap", kind: 3 }, { js: "remainSwap", kind: 3 }, { js: "optionValue", kind: 3 }] },
|
|
450
458
|
{ id: 72, name: "SyncingInvestorPosition", cName: "CThostFtdcSyncingInvestorPositionField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "posiDirection", kind: 0 }, { js: "hedgeFlag", kind: 0 }, { js: "positionDate", kind: 0 }, { js: "ydPosition", kind: 1 }, { js: "position", kind: 1 }, { js: "longFrozen", kind: 1 }, { js: "shortFrozen", kind: 1 }, { js: "longFrozenAmount", kind: 3 }, { js: "shortFrozenAmount", kind: 3 }, { js: "openVolume", kind: 1 }, { js: "closeVolume", kind: 1 }, { js: "openAmount", kind: 3 }, { js: "closeAmount", kind: 3 }, { js: "positionCost", kind: 3 }, { js: "preMargin", kind: 3 }, { js: "useMargin", kind: 3 }, { js: "frozenMargin", kind: 3 }, { js: "frozenCash", kind: 3 }, { js: "frozenCommission", kind: 3 }, { js: "cashIn", kind: 3 }, { js: "commission", kind: 3 }, { js: "closeProfit", kind: 3 }, { js: "positionProfit", kind: 3 }, { js: "preSettlementPrice", kind: 3 }, { js: "settlementPrice", kind: 3 }, { js: "tradingDay", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "openCost", kind: 3 }, { js: "exchangeMargin", kind: 3 }, { js: "combPosition", kind: 1 }, { js: "combLongFrozen", kind: 1 }, { js: "combShortFrozen", kind: 1 }, { js: "closeProfitByDate", kind: 3 }, { js: "closeProfitByTrade", kind: 3 }, { js: "todayPosition", kind: 1 }, { js: "marginRateByMoney", kind: 3 }, { js: "marginRateByVolume", kind: 3 }, { js: "strikeFrozen", kind: 1 }, { js: "strikeFrozenAmount", kind: 3 }, { js: "abandonFrozen", kind: 1 }, { js: "exchangeId", kind: 0 }, { js: "ydStrikeFrozen", kind: 1 }, { js: "investUnitId", kind: 0 }, { js: "positionCostOffset", kind: 3 }, { js: "tasPosition", kind: 1 }, { js: "tasPositionCost", kind: 3 }, { js: "instrumentId", kind: 0 }] },
|
|
451
459
|
{ id: 73, name: "SyncingInstrumentMarginRate", cName: "CThostFtdcSyncingInstrumentMarginRateField", fields: [{ js: "investorRange", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "hedgeFlag", kind: 0 }, { js: "longMarginRatioByMoney", kind: 3 }, { js: "longMarginRatioByVolume", kind: 3 }, { js: "shortMarginRatioByMoney", kind: 3 }, { js: "shortMarginRatioByVolume", kind: 3 }, { js: "isRelative", kind: 1 }, { js: "instrumentId", kind: 0 }] },
|
|
452
460
|
{ id: 74, name: "SyncingInstrumentCommissionRate", cName: "CThostFtdcSyncingInstrumentCommissionRateField", fields: [{ js: "investorRange", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "openRatioByMoney", kind: 3 }, { js: "openRatioByVolume", kind: 3 }, { js: "closeRatioByMoney", kind: 3 }, { js: "closeRatioByVolume", kind: 3 }, { js: "closeTodayRatioByMoney", kind: 3 }, { js: "closeTodayRatioByVolume", kind: 3 }, { js: "instrumentId", kind: 0 }] },
|
|
@@ -474,7 +482,7 @@ var STRUCTS = [
|
|
|
474
482
|
{ id: 96, name: "QryExchange", cName: "CThostFtdcQryExchangeField", fields: [{ js: "exchangeId", kind: 0 }] },
|
|
475
483
|
{ id: 97, name: "QryProduct", cName: "CThostFtdcQryProductField", fields: [{ js: "productClass", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "productId", kind: 0 }] },
|
|
476
484
|
{ id: 98, name: "QryInstrument", cName: "CThostFtdcQryInstrumentField", fields: [{ js: "exchangeId", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "exchangeInstId", kind: 0 }, { js: "productId", kind: 0 }] },
|
|
477
|
-
{ id: 99, name: "QryDepthMarketData", cName: "CThostFtdcQryDepthMarketDataField", fields: [{ js: "exchangeId", kind: 0 }, { js: "instrumentId", kind: 0 }] },
|
|
485
|
+
{ id: 99, name: "QryDepthMarketData", cName: "CThostFtdcQryDepthMarketDataField", fields: [{ js: "exchangeId", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "productClass", kind: 0 }] },
|
|
478
486
|
{ id: 100, name: "QryBrokerUser", cName: "CThostFtdcQryBrokerUserField", fields: [{ js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }] },
|
|
479
487
|
{ id: 101, name: "QryBrokerUserFunction", cName: "CThostFtdcQryBrokerUserFunctionField", fields: [{ js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }] },
|
|
480
488
|
{ id: 102, name: "QryTraderOffer", cName: "CThostFtdcQryTraderOfferField", fields: [{ js: "exchangeId", kind: 0 }, { js: "participantId", kind: 0 }, { js: "traderId", kind: 0 }] },
|
|
@@ -513,10 +521,10 @@ var STRUCTS = [
|
|
|
513
521
|
{ id: 135, name: "QryForQuote", cName: "CThostFtdcQryForQuoteField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "insertTimeStart", kind: 0 }, { js: "insertTimeEnd", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "instrumentId", kind: 0 }] },
|
|
514
522
|
{ id: 136, name: "ExchangeForQuote", cName: "CThostFtdcExchangeForQuoteField", fields: [{ js: "forQuoteLocalId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "traderId", kind: 0 }, { js: "installId", kind: 1 }, { js: "insertDate", kind: 0 }, { js: "insertTime", kind: 0 }, { js: "forQuoteStatus", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "exchangeInstId", kind: 0 }, { js: "ipAddress", kind: 0 }] },
|
|
515
523
|
{ id: 137, name: "QryExchangeForQuote", cName: "CThostFtdcQryExchangeForQuoteField", fields: [{ js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "traderId", kind: 0 }, { js: "exchangeInstId", kind: 0 }] },
|
|
516
|
-
{ id: 138, name: "InputQuote", cName: "CThostFtdcInputQuoteField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "quoteRef", kind: 0 }, { js: "userId", kind: 0 }, { js: "askPrice", kind: 3 }, { js: "bidPrice", kind: 3 }, { js: "askVolume", kind: 1 }, { js: "bidVolume", kind: 1 }, { js: "requestId", kind: 1 }, { js: "businessUnit", kind: 0 }, { js: "askOffsetFlag", kind: 0 }, { js: "bidOffsetFlag", kind: 0 }, { js: "askHedgeFlag", kind: 0 }, { js: "bidHedgeFlag", kind: 0 }, { js: "askOrderRef", kind: 0 }, { js: "bidOrderRef", kind: 0 }, { js: "forQuoteSysId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "ipAddress", kind: 0 }, { js: "replaceSysId", kind: 0 }, { js: "timeCondition", kind: 0 }] },
|
|
517
|
-
{ id: 139, name: "InputQuoteAction", cName: "CThostFtdcInputQuoteActionField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "quoteActionRef", kind: 1 }, { js: "quoteRef", kind: 0 }, { js: "requestId", kind: 1 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "exchangeId", kind: 0 }, { js: "quoteSysId", kind: 0 }, { js: "actionFlag", kind: 0 }, { js: "userId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "ipAddress", kind: 0 }] },
|
|
518
|
-
{ id: 140, name: "Quote", cName: "CThostFtdcQuoteField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "quoteRef", kind: 0 }, { js: "userId", kind: 0 }, { js: "askPrice", kind: 3 }, { js: "bidPrice", kind: 3 }, { js: "askVolume", kind: 1 }, { js: "bidVolume", kind: 1 }, { js: "requestId", kind: 1 }, { js: "businessUnit", kind: 0 }, { js: "askOffsetFlag", kind: 0 }, { js: "bidOffsetFlag", kind: 0 }, { js: "askHedgeFlag", kind: 0 }, { js: "bidHedgeFlag", kind: 0 }, { js: "quoteLocalId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "traderId", kind: 0 }, { js: "installId", kind: 1 }, { js: "notifySequence", kind: 1 }, { js: "orderSubmitStatus", kind: 0 }, { js: "tradingDay", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "quoteSysId", kind: 0 }, { js: "insertDate", kind: 0 }, { js: "insertTime", kind: 0 }, { js: "cancelTime", kind: 0 }, { js: "quoteStatus", kind: 0 }, { js: "clearingPartId", kind: 0 }, { js: "sequenceNo", kind: 1 }, { js: "askOrderSysId", kind: 0 }, { js: "bidOrderSysId", kind: 0 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "userProductInfo", kind: 0 }, { js: "statusMsg", kind: 0 }, { js: "activeUserId", kind: 0 }, { js: "brokerQuoteSeq", kind: 1 }, { js: "askOrderRef", kind: 0 }, { js: "bidOrderRef", kind: 0 }, { js: "forQuoteSysId", kind: 0 }, { js: "branchId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "accountId", kind: 0 }, { js: "currencyId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "exchangeInstId", kind: 0 }, { js: "ipAddress", kind: 0 }, { js: "replaceSysId", kind: 0 }, { js: "timeCondition", kind: 0 }] },
|
|
519
|
-
{ id: 141, name: "QuoteAction", cName: "CThostFtdcQuoteActionField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "quoteActionRef", kind: 1 }, { js: "quoteRef", kind: 0 }, { js: "requestId", kind: 1 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "exchangeId", kind: 0 }, { js: "quoteSysId", kind: 0 }, { js: "actionFlag", kind: 0 }, { js: "actionDate", kind: 0 }, { js: "actionTime", kind: 0 }, { js: "traderId", kind: 0 }, { js: "installId", kind: 1 }, { js: "quoteLocalId", kind: 0 }, { js: "actionLocalId", kind: 0 }, { js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "businessUnit", kind: 0 }, { js: "orderActionStatus", kind: 0 }, { js: "userId", kind: 0 }, { js: "statusMsg", kind: 0 }, { js: "branchId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "ipAddress", kind: 0 }] },
|
|
524
|
+
{ id: 138, name: "InputQuote", cName: "CThostFtdcInputQuoteField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "quoteRef", kind: 0 }, { js: "userId", kind: 0 }, { js: "askPrice", kind: 3 }, { js: "bidPrice", kind: 3 }, { js: "askVolume", kind: 1 }, { js: "bidVolume", kind: 1 }, { js: "requestId", kind: 1 }, { js: "businessUnit", kind: 0 }, { js: "askOffsetFlag", kind: 0 }, { js: "bidOffsetFlag", kind: 0 }, { js: "askHedgeFlag", kind: 0 }, { js: "bidHedgeFlag", kind: 0 }, { js: "askOrderRef", kind: 0 }, { js: "bidOrderRef", kind: 0 }, { js: "forQuoteSysId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "ipAddress", kind: 0 }, { js: "replaceSysId", kind: 0 }, { js: "timeCondition", kind: 0 }, { js: "orderMemo", kind: 0 }, { js: "sessionReqSeq", kind: 1 }] },
|
|
525
|
+
{ id: 139, name: "InputQuoteAction", cName: "CThostFtdcInputQuoteActionField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "quoteActionRef", kind: 1 }, { js: "quoteRef", kind: 0 }, { js: "requestId", kind: 1 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "exchangeId", kind: 0 }, { js: "quoteSysId", kind: 0 }, { js: "actionFlag", kind: 0 }, { js: "userId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "ipAddress", kind: 0 }, { js: "orderMemo", kind: 0 }, { js: "sessionReqSeq", kind: 1 }] },
|
|
526
|
+
{ id: 140, name: "Quote", cName: "CThostFtdcQuoteField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "quoteRef", kind: 0 }, { js: "userId", kind: 0 }, { js: "askPrice", kind: 3 }, { js: "bidPrice", kind: 3 }, { js: "askVolume", kind: 1 }, { js: "bidVolume", kind: 1 }, { js: "requestId", kind: 1 }, { js: "businessUnit", kind: 0 }, { js: "askOffsetFlag", kind: 0 }, { js: "bidOffsetFlag", kind: 0 }, { js: "askHedgeFlag", kind: 0 }, { js: "bidHedgeFlag", kind: 0 }, { js: "quoteLocalId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "traderId", kind: 0 }, { js: "installId", kind: 1 }, { js: "notifySequence", kind: 1 }, { js: "orderSubmitStatus", kind: 0 }, { js: "tradingDay", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "quoteSysId", kind: 0 }, { js: "insertDate", kind: 0 }, { js: "insertTime", kind: 0 }, { js: "cancelTime", kind: 0 }, { js: "quoteStatus", kind: 0 }, { js: "clearingPartId", kind: 0 }, { js: "sequenceNo", kind: 1 }, { js: "askOrderSysId", kind: 0 }, { js: "bidOrderSysId", kind: 0 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "userProductInfo", kind: 0 }, { js: "statusMsg", kind: 0 }, { js: "activeUserId", kind: 0 }, { js: "brokerQuoteSeq", kind: 1 }, { js: "askOrderRef", kind: 0 }, { js: "bidOrderRef", kind: 0 }, { js: "forQuoteSysId", kind: 0 }, { js: "branchId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "accountId", kind: 0 }, { js: "currencyId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "exchangeInstId", kind: 0 }, { js: "ipAddress", kind: 0 }, { js: "replaceSysId", kind: 0 }, { js: "timeCondition", kind: 0 }, { js: "orderMemo", kind: 0 }, { js: "sessionReqSeq", kind: 1 }] },
|
|
527
|
+
{ id: 141, name: "QuoteAction", cName: "CThostFtdcQuoteActionField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "quoteActionRef", kind: 1 }, { js: "quoteRef", kind: 0 }, { js: "requestId", kind: 1 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "exchangeId", kind: 0 }, { js: "quoteSysId", kind: 0 }, { js: "actionFlag", kind: 0 }, { js: "actionDate", kind: 0 }, { js: "actionTime", kind: 0 }, { js: "traderId", kind: 0 }, { js: "installId", kind: 1 }, { js: "quoteLocalId", kind: 0 }, { js: "actionLocalId", kind: 0 }, { js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "businessUnit", kind: 0 }, { js: "orderActionStatus", kind: 0 }, { js: "userId", kind: 0 }, { js: "statusMsg", kind: 0 }, { js: "branchId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "ipAddress", kind: 0 }, { js: "orderMemo", kind: 0 }, { js: "sessionReqSeq", kind: 1 }] },
|
|
520
528
|
{ id: 142, name: "QryQuote", cName: "CThostFtdcQryQuoteField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "quoteSysId", kind: 0 }, { js: "insertTimeStart", kind: 0 }, { js: "insertTimeEnd", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "instrumentId", kind: 0 }] },
|
|
521
529
|
{ id: 143, name: "ExchangeQuote", cName: "CThostFtdcExchangeQuoteField", fields: [{ js: "askPrice", kind: 3 }, { js: "bidPrice", kind: 3 }, { js: "askVolume", kind: 1 }, { js: "bidVolume", kind: 1 }, { js: "requestId", kind: 1 }, { js: "businessUnit", kind: 0 }, { js: "askOffsetFlag", kind: 0 }, { js: "bidOffsetFlag", kind: 0 }, { js: "askHedgeFlag", kind: 0 }, { js: "bidHedgeFlag", kind: 0 }, { js: "quoteLocalId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "traderId", kind: 0 }, { js: "installId", kind: 1 }, { js: "notifySequence", kind: 1 }, { js: "orderSubmitStatus", kind: 0 }, { js: "tradingDay", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "quoteSysId", kind: 0 }, { js: "insertDate", kind: 0 }, { js: "insertTime", kind: 0 }, { js: "cancelTime", kind: 0 }, { js: "quoteStatus", kind: 0 }, { js: "clearingPartId", kind: 0 }, { js: "sequenceNo", kind: 1 }, { js: "askOrderSysId", kind: 0 }, { js: "bidOrderSysId", kind: 0 }, { js: "forQuoteSysId", kind: 0 }, { js: "branchId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "exchangeInstId", kind: 0 }, { js: "ipAddress", kind: 0 }, { js: "timeCondition", kind: 0 }] },
|
|
522
530
|
{ id: 144, name: "QryExchangeQuote", cName: "CThostFtdcQryExchangeQuoteField", fields: [{ js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "traderId", kind: 0 }, { js: "exchangeInstId", kind: 0 }] },
|
|
@@ -609,7 +617,7 @@ var STRUCTS = [
|
|
|
609
617
|
{ id: 231, name: "QryBrokerUserEvent", cName: "CThostFtdcQryBrokerUserEventField", fields: [{ js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "userEventType", kind: 0 }] },
|
|
610
618
|
{ id: 232, name: "BrokerUserEvent", cName: "CThostFtdcBrokerUserEventField", fields: [{ js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "userEventType", kind: 0 }, { js: "eventSequenceNo", kind: 1 }, { js: "eventDate", kind: 0 }, { js: "eventTime", kind: 0 }, { js: "userEventInfo", kind: 0 }, { js: "investorId", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "drIdentityId", kind: 1 }, { js: "tradingDay", kind: 0 }] },
|
|
611
619
|
{ id: 233, name: "QryContractBank", cName: "CThostFtdcQryContractBankField", fields: [{ js: "brokerId", kind: 0 }, { js: "bankId", kind: 0 }, { js: "bankBrchId", kind: 0 }] },
|
|
612
|
-
{ id: 234, name: "ContractBank", cName: "CThostFtdcContractBankField", fields: [{ js: "brokerId", kind: 0 }, { js: "bankId", kind: 0 }, { js: "bankBrchId", kind: 0 }, { js: "bankName", kind: 0 }] },
|
|
620
|
+
{ id: 234, name: "ContractBank", cName: "CThostFtdcContractBankField", fields: [{ js: "brokerId", kind: 0 }, { js: "bankId", kind: 0 }, { js: "bankBrchId", kind: 0 }, { js: "bankName", kind: 0 }, { js: "csrcBankId", kind: 0 }] },
|
|
613
621
|
{ id: 235, name: "InvestorPositionCombineDetail", cName: "CThostFtdcInvestorPositionCombineDetailField", fields: [{ js: "tradingDay", kind: 0 }, { js: "openDate", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "comTradeId", kind: 0 }, { js: "tradeId", kind: 0 }, { js: "hedgeFlag", kind: 0 }, { js: "direction", kind: 0 }, { js: "totalAmt", kind: 1 }, { js: "margin", kind: 3 }, { js: "exchMargin", kind: 3 }, { js: "marginRateByMoney", kind: 3 }, { js: "marginRateByVolume", kind: 3 }, { js: "legId", kind: 1 }, { js: "legMultiple", kind: 1 }, { js: "tradeGroupId", kind: 1 }, { js: "investUnitId", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "combInstrumentId", kind: 0 }] },
|
|
614
622
|
{ id: 236, name: "ParkedOrder", cName: "CThostFtdcParkedOrderField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "orderRef", kind: 0 }, { js: "userId", kind: 0 }, { js: "orderPriceType", kind: 0 }, { js: "direction", kind: 0 }, { js: "combOffsetFlag", kind: 0 }, { js: "combHedgeFlag", kind: 0 }, { js: "limitPrice", kind: 3 }, { js: "volumeTotalOriginal", kind: 1 }, { js: "timeCondition", kind: 0 }, { js: "gtdDate", kind: 0 }, { js: "volumeCondition", kind: 0 }, { js: "minVolume", kind: 1 }, { js: "contingentCondition", kind: 0 }, { js: "stopPrice", kind: 3 }, { js: "forceCloseReason", kind: 0 }, { js: "isAutoSuspend", kind: 1 }, { js: "businessUnit", kind: 0 }, { js: "requestId", kind: 1 }, { js: "userForceClose", kind: 1 }, { js: "exchangeId", kind: 0 }, { js: "parkedOrderId", kind: 0 }, { js: "userType", kind: 0 }, { js: "status", kind: 0 }, { js: "errorId", kind: 1 }, { js: "errorMsg", kind: 0 }, { js: "isSwapOrder", kind: 1 }, { js: "accountId", kind: 0 }, { js: "currencyId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "ipAddress", kind: 0 }] },
|
|
615
623
|
{ id: 237, name: "ParkedOrderAction", cName: "CThostFtdcParkedOrderActionField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "orderActionRef", kind: 1 }, { js: "orderRef", kind: 0 }, { js: "requestId", kind: 1 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "exchangeId", kind: 0 }, { js: "orderSysId", kind: 0 }, { js: "actionFlag", kind: 0 }, { js: "limitPrice", kind: 3 }, { js: "volumeChange", kind: 1 }, { js: "userId", kind: 0 }, { js: "parkedOrderActionId", kind: 0 }, { js: "userType", kind: 0 }, { js: "status", kind: 0 }, { js: "errorId", kind: 1 }, { js: "errorMsg", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "ipAddress", kind: 0 }] },
|
|
@@ -626,10 +634,10 @@ var STRUCTS = [
|
|
|
626
634
|
{ id: 248, name: "TradingNotice", cName: "CThostFtdcTradingNoticeField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorRange", kind: 0 }, { js: "investorId", kind: 0 }, { js: "sequenceSeries", kind: 2 }, { js: "userId", kind: 0 }, { js: "sendTime", kind: 0 }, { js: "sequenceNo", kind: 1 }, { js: "fieldContent", kind: 0 }, { js: "investUnitId", kind: 0 }] },
|
|
627
635
|
{ id: 249, name: "QryTradingNotice", cName: "CThostFtdcQryTradingNoticeField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "investUnitId", kind: 0 }] },
|
|
628
636
|
{ id: 250, name: "QryErrOrder", cName: "CThostFtdcQryErrOrderField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }] },
|
|
629
|
-
{ id: 251, name: "ErrOrder", cName: "CThostFtdcErrOrderField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "orderRef", kind: 0 }, { js: "userId", kind: 0 }, { js: "orderPriceType", kind: 0 }, { js: "direction", kind: 0 }, { js: "combOffsetFlag", kind: 0 }, { js: "combHedgeFlag", kind: 0 }, { js: "limitPrice", kind: 3 }, { js: "volumeTotalOriginal", kind: 1 }, { js: "timeCondition", kind: 0 }, { js: "gtdDate", kind: 0 }, { js: "volumeCondition", kind: 0 }, { js: "minVolume", kind: 1 }, { js: "contingentCondition", kind: 0 }, { js: "stopPrice", kind: 3 }, { js: "forceCloseReason", kind: 0 }, { js: "isAutoSuspend", kind: 1 }, { js: "businessUnit", kind: 0 }, { js: "requestId", kind: 1 }, { js: "userForceClose", kind: 1 }, { js: "errorId", kind: 1 }, { js: "errorMsg", kind: 0 }, { js: "isSwapOrder", kind: 1 }, { js: "exchangeId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "accountId", kind: 0 }, { js: "currencyId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "ipAddress", kind: 0 }] },
|
|
637
|
+
{ id: 251, name: "ErrOrder", cName: "CThostFtdcErrOrderField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "orderRef", kind: 0 }, { js: "userId", kind: 0 }, { js: "orderPriceType", kind: 0 }, { js: "direction", kind: 0 }, { js: "combOffsetFlag", kind: 0 }, { js: "combHedgeFlag", kind: 0 }, { js: "limitPrice", kind: 3 }, { js: "volumeTotalOriginal", kind: 1 }, { js: "timeCondition", kind: 0 }, { js: "gtdDate", kind: 0 }, { js: "volumeCondition", kind: 0 }, { js: "minVolume", kind: 1 }, { js: "contingentCondition", kind: 0 }, { js: "stopPrice", kind: 3 }, { js: "forceCloseReason", kind: 0 }, { js: "isAutoSuspend", kind: 1 }, { js: "businessUnit", kind: 0 }, { js: "requestId", kind: 1 }, { js: "userForceClose", kind: 1 }, { js: "errorId", kind: 1 }, { js: "errorMsg", kind: 0 }, { js: "isSwapOrder", kind: 1 }, { js: "exchangeId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "accountId", kind: 0 }, { js: "currencyId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "ipAddress", kind: 0 }, { js: "orderMemo", kind: 0 }, { js: "sessionReqSeq", kind: 1 }] },
|
|
630
638
|
{ id: 252, name: "ErrorConditionalOrder", cName: "CThostFtdcErrorConditionalOrderField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "orderRef", kind: 0 }, { js: "userId", kind: 0 }, { js: "orderPriceType", kind: 0 }, { js: "direction", kind: 0 }, { js: "combOffsetFlag", kind: 0 }, { js: "combHedgeFlag", kind: 0 }, { js: "limitPrice", kind: 3 }, { js: "volumeTotalOriginal", kind: 1 }, { js: "timeCondition", kind: 0 }, { js: "gtdDate", kind: 0 }, { js: "volumeCondition", kind: 0 }, { js: "minVolume", kind: 1 }, { js: "contingentCondition", kind: 0 }, { js: "stopPrice", kind: 3 }, { js: "forceCloseReason", kind: 0 }, { js: "isAutoSuspend", kind: 1 }, { js: "businessUnit", kind: 0 }, { js: "requestId", kind: 1 }, { js: "orderLocalId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "traderId", kind: 0 }, { js: "installId", kind: 1 }, { js: "orderSubmitStatus", kind: 0 }, { js: "notifySequence", kind: 1 }, { js: "tradingDay", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "orderSysId", kind: 0 }, { js: "orderSource", kind: 0 }, { js: "orderStatus", kind: 0 }, { js: "orderType", kind: 0 }, { js: "volumeTraded", kind: 1 }, { js: "volumeTotal", kind: 1 }, { js: "insertDate", kind: 0 }, { js: "insertTime", kind: 0 }, { js: "activeTime", kind: 0 }, { js: "suspendTime", kind: 0 }, { js: "updateTime", kind: 0 }, { js: "cancelTime", kind: 0 }, { js: "activeTraderId", kind: 0 }, { js: "clearingPartId", kind: 0 }, { js: "sequenceNo", kind: 1 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "userProductInfo", kind: 0 }, { js: "statusMsg", kind: 0 }, { js: "userForceClose", kind: 1 }, { js: "activeUserId", kind: 0 }, { js: "brokerOrderSeq", kind: 1 }, { js: "relativeOrderSysId", kind: 0 }, { js: "zceTotalTradedVolume", kind: 1 }, { js: "errorId", kind: 1 }, { js: "errorMsg", kind: 0 }, { js: "isSwapOrder", kind: 1 }, { js: "branchId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "accountId", kind: 0 }, { js: "currencyId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "exchangeInstId", kind: 0 }, { js: "ipAddress", kind: 0 }] },
|
|
631
639
|
{ id: 253, name: "QryErrOrderAction", cName: "CThostFtdcQryErrOrderActionField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }] },
|
|
632
|
-
{ id: 254, name: "ErrOrderAction", cName: "CThostFtdcErrOrderActionField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "orderActionRef", kind: 1 }, { js: "orderRef", kind: 0 }, { js: "requestId", kind: 1 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "exchangeId", kind: 0 }, { js: "orderSysId", kind: 0 }, { js: "actionFlag", kind: 0 }, { js: "limitPrice", kind: 3 }, { js: "volumeChange", kind: 1 }, { js: "actionDate", kind: 0 }, { js: "actionTime", kind: 0 }, { js: "traderId", kind: 0 }, { js: "installId", kind: 1 }, { js: "orderLocalId", kind: 0 }, { js: "actionLocalId", kind: 0 }, { js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "businessUnit", kind: 0 }, { js: "orderActionStatus", kind: 0 }, { js: "userId", kind: 0 }, { js: "statusMsg", kind: 0 }, { js: "branchId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "errorId", kind: 1 }, { js: "errorMsg", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "ipAddress", kind: 0 }] },
|
|
640
|
+
{ id: 254, name: "ErrOrderAction", cName: "CThostFtdcErrOrderActionField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "orderActionRef", kind: 1 }, { js: "orderRef", kind: 0 }, { js: "requestId", kind: 1 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "exchangeId", kind: 0 }, { js: "orderSysId", kind: 0 }, { js: "actionFlag", kind: 0 }, { js: "limitPrice", kind: 3 }, { js: "volumeChange", kind: 1 }, { js: "actionDate", kind: 0 }, { js: "actionTime", kind: 0 }, { js: "traderId", kind: 0 }, { js: "installId", kind: 1 }, { js: "orderLocalId", kind: 0 }, { js: "actionLocalId", kind: 0 }, { js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "businessUnit", kind: 0 }, { js: "orderActionStatus", kind: 0 }, { js: "userId", kind: 0 }, { js: "statusMsg", kind: 0 }, { js: "branchId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "errorId", kind: 1 }, { js: "errorMsg", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "ipAddress", kind: 0 }, { js: "orderMemo", kind: 0 }, { js: "sessionReqSeq", kind: 1 }] },
|
|
633
641
|
{ id: 255, name: "QryExchangeSequence", cName: "CThostFtdcQryExchangeSequenceField", fields: [{ js: "exchangeId", kind: 0 }] },
|
|
634
642
|
{ id: 256, name: "ExchangeSequence", cName: "CThostFtdcExchangeSequenceField", fields: [{ js: "exchangeId", kind: 0 }, { js: "sequenceNo", kind: 1 }, { js: "marketStatus", kind: 0 }] },
|
|
635
643
|
{ id: 257, name: "QryMaxOrderVolumeWithPrice", cName: "CThostFtdcQryMaxOrderVolumeWithPriceField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "direction", kind: 0 }, { js: "offsetFlag", kind: 0 }, { js: "hedgeFlag", kind: 0 }, { js: "maxVolume", kind: 1 }, { js: "price", kind: 3 }, { js: "exchangeId", kind: 0 }, { js: "investUnitId", kind: 0 }, { js: "instrumentId", kind: 0 }] },
|
|
@@ -729,17 +737,17 @@ var STRUCTS = [
|
|
|
729
737
|
{ id: 351, name: "RspApiHandshake", cName: "CThostFtdcRspApiHandshakeField", fields: [{ js: "frontHandshakeDataLen", kind: 1 }, { js: "frontHandshakeData", kind: 0 }, { js: "isApiAuthEnabled", kind: 1 }] },
|
|
730
738
|
{ id: 352, name: "ReqVerifyApiKey", cName: "CThostFtdcReqVerifyApiKeyField", fields: [{ js: "apiHandshakeDataLen", kind: 1 }, { js: "apiHandshakeData", kind: 0 }] },
|
|
731
739
|
{ id: 353, name: "DepartmentUser", cName: "CThostFtdcDepartmentUserField", fields: [{ js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "investorRange", kind: 0 }, { js: "investorId", kind: 0 }] },
|
|
732
|
-
{ id: 354, name: "QueryFreq", cName: "CThostFtdcQueryFreqField", fields: [{ js: "queryFreq", kind: 1 }] },
|
|
740
|
+
{ id: 354, name: "QueryFreq", cName: "CThostFtdcQueryFreqField", fields: [{ js: "queryFreq", kind: 1 }, { js: "ftdPkgFreq", kind: 1 }] },
|
|
733
741
|
{ id: 355, name: "AuthForbiddenIP", cName: "CThostFtdcAuthForbiddenIPField", fields: [{ js: "ipAddress", kind: 0 }] },
|
|
734
742
|
{ id: 356, name: "QryAuthForbiddenIP", cName: "CThostFtdcQryAuthForbiddenIPField", fields: [{ js: "ipAddress", kind: 0 }] },
|
|
735
743
|
{ id: 357, name: "SyncDelaySwapFrozen", cName: "CThostFtdcSyncDelaySwapFrozenField", fields: [{ js: "delaySwapSeqNo", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "fromCurrencyId", kind: 0 }, { js: "fromRemainSwap", kind: 3 }, { js: "isManualSwap", kind: 1 }] },
|
|
736
|
-
{ id: 358, name: "UserSystemInfo", cName: "CThostFtdcUserSystemInfoField", fields: [{ js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "clientSystemInfoLen", kind: 1 }, { js: "clientSystemInfo", kind: 0 }, { js: "clientIpPort", kind: 1 }, { js: "clientLoginTime", kind: 0 }, { js: "clientAppId", kind: 0 }, { js: "clientPublicIp", kind: 0 }, { js: "clientLoginRemark", kind: 0 }] },
|
|
744
|
+
{ id: 358, name: "UserSystemInfo", cName: "CThostFtdcUserSystemInfoField", fields: [{ js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "clientSystemInfoLen", kind: 1 }, { js: "clientSystemInfo", kind: 0 }, { js: "clientIpPort", kind: 1 }, { js: "clientLoginTime", kind: 0 }, { js: "clientAppId", kind: 0 }, { js: "clientPublicIp", kind: 0 }, { js: "clientLoginRemark", kind: 0 }, { js: "mac", kind: 0 }] },
|
|
737
745
|
{ id: 359, name: "AuthUserID", cName: "CThostFtdcAuthUserIDField", fields: [{ js: "brokerId", kind: 0 }, { js: "appId", kind: 0 }, { js: "userId", kind: 0 }, { js: "authType", kind: 0 }] },
|
|
738
746
|
{ id: 360, name: "AuthIP", cName: "CThostFtdcAuthIPField", fields: [{ js: "brokerId", kind: 0 }, { js: "appId", kind: 0 }, { js: "ipAddress", kind: 0 }] },
|
|
739
747
|
{ id: 361, name: "QryClassifiedInstrument", cName: "CThostFtdcQryClassifiedInstrumentField", fields: [{ js: "instrumentId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "exchangeInstId", kind: 0 }, { js: "productId", kind: 0 }, { js: "tradingType", kind: 0 }, { js: "classType", kind: 0 }] },
|
|
740
748
|
{ id: 362, name: "QryCombPromotionParam", cName: "CThostFtdcQryCombPromotionParamField", fields: [{ js: "exchangeId", kind: 0 }, { js: "instrumentId", kind: 0 }] },
|
|
741
749
|
{ id: 363, name: "CombPromotionParam", cName: "CThostFtdcCombPromotionParamField", fields: [{ js: "exchangeId", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "combHedgeFlag", kind: 0 }, { js: "xparameter", kind: 3 }] },
|
|
742
|
-
{ id: 364, name: "
|
|
750
|
+
{ id: 364, name: "ReqUserLoginSM", cName: "CThostFtdcReqUserLoginSMField", fields: [{ js: "tradingDay", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "password", kind: 0 }, { js: "userProductInfo", kind: 0 }, { js: "interfaceProductInfo", kind: 0 }, { js: "protocolInfo", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "oneTimePassword", kind: 0 }, { js: "loginRemark", kind: 0 }, { js: "clientIpPort", kind: 1 }, { js: "clientIpAddress", kind: 0 }, { js: "smsCode", kind: 0 }, { js: "brokerName", kind: 0 }, { js: "authCode", kind: 0 }, { js: "appId", kind: 0 }, { js: "pin", kind: 0 }] },
|
|
743
751
|
{ id: 365, name: "QryRiskSettleInvstPosition", cName: "CThostFtdcQryRiskSettleInvstPositionField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "instrumentId", kind: 0 }] },
|
|
744
752
|
{ id: 366, name: "QryRiskSettleProductStatus", cName: "CThostFtdcQryRiskSettleProductStatusField", fields: [{ js: "productId", kind: 0 }] },
|
|
745
753
|
{ id: 367, name: "RiskSettleInvstPosition", cName: "CThostFtdcRiskSettleInvstPositionField", fields: [{ js: "instrumentId", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "posiDirection", kind: 0 }, { js: "hedgeFlag", kind: 0 }, { js: "positionDate", kind: 0 }, { js: "ydPosition", kind: 1 }, { js: "position", kind: 1 }, { js: "longFrozen", kind: 1 }, { js: "shortFrozen", kind: 1 }, { js: "longFrozenAmount", kind: 3 }, { js: "shortFrozenAmount", kind: 3 }, { js: "openVolume", kind: 1 }, { js: "closeVolume", kind: 1 }, { js: "openAmount", kind: 3 }, { js: "closeAmount", kind: 3 }, { js: "positionCost", kind: 3 }, { js: "preMargin", kind: 3 }, { js: "useMargin", kind: 3 }, { js: "frozenMargin", kind: 3 }, { js: "frozenCash", kind: 3 }, { js: "frozenCommission", kind: 3 }, { js: "cashIn", kind: 3 }, { js: "commission", kind: 3 }, { js: "closeProfit", kind: 3 }, { js: "positionProfit", kind: 3 }, { js: "preSettlementPrice", kind: 3 }, { js: "settlementPrice", kind: 3 }, { js: "tradingDay", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "openCost", kind: 3 }, { js: "exchangeMargin", kind: 3 }, { js: "combPosition", kind: 1 }, { js: "combLongFrozen", kind: 1 }, { js: "combShortFrozen", kind: 1 }, { js: "closeProfitByDate", kind: 3 }, { js: "closeProfitByTrade", kind: 3 }, { js: "todayPosition", kind: 1 }, { js: "marginRateByMoney", kind: 3 }, { js: "marginRateByVolume", kind: 3 }, { js: "strikeFrozen", kind: 1 }, { js: "strikeFrozenAmount", kind: 3 }, { js: "abandonFrozen", kind: 1 }, { js: "exchangeId", kind: 0 }, { js: "ydStrikeFrozen", kind: 1 }, { js: "investUnitId", kind: 0 }, { js: "positionCostOffset", kind: 3 }, { js: "tasPosition", kind: 1 }, { js: "tasPositionCost", kind: 3 }] },
|
|
@@ -748,7 +756,7 @@ var STRUCTS = [
|
|
|
748
756
|
{ id: 370, name: "SyncDeltaProductStatus", cName: "CThostFtdcSyncDeltaProductStatusField", fields: [{ js: "syncDeltaSequenceNo", kind: 1 }, { js: "exchangeId", kind: 0 }, { js: "productId", kind: 0 }, { js: "productStatus", kind: 0 }] },
|
|
749
757
|
{ id: 371, name: "SyncDeltaInvstPosDtl", cName: "CThostFtdcSyncDeltaInvstPosDtlField", fields: [{ js: "instrumentId", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "hedgeFlag", kind: 0 }, { js: "direction", kind: 0 }, { js: "openDate", kind: 0 }, { js: "tradeId", kind: 0 }, { js: "volume", kind: 1 }, { js: "openPrice", kind: 3 }, { js: "tradingDay", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "tradeType", kind: 0 }, { js: "combInstrumentId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "closeProfitByDate", kind: 3 }, { js: "closeProfitByTrade", kind: 3 }, { js: "positionProfitByDate", kind: 3 }, { js: "positionProfitByTrade", kind: 3 }, { js: "margin", kind: 3 }, { js: "exchMargin", kind: 3 }, { js: "marginRateByMoney", kind: 3 }, { js: "marginRateByVolume", kind: 3 }, { js: "lastSettlementPrice", kind: 3 }, { js: "settlementPrice", kind: 3 }, { js: "closeVolume", kind: 1 }, { js: "closeAmount", kind: 3 }, { js: "timeFirstVolume", kind: 1 }, { js: "specPosiType", kind: 0 }, { js: "actionDirection", kind: 0 }, { js: "syncDeltaSequenceNo", kind: 1 }] },
|
|
750
758
|
{ id: 372, name: "SyncDeltaInvstPosCombDtl", cName: "CThostFtdcSyncDeltaInvstPosCombDtlField", fields: [{ js: "tradingDay", kind: 0 }, { js: "openDate", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "comTradeId", kind: 0 }, { js: "tradeId", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "hedgeFlag", kind: 0 }, { js: "direction", kind: 0 }, { js: "totalAmt", kind: 1 }, { js: "margin", kind: 3 }, { js: "exchMargin", kind: 3 }, { js: "marginRateByMoney", kind: 3 }, { js: "marginRateByVolume", kind: 3 }, { js: "legId", kind: 1 }, { js: "legMultiple", kind: 1 }, { js: "tradeGroupId", kind: 1 }, { js: "actionDirection", kind: 0 }, { js: "syncDeltaSequenceNo", kind: 1 }] },
|
|
751
|
-
{ id: 373, name: "SyncDeltaTradingAccount", cName: "CThostFtdcSyncDeltaTradingAccountField", fields: [{ js: "brokerId", kind: 0 }, { js: "accountId", kind: 0 }, { js: "preMortgage", kind: 3 }, { js: "preCredit", kind: 3 }, { js: "preDeposit", kind: 3 }, { js: "preBalance", kind: 3 }, { js: "preMargin", kind: 3 }, { js: "interestBase", kind: 3 }, { js: "interest", kind: 3 }, { js: "deposit", kind: 3 }, { js: "withdraw", kind: 3 }, { js: "frozenMargin", kind: 3 }, { js: "frozenCash", kind: 3 }, { js: "frozenCommission", kind: 3 }, { js: "currMargin", kind: 3 }, { js: "cashIn", kind: 3 }, { js: "commission", kind: 3 }, { js: "closeProfit", kind: 3 }, { js: "positionProfit", kind: 3 }, { js: "balance", kind: 3 }, { js: "available", kind: 3 }, { js: "withdrawQuota", kind: 3 }, { js: "reserve", kind: 3 }, { js: "tradingDay", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "credit", kind: 3 }, { js: "mortgage", kind: 3 }, { js: "exchangeMargin", kind: 3 }, { js: "deliveryMargin", kind: 3 }, { js: "exchangeDeliveryMargin", kind: 3 }, { js: "reserveBalance", kind: 3 }, { js: "currencyId", kind: 0 }, { js: "preFundMortgageIn", kind: 3 }, { js: "preFundMortgageOut", kind: 3 }, { js: "fundMortgageIn", kind: 3 }, { js: "fundMortgageOut", kind: 3 }, { js: "fundMortgageAvailable", kind: 3 }, { js: "mortgageableFund", kind: 3 }, { js: "specProductMargin", kind: 3 }, { js: "specProductFrozenMargin", kind: 3 }, { js: "specProductCommission", kind: 3 }, { js: "specProductFrozenCommission", kind: 3 }, { js: "specProductPositionProfit", kind: 3 }, { js: "specProductCloseProfit", kind: 3 }, { js: "specProductPositionProfitByAlg", kind: 3 }, { js: "specProductExchangeMargin", kind: 3 }, { js: "frozenSwap", kind: 3 }, { js: "remainSwap", kind: 3 }, { js: "syncDeltaSequenceNo", kind: 1 }] },
|
|
759
|
+
{ id: 373, name: "SyncDeltaTradingAccount", cName: "CThostFtdcSyncDeltaTradingAccountField", fields: [{ js: "brokerId", kind: 0 }, { js: "accountId", kind: 0 }, { js: "preMortgage", kind: 3 }, { js: "preCredit", kind: 3 }, { js: "preDeposit", kind: 3 }, { js: "preBalance", kind: 3 }, { js: "preMargin", kind: 3 }, { js: "interestBase", kind: 3 }, { js: "interest", kind: 3 }, { js: "deposit", kind: 3 }, { js: "withdraw", kind: 3 }, { js: "frozenMargin", kind: 3 }, { js: "frozenCash", kind: 3 }, { js: "frozenCommission", kind: 3 }, { js: "currMargin", kind: 3 }, { js: "cashIn", kind: 3 }, { js: "commission", kind: 3 }, { js: "closeProfit", kind: 3 }, { js: "positionProfit", kind: 3 }, { js: "balance", kind: 3 }, { js: "available", kind: 3 }, { js: "withdrawQuota", kind: 3 }, { js: "reserve", kind: 3 }, { js: "tradingDay", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "credit", kind: 3 }, { js: "mortgage", kind: 3 }, { js: "exchangeMargin", kind: 3 }, { js: "deliveryMargin", kind: 3 }, { js: "exchangeDeliveryMargin", kind: 3 }, { js: "reserveBalance", kind: 3 }, { js: "currencyId", kind: 0 }, { js: "preFundMortgageIn", kind: 3 }, { js: "preFundMortgageOut", kind: 3 }, { js: "fundMortgageIn", kind: 3 }, { js: "fundMortgageOut", kind: 3 }, { js: "fundMortgageAvailable", kind: 3 }, { js: "mortgageableFund", kind: 3 }, { js: "specProductMargin", kind: 3 }, { js: "specProductFrozenMargin", kind: 3 }, { js: "specProductCommission", kind: 3 }, { js: "specProductFrozenCommission", kind: 3 }, { js: "specProductPositionProfit", kind: 3 }, { js: "specProductCloseProfit", kind: 3 }, { js: "specProductPositionProfitByAlg", kind: 3 }, { js: "specProductExchangeMargin", kind: 3 }, { js: "frozenSwap", kind: 3 }, { js: "remainSwap", kind: 3 }, { js: "optionValue", kind: 3 }, { js: "syncDeltaSequenceNo", kind: 1 }] },
|
|
752
760
|
{ id: 374, name: "SyncDeltaInitInvstMargin", cName: "CThostFtdcSyncDeltaInitInvstMarginField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "lastRiskTotalInvstMargin", kind: 3 }, { js: "lastRiskTotalExchMargin", kind: 3 }, { js: "thisSyncInvstMargin", kind: 3 }, { js: "thisSyncExchMargin", kind: 3 }, { js: "remainRiskInvstMargin", kind: 3 }, { js: "remainRiskExchMargin", kind: 3 }, { js: "lastRiskSpecTotalInvstMargin", kind: 3 }, { js: "lastRiskSpecTotalExchMargin", kind: 3 }, { js: "thisSyncSpecInvstMargin", kind: 3 }, { js: "thisSyncSpecExchMargin", kind: 3 }, { js: "remainRiskSpecInvstMargin", kind: 3 }, { js: "remainRiskSpecExchMargin", kind: 3 }, { js: "syncDeltaSequenceNo", kind: 1 }] },
|
|
753
761
|
{ id: 375, name: "SyncDeltaDceCombInstrument", cName: "CThostFtdcSyncDeltaDceCombInstrumentField", fields: [{ js: "combInstrumentId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "exchangeInstId", kind: 0 }, { js: "tradeGroupId", kind: 1 }, { js: "combHedgeFlag", kind: 0 }, { js: "combinationType", kind: 0 }, { js: "direction", kind: 0 }, { js: "productId", kind: 0 }, { js: "xparameter", kind: 3 }, { js: "actionDirection", kind: 0 }, { js: "syncDeltaSequenceNo", kind: 1 }] },
|
|
754
762
|
{ id: 376, name: "SyncDeltaInvstMarginRate", cName: "CThostFtdcSyncDeltaInvstMarginRateField", fields: [{ js: "instrumentId", kind: 0 }, { js: "investorRange", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "hedgeFlag", kind: 0 }, { js: "longMarginRatioByMoney", kind: 3 }, { js: "longMarginRatioByVolume", kind: 3 }, { js: "shortMarginRatioByMoney", kind: 3 }, { js: "shortMarginRatioByVolume", kind: 3 }, { js: "isRelative", kind: 1 }, { js: "actionDirection", kind: 0 }, { js: "syncDeltaSequenceNo", kind: 1 }] },
|
|
@@ -773,10 +781,10 @@ var STRUCTS = [
|
|
|
773
781
|
{ id: 395, name: "QrySPBMInterParameter", cName: "CThostFtdcQrySPBMInterParameterField", fields: [{ js: "exchangeId", kind: 0 }, { js: "leg1ProdFamilyCode", kind: 0 }, { js: "leg2ProdFamilyCode", kind: 0 }] },
|
|
774
782
|
{ id: 396, name: "SPBMPortfDefinition", cName: "CThostFtdcSPBMPortfDefinitionField", fields: [{ js: "exchangeId", kind: 0 }, { js: "portfolioDefId", kind: 1 }, { js: "prodFamilyCode", kind: 0 }, { js: "isSpbm", kind: 1 }] },
|
|
775
783
|
{ id: 397, name: "SPBMInvestorPortfDef", cName: "CThostFtdcSPBMInvestorPortfDefField", fields: [{ js: "exchangeId", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "portfolioDefId", kind: 1 }] },
|
|
776
|
-
{ id: 398, name: "InvestorPortfMarginRatio", cName: "CThostFtdcInvestorPortfMarginRatioField", fields: [{ js: "investorRange", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "marginRatio", kind: 3 }] },
|
|
784
|
+
{ id: 398, name: "InvestorPortfMarginRatio", cName: "CThostFtdcInvestorPortfMarginRatioField", fields: [{ js: "investorRange", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "marginRatio", kind: 3 }, { js: "productGroupId", kind: 0 }] },
|
|
777
785
|
{ id: 399, name: "QrySPBMPortfDefinition", cName: "CThostFtdcQrySPBMPortfDefinitionField", fields: [{ js: "exchangeId", kind: 0 }, { js: "portfolioDefId", kind: 1 }, { js: "prodFamilyCode", kind: 0 }] },
|
|
778
786
|
{ id: 400, name: "QrySPBMInvestorPortfDef", cName: "CThostFtdcQrySPBMInvestorPortfDefField", fields: [{ js: "exchangeId", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }] },
|
|
779
|
-
{ id: 401, name: "QryInvestorPortfMarginRatio", cName: "CThostFtdcQryInvestorPortfMarginRatioField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "exchangeId", kind: 0 }] },
|
|
787
|
+
{ id: 401, name: "QryInvestorPortfMarginRatio", cName: "CThostFtdcQryInvestorPortfMarginRatioField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "productGroupId", kind: 0 }] },
|
|
780
788
|
{ id: 402, name: "InvestorProdSPBMDetail", cName: "CThostFtdcInvestorProdSPBMDetailField", fields: [{ js: "exchangeId", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "prodFamilyCode", kind: 0 }, { js: "intraInstrMargin", kind: 3 }, { js: "bCollectingMargin", kind: 3 }, { js: "sCollectingMargin", kind: 3 }, { js: "intraProdMargin", kind: 3 }, { js: "netMargin", kind: 3 }, { js: "interProdMargin", kind: 3 }, { js: "singleMargin", kind: 3 }, { js: "addOnMargin", kind: 3 }, { js: "deliveryMargin", kind: 3 }, { js: "callOptionMinRisk", kind: 3 }, { js: "putOptionMinRisk", kind: 3 }, { js: "optionMinRisk", kind: 3 }, { js: "optionValueOffset", kind: 3 }, { js: "optionRoyalty", kind: 3 }, { js: "realOptionValueOffset", kind: 3 }, { js: "margin", kind: 3 }, { js: "exchMargin", kind: 3 }] },
|
|
781
789
|
{ id: 403, name: "QryInvestorProdSPBMDetail", cName: "CThostFtdcQryInvestorProdSPBMDetailField", fields: [{ js: "exchangeId", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "prodFamilyCode", kind: 0 }] },
|
|
782
790
|
{ id: 404, name: "PortfTradeParamSetting", cName: "CThostFtdcPortfTradeParamSettingField", fields: [{ js: "exchangeId", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "portfolio", kind: 0 }, { js: "isActionVerify", kind: 1 }, { js: "isCloseVerify", kind: 1 }] },
|
|
@@ -840,7 +848,60 @@ var STRUCTS = [
|
|
|
840
848
|
{ id: 462, name: "SyncDeltaRCAMSInvstCombPos", cName: "CThostFtdcSyncDeltaRCAMSInvstCombPosField", fields: [{ js: "exchangeId", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "hedgeFlag", kind: 0 }, { js: "posiDirection", kind: 0 }, { js: "combInstrumentId", kind: 0 }, { js: "legId", kind: 1 }, { js: "exchangeInstId", kind: 0 }, { js: "totalAmt", kind: 1 }, { js: "exchMargin", kind: 3 }, { js: "margin", kind: 3 }, { js: "actionDirection", kind: 0 }, { js: "syncDeltaSequenceNo", kind: 1 }] },
|
|
841
849
|
{ id: 463, name: "SyncDeltaRULEInstrParameter", cName: "CThostFtdcSyncDeltaRULEInstrParameterField", fields: [{ js: "tradingDay", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "instrumentClass", kind: 0 }, { js: "stdInstrumentId", kind: 0 }, { js: "bSpecRatio", kind: 3 }, { js: "sSpecRatio", kind: 3 }, { js: "bHedgeRatio", kind: 3 }, { js: "sHedgeRatio", kind: 3 }, { js: "bAddOnMargin", kind: 3 }, { js: "sAddOnMargin", kind: 3 }, { js: "commodityGroupId", kind: 1 }, { js: "actionDirection", kind: 0 }, { js: "syncDeltaSequenceNo", kind: 1 }] },
|
|
842
850
|
{ id: 464, name: "SyncDeltaRULEIntraParameter", cName: "CThostFtdcSyncDeltaRULEIntraParameterField", fields: [{ js: "tradingDay", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "prodFamilyCode", kind: 0 }, { js: "stdInstrumentId", kind: 0 }, { js: "stdInstrMargin", kind: 3 }, { js: "usualIntraRate", kind: 3 }, { js: "deliveryIntraRate", kind: 3 }, { js: "actionDirection", kind: 0 }, { js: "syncDeltaSequenceNo", kind: 1 }] },
|
|
843
|
-
{ id: 465, name: "SyncDeltaRULEInterParameter", cName: "CThostFtdcSyncDeltaRULEInterParameterField", fields: [{ js: "tradingDay", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "spreadId", kind: 1 }, { js: "interRate", kind: 3 }, { js: "leg1ProdFamilyCode", kind: 0 }, { js: "leg2ProdFamilyCode", kind: 0 }, { js: "leg1PropFactor", kind: 1 }, { js: "leg2PropFactor", kind: 1 }, { js: "commodityGroupId", kind: 1 }, { js: "commodityGroupName", kind: 0 }, { js: "actionDirection", kind: 0 }, { js: "syncDeltaSequenceNo", kind: 1 }] }
|
|
851
|
+
{ id: 465, name: "SyncDeltaRULEInterParameter", cName: "CThostFtdcSyncDeltaRULEInterParameterField", fields: [{ js: "tradingDay", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "spreadId", kind: 1 }, { js: "interRate", kind: 3 }, { js: "leg1ProdFamilyCode", kind: 0 }, { js: "leg2ProdFamilyCode", kind: 0 }, { js: "leg1PropFactor", kind: 1 }, { js: "leg2PropFactor", kind: 1 }, { js: "commodityGroupId", kind: 1 }, { js: "commodityGroupName", kind: 0 }, { js: "actionDirection", kind: 0 }, { js: "syncDeltaSequenceNo", kind: 1 }] },
|
|
852
|
+
{ id: 466, name: "IpAddrParam", cName: "CThostFtdcIpAddrParamField", fields: [{ js: "brokerId", kind: 0 }, { js: "address", kind: 0 }, { js: "drIdentityId", kind: 1 }, { js: "drIdentityName", kind: 0 }, { js: "addrSrvMode", kind: 0 }, { js: "addrVer", kind: 0 }, { js: "addrNo", kind: 1 }, { js: "addrName", kind: 0 }, { js: "isSm", kind: 1 }, { js: "isLocalAddr", kind: 1 }, { js: "remark", kind: 0 }, { js: "site", kind: 0 }, { js: "netOperator", kind: 0 }, { js: "sysName", kind: 0 }] },
|
|
853
|
+
{ id: 467, name: "QryIpAddrParam", cName: "CThostFtdcQryIpAddrParamField", fields: [{ js: "brokerId", kind: 0 }] },
|
|
854
|
+
{ id: 468, name: "TGIpAddrParam", cName: "CThostFtdcTGIpAddrParamField", fields: [{ js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "address", kind: 0 }, { js: "drIdentityId", kind: 1 }, { js: "drIdentityName", kind: 0 }, { js: "addrSrvMode", kind: 0 }, { js: "addrVer", kind: 0 }, { js: "addrNo", kind: 1 }, { js: "addrName", kind: 0 }, { js: "isSm", kind: 1 }, { js: "isLocalAddr", kind: 1 }, { js: "remark", kind: 0 }, { js: "site", kind: 0 }, { js: "netOperator", kind: 0 }, { js: "sysName", kind: 0 }] },
|
|
855
|
+
{ id: 469, name: "QryTGIpAddrParam", cName: "CThostFtdcQryTGIpAddrParamField", fields: [{ js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "appId", kind: 0 }] },
|
|
856
|
+
{ id: 470, name: "TGSessionQryStatus", cName: "CThostFtdcTGSessionQryStatusField", fields: [{ js: "lastQryFreq", kind: 1 }, { js: "qryStatus", kind: 0 }] },
|
|
857
|
+
{ id: 471, name: "LocalAddrConfig", cName: "CThostFtdcLocalAddrConfigField", fields: [{ js: "brokerId", kind: 0 }, { js: "peerAddr", kind: 0 }, { js: "netMask", kind: 0 }, { js: "drIdentityId", kind: 1 }, { js: "localAddress", kind: 0 }] },
|
|
858
|
+
{ id: 472, name: "QryLocalAddrConfig", cName: "CThostFtdcQryLocalAddrConfigField", fields: [{ js: "brokerId", kind: 0 }] },
|
|
859
|
+
{ id: 473, name: "ReqQueryBankAccountBySec", cName: "CThostFtdcReqQueryBankAccountBySecField", fields: [{ js: "tradeCode", kind: 0 }, { js: "bankId", kind: 0 }, { js: "bankBranchId", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "brokerBranchId", kind: 0 }, { js: "tradeDate", kind: 0 }, { js: "tradeTime", kind: 0 }, { js: "bankSerial", kind: 0 }, { js: "tradingDay", kind: 0 }, { js: "plateSerial", kind: 1 }, { js: "lastFragment", kind: 0 }, { js: "sessionId", kind: 1 }, { js: "customerName", kind: 0 }, { js: "idCardType", kind: 0 }, { js: "identifiedCardNo", kind: 0 }, { js: "custType", kind: 0 }, { js: "bankAccount", kind: 0 }, { js: "bankPassWord", kind: 0 }, { js: "accountId", kind: 0 }, { js: "password", kind: 0 }, { js: "futureSerial", kind: 1 }, { js: "installId", kind: 1 }, { js: "userId", kind: 0 }, { js: "verifyCertNoFlag", kind: 0 }, { js: "currencyId", kind: 0 }, { js: "digest", kind: 0 }, { js: "bankAccType", kind: 0 }, { js: "deviceId", kind: 0 }, { js: "bankSecuAccType", kind: 0 }, { js: "brokerIdByBank", kind: 0 }, { js: "bankSecuAcc", kind: 0 }, { js: "bankPwdFlag", kind: 0 }, { js: "secuPwdFlag", kind: 0 }, { js: "operNo", kind: 0 }, { js: "requestId", kind: 1 }, { js: "tid", kind: 1 }, { js: "longCustomerName", kind: 0 }, { js: "drIdentityId", kind: 1 }, { js: "secFutureSerial", kind: 1 }] },
|
|
860
|
+
{ id: 474, name: "RspQueryBankAccountBySec", cName: "CThostFtdcRspQueryBankAccountBySecField", fields: [{ js: "tradeCode", kind: 0 }, { js: "bankId", kind: 0 }, { js: "bankBranchId", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "brokerBranchId", kind: 0 }, { js: "tradeDate", kind: 0 }, { js: "tradeTime", kind: 0 }, { js: "bankSerial", kind: 0 }, { js: "tradingDay", kind: 0 }, { js: "plateSerial", kind: 1 }, { js: "lastFragment", kind: 0 }, { js: "sessionId", kind: 1 }, { js: "customerName", kind: 0 }, { js: "idCardType", kind: 0 }, { js: "identifiedCardNo", kind: 0 }, { js: "custType", kind: 0 }, { js: "bankAccount", kind: 0 }, { js: "bankPassWord", kind: 0 }, { js: "accountId", kind: 0 }, { js: "password", kind: 0 }, { js: "futureSerial", kind: 1 }, { js: "installId", kind: 1 }, { js: "userId", kind: 0 }, { js: "verifyCertNoFlag", kind: 0 }, { js: "currencyId", kind: 0 }, { js: "digest", kind: 0 }, { js: "bankAccType", kind: 0 }, { js: "deviceId", kind: 0 }, { js: "bankSecuAccType", kind: 0 }, { js: "brokerIdByBank", kind: 0 }, { js: "bankSecuAcc", kind: 0 }, { js: "bankPwdFlag", kind: 0 }, { js: "secuPwdFlag", kind: 0 }, { js: "operNo", kind: 0 }, { js: "requestId", kind: 1 }, { js: "tid", kind: 1 }, { js: "bankUseAmount", kind: 3 }, { js: "bankFetchAmount", kind: 3 }, { js: "longCustomerName", kind: 0 }, { js: "drIdentityId", kind: 1 }, { js: "secFutureSerial", kind: 1 }] },
|
|
861
|
+
{ id: 475, name: "ReqTransferBySec", cName: "CThostFtdcReqTransferBySecField", fields: [{ js: "tradeCode", kind: 0 }, { js: "bankId", kind: 0 }, { js: "bankBranchId", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "brokerBranchId", kind: 0 }, { js: "tradeDate", kind: 0 }, { js: "tradeTime", kind: 0 }, { js: "bankSerial", kind: 0 }, { js: "tradingDay", kind: 0 }, { js: "plateSerial", kind: 1 }, { js: "lastFragment", kind: 0 }, { js: "sessionId", kind: 1 }, { js: "customerName", kind: 0 }, { js: "idCardType", kind: 0 }, { js: "identifiedCardNo", kind: 0 }, { js: "custType", kind: 0 }, { js: "bankAccount", kind: 0 }, { js: "bankPassWord", kind: 0 }, { js: "accountId", kind: 0 }, { js: "password", kind: 0 }, { js: "installId", kind: 1 }, { js: "futureSerial", kind: 1 }, { js: "userId", kind: 0 }, { js: "verifyCertNoFlag", kind: 0 }, { js: "currencyId", kind: 0 }, { js: "tradeAmount", kind: 3 }, { js: "futureFetchAmount", kind: 3 }, { js: "feePayFlag", kind: 0 }, { js: "custFee", kind: 3 }, { js: "brokerFee", kind: 3 }, { js: "message", kind: 0 }, { js: "digest", kind: 0 }, { js: "bankAccType", kind: 0 }, { js: "deviceId", kind: 0 }, { js: "bankSecuAccType", kind: 0 }, { js: "brokerIdByBank", kind: 0 }, { js: "bankSecuAcc", kind: 0 }, { js: "bankPwdFlag", kind: 0 }, { js: "secuPwdFlag", kind: 0 }, { js: "operNo", kind: 0 }, { js: "requestId", kind: 1 }, { js: "tid", kind: 1 }, { js: "transferStatus", kind: 0 }, { js: "longCustomerName", kind: 0 }, { js: "drIdentityId", kind: 1 }, { js: "secFutureSerial", kind: 1 }] },
|
|
862
|
+
{ id: 476, name: "RspTransferBySec", cName: "CThostFtdcRspTransferBySecField", fields: [{ js: "tradeCode", kind: 0 }, { js: "bankId", kind: 0 }, { js: "bankBranchId", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "brokerBranchId", kind: 0 }, { js: "tradeDate", kind: 0 }, { js: "tradeTime", kind: 0 }, { js: "bankSerial", kind: 0 }, { js: "tradingDay", kind: 0 }, { js: "plateSerial", kind: 1 }, { js: "lastFragment", kind: 0 }, { js: "sessionId", kind: 1 }, { js: "customerName", kind: 0 }, { js: "idCardType", kind: 0 }, { js: "identifiedCardNo", kind: 0 }, { js: "custType", kind: 0 }, { js: "bankAccount", kind: 0 }, { js: "bankPassWord", kind: 0 }, { js: "accountId", kind: 0 }, { js: "password", kind: 0 }, { js: "installId", kind: 1 }, { js: "futureSerial", kind: 1 }, { js: "userId", kind: 0 }, { js: "verifyCertNoFlag", kind: 0 }, { js: "currencyId", kind: 0 }, { js: "tradeAmount", kind: 3 }, { js: "futureFetchAmount", kind: 3 }, { js: "feePayFlag", kind: 0 }, { js: "custFee", kind: 3 }, { js: "brokerFee", kind: 3 }, { js: "message", kind: 0 }, { js: "digest", kind: 0 }, { js: "bankAccType", kind: 0 }, { js: "deviceId", kind: 0 }, { js: "bankSecuAccType", kind: 0 }, { js: "brokerIdByBank", kind: 0 }, { js: "bankSecuAcc", kind: 0 }, { js: "bankPwdFlag", kind: 0 }, { js: "secuPwdFlag", kind: 0 }, { js: "operNo", kind: 0 }, { js: "requestId", kind: 1 }, { js: "tid", kind: 1 }, { js: "transferStatus", kind: 0 }, { js: "errorId", kind: 1 }, { js: "errorMsg", kind: 0 }, { js: "longCustomerName", kind: 0 }, { js: "drIdentityId", kind: 1 }, { js: "secFutureSerial", kind: 1 }] },
|
|
863
|
+
{ id: 477, name: "NotifyQueryFutureAccountBySec", cName: "CThostFtdcNotifyQueryFutureAccountBySecField", fields: [{ js: "tradeCode", kind: 0 }, { js: "bankId", kind: 0 }, { js: "bankBranchId", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "brokerBranchId", kind: 0 }, { js: "tradeDate", kind: 0 }, { js: "tradeTime", kind: 0 }, { js: "bankSerial", kind: 0 }, { js: "tradingDay", kind: 0 }, { js: "plateSerial", kind: 1 }, { js: "lastFragment", kind: 0 }, { js: "sessionId", kind: 1 }, { js: "customerName", kind: 0 }, { js: "idCardType", kind: 0 }, { js: "identifiedCardNo", kind: 0 }, { js: "custType", kind: 0 }, { js: "bankAccount", kind: 0 }, { js: "bankPassWord", kind: 0 }, { js: "accountId", kind: 0 }, { js: "password", kind: 0 }, { js: "futureSerial", kind: 1 }, { js: "installId", kind: 1 }, { js: "userId", kind: 0 }, { js: "verifyCertNoFlag", kind: 0 }, { js: "currencyId", kind: 0 }, { js: "digest", kind: 0 }, { js: "bankAccType", kind: 0 }, { js: "deviceId", kind: 0 }, { js: "bankSecuAccType", kind: 0 }, { js: "brokerIdByBank", kind: 0 }, { js: "bankSecuAcc", kind: 0 }, { js: "bankPwdFlag", kind: 0 }, { js: "secuPwdFlag", kind: 0 }, { js: "operNo", kind: 0 }, { js: "requestId", kind: 1 }, { js: "tid", kind: 1 }, { js: "bankUseAmount", kind: 3 }, { js: "bankFetchAmount", kind: 3 }, { js: "errorId", kind: 1 }, { js: "errorMsg", kind: 0 }, { js: "longCustomerName", kind: 0 }, { js: "drIdentityId", kind: 1 }, { js: "secFutureSerial", kind: 1 }] },
|
|
864
|
+
{ id: 478, name: "ExitEmergency", cName: "CThostFtdcExitEmergencyField", fields: [{ js: "brokerId", kind: 0 }] },
|
|
865
|
+
{ id: 479, name: "InvestorPortfMarginModel", cName: "CThostFtdcInvestorPortfMarginModelField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "marginModelId", kind: 0 }] },
|
|
866
|
+
{ id: 480, name: "InvestorPortfSetting", cName: "CThostFtdcInvestorPortfSettingField", fields: [{ js: "exchangeId", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "hedgeFlag", kind: 0 }, { js: "usePortf", kind: 1 }] },
|
|
867
|
+
{ id: 481, name: "QryInvestorPortfSetting", cName: "CThostFtdcQryInvestorPortfSettingField", fields: [{ js: "exchangeId", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }] },
|
|
868
|
+
{ id: 482, name: "UserPasswordUpdateFromSec", cName: "CThostFtdcUserPasswordUpdateFromSecField", fields: [{ js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "oldPassword", kind: 0 }, { js: "newPassword", kind: 0 }, { js: "fromSec", kind: 1 }] },
|
|
869
|
+
{ id: 483, name: "SettlementInfoConfirmFromSec", cName: "CThostFtdcSettlementInfoConfirmFromSecField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "confirmDate", kind: 0 }, { js: "confirmTime", kind: 0 }, { js: "fromSec", kind: 1 }] },
|
|
870
|
+
{ id: 484, name: "TradingAccountPasswordUpdateFromSec", cName: "CThostFtdcTradingAccountPasswordUpdateFromSecField", fields: [{ js: "brokerId", kind: 0 }, { js: "accountId", kind: 0 }, { js: "oldPassword", kind: 0 }, { js: "newPassword", kind: 0 }, { js: "currencyId", kind: 0 }, { js: "fromSec", kind: 1 }] },
|
|
871
|
+
{ id: 485, name: "RiskForbiddenRight", cName: "CThostFtdcRiskForbiddenRightField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "userId", kind: 0 }] },
|
|
872
|
+
{ id: 486, name: "InvestorInfoCommRec", cName: "CThostFtdcInvestorInfoCommRecField", fields: [{ js: "exchangeId", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "orderCount", kind: 1 }, { js: "orderActionCount", kind: 1 }, { js: "forQuoteCnt", kind: 1 }, { js: "infoComm", kind: 3 }, { js: "isOptSeries", kind: 1 }, { js: "productId", kind: 0 }, { js: "infoCnt", kind: 1 }] },
|
|
873
|
+
{ id: 487, name: "QryInvestorInfoCommRec", cName: "CThostFtdcQryInvestorInfoCommRecField", fields: [{ js: "investorId", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "brokerId", kind: 0 }] },
|
|
874
|
+
{ id: 488, name: "CombLeg", cName: "CThostFtdcCombLegField", fields: [{ js: "combInstrumentId", kind: 0 }, { js: "legId", kind: 1 }, { js: "legInstrumentId", kind: 0 }, { js: "direction", kind: 0 }, { js: "legMultiple", kind: 1 }, { js: "implyLevel", kind: 1 }] },
|
|
875
|
+
{ id: 489, name: "QryCombLeg", cName: "CThostFtdcQryCombLegField", fields: [{ js: "legInstrumentId", kind: 0 }] },
|
|
876
|
+
{ id: 490, name: "InputOffsetSetting", cName: "CThostFtdcInputOffsetSettingField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "underlyingInstrId", kind: 0 }, { js: "productId", kind: 0 }, { js: "offsetType", kind: 0 }, { js: "volume", kind: 1 }, { js: "isOffset", kind: 1 }, { js: "requestId", kind: 1 }, { js: "userId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "ipAddress", kind: 0 }, { js: "macAddress", kind: 0 }] },
|
|
877
|
+
{ id: 491, name: "OffsetSetting", cName: "CThostFtdcOffsetSettingField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "underlyingInstrId", kind: 0 }, { js: "productId", kind: 0 }, { js: "offsetType", kind: 0 }, { js: "volume", kind: 1 }, { js: "isOffset", kind: 1 }, { js: "requestId", kind: 1 }, { js: "userId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "ipAddress", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "exchangeInstId", kind: 0 }, { js: "exchangeSerialNo", kind: 0 }, { js: "exchangeProductId", kind: 0 }, { js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "traderId", kind: 0 }, { js: "installId", kind: 1 }, { js: "orderSubmitStatus", kind: 0 }, { js: "tradingDay", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "insertDate", kind: 0 }, { js: "insertTime", kind: 0 }, { js: "cancelTime", kind: 0 }, { js: "execResult", kind: 0 }, { js: "sequenceNo", kind: 1 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "statusMsg", kind: 0 }, { js: "activeUserId", kind: 0 }, { js: "brokerOffsetSettingSeq", kind: 1 }, { js: "applySrc", kind: 0 }] },
|
|
878
|
+
{ id: 492, name: "CancelOffsetSetting", cName: "CThostFtdcCancelOffsetSettingField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "underlyingInstrId", kind: 0 }, { js: "productId", kind: 0 }, { js: "offsetType", kind: 0 }, { js: "volume", kind: 1 }, { js: "isOffset", kind: 1 }, { js: "requestId", kind: 1 }, { js: "userId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "ipAddress", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "exchangeInstId", kind: 0 }, { js: "exchangeSerialNo", kind: 0 }, { js: "exchangeProductId", kind: 0 }, { js: "traderId", kind: 0 }, { js: "installId", kind: 1 }, { js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "orderActionStatus", kind: 0 }, { js: "statusMsg", kind: 0 }, { js: "actionLocalId", kind: 0 }, { js: "actionDate", kind: 0 }, { js: "actionTime", kind: 0 }] },
|
|
879
|
+
{ id: 493, name: "QryOffsetSetting", cName: "CThostFtdcQryOffsetSettingField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "productId", kind: 0 }, { js: "offsetType", kind: 0 }] },
|
|
880
|
+
{ id: 494, name: "AddrAppIDRelation", cName: "CThostFtdcAddrAppIDRelationField", fields: [{ js: "brokerId", kind: 0 }, { js: "address", kind: 0 }, { js: "drIdentityId", kind: 1 }, { js: "appId", kind: 0 }] },
|
|
881
|
+
{ id: 495, name: "QryAddrAppIDRelation", cName: "CThostFtdcQryAddrAppIDRelationField", fields: [{ js: "brokerId", kind: 0 }] },
|
|
882
|
+
{ id: 496, name: "WechatUserSystemInfo", cName: "CThostFtdcWechatUserSystemInfoField", fields: [{ js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "wechatCltSysInfoLen", kind: 1 }, { js: "wechatCltSysInfo", kind: 0 }, { js: "clientIpPort", kind: 1 }, { js: "clientLoginTime", kind: 0 }, { js: "clientAppId", kind: 0 }, { js: "clientPublicIp", kind: 0 }, { js: "clientLoginRemark", kind: 0 }] },
|
|
883
|
+
{ id: 497, name: "InvestorReserveInfo", cName: "CThostFtdcInvestorReserveInfoField", fields: [{ js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "reserveInfo", kind: 0 }] },
|
|
884
|
+
{ id: 498, name: "QryInvestorDepartmentFlat", cName: "CThostFtdcQryInvestorDepartmentFlatField", fields: [{ js: "brokerId", kind: 0 }] },
|
|
885
|
+
{ id: 499, name: "InvestorDepartmentFlat", cName: "CThostFtdcInvestorDepartmentFlatField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "departmentId", kind: 0 }] },
|
|
886
|
+
{ id: 500, name: "QryDepartmentUser", cName: "CThostFtdcQryDepartmentUserField", fields: [{ js: "brokerId", kind: 0 }] },
|
|
887
|
+
{ id: 501, name: "AppAuthenticationCode", cName: "CThostFtdcAppAuthenticationCodeField", fields: [{ js: "brokerId", kind: 0 }, { js: "appId", kind: 0 }, { js: "authCode", kind: 0 }, { js: "preAuthCode", kind: 0 }, { js: "appType", kind: 0 }] },
|
|
888
|
+
{ id: 502, name: "UserDRIBypass", cName: "CThostFtdcUserDRIBypassField", fields: [{ js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "drIdentityId", kind: 1 }] },
|
|
889
|
+
{ id: 503, name: "ReqGenSMSCode", cName: "CThostFtdcReqGenSMSCodeField", fields: [{ js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "mobile", kind: 0 }] },
|
|
890
|
+
{ id: 504, name: "RspGenSMSCode", cName: "CThostFtdcRspGenSMSCodeField", fields: [{ js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "genTime", kind: 0 }] },
|
|
891
|
+
{ id: 505, name: "SMSVerifyInfoFromSec", cName: "CThostFtdcSMSVerifyInfoFromSecField", fields: [{ js: "brokerId", kind: 0 }, { js: "brokerAbbr", kind: 0 }, { js: "userId", kind: 0 }, { js: "mobile", kind: 0 }, { js: "smsCode", kind: 0 }, { js: "createDate", kind: 0 }, { js: "createTime", kind: 0 }, { js: "isUsed", kind: 1 }, { js: "fromSec", kind: 1 }] },
|
|
892
|
+
{ id: 506, name: "SMSVerifyConfig", cName: "CThostFtdcSMSVerifyConfigField", fields: [{ js: "userId", kind: 0 }, { js: "brokerId", kind: 0 }, { js: "mobile", kind: 0 }, { js: "useSmsVerify", kind: 1 }] },
|
|
893
|
+
{ id: 507, name: "SMSVerifyInfo", cName: "CThostFtdcSMSVerifyInfoField", fields: [{ js: "createTime", kind: 0 }, { js: "mobile", kind: 0 }, { js: "smsContent", kind: 0 }] },
|
|
894
|
+
{ id: 508, name: "InputSpdApply", cName: "CThostFtdcInputSpdApplyField", fields: [{ js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "firstLegInstrumentId", kind: 0 }, { js: "secondLegInstrumentId", kind: 0 }, { js: "volume", kind: 1 }, { js: "direction", kind: 0 }, { js: "cmbType", kind: 0 }, { js: "requestId", kind: 1 }, { js: "orderRef", kind: 0 }, { js: "ipAddress", kind: 0 }, { js: "macAddress", kind: 0 }] },
|
|
895
|
+
{ id: 509, name: "InputHedgeCfm", cName: "CThostFtdcInputHedgeCfmField", fields: [{ js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "volume", kind: 1 }, { js: "direction", kind: 0 }, { js: "requestId", kind: 1 }, { js: "orderRef", kind: 0 }, { js: "ipAddress", kind: 0 }, { js: "macAddress", kind: 0 }] },
|
|
896
|
+
{ id: 510, name: "SpdApply", cName: "CThostFtdcSpdApplyField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "firstLegInstrumentId", kind: 0 }, { js: "secondLegInstrumentId", kind: 0 }, { js: "userId", kind: 0 }, { js: "volume", kind: 1 }, { js: "direction", kind: 0 }, { js: "requestId", kind: 1 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "orderRef", kind: 0 }, { js: "activeUserId", kind: 0 }, { js: "brokerOrderSeq", kind: 1 }, { js: "orderSysId", kind: 0 }, { js: "applyStatus", kind: 0 }, { js: "sequenceNo", kind: 1 }, { js: "insertDate", kind: 0 }, { js: "insertTime", kind: 0 }, { js: "cancelTime", kind: 0 }, { js: "orderLocalId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "exchangeInstId", kind: 0 }, { js: "traderId", kind: 0 }, { js: "installId", kind: 1 }, { js: "orderSubmitStatus", kind: 0 }, { js: "notifySequence", kind: 1 }, { js: "tradingDay", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "ipAddress", kind: 0 }, { js: "macAddress", kind: 0 }, { js: "cmbType", kind: 0 }, { js: "statusMsg", kind: 0 }] },
|
|
897
|
+
{ id: 511, name: "HedgeCfm", cName: "CThostFtdcHedgeCfmField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "instrumentId", kind: 0 }, { js: "userId", kind: 0 }, { js: "volume", kind: 1 }, { js: "direction", kind: 0 }, { js: "requestId", kind: 1 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "orderRef", kind: 0 }, { js: "activeUserId", kind: 0 }, { js: "brokerOrderSeq", kind: 1 }, { js: "orderSysId", kind: 0 }, { js: "applyStatus", kind: 0 }, { js: "sequenceNo", kind: 1 }, { js: "dealVolume", kind: 1 }, { js: "insertDate", kind: 0 }, { js: "insertTime", kind: 0 }, { js: "cancelTime", kind: 0 }, { js: "reqDate", kind: 0 }, { js: "orderLocalId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "exchangeInstId", kind: 0 }, { js: "traderId", kind: 0 }, { js: "installId", kind: 1 }, { js: "orderSubmitStatus", kind: 0 }, { js: "notifySequence", kind: 1 }, { js: "tradingDay", kind: 0 }, { js: "settlementId", kind: 1 }, { js: "statusMsg", kind: 0 }, { js: "ipAddress", kind: 0 }, { js: "macAddress", kind: 0 }] },
|
|
898
|
+
{ id: 512, name: "QrySpdApply", cName: "CThostFtdcQrySpdApplyField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "orderSysId", kind: 0 }, { js: "firstLegInstrumentId", kind: 0 }, { js: "secondLegInstrumentId", kind: 0 }] },
|
|
899
|
+
{ id: 513, name: "QryHedgeCfm", cName: "CThostFtdcQryHedgeCfmField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "orderSysId", kind: 0 }, { js: "instrumentId", kind: 0 }] },
|
|
900
|
+
{ id: 514, name: "InputSpdApplyAction", cName: "CThostFtdcInputSpdApplyActionField", fields: [{ js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "orderSysId", kind: 0 }, { js: "orderRef", kind: 0 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "requestId", kind: 1 }, { js: "ipAddress", kind: 0 }, { js: "macAddress", kind: 0 }] },
|
|
901
|
+
{ id: 515, name: "InputHedgeCfmAction", cName: "CThostFtdcInputHedgeCfmActionField", fields: [{ js: "brokerId", kind: 0 }, { js: "userId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "orderSysId", kind: 0 }, { js: "orderRef", kind: 0 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "requestId", kind: 1 }, { js: "ipAddress", kind: 0 }, { js: "macAddress", kind: 0 }] },
|
|
902
|
+
{ id: 516, name: "SpdApplyAction", cName: "CThostFtdcSpdApplyActionField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "actionDate", kind: 0 }, { js: "actionTime", kind: 0 }, { js: "traderId", kind: 0 }, { js: "installId", kind: 1 }, { js: "orderLocalId", kind: 0 }, { js: "actionLocalId", kind: 0 }, { js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "orderActionStatus", kind: 0 }, { js: "userId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "orderSysId", kind: 0 }, { js: "requestId", kind: 1 }, { js: "statusMsg", kind: 0 }, { js: "orderRef", kind: 0 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "ipAddress", kind: 0 }, { js: "macAddress", kind: 0 }] },
|
|
903
|
+
{ id: 517, name: "HedgeCfmAction", cName: "CThostFtdcHedgeCfmActionField", fields: [{ js: "brokerId", kind: 0 }, { js: "investorId", kind: 0 }, { js: "actionDate", kind: 0 }, { js: "actionTime", kind: 0 }, { js: "traderId", kind: 0 }, { js: "installId", kind: 1 }, { js: "orderLocalId", kind: 0 }, { js: "actionLocalId", kind: 0 }, { js: "participantId", kind: 0 }, { js: "clientId", kind: 0 }, { js: "orderActionStatus", kind: 0 }, { js: "userId", kind: 0 }, { js: "exchangeId", kind: 0 }, { js: "orderSysId", kind: 0 }, { js: "requestId", kind: 1 }, { js: "statusMsg", kind: 0 }, { js: "orderRef", kind: 0 }, { js: "frontId", kind: 1 }, { js: "sessionId", kind: 1 }, { js: "ipAddress", kind: 0 }, { js: "macAddress", kind: 0 }] },
|
|
904
|
+
{ id: 518, name: "FrontInfo", cName: "CThostFtdcFrontInfoField", fields: [{ js: "frontAddr", kind: 0 }, { js: "qryFreq", kind: 1 }, { js: "ftdPkgFreq", kind: 1 }] }
|
|
844
905
|
];
|
|
845
906
|
var STRUCT_ID = {
|
|
846
907
|
"Dissemination": 0,
|
|
@@ -1207,7 +1268,7 @@ var STRUCT_ID = {
|
|
|
1207
1268
|
"QryClassifiedInstrument": 361,
|
|
1208
1269
|
"QryCombPromotionParam": 362,
|
|
1209
1270
|
"CombPromotionParam": 363,
|
|
1210
|
-
"
|
|
1271
|
+
"ReqUserLoginSM": 364,
|
|
1211
1272
|
"QryRiskSettleInvstPosition": 365,
|
|
1212
1273
|
"QryRiskSettleProductStatus": 366,
|
|
1213
1274
|
"RiskSettleInvstPosition": 367,
|
|
@@ -1308,7 +1369,60 @@ var STRUCT_ID = {
|
|
|
1308
1369
|
"SyncDeltaRCAMSInvstCombPos": 462,
|
|
1309
1370
|
"SyncDeltaRULEInstrParameter": 463,
|
|
1310
1371
|
"SyncDeltaRULEIntraParameter": 464,
|
|
1311
|
-
"SyncDeltaRULEInterParameter": 465
|
|
1372
|
+
"SyncDeltaRULEInterParameter": 465,
|
|
1373
|
+
"IpAddrParam": 466,
|
|
1374
|
+
"QryIpAddrParam": 467,
|
|
1375
|
+
"TGIpAddrParam": 468,
|
|
1376
|
+
"QryTGIpAddrParam": 469,
|
|
1377
|
+
"TGSessionQryStatus": 470,
|
|
1378
|
+
"LocalAddrConfig": 471,
|
|
1379
|
+
"QryLocalAddrConfig": 472,
|
|
1380
|
+
"ReqQueryBankAccountBySec": 473,
|
|
1381
|
+
"RspQueryBankAccountBySec": 474,
|
|
1382
|
+
"ReqTransferBySec": 475,
|
|
1383
|
+
"RspTransferBySec": 476,
|
|
1384
|
+
"NotifyQueryFutureAccountBySec": 477,
|
|
1385
|
+
"ExitEmergency": 478,
|
|
1386
|
+
"InvestorPortfMarginModel": 479,
|
|
1387
|
+
"InvestorPortfSetting": 480,
|
|
1388
|
+
"QryInvestorPortfSetting": 481,
|
|
1389
|
+
"UserPasswordUpdateFromSec": 482,
|
|
1390
|
+
"SettlementInfoConfirmFromSec": 483,
|
|
1391
|
+
"TradingAccountPasswordUpdateFromSec": 484,
|
|
1392
|
+
"RiskForbiddenRight": 485,
|
|
1393
|
+
"InvestorInfoCommRec": 486,
|
|
1394
|
+
"QryInvestorInfoCommRec": 487,
|
|
1395
|
+
"CombLeg": 488,
|
|
1396
|
+
"QryCombLeg": 489,
|
|
1397
|
+
"InputOffsetSetting": 490,
|
|
1398
|
+
"OffsetSetting": 491,
|
|
1399
|
+
"CancelOffsetSetting": 492,
|
|
1400
|
+
"QryOffsetSetting": 493,
|
|
1401
|
+
"AddrAppIDRelation": 494,
|
|
1402
|
+
"QryAddrAppIDRelation": 495,
|
|
1403
|
+
"WechatUserSystemInfo": 496,
|
|
1404
|
+
"InvestorReserveInfo": 497,
|
|
1405
|
+
"QryInvestorDepartmentFlat": 498,
|
|
1406
|
+
"InvestorDepartmentFlat": 499,
|
|
1407
|
+
"QryDepartmentUser": 500,
|
|
1408
|
+
"AppAuthenticationCode": 501,
|
|
1409
|
+
"UserDRIBypass": 502,
|
|
1410
|
+
"ReqGenSMSCode": 503,
|
|
1411
|
+
"RspGenSMSCode": 504,
|
|
1412
|
+
"SMSVerifyInfoFromSec": 505,
|
|
1413
|
+
"SMSVerifyConfig": 506,
|
|
1414
|
+
"SMSVerifyInfo": 507,
|
|
1415
|
+
"InputSpdApply": 508,
|
|
1416
|
+
"InputHedgeCfm": 509,
|
|
1417
|
+
"SpdApply": 510,
|
|
1418
|
+
"HedgeCfm": 511,
|
|
1419
|
+
"QrySpdApply": 512,
|
|
1420
|
+
"QryHedgeCfm": 513,
|
|
1421
|
+
"InputSpdApplyAction": 514,
|
|
1422
|
+
"InputHedgeCfmAction": 515,
|
|
1423
|
+
"SpdApplyAction": 516,
|
|
1424
|
+
"HedgeCfmAction": 517,
|
|
1425
|
+
"FrontInfo": 518
|
|
1312
1426
|
};
|
|
1313
1427
|
|
|
1314
1428
|
// dist/codec.js
|
|
@@ -1887,6 +2001,7 @@ var TraderEvent;
|
|
|
1887
2001
|
TraderEvent2["FrontDisconnected"] = "front-disconnected";
|
|
1888
2002
|
TraderEvent2["HeartBeatWarning"] = "heart-beat-warning";
|
|
1889
2003
|
TraderEvent2["RspAuthenticate"] = "rsp-authenticate";
|
|
2004
|
+
TraderEvent2["RtnPrivateSeqNo"] = "rtn-private-seq-no";
|
|
1890
2005
|
TraderEvent2["RspUserLogin"] = "rsp-user-login";
|
|
1891
2006
|
TraderEvent2["RspUserLogout"] = "rsp-user-logout";
|
|
1892
2007
|
TraderEvent2["RspUserPasswordUpdate"] = "rsp-user-password-update";
|
|
@@ -1919,6 +2034,7 @@ var TraderEvent;
|
|
|
1919
2034
|
TraderEvent2["RspQryTradingCode"] = "rsp-qry-trading-code";
|
|
1920
2035
|
TraderEvent2["RspQryInstrumentMarginRate"] = "rsp-qry-instrument-margin-rate";
|
|
1921
2036
|
TraderEvent2["RspQryInstrumentCommissionRate"] = "rsp-qry-instrument-commission-rate";
|
|
2037
|
+
TraderEvent2["RspQryUserSession"] = "rsp-qry-user-session";
|
|
1922
2038
|
TraderEvent2["RspQryExchange"] = "rsp-qry-exchange";
|
|
1923
2039
|
TraderEvent2["RspQryProduct"] = "rsp-qry-product";
|
|
1924
2040
|
TraderEvent2["RspQryInstrument"] = "rsp-qry-instrument";
|
|
@@ -2037,162 +2153,208 @@ var TraderEvent;
|
|
|
2037
2153
|
TraderEvent2["RspQryRULEIntraParameter"] = "rsp-qry-rule-intra-parameter";
|
|
2038
2154
|
TraderEvent2["RspQryRULEInterParameter"] = "rsp-qry-rule-inter-parameter";
|
|
2039
2155
|
TraderEvent2["RspQryInvestorProdRULEMargin"] = "rsp-qry-investor-prod-rule-margin";
|
|
2156
|
+
TraderEvent2["RspQryInvestorPortfSetting"] = "rsp-qry-investor-portf-setting";
|
|
2157
|
+
TraderEvent2["RspQryInvestorInfoCommRec"] = "rsp-qry-investor-info-comm-rec";
|
|
2158
|
+
TraderEvent2["RspQryCombLeg"] = "rsp-qry-comb-leg";
|
|
2159
|
+
TraderEvent2["RspOffsetSetting"] = "rsp-offset-setting";
|
|
2160
|
+
TraderEvent2["RspCancelOffsetSetting"] = "rsp-cancel-offset-setting";
|
|
2161
|
+
TraderEvent2["RtnOffsetSetting"] = "rtn-offset-setting";
|
|
2162
|
+
TraderEvent2["ErrRtnOffsetSetting"] = "err-rtn-offset-setting";
|
|
2163
|
+
TraderEvent2["ErrRtnCancelOffsetSetting"] = "err-rtn-cancel-offset-setting";
|
|
2164
|
+
TraderEvent2["RspQryOffsetSetting"] = "rsp-qry-offset-setting";
|
|
2165
|
+
TraderEvent2["RspGenSMSCode"] = "rsp-gen-sms-code";
|
|
2166
|
+
TraderEvent2["RspSpdApply"] = "rsp-spd-apply";
|
|
2167
|
+
TraderEvent2["RspSpdApplyAction"] = "rsp-spd-apply-action";
|
|
2168
|
+
TraderEvent2["RspQrySpdApply"] = "rsp-qry-spd-apply";
|
|
2169
|
+
TraderEvent2["RtnSpdApply"] = "rtn-spd-apply";
|
|
2170
|
+
TraderEvent2["ErrRtnSpdApply"] = "err-rtn-spd-apply";
|
|
2171
|
+
TraderEvent2["ErrRtnSpdApplyAction"] = "err-rtn-spd-apply-action";
|
|
2172
|
+
TraderEvent2["RspHedgeCfm"] = "rsp-hedge-cfm";
|
|
2173
|
+
TraderEvent2["RspHedgeCfmAction"] = "rsp-hedge-cfm-action";
|
|
2174
|
+
TraderEvent2["RspQryHedgeCfm"] = "rsp-qry-hedge-cfm";
|
|
2175
|
+
TraderEvent2["RtnHedgeCfm"] = "rtn-hedge-cfm";
|
|
2176
|
+
TraderEvent2["ErrRtnHedgeCfm"] = "err-rtn-hedge-cfm";
|
|
2177
|
+
TraderEvent2["ErrRtnHedgeCfmAction"] = "err-rtn-hedge-cfm-action";
|
|
2040
2178
|
})(TraderEvent || (TraderEvent = {}));
|
|
2041
2179
|
var TRADER_EVENTS = /* @__PURE__ */ new Map([
|
|
2042
2180
|
[8192 + 1, "front-connected"],
|
|
2043
2181
|
[8192 + 2, "front-disconnected"],
|
|
2044
2182
|
[8192 + 3, "heart-beat-warning"],
|
|
2045
2183
|
[8192 + 4, "rsp-authenticate"],
|
|
2046
|
-
[8192 + 5, "
|
|
2047
|
-
[8192 + 6, "rsp-user-
|
|
2048
|
-
[8192 + 7, "rsp-user-
|
|
2049
|
-
[8192 + 8, "rsp-
|
|
2050
|
-
[8192 + 9, "rsp-
|
|
2051
|
-
[8192 + 10, "rsp-
|
|
2052
|
-
[8192 + 11, "rsp-gen-user-
|
|
2053
|
-
[8192 + 12, "rsp-
|
|
2054
|
-
[8192 + 13, "rsp-
|
|
2055
|
-
[8192 + 14, "rsp-parked-order-
|
|
2056
|
-
[8192 + 15, "rsp-order-action"],
|
|
2057
|
-
[8192 + 16, "rsp-
|
|
2058
|
-
[8192 + 17, "rsp-
|
|
2059
|
-
[8192 + 18, "rsp-
|
|
2060
|
-
[8192 + 19, "rsp-remove-parked-order
|
|
2061
|
-
[8192 + 20, "rsp-
|
|
2062
|
-
[8192 + 21, "rsp-exec-order-
|
|
2063
|
-
[8192 + 22, "rsp-
|
|
2064
|
-
[8192 + 23, "rsp-quote-insert"],
|
|
2065
|
-
[8192 + 24, "rsp-quote-
|
|
2066
|
-
[8192 + 25, "rsp-
|
|
2067
|
-
[8192 + 26, "rsp-
|
|
2068
|
-
[8192 + 27, "rsp-option-self-close-
|
|
2069
|
-
[8192 + 28, "rsp-
|
|
2070
|
-
[8192 + 29, "rsp-
|
|
2071
|
-
[8192 + 30, "rsp-qry-
|
|
2072
|
-
[8192 + 31, "rsp-qry-
|
|
2073
|
-
[8192 + 32, "rsp-qry-
|
|
2074
|
-
[8192 + 33, "rsp-qry-
|
|
2075
|
-
[8192 + 34, "rsp-qry-
|
|
2076
|
-
[8192 + 35, "rsp-qry-
|
|
2077
|
-
[8192 + 36, "rsp-qry-instrument-
|
|
2078
|
-
[8192 + 37, "rsp-qry-
|
|
2079
|
-
[8192 + 38, "rsp-qry-
|
|
2080
|
-
[8192 + 39, "rsp-qry-
|
|
2081
|
-
[8192 + 40, "rsp-qry-
|
|
2082
|
-
[8192 + 41, "rsp-qry-
|
|
2083
|
-
[8192 + 42, "rsp-qry-
|
|
2084
|
-
[8192 + 43, "rsp-qry-
|
|
2085
|
-
[8192 + 44, "rsp-qry-
|
|
2086
|
-
[8192 + 45, "rsp-qry-
|
|
2087
|
-
[8192 + 46, "rsp-qry-
|
|
2088
|
-
[8192 + 47, "rsp-qry-
|
|
2089
|
-
[8192 + 48, "rsp-qry-
|
|
2090
|
-
[8192 + 49, "rsp-qry-
|
|
2091
|
-
[8192 + 50, "rsp-qry-
|
|
2092
|
-
[8192 + 51, "rsp-qry-
|
|
2093
|
-
[8192 + 52, "rsp-qry-
|
|
2094
|
-
[8192 + 53, "rsp-qry-exchange-rate"],
|
|
2095
|
-
[8192 + 54, "rsp-qry-
|
|
2096
|
-
[8192 + 55, "rsp-qry-
|
|
2097
|
-
[8192 + 56, "rsp-qry-
|
|
2098
|
-
[8192 + 57, "rsp-qry-
|
|
2099
|
-
[8192 + 58, "rsp-qry-
|
|
2100
|
-
[8192 + 59, "rsp-qry-instrument-
|
|
2101
|
-
[8192 + 60, "rsp-qry-
|
|
2102
|
-
[8192 + 61, "rsp-qry-
|
|
2103
|
-
[8192 + 62, "rsp-qry-sec-agent-
|
|
2104
|
-
[8192 + 63, "rsp-qry-
|
|
2105
|
-
[8192 + 64, "rsp-qry-
|
|
2106
|
-
[8192 + 65, "rsp-qry-
|
|
2107
|
-
[8192 + 66, "rsp-qry-
|
|
2108
|
-
[8192 + 67, "rsp-qry-
|
|
2109
|
-
[8192 + 68, "rsp-qry-
|
|
2110
|
-
[8192 + 69, "rsp-qry-
|
|
2111
|
-
[8192 + 70, "rsp-qry-
|
|
2112
|
-
[8192 + 71, "rsp-qry-
|
|
2113
|
-
[8192 + 72, "rsp-qry-
|
|
2114
|
-
[8192 + 73, "rsp-qry-
|
|
2115
|
-
[8192 + 74, "rsp-
|
|
2116
|
-
[8192 + 75, "
|
|
2117
|
-
[8192 + 76, "
|
|
2118
|
-
[8192 + 77, "
|
|
2119
|
-
[8192 + 78, "
|
|
2120
|
-
[8192 + 79, "rtn-
|
|
2121
|
-
[8192 + 80, "rtn-
|
|
2122
|
-
[8192 + 81, "rtn-
|
|
2123
|
-
[8192 + 82, "rtn-
|
|
2124
|
-
[8192 + 83, "rtn-
|
|
2125
|
-
[8192 + 84, "
|
|
2126
|
-
[8192 + 85, "
|
|
2127
|
-
[8192 + 86, "err-rtn-
|
|
2128
|
-
[8192 + 87, "rtn-
|
|
2129
|
-
[8192 + 88, "err-rtn-quote-insert"],
|
|
2130
|
-
[8192 + 89, "
|
|
2131
|
-
[8192 + 90, "rtn-
|
|
2132
|
-
[8192 + 91, "rtn-
|
|
2133
|
-
[8192 + 92, "
|
|
2134
|
-
[8192 + 93, "rtn-
|
|
2135
|
-
[8192 + 94, "err-rtn-
|
|
2136
|
-
[8192 + 95, "
|
|
2137
|
-
[8192 + 96, "rtn-
|
|
2138
|
-
[8192 + 97, "err-rtn-
|
|
2139
|
-
[8192 + 98, "
|
|
2140
|
-
[8192 + 99, "
|
|
2141
|
-
[8192 + 100, "rsp-qry-
|
|
2142
|
-
[8192 + 101, "rsp-qry-
|
|
2143
|
-
[8192 + 102, "rsp-qry-
|
|
2144
|
-
[8192 + 103, "rsp-qry-
|
|
2145
|
-
[8192 + 104, "rsp-
|
|
2146
|
-
[8192 + 105, "
|
|
2147
|
-
[8192 + 106, "
|
|
2148
|
-
[8192 + 107, "rtn-
|
|
2149
|
-
[8192 + 108, "rtn-
|
|
2150
|
-
[8192 + 109, "rtn-from-bank-to-future-by-
|
|
2151
|
-
[8192 + 110, "rtn-from-future-to-bank-by-
|
|
2152
|
-
[8192 + 111, "rtn-
|
|
2153
|
-
[8192 + 112, "rtn-
|
|
2154
|
-
[8192 + 113, "rtn-
|
|
2155
|
-
[8192 + 114, "
|
|
2156
|
-
[8192 + 115, "
|
|
2157
|
-
[8192 + 116, "err-rtn-
|
|
2158
|
-
[8192 + 117, "err-rtn-
|
|
2159
|
-
[8192 + 118, "err-rtn-
|
|
2160
|
-
[8192 + 119, "rtn-repeal-
|
|
2161
|
-
[8192 + 120, "rtn-
|
|
2162
|
-
[8192 + 121, "
|
|
2163
|
-
[8192 + 122, "
|
|
2164
|
-
[8192 + 123, "rsp-
|
|
2165
|
-
[8192 + 124, "
|
|
2166
|
-
[8192 + 125, "
|
|
2167
|
-
[8192 + 126, "rtn-
|
|
2168
|
-
[8192 + 127, "
|
|
2169
|
-
[8192 + 128, "
|
|
2170
|
-
[8192 + 129, "rsp-qry-
|
|
2171
|
-
[8192 + 130, "rsp-qry-
|
|
2172
|
-
[8192 + 131, "rsp-qry-
|
|
2173
|
-
[8192 + 132, "rsp-qry-
|
|
2174
|
-
[8192 + 133, "rsp-qry-spbm-
|
|
2175
|
-
[8192 + 134, "rsp-qry-spbm-
|
|
2176
|
-
[8192 + 135, "rsp-qry-spbm-
|
|
2177
|
-
[8192 + 136, "rsp-qry-spbm-
|
|
2178
|
-
[8192 + 137, "rsp-qry-
|
|
2179
|
-
[8192 + 138, "rsp-qry-investor-
|
|
2180
|
-
[8192 + 139, "rsp-qry-investor-
|
|
2181
|
-
[8192 + 140, "rsp-qry-investor-
|
|
2182
|
-
[8192 + 141, "rsp-qry-spmm-
|
|
2183
|
-
[8192 + 142, "rsp-qry-spmm-
|
|
2184
|
-
[8192 + 143, "rsp-qry-
|
|
2185
|
-
[8192 + 144, "rsp-qry-
|
|
2186
|
-
[8192 + 145, "rsp-qry-
|
|
2187
|
-
[8192 + 146, "rsp-qry-rcams-
|
|
2188
|
-
[8192 + 147, "rsp-qry-rcams-
|
|
2189
|
-
[8192 + 148, "rsp-qry-rcams-
|
|
2190
|
-
[8192 + 149, "rsp-qry-rcams-
|
|
2191
|
-
[8192 + 150, "rsp-qry-
|
|
2192
|
-
[8192 + 151, "rsp-qry-
|
|
2193
|
-
[8192 + 152, "rsp-qry-
|
|
2194
|
-
[8192 + 153, "rsp-qry-rule-
|
|
2195
|
-
[8192 + 154, "rsp-qry-
|
|
2184
|
+
[8192 + 5, "rtn-private-seq-no"],
|
|
2185
|
+
[8192 + 6, "rsp-user-login"],
|
|
2186
|
+
[8192 + 7, "rsp-user-logout"],
|
|
2187
|
+
[8192 + 8, "rsp-user-password-update"],
|
|
2188
|
+
[8192 + 9, "rsp-trading-account-password-update"],
|
|
2189
|
+
[8192 + 10, "rsp-user-auth-method"],
|
|
2190
|
+
[8192 + 11, "rsp-gen-user-captcha"],
|
|
2191
|
+
[8192 + 12, "rsp-gen-user-text"],
|
|
2192
|
+
[8192 + 13, "rsp-order-insert"],
|
|
2193
|
+
[8192 + 14, "rsp-parked-order-insert"],
|
|
2194
|
+
[8192 + 15, "rsp-parked-order-action"],
|
|
2195
|
+
[8192 + 16, "rsp-order-action"],
|
|
2196
|
+
[8192 + 17, "rsp-qry-max-order-volume"],
|
|
2197
|
+
[8192 + 18, "rsp-settlement-info-confirm"],
|
|
2198
|
+
[8192 + 19, "rsp-remove-parked-order"],
|
|
2199
|
+
[8192 + 20, "rsp-remove-parked-order-action"],
|
|
2200
|
+
[8192 + 21, "rsp-exec-order-insert"],
|
|
2201
|
+
[8192 + 22, "rsp-exec-order-action"],
|
|
2202
|
+
[8192 + 23, "rsp-for-quote-insert"],
|
|
2203
|
+
[8192 + 24, "rsp-quote-insert"],
|
|
2204
|
+
[8192 + 25, "rsp-quote-action"],
|
|
2205
|
+
[8192 + 26, "rsp-batch-order-action"],
|
|
2206
|
+
[8192 + 27, "rsp-option-self-close-insert"],
|
|
2207
|
+
[8192 + 28, "rsp-option-self-close-action"],
|
|
2208
|
+
[8192 + 29, "rsp-comb-action-insert"],
|
|
2209
|
+
[8192 + 30, "rsp-qry-order"],
|
|
2210
|
+
[8192 + 31, "rsp-qry-trade"],
|
|
2211
|
+
[8192 + 32, "rsp-qry-investor-position"],
|
|
2212
|
+
[8192 + 33, "rsp-qry-trading-account"],
|
|
2213
|
+
[8192 + 34, "rsp-qry-investor"],
|
|
2214
|
+
[8192 + 35, "rsp-qry-trading-code"],
|
|
2215
|
+
[8192 + 36, "rsp-qry-instrument-margin-rate"],
|
|
2216
|
+
[8192 + 37, "rsp-qry-instrument-commission-rate"],
|
|
2217
|
+
[8192 + 38, "rsp-qry-user-session"],
|
|
2218
|
+
[8192 + 39, "rsp-qry-exchange"],
|
|
2219
|
+
[8192 + 40, "rsp-qry-product"],
|
|
2220
|
+
[8192 + 41, "rsp-qry-instrument"],
|
|
2221
|
+
[8192 + 42, "rsp-qry-depth-market-data"],
|
|
2222
|
+
[8192 + 43, "rsp-qry-trader-offer"],
|
|
2223
|
+
[8192 + 44, "rsp-qry-settlement-info"],
|
|
2224
|
+
[8192 + 45, "rsp-qry-transfer-bank"],
|
|
2225
|
+
[8192 + 46, "rsp-qry-investor-position-detail"],
|
|
2226
|
+
[8192 + 47, "rsp-qry-notice"],
|
|
2227
|
+
[8192 + 48, "rsp-qry-settlement-info-confirm"],
|
|
2228
|
+
[8192 + 49, "rsp-qry-investor-position-combine-detail"],
|
|
2229
|
+
[8192 + 50, "rsp-qry-cfmmc-trading-account-key"],
|
|
2230
|
+
[8192 + 51, "rsp-qry-e-warrant-offset"],
|
|
2231
|
+
[8192 + 52, "rsp-qry-investor-product-group-margin"],
|
|
2232
|
+
[8192 + 53, "rsp-qry-exchange-margin-rate"],
|
|
2233
|
+
[8192 + 54, "rsp-qry-exchange-margin-rate-adjust"],
|
|
2234
|
+
[8192 + 55, "rsp-qry-exchange-rate"],
|
|
2235
|
+
[8192 + 56, "rsp-qry-sec-agent-acid-map"],
|
|
2236
|
+
[8192 + 57, "rsp-qry-product-exch-rate"],
|
|
2237
|
+
[8192 + 58, "rsp-qry-product-group"],
|
|
2238
|
+
[8192 + 59, "rsp-qry-mm-instrument-commission-rate"],
|
|
2239
|
+
[8192 + 60, "rsp-qry-mm-option-instr-comm-rate"],
|
|
2240
|
+
[8192 + 61, "rsp-qry-instrument-order-comm-rate"],
|
|
2241
|
+
[8192 + 62, "rsp-qry-sec-agent-trading-account"],
|
|
2242
|
+
[8192 + 63, "rsp-qry-sec-agent-check-mode"],
|
|
2243
|
+
[8192 + 64, "rsp-qry-sec-agent-trade-info"],
|
|
2244
|
+
[8192 + 65, "rsp-qry-option-instr-trade-cost"],
|
|
2245
|
+
[8192 + 66, "rsp-qry-option-instr-comm-rate"],
|
|
2246
|
+
[8192 + 67, "rsp-qry-exec-order"],
|
|
2247
|
+
[8192 + 68, "rsp-qry-for-quote"],
|
|
2248
|
+
[8192 + 69, "rsp-qry-quote"],
|
|
2249
|
+
[8192 + 70, "rsp-qry-option-self-close"],
|
|
2250
|
+
[8192 + 71, "rsp-qry-invest-unit"],
|
|
2251
|
+
[8192 + 72, "rsp-qry-comb-instrument-guard"],
|
|
2252
|
+
[8192 + 73, "rsp-qry-comb-action"],
|
|
2253
|
+
[8192 + 74, "rsp-qry-transfer-serial"],
|
|
2254
|
+
[8192 + 75, "rsp-qry-accountregister"],
|
|
2255
|
+
[8192 + 76, "rsp-error"],
|
|
2256
|
+
[8192 + 77, "rtn-order"],
|
|
2257
|
+
[8192 + 78, "rtn-trade"],
|
|
2258
|
+
[8192 + 79, "err-rtn-order-insert"],
|
|
2259
|
+
[8192 + 80, "err-rtn-order-action"],
|
|
2260
|
+
[8192 + 81, "rtn-instrument-status"],
|
|
2261
|
+
[8192 + 82, "rtn-bulletin"],
|
|
2262
|
+
[8192 + 83, "rtn-trading-notice"],
|
|
2263
|
+
[8192 + 84, "rtn-error-conditional-order"],
|
|
2264
|
+
[8192 + 85, "rtn-exec-order"],
|
|
2265
|
+
[8192 + 86, "err-rtn-exec-order-insert"],
|
|
2266
|
+
[8192 + 87, "err-rtn-exec-order-action"],
|
|
2267
|
+
[8192 + 88, "err-rtn-for-quote-insert"],
|
|
2268
|
+
[8192 + 89, "rtn-quote"],
|
|
2269
|
+
[8192 + 90, "err-rtn-quote-insert"],
|
|
2270
|
+
[8192 + 91, "err-rtn-quote-action"],
|
|
2271
|
+
[8192 + 92, "rtn-for-quote-rsp"],
|
|
2272
|
+
[8192 + 93, "rtn-cfmmc-trading-account-token"],
|
|
2273
|
+
[8192 + 94, "err-rtn-batch-order-action"],
|
|
2274
|
+
[8192 + 95, "rtn-option-self-close"],
|
|
2275
|
+
[8192 + 96, "err-rtn-option-self-close-insert"],
|
|
2276
|
+
[8192 + 97, "err-rtn-option-self-close-action"],
|
|
2277
|
+
[8192 + 98, "rtn-comb-action"],
|
|
2278
|
+
[8192 + 99, "err-rtn-comb-action-insert"],
|
|
2279
|
+
[8192 + 100, "rsp-qry-contract-bank"],
|
|
2280
|
+
[8192 + 101, "rsp-qry-parked-order"],
|
|
2281
|
+
[8192 + 102, "rsp-qry-parked-order-action"],
|
|
2282
|
+
[8192 + 103, "rsp-qry-trading-notice"],
|
|
2283
|
+
[8192 + 104, "rsp-qry-broker-trading-params"],
|
|
2284
|
+
[8192 + 105, "rsp-qry-broker-trading-algos"],
|
|
2285
|
+
[8192 + 106, "rsp-query-cfmmc-trading-account-token"],
|
|
2286
|
+
[8192 + 107, "rtn-from-bank-to-future-by-bank"],
|
|
2287
|
+
[8192 + 108, "rtn-from-future-to-bank-by-bank"],
|
|
2288
|
+
[8192 + 109, "rtn-repeal-from-bank-to-future-by-bank"],
|
|
2289
|
+
[8192 + 110, "rtn-repeal-from-future-to-bank-by-bank"],
|
|
2290
|
+
[8192 + 111, "rtn-from-bank-to-future-by-future"],
|
|
2291
|
+
[8192 + 112, "rtn-from-future-to-bank-by-future"],
|
|
2292
|
+
[8192 + 113, "rtn-repeal-from-bank-to-future-by-future-manual"],
|
|
2293
|
+
[8192 + 114, "rtn-repeal-from-future-to-bank-by-future-manual"],
|
|
2294
|
+
[8192 + 115, "rtn-query-bank-balance-by-future"],
|
|
2295
|
+
[8192 + 116, "err-rtn-bank-to-future-by-future"],
|
|
2296
|
+
[8192 + 117, "err-rtn-future-to-bank-by-future"],
|
|
2297
|
+
[8192 + 118, "err-rtn-repeal-bank-to-future-by-future-manual"],
|
|
2298
|
+
[8192 + 119, "err-rtn-repeal-future-to-bank-by-future-manual"],
|
|
2299
|
+
[8192 + 120, "err-rtn-query-bank-balance-by-future"],
|
|
2300
|
+
[8192 + 121, "rtn-repeal-from-bank-to-future-by-future"],
|
|
2301
|
+
[8192 + 122, "rtn-repeal-from-future-to-bank-by-future"],
|
|
2302
|
+
[8192 + 123, "rsp-from-bank-to-future-by-future"],
|
|
2303
|
+
[8192 + 124, "rsp-from-future-to-bank-by-future"],
|
|
2304
|
+
[8192 + 125, "rsp-query-bank-account-money-by-future"],
|
|
2305
|
+
[8192 + 126, "rtn-open-account-by-bank"],
|
|
2306
|
+
[8192 + 127, "rtn-cancel-account-by-bank"],
|
|
2307
|
+
[8192 + 128, "rtn-change-account-by-bank"],
|
|
2308
|
+
[8192 + 129, "rsp-qry-classified-instrument"],
|
|
2309
|
+
[8192 + 130, "rsp-qry-comb-promotion-param"],
|
|
2310
|
+
[8192 + 131, "rsp-qry-risk-settle-invst-position"],
|
|
2311
|
+
[8192 + 132, "rsp-qry-risk-settle-product-status"],
|
|
2312
|
+
[8192 + 133, "rsp-qry-spbm-future-parameter"],
|
|
2313
|
+
[8192 + 134, "rsp-qry-spbm-option-parameter"],
|
|
2314
|
+
[8192 + 135, "rsp-qry-spbm-intra-parameter"],
|
|
2315
|
+
[8192 + 136, "rsp-qry-spbm-inter-parameter"],
|
|
2316
|
+
[8192 + 137, "rsp-qry-spbm-portf-definition"],
|
|
2317
|
+
[8192 + 138, "rsp-qry-spbm-investor-portf-def"],
|
|
2318
|
+
[8192 + 139, "rsp-qry-investor-portf-margin-ratio"],
|
|
2319
|
+
[8192 + 140, "rsp-qry-investor-prod-spbm-detail"],
|
|
2320
|
+
[8192 + 141, "rsp-qry-investor-commodity-spmm-margin"],
|
|
2321
|
+
[8192 + 142, "rsp-qry-investor-commodity-group-spmm-margin"],
|
|
2322
|
+
[8192 + 143, "rsp-qry-spmm-inst-param"],
|
|
2323
|
+
[8192 + 144, "rsp-qry-spmm-product-param"],
|
|
2324
|
+
[8192 + 145, "rsp-qry-spbm-add-on-inter-parameter"],
|
|
2325
|
+
[8192 + 146, "rsp-qry-rcams-comb-product-info"],
|
|
2326
|
+
[8192 + 147, "rsp-qry-rcams-instr-parameter"],
|
|
2327
|
+
[8192 + 148, "rsp-qry-rcams-intra-parameter"],
|
|
2328
|
+
[8192 + 149, "rsp-qry-rcams-inter-parameter"],
|
|
2329
|
+
[8192 + 150, "rsp-qry-rcams-short-opt-adjust-param"],
|
|
2330
|
+
[8192 + 151, "rsp-qry-rcams-investor-comb-position"],
|
|
2331
|
+
[8192 + 152, "rsp-qry-investor-prod-rcams-margin"],
|
|
2332
|
+
[8192 + 153, "rsp-qry-rule-instr-parameter"],
|
|
2333
|
+
[8192 + 154, "rsp-qry-rule-intra-parameter"],
|
|
2334
|
+
[8192 + 155, "rsp-qry-rule-inter-parameter"],
|
|
2335
|
+
[8192 + 156, "rsp-qry-investor-prod-rule-margin"],
|
|
2336
|
+
[8192 + 157, "rsp-qry-investor-portf-setting"],
|
|
2337
|
+
[8192 + 158, "rsp-qry-investor-info-comm-rec"],
|
|
2338
|
+
[8192 + 159, "rsp-qry-comb-leg"],
|
|
2339
|
+
[8192 + 160, "rsp-offset-setting"],
|
|
2340
|
+
[8192 + 161, "rsp-cancel-offset-setting"],
|
|
2341
|
+
[8192 + 162, "rtn-offset-setting"],
|
|
2342
|
+
[8192 + 163, "err-rtn-offset-setting"],
|
|
2343
|
+
[8192 + 164, "err-rtn-cancel-offset-setting"],
|
|
2344
|
+
[8192 + 165, "rsp-qry-offset-setting"],
|
|
2345
|
+
[8192 + 166, "rsp-gen-sms-code"],
|
|
2346
|
+
[8192 + 167, "rsp-spd-apply"],
|
|
2347
|
+
[8192 + 168, "rsp-spd-apply-action"],
|
|
2348
|
+
[8192 + 169, "rsp-qry-spd-apply"],
|
|
2349
|
+
[8192 + 170, "rtn-spd-apply"],
|
|
2350
|
+
[8192 + 171, "err-rtn-spd-apply"],
|
|
2351
|
+
[8192 + 172, "err-rtn-spd-apply-action"],
|
|
2352
|
+
[8192 + 173, "rsp-hedge-cfm"],
|
|
2353
|
+
[8192 + 174, "rsp-hedge-cfm-action"],
|
|
2354
|
+
[8192 + 175, "rsp-qry-hedge-cfm"],
|
|
2355
|
+
[8192 + 176, "rtn-hedge-cfm"],
|
|
2356
|
+
[8192 + 177, "err-rtn-hedge-cfm"],
|
|
2357
|
+
[8192 + 178, "err-rtn-hedge-cfm-action"]
|
|
2196
2358
|
]);
|
|
2197
2359
|
var TraderBase = class extends CtpClient {
|
|
2198
2360
|
reqAuthenticate(req = {}) {
|
|
@@ -2303,230 +2465,272 @@ var TraderBase = class extends CtpClient {
|
|
|
2303
2465
|
reqQryInstrumentCommissionRate(req = {}) {
|
|
2304
2466
|
return this.request((id) => this.native._req(36, this.encode(STRUCT_ID.QryInstrumentCommissionRate, req), id), false);
|
|
2305
2467
|
}
|
|
2468
|
+
reqQryUserSession(req = {}) {
|
|
2469
|
+
return this.request((id) => this.native._req(37, this.encode(STRUCT_ID.QryUserSession, req), id), false);
|
|
2470
|
+
}
|
|
2306
2471
|
reqQryExchange(req = {}) {
|
|
2307
|
-
return this.request((id) => this.native._req(
|
|
2472
|
+
return this.request((id) => this.native._req(38, this.encode(STRUCT_ID.QryExchange, req), id), false);
|
|
2308
2473
|
}
|
|
2309
2474
|
reqQryProduct(req = {}) {
|
|
2310
|
-
return this.request((id) => this.native._req(
|
|
2475
|
+
return this.request((id) => this.native._req(39, this.encode(STRUCT_ID.QryProduct, req), id), false);
|
|
2311
2476
|
}
|
|
2312
2477
|
reqQryInstrument(req = {}) {
|
|
2313
|
-
return this.request((id) => this.native._req(
|
|
2478
|
+
return this.request((id) => this.native._req(40, this.encode(STRUCT_ID.QryInstrument, req), id), false);
|
|
2314
2479
|
}
|
|
2315
2480
|
reqQryDepthMarketData(req = {}) {
|
|
2316
|
-
return this.request((id) => this.native._req(
|
|
2481
|
+
return this.request((id) => this.native._req(41, this.encode(STRUCT_ID.QryDepthMarketData, req), id), false);
|
|
2317
2482
|
}
|
|
2318
2483
|
reqQryTraderOffer(req = {}) {
|
|
2319
|
-
return this.request((id) => this.native._req(
|
|
2484
|
+
return this.request((id) => this.native._req(42, this.encode(STRUCT_ID.QryTraderOffer, req), id), false);
|
|
2320
2485
|
}
|
|
2321
2486
|
reqQrySettlementInfo(req = {}) {
|
|
2322
|
-
return this.request((id) => this.native._req(
|
|
2487
|
+
return this.request((id) => this.native._req(43, this.encode(STRUCT_ID.QrySettlementInfo, req), id), false);
|
|
2323
2488
|
}
|
|
2324
2489
|
reqQryTransferBank(req = {}) {
|
|
2325
|
-
return this.request((id) => this.native._req(
|
|
2490
|
+
return this.request((id) => this.native._req(44, this.encode(STRUCT_ID.QryTransferBank, req), id), false);
|
|
2326
2491
|
}
|
|
2327
2492
|
reqQryInvestorPositionDetail(req = {}) {
|
|
2328
|
-
return this.request((id) => this.native._req(
|
|
2493
|
+
return this.request((id) => this.native._req(45, this.encode(STRUCT_ID.QryInvestorPositionDetail, req), id), false);
|
|
2329
2494
|
}
|
|
2330
2495
|
reqQryNotice(req = {}) {
|
|
2331
|
-
return this.request((id) => this.native._req(
|
|
2496
|
+
return this.request((id) => this.native._req(46, this.encode(STRUCT_ID.QryNotice, req), id), false);
|
|
2332
2497
|
}
|
|
2333
2498
|
reqQrySettlementInfoConfirm(req = {}) {
|
|
2334
|
-
return this.request((id) => this.native._req(
|
|
2499
|
+
return this.request((id) => this.native._req(47, this.encode(STRUCT_ID.QrySettlementInfoConfirm, req), id), false);
|
|
2335
2500
|
}
|
|
2336
2501
|
reqQryInvestorPositionCombineDetail(req = {}) {
|
|
2337
|
-
return this.request((id) => this.native._req(
|
|
2502
|
+
return this.request((id) => this.native._req(48, this.encode(STRUCT_ID.QryInvestorPositionCombineDetail, req), id), false);
|
|
2338
2503
|
}
|
|
2339
2504
|
reqQryCfmmcTradingAccountKey(req = {}) {
|
|
2340
|
-
return this.request((id) => this.native._req(
|
|
2505
|
+
return this.request((id) => this.native._req(49, this.encode(STRUCT_ID.QryCFMMCTradingAccountKey, req), id), false);
|
|
2341
2506
|
}
|
|
2342
2507
|
reqQryEWarrantOffset(req = {}) {
|
|
2343
|
-
return this.request((id) => this.native._req(
|
|
2508
|
+
return this.request((id) => this.native._req(50, this.encode(STRUCT_ID.QryEWarrantOffset, req), id), false);
|
|
2344
2509
|
}
|
|
2345
2510
|
reqQryInvestorProductGroupMargin(req = {}) {
|
|
2346
|
-
return this.request((id) => this.native._req(
|
|
2511
|
+
return this.request((id) => this.native._req(51, this.encode(STRUCT_ID.QryInvestorProductGroupMargin, req), id), false);
|
|
2347
2512
|
}
|
|
2348
2513
|
reqQryExchangeMarginRate(req = {}) {
|
|
2349
|
-
return this.request((id) => this.native._req(
|
|
2514
|
+
return this.request((id) => this.native._req(52, this.encode(STRUCT_ID.QryExchangeMarginRate, req), id), false);
|
|
2350
2515
|
}
|
|
2351
2516
|
reqQryExchangeMarginRateAdjust(req = {}) {
|
|
2352
|
-
return this.request((id) => this.native._req(
|
|
2517
|
+
return this.request((id) => this.native._req(53, this.encode(STRUCT_ID.QryExchangeMarginRateAdjust, req), id), false);
|
|
2353
2518
|
}
|
|
2354
2519
|
reqQryExchangeRate(req = {}) {
|
|
2355
|
-
return this.request((id) => this.native._req(
|
|
2520
|
+
return this.request((id) => this.native._req(54, this.encode(STRUCT_ID.QryExchangeRate, req), id), false);
|
|
2356
2521
|
}
|
|
2357
2522
|
reqQrySecAgentAcidMap(req = {}) {
|
|
2358
|
-
return this.request((id) => this.native._req(
|
|
2523
|
+
return this.request((id) => this.native._req(55, this.encode(STRUCT_ID.QrySecAgentACIDMap, req), id), false);
|
|
2359
2524
|
}
|
|
2360
2525
|
reqQryProductExchRate(req = {}) {
|
|
2361
|
-
return this.request((id) => this.native._req(
|
|
2526
|
+
return this.request((id) => this.native._req(56, this.encode(STRUCT_ID.QryProductExchRate, req), id), false);
|
|
2362
2527
|
}
|
|
2363
2528
|
reqQryProductGroup(req = {}) {
|
|
2364
|
-
return this.request((id) => this.native._req(
|
|
2529
|
+
return this.request((id) => this.native._req(57, this.encode(STRUCT_ID.QryProductGroup, req), id), false);
|
|
2365
2530
|
}
|
|
2366
2531
|
reqQryMmInstrumentCommissionRate(req = {}) {
|
|
2367
|
-
return this.request((id) => this.native._req(
|
|
2532
|
+
return this.request((id) => this.native._req(58, this.encode(STRUCT_ID.QryMMInstrumentCommissionRate, req), id), false);
|
|
2368
2533
|
}
|
|
2369
2534
|
reqQryMmOptionInstrCommRate(req = {}) {
|
|
2370
|
-
return this.request((id) => this.native._req(
|
|
2535
|
+
return this.request((id) => this.native._req(59, this.encode(STRUCT_ID.QryMMOptionInstrCommRate, req), id), false);
|
|
2371
2536
|
}
|
|
2372
2537
|
reqQryInstrumentOrderCommRate(req = {}) {
|
|
2373
|
-
return this.request((id) => this.native._req(
|
|
2538
|
+
return this.request((id) => this.native._req(60, this.encode(STRUCT_ID.QryInstrumentOrderCommRate, req), id), false);
|
|
2374
2539
|
}
|
|
2375
2540
|
reqQrySecAgentTradingAccount(req = {}) {
|
|
2376
|
-
return this.request((id) => this.native._req(
|
|
2541
|
+
return this.request((id) => this.native._req(61, this.encode(STRUCT_ID.QryTradingAccount, req), id), false);
|
|
2377
2542
|
}
|
|
2378
2543
|
reqQrySecAgentCheckMode(req = {}) {
|
|
2379
|
-
return this.request((id) => this.native._req(
|
|
2544
|
+
return this.request((id) => this.native._req(62, this.encode(STRUCT_ID.QrySecAgentCheckMode, req), id), false);
|
|
2380
2545
|
}
|
|
2381
2546
|
reqQrySecAgentTradeInfo(req = {}) {
|
|
2382
|
-
return this.request((id) => this.native._req(
|
|
2547
|
+
return this.request((id) => this.native._req(63, this.encode(STRUCT_ID.QrySecAgentTradeInfo, req), id), false);
|
|
2383
2548
|
}
|
|
2384
2549
|
reqQryOptionInstrTradeCost(req = {}) {
|
|
2385
|
-
return this.request((id) => this.native._req(
|
|
2550
|
+
return this.request((id) => this.native._req(64, this.encode(STRUCT_ID.QryOptionInstrTradeCost, req), id), false);
|
|
2386
2551
|
}
|
|
2387
2552
|
reqQryOptionInstrCommRate(req = {}) {
|
|
2388
|
-
return this.request((id) => this.native._req(
|
|
2553
|
+
return this.request((id) => this.native._req(65, this.encode(STRUCT_ID.QryOptionInstrCommRate, req), id), false);
|
|
2389
2554
|
}
|
|
2390
2555
|
reqQryExecOrder(req = {}) {
|
|
2391
|
-
return this.request((id) => this.native._req(
|
|
2556
|
+
return this.request((id) => this.native._req(66, this.encode(STRUCT_ID.QryExecOrder, req), id), false);
|
|
2392
2557
|
}
|
|
2393
2558
|
reqQryForQuote(req = {}) {
|
|
2394
|
-
return this.request((id) => this.native._req(
|
|
2559
|
+
return this.request((id) => this.native._req(67, this.encode(STRUCT_ID.QryForQuote, req), id), false);
|
|
2395
2560
|
}
|
|
2396
2561
|
reqQryQuote(req = {}) {
|
|
2397
|
-
return this.request((id) => this.native._req(
|
|
2562
|
+
return this.request((id) => this.native._req(68, this.encode(STRUCT_ID.QryQuote, req), id), false);
|
|
2398
2563
|
}
|
|
2399
2564
|
reqQryOptionSelfClose(req = {}) {
|
|
2400
|
-
return this.request((id) => this.native._req(
|
|
2565
|
+
return this.request((id) => this.native._req(69, this.encode(STRUCT_ID.QryOptionSelfClose, req), id), false);
|
|
2401
2566
|
}
|
|
2402
2567
|
reqQryInvestUnit(req = {}) {
|
|
2403
|
-
return this.request((id) => this.native._req(
|
|
2568
|
+
return this.request((id) => this.native._req(70, this.encode(STRUCT_ID.QryInvestUnit, req), id), false);
|
|
2404
2569
|
}
|
|
2405
2570
|
reqQryCombInstrumentGuard(req = {}) {
|
|
2406
|
-
return this.request((id) => this.native._req(
|
|
2571
|
+
return this.request((id) => this.native._req(71, this.encode(STRUCT_ID.QryCombInstrumentGuard, req), id), false);
|
|
2407
2572
|
}
|
|
2408
2573
|
reqQryCombAction(req = {}) {
|
|
2409
|
-
return this.request((id) => this.native._req(
|
|
2574
|
+
return this.request((id) => this.native._req(72, this.encode(STRUCT_ID.QryCombAction, req), id), false);
|
|
2410
2575
|
}
|
|
2411
2576
|
reqQryTransferSerial(req = {}) {
|
|
2412
|
-
return this.request((id) => this.native._req(
|
|
2577
|
+
return this.request((id) => this.native._req(73, this.encode(STRUCT_ID.QryTransferSerial, req), id), false);
|
|
2413
2578
|
}
|
|
2414
2579
|
reqQryAccountregister(req = {}) {
|
|
2415
|
-
return this.request((id) => this.native._req(
|
|
2580
|
+
return this.request((id) => this.native._req(74, this.encode(STRUCT_ID.QryAccountregister, req), id), false);
|
|
2416
2581
|
}
|
|
2417
2582
|
reqQryContractBank(req = {}) {
|
|
2418
|
-
return this.request((id) => this.native._req(
|
|
2583
|
+
return this.request((id) => this.native._req(75, this.encode(STRUCT_ID.QryContractBank, req), id), false);
|
|
2419
2584
|
}
|
|
2420
2585
|
reqQryParkedOrder(req = {}) {
|
|
2421
|
-
return this.request((id) => this.native._req(
|
|
2586
|
+
return this.request((id) => this.native._req(76, this.encode(STRUCT_ID.QryParkedOrder, req), id), false);
|
|
2422
2587
|
}
|
|
2423
2588
|
reqQryParkedOrderAction(req = {}) {
|
|
2424
|
-
return this.request((id) => this.native._req(
|
|
2589
|
+
return this.request((id) => this.native._req(77, this.encode(STRUCT_ID.QryParkedOrderAction, req), id), false);
|
|
2425
2590
|
}
|
|
2426
2591
|
reqQryTradingNotice(req = {}) {
|
|
2427
|
-
return this.request((id) => this.native._req(
|
|
2592
|
+
return this.request((id) => this.native._req(78, this.encode(STRUCT_ID.QryTradingNotice, req), id), false);
|
|
2428
2593
|
}
|
|
2429
2594
|
reqQryBrokerTradingParams(req = {}) {
|
|
2430
|
-
return this.request((id) => this.native._req(
|
|
2595
|
+
return this.request((id) => this.native._req(79, this.encode(STRUCT_ID.QryBrokerTradingParams, req), id), false);
|
|
2431
2596
|
}
|
|
2432
2597
|
reqQryBrokerTradingAlgos(req = {}) {
|
|
2433
|
-
return this.request((id) => this.native._req(
|
|
2598
|
+
return this.request((id) => this.native._req(80, this.encode(STRUCT_ID.QryBrokerTradingAlgos, req), id), false);
|
|
2434
2599
|
}
|
|
2435
2600
|
reqQueryCfmmcTradingAccountToken(req = {}) {
|
|
2436
|
-
return this.request((id) => this.native._req(
|
|
2601
|
+
return this.request((id) => this.native._req(81, this.encode(STRUCT_ID.QueryCFMMCTradingAccountToken, req), id), true);
|
|
2437
2602
|
}
|
|
2438
2603
|
reqFromBankToFutureByFuture(req = {}) {
|
|
2439
|
-
return this.request((id) => this.native._req(
|
|
2604
|
+
return this.request((id) => this.native._req(82, this.encode(STRUCT_ID.ReqTransfer, req), id), true);
|
|
2440
2605
|
}
|
|
2441
2606
|
reqFromFutureToBankByFuture(req = {}) {
|
|
2442
|
-
return this.request((id) => this.native._req(
|
|
2607
|
+
return this.request((id) => this.native._req(83, this.encode(STRUCT_ID.ReqTransfer, req), id), true);
|
|
2443
2608
|
}
|
|
2444
2609
|
reqQueryBankAccountMoneyByFuture(req = {}) {
|
|
2445
|
-
return this.request((id) => this.native._req(
|
|
2610
|
+
return this.request((id) => this.native._req(84, this.encode(STRUCT_ID.ReqQueryAccount, req), id), true);
|
|
2446
2611
|
}
|
|
2447
2612
|
reqQryClassifiedInstrument(req = {}) {
|
|
2448
|
-
return this.request((id) => this.native._req(
|
|
2613
|
+
return this.request((id) => this.native._req(85, this.encode(STRUCT_ID.QryClassifiedInstrument, req), id), false);
|
|
2449
2614
|
}
|
|
2450
2615
|
reqQryCombPromotionParam(req = {}) {
|
|
2451
|
-
return this.request((id) => this.native._req(
|
|
2616
|
+
return this.request((id) => this.native._req(86, this.encode(STRUCT_ID.QryCombPromotionParam, req), id), false);
|
|
2452
2617
|
}
|
|
2453
2618
|
reqQryRiskSettleInvstPosition(req = {}) {
|
|
2454
|
-
return this.request((id) => this.native._req(
|
|
2619
|
+
return this.request((id) => this.native._req(87, this.encode(STRUCT_ID.QryRiskSettleInvstPosition, req), id), false);
|
|
2455
2620
|
}
|
|
2456
2621
|
reqQryRiskSettleProductStatus(req = {}) {
|
|
2457
|
-
return this.request((id) => this.native._req(
|
|
2622
|
+
return this.request((id) => this.native._req(88, this.encode(STRUCT_ID.QryRiskSettleProductStatus, req), id), false);
|
|
2458
2623
|
}
|
|
2459
2624
|
reqQrySpbmFutureParameter(req = {}) {
|
|
2460
|
-
return this.request((id) => this.native._req(
|
|
2625
|
+
return this.request((id) => this.native._req(89, this.encode(STRUCT_ID.QrySPBMFutureParameter, req), id), false);
|
|
2461
2626
|
}
|
|
2462
2627
|
reqQrySpbmOptionParameter(req = {}) {
|
|
2463
|
-
return this.request((id) => this.native._req(
|
|
2628
|
+
return this.request((id) => this.native._req(90, this.encode(STRUCT_ID.QrySPBMOptionParameter, req), id), false);
|
|
2464
2629
|
}
|
|
2465
2630
|
reqQrySpbmIntraParameter(req = {}) {
|
|
2466
|
-
return this.request((id) => this.native._req(
|
|
2631
|
+
return this.request((id) => this.native._req(91, this.encode(STRUCT_ID.QrySPBMIntraParameter, req), id), false);
|
|
2467
2632
|
}
|
|
2468
2633
|
reqQrySpbmInterParameter(req = {}) {
|
|
2469
|
-
return this.request((id) => this.native._req(
|
|
2634
|
+
return this.request((id) => this.native._req(92, this.encode(STRUCT_ID.QrySPBMInterParameter, req), id), false);
|
|
2470
2635
|
}
|
|
2471
2636
|
reqQrySpbmPortfDefinition(req = {}) {
|
|
2472
|
-
return this.request((id) => this.native._req(
|
|
2637
|
+
return this.request((id) => this.native._req(93, this.encode(STRUCT_ID.QrySPBMPortfDefinition, req), id), false);
|
|
2473
2638
|
}
|
|
2474
2639
|
reqQrySpbmInvestorPortfDef(req = {}) {
|
|
2475
|
-
return this.request((id) => this.native._req(
|
|
2640
|
+
return this.request((id) => this.native._req(94, this.encode(STRUCT_ID.QrySPBMInvestorPortfDef, req), id), false);
|
|
2476
2641
|
}
|
|
2477
2642
|
reqQryInvestorPortfMarginRatio(req = {}) {
|
|
2478
|
-
return this.request((id) => this.native._req(
|
|
2643
|
+
return this.request((id) => this.native._req(95, this.encode(STRUCT_ID.QryInvestorPortfMarginRatio, req), id), false);
|
|
2479
2644
|
}
|
|
2480
2645
|
reqQryInvestorProdSpbmDetail(req = {}) {
|
|
2481
|
-
return this.request((id) => this.native._req(
|
|
2646
|
+
return this.request((id) => this.native._req(96, this.encode(STRUCT_ID.QryInvestorProdSPBMDetail, req), id), false);
|
|
2482
2647
|
}
|
|
2483
2648
|
reqQryInvestorCommoditySpmmMargin(req = {}) {
|
|
2484
|
-
return this.request((id) => this.native._req(
|
|
2649
|
+
return this.request((id) => this.native._req(97, this.encode(STRUCT_ID.QryInvestorCommoditySPMMMargin, req), id), false);
|
|
2485
2650
|
}
|
|
2486
2651
|
reqQryInvestorCommodityGroupSpmmMargin(req = {}) {
|
|
2487
|
-
return this.request((id) => this.native._req(
|
|
2652
|
+
return this.request((id) => this.native._req(98, this.encode(STRUCT_ID.QryInvestorCommodityGroupSPMMMargin, req), id), false);
|
|
2488
2653
|
}
|
|
2489
2654
|
reqQrySpmmInstParam(req = {}) {
|
|
2490
|
-
return this.request((id) => this.native._req(
|
|
2655
|
+
return this.request((id) => this.native._req(99, this.encode(STRUCT_ID.QrySPMMInstParam, req), id), false);
|
|
2491
2656
|
}
|
|
2492
2657
|
reqQrySpmmProductParam(req = {}) {
|
|
2493
|
-
return this.request((id) => this.native._req(
|
|
2658
|
+
return this.request((id) => this.native._req(100, this.encode(STRUCT_ID.QrySPMMProductParam, req), id), false);
|
|
2494
2659
|
}
|
|
2495
2660
|
reqQrySpbmAddOnInterParameter(req = {}) {
|
|
2496
|
-
return this.request((id) => this.native._req(
|
|
2661
|
+
return this.request((id) => this.native._req(101, this.encode(STRUCT_ID.QrySPBMAddOnInterParameter, req), id), false);
|
|
2497
2662
|
}
|
|
2498
2663
|
reqQryRcamsCombProductInfo(req = {}) {
|
|
2499
|
-
return this.request((id) => this.native._req(
|
|
2664
|
+
return this.request((id) => this.native._req(102, this.encode(STRUCT_ID.QryRCAMSCombProductInfo, req), id), false);
|
|
2500
2665
|
}
|
|
2501
2666
|
reqQryRcamsInstrParameter(req = {}) {
|
|
2502
|
-
return this.request((id) => this.native._req(
|
|
2667
|
+
return this.request((id) => this.native._req(103, this.encode(STRUCT_ID.QryRCAMSInstrParameter, req), id), false);
|
|
2503
2668
|
}
|
|
2504
2669
|
reqQryRcamsIntraParameter(req = {}) {
|
|
2505
|
-
return this.request((id) => this.native._req(
|
|
2670
|
+
return this.request((id) => this.native._req(104, this.encode(STRUCT_ID.QryRCAMSIntraParameter, req), id), false);
|
|
2506
2671
|
}
|
|
2507
2672
|
reqQryRcamsInterParameter(req = {}) {
|
|
2508
|
-
return this.request((id) => this.native._req(
|
|
2673
|
+
return this.request((id) => this.native._req(105, this.encode(STRUCT_ID.QryRCAMSInterParameter, req), id), false);
|
|
2509
2674
|
}
|
|
2510
2675
|
reqQryRcamsShortOptAdjustParam(req = {}) {
|
|
2511
|
-
return this.request((id) => this.native._req(
|
|
2676
|
+
return this.request((id) => this.native._req(106, this.encode(STRUCT_ID.QryRCAMSShortOptAdjustParam, req), id), false);
|
|
2512
2677
|
}
|
|
2513
2678
|
reqQryRcamsInvestorCombPosition(req = {}) {
|
|
2514
|
-
return this.request((id) => this.native._req(
|
|
2679
|
+
return this.request((id) => this.native._req(107, this.encode(STRUCT_ID.QryRCAMSInvestorCombPosition, req), id), false);
|
|
2515
2680
|
}
|
|
2516
2681
|
reqQryInvestorProdRcamsMargin(req = {}) {
|
|
2517
|
-
return this.request((id) => this.native._req(
|
|
2682
|
+
return this.request((id) => this.native._req(108, this.encode(STRUCT_ID.QryInvestorProdRCAMSMargin, req), id), false);
|
|
2518
2683
|
}
|
|
2519
2684
|
reqQryRuleInstrParameter(req = {}) {
|
|
2520
|
-
return this.request((id) => this.native._req(
|
|
2685
|
+
return this.request((id) => this.native._req(109, this.encode(STRUCT_ID.QryRULEInstrParameter, req), id), false);
|
|
2521
2686
|
}
|
|
2522
2687
|
reqQryRuleIntraParameter(req = {}) {
|
|
2523
|
-
return this.request((id) => this.native._req(
|
|
2688
|
+
return this.request((id) => this.native._req(110, this.encode(STRUCT_ID.QryRULEIntraParameter, req), id), false);
|
|
2524
2689
|
}
|
|
2525
2690
|
reqQryRuleInterParameter(req = {}) {
|
|
2526
|
-
return this.request((id) => this.native._req(
|
|
2691
|
+
return this.request((id) => this.native._req(111, this.encode(STRUCT_ID.QryRULEInterParameter, req), id), false);
|
|
2527
2692
|
}
|
|
2528
2693
|
reqQryInvestorProdRuleMargin(req = {}) {
|
|
2529
|
-
return this.request((id) => this.native._req(
|
|
2694
|
+
return this.request((id) => this.native._req(112, this.encode(STRUCT_ID.QryInvestorProdRULEMargin, req), id), false);
|
|
2695
|
+
}
|
|
2696
|
+
reqQryInvestorPortfSetting(req = {}) {
|
|
2697
|
+
return this.request((id) => this.native._req(113, this.encode(STRUCT_ID.QryInvestorPortfSetting, req), id), false);
|
|
2698
|
+
}
|
|
2699
|
+
reqQryInvestorInfoCommRec(req = {}) {
|
|
2700
|
+
return this.request((id) => this.native._req(114, this.encode(STRUCT_ID.QryInvestorInfoCommRec, req), id), false);
|
|
2701
|
+
}
|
|
2702
|
+
reqQryCombLeg(req = {}) {
|
|
2703
|
+
return this.request((id) => this.native._req(115, this.encode(STRUCT_ID.QryCombLeg, req), id), false);
|
|
2704
|
+
}
|
|
2705
|
+
reqOffsetSetting(req = {}) {
|
|
2706
|
+
return this.request((id) => this.native._req(116, this.encode(STRUCT_ID.InputOffsetSetting, req), id), true);
|
|
2707
|
+
}
|
|
2708
|
+
reqCancelOffsetSetting(req = {}) {
|
|
2709
|
+
return this.request((id) => this.native._req(117, this.encode(STRUCT_ID.InputOffsetSetting, req), id), true);
|
|
2710
|
+
}
|
|
2711
|
+
reqQryOffsetSetting(req = {}) {
|
|
2712
|
+
return this.request((id) => this.native._req(118, this.encode(STRUCT_ID.QryOffsetSetting, req), id), false);
|
|
2713
|
+
}
|
|
2714
|
+
reqGenSmsCode(req = {}) {
|
|
2715
|
+
return this.request((id) => this.native._req(119, this.encode(STRUCT_ID.ReqGenSMSCode, req), id), true);
|
|
2716
|
+
}
|
|
2717
|
+
reqSpdApply(req = {}) {
|
|
2718
|
+
return this.request((id) => this.native._req(120, this.encode(STRUCT_ID.InputSpdApply, req), id), true);
|
|
2719
|
+
}
|
|
2720
|
+
reqSpdApplyAction(req = {}) {
|
|
2721
|
+
return this.request((id) => this.native._req(121, this.encode(STRUCT_ID.InputSpdApplyAction, req), id), true);
|
|
2722
|
+
}
|
|
2723
|
+
reqQrySpdApply(req = {}) {
|
|
2724
|
+
return this.request((id) => this.native._req(122, this.encode(STRUCT_ID.QrySpdApply, req), id), false);
|
|
2725
|
+
}
|
|
2726
|
+
reqHedgeCfm(req = {}) {
|
|
2727
|
+
return this.request((id) => this.native._req(123, this.encode(STRUCT_ID.InputHedgeCfm, req), id), true);
|
|
2728
|
+
}
|
|
2729
|
+
reqHedgeCfmAction(req = {}) {
|
|
2730
|
+
return this.request((id) => this.native._req(124, this.encode(STRUCT_ID.InputHedgeCfmAction, req), id), true);
|
|
2731
|
+
}
|
|
2732
|
+
reqQryHedgeCfm(req = {}) {
|
|
2733
|
+
return this.request((id) => this.native._req(125, this.encode(STRUCT_ID.QryHedgeCfm, req), id), false);
|
|
2530
2734
|
}
|
|
2531
2735
|
};
|
|
2532
2736
|
|
|
@@ -2972,6 +3176,7 @@ var FunctionCode;
|
|
|
2972
3176
|
FunctionCode2["ParkedOrderAction"] = "D";
|
|
2973
3177
|
FunctionCode2["SyncOTP"] = "E";
|
|
2974
3178
|
FunctionCode2["DeleteOrder"] = "F";
|
|
3179
|
+
FunctionCode2["ExitEmergency"] = "G";
|
|
2975
3180
|
})(FunctionCode || (FunctionCode = {}));
|
|
2976
3181
|
var BrokerFunctionCode;
|
|
2977
3182
|
(function(BrokerFunctionCode2) {
|
|
@@ -3030,6 +3235,7 @@ var BrokerFunctionCode;
|
|
|
3030
3235
|
BrokerFunctionCode2["QryPosiLimit"] = "V";
|
|
3031
3236
|
BrokerFunctionCode2["FBSign"] = "W";
|
|
3032
3237
|
BrokerFunctionCode2["FBAccount"] = "X";
|
|
3238
|
+
BrokerFunctionCode2["RcvSMSCode"] = "Y";
|
|
3033
3239
|
})(BrokerFunctionCode || (BrokerFunctionCode = {}));
|
|
3034
3240
|
var OrderActionStatus;
|
|
3035
3241
|
(function(OrderActionStatus2) {
|
|
@@ -3195,6 +3401,9 @@ var ForceCloseReason;
|
|
|
3195
3401
|
ForceCloseReason2["Other"] = "6";
|
|
3196
3402
|
ForceCloseReason2["PersonDeliv"] = "7";
|
|
3197
3403
|
ForceCloseReason2["Notverifycapital"] = "8";
|
|
3404
|
+
ForceCloseReason2["LocalLackDeposit"] = "9";
|
|
3405
|
+
ForceCloseReason2["LocalViolationNocheck"] = "a";
|
|
3406
|
+
ForceCloseReason2["LocalViolation"] = "b";
|
|
3198
3407
|
})(ForceCloseReason || (ForceCloseReason = {}));
|
|
3199
3408
|
var OrderType;
|
|
3200
3409
|
(function(OrderType2) {
|
|
@@ -3288,6 +3497,7 @@ var InstrumentStatusType;
|
|
|
3288
3497
|
InstrumentStatusType2["AuctionBalance"] = "4";
|
|
3289
3498
|
InstrumentStatusType2["AuctionMatch"] = "5";
|
|
3290
3499
|
InstrumentStatusType2["Closed"] = "6";
|
|
3500
|
+
InstrumentStatusType2["TransactionProcessing"] = "7";
|
|
3291
3501
|
})(InstrumentStatusType || (InstrumentStatusType = {}));
|
|
3292
3502
|
var InstStatusEnterReason;
|
|
3293
3503
|
(function(InstStatusEnterReason2) {
|
|
@@ -3402,6 +3612,13 @@ var TradeParamID;
|
|
|
3402
3612
|
TradeParamID2["MinPwdLen"] = "O";
|
|
3403
3613
|
TradeParamID2["LoginFailMaxNumForIP"] = "U";
|
|
3404
3614
|
TradeParamID2["PasswordPeriod"] = "V";
|
|
3615
|
+
TradeParamID2["PwdHistoryCmp"] = "X";
|
|
3616
|
+
TradeParamID2["TranferChkProperty"] = "i";
|
|
3617
|
+
TradeParamID2["TradeChkPhase"] = "j";
|
|
3618
|
+
TradeParamID2["TradeChkPriceVol"] = "k";
|
|
3619
|
+
TradeParamID2["NewBESMarginAlgo"] = "l";
|
|
3620
|
+
TradeParamID2["IsDceFutCloseFrozen"] = "m";
|
|
3621
|
+
TradeParamID2["UseSMSVerify"] = "n";
|
|
3405
3622
|
})(TradeParamID || (TradeParamID = {}));
|
|
3406
3623
|
var FileID;
|
|
3407
3624
|
(function(FileID2) {
|
|
@@ -3703,6 +3920,7 @@ var UserEventType;
|
|
|
3703
3920
|
UserEventType2["SubmitSysInfo"] = "7";
|
|
3704
3921
|
UserEventType2["Transfer"] = "8";
|
|
3705
3922
|
UserEventType2["Other"] = "9";
|
|
3923
|
+
UserEventType2["UpdateTradingAccountPassword"] = "a";
|
|
3706
3924
|
})(UserEventType || (UserEventType = {}));
|
|
3707
3925
|
var CloseStyle;
|
|
3708
3926
|
(function(CloseStyle2) {
|
|
@@ -5142,6 +5360,62 @@ var ProdChangeFlag;
|
|
|
5142
5360
|
ProdChangeFlag2["OnlyFrozen"] = "1";
|
|
5143
5361
|
ProdChangeFlag2["PositionChange"] = "2";
|
|
5144
5362
|
})(ProdChangeFlag || (ProdChangeFlag = {}));
|
|
5363
|
+
var PwdRcdSrc;
|
|
5364
|
+
(function(PwdRcdSrc2) {
|
|
5365
|
+
PwdRcdSrc2["Init"] = "0";
|
|
5366
|
+
PwdRcdSrc2["Sync"] = "1";
|
|
5367
|
+
PwdRcdSrc2["UserUpd"] = "2";
|
|
5368
|
+
PwdRcdSrc2["SuperUserUpd"] = "3";
|
|
5369
|
+
PwdRcdSrc2["SecUpd"] = "4";
|
|
5370
|
+
})(PwdRcdSrc || (PwdRcdSrc = {}));
|
|
5371
|
+
var AddrSrvMode;
|
|
5372
|
+
(function(AddrSrvMode2) {
|
|
5373
|
+
AddrSrvMode2["Trade"] = "0";
|
|
5374
|
+
AddrSrvMode2["MarketData"] = "1";
|
|
5375
|
+
AddrSrvMode2["Other"] = "2";
|
|
5376
|
+
})(AddrSrvMode || (AddrSrvMode = {}));
|
|
5377
|
+
var AddrVer;
|
|
5378
|
+
(function(AddrVer2) {
|
|
5379
|
+
AddrVer2["V4"] = "0";
|
|
5380
|
+
AddrVer2["V6"] = "1";
|
|
5381
|
+
})(AddrVer || (AddrVer = {}));
|
|
5382
|
+
var TGSessionQryStatusType;
|
|
5383
|
+
(function(TGSessionQryStatusType2) {
|
|
5384
|
+
TGSessionQryStatusType2["QryIdle"] = "1";
|
|
5385
|
+
TGSessionQryStatusType2["QryBusy"] = "2";
|
|
5386
|
+
})(TGSessionQryStatusType || (TGSessionQryStatusType = {}));
|
|
5387
|
+
var OffsetType;
|
|
5388
|
+
(function(OffsetType2) {
|
|
5389
|
+
OffsetType2["OPT_OFFSET"] = "0";
|
|
5390
|
+
OffsetType2["FUT_OFFSET"] = "1";
|
|
5391
|
+
OffsetType2["EXEC_OFFSET"] = "2";
|
|
5392
|
+
OffsetType2["PERFORM_OFFSET"] = "3";
|
|
5393
|
+
})(OffsetType || (OffsetType = {}));
|
|
5394
|
+
var ApplySrc;
|
|
5395
|
+
(function(ApplySrc2) {
|
|
5396
|
+
ApplySrc2["Trade"] = "0";
|
|
5397
|
+
ApplySrc2["Member"] = "1";
|
|
5398
|
+
})(ApplySrc || (ApplySrc = {}));
|
|
5399
|
+
var ApplyStatus;
|
|
5400
|
+
(function(ApplyStatus2) {
|
|
5401
|
+
ApplyStatus2["Unknown"] = "a";
|
|
5402
|
+
ApplyStatus2["Canceled"] = "0";
|
|
5403
|
+
ApplyStatus2["Suspended"] = "1";
|
|
5404
|
+
ApplyStatus2["Accepted"] = "3";
|
|
5405
|
+
})(ApplyStatus || (ApplyStatus = {}));
|
|
5406
|
+
var CmbType;
|
|
5407
|
+
(function(CmbType2) {
|
|
5408
|
+
CmbType2["SPZ"] = "0";
|
|
5409
|
+
CmbType2["SPD"] = "1";
|
|
5410
|
+
CmbType2["IPS"] = "2";
|
|
5411
|
+
CmbType2["BUL"] = "3";
|
|
5412
|
+
CmbType2["BER"] = "4";
|
|
5413
|
+
CmbType2["BLT"] = "5";
|
|
5414
|
+
CmbType2["BRT"] = "6";
|
|
5415
|
+
CmbType2["STD"] = "7";
|
|
5416
|
+
CmbType2["STG"] = "8";
|
|
5417
|
+
CmbType2["PRT"] = "9";
|
|
5418
|
+
})(CmbType || (CmbType = {}));
|
|
5145
5419
|
// Annotate the CommonJS export names for ESM import in node:
|
|
5146
5420
|
0 && (module.exports = {
|
|
5147
5421
|
AMLCheckStatus,
|
|
@@ -5153,6 +5427,8 @@ var ProdChangeFlag;
|
|
|
5153
5427
|
ActionFlag,
|
|
5154
5428
|
ActionType,
|
|
5155
5429
|
ActiveType,
|
|
5430
|
+
AddrSrvMode,
|
|
5431
|
+
AddrVer,
|
|
5156
5432
|
AlgoType,
|
|
5157
5433
|
Algorithm,
|
|
5158
5434
|
AllWithoutTrade,
|
|
@@ -5161,6 +5437,8 @@ var ProdChangeFlag;
|
|
|
5161
5437
|
AmlDateType,
|
|
5162
5438
|
AppType,
|
|
5163
5439
|
ApplyOperateID,
|
|
5440
|
+
ApplySrc,
|
|
5441
|
+
ApplyStatus,
|
|
5164
5442
|
ApplyStatusID,
|
|
5165
5443
|
ApplyType,
|
|
5166
5444
|
AssetmgrClientType,
|
|
@@ -5208,6 +5486,7 @@ var ProdChangeFlag;
|
|
|
5208
5486
|
ClientType,
|
|
5209
5487
|
CloseDealType,
|
|
5210
5488
|
CloseStyle,
|
|
5489
|
+
CmbType,
|
|
5211
5490
|
CodeSourceType,
|
|
5212
5491
|
CombDirection,
|
|
5213
5492
|
CombinationType,
|
|
@@ -5334,6 +5613,7 @@ var ProdChangeFlag;
|
|
|
5334
5613
|
OTPType,
|
|
5335
5614
|
OffsetFlag,
|
|
5336
5615
|
OffsetFlagEn,
|
|
5616
|
+
OffsetType,
|
|
5337
5617
|
OpenLimitControlLevel,
|
|
5338
5618
|
OpenOrDestroy,
|
|
5339
5619
|
OptSelfCloseFlag,
|
|
@@ -5373,6 +5653,7 @@ var ProdChangeFlag;
|
|
|
5373
5653
|
ProtocalID,
|
|
5374
5654
|
PublishStatus,
|
|
5375
5655
|
PwdFlag,
|
|
5656
|
+
PwdRcdSrc,
|
|
5376
5657
|
QueryInvestorRange,
|
|
5377
5658
|
QuestionType,
|
|
5378
5659
|
RCAMSCombinationType,
|
|
@@ -5430,6 +5711,7 @@ var ProdChangeFlag;
|
|
|
5430
5711
|
SystemParamID,
|
|
5431
5712
|
SystemStatus,
|
|
5432
5713
|
SystemType,
|
|
5714
|
+
TGSessionQryStatusType,
|
|
5433
5715
|
TemplateType,
|
|
5434
5716
|
TimeCondition,
|
|
5435
5717
|
TimeRange,
|