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); }
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; }
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); }
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; }
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; }
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; }
public void setHistory(string name, RealTimeSeries fixings) { NQuantLibcPINVOKE.IndexManager_setHistory(swigCPtr, name, RealTimeSeries.getCPtr(fixings)); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); }
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; }