diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-11-29 17:47:15 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-11-29 20:20:12 +0100 |
commit | b1832658951d9f03c871b665b270a73deacf884f (patch) | |
tree | 6e40a76f8275084d6b3ae262fcdc1675eaf0dcc5 /scaddins | |
parent | a070fb8e87e0712de5336a9683208b6b277ce9b9 (diff) |
tdf#129098: parameters mixed in OPT_PROB_INMONEY (scaddins)
Here's getOptProbInMoney signature according to XPricingFunctions.idl:
66 /// OPT_PROB_INMONEY(), probability of ending up in-the-money.
67 double getOptProbInMoney( [in] double spot, [in] double vol,
68 [in] double mu, [in] double maturity,
69 [in] double barrierLow, [in] double barrierUp,
70 [in] any strike, [in] any putCall )
71 raises( com::sun::star::lang::IllegalArgumentException );
So "putCall" should be at the end.
It's been like this since initial commit:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=e9f31eaa49f9494113e72deaf0fe079701844ea4
Change-Id: I186348fe7470633abd32598954b7032102770a8a
Reviewed-on: https://gerrit.libreoffice.org/84078
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'scaddins')
-rw-r--r-- | scaddins/inc/pricing.hrc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scaddins/inc/pricing.hrc b/scaddins/inc/pricing.hrc index 0a13edb59a4e..c4c9a27913bc 100644 --- a/scaddins/inc/pricing.hrc +++ b/scaddins/inc/pricing.hrc @@ -113,10 +113,10 @@ const char* PRICING_FUNCDESC_OptProbInMoney[] = NC_("PRICING_FUNCDESC_OptProbInMoney", "Lower barrier (set to 0 for no lower barrier)"), NC_("PRICING_FUNCDESC_OptProbInMoney", "barrier_up"), NC_("PRICING_FUNCDESC_OptProbInMoney", "Upper barrier (set to 0 for no upper barrier)"), - NC_("PRICING_FUNCDESC_OptProbInMoney", "put/call"), - NC_("PRICING_FUNCDESC_OptProbInMoney", "Optional (p)ut/(c)all indicator"), NC_("PRICING_FUNCDESC_OptProbInMoney", "strike"), - NC_("PRICING_FUNCDESC_OptProbInMoney", "Optional strike level") + NC_("PRICING_FUNCDESC_OptProbInMoney", "Optional strike level"), + NC_("PRICING_FUNCDESC_OptProbInMoney", "put/call"), + NC_("PRICING_FUNCDESC_OptProbInMoney", "Optional (p)ut/(c)all indicator") }; #endif |