1618 lines
101 KiB
C++
1618 lines
101 KiB
C++
#include <iostream>
|
|
#include <string>
|
|
#include <pybind11/pybind11.h>
|
|
|
|
#include "dispatcher.hpp"
|
|
#include "property_helper.hpp"
|
|
#include "wrapper_helper.hpp"
|
|
|
|
#include "class_generators.h"
|
|
|
|
#include "api/ThostFtdcTraderApi.h"
|
|
#include "api/ThostFtdcMdApi.h"
|
|
#include "custom_wrappers/spi.hpp"
|
|
|
|
|
|
void init_dispatcher()
|
|
{
|
|
autocxxpy::dispatcher::instance().start();
|
|
}
|
|
|
|
void generate_classes(pybind11::module &m)
|
|
{
|
|
generate_class_CThostFtdcDisseminationField(m);
|
|
generate_class_CThostFtdcReqUserLoginField(m);
|
|
generate_class_CThostFtdcRspUserLoginField(m);
|
|
generate_class_CThostFtdcUserLogoutField(m);
|
|
generate_class_CThostFtdcForceUserLogoutField(m);
|
|
generate_class_CThostFtdcReqAuthenticateField(m);
|
|
generate_class_CThostFtdcRspAuthenticateField(m);
|
|
generate_class_CThostFtdcAuthenticationInfoField(m);
|
|
generate_class_CThostFtdcRspUserLogin2Field(m);
|
|
generate_class_CThostFtdcTransferHeaderField(m);
|
|
generate_class_CThostFtdcTransferBankToFutureReqField(m);
|
|
generate_class_CThostFtdcTransferBankToFutureRspField(m);
|
|
generate_class_CThostFtdcTransferFutureToBankReqField(m);
|
|
generate_class_CThostFtdcTransferFutureToBankRspField(m);
|
|
generate_class_CThostFtdcTransferQryBankReqField(m);
|
|
generate_class_CThostFtdcTransferQryBankRspField(m);
|
|
generate_class_CThostFtdcTransferQryDetailReqField(m);
|
|
generate_class_CThostFtdcTransferQryDetailRspField(m);
|
|
generate_class_CThostFtdcRspInfoField(m);
|
|
generate_class_CThostFtdcExchangeField(m);
|
|
generate_class_CThostFtdcProductField(m);
|
|
generate_class_CThostFtdcInstrumentField(m);
|
|
generate_class_CThostFtdcBrokerField(m);
|
|
generate_class_CThostFtdcTraderField(m);
|
|
generate_class_CThostFtdcInvestorField(m);
|
|
generate_class_CThostFtdcTradingCodeField(m);
|
|
generate_class_CThostFtdcPartBrokerField(m);
|
|
generate_class_CThostFtdcSuperUserField(m);
|
|
generate_class_CThostFtdcSuperUserFunctionField(m);
|
|
generate_class_CThostFtdcInvestorGroupField(m);
|
|
generate_class_CThostFtdcTradingAccountField(m);
|
|
generate_class_CThostFtdcInvestorPositionField(m);
|
|
generate_class_CThostFtdcInstrumentMarginRateField(m);
|
|
generate_class_CThostFtdcInstrumentCommissionRateField(m);
|
|
generate_class_CThostFtdcDepthMarketDataField(m);
|
|
generate_class_CThostFtdcInstrumentTradingRightField(m);
|
|
generate_class_CThostFtdcBrokerUserField(m);
|
|
generate_class_CThostFtdcBrokerUserPasswordField(m);
|
|
generate_class_CThostFtdcBrokerUserFunctionField(m);
|
|
generate_class_CThostFtdcTraderOfferField(m);
|
|
generate_class_CThostFtdcSettlementInfoField(m);
|
|
generate_class_CThostFtdcInstrumentMarginRateAdjustField(m);
|
|
generate_class_CThostFtdcExchangeMarginRateField(m);
|
|
generate_class_CThostFtdcExchangeMarginRateAdjustField(m);
|
|
generate_class_CThostFtdcExchangeRateField(m);
|
|
generate_class_CThostFtdcSettlementRefField(m);
|
|
generate_class_CThostFtdcCurrentTimeField(m);
|
|
generate_class_CThostFtdcCommPhaseField(m);
|
|
generate_class_CThostFtdcLoginInfoField(m);
|
|
generate_class_CThostFtdcLogoutAllField(m);
|
|
generate_class_CThostFtdcFrontStatusField(m);
|
|
generate_class_CThostFtdcUserPasswordUpdateField(m);
|
|
generate_class_CThostFtdcInputOrderField(m);
|
|
generate_class_CThostFtdcOrderField(m);
|
|
generate_class_CThostFtdcExchangeOrderField(m);
|
|
generate_class_CThostFtdcExchangeOrderInsertErrorField(m);
|
|
generate_class_CThostFtdcInputOrderActionField(m);
|
|
generate_class_CThostFtdcOrderActionField(m);
|
|
generate_class_CThostFtdcExchangeOrderActionField(m);
|
|
generate_class_CThostFtdcExchangeOrderActionErrorField(m);
|
|
generate_class_CThostFtdcExchangeTradeField(m);
|
|
generate_class_CThostFtdcTradeField(m);
|
|
generate_class_CThostFtdcUserSessionField(m);
|
|
generate_class_CThostFtdcQueryMaxOrderVolumeField(m);
|
|
generate_class_CThostFtdcSettlementInfoConfirmField(m);
|
|
generate_class_CThostFtdcSyncDepositField(m);
|
|
generate_class_CThostFtdcSyncFundMortgageField(m);
|
|
generate_class_CThostFtdcBrokerSyncField(m);
|
|
generate_class_CThostFtdcSyncingInvestorField(m);
|
|
generate_class_CThostFtdcSyncingTradingCodeField(m);
|
|
generate_class_CThostFtdcSyncingInvestorGroupField(m);
|
|
generate_class_CThostFtdcSyncingTradingAccountField(m);
|
|
generate_class_CThostFtdcSyncingInvestorPositionField(m);
|
|
generate_class_CThostFtdcSyncingInstrumentMarginRateField(m);
|
|
generate_class_CThostFtdcSyncingInstrumentCommissionRateField(m);
|
|
generate_class_CThostFtdcSyncingInstrumentTradingRightField(m);
|
|
generate_class_CThostFtdcQryOrderField(m);
|
|
generate_class_CThostFtdcQryTradeField(m);
|
|
generate_class_CThostFtdcQryInvestorPositionField(m);
|
|
generate_class_CThostFtdcQryTradingAccountField(m);
|
|
generate_class_CThostFtdcQryInvestorField(m);
|
|
generate_class_CThostFtdcQryTradingCodeField(m);
|
|
generate_class_CThostFtdcQryInvestorGroupField(m);
|
|
generate_class_CThostFtdcQryInstrumentMarginRateField(m);
|
|
generate_class_CThostFtdcQryInstrumentCommissionRateField(m);
|
|
generate_class_CThostFtdcQryInstrumentTradingRightField(m);
|
|
generate_class_CThostFtdcQryBrokerField(m);
|
|
generate_class_CThostFtdcQryTraderField(m);
|
|
generate_class_CThostFtdcQrySuperUserFunctionField(m);
|
|
generate_class_CThostFtdcQryUserSessionField(m);
|
|
generate_class_CThostFtdcQryPartBrokerField(m);
|
|
generate_class_CThostFtdcQryFrontStatusField(m);
|
|
generate_class_CThostFtdcQryExchangeOrderField(m);
|
|
generate_class_CThostFtdcQryOrderActionField(m);
|
|
generate_class_CThostFtdcQryExchangeOrderActionField(m);
|
|
generate_class_CThostFtdcQrySuperUserField(m);
|
|
generate_class_CThostFtdcQryExchangeField(m);
|
|
generate_class_CThostFtdcQryProductField(m);
|
|
generate_class_CThostFtdcQryInstrumentField(m);
|
|
generate_class_CThostFtdcQryDepthMarketDataField(m);
|
|
generate_class_CThostFtdcQryBrokerUserField(m);
|
|
generate_class_CThostFtdcQryBrokerUserFunctionField(m);
|
|
generate_class_CThostFtdcQryTraderOfferField(m);
|
|
generate_class_CThostFtdcQrySyncDepositField(m);
|
|
generate_class_CThostFtdcQrySettlementInfoField(m);
|
|
generate_class_CThostFtdcQryExchangeMarginRateField(m);
|
|
generate_class_CThostFtdcQryExchangeMarginRateAdjustField(m);
|
|
generate_class_CThostFtdcQryExchangeRateField(m);
|
|
generate_class_CThostFtdcQrySyncFundMortgageField(m);
|
|
generate_class_CThostFtdcQryHisOrderField(m);
|
|
generate_class_CThostFtdcOptionInstrMiniMarginField(m);
|
|
generate_class_CThostFtdcOptionInstrMarginAdjustField(m);
|
|
generate_class_CThostFtdcOptionInstrCommRateField(m);
|
|
generate_class_CThostFtdcOptionInstrTradeCostField(m);
|
|
generate_class_CThostFtdcQryOptionInstrTradeCostField(m);
|
|
generate_class_CThostFtdcQryOptionInstrCommRateField(m);
|
|
generate_class_CThostFtdcIndexPriceField(m);
|
|
generate_class_CThostFtdcInputExecOrderField(m);
|
|
generate_class_CThostFtdcInputExecOrderActionField(m);
|
|
generate_class_CThostFtdcExecOrderField(m);
|
|
generate_class_CThostFtdcExecOrderActionField(m);
|
|
generate_class_CThostFtdcQryExecOrderField(m);
|
|
generate_class_CThostFtdcExchangeExecOrderField(m);
|
|
generate_class_CThostFtdcQryExchangeExecOrderField(m);
|
|
generate_class_CThostFtdcQryExecOrderActionField(m);
|
|
generate_class_CThostFtdcExchangeExecOrderActionField(m);
|
|
generate_class_CThostFtdcQryExchangeExecOrderActionField(m);
|
|
generate_class_CThostFtdcErrExecOrderField(m);
|
|
generate_class_CThostFtdcQryErrExecOrderField(m);
|
|
generate_class_CThostFtdcErrExecOrderActionField(m);
|
|
generate_class_CThostFtdcQryErrExecOrderActionField(m);
|
|
generate_class_CThostFtdcOptionInstrTradingRightField(m);
|
|
generate_class_CThostFtdcQryOptionInstrTradingRightField(m);
|
|
generate_class_CThostFtdcInputForQuoteField(m);
|
|
generate_class_CThostFtdcForQuoteField(m);
|
|
generate_class_CThostFtdcQryForQuoteField(m);
|
|
generate_class_CThostFtdcExchangeForQuoteField(m);
|
|
generate_class_CThostFtdcQryExchangeForQuoteField(m);
|
|
generate_class_CThostFtdcInputQuoteField(m);
|
|
generate_class_CThostFtdcInputQuoteActionField(m);
|
|
generate_class_CThostFtdcQuoteField(m);
|
|
generate_class_CThostFtdcQuoteActionField(m);
|
|
generate_class_CThostFtdcQryQuoteField(m);
|
|
generate_class_CThostFtdcExchangeQuoteField(m);
|
|
generate_class_CThostFtdcQryExchangeQuoteField(m);
|
|
generate_class_CThostFtdcQryQuoteActionField(m);
|
|
generate_class_CThostFtdcExchangeQuoteActionField(m);
|
|
generate_class_CThostFtdcQryExchangeQuoteActionField(m);
|
|
generate_class_CThostFtdcOptionInstrDeltaField(m);
|
|
generate_class_CThostFtdcForQuoteRspField(m);
|
|
generate_class_CThostFtdcStrikeOffsetField(m);
|
|
generate_class_CThostFtdcQryStrikeOffsetField(m);
|
|
generate_class_CThostFtdcInputBatchOrderActionField(m);
|
|
generate_class_CThostFtdcBatchOrderActionField(m);
|
|
generate_class_CThostFtdcExchangeBatchOrderActionField(m);
|
|
generate_class_CThostFtdcQryBatchOrderActionField(m);
|
|
generate_class_CThostFtdcCombInstrumentGuardField(m);
|
|
generate_class_CThostFtdcQryCombInstrumentGuardField(m);
|
|
generate_class_CThostFtdcInputCombActionField(m);
|
|
generate_class_CThostFtdcCombActionField(m);
|
|
generate_class_CThostFtdcQryCombActionField(m);
|
|
generate_class_CThostFtdcExchangeCombActionField(m);
|
|
generate_class_CThostFtdcQryExchangeCombActionField(m);
|
|
generate_class_CThostFtdcProductExchRateField(m);
|
|
generate_class_CThostFtdcQryProductExchRateField(m);
|
|
generate_class_CThostFtdcQryForQuoteParamField(m);
|
|
generate_class_CThostFtdcForQuoteParamField(m);
|
|
generate_class_CThostFtdcMMOptionInstrCommRateField(m);
|
|
generate_class_CThostFtdcQryMMOptionInstrCommRateField(m);
|
|
generate_class_CThostFtdcMMInstrumentCommissionRateField(m);
|
|
generate_class_CThostFtdcQryMMInstrumentCommissionRateField(m);
|
|
generate_class_CThostFtdcInstrumentOrderCommRateField(m);
|
|
generate_class_CThostFtdcQryInstrumentOrderCommRateField(m);
|
|
generate_class_CThostFtdcTradeParamField(m);
|
|
generate_class_CThostFtdcInstrumentMarginRateULField(m);
|
|
generate_class_CThostFtdcFutureLimitPosiParamField(m);
|
|
generate_class_CThostFtdcLoginForbiddenIPField(m);
|
|
generate_class_CThostFtdcIPListField(m);
|
|
generate_class_CThostFtdcInputOptionSelfCloseField(m);
|
|
generate_class_CThostFtdcInputOptionSelfCloseActionField(m);
|
|
generate_class_CThostFtdcOptionSelfCloseField(m);
|
|
generate_class_CThostFtdcOptionSelfCloseActionField(m);
|
|
generate_class_CThostFtdcQryOptionSelfCloseField(m);
|
|
generate_class_CThostFtdcExchangeOptionSelfCloseField(m);
|
|
generate_class_CThostFtdcQryOptionSelfCloseActionField(m);
|
|
generate_class_CThostFtdcExchangeOptionSelfCloseActionField(m);
|
|
generate_class_CThostFtdcSyncDelaySwapField(m);
|
|
generate_class_CThostFtdcQrySyncDelaySwapField(m);
|
|
generate_class_CThostFtdcInvestUnitField(m);
|
|
generate_class_CThostFtdcQryInvestUnitField(m);
|
|
generate_class_CThostFtdcSecAgentCheckModeField(m);
|
|
generate_class_CThostFtdcSecAgentTradeInfoField(m);
|
|
generate_class_CThostFtdcMarketDataField(m);
|
|
generate_class_CThostFtdcMarketDataBaseField(m);
|
|
generate_class_CThostFtdcMarketDataStaticField(m);
|
|
generate_class_CThostFtdcMarketDataLastMatchField(m);
|
|
generate_class_CThostFtdcMarketDataBestPriceField(m);
|
|
generate_class_CThostFtdcMarketDataBid23Field(m);
|
|
generate_class_CThostFtdcMarketDataAsk23Field(m);
|
|
generate_class_CThostFtdcMarketDataBid45Field(m);
|
|
generate_class_CThostFtdcMarketDataAsk45Field(m);
|
|
generate_class_CThostFtdcMarketDataUpdateTimeField(m);
|
|
generate_class_CThostFtdcMarketDataExchangeField(m);
|
|
generate_class_CThostFtdcSpecificInstrumentField(m);
|
|
generate_class_CThostFtdcInstrumentStatusField(m);
|
|
generate_class_CThostFtdcQryInstrumentStatusField(m);
|
|
generate_class_CThostFtdcInvestorAccountField(m);
|
|
generate_class_CThostFtdcPositionProfitAlgorithmField(m);
|
|
generate_class_CThostFtdcDiscountField(m);
|
|
generate_class_CThostFtdcQryTransferBankField(m);
|
|
generate_class_CThostFtdcTransferBankField(m);
|
|
generate_class_CThostFtdcQryInvestorPositionDetailField(m);
|
|
generate_class_CThostFtdcInvestorPositionDetailField(m);
|
|
generate_class_CThostFtdcTradingAccountPasswordField(m);
|
|
generate_class_CThostFtdcMDTraderOfferField(m);
|
|
generate_class_CThostFtdcQryMDTraderOfferField(m);
|
|
generate_class_CThostFtdcQryNoticeField(m);
|
|
generate_class_CThostFtdcNoticeField(m);
|
|
generate_class_CThostFtdcUserRightField(m);
|
|
generate_class_CThostFtdcQrySettlementInfoConfirmField(m);
|
|
generate_class_CThostFtdcLoadSettlementInfoField(m);
|
|
generate_class_CThostFtdcBrokerWithdrawAlgorithmField(m);
|
|
generate_class_CThostFtdcTradingAccountPasswordUpdateV1Field(m);
|
|
generate_class_CThostFtdcTradingAccountPasswordUpdateField(m);
|
|
generate_class_CThostFtdcQryCombinationLegField(m);
|
|
generate_class_CThostFtdcQrySyncStatusField(m);
|
|
generate_class_CThostFtdcCombinationLegField(m);
|
|
generate_class_CThostFtdcSyncStatusField(m);
|
|
generate_class_CThostFtdcQryLinkManField(m);
|
|
generate_class_CThostFtdcLinkManField(m);
|
|
generate_class_CThostFtdcQryBrokerUserEventField(m);
|
|
generate_class_CThostFtdcBrokerUserEventField(m);
|
|
generate_class_CThostFtdcQryContractBankField(m);
|
|
generate_class_CThostFtdcContractBankField(m);
|
|
generate_class_CThostFtdcInvestorPositionCombineDetailField(m);
|
|
generate_class_CThostFtdcParkedOrderField(m);
|
|
generate_class_CThostFtdcParkedOrderActionField(m);
|
|
generate_class_CThostFtdcQryParkedOrderField(m);
|
|
generate_class_CThostFtdcQryParkedOrderActionField(m);
|
|
generate_class_CThostFtdcRemoveParkedOrderField(m);
|
|
generate_class_CThostFtdcRemoveParkedOrderActionField(m);
|
|
generate_class_CThostFtdcInvestorWithdrawAlgorithmField(m);
|
|
generate_class_CThostFtdcQryInvestorPositionCombineDetailField(m);
|
|
generate_class_CThostFtdcMarketDataAveragePriceField(m);
|
|
generate_class_CThostFtdcVerifyInvestorPasswordField(m);
|
|
generate_class_CThostFtdcUserIPField(m);
|
|
generate_class_CThostFtdcTradingNoticeInfoField(m);
|
|
generate_class_CThostFtdcTradingNoticeField(m);
|
|
generate_class_CThostFtdcQryTradingNoticeField(m);
|
|
generate_class_CThostFtdcQryErrOrderField(m);
|
|
generate_class_CThostFtdcErrOrderField(m);
|
|
generate_class_CThostFtdcErrorConditionalOrderField(m);
|
|
generate_class_CThostFtdcQryErrOrderActionField(m);
|
|
generate_class_CThostFtdcErrOrderActionField(m);
|
|
generate_class_CThostFtdcQryExchangeSequenceField(m);
|
|
generate_class_CThostFtdcExchangeSequenceField(m);
|
|
generate_class_CThostFtdcQueryMaxOrderVolumeWithPriceField(m);
|
|
generate_class_CThostFtdcQryBrokerTradingParamsField(m);
|
|
generate_class_CThostFtdcBrokerTradingParamsField(m);
|
|
generate_class_CThostFtdcQryBrokerTradingAlgosField(m);
|
|
generate_class_CThostFtdcBrokerTradingAlgosField(m);
|
|
generate_class_CThostFtdcQueryBrokerDepositField(m);
|
|
generate_class_CThostFtdcBrokerDepositField(m);
|
|
generate_class_CThostFtdcQryCFMMCBrokerKeyField(m);
|
|
generate_class_CThostFtdcCFMMCBrokerKeyField(m);
|
|
generate_class_CThostFtdcCFMMCTradingAccountKeyField(m);
|
|
generate_class_CThostFtdcQryCFMMCTradingAccountKeyField(m);
|
|
generate_class_CThostFtdcBrokerUserOTPParamField(m);
|
|
generate_class_CThostFtdcManualSyncBrokerUserOTPField(m);
|
|
generate_class_CThostFtdcCommRateModelField(m);
|
|
generate_class_CThostFtdcQryCommRateModelField(m);
|
|
generate_class_CThostFtdcMarginModelField(m);
|
|
generate_class_CThostFtdcQryMarginModelField(m);
|
|
generate_class_CThostFtdcEWarrantOffsetField(m);
|
|
generate_class_CThostFtdcQryEWarrantOffsetField(m);
|
|
generate_class_CThostFtdcQryInvestorProductGroupMarginField(m);
|
|
generate_class_CThostFtdcInvestorProductGroupMarginField(m);
|
|
generate_class_CThostFtdcQueryCFMMCTradingAccountTokenField(m);
|
|
generate_class_CThostFtdcCFMMCTradingAccountTokenField(m);
|
|
generate_class_CThostFtdcQryProductGroupField(m);
|
|
generate_class_CThostFtdcProductGroupField(m);
|
|
generate_class_CThostFtdcBulletinField(m);
|
|
generate_class_CThostFtdcQryBulletinField(m);
|
|
generate_class_CThostFtdcReqOpenAccountField(m);
|
|
generate_class_CThostFtdcReqCancelAccountField(m);
|
|
generate_class_CThostFtdcReqChangeAccountField(m);
|
|
generate_class_CThostFtdcReqTransferField(m);
|
|
generate_class_CThostFtdcRspTransferField(m);
|
|
generate_class_CThostFtdcReqRepealField(m);
|
|
generate_class_CThostFtdcRspRepealField(m);
|
|
generate_class_CThostFtdcReqQueryAccountField(m);
|
|
generate_class_CThostFtdcRspQueryAccountField(m);
|
|
generate_class_CThostFtdcFutureSignIOField(m);
|
|
generate_class_CThostFtdcRspFutureSignInField(m);
|
|
generate_class_CThostFtdcReqFutureSignOutField(m);
|
|
generate_class_CThostFtdcRspFutureSignOutField(m);
|
|
generate_class_CThostFtdcReqQueryTradeResultBySerialField(m);
|
|
generate_class_CThostFtdcRspQueryTradeResultBySerialField(m);
|
|
generate_class_CThostFtdcReqDayEndFileReadyField(m);
|
|
generate_class_CThostFtdcReturnResultField(m);
|
|
generate_class_CThostFtdcVerifyFuturePasswordField(m);
|
|
generate_class_CThostFtdcVerifyCustInfoField(m);
|
|
generate_class_CThostFtdcVerifyFuturePasswordAndCustInfoField(m);
|
|
generate_class_CThostFtdcDepositResultInformField(m);
|
|
generate_class_CThostFtdcReqSyncKeyField(m);
|
|
generate_class_CThostFtdcRspSyncKeyField(m);
|
|
generate_class_CThostFtdcNotifyQueryAccountField(m);
|
|
generate_class_CThostFtdcTransferSerialField(m);
|
|
generate_class_CThostFtdcQryTransferSerialField(m);
|
|
generate_class_CThostFtdcNotifyFutureSignInField(m);
|
|
generate_class_CThostFtdcNotifyFutureSignOutField(m);
|
|
generate_class_CThostFtdcNotifySyncKeyField(m);
|
|
generate_class_CThostFtdcQryAccountregisterField(m);
|
|
generate_class_CThostFtdcAccountregisterField(m);
|
|
generate_class_CThostFtdcOpenAccountField(m);
|
|
generate_class_CThostFtdcCancelAccountField(m);
|
|
generate_class_CThostFtdcChangeAccountField(m);
|
|
generate_class_CThostFtdcSecAgentACIDMapField(m);
|
|
generate_class_CThostFtdcQrySecAgentACIDMapField(m);
|
|
generate_class_CThostFtdcUserRightsAssignField(m);
|
|
generate_class_CThostFtdcBrokerUserRightAssignField(m);
|
|
generate_class_CThostFtdcDRTransferField(m);
|
|
generate_class_CThostFtdcFensUserInfoField(m);
|
|
generate_class_CThostFtdcCurrTransferIdentityField(m);
|
|
generate_class_CThostFtdcLoginForbiddenUserField(m);
|
|
generate_class_CThostFtdcQryLoginForbiddenUserField(m);
|
|
generate_class_CThostFtdcMulticastGroupInfoField(m);
|
|
generate_class_CThostFtdcTradingAccountReserveField(m);
|
|
generate_class_CThostFtdcQryLoginForbiddenIPField(m);
|
|
generate_class_CThostFtdcQryIPListField(m);
|
|
generate_class_CThostFtdcQryUserRightsAssignField(m);
|
|
generate_class_CThostFtdcReserveOpenAccountConfirmField(m);
|
|
generate_class_CThostFtdcReserveOpenAccountField(m);
|
|
generate_class_CThostFtdcAccountPropertyField(m);
|
|
generate_class_CThostFtdcQryCurrDRIdentityField(m);
|
|
generate_class_CThostFtdcCurrDRIdentityField(m);
|
|
generate_class_CThostFtdcQrySecAgentCheckModeField(m);
|
|
generate_class_CThostFtdcQrySecAgentTradeInfoField(m);
|
|
generate_class_CThostFtdcUserSystemInfoField(m);
|
|
generate_class_CThostFtdcReqUserAuthMethodField(m);
|
|
generate_class_CThostFtdcRspUserAuthMethodField(m);
|
|
generate_class_CThostFtdcReqGenUserCaptchaField(m);
|
|
generate_class_CThostFtdcRspGenUserCaptchaField(m);
|
|
generate_class_CThostFtdcReqGenUserTextField(m);
|
|
generate_class_CThostFtdcRspGenUserTextField(m);
|
|
generate_class_CThostFtdcReqUserLoginWithCaptchaField(m);
|
|
generate_class_CThostFtdcReqUserLoginWithTextField(m);
|
|
generate_class_CThostFtdcReqUserLoginWithOTPField(m);
|
|
generate_class_CThostFtdcReqApiHandshakeField(m);
|
|
generate_class_CThostFtdcRspApiHandshakeField(m);
|
|
generate_class_CThostFtdcReqVerifyApiKeyField(m);
|
|
generate_class_CThostFtdcDepartmentUserField(m);
|
|
generate_class_CThostFtdcQueryFreqField(m);
|
|
generate_class_CThostFtdcTraderSpi(m);
|
|
generate_class_CThostFtdcTraderApi(m);
|
|
generate_class_CThostFtdcMdSpi(m);
|
|
generate_class_CThostFtdcMdApi(m);
|
|
|
|
}
|
|
|
|
void generate_enums(pybind11::module &m)
|
|
{
|
|
pybind11::enum_<THOST_TE_RESUME_TYPE>(m, "THOST_TE_RESUME_TYPE")
|
|
.value("THOST_TERT_RESTART", THOST_TE_RESUME_TYPE::THOST_TERT_RESTART)
|
|
.value("THOST_TERT_RESUME", THOST_TE_RESUME_TYPE::THOST_TERT_RESUME)
|
|
.value("THOST_TERT_QUICK", THOST_TE_RESUME_TYPE::THOST_TERT_QUICK)
|
|
.export_values()
|
|
;
|
|
|
|
}
|
|
|
|
void generate_constants(pybind11::module &m)
|
|
{
|
|
m.add_object("THOST_FTDC_EXP_Normal", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_EXP_GenOrderByTrade", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_ICT_EID", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_ICT_IDCard", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_ICT_OfficerIDCard", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_ICT_PoliceIDCard", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_ICT_SoldierIDCard", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_ICT_HouseholdRegister", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_ICT_Passport", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_ICT_TaiwanCompatriotIDCard", pybind11::int_('7'));
|
|
m.add_object("THOST_FTDC_ICT_HomeComingCard", pybind11::int_('8'));
|
|
m.add_object("THOST_FTDC_ICT_LicenseNo", pybind11::int_('9'));
|
|
m.add_object("THOST_FTDC_ICT_TaxNo", pybind11::int_('A'));
|
|
m.add_object("THOST_FTDC_ICT_HMMainlandTravelPermit", pybind11::int_('B'));
|
|
m.add_object("THOST_FTDC_ICT_TwMainlandTravelPermit", pybind11::int_('C'));
|
|
m.add_object("THOST_FTDC_ICT_DrivingLicense", pybind11::int_('D'));
|
|
m.add_object("THOST_FTDC_ICT_SocialID", pybind11::int_('F'));
|
|
m.add_object("THOST_FTDC_ICT_LocalID", pybind11::int_('G'));
|
|
m.add_object("THOST_FTDC_ICT_BusinessRegistration", pybind11::int_('H'));
|
|
m.add_object("THOST_FTDC_ICT_HKMCIDCard", pybind11::int_('I'));
|
|
m.add_object("THOST_FTDC_ICT_AccountsPermits", pybind11::int_('J'));
|
|
m.add_object("THOST_FTDC_ICT_FrgPrmtRdCard", pybind11::int_('K'));
|
|
m.add_object("THOST_FTDC_ICT_CptMngPrdLetter", pybind11::int_('L'));
|
|
m.add_object("THOST_FTDC_ICT_OtherCard", pybind11::int_('x'));
|
|
m.add_object("THOST_FTDC_IR_All", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_IR_Group", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_IR_Single", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_DR_All", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_DR_Group", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_DR_Single", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_DS_Asynchronous", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_DS_Synchronizing", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_DS_Synchronized", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_BDS_Synchronized", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_BDS_Synchronizing", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_ECS_NoConnection", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_ECS_QryInstrumentSent", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_ECS_GotInformation", pybind11::int_('9'));
|
|
m.add_object("THOST_FTDC_TCS_NotConnected", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_TCS_Connected", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_TCS_QryInstrumentSent", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_TCS_SubPrivateFlow", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_FC_DataAsync", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FC_ForceUserLogout", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FC_UserPasswordUpdate", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_FC_BrokerPasswordUpdate", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_FC_InvestorPasswordUpdate", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_FC_OrderInsert", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_FC_OrderAction", pybind11::int_('7'));
|
|
m.add_object("THOST_FTDC_FC_SyncSystemData", pybind11::int_('8'));
|
|
m.add_object("THOST_FTDC_FC_SyncBrokerData", pybind11::int_('9'));
|
|
m.add_object("THOST_FTDC_FC_BachSyncBrokerData", pybind11::int_('A'));
|
|
m.add_object("THOST_FTDC_FC_SuperQuery", pybind11::int_('B'));
|
|
m.add_object("THOST_FTDC_FC_ParkedOrderInsert", pybind11::int_('C'));
|
|
m.add_object("THOST_FTDC_FC_ParkedOrderAction", pybind11::int_('D'));
|
|
m.add_object("THOST_FTDC_FC_SyncOTP", pybind11::int_('E'));
|
|
m.add_object("THOST_FTDC_FC_DeleteOrder", pybind11::int_('F'));
|
|
m.add_object("THOST_FTDC_BFC_ForceUserLogout", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_BFC_UserPasswordUpdate", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_BFC_SyncBrokerData", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_BFC_BachSyncBrokerData", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_BFC_OrderInsert", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_BFC_OrderAction", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_BFC_AllQuery", pybind11::int_('7'));
|
|
m.add_object("THOST_FTDC_BFC_log", pybind11::int_('a'));
|
|
m.add_object("THOST_FTDC_BFC_BaseQry", pybind11::int_('b'));
|
|
m.add_object("THOST_FTDC_BFC_TradeQry", pybind11::int_('c'));
|
|
m.add_object("THOST_FTDC_BFC_Trade", pybind11::int_('d'));
|
|
m.add_object("THOST_FTDC_BFC_Virement", pybind11::int_('e'));
|
|
m.add_object("THOST_FTDC_BFC_Risk", pybind11::int_('f'));
|
|
m.add_object("THOST_FTDC_BFC_Session", pybind11::int_('g'));
|
|
m.add_object("THOST_FTDC_BFC_RiskNoticeCtl", pybind11::int_('h'));
|
|
m.add_object("THOST_FTDC_BFC_RiskNotice", pybind11::int_('i'));
|
|
m.add_object("THOST_FTDC_BFC_BrokerDeposit", pybind11::int_('j'));
|
|
m.add_object("THOST_FTDC_BFC_QueryFund", pybind11::int_('k'));
|
|
m.add_object("THOST_FTDC_BFC_QueryOrder", pybind11::int_('l'));
|
|
m.add_object("THOST_FTDC_BFC_QueryTrade", pybind11::int_('m'));
|
|
m.add_object("THOST_FTDC_BFC_QueryPosition", pybind11::int_('n'));
|
|
m.add_object("THOST_FTDC_BFC_QueryMarketData", pybind11::int_('o'));
|
|
m.add_object("THOST_FTDC_BFC_QueryUserEvent", pybind11::int_('p'));
|
|
m.add_object("THOST_FTDC_BFC_QueryRiskNotify", pybind11::int_('q'));
|
|
m.add_object("THOST_FTDC_BFC_QueryFundChange", pybind11::int_('r'));
|
|
m.add_object("THOST_FTDC_BFC_QueryInvestor", pybind11::int_('s'));
|
|
m.add_object("THOST_FTDC_BFC_QueryTradingCode", pybind11::int_('t'));
|
|
m.add_object("THOST_FTDC_BFC_ForceClose", pybind11::int_('u'));
|
|
m.add_object("THOST_FTDC_BFC_PressTest", pybind11::int_('v'));
|
|
m.add_object("THOST_FTDC_BFC_RemainCalc", pybind11::int_('w'));
|
|
m.add_object("THOST_FTDC_BFC_NetPositionInd", pybind11::int_('x'));
|
|
m.add_object("THOST_FTDC_BFC_RiskPredict", pybind11::int_('y'));
|
|
m.add_object("THOST_FTDC_BFC_DataExport", pybind11::int_('z'));
|
|
m.add_object("THOST_FTDC_BFC_RiskTargetSetup", pybind11::int_('A'));
|
|
m.add_object("THOST_FTDC_BFC_MarketDataWarn", pybind11::int_('B'));
|
|
m.add_object("THOST_FTDC_BFC_QryBizNotice", pybind11::int_('C'));
|
|
m.add_object("THOST_FTDC_BFC_CfgBizNotice", pybind11::int_('D'));
|
|
m.add_object("THOST_FTDC_BFC_SyncOTP", pybind11::int_('E'));
|
|
m.add_object("THOST_FTDC_BFC_SendBizNotice", pybind11::int_('F'));
|
|
m.add_object("THOST_FTDC_BFC_CfgRiskLevelStd", pybind11::int_('G'));
|
|
m.add_object("THOST_FTDC_BFC_TbCommand", pybind11::int_('H'));
|
|
m.add_object("THOST_FTDC_BFC_DeleteOrder", pybind11::int_('J'));
|
|
m.add_object("THOST_FTDC_BFC_ParkedOrderInsert", pybind11::int_('K'));
|
|
m.add_object("THOST_FTDC_BFC_ParkedOrderAction", pybind11::int_('L'));
|
|
m.add_object("THOST_FTDC_BFC_ExecOrderNoCheck", pybind11::int_('M'));
|
|
m.add_object("THOST_FTDC_BFC_Designate", pybind11::int_('N'));
|
|
m.add_object("THOST_FTDC_BFC_StockDisposal", pybind11::int_('O'));
|
|
m.add_object("THOST_FTDC_BFC_BrokerDepositWarn", pybind11::int_('Q'));
|
|
m.add_object("THOST_FTDC_BFC_CoverWarn", pybind11::int_('S'));
|
|
m.add_object("THOST_FTDC_BFC_PreExecOrder", pybind11::int_('T'));
|
|
m.add_object("THOST_FTDC_BFC_ExecOrderRisk", pybind11::int_('P'));
|
|
m.add_object("THOST_FTDC_BFC_PosiLimitWarn", pybind11::int_('U'));
|
|
m.add_object("THOST_FTDC_BFC_QryPosiLimit", pybind11::int_('V'));
|
|
m.add_object("THOST_FTDC_BFC_FBSign", pybind11::int_('W'));
|
|
m.add_object("THOST_FTDC_BFC_FBAccount", pybind11::int_('X'));
|
|
m.add_object("THOST_FTDC_OAS_Submitted", pybind11::int_('a'));
|
|
m.add_object("THOST_FTDC_OAS_Accepted", pybind11::int_('b'));
|
|
m.add_object("THOST_FTDC_OAS_Rejected", pybind11::int_('c'));
|
|
m.add_object("THOST_FTDC_OST_AllTraded", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_OST_PartTradedQueueing", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_OST_PartTradedNotQueueing", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_OST_NoTradeQueueing", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_OST_NoTradeNotQueueing", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_OST_Canceled", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_OST_Unknown", pybind11::int_('a'));
|
|
m.add_object("THOST_FTDC_OST_NotTouched", pybind11::int_('b'));
|
|
m.add_object("THOST_FTDC_OST_Touched", pybind11::int_('c'));
|
|
m.add_object("THOST_FTDC_OSS_InsertSubmitted", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_OSS_CancelSubmitted", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_OSS_ModifySubmitted", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_OSS_Accepted", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_OSS_InsertRejected", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_OSS_CancelRejected", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_OSS_ModifyRejected", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_PSD_Today", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_PSD_History", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_PDT_UseHistory", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_PDT_NoUseHistory", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_ER_Broker", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_ER_Host", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_ER_Maker", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_PC_Futures", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_PC_Options", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_PC_Combination", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_PC_Spot", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_PC_EFP", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_PC_SpotOption", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_IP_NotStart", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_IP_Started", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_IP_Pause", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_IP_Expired", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_D_Buy", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_D_Sell", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_PT_Net", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_PT_Gross", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_PD_Net", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_PD_Long", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_PD_Short", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_SS_NonActive", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SS_Startup", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_SS_Operating", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_SS_Settlement", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_SS_SettlementFinished", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_RA_Trade", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_RA_Settlement", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_HF_Speculation", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_HF_Arbitrage", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_HF_Hedge", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_HF_MarketMaker", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_BHF_Speculation", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_BHF_Arbitrage", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_BHF_Hedge", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_CIDT_Speculation", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CIDT_Arbitrage", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_CIDT_Hedge", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_CIDT_MarketMaker", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_OPT_AnyPrice", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_OPT_LimitPrice", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_OPT_BestPrice", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_OPT_LastPrice", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_OPT_LastPricePlusOneTicks", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_OPT_LastPricePlusTwoTicks", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_OPT_LastPricePlusThreeTicks", pybind11::int_('7'));
|
|
m.add_object("THOST_FTDC_OPT_AskPrice1", pybind11::int_('8'));
|
|
m.add_object("THOST_FTDC_OPT_AskPrice1PlusOneTicks", pybind11::int_('9'));
|
|
m.add_object("THOST_FTDC_OPT_AskPrice1PlusTwoTicks", pybind11::int_('A'));
|
|
m.add_object("THOST_FTDC_OPT_AskPrice1PlusThreeTicks", pybind11::int_('B'));
|
|
m.add_object("THOST_FTDC_OPT_BidPrice1", pybind11::int_('C'));
|
|
m.add_object("THOST_FTDC_OPT_BidPrice1PlusOneTicks", pybind11::int_('D'));
|
|
m.add_object("THOST_FTDC_OPT_BidPrice1PlusTwoTicks", pybind11::int_('E'));
|
|
m.add_object("THOST_FTDC_OPT_BidPrice1PlusThreeTicks", pybind11::int_('F'));
|
|
m.add_object("THOST_FTDC_OPT_FiveLevelPrice", pybind11::int_('G'));
|
|
m.add_object("THOST_FTDC_OF_Open", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_OF_Close", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_OF_ForceClose", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_OF_CloseToday", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_OF_CloseYesterday", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_OF_ForceOff", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_OF_LocalForceClose", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_FCC_NotForceClose", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_FCC_LackDeposit", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FCC_ClientOverPositionLimit", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FCC_MemberOverPositionLimit", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_FCC_NotMultiple", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_FCC_Violation", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_FCC_Other", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_FCC_PersonDeliv", pybind11::int_('7'));
|
|
m.add_object("THOST_FTDC_ORDT_Normal", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_ORDT_DeriveFromQuote", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_ORDT_DeriveFromCombination", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_ORDT_Combination", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_ORDT_ConditionalOrder", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_ORDT_Swap", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_ORDT_DeriveFromEFP", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_TC_IOC", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_TC_GFS", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_TC_GFD", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_TC_GTD", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_TC_GTC", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_TC_GFA", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_VC_AV", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_VC_MV", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_VC_CV", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_CC_Immediately", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CC_Touch", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_CC_TouchProfit", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_CC_ParkedOrder", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_CC_LastPriceGreaterThanStopPrice", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_CC_LastPriceGreaterEqualStopPrice", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_CC_LastPriceLesserThanStopPrice", pybind11::int_('7'));
|
|
m.add_object("THOST_FTDC_CC_LastPriceLesserEqualStopPrice", pybind11::int_('8'));
|
|
m.add_object("THOST_FTDC_CC_AskPriceGreaterThanStopPrice", pybind11::int_('9'));
|
|
m.add_object("THOST_FTDC_CC_AskPriceGreaterEqualStopPrice", pybind11::int_('A'));
|
|
m.add_object("THOST_FTDC_CC_AskPriceLesserThanStopPrice", pybind11::int_('B'));
|
|
m.add_object("THOST_FTDC_CC_AskPriceLesserEqualStopPrice", pybind11::int_('C'));
|
|
m.add_object("THOST_FTDC_CC_BidPriceGreaterThanStopPrice", pybind11::int_('D'));
|
|
m.add_object("THOST_FTDC_CC_BidPriceGreaterEqualStopPrice", pybind11::int_('E'));
|
|
m.add_object("THOST_FTDC_CC_BidPriceLesserThanStopPrice", pybind11::int_('F'));
|
|
m.add_object("THOST_FTDC_CC_BidPriceLesserEqualStopPrice", pybind11::int_('H'));
|
|
m.add_object("THOST_FTDC_AF_Delete", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_AF_Modify", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_TR_Allow", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_TR_CloseOnly", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_TR_Forbidden", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_OSRC_Participant", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_OSRC_Administrator", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_TRDT_SplitCombination", pybind11::int_('#'));
|
|
m.add_object("THOST_FTDC_TRDT_Common", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_TRDT_OptionsExecution", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_TRDT_OTC", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_TRDT_EFPDerived", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_TRDT_CombinationDerived", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_PSRC_LastPrice", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_PSRC_Buy", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_PSRC_Sell", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_IS_BeforeTrading", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_IS_NoTrading", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_IS_Continous", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_IS_AuctionOrdering", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_IS_AuctionBalance", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_IS_AuctionMatch", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_IS_Closed", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_IER_Automatic", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_IER_Manual", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_IER_Fuse", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_BS_NoUpload", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_BS_Uploaded", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_BS_Failed", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_RS_All", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_RS_ByProduct", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_RP_ByVolume", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_RP_ByFeeOnHand", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_RL_Level1", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_RL_Level2", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_RL_Level3", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_RL_Level4", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_RL_Level5", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_RL_Level6", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_RL_Level7", pybind11::int_('7'));
|
|
m.add_object("THOST_FTDC_RL_Level8", pybind11::int_('8'));
|
|
m.add_object("THOST_FTDC_RL_Level9", pybind11::int_('9'));
|
|
m.add_object("THOST_FTDC_RSD_ByPeriod", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_RSD_ByStandard", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_MT_Out", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_MT_In", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_ISPI_MortgageRatio", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_ISPI_MarginWay", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_ISPI_BillDeposit", pybind11::int_('9'));
|
|
m.add_object("THOST_FTDC_ESPI_MortgageRatio", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_ESPI_OtherFundItem", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_ESPI_OtherFundImport", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_ESPI_CFFEXMinPrepa", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_ESPI_CZCESettlementType", pybind11::int_('7'));
|
|
m.add_object("THOST_FTDC_ESPI_ExchDelivFeeMode", pybind11::int_('9'));
|
|
m.add_object("THOST_FTDC_ESPI_DelivFeeMode", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_ESPI_CZCEComMarginType", pybind11::int_('A'));
|
|
m.add_object("THOST_FTDC_ESPI_DceComMarginType", pybind11::int_('B'));
|
|
m.add_object("THOST_FTDC_ESPI_OptOutDisCountRate", pybind11::int_('a'));
|
|
m.add_object("THOST_FTDC_ESPI_OptMiniGuarantee", pybind11::int_('b'));
|
|
m.add_object("THOST_FTDC_SPI_InvestorIDMinLength", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SPI_AccountIDMinLength", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_SPI_UserRightLogon", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_SPI_SettlementBillTrade", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_SPI_TradingCode", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_SPI_CheckFund", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_SPI_CommModelRight", pybind11::int_('7'));
|
|
m.add_object("THOST_FTDC_SPI_MarginModelRight", pybind11::int_('9'));
|
|
m.add_object("THOST_FTDC_SPI_IsStandardActive", pybind11::int_('8'));
|
|
m.add_object("THOST_FTDC_SPI_UploadSettlementFile", pybind11::int_('U'));
|
|
m.add_object("THOST_FTDC_SPI_DownloadCSRCFile", pybind11::int_('D'));
|
|
m.add_object("THOST_FTDC_SPI_SettlementBillFile", pybind11::int_('S'));
|
|
m.add_object("THOST_FTDC_SPI_CSRCOthersFile", pybind11::int_('C'));
|
|
m.add_object("THOST_FTDC_SPI_InvestorPhoto", pybind11::int_('P'));
|
|
m.add_object("THOST_FTDC_SPI_CSRCData", pybind11::int_('R'));
|
|
m.add_object("THOST_FTDC_SPI_InvestorPwdModel", pybind11::int_('I'));
|
|
m.add_object("THOST_FTDC_SPI_CFFEXInvestorSettleFile", pybind11::int_('F'));
|
|
m.add_object("THOST_FTDC_SPI_InvestorIDType", pybind11::int_('a'));
|
|
m.add_object("THOST_FTDC_SPI_FreezeMaxReMain", pybind11::int_('r'));
|
|
m.add_object("THOST_FTDC_SPI_IsSync", pybind11::int_('A'));
|
|
m.add_object("THOST_FTDC_SPI_RelieveOpenLimit", pybind11::int_('O'));
|
|
m.add_object("THOST_FTDC_SPI_IsStandardFreeze", pybind11::int_('X'));
|
|
m.add_object("THOST_FTDC_SPI_CZCENormalProductHedge", pybind11::int_('B'));
|
|
m.add_object("THOST_FTDC_TPID_EncryptionStandard", pybind11::int_('E'));
|
|
m.add_object("THOST_FTDC_TPID_RiskMode", pybind11::int_('R'));
|
|
m.add_object("THOST_FTDC_TPID_RiskModeGlobal", pybind11::int_('G'));
|
|
m.add_object("THOST_FTDC_TPID_modeEncode", pybind11::int_('P'));
|
|
m.add_object("THOST_FTDC_TPID_tickMode", pybind11::int_('T'));
|
|
m.add_object("THOST_FTDC_TPID_SingleUserSessionMaxNum", pybind11::int_('S'));
|
|
m.add_object("THOST_FTDC_TPID_LoginFailMaxNum", pybind11::int_('L'));
|
|
m.add_object("THOST_FTDC_TPID_IsAuthForce", pybind11::int_('A'));
|
|
m.add_object("THOST_FTDC_TPID_IsPosiFreeze", pybind11::int_('F'));
|
|
m.add_object("THOST_FTDC_TPID_IsPosiLimit", pybind11::int_('M'));
|
|
m.add_object("THOST_FTDC_TPID_ForQuoteTimeInterval", pybind11::int_('Q'));
|
|
m.add_object("THOST_FTDC_TPID_IsFuturePosiLimit", pybind11::int_('B'));
|
|
m.add_object("THOST_FTDC_TPID_IsFutureOrderFreq", pybind11::int_('C'));
|
|
m.add_object("THOST_FTDC_TPID_IsExecOrderProfit", pybind11::int_('H'));
|
|
m.add_object("THOST_FTDC_TPID_IsCheckBankAcc", pybind11::int_('I'));
|
|
m.add_object("THOST_FTDC_TPID_PasswordDeadLine", pybind11::int_('J'));
|
|
m.add_object("THOST_FTDC_TPID_IsStrongPassword", pybind11::int_('K'));
|
|
m.add_object("THOST_FTDC_TPID_BalanceMorgage", pybind11::int_('a'));
|
|
m.add_object("THOST_FTDC_TPID_MinPwdLen", pybind11::int_('O'));
|
|
m.add_object("THOST_FTDC_TPID_LoginFailMaxNumForIP", pybind11::int_('U'));
|
|
m.add_object("THOST_FTDC_TPID_PasswordPeriod", pybind11::int_('V'));
|
|
m.add_object("THOST_FTDC_FI_SettlementFund", pybind11::int_('F'));
|
|
m.add_object("THOST_FTDC_FI_Trade", pybind11::int_('T'));
|
|
m.add_object("THOST_FTDC_FI_InvestorPosition", pybind11::int_('P'));
|
|
m.add_object("THOST_FTDC_FI_SubEntryFund", pybind11::int_('O'));
|
|
m.add_object("THOST_FTDC_FI_CZCECombinationPos", pybind11::int_('C'));
|
|
m.add_object("THOST_FTDC_FI_CSRCData", pybind11::int_('R'));
|
|
m.add_object("THOST_FTDC_FI_CZCEClose", pybind11::int_('L'));
|
|
m.add_object("THOST_FTDC_FI_CZCENoClose", pybind11::int_('N'));
|
|
m.add_object("THOST_FTDC_FI_PositionDtl", pybind11::int_('D'));
|
|
m.add_object("THOST_FTDC_FI_OptionStrike", pybind11::int_('S'));
|
|
m.add_object("THOST_FTDC_FI_SettlementPriceComparison", pybind11::int_('M'));
|
|
m.add_object("THOST_FTDC_FI_NonTradePosChange", pybind11::int_('B'));
|
|
m.add_object("THOST_FTDC_FUT_Settlement", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_FUT_Check", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FFT_Txt", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_FFT_Zip", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FFT_DBF", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FUS_SucceedUpload", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FUS_FailedUpload", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FUS_SucceedLoad", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_FUS_PartSucceedLoad", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_FUS_FailedLoad", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_TD_Out", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_TD_In", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SC_NoSpecialRule", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_SC_NoSpringFestival", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_IPT_LastSettlement", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_IPT_LaseClose", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_PLP_Active", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_PLP_NonActive", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_PLP_Canceled", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_DM_CashDeliv", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_DM_CommodityDeliv", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FIOT_FundIO", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FIOT_Transfer", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FIOT_SwapCurrency", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_FT_Deposite", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FT_ItemFund", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FT_Company", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_FT_InnerTransfer", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_FD_In", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FD_Out", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FS_Record", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FS_Check", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FS_Charge", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_PS_None", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_PS_Publishing", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_PS_Published", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_ES_NonActive", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_ES_Startup", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_ES_Initialize", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_ES_Initialized", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_ES_Close", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_ES_Closed", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_ES_Settlement", pybind11::int_('7'));
|
|
m.add_object("THOST_FTDC_STS_Initialize", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_STS_Settlementing", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_STS_Settlemented", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_STS_Finished", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_CT_Person", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_CT_Company", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CT_Fund", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_CT_SpecialOrgan", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_CT_Asset", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_BT_Trade", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_BT_TradeSettle", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FAS_Low", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FAS_Normal", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FAS_Focus", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_FAS_Risk", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_FAS_ByTrade", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FAS_ByDeliv", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FAS_None", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_FAS_FixFee", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_PWDT_Trade", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_PWDT_Account", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_AG_All", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_AG_OnlyLost", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_AG_OnlyGain", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_AG_None", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_ICP_Include", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_ICP_NotInclude", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_AWT_Enable", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_AWT_Disable", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_AWT_NoHoldEnable", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_FPWD_UnCheck", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_FPWD_Check", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_TT_BankToFuture", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_TT_FutureToBank", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_TVF_Invalid", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_TVF_Valid", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_TVF_Reverse", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_RN_CD", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_RN_ZT", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_RN_QT", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_SEX_None", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_SEX_Man", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SEX_Woman", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_UT_Investor", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_UT_Operator", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_UT_SuperUser", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_RATETYPE_MarginRate", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_NOTETYPE_TradeSettleBill", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_NOTETYPE_TradeSettleMonth", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_NOTETYPE_CallMarginNotes", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_NOTETYPE_ForceCloseNotes", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_NOTETYPE_TradeNotes", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_NOTETYPE_DelivNotes", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_SBS_Day", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SBS_Volume", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_ST_Day", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_ST_Month", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_URT_Logon", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_URT_Transfer", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_URT_EMail", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_URT_Fax", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_URT_ConditionOrder", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_MPT_PreSettlementPrice", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_MPT_SettlementPrice", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_MPT_AveragePrice", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_MPT_OpenPrice", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_BGS_None", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_BGS_NoGenerated", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_BGS_Generated", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_AT_HandlePositionAlgo", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_AT_FindMarginRateAlgo", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_HPA_Base", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_HPA_DCE", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_HPA_CZCE", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_FMRA_Base", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FMRA_DCE", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FMRA_CZCE", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_HTAA_Base", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_HTAA_DCE", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_HTAA_CZCE", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_PST_Order", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_PST_Open", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_PST_Fund", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_PST_Settlement", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_PST_Company", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_PST_Corporation", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_PST_LinkMan", pybind11::int_('7'));
|
|
m.add_object("THOST_FTDC_PST_Ledger", pybind11::int_('8'));
|
|
m.add_object("THOST_FTDC_PST_Trustee", pybind11::int_('9'));
|
|
m.add_object("THOST_FTDC_PST_TrusteeCorporation", pybind11::int_('A'));
|
|
m.add_object("THOST_FTDC_PST_TrusteeOpen", pybind11::int_('B'));
|
|
m.add_object("THOST_FTDC_PST_TrusteeContact", pybind11::int_('C'));
|
|
m.add_object("THOST_FTDC_PST_ForeignerRefer", pybind11::int_('D'));
|
|
m.add_object("THOST_FTDC_PST_CorporationRefer", pybind11::int_('E'));
|
|
m.add_object("THOST_FTDC_QIR_All", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_QIR_Group", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_QIR_Single", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_IRS_Normal", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_IRS_Warn", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_IRS_Call", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_IRS_Force", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_IRS_Exception", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_UET_Login", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_UET_Logout", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_UET_Trading", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_UET_TradingError", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_UET_UpdatePassword", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_UET_Authenticate", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_UET_Other", pybind11::int_('9'));
|
|
m.add_object("THOST_FTDC_ICS_Close", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_ICS_CloseToday", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SM_Non", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_SM_Instrument", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SM_Product", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_SM_Investor", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_PAOS_NotSend", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_PAOS_Send", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_PAOS_Deleted", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_VDS_Dealing", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_VDS_DeaclSucceed", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_ORGS_Standard", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_ORGS_ESunny", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_ORGS_KingStarV6", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_VTS_NaturalDeal", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_VTS_SucceedEnd", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_VTS_FailedEND", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_VTS_Exception", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_VTS_ManualDeal", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_VTS_MesException", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_VTS_SysException", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_VBAT_BankBook", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_VBAT_BankCard", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_VBAT_CreditCard", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_VMS_Natural", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_VMS_Canceled", pybind11::int_('9'));
|
|
m.add_object("THOST_FTDC_VAA_NoAvailAbility", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_VAA_AvailAbility", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_VAA_Repeal", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_VTC_BankBankToFuture", pybind11::int_((53035779791614)));
|
|
m.add_object("THOST_FTDC_VTC_BankFutureToBank", pybind11::int_((53035779791615)));
|
|
m.add_object("THOST_FTDC_VTC_FutureBankToFuture", pybind11::int_((54113983700989)));
|
|
m.add_object("THOST_FTDC_VTC_FutureFutureToBank", pybind11::int_((54113983700990)));
|
|
m.add_object("THOST_FTDC_GEN_Program", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_GEN_HandWork", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CFMMCKK_REQUEST", pybind11::int_('R'));
|
|
m.add_object("THOST_FTDC_CFMMCKK_AUTO", pybind11::int_('A'));
|
|
m.add_object("THOST_FTDC_CFMMCKK_MANUAL", pybind11::int_('M'));
|
|
m.add_object("THOST_FTDC_CFT_IDCard", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_CFT_Passport", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CFT_OfficerIDCard", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_CFT_SoldierIDCard", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_CFT_HomeComingCard", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_CFT_HouseholdRegister", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_CFT_LicenseNo", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_CFT_InstitutionCodeCard", pybind11::int_('7'));
|
|
m.add_object("THOST_FTDC_CFT_TempLicenseNo", pybind11::int_('8'));
|
|
m.add_object("THOST_FTDC_CFT_NoEnterpriseLicenseNo", pybind11::int_('9'));
|
|
m.add_object("THOST_FTDC_CFT_OtherCard", pybind11::int_('x'));
|
|
m.add_object("THOST_FTDC_CFT_SuperDepAgree", pybind11::int_('a'));
|
|
m.add_object("THOST_FTDC_FBC_Others", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_FBC_TransferDetails", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FBC_CustAccStatus", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FBC_AccountTradeDetails", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_FBC_FutureAccountChangeInfoDetails", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_FBC_CustMoneyDetail", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_FBC_CustCancelAccountInfo", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_FBC_CustMoneyResult", pybind11::int_('7'));
|
|
m.add_object("THOST_FTDC_FBC_OthersExceptionResult", pybind11::int_('8'));
|
|
m.add_object("THOST_FTDC_FBC_CustInterestNetMoneyDetails", pybind11::int_('9'));
|
|
m.add_object("THOST_FTDC_FBC_CustMoneySendAndReceiveDetails", pybind11::int_('a'));
|
|
m.add_object("THOST_FTDC_FBC_CorporationMoneyTotal", pybind11::int_('b'));
|
|
m.add_object("THOST_FTDC_FBC_MainbodyMoneyTotal", pybind11::int_('c'));
|
|
m.add_object("THOST_FTDC_FBC_MainPartMonitorData", pybind11::int_('d'));
|
|
m.add_object("THOST_FTDC_FBC_PreparationMoney", pybind11::int_('e'));
|
|
m.add_object("THOST_FTDC_FBC_BankMoneyMonitorData", pybind11::int_('f'));
|
|
m.add_object("THOST_FTDC_CEC_Exchange", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CEC_Cash", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_YNI_Yes", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_YNI_No", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_BLT_CurrentMoney", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_BLT_UsableMoney", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_BLT_FetchableMoney", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_BLT_FreezeMoney", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_GD_Unknown", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_GD_Male", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_GD_Female", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FPF_BEN", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_FPF_OUR", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FPF_SHA", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_PWKT_ExchangeKey", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_PWKT_PassWordKey", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_PWKT_MACKey", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_PWKT_MessageKey", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_PWT_Query", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_PWT_Fetch", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_PWT_Transfer", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_PWT_Trade", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_EM_NoEncry", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_EM_DES", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_EM_3DES", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_BRF_BankNotNeedRepeal", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_BRF_BankWaitingRepeal", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_BRF_BankBeenRepealed", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_BRORF_BrokerNotNeedRepeal", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_BRORF_BrokerWaitingRepeal", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_BRORF_BrokerBeenRepealed", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_TS_Bank", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_TS_Future", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_TS_Store", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_LF_Yes", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_LF_No", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_BAS_Normal", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_BAS_Freeze", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_BAS_ReportLoss", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_MAS_Normal", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_MAS_Cancel", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_MSS_Point", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_MSS_PrePoint", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_MSS_CancelPoint", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_SYT_FutureBankTransfer", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_SYT_StockBankTransfer", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SYT_TheThirdPartStore", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_TEF_NormalProcessing", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_TEF_Success", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_TEF_Failed", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_TEF_Abnormal", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_TEF_ManualProcessedForException", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_TEF_CommuFailedNeedManualProcess", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_TEF_SysErrorNeedManualProcess", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_PSS_NotProcess", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_PSS_StartProcess", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_PSS_Finished", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_CUSTT_Person", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_CUSTT_Institution", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FBTTD_FromBankToFuture", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FBTTD_FromFutureToBank", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_OOD_Open", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_OOD_Destroy", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_AVAF_Invalid", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_AVAF_Valid", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_AVAF_Repeal", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_OT_Bank", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_OT_Future", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_OT_PlateForm", pybind11::int_('9'));
|
|
m.add_object("THOST_FTDC_OL_HeadQuarters", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_OL_Branch", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_PID_FutureProtocal", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_PID_ICBCProtocal", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_PID_ABCProtocal", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_PID_CBCProtocal", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_PID_CCBProtocal", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_PID_BOCOMProtocal", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_PID_FBTPlateFormProtocal", pybind11::int_('X'));
|
|
m.add_object("THOST_FTDC_CM_ShortConnect", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_CM_LongConnect", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SRM_ASync", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_SRM_Sync", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_BAT_BankBook", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_BAT_SavingCard", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_BAT_CreditCard", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_FAT_BankBook", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FAT_SavingCard", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FAT_CreditCard", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_OS_Ready", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_OS_CheckIn", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_OS_CheckOut", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_OS_CheckFileArrived", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_OS_CheckDetail", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_OS_DayEndClean", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_OS_Invalid", pybind11::int_('9'));
|
|
m.add_object("THOST_FTDC_CCBFM_ByAmount", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CCBFM_ByMonth", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_CAPIT_Client", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CAPIT_Server", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_CAPIT_UserApi", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_LS_Connected", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_LS_Disconnected", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_BPWDF_NoCheck", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_BPWDF_BlankCheck", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_BPWDF_EncryptCheck", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_SAT_AccountID", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SAT_CardID", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_SAT_SHStockholderID", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_SAT_SZStockholderID", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_TRFS_Normal", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_TRFS_Repealed", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SPTYPE_Broker", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_SPTYPE_Bank", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_REQRSP_Request", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_REQRSP_Response", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FBTUET_SignIn", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_FBTUET_FromBankToFuture", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FBTUET_FromFutureToBank", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FBTUET_OpenAccount", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_FBTUET_CancelAccount", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_FBTUET_ChangeAccount", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_FBTUET_RepealFromBankToFuture", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_FBTUET_RepealFromFutureToBank", pybind11::int_('7'));
|
|
m.add_object("THOST_FTDC_FBTUET_QueryBankAccount", pybind11::int_('8'));
|
|
m.add_object("THOST_FTDC_FBTUET_QueryFutureAccount", pybind11::int_('9'));
|
|
m.add_object("THOST_FTDC_FBTUET_SignOut", pybind11::int_('A'));
|
|
m.add_object("THOST_FTDC_FBTUET_SyncKey", pybind11::int_('B'));
|
|
m.add_object("THOST_FTDC_FBTUET_ReserveOpenAccount", pybind11::int_('C'));
|
|
m.add_object("THOST_FTDC_FBTUET_CancelReserveOpenAccount", pybind11::int_('D'));
|
|
m.add_object("THOST_FTDC_FBTUET_ReserveOpenAccountConfirm", pybind11::int_('E'));
|
|
m.add_object("THOST_FTDC_FBTUET_Other", pybind11::int_('Z'));
|
|
m.add_object("THOST_FTDC_DBOP_Insert", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_DBOP_Update", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_DBOP_Delete", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_SYNF_Yes", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_SYNF_No", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SYNT_OneOffSync", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_SYNT_TimerSync", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SYNT_TimerFullSync", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FBEDIR_Settlement", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_FBEDIR_Sale", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FBERES_Success", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_FBERES_InsufficientBalance", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FBERES_UnknownTrading", pybind11::int_('8'));
|
|
m.add_object("THOST_FTDC_FBERES_Fail", pybind11::int_('x'));
|
|
m.add_object("THOST_FTDC_FBEES_Normal", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_FBEES_ReExchange", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FBEFG_DataPackage", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_FBEFG_File", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FBEAT_NotTrade", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_FBEAT_Trade", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FBEUET_SignIn", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_FBEUET_Exchange", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FBEUET_ReExchange", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FBEUET_QueryBankAccount", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_FBEUET_QueryExchDetial", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_FBEUET_QueryExchSummary", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_FBEUET_QueryExchRate", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_FBEUET_CheckBankAccount", pybind11::int_('7'));
|
|
m.add_object("THOST_FTDC_FBEUET_SignOut", pybind11::int_('8'));
|
|
m.add_object("THOST_FTDC_FBEUET_Other", pybind11::int_('Z'));
|
|
m.add_object("THOST_FTDC_FBERF_UnProcessed", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_FBERF_WaitSend", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FBERF_SendSuccess", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FBERF_SendFailed", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_FBERF_WaitReSend", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_NC_NOERROR", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_NC_Warn", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_NC_Call", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_NC_Force", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_NC_CHUANCANG", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_NC_Exception", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_FCT_Manual", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_FCT_Single", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FCT_Group", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_RNM_System", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_RNM_SMS", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_RNM_EMail", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_RNM_Manual", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_RNS_NotGen", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_RNS_Generated", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_RNS_SendError", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_RNS_SendOk", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_RNS_Received", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_RNS_Confirmed", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_RUE_ExportData", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_COST_LastPriceAsc", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_COST_LastPriceDesc", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_COST_AskPriceAsc", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_COST_AskPriceDesc", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_COST_BidPriceAsc", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_COST_BidPriceDesc", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_UOAST_NoSend", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_UOAST_Sended", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_UOAST_Generated", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_UOAST_SendFail", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_UOAST_Success", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_UOAST_Fail", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_UOAST_Cancel", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_UOACS_NoApply", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_UOACS_Submited", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_UOACS_Sended", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_UOACS_Success", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_UOACS_Refuse", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_UOACS_Cancel", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_QT_Radio", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_QT_Option", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_QT_Blank", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_BT_Request", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_BT_Response", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_BT_Notice", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_CRC_Success", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_CRC_Working", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CRC_InfoFail", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_CRC_IDCardFail", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_CRC_OtherFail", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_CfMMCCT_All", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_CfMMCCT_Person", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CfMMCCT_Company", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_CfMMCCT_Other", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_CfMMCCT_SpecialOrgan", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_CfMMCCT_Asset", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_EIDT_SHFE", pybind11::int_('S'));
|
|
m.add_object("THOST_FTDC_EIDT_CZCE", pybind11::int_('Z'));
|
|
m.add_object("THOST_FTDC_EIDT_DCE", pybind11::int_('D'));
|
|
m.add_object("THOST_FTDC_EIDT_CFFEX", pybind11::int_('J'));
|
|
m.add_object("THOST_FTDC_EIDT_INE", pybind11::int_('N'));
|
|
m.add_object("THOST_FTDC_ECIDT_Hedge", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_ECIDT_Arbitrage", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_ECIDT_Speculation", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_UF_NoUpdate", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_UF_Success", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_UF_Fail", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_UF_TCSuccess", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_UF_TCFail", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_UF_Cancel", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_AOID_OpenInvestor", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_AOID_ModifyIDCard", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_AOID_ModifyNoIDCard", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_AOID_ApplyTradingCode", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_AOID_CancelTradingCode", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_AOID_CancelInvestor", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_AOID_FreezeAccount", pybind11::int_('8'));
|
|
m.add_object("THOST_FTDC_AOID_ActiveFreezeAccount", pybind11::int_('9'));
|
|
m.add_object("THOST_FTDC_ASID_NoComplete", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_ASID_Submited", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_ASID_Checked", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_ASID_Refused", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_ASID_Deleted", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_UOASM_ByAPI", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_UOASM_ByFile", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_EvM_ADD", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_EvM_UPDATE", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_EvM_DELETE", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_EvM_CHECK", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_EvM_COPY", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_EvM_CANCEL", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_EvM_Reverse", pybind11::int_('7'));
|
|
m.add_object("THOST_FTDC_UOAA_ASR", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_UOAA_ASNR", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_UOAA_NSAR", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_UOAA_NSR", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_EvM_InvestorGroupFlow", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_EvM_InvestorRate", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_EvM_InvestorCommRateModel", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_CL_Zero", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_CL_One", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CL_Two", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_CHS_Init", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_CHS_Checking", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CHS_Checked", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_CHS_Refuse", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_CHS_Cancel", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_CHU_Unused", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_CHU_Used", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CHU_Fail", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_BAO_ByAccProperty", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_BAO_ByFBTransfer", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_MBTS_ByInstrument", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_MBTS_ByDayInsPrc", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_MBTS_ByDayIns", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FTC_BankLaunchBankToBroker", pybind11::int_((53035779791614)));
|
|
m.add_object("THOST_FTDC_FTC_BrokerLaunchBankToBroker", pybind11::int_((54113983700989)));
|
|
m.add_object("THOST_FTDC_FTC_BankLaunchBrokerToBank", pybind11::int_((53035779791615)));
|
|
m.add_object("THOST_FTDC_FTC_BrokerLaunchBrokerToBank", pybind11::int_((54113983700990)));
|
|
m.add_object("THOST_FTDC_OTP_NONE", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_OTP_TOTP", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_OTPS_Unused", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_OTPS_Used", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_OTPS_Disuse", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_BUT_Investor", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_BUT_BrokerUser", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FUTT_Commodity", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FUTT_Financial", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FET_Restriction", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_FET_TodayRestriction", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FET_Transfer", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FET_Credit", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_FET_InvestorWithdrawAlm", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_FET_BankRestriction", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_FET_Accountregister", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_FET_ExchangeFundIO", pybind11::int_('7'));
|
|
m.add_object("THOST_FTDC_FET_InvestorFundIO", pybind11::int_('8'));
|
|
m.add_object("THOST_FTDC_AST_FBTransfer", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_AST_ManualEntry", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CST_UnifyAccount", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_CST_ManualEntry", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_UR_All", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_UR_Single", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_BG_Investor", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_BG_Group", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_TSSM_Instrument", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_TSSM_Product", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_TSSM_Exchange", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_ESM_Relative", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_ESM_Typical", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_RIR_All", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_RIR_Model", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_RIR_Single", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_SDS_Initialize", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_SDS_Settlementing", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SDS_Settlemented", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_TSRC_NORMAL", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_TSRC_QUERY", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FSM_Product", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FSM_Exchange", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FSM_All", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_BIR_Property", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_BIR_All", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_PIR_All", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_PIR_Property", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_PIR_Single", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_FIS_NoCreate", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_FIS_Created", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FIS_Failed", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FGS_FileTransmit", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_FGS_FileGen", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SoM_Add", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SoM_Update", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_SoM_Delete", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_SoM_Copy", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_SoM_AcTive", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_SoM_CanCel", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_SoM_ReSet", pybind11::int_('7'));
|
|
m.add_object("THOST_FTDC_SoT_UpdatePassword", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_SoT_UserDepartment", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SoT_RoleManager", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_SoT_RoleFunction", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_SoT_BaseParam", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_SoT_SetUserID", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_SoT_SetUserRole", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_SoT_UserIpRestriction", pybind11::int_('7'));
|
|
m.add_object("THOST_FTDC_SoT_DepartmentManager", pybind11::int_('8'));
|
|
m.add_object("THOST_FTDC_SoT_DepartmentCopy", pybind11::int_('9'));
|
|
m.add_object("THOST_FTDC_SoT_Tradingcode", pybind11::int_('A'));
|
|
m.add_object("THOST_FTDC_SoT_InvestorStatus", pybind11::int_('B'));
|
|
m.add_object("THOST_FTDC_SoT_InvestorAuthority", pybind11::int_('C'));
|
|
m.add_object("THOST_FTDC_SoT_PropertySet", pybind11::int_('D'));
|
|
m.add_object("THOST_FTDC_SoT_ReSetInvestorPasswd", pybind11::int_('E'));
|
|
m.add_object("THOST_FTDC_SoT_InvestorPersonalityInfo", pybind11::int_('F'));
|
|
m.add_object("THOST_FTDC_CSRCQ_Current", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_CSRCQ_History", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FRS_Normal", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FRS_Freeze", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_STST_Standard", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_STST_NonStandard", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_RPT_Freeze", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_RPT_FreezeActive", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_RPT_OpenLimit", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_RPT_RelieveOpenLimit", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_AMLDS_Normal", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_AMLDS_Deleted", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_AMLCHS_Init", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_AMLCHS_Checking", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_AMLCHS_Checked", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_AMLCHS_RefuseReport", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_AMLDT_DrawDay", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_AMLDT_TouchDay", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_AMLCL_CheckLevel0", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_AMLCL_CheckLevel1", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_AMLCL_CheckLevel2", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_AMLCL_CheckLevel3", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_EFT_CSV", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_EFT_EXCEL", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_EFT_DBF", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_SMT_Before", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SMT_Settlement", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_SMT_After", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_SMT_Settlemented", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_SML_Must", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SML_Alarm", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_SML_Prompt", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_SML_Ignore", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_SMG_Exhcange", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SMG_ASP", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_SMG_CSRC", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_LUT_Repeatable", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_LUT_Unrepeatable", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_DAR_Settle", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_DAR_Exchange", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_DAR_CSRC", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_MGT_ExchMarginRate", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_MGT_InstrMarginRate", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_MGT_InstrMarginRateTrade", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_ACT_Intraday", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_ACT_Long", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_MRT_Exchange", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_MRT_Investor", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_MRT_InvestorTrade", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_BUS_UnBak", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_BUS_BakUp", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_BUS_BakUped", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_BUS_BakFail", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_SIS_UnInitialize", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_SIS_Initialize", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SIS_Initialized", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_SRS_NoCreate", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_SRS_Create", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SRS_Created", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_SRS_CreateFail", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_SSS_UnSaveData", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_SSS_SaveDatad", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SAS_UnArchived", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_SAS_Archiving", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SAS_Archived", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_SAS_ArchiveFail", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_CTPT_Unkown", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_CTPT_MainCenter", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CTPT_BackUp", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_CDT_Normal", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_CDT_SpecFirst", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_MFUR_None", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_MFUR_Margin", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_MFUR_All", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_MFUR_CNY3", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_SPT_CzceHedge", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SPT_IneForeignCurrency", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_SPT_DceOpenClose", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_FMT_Mortgage", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FMT_Redemption", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_ASPI_BaseMargin", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_ASPI_LowestInterest", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FMD_In", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FMD_Out", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_BT_Profit", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_BT_Loss", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_BT_Other", pybind11::int_('Z'));
|
|
m.add_object("THOST_FTDC_SST_Manual", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_SST_Automatic", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CED_Settlement", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_CED_Sale", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CSS_Entry", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CSS_Approve", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_CSS_Refuse", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_CSS_Revoke", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_CSS_Send", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_CSS_Success", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_CSS_Failure", pybind11::int_('7'));
|
|
m.add_object("THOST_FTDC_REQF_NoSend", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_REQF_SendSuccess", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_REQF_SendFailed", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_REQF_WaitReSend", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_RESF_Success", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_RESF_InsuffiCient", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_RESF_UnKnown", pybind11::int_('8'));
|
|
m.add_object("THOST_FTDC_EXS_Before", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_EXS_After", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CR_Domestic", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CR_GMT", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_CR_Foreign", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_HB_No", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_HB_Yes", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SM_Normal", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_SM_Emerge", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_SM_Restore", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_TPT_Full", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_TPT_Increment", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_TPT_BackUp", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_LM_Trade", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_LM_Transfer", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CPT_Instrument", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CPT_Margin", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_HT_Yes", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_HT_No", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_AMT_Bank", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_AMT_Securities", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_AMT_Fund", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_AMT_Insurance", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_AMT_Trust", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_AMT_Other", pybind11::int_('9'));
|
|
m.add_object("THOST_FTDC_CFIOT_FundIO", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_CFIOT_SwapCurrency", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CAT_Futures", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CAT_AssetmgrFuture", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_CAT_AssetmgrTrustee", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_CAT_AssetmgrTransfer", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_LT_Chinese", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_LT_English", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_AMCT_Person", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_AMCT_Organ", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_AMCT_SpecialOrgan", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_ASST_Futures", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_ASST_SpecialOrgan", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_CIT_HasExch", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_CIT_HasATP", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CIT_HasDiff", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_DT_HandDeliv", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_DT_PersonDeliv", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_MMSA_NO", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_MMSA_YES", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CACT_Person", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_CACT_Company", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CACT_Other", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_UOAAT_Futures", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_UOAAT_SpecialOrgan", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_DEN_Buy", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_DEN_Sell", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_OFEN_Open", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_OFEN_Close", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_OFEN_ForceClose", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_OFEN_CloseToday", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_OFEN_CloseYesterday", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_OFEN_ForceOff", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_OFEN_LocalForceClose", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_HFEN_Speculation", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_HFEN_Arbitrage", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_HFEN_Hedge", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_FIOTEN_FundIO", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FIOTEN_Transfer", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FIOTEN_SwapCurrency", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_FTEN_Deposite", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FTEN_ItemFund", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FTEN_Company", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_FTEN_InnerTransfer", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_FDEN_In", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FDEN_Out", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FMDEN_In", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_FMDEN_Out", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_CP_CallOptions", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_CP_PutOptions", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_STM_Continental", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_STM_American", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_STM_Bermuda", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_STT_Hedge", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_STT_Match", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_APPT_NotStrikeNum", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_GUDS_Gen", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_GUDS_Hand", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_OER_NoExec", pybind11::int_('n'));
|
|
m.add_object("THOST_FTDC_OER_Canceled", pybind11::int_('c'));
|
|
m.add_object("THOST_FTDC_OER_OK", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_OER_NoPosition", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_OER_NoDeposit", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_OER_NoParticipant", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_OER_NoClient", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_OER_NoInstrument", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_OER_NoRight", pybind11::int_('7'));
|
|
m.add_object("THOST_FTDC_OER_InvalidVolume", pybind11::int_('8'));
|
|
m.add_object("THOST_FTDC_OER_NoEnoughHistoryTrade", pybind11::int_('9'));
|
|
m.add_object("THOST_FTDC_OER_Unknown", pybind11::int_('a'));
|
|
m.add_object("THOST_FTDC_COMBT_Future", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_COMBT_BUL", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_COMBT_BER", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_COMBT_STD", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_COMBT_STG", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_COMBT_PRT", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_COMBT_CLD", pybind11::int_('6'));
|
|
m.add_object("THOST_FTDC_ORPT_PreSettlementPrice", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_ORPT_OpenPrice", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_ORPT_MaxPreSettlementPrice", pybind11::int_('5'));
|
|
m.add_object("THOST_FTDC_BLAG_Default", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_BLAG_IncludeOptValLost", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_ACTP_Exec", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_ACTP_Abandon", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_FQST_Submitted", pybind11::int_('a'));
|
|
m.add_object("THOST_FTDC_FQST_Accepted", pybind11::int_('b'));
|
|
m.add_object("THOST_FTDC_FQST_Rejected", pybind11::int_('c'));
|
|
m.add_object("THOST_FTDC_VM_Absolute", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_VM_Ratio", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_EOPF_Reserve", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_EOPF_UnReserve", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_EOCF_AutoClose", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_EOCF_NotToClose", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_PTE_Futures", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_PTE_Options", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_CUFN_CUFN_O", pybind11::int_('O'));
|
|
m.add_object("THOST_FTDC_CUFN_CUFN_T", pybind11::int_('T'));
|
|
m.add_object("THOST_FTDC_CUFN_CUFN_P", pybind11::int_('P'));
|
|
m.add_object("THOST_FTDC_CUFN_CUFN_N", pybind11::int_('N'));
|
|
m.add_object("THOST_FTDC_CUFN_CUFN_L", pybind11::int_('L'));
|
|
m.add_object("THOST_FTDC_CUFN_CUFN_F", pybind11::int_('F'));
|
|
m.add_object("THOST_FTDC_CUFN_CUFN_C", pybind11::int_('C'));
|
|
m.add_object("THOST_FTDC_CUFN_CUFN_M", pybind11::int_('M'));
|
|
m.add_object("THOST_FTDC_DUFN_DUFN_O", pybind11::int_('O'));
|
|
m.add_object("THOST_FTDC_DUFN_DUFN_T", pybind11::int_('T'));
|
|
m.add_object("THOST_FTDC_DUFN_DUFN_P", pybind11::int_('P'));
|
|
m.add_object("THOST_FTDC_DUFN_DUFN_F", pybind11::int_('F'));
|
|
m.add_object("THOST_FTDC_DUFN_DUFN_C", pybind11::int_('C'));
|
|
m.add_object("THOST_FTDC_DUFN_DUFN_D", pybind11::int_('D'));
|
|
m.add_object("THOST_FTDC_DUFN_DUFN_M", pybind11::int_('M'));
|
|
m.add_object("THOST_FTDC_DUFN_DUFN_S", pybind11::int_('S'));
|
|
m.add_object("THOST_FTDC_SUFN_SUFN_O", pybind11::int_('O'));
|
|
m.add_object("THOST_FTDC_SUFN_SUFN_T", pybind11::int_('T'));
|
|
m.add_object("THOST_FTDC_SUFN_SUFN_P", pybind11::int_('P'));
|
|
m.add_object("THOST_FTDC_SUFN_SUFN_F", pybind11::int_('F'));
|
|
m.add_object("THOST_FTDC_CFUFN_SUFN_T", pybind11::int_('T'));
|
|
m.add_object("THOST_FTDC_CFUFN_SUFN_P", pybind11::int_('P'));
|
|
m.add_object("THOST_FTDC_CFUFN_SUFN_F", pybind11::int_('F'));
|
|
m.add_object("THOST_FTDC_CFUFN_SUFN_S", pybind11::int_('S'));
|
|
m.add_object("THOST_FTDC_CMDR_Comb", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_CMDR_UnComb", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_STOV_RealValue", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_STOV_ProfitValue", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_STOV_RealRatio", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_STOV_ProfitRatio", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_ROAST_Processing", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_ROAST_Cancelled", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_ROAST_Opened", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_ROAST_Invalid", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_WPSR_Lib", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_WPSR_Manual", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_OSCF_CloseSelfOptionPosition", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_OSCF_ReserveOptionPosition", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_OSCF_SellCloseSelfFuturePosition", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_OSCF_ReserveFuturePosition", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_BZTP_Future", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_BZTP_Stock", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_APP_TYPE_Investor", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_APP_TYPE_InvestorRelay", pybind11::int_('2'));
|
|
m.add_object("THOST_FTDC_APP_TYPE_OperatorRelay", pybind11::int_('3'));
|
|
m.add_object("THOST_FTDC_APP_TYPE_UnKnown", pybind11::int_('4'));
|
|
m.add_object("THOST_FTDC_RV_Right", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_RV_Refuse", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_OTC_TRDT_Block", pybind11::int_('0'));
|
|
m.add_object("THOST_FTDC_OTC_TRDT_EFP", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_OTC_MT_DV01", pybind11::int_('1'));
|
|
m.add_object("THOST_FTDC_OTC_MT_ParValue", pybind11::int_('2'));
|
|
|
|
}
|
|
|
|
// begin generated code - combined_class_generator_definitions
|
|
// code will appear only when split_in_files is off
|
|
|
|
// end generated code
|
|
|
|
PYBIND11_MODULE(vnctp, m)
|
|
{
|
|
init_dispatcher();
|
|
generate_classes(m);
|
|
generate_constants(m);
|
|
generate_enums(m);
|
|
}
|