public RealTimeSeries calculate(IntervalPriceTimeSeries arg0) { RealTimeSeries ret = new RealTimeSeries(NQuantLibcPINVOKE.ParkinsonSigma_calculate(swigCPtr, IntervalPriceTimeSeries.getCPtr(arg0)), true); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static DoubleVector extractValues(IntervalPriceTimeSeries arg0, IntervalPrice.Type t) { DoubleVector ret = new DoubleVector(NQuantLibcPINVOKE.IntervalPrice_extractValues(IntervalPriceTimeSeries.getCPtr(arg0), (int)t), 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 static IntervalPriceTimeSeries makeSeries(DateVector d, DoubleVector open, DoubleVector close, DoubleVector high, DoubleVector low) { IntervalPriceTimeSeries ret = new IntervalPriceTimeSeries(NQuantLibcPINVOKE.IntervalPrice_makeSeries(DateVector.getCPtr(d), DoubleVector.getCPtr(open), DoubleVector.getCPtr(close), DoubleVector.getCPtr(high), DoubleVector.getCPtr(low)), true); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(IntervalPriceTimeSeries obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
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; }
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 static DoubleVector extractValues(IntervalPriceTimeSeries arg0, IntervalPrice.Type t) { DoubleVector ret = new DoubleVector(NQuantLibcPINVOKE.IntervalPrice_extractValues(IntervalPriceTimeSeries.getCPtr(arg0), (int)t), true); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static IntervalPriceTimeSeries makeSeries(DateVector d, DoubleVector open, DoubleVector close, DoubleVector high, DoubleVector low) { IntervalPriceTimeSeries ret = new IntervalPriceTimeSeries(NQuantLibcPINVOKE.IntervalPrice_makeSeries(DateVector.getCPtr(d), DoubleVector.getCPtr(open), DoubleVector.getCPtr(close), DoubleVector.getCPtr(high), DoubleVector.getCPtr(low)), true); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(IntervalPriceTimeSeries obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }