Skip to content

Commit ea6c6df

Browse files
authored
Develop to main (#115)
2 parents 87d05ab + 3b8acd0 commit ea6c6df

154 files changed

Lines changed: 12170 additions & 5050 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
22.4 KB
Binary file not shown.
22.3 KB
Binary file not shown.
27.7 KB
Binary file not shown.

PresentValueSeries/Cashflows.xlsx

22.3 KB
Binary file not shown.

PresentValueSeries/DataNodes.xlsx

17.2 KB
Binary file not shown.
17.1 KB
Binary file not shown.
17.2 KB
Binary file not shown.

PresentValueSeries/Dimensions.xlsx

54.7 KB
Binary file not shown.
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
{
2+
"metadata": {
3+
"authors": [],
4+
"kernelspec": {
5+
"display_name": "Formula Framework",
6+
"language": "C#",
7+
"name": "C#"
8+
},
9+
"language_info": {
10+
"file_extension": ".cs",
11+
"mimetype": "text/plain",
12+
"name": "C#"
13+
},
14+
"toc-autonumbering": "True",
15+
"toc-showcode": "False",
16+
"toc-showmarkdowntxt": "False",
17+
"toc-showtags": "False"
18+
},
19+
"nbformat": 4,
20+
"nbformat_minor": 5,
21+
"cells": [
22+
{
23+
"cell_type": "markdown",
24+
"source": [
25+
"<p style=\"font-weight:bold;\"> <span style=\"font-size: 36px\"> Initialize Dimensions </span> </p>"
26+
],
27+
"metadata": {},
28+
"execution_count": 0,
29+
"outputs": []
30+
},
31+
{
32+
"cell_type": "markdown",
33+
"source": [
34+
"---"
35+
],
36+
"metadata": {},
37+
"execution_count": 0,
38+
"outputs": []
39+
},
40+
{
41+
"cell_type": "code",
42+
"source": [
43+
"#!import \"//ifrs17/v1.0.0/CalculationEngine\""
44+
],
45+
"metadata": {},
46+
"execution_count": 0,
47+
"outputs": []
48+
},
49+
{
50+
"cell_type": "code",
51+
"source": [
52+
"await Import.FromFile(\"Dimensions.xlsx\")",
53+
"\n .WithType<ReportingNode>() .WithType<AocType>() .WithType<DeferrableAmountType>()",
54+
"\n .WithType<AmountType>() .WithType<Scenario>() .WithType<LiabilityType>()",
55+
"\n .WithType<LineOfBusiness>() .WithType<EstimateType>() .WithType<EconomicBasis>()",
56+
"\n .WithType<Currency>() .WithType<PnlVariableType>() .WithType<BsVariableType>()",
57+
"\n .WithType<Novelty>() .WithType<Profitability>() .WithType<OciType>()",
58+
"\n .WithType<ValuationApproach>() .WithType<RiskDriver>() .WithType<ProjectionConfiguration>() ",
59+
"\n .WithType<ExchangeRate>()",
60+
"\n .WithTarget(DataSource)",
61+
"\n .ExecuteAsync()"
62+
],
63+
"metadata": {},
64+
"execution_count": 0,
65+
"outputs": []
66+
},
67+
{
68+
"cell_type": "code",
69+
"source": [
70+
"await Import.FromFile(\"Dimensions.xlsx\").WithFormat(ImportFormats.AocConfiguration).WithTarget(DataSource).ExecuteAsync()"
71+
],
72+
"metadata": {},
73+
"execution_count": 0,
74+
"outputs": []
75+
},
76+
{
77+
"cell_type": "code",
78+
"source": [
79+
"await Import.FromFile(\"DataNodes.xlsx\").WithFormat(\"DataNode\").WithTarget(DataSource).ExecuteAsync()"
80+
],
81+
"metadata": {},
82+
"execution_count": 0,
83+
"outputs": []
84+
},
85+
{
86+
"cell_type": "code",
87+
"source": [
88+
"Workspace.Reset(x => x.ResetInitializationRules());",
89+
"\nWorkspace.InitializeFrom(DataSource);"
90+
],
91+
"metadata": {},
92+
"execution_count": 0,
93+
"outputs": []
94+
},
95+
{
96+
"cell_type": "code",
97+
"source": [
98+
""
99+
],
100+
"metadata": {},
101+
"execution_count": 0,
102+
"outputs": []
103+
}
104+
]
105+
}

0 commit comments

Comments
 (0)