コード例 #1
0
        public RealTimeSeries calculate(RealTimeSeries arg0)
        {
            RealTimeSeries ret = new RealTimeSeries(NQuantLibcPINVOKE.ConstantEstimator_calculate(swigCPtr, RealTimeSeries.getCPtr(arg0)), true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #2
0
ファイル: GarmanKlassSigma1.cs プロジェクト: minikie/test
 public RealTimeSeries calculate(IntervalPriceTimeSeries arg0) {
   RealTimeSeries ret = new RealTimeSeries(NQuantLibcPINVOKE.GarmanKlassSigma1_calculate(swigCPtr, IntervalPriceTimeSeries.getCPtr(arg0)), true);
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RealTimeSeries obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #4
0
ファイル: ConstantEstimator.cs プロジェクト: minikie/test
 public RealTimeSeries calculate(RealTimeSeries arg0) {
   RealTimeSeries ret = new RealTimeSeries(NQuantLibcPINVOKE.ConstantEstimator_calculate(swigCPtr, RealTimeSeries.getCPtr(arg0)), true);
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #5
0
ファイル: IntervalPrice.cs プロジェクト: minikie/test
 public static RealTimeSeries extractComponent(IntervalPriceTimeSeries arg0, IntervalPrice.Type t) {
   RealTimeSeries ret = new RealTimeSeries(NQuantLibcPINVOKE.IntervalPrice_extractComponent(IntervalPriceTimeSeries.getCPtr(arg0), (int)t), true);
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #6
0
ファイル: IndexManager.cs プロジェクト: minikie/test
 public RealTimeSeries getHistory(string name) {
   RealTimeSeries ret = new RealTimeSeries(NQuantLibcPINVOKE.IndexManager_getHistory(swigCPtr, name), false);
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #7
0
ファイル: IndexManager.cs プロジェクト: minikie/test
 public void setHistory(string name, RealTimeSeries fixings) {
   NQuantLibcPINVOKE.IndexManager_setHistory(swigCPtr, name, RealTimeSeries.getCPtr(fixings));
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #8
0
ファイル: RealTimeSeries.cs プロジェクト: minikie/test
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RealTimeSeries obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }