Skip to content

Commit 5887992

Browse files
author
jenkins
committed
git subrepo pull (merge) ore
subrepo: subdir: "ore" merged: "90223a1eda" upstream: origin: "git@gitlab.acadiasoft.net:qs/ore.git" branch: "master" commit: "470fa37158" git-subrepo: version: "0.4.6" origin: "https://github.com/ingydotnet/git-subrepo" commit: "73a0129"
2 parents 0f319b0 + 470fa37 commit 5887992

55 files changed

Lines changed: 7854 additions & 4247 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

App/ore.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
#include <orea/app/oreapp.hpp>
2929

30-
#include <ored/utilities/initbuilders.hpp>
30+
#include <orea/app/initbuilders.hpp>
3131

3232
#include <qle/version.hpp>
3333

@@ -71,7 +71,7 @@ int main(int argc, char** argv) {
7171
return -1;
7272
}
7373

74-
ore::data::initBuilders();
74+
ore::analytics::initBuilders();
7575

7676
string inputFile(argv[1]);
7777

Docs/Design/ore_design.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ \subsubsection{Portfolio and CSA Data}
711711

712712
\subsubsection{Pricing Engines, Engine Factory}
713713
Each trade is linked with a pricing engine during the trade's build process. In order to limit the number of engines to be constructed (and to limit memory usage), ORE reuses engines as far as possible. This is achieved by the {\tt EngineBuilder},
714-
{\tt EngineFactory} and {\tt LegBuilder} classes. Currently, ORE provides 36 concrete ``default'' engine and leg builders when the {\tt EngineFactory} is constructed, see ored/utilities/initbuilders.cpp. The design here is extensible so that developers can add their own engine builders to the
714+
{\tt EngineFactory} and {\tt LegBuilder} classes. Currently, ORE provides 36 concrete ``default'' engine and leg builders when the {\tt EngineFactory} is constructed, see orea/app/initbuilders.cpp. The design here is extensible so that developers can add their own engine builders to the
715715
factory when extending ORE. For this purpose the {\tt EngineFactory} class provides the {\tt addExtraBuilders} member function.
716716

717717
Figure \ref{fig_OREDPortfolio} shows the relationships of these classes:

Docs/UserGuide/allowablevalues.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ \subsection{Allowable Values}
7676
TWD,TZS,UAH,UGX,USD,USN,UYI,UYU,UYW,UZS,
7777
VES,VND,VUV,WST,XAF,XAU,XCD,XOF,
7878
XPF,XSU,XUA,YER,ZAR,ZMW,ZWL}
79-
\\ \hline Minor Currencies & \makecell[l]{\emph{GBp, GBX} (for pennies of GBP) \\ \emph{ILa, ILX} (for agorot of ILS) \\ \emph{ZAc, ZAC, ZAX} (for cents of ZAR) \\
79+
\\ \hline Minor Currencies & \makecell[l]{\emph{GBp, GBX} (for pennies of GBP) \\ \emph{ILa, ILX, ILs, ILA} (for agorot of ILS) \\ \emph{ZAc, ZAC, ZAX} (for cents of ZAR) \\
8080
Note: Minor Currency codes are only supported for equity products. } \\ \hline
8181
%Pre-Eurozone Currencies & \emph{ATS, BEF, DEM, ESP, FIM, FRF, GRD, IEP, ITL, LUF, NLG, PTE} \\ \hline
8282
Precious Metals treated as Currencies & \emph{XAG, XAU, XPD, XPT} \\ \hline

Docs/UserGuide/tradecomponents/legdatanotionals.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ \subsubsection{Leg Data and Notionals}
6262

6363
Allowable values: See Table \ref{tab:convention}.
6464

65-
\item PaymentLag [optional]: The payment lag applies to Fixed legs, Equity legs, and Floating legs with Ibor and OIS indices (but not to BMA/SIFMA indices), as well as CPI legs and Zero Coupon Fixed legs. \\
65+
\item PaymentLag [optional]: The payment lag applies to Fixed legs, Equity legs, and Floating legs with Ibor and OIS indices (but not to BMA/SIFMA indices), as well as CMS legs, CMSSpread legs, CPI legs and Zero Coupon Fixed legs. \\
6666
PaymentLag is also not supported for CapFloor Floating legs that have Ibor coupons with sub periods (HasSubPeriods = \emph{true}), nor for CapFloor Floating legs with averaged ON coupons (IsAveraged = \emph{true}).
6767

6868
Allowable values: Any valid period, i.e. a non-negative whole number, optionally followed by \emph{D} (days), \emph{W} (weeks), \emph{M} (months),

Examples/Example_32/Input/market.txt

Lines changed: 480 additions & 480 deletions
Large diffs are not rendered by default.

Examples/Example_54/Input/market_20160205_flat.txt

Lines changed: 276 additions & 276 deletions
Large diffs are not rendered by default.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#TradeId,TradeType,Maturity,MaturityTime,StartDate,EndDate,NPV(t0),NPV(asof=t0;mkt=t1),NPV(asof=t1;mkt=t0),NPV(t1),PeriodCashFlow,Theta,HypotheticalCleanPnL,CleanPnL,DirtyPnL,Currency
2+
SwapLeg,Swap,2024-02-01,1.002508,2023-01-31,2023-02-14,47640.849246,47618.335691,47725.150117,47703.429343,0.000000,84.300871,-22.513555,62.580097,62.580097,USD
3+
SwapLegFlow,Swap,2024-02-05,1.013437,2023-01-31,2023-02-14,97311.809777,97288.780575,47568.552161,47546.661549,49861.111111,117.853495,-23.029202,95.962883,-49765.148228,USD

0 commit comments

Comments
 (0)