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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user