bump product version to 6.3.0.0.beta1
[LibreOffice.git] / scaddins / idl / com / sun / star / sheet / addin / XPricingFunctions.idl
blob1b0dab5a3a76fe93ee57b279a6605f07f25b614a
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef com_sun_star_sheet_addin_XPricingFunctions_idl
21 #define com_sun_star_sheet_addin_XPricingFunctions_idl
23 #include <com/sun/star/uno/XInterface.idl>
24 #include <com/sun/star/beans/XPropertySet.idl>
26 module com
28 module sun
30 module star
32 module sheet
34 module addin
36 /**
37 * Interface with pricing functions.
39 interface XPricingFunctions : com::sun::star::uno::XInterface
41 /// OPT_BARRIER(), pricing of a barrier option.
42 double getOptBarrier( [in] double spot, [in] double vol,
43 [in] double rate, [in] double rateForeign,
44 [in] double maturity, [in] double strike,
45 [in] double barrierLow, [in] double barrierUp,
46 [in] double rebate,
47 [in] string putCall, [in] string inOut,
48 [in] string continuous, [in] any greek )
49 raises( com::sun::star::lang::IllegalArgumentException );
51 /// OPT_TOUCH(), pricing of a touch/no-touch option.
52 double getOptTouch( [in] double spot, [in] double vol,
53 [in] double rate, [in] double rateForeign,
54 [in] double maturity,
55 [in] double barrierLow, [in] double barrierUp,
56 [in] string foreignDomestic, [in] string inOut,
57 [in] string continuous, [in] any greek )
58 raises( com::sun::star::lang::IllegalArgumentException );
60 /// OPT_PROB_HIT(), probability of hitting a barrier.
61 double getOptProbHit( [in] double spot, [in] double vol,
62 [in] double mu, [in] double maturity,
63 [in] double barrierLow, [in] double barrierUp )
64 raises( com::sun::star::lang::IllegalArgumentException );
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 );
80 #endif
82 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */