示例#1
0
 public Quote(double q, Quote.QuoteType qt)
     : this(AkaApiPINVOKE.new_Quote(q, (int)qt), true)
 {
 }
示例#2
0
 internal static HandleRef getCPtr(Quote obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
示例#3
0
 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;
 }
示例#4
0
 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;
 }
示例#5
0
 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;
 }
示例#6
0
 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;
 }
示例#7
0
 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;
 }