public Quote(double q, Quote.QuoteType qt) : this(AkaApiPINVOKE.new_Quote(q, (int)qt), true) { }
internal static HandleRef getCPtr(Quote obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public double UpDuration(Quote arg0) { double ret = AkaApiPINVOKE.Value_UpDuration__SWIG_3(swigCPtr, Quote.getCPtr(arg0)); if (AkaApiPINVOKE.SWIGPendingException.Pending) throw AkaApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public Duration KeyRateDuration(Quote arg0, double durationbp, double year, double leftanchoryear, double rightanchoryear) { Duration ret = new Duration(AkaApiPINVOKE.Value_KeyRateDuration__SWIG_5(swigCPtr, Quote.getCPtr(arg0), durationbp, year, leftanchoryear, rightanchoryear), true); if (AkaApiPINVOKE.SWIGPendingException.Pending) throw AkaApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public Duration EffectiveDuration(Quote arg0) { Duration ret = new Duration(AkaApiPINVOKE.Value_EffectiveDuration__SWIG_3(swigCPtr, Quote.getCPtr(arg0)), true); if (AkaApiPINVOKE.SWIGPendingException.Pending) throw AkaApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public double DownDuration(Quote arg0, double durationbp) { double ret = AkaApiPINVOKE.Value_DownDuration__SWIG_2(swigCPtr, Quote.getCPtr(arg0), durationbp); if (AkaApiPINVOKE.SWIGPendingException.Pending) throw AkaApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public bool AnalyzeScenario(InterestRateScenario arg0, Quote arg1, ScenarioAnalysis arg2) { bool ret = AkaApiPINVOKE.Value_AnalyzeScenario__SWIG_1(swigCPtr, InterestRateScenario.getCPtr(arg0), Quote.getCPtr(arg1), ScenarioAnalysis.getCPtr(arg2)); if (AkaApiPINVOKE.SWIGPendingException.Pending) throw AkaApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }