Initial import from Docker volume

This commit is contained in:
root
2025-12-26 13:11:43 +00:00
commit 4998dc066a
13336 changed files with 1767801 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<graph type="line">
<x>
<field name="date"/>
</x>
<y>
<field name="d_perf" fill="1" empty="0"/>
<field name="d_up" fill="1" empty="0"/>
<field name="d_down" fill="1" empty="0"/>
<field name="d_es" fill="1" empty="0"/>
<field name="d_drop" fill="1" empty="0"/>
</y>
</graph>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<graph type="line">
<x>
<field name="date"/>
</x>
<y>
<field name="d_perf" fill="1" empty="0"/>
<field name="d_mean" fill="1" empty="0"/>
<field name="d_std" fill="1" empty="0"/>
</y>
</graph>

View File

@@ -0,0 +1,4 @@
<tree editable="0">
<field name="date"/>
<field name="d_perf"/>
</tree>

View File

@@ -0,0 +1,6 @@
<form>
<label name="commodity"/>
<field name="commodity"/>
<label name="type"/>
<field name="type"/>
</form>

View File

@@ -0,0 +1,21 @@
<form>
<label name="asof"/>
<field name="asof"/>
<label name="todate"/>
<field name="todate"/>
<newline/>
<label name="trader"/>
<field name="trader"/>
<label name="product"/>
<field name="product"/>
<newline/>
<label name="month"/>
<field name="month"/>
<label name="market"/>
<field name="market"/>
<newline/>
<label name="var"/>
<field name="var"/>
<label name="groupby"/>
<field name="groupby"/>
</form>

View File

@@ -0,0 +1,22 @@
<tree>
<field name="commodity"/>
<field name="type" optional="1"/>
<field name="trader"/>
<field name="reference" optional="1"/>
<field name="product"/>
<field name="origin" optional="1"/>
<field name="future_market"/>
<field name="currency" optional="1"/>
<field name="month"/>
<field name="ct_type" optional="1"/>
<field name="quantity" sum="1"/>
<field name="basis" optional="1"/>
<field name="price"/>
<field name="pricing_type" optional="1"/>
<field name="var"/>
<field name="var_amount" sum="1"/>
<field name="cvar"/>
<field name="cvar_amount" sum="1"/>
<field name="cdar"/>
<field name="cdar_amount" sum="1"/>
</tree>

View File

@@ -0,0 +1,19 @@
<tree>
<field name="commodity"/>
<field name="type"/>
<field name="trader"/>
<field name="reference"/>
<field name="product"/>
<field name="origin"/>
<field name="future_market"/>
<field name="currency"/>
<field name="month"/>
<field name="ct_type"/>
<field name="quantity"/>
<field name="basis"/>
<field name="price"/>
<field name="pricing_type"/>
<field name="var" sum="1"/>
<field name="cvar" sum="1"/>
<field name="cdar" sum="1"/>
</tree>

43
modules/risk/view/var_form.xml Executable file
View File

@@ -0,0 +1,43 @@
<form col="4">
<label name="name"/>
<field name="name"/>
<label name="type"/>
<field name="type"/>
<label name="confidence"/>
<field name="confidence"/>
<label name="execute"/>
<field name="execute"/>
<label name="market"/>
<field name="market"/>
<label name="model"/>
<field name="model"/>
<notebook colspan="4">
<page string="Distributions" id="distribution">
<field name="lines" mode="tree,form" colspan="4"
view_ids="risk.var_line_view_tree,risk.var_line_view_form"/>
</page>
</notebook>
<notebook colspan="4">
<page string="Results for:                              Var                                                                                         Cvar                                                                                          CDar" id="results">
<label name="var_his"/>
<field name="var_his"/>
<field name="cvar_his"/>
<field name="cdar_his"/>
<newline/>
<label name="var_par"/>
<field name="var_par"/>
<field name="cvar_par"/>
<field name="cdar_par"/>
<newline/>
<label name="var_mc"/>
<field name="var_mc"/>
<field name="cvar_mc"/>
<field name="cdar_mc"/>
<newline/>
<label name="var_gar"/>
<field name="var_gar"/>
<field name="cvar_gar"/>
<field name="cdar_gar"/>
</page>
</notebook>
</form>

View File

@@ -0,0 +1,46 @@
<form>
<label name="curve"/>
<field name="curve"/>
<label name="model"/>
<field name="model"/>
<newline/>
<label name="weight"/>
<field name="weight"/>
<label name="simul_date"/>
<field name="simul_date"/>
<newline/>
<label name="fit"/>
<field name="fit"/>
<label name="link"/>
<field name="link"/>
<notebook colspan="4">
<page string="Graphs" id="graphs">
<field name="perf_comput" mode="graph" colspan="4"
view_ids="risk.perf_view_graph"/>
<field name="perf_past" mode="graph" colspan="4"
view_ids="risk.perf_view_graph2"/>
</page>
<page string="Simulation parameters" id="params">
<label name="nb_days"/>
<field name="nb_days"/>
<label name="simul_comput"/>
<field name="simul_comput"/>
<label name="gen_simul_comput"/>
<field name="gen_simul_comput"/>
<label name="simul_return"/>
<field name="simul_return"/>
<newline/>
<label name="nb_days_past"/>
<field name="nb_days_past"/>
<label name="simul_past"/>
<field name="simul_past"/>
<label name="gen_simul_past"/>
<field name="gen_simul_past"/>
<label name="simul_return_past"/>
<field name="simul_return_past"/>
</page>
<page string="Fit results" id="results">
<field name="fit_text_dyn" height="400"/>
</page>
</notebook>
</form>

View File

@@ -0,0 +1,8 @@
<tree editable="1">
<field name="future_market"/>
<field name="month"/>
<field name="curve"/>
<field name="model"/>
<field name="whatif"/>
<field name="weight"/>
</tree>

7
modules/risk/view/var_tree.xml Executable file
View File

@@ -0,0 +1,7 @@
<tree>
<field name="name"/>
<field name="type"/>
<field name="confidence"/>
<field name="horizon"/>
<field name="nb_days"/>
</tree>

View File

@@ -0,0 +1,6 @@
<form>
<label name="product"/>
<field name="product"/>
<label name="party"/>
<field name="party"/>
</form>

View File

@@ -0,0 +1,7 @@
<tree editable="1">
<field name="product"/>
<field name="party"/>
<field name="r_var"/>
<field name="r_es"/>
<field name="r_cdar"/>
</tree>