Esempio n. 1
0
        public static CHSTradeApi NewTradeApi(string pszFlowPath)
        {
            global::System.IntPtr cPtr = HSTradeCppWrapperPINVOKE.NewTradeApi(pszFlowPath);
            CHSTradeApi           ret  = (cPtr == global::System.IntPtr.Zero) ? null : new CHSTradeApi(cPtr, false);

            return(ret);
        }
 public virtual void Dispose()
 {
     lock (this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero)
         {
             if (swigCMemOwn)
             {
                 swigCMemOwn = false;
                 HSTradeCppWrapperPINVOKE.delete_CHSRspQryPositionField(swigCPtr);
             }
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
         }
         global::System.GC.SuppressFinalize(this);
     }
 }
 public CHSRspQrySysConfigField() : this(HSTradeCppWrapperPINVOKE.new_CHSRspQrySysConfigField(), true)
 {
 }
Esempio n. 4
0
 public CHSReqQryMarginField() : this(HSTradeCppWrapperPINVOKE.new_CHSReqQryMarginField(), true)
 {
 }
Esempio n. 5
0
 public CHSRspQryExerciseAssignField() : this(HSTradeCppWrapperPINVOKE.new_CHSRspQryExerciseAssignField(), true)
 {
 }
Esempio n. 6
0
 public CHSRspUserPasswordUpdateField() : this(HSTradeCppWrapperPINVOKE.new_CHSRspUserPasswordUpdateField(), true)
 {
 }
 public CHSRspQueryMaxOrderVolumeField() : this(HSTradeCppWrapperPINVOKE.new_CHSRspQueryMaxOrderVolumeField(), true)
 {
 }
Esempio n. 8
0
 public CHSReqQueryBankBalanceField() : this(HSTradeCppWrapperPINVOKE.new_CHSReqQueryBankBalanceField(), true)
 {
 }
 public CHSRspQryInstrumentField() : this(HSTradeCppWrapperPINVOKE.new_CHSRspQryInstrumentField(), true)
 {
 }
 public CHSReqQueryBankAccountField() : this(HSTradeCppWrapperPINVOKE.new_CHSReqQueryBankAccountField(), true)
 {
 }
 public CHSRspTransferField() : this(HSTradeCppWrapperPINVOKE.new_CHSRspTransferField(), true)
 {
 }
 public CHSRspLockInsertField() : this(HSTradeCppWrapperPINVOKE.new_CHSRspLockInsertField(), true)
 {
 }
 public CHSReqForQuoteInsertField() : this(HSTradeCppWrapperPINVOKE.new_CHSReqForQuoteInsertField(), true)
 {
 }
Esempio n. 14
0
 public CHSReqQryCommissionField() : this(HSTradeCppWrapperPINVOKE.new_CHSReqQryCommissionField(), true)
 {
 }
Esempio n. 15
0
 public CHSReqUserLoginField() : this(HSTradeCppWrapperPINVOKE.new_CHSReqUserLoginField(), true)
 {
 }
 public CHSReqOrderInsertField() : this(HSTradeCppWrapperPINVOKE.new_CHSReqOrderInsertField(), true)
 {
 }
Esempio n. 17
0
 public CHSReqQueryLockVolumeField() : this(HSTradeCppWrapperPINVOKE.new_CHSReqQueryLockVolumeField(), true)
 {
 }
 public CHSRspQryTradingAccountField() : this(HSTradeCppWrapperPINVOKE.new_CHSRspQryTradingAccountField(), true)
 {
 }
 public CHSReqQryCoveredShortField() : this(HSTradeCppWrapperPINVOKE.new_CHSReqQryCoveredShortField(), true)
 {
 }
 public CHSReqQryPositionDetailField() : this(HSTradeCppWrapperPINVOKE.new_CHSReqQryPositionDetailField(), true)
 {
 }
 public CHSReqCombActionInsertField() : this(HSTradeCppWrapperPINVOKE.new_CHSReqCombActionInsertField(), true)
 {
 }
Esempio n. 22
0
 public CHSRspQueryBillContentField() : this(HSTradeCppWrapperPINVOKE.new_CHSRspQueryBillContentField(), true)
 {
 }
Esempio n. 23
0
 public CHSCombActionField() : this(HSTradeCppWrapperPINVOKE.new_CHSCombActionField(), true)
 {
 }
Esempio n. 24
0
 public CHSExerciseField() : this(HSTradeCppWrapperPINVOKE.new_CHSExerciseField(), true)
 {
 }
Esempio n. 25
0
 public CHSRspQueryExerciseVolumeField() : this(HSTradeCppWrapperPINVOKE.new_CHSRspQueryExerciseVolumeField(), true)
 {
 }
Esempio n. 26
0
 public CHSLockField() : this(HSTradeCppWrapperPINVOKE.new_CHSLockField(), true)
 {
 }
Esempio n. 27
0
 public CHSRspOrderActionField() : this(HSTradeCppWrapperPINVOKE.new_CHSRspOrderActionField(), true)
 {
 }
Esempio n. 28
0
 public CHSReqDepthMarketDataField() : this(HSTradeCppWrapperPINVOKE.new_CHSReqDepthMarketDataField(), true)
 {
 }
 public CHSRspQryPositionField() : this(HSTradeCppWrapperPINVOKE.new_CHSRspQryPositionField(), true)
 {
 }
 public CHSReqBillConfirmField() : this(HSTradeCppWrapperPINVOKE.new_CHSReqBillConfirmField(), true)
 {
 }