tesorotools-python 0.0.7__tar.gz → 0.0.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8}/PKG-INFO +1 -1
- tesorotools_python-0.0.8/README.md +55 -0
- tesorotools_python-0.0.8/examples/README.md +24 -0
- tesorotools_python-0.0.8/examples/barh_plots.yaml +202 -0
- tesorotools_python-0.0.8/examples/data.yaml +4 -0
- tesorotools_python-0.0.8/examples/dependencies.yaml +162 -0
- tesorotools_python-0.0.8/examples/line_plots.yaml +57 -0
- tesorotools_python-0.0.8/examples/offsets.yaml +17 -0
- tesorotools_python-0.0.8/examples/tables.yaml +457 -0
- tesorotools_python-0.0.8/examples/template.yaml +34 -0
- tesorotools_python-0.0.8/examples/type_curves.yaml +88 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8}/pyproject.toml +1 -4
- tesorotools_python-0.0.8/src/tesorotools_python.egg-info/PKG-INFO +9 -0
- tesorotools_python-0.0.8/src/tesorotools_python.egg-info/SOURCES.txt +31 -0
- tesorotools_python-0.0.8/src/tesorotools_python.egg-info/dependency_links.txt +1 -0
- tesorotools_python-0.0.8/src/tesorotools_python.egg-info/requires.txt +6 -0
- tesorotools_python-0.0.8/src/tesorotools_python.egg-info/top_level.txt +1 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8}/.gitignore +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/__init__.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/artists/__init__.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/artists/barh_plot.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/artists/line_plot.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/artists/table.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/artists/type_curve.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/assets/README.md +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/assets/fonts/README.md +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/assets/plots.yaml +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/assets/tesoro.mplstyle +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/convert.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/data_sources/README.md +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/data_sources/__init__.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/data_sources/debug.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/data_sources/lseg.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/database/__init__.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/database/push.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/dependencies/__init__.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/dependencies/functions.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/dependencies/node.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/dependencies/resolution.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/main.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/offsets/__init__.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/offsets/offsets.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/offsets/outliers.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/render/__init__.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/render/content/__init__.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/render/content/content.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/render/content/images.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/render/content/section.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/render/content/table.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/render/headline.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/render/introduction.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/render/report.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/utils/__init__.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/utils/config.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/utils/globals.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/utils/matplotlib.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/utils/series.py +0 -0
- {tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/utils/template.py +0 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Especificación de un documento
|
|
2
|
+
|
|
3
|
+
## Generar los *assets* de un semanal (fase de transición)
|
|
4
|
+
1. Poner en la carpeta [debug](debug) el archivo [flash.feather](debug/flash.feather) generado por el *script* `generar_semanal.py` de `dev2`. Será necesario cambiar a la rama `semanal` con un `git switch semanal`. Recordar revertir este cambio.
|
|
5
|
+
2. `python -m tesorotools.convert`
|
|
6
|
+
3. `python -m tesorotools.main`
|
|
7
|
+
|
|
8
|
+
## Plantilla
|
|
9
|
+
|
|
10
|
+
- Debe ser un archivo `.yaml`
|
|
11
|
+
- Si no se especifica nada, el programa buscará un archivo llamado `template.yaml` en la carpeta desde donde se esté ejecutando. En caso de no encontrarlo, lanzará un error.
|
|
12
|
+
|
|
13
|
+
### Headline
|
|
14
|
+
*Opcional*. Consta de dos entradas, también *opcionales* `title` y `comment`.
|
|
15
|
+
|
|
16
|
+
#### Ejemplo
|
|
17
|
+
```yaml
|
|
18
|
+
headline:
|
|
19
|
+
title: Apertura
|
|
20
|
+
comment: El precio del chocolate con almendras se dispara
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Se renderizará en el estilo `Title` o `Título` del documento base de word proporcionado.
|
|
24
|
+
|
|
25
|
+
### Introduction
|
|
26
|
+
*Opcional*. Consta de dos entradas, también *opcionales* `date` y `hour`.
|
|
27
|
+
|
|
28
|
+
- `date`: Fecha en formato `AAAA-MM-DD`, con o sin comillas.
|
|
29
|
+
- `hour`: Hora en formato `HH:MM`, **siempre** entre comillas.
|
|
30
|
+
|
|
31
|
+
#### Ejemplo
|
|
32
|
+
```yaml
|
|
33
|
+
introduction:
|
|
34
|
+
date: 2025-01-31
|
|
35
|
+
hour: "15:30"
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
La fecha se renderizará en el estilo `Subtitle` o `Subtítulo` del documento base de word proporcionado.
|
|
39
|
+
|
|
40
|
+
# Descripción de la estructura y el funcionamiento
|
|
41
|
+
|
|
42
|
+
## Funcionamiento
|
|
43
|
+
- Se *leen* las plantillas del documento.
|
|
44
|
+
- Una vez leídas sabemos:
|
|
45
|
+
- Qué es lo que hay que descargar, de dónde y con qué fechas.
|
|
46
|
+
- Qué es lo que hay que calcular a partir de lo descargado y cómo.
|
|
47
|
+
- Descarga *missing*
|
|
48
|
+
- Debe haber una opción *debug*, así como opción de no descargar y tomar directamente de nuestra bbdd.
|
|
49
|
+
- Cálculo o *prerrenderizado*: se generan las imágenes de los gráficos así como los archivos necesarios para renderizar las tablas en su formato final.
|
|
50
|
+
- *Renderizado* final.
|
|
51
|
+
|
|
52
|
+
## Informes
|
|
53
|
+
- Un *informe* (*Report*) es una **clase** que contiene un diccionario de *contenidos* (*Content*)
|
|
54
|
+
- Un *cotenido* (*Content*) es un **protocolo** que permite consultar y modificar su *nivel de anidamiento* así como construirse a partir de un archivo `.yaml`.
|
|
55
|
+
- Un informe puede *rederizarse* a un documento word a partir de una **plantilla**. Sencillamente, renderizará todos sus componentes uno por uno.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
## Tablas
|
|
2
|
+
|
|
3
|
+
### Columnas
|
|
4
|
+
|
|
5
|
+
- `name`: Nombre de la columna a mostrar.
|
|
6
|
+
|
|
7
|
+
- `scale`: Número por el que se multiplica el valor original en la base de datos a la hora de ser mostrado.
|
|
8
|
+
- `unit`: Símbolo de la unidad del valor a mostrar.
|
|
9
|
+
- `decimals`: Número de decimales a mostrar.
|
|
10
|
+
|
|
11
|
+
- `show_units_in_title`: Se mostrará el símbolo de las unidades en el título de la columna.
|
|
12
|
+
- `show_units_in_cell`: Se mostrará el símbolo de las unidades al lado del valor de cada celda.
|
|
13
|
+
|
|
14
|
+
Variables de localización de los valores a mostrar en la base de datos.
|
|
15
|
+
|
|
16
|
+
- `offset`:
|
|
17
|
+
- `difference`:
|
|
18
|
+
- `stat`:
|
|
19
|
+
|
|
20
|
+
Variables de coloreado.
|
|
21
|
+
|
|
22
|
+
- `colors`: Indica si el valor debe ir coloreado o no en la tabla.
|
|
23
|
+
- `positive_good`: Si es `True` colorearemos los valores positivos de un color que el lector asocie con "*bueno*".
|
|
24
|
+
- `outliers`: Si es `True` sombrearemos las celdas que tengan un valor por encima de cierto umbral.
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
.alemania_series:
|
|
2
|
+
PT10YT=RR_DIFF: DE10YT=RR
|
|
3
|
+
GR10YT=RR_DIFF: DE10YT=RR
|
|
4
|
+
ES10YT=RR_DIFF: DE10YT=RR
|
|
5
|
+
EUUNIEURAE10Y=_DIFF: DE10YT=RR
|
|
6
|
+
IT10YT=RR_DIFF: DE10YT=RR
|
|
7
|
+
FR10YT=RR_DIFF: DE10YT=RR
|
|
8
|
+
|
|
9
|
+
.flash: &flash
|
|
10
|
+
date:
|
|
11
|
+
|
|
12
|
+
.perc_format: &perc_format
|
|
13
|
+
units: "%"
|
|
14
|
+
decimals: 2
|
|
15
|
+
|
|
16
|
+
.pb_format: &pb_format
|
|
17
|
+
units: "p.b."
|
|
18
|
+
decimals: 0
|
|
19
|
+
|
|
20
|
+
.bancos: &bancos
|
|
21
|
+
sorted: True
|
|
22
|
+
blocks:
|
|
23
|
+
bancos_esp:
|
|
24
|
+
label: Bancos españoles
|
|
25
|
+
series:
|
|
26
|
+
BKT.MC: Bankinter
|
|
27
|
+
SAN.MC: Santander
|
|
28
|
+
CABK.MC: Caixabank
|
|
29
|
+
SABE.MC: Sabadell
|
|
30
|
+
BBVA.MC: BBVA
|
|
31
|
+
UNI.MC: Unicaja
|
|
32
|
+
bandos_idx:
|
|
33
|
+
label: Índices bancarios internacionales
|
|
34
|
+
series:
|
|
35
|
+
.IBCA.MA: Índice bancario español*
|
|
36
|
+
.SX7E: EuroStoxx Banks
|
|
37
|
+
.FTNMX301010: Índice bancario UK
|
|
38
|
+
.SPXBK: S&P 500 Bancos EEUU
|
|
39
|
+
.DJUSBK: DJ US Banks
|
|
40
|
+
.DJSRBKT: DJ US Regional Banks
|
|
41
|
+
format:
|
|
42
|
+
<<: *perc_format
|
|
43
|
+
decimals: 0
|
|
44
|
+
annot_format:
|
|
45
|
+
<<: *perc_format
|
|
46
|
+
|
|
47
|
+
bancos_week:
|
|
48
|
+
flash:
|
|
49
|
+
<<: *flash
|
|
50
|
+
deviations: True
|
|
51
|
+
offset: ftd
|
|
52
|
+
difference: relative
|
|
53
|
+
<<: *bancos
|
|
54
|
+
|
|
55
|
+
bancos_mtd:
|
|
56
|
+
flash:
|
|
57
|
+
<<: *flash
|
|
58
|
+
deviations: False
|
|
59
|
+
offset: mtd
|
|
60
|
+
difference: relative
|
|
61
|
+
<<: *bancos
|
|
62
|
+
|
|
63
|
+
.deuda_general: &deuda_general
|
|
64
|
+
sorted: True
|
|
65
|
+
series:
|
|
66
|
+
EUUNIEURAE10Y=: UE
|
|
67
|
+
ES10YT=RR: España*
|
|
68
|
+
DE10YT=RR: Alemania
|
|
69
|
+
FR10YT=RR: Francia
|
|
70
|
+
IT10YT=RR: Italia
|
|
71
|
+
PT10YT=RR: Portugal
|
|
72
|
+
GR10YT=RR: Grecia
|
|
73
|
+
GB10YT=RR: Reino Unido
|
|
74
|
+
US10YT=RR: EEUU
|
|
75
|
+
format:
|
|
76
|
+
<<: *pb_format
|
|
77
|
+
annot_format:
|
|
78
|
+
<<: *pb_format
|
|
79
|
+
axis_format:
|
|
80
|
+
<<: *perc_format
|
|
81
|
+
|
|
82
|
+
deuda_general_week:
|
|
83
|
+
flash:
|
|
84
|
+
<<: *flash
|
|
85
|
+
offset: ftd
|
|
86
|
+
difference: absolute
|
|
87
|
+
deviations: True
|
|
88
|
+
<<: *deuda_general
|
|
89
|
+
|
|
90
|
+
deuda_general_ytd:
|
|
91
|
+
flash:
|
|
92
|
+
<<: *flash
|
|
93
|
+
offset: ytd
|
|
94
|
+
difference: absolute
|
|
95
|
+
deviations: False
|
|
96
|
+
<<: *deuda_general
|
|
97
|
+
|
|
98
|
+
.deuda_diferenciales: &deuda_diferenciales
|
|
99
|
+
sorted: True
|
|
100
|
+
series:
|
|
101
|
+
PT10YT=RR_DIFF: Portugal
|
|
102
|
+
GR10YT=RR_DIFF: Grecia
|
|
103
|
+
ES10YT=RR_DIFF: España*
|
|
104
|
+
EUUNIEURAE10Y=_DIFF: UE
|
|
105
|
+
IT10YT=RR_DIFF: Italia
|
|
106
|
+
FR10YT=RR_DIFF: Francia
|
|
107
|
+
format:
|
|
108
|
+
<<: *pb_format
|
|
109
|
+
annot_format:
|
|
110
|
+
<<: *pb_format
|
|
111
|
+
axis_format:
|
|
112
|
+
<<: *pb_format
|
|
113
|
+
|
|
114
|
+
deuda_diferenciales_week:
|
|
115
|
+
flash:
|
|
116
|
+
<<: *flash
|
|
117
|
+
offset: ftd
|
|
118
|
+
difference: absolute
|
|
119
|
+
deviations: True
|
|
120
|
+
<<: *deuda_diferenciales
|
|
121
|
+
|
|
122
|
+
deuda_diferenciales_ytd:
|
|
123
|
+
flash:
|
|
124
|
+
<<: *flash
|
|
125
|
+
offset: ytd
|
|
126
|
+
difference: absolute
|
|
127
|
+
deviations: False
|
|
128
|
+
<<: *deuda_diferenciales
|
|
129
|
+
|
|
130
|
+
.deuda_esp: &deuda_esp
|
|
131
|
+
sorted: False
|
|
132
|
+
series:
|
|
133
|
+
ES1YT=RR: 1 años
|
|
134
|
+
ES2YT=RR: 2 años
|
|
135
|
+
ES3YT=RR: 3 años
|
|
136
|
+
ES5YT=RR: 5 años
|
|
137
|
+
ES10YT=RR: 10 años*
|
|
138
|
+
ES30YT=RR: 30 años
|
|
139
|
+
format:
|
|
140
|
+
<<: *pb_format
|
|
141
|
+
annot_format:
|
|
142
|
+
<<: *pb_format
|
|
143
|
+
axis_format:
|
|
144
|
+
<<: *perc_format
|
|
145
|
+
|
|
146
|
+
deuda_esp_week:
|
|
147
|
+
flash:
|
|
148
|
+
<<: *flash
|
|
149
|
+
offset: ftd
|
|
150
|
+
difference: absolute
|
|
151
|
+
deviations: True
|
|
152
|
+
<<: *deuda_esp
|
|
153
|
+
|
|
154
|
+
deuda_esp_ytd:
|
|
155
|
+
flash:
|
|
156
|
+
<<: *flash
|
|
157
|
+
offset: ytd
|
|
158
|
+
difference: absolute
|
|
159
|
+
deviations: False
|
|
160
|
+
<<: *deuda_esp
|
|
161
|
+
|
|
162
|
+
.divisas: &divisas
|
|
163
|
+
sorted: True
|
|
164
|
+
series:
|
|
165
|
+
USD_OVER_RUB: Rublo
|
|
166
|
+
GBP=: Libra
|
|
167
|
+
EUR=: Euro*
|
|
168
|
+
USD_OVER_BRL: Real Brasileño
|
|
169
|
+
USD_OVER_CNY: Yuan
|
|
170
|
+
USD_OVER_TRY: Lira Turca
|
|
171
|
+
USD_OVER_JPY: Yen
|
|
172
|
+
USD_OVER_CHF: Franco Suizo
|
|
173
|
+
format:
|
|
174
|
+
<<: *perc_format
|
|
175
|
+
decimals: 0
|
|
176
|
+
annot_format:
|
|
177
|
+
<<: *perc_format
|
|
178
|
+
decimals: 1
|
|
179
|
+
|
|
180
|
+
divisas_week:
|
|
181
|
+
flash:
|
|
182
|
+
<<: *flash
|
|
183
|
+
offset: ftd
|
|
184
|
+
difference: relative
|
|
185
|
+
deviations: True
|
|
186
|
+
<<: *divisas
|
|
187
|
+
format:
|
|
188
|
+
<<: *perc_format
|
|
189
|
+
decimals: 1
|
|
190
|
+
annot_format:
|
|
191
|
+
<<: *perc_format
|
|
192
|
+
decimals: 2
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
divisas_ytd:
|
|
197
|
+
flash:
|
|
198
|
+
<<: *flash
|
|
199
|
+
offset: ytd
|
|
200
|
+
difference: relative
|
|
201
|
+
deviations: False
|
|
202
|
+
<<: *divisas
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
# keep dependent series in a separate file to avoid cluttering
|
|
2
|
+
# a series at time t can only depend on other series on time t
|
|
3
|
+
|
|
4
|
+
# diferenciales
|
|
5
|
+
|
|
6
|
+
PT10YT=RR_DIFF:
|
|
7
|
+
dependencies:
|
|
8
|
+
- PT10YT=RR
|
|
9
|
+
- DE10YT=RR
|
|
10
|
+
function: difference
|
|
11
|
+
|
|
12
|
+
GR10YT=RR_DIFF:
|
|
13
|
+
dependencies:
|
|
14
|
+
- GR10YT=RR
|
|
15
|
+
- DE10YT=RR
|
|
16
|
+
function: difference
|
|
17
|
+
|
|
18
|
+
EUUNIEURAE10Y=_DIFF:
|
|
19
|
+
dependencies:
|
|
20
|
+
- EUUNIEURAE10Y=
|
|
21
|
+
- DE10YT=RR
|
|
22
|
+
function: difference
|
|
23
|
+
|
|
24
|
+
IT10YT=RR_DIFF:
|
|
25
|
+
dependencies:
|
|
26
|
+
- IT10YT=RR
|
|
27
|
+
- DE10YT=RR
|
|
28
|
+
function: difference
|
|
29
|
+
|
|
30
|
+
FR10YT=RR_DIFF:
|
|
31
|
+
dependencies:
|
|
32
|
+
- FR10YT=RR
|
|
33
|
+
- DE10YT=RR
|
|
34
|
+
function: difference
|
|
35
|
+
|
|
36
|
+
ES3MT=RR_DIFF:
|
|
37
|
+
dependencies:
|
|
38
|
+
- ES3MT=RR
|
|
39
|
+
- DE3MT=RR
|
|
40
|
+
function: difference
|
|
41
|
+
|
|
42
|
+
ES6MT=RR_DIFF:
|
|
43
|
+
dependencies:
|
|
44
|
+
- ES6MT=RR
|
|
45
|
+
- DE6MT=RR
|
|
46
|
+
function: difference
|
|
47
|
+
|
|
48
|
+
ES1YT=RR_DIFF:
|
|
49
|
+
dependencies:
|
|
50
|
+
- ES1YT=RR
|
|
51
|
+
- DE1YT=RR
|
|
52
|
+
function: difference
|
|
53
|
+
|
|
54
|
+
ES2YT=RR_DIFF:
|
|
55
|
+
dependencies:
|
|
56
|
+
- ES2YT=RR
|
|
57
|
+
- DE2YT=RR
|
|
58
|
+
function: difference
|
|
59
|
+
|
|
60
|
+
ES3YT=RR_DIFF:
|
|
61
|
+
dependencies:
|
|
62
|
+
- ES3YT=RR
|
|
63
|
+
- DE3YT=RR
|
|
64
|
+
function: difference
|
|
65
|
+
|
|
66
|
+
ES4YT=RR_DIFF:
|
|
67
|
+
dependencies:
|
|
68
|
+
- ES4YT=RR
|
|
69
|
+
- DE4YT=RR
|
|
70
|
+
function: difference
|
|
71
|
+
|
|
72
|
+
ES5YT=RR_DIFF:
|
|
73
|
+
dependencies:
|
|
74
|
+
- ES5YT=RR
|
|
75
|
+
- DE5YT=RR
|
|
76
|
+
function: difference
|
|
77
|
+
|
|
78
|
+
ES6YT=RR_DIFF:
|
|
79
|
+
dependencies:
|
|
80
|
+
- ES6YT=RR
|
|
81
|
+
- DE6YT=RR
|
|
82
|
+
function: difference
|
|
83
|
+
|
|
84
|
+
ES7YT=RR_DIFF:
|
|
85
|
+
dependencies:
|
|
86
|
+
- ES7YT=RR
|
|
87
|
+
- DE7YT=RR
|
|
88
|
+
function: difference
|
|
89
|
+
|
|
90
|
+
ES8YT=RR_DIFF:
|
|
91
|
+
dependencies:
|
|
92
|
+
- ES8YT=RR
|
|
93
|
+
- DE8YT=RR
|
|
94
|
+
function: difference
|
|
95
|
+
|
|
96
|
+
ES9YT=RR_DIFF:
|
|
97
|
+
dependencies:
|
|
98
|
+
- ES9YT=RR
|
|
99
|
+
- DE9YT=RR
|
|
100
|
+
function: difference
|
|
101
|
+
|
|
102
|
+
ES10YT=RR_DIFF:
|
|
103
|
+
dependencies:
|
|
104
|
+
- ES10YT=RR
|
|
105
|
+
- DE10YT=RR
|
|
106
|
+
function: difference
|
|
107
|
+
|
|
108
|
+
ES15YT=RR_DIFF:
|
|
109
|
+
dependencies:
|
|
110
|
+
- ES15YT=RR
|
|
111
|
+
- DE15YT=RR
|
|
112
|
+
function: difference
|
|
113
|
+
|
|
114
|
+
ES20YT=RR_DIFF:
|
|
115
|
+
dependencies:
|
|
116
|
+
- ES20YT=RR
|
|
117
|
+
- DE20YT=RR
|
|
118
|
+
function: difference
|
|
119
|
+
|
|
120
|
+
ES25YT=RR_DIFF:
|
|
121
|
+
dependencies:
|
|
122
|
+
- ES25YT=RR
|
|
123
|
+
- DE25YT=RR
|
|
124
|
+
function: difference
|
|
125
|
+
|
|
126
|
+
ES30YT=RR_DIFF:
|
|
127
|
+
dependencies:
|
|
128
|
+
- ES30YT=RR
|
|
129
|
+
- DE30YT=RR
|
|
130
|
+
function: difference
|
|
131
|
+
|
|
132
|
+
# divisas
|
|
133
|
+
|
|
134
|
+
USD_OVER_JPY:
|
|
135
|
+
dependencies:
|
|
136
|
+
- JPY=
|
|
137
|
+
function: inverse
|
|
138
|
+
|
|
139
|
+
USD_OVER_CNY:
|
|
140
|
+
dependencies:
|
|
141
|
+
- CNY=
|
|
142
|
+
function: inverse
|
|
143
|
+
|
|
144
|
+
USD_OVER_CHF:
|
|
145
|
+
dependencies:
|
|
146
|
+
- CHF=
|
|
147
|
+
function: inverse
|
|
148
|
+
|
|
149
|
+
USD_OVER_RUB:
|
|
150
|
+
dependencies:
|
|
151
|
+
- RUB=
|
|
152
|
+
function: inverse
|
|
153
|
+
|
|
154
|
+
USD_OVER_BRL:
|
|
155
|
+
dependencies:
|
|
156
|
+
- BRL=
|
|
157
|
+
function: inverse
|
|
158
|
+
|
|
159
|
+
USD_OVER_TRY:
|
|
160
|
+
dependencies:
|
|
161
|
+
- TRY=
|
|
162
|
+
function: inverse
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
.b100_format: &b100_format
|
|
2
|
+
units: ""
|
|
3
|
+
decimals: 0
|
|
4
|
+
|
|
5
|
+
.perc_format: &perc_format
|
|
6
|
+
units: "%"
|
|
7
|
+
decimals: 2
|
|
8
|
+
|
|
9
|
+
.pb_format: &pb_format
|
|
10
|
+
units: "p.b."
|
|
11
|
+
decimals: 0
|
|
12
|
+
|
|
13
|
+
# for the moment only support for fixed dates
|
|
14
|
+
diferenciales:
|
|
15
|
+
base_100: False
|
|
16
|
+
start_date: 2024-01-01
|
|
17
|
+
end_date:
|
|
18
|
+
annotate: True
|
|
19
|
+
format:
|
|
20
|
+
<<: *pb_format
|
|
21
|
+
series:
|
|
22
|
+
ES10YT=RR_DIFF: España
|
|
23
|
+
GR10YT=RR_DIFF: Grecia
|
|
24
|
+
PT10YT=RR_DIFF: Portugal
|
|
25
|
+
FR10YT=RR_DIFF: Francia
|
|
26
|
+
IT10YT=RR_DIFF: Italia
|
|
27
|
+
|
|
28
|
+
divisas:
|
|
29
|
+
base_100: True
|
|
30
|
+
start_date: 2024-11-01
|
|
31
|
+
end_date:
|
|
32
|
+
annotate: False
|
|
33
|
+
format:
|
|
34
|
+
<<: *b100_format
|
|
35
|
+
series:
|
|
36
|
+
EUR=: Euro
|
|
37
|
+
GBP=: Libra
|
|
38
|
+
USD_OVER_JPY: Yen
|
|
39
|
+
USD_OVER_CNY: Yuan
|
|
40
|
+
USD_OVER_CHF: Franco Suizo
|
|
41
|
+
|
|
42
|
+
tipos:
|
|
43
|
+
base_100: True
|
|
44
|
+
start_date: 2024-11-01
|
|
45
|
+
end_date:
|
|
46
|
+
annotate: False
|
|
47
|
+
format:
|
|
48
|
+
<<: *b100_format
|
|
49
|
+
series:
|
|
50
|
+
ES10YT=RR: España
|
|
51
|
+
GR10YT=RR: Grecia
|
|
52
|
+
PT10YT=RR: Portugal
|
|
53
|
+
FR10YT=RR: Francia
|
|
54
|
+
IT10YT=RR: Italia
|
|
55
|
+
DE10YT=RR: Alemania
|
|
56
|
+
legend:
|
|
57
|
+
ncol: 3
|
|
@@ -0,0 +1,457 @@
|
|
|
1
|
+
# TODO: rethink this, it's kind of messy
|
|
2
|
+
# TODO: add sorting capabilities
|
|
3
|
+
|
|
4
|
+
# common series
|
|
5
|
+
.deuda: &deuda
|
|
6
|
+
DE10YT=RR: Alemania
|
|
7
|
+
ES10YT=RR: España
|
|
8
|
+
FR10YT=RR: Francia
|
|
9
|
+
IT10YT=RR: Italia
|
|
10
|
+
PT10YT=RR: Portugal
|
|
11
|
+
GR10YT=RR: Grecia
|
|
12
|
+
EUUNIEURAE10Y=: UE
|
|
13
|
+
|
|
14
|
+
.deuda_diff: &deuda_diff
|
|
15
|
+
ES10YT=RR_DIFF: España
|
|
16
|
+
FR10YT=RR_DIFF: Francia
|
|
17
|
+
IT10YT=RR_DIFF: Italia
|
|
18
|
+
PT10YT=RR_DIFF: Portugal
|
|
19
|
+
GR10YT=RR_DIFF: Grecia
|
|
20
|
+
EUUNIEURAE10Y=_DIFF: UE
|
|
21
|
+
|
|
22
|
+
.deuda_extra: &deuda_extra
|
|
23
|
+
GB10YT=RR: Reino Unido
|
|
24
|
+
US10YT=RR: EEUU
|
|
25
|
+
JP10YT=RR: Japón
|
|
26
|
+
|
|
27
|
+
.bancos_esp: &bancos_esp
|
|
28
|
+
SAN.MC: Santander
|
|
29
|
+
BBVA.MC: BBVA
|
|
30
|
+
CABK.MC: CaixaBank
|
|
31
|
+
SABE.MC: Sabadell
|
|
32
|
+
BKT.MC: Bankinter
|
|
33
|
+
UNI.MC: Unicaja
|
|
34
|
+
|
|
35
|
+
.bancos_eur: &bancos_eur
|
|
36
|
+
SOGN.PA: Société Générale
|
|
37
|
+
DBKGn.DE: Deutsche Bank
|
|
38
|
+
HSBA.L: HSBC
|
|
39
|
+
BNPP.PA: BNP Paribas
|
|
40
|
+
STAN.L: Standard Chartered
|
|
41
|
+
CAGR.PA: Credit Agricole
|
|
42
|
+
INGA.AS: ING
|
|
43
|
+
BARC.L: Barclays
|
|
44
|
+
CRDI.MI: Unicredit
|
|
45
|
+
UBSG.S: UBS
|
|
46
|
+
|
|
47
|
+
.bancos_idx_usa: &bancos_idx_usa
|
|
48
|
+
.SPXBK: S&P 500 Bancos EEUU
|
|
49
|
+
.DJUSBK: DJ US Banks
|
|
50
|
+
.DJSRBKT: DJ US Regional Banks
|
|
51
|
+
|
|
52
|
+
.bancos_idx_eur: &bancos_idx_eur
|
|
53
|
+
.FTNMX301010: Índice bancario UK
|
|
54
|
+
.SX7E: Eurostoxx 50 Bancos
|
|
55
|
+
.IBCA.MA: Índice bancario español
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
.bolsa_eur: &bolsa_eur
|
|
59
|
+
.IBEX: Ibex-35
|
|
60
|
+
.STOXX50E: Eurostoxx50
|
|
61
|
+
.GDAXI: DAX30
|
|
62
|
+
.FCHI: CAC40
|
|
63
|
+
.FTSE: FTSE-100
|
|
64
|
+
.FTMIB: FTSE MIB
|
|
65
|
+
.STOXX: STOXX-600
|
|
66
|
+
|
|
67
|
+
.volatilidad_eur: &volatilidad_eur
|
|
68
|
+
.V2TX: VSTOXX
|
|
69
|
+
|
|
70
|
+
.bolsa_usa: &bolsa_usa
|
|
71
|
+
.INX: S&P-500
|
|
72
|
+
.DJI: Dow Jones
|
|
73
|
+
.NDX: Nasdaq-100
|
|
74
|
+
.RUT: Russell-2000
|
|
75
|
+
|
|
76
|
+
.volatilidad_usa: &volatilidad_usa
|
|
77
|
+
.VIX: VIX
|
|
78
|
+
|
|
79
|
+
.bolsa_asia: &bolsa_asia
|
|
80
|
+
.N225: Nikkei-225
|
|
81
|
+
.HSI: Hong Kong
|
|
82
|
+
.SSEC: Shanghai
|
|
83
|
+
|
|
84
|
+
.bolsa_otra: &bolsa_otra
|
|
85
|
+
.MIWO00000PUS: MSCI World Index
|
|
86
|
+
.MILA00000PUS: MSCI Latam
|
|
87
|
+
|
|
88
|
+
# unit templates
|
|
89
|
+
.perc_format: &perc_format
|
|
90
|
+
scale: 1
|
|
91
|
+
decimals: 2
|
|
92
|
+
unit: "%"
|
|
93
|
+
|
|
94
|
+
.pb_format: &pb_format
|
|
95
|
+
scale: 100
|
|
96
|
+
decimals: 0
|
|
97
|
+
unit: " p.b."
|
|
98
|
+
show_units_in_title: True
|
|
99
|
+
show_units_in_cell: False
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
# general column templates
|
|
103
|
+
.column: &column
|
|
104
|
+
show_units_in_title: True
|
|
105
|
+
show_units_in_cell: True
|
|
106
|
+
|
|
107
|
+
.last_column: &last_column
|
|
108
|
+
<<: *column
|
|
109
|
+
name: Último dato
|
|
110
|
+
scale: 1
|
|
111
|
+
decimals: 2
|
|
112
|
+
unit:
|
|
113
|
+
colors: False
|
|
114
|
+
outliers: False
|
|
115
|
+
positive_good:
|
|
116
|
+
offset: "no"
|
|
117
|
+
difference: "no"
|
|
118
|
+
stat: value
|
|
119
|
+
|
|
120
|
+
.offset_column: &offset_column
|
|
121
|
+
<<: *column
|
|
122
|
+
name: Variación
|
|
123
|
+
scale: 1
|
|
124
|
+
decimals: 2
|
|
125
|
+
unit:
|
|
126
|
+
colors: True
|
|
127
|
+
outliers: False
|
|
128
|
+
positive_good: True
|
|
129
|
+
stat: value
|
|
130
|
+
|
|
131
|
+
# concrete column templates
|
|
132
|
+
.day_column: &bday_column
|
|
133
|
+
<<: *offset_column
|
|
134
|
+
offset: bday
|
|
135
|
+
name: Variación diaria
|
|
136
|
+
outliers: True
|
|
137
|
+
|
|
138
|
+
.week_column: &ftd_column
|
|
139
|
+
<<: *offset_column
|
|
140
|
+
offset: ftd
|
|
141
|
+
name: Variación semanal
|
|
142
|
+
outliers: True
|
|
143
|
+
|
|
144
|
+
.month_column: &mtd_column
|
|
145
|
+
<<: *offset_column
|
|
146
|
+
offset: mtd
|
|
147
|
+
name: Variación desde inicio de mes
|
|
148
|
+
|
|
149
|
+
.year_column: &ytd_column
|
|
150
|
+
<<: *offset_column
|
|
151
|
+
offset: ytd
|
|
152
|
+
name: Variación desde inicio de año
|
|
153
|
+
|
|
154
|
+
.fixed_column: &fixed_column
|
|
155
|
+
<<: *offset_column
|
|
156
|
+
offset: "2025-04-02"
|
|
157
|
+
name: Variación desde el 2 de abril
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
# actual tables
|
|
161
|
+
.columns_deuda: &columns_deuda
|
|
162
|
+
ultimo:
|
|
163
|
+
<<: *last_column
|
|
164
|
+
<<: *perc_format
|
|
165
|
+
positive_good: False
|
|
166
|
+
day:
|
|
167
|
+
<<: *bday_column
|
|
168
|
+
<<: *pb_format
|
|
169
|
+
difference: absolute
|
|
170
|
+
positive_good: False
|
|
171
|
+
fixed:
|
|
172
|
+
<<: *fixed_column
|
|
173
|
+
<<: *pb_format
|
|
174
|
+
difference: absolute
|
|
175
|
+
positive_good: False
|
|
176
|
+
year:
|
|
177
|
+
<<: *ytd_column
|
|
178
|
+
<<: *pb_format
|
|
179
|
+
difference: absolute
|
|
180
|
+
positive_good: False
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
deuda_eur:
|
|
184
|
+
heading: Variación diaria de la deuda soberana de la zona Euro
|
|
185
|
+
blocks:
|
|
186
|
+
tipos:
|
|
187
|
+
title: Tipos de interés bono a 10 años
|
|
188
|
+
columns:
|
|
189
|
+
<<: *columns_deuda
|
|
190
|
+
series:
|
|
191
|
+
<<: *deuda
|
|
192
|
+
diferenciales:
|
|
193
|
+
title: Diferencial con Alemania
|
|
194
|
+
columns:
|
|
195
|
+
<<: *columns_deuda
|
|
196
|
+
ultimo:
|
|
197
|
+
<<: *last_column
|
|
198
|
+
<<: *pb_format
|
|
199
|
+
positive_good: False
|
|
200
|
+
series:
|
|
201
|
+
*deuda_diff
|
|
202
|
+
block_sep: False
|
|
203
|
+
axis: horizontal
|
|
204
|
+
|
|
205
|
+
## semanal
|
|
206
|
+
|
|
207
|
+
.columns_banks: &columns_banks
|
|
208
|
+
last:
|
|
209
|
+
<<: *last_column
|
|
210
|
+
show_units_in_cell: False
|
|
211
|
+
show_units_in_title: True
|
|
212
|
+
unit: "€"
|
|
213
|
+
week:
|
|
214
|
+
<<: *ftd_column
|
|
215
|
+
<<: *perc_format
|
|
216
|
+
scale: 100
|
|
217
|
+
difference: relative
|
|
218
|
+
fixed:
|
|
219
|
+
<<: *fixed_column
|
|
220
|
+
<<: *perc_format
|
|
221
|
+
scale: 100
|
|
222
|
+
difference: relative
|
|
223
|
+
month:
|
|
224
|
+
<<: *mtd_column
|
|
225
|
+
<<: *perc_format
|
|
226
|
+
scale: 100
|
|
227
|
+
difference: relative
|
|
228
|
+
year:
|
|
229
|
+
<<: *ytd_column
|
|
230
|
+
<<: *perc_format
|
|
231
|
+
scale: 100
|
|
232
|
+
difference: relative
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
bancos_esp:
|
|
236
|
+
title: Variación diaria de los principales bancos españoles
|
|
237
|
+
block_sep: False
|
|
238
|
+
axis: vertical
|
|
239
|
+
blocks:
|
|
240
|
+
bancos_esp:
|
|
241
|
+
title: bancos_esp
|
|
242
|
+
columns:
|
|
243
|
+
<<: *columns_banks
|
|
244
|
+
series:
|
|
245
|
+
<<: *bancos_esp
|
|
246
|
+
sort: week
|
|
247
|
+
|
|
248
|
+
bancos_eur:
|
|
249
|
+
title: Variación semanal de los principales bancos europeos
|
|
250
|
+
block_sep: False
|
|
251
|
+
axis: vertical
|
|
252
|
+
blocks:
|
|
253
|
+
bancos_eur:
|
|
254
|
+
title: bancos_eur
|
|
255
|
+
columns:
|
|
256
|
+
<<: *columns_banks
|
|
257
|
+
series:
|
|
258
|
+
<<: *bancos_eur
|
|
259
|
+
sort: week
|
|
260
|
+
|
|
261
|
+
bancos_idx:
|
|
262
|
+
title: Variación semanal de los principales índices bancarios
|
|
263
|
+
block_sep: True
|
|
264
|
+
axis: vertical
|
|
265
|
+
blocks:
|
|
266
|
+
indices_eur:
|
|
267
|
+
title: indices_eur
|
|
268
|
+
columns:
|
|
269
|
+
<<: *columns_banks
|
|
270
|
+
series:
|
|
271
|
+
<<: *bancos_idx_eur
|
|
272
|
+
sort: week
|
|
273
|
+
indices_usa:
|
|
274
|
+
title: indices_usa
|
|
275
|
+
columns:
|
|
276
|
+
<<: *columns_banks
|
|
277
|
+
series:
|
|
278
|
+
<<: *bancos_idx_usa
|
|
279
|
+
sort: week
|
|
280
|
+
|
|
281
|
+
.columns_stock: &columns_stock
|
|
282
|
+
last: &columns_stock_last
|
|
283
|
+
<<: *last_column
|
|
284
|
+
show_units_in_cell: False
|
|
285
|
+
show_units_in_title: False
|
|
286
|
+
decimals: 1
|
|
287
|
+
week: &columns_stock_week
|
|
288
|
+
<<: *ftd_column
|
|
289
|
+
<<: *perc_format
|
|
290
|
+
scale: 100
|
|
291
|
+
difference: relative
|
|
292
|
+
fixed: &columns_stock_fixed
|
|
293
|
+
<<: *fixed_column
|
|
294
|
+
<<: *perc_format
|
|
295
|
+
scale: 100
|
|
296
|
+
difference: relative
|
|
297
|
+
month: &columns_stock_month
|
|
298
|
+
<<: *mtd_column
|
|
299
|
+
<<: *perc_format
|
|
300
|
+
scale: 100
|
|
301
|
+
difference: relative
|
|
302
|
+
year: &columns_stock_year
|
|
303
|
+
<<: *ytd_column
|
|
304
|
+
<<: *perc_format
|
|
305
|
+
scale: 100
|
|
306
|
+
difference: relative
|
|
307
|
+
|
|
308
|
+
.columns_volatility: &columns_volatility
|
|
309
|
+
last:
|
|
310
|
+
<<: *columns_stock_last
|
|
311
|
+
week:
|
|
312
|
+
<<: *columns_stock_week
|
|
313
|
+
positive_good: False
|
|
314
|
+
fixed:
|
|
315
|
+
<<: *columns_stock_fixed
|
|
316
|
+
positive_good: False
|
|
317
|
+
month:
|
|
318
|
+
<<: *columns_stock_month
|
|
319
|
+
positive_good: False
|
|
320
|
+
year:
|
|
321
|
+
<<: *columns_stock_year
|
|
322
|
+
positive_good: False
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
bolsas_eur:
|
|
326
|
+
title: Variación semanal de los principales índices europeos
|
|
327
|
+
block_sep: True
|
|
328
|
+
axis: vertical
|
|
329
|
+
blocks:
|
|
330
|
+
indices:
|
|
331
|
+
title: indices
|
|
332
|
+
columns:
|
|
333
|
+
<<: *columns_stock
|
|
334
|
+
series:
|
|
335
|
+
<<: *bolsa_eur
|
|
336
|
+
sort: week
|
|
337
|
+
volatilidad:
|
|
338
|
+
title: volatilidad
|
|
339
|
+
columns:
|
|
340
|
+
<<: *columns_volatility
|
|
341
|
+
series:
|
|
342
|
+
<<: *volatilidad_eur
|
|
343
|
+
sort: week
|
|
344
|
+
|
|
345
|
+
bolsas_usa:
|
|
346
|
+
title: Variación semanal de los principales índices de Estados Unidos
|
|
347
|
+
block_sep: True
|
|
348
|
+
axis: vertical
|
|
349
|
+
blocks:
|
|
350
|
+
indices:
|
|
351
|
+
title: indices
|
|
352
|
+
columns:
|
|
353
|
+
<<: *columns_stock
|
|
354
|
+
series:
|
|
355
|
+
<<: *bolsa_usa
|
|
356
|
+
sort: week
|
|
357
|
+
volatilidad:
|
|
358
|
+
title: volatilidad
|
|
359
|
+
columns:
|
|
360
|
+
<<: *columns_volatility
|
|
361
|
+
series:
|
|
362
|
+
<<: *volatilidad_usa
|
|
363
|
+
sort: week
|
|
364
|
+
|
|
365
|
+
bolsas_other:
|
|
366
|
+
title: Variación semanal de otros índices internacionales
|
|
367
|
+
block_sep: True
|
|
368
|
+
axis: vertical
|
|
369
|
+
blocks:
|
|
370
|
+
asia:
|
|
371
|
+
title: asia
|
|
372
|
+
columns:
|
|
373
|
+
<<: *columns_stock
|
|
374
|
+
series:
|
|
375
|
+
<<: *bolsa_asia
|
|
376
|
+
sort: week
|
|
377
|
+
otras:
|
|
378
|
+
title: otras
|
|
379
|
+
columns:
|
|
380
|
+
<<: *columns_stock
|
|
381
|
+
series:
|
|
382
|
+
<<: *bolsa_otra
|
|
383
|
+
sort: week
|
|
384
|
+
|
|
385
|
+
.columns_mmpp: &columns_mmpp
|
|
386
|
+
last: &last_column_mmpp
|
|
387
|
+
<<: *last_column
|
|
388
|
+
show_units_in_cell: True
|
|
389
|
+
show_units_in_title: False
|
|
390
|
+
decimals: 1
|
|
391
|
+
week:
|
|
392
|
+
<<: *ftd_column
|
|
393
|
+
<<: *perc_format
|
|
394
|
+
scale: 100
|
|
395
|
+
difference: relative
|
|
396
|
+
positive_good: False
|
|
397
|
+
fixed:
|
|
398
|
+
<<: *fixed_column
|
|
399
|
+
<<: *perc_format
|
|
400
|
+
scale: 100
|
|
401
|
+
difference: relative
|
|
402
|
+
positive_good: False
|
|
403
|
+
month:
|
|
404
|
+
<<: *mtd_column
|
|
405
|
+
<<: *perc_format
|
|
406
|
+
scale: 100
|
|
407
|
+
difference: relative
|
|
408
|
+
positive_good: False
|
|
409
|
+
year:
|
|
410
|
+
<<: *ytd_column
|
|
411
|
+
<<: *perc_format
|
|
412
|
+
scale: 100
|
|
413
|
+
difference: relative
|
|
414
|
+
positive_good: False
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
mmpp:
|
|
418
|
+
title: Variación semanal de las materias primas
|
|
419
|
+
block_sep: False
|
|
420
|
+
axis: vertical
|
|
421
|
+
blocks:
|
|
422
|
+
gas:
|
|
423
|
+
title: gas
|
|
424
|
+
columns:
|
|
425
|
+
<<: *columns_mmpp
|
|
426
|
+
last:
|
|
427
|
+
<<: *last_column_mmpp
|
|
428
|
+
unit: "€"
|
|
429
|
+
series:
|
|
430
|
+
TRNLTTFMc1: Gas
|
|
431
|
+
brent:
|
|
432
|
+
title: brent
|
|
433
|
+
columns:
|
|
434
|
+
<<: *columns_mmpp
|
|
435
|
+
last:
|
|
436
|
+
<<: *last_column_mmpp
|
|
437
|
+
unit: "$"
|
|
438
|
+
series:
|
|
439
|
+
LCOc1: Brent
|
|
440
|
+
oro:
|
|
441
|
+
title: oro
|
|
442
|
+
columns:
|
|
443
|
+
<<: *columns_mmpp
|
|
444
|
+
last:
|
|
445
|
+
<<: *last_column_mmpp
|
|
446
|
+
unit: "$"
|
|
447
|
+
series:
|
|
448
|
+
XAU=: Oro
|
|
449
|
+
trigo:
|
|
450
|
+
title: trigo
|
|
451
|
+
columns:
|
|
452
|
+
<<: *columns_mmpp
|
|
453
|
+
last:
|
|
454
|
+
<<: *last_column_mmpp
|
|
455
|
+
unit: "€"
|
|
456
|
+
series:
|
|
457
|
+
BL2c1: Trigo
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
title: Semanal
|
|
2
|
+
subtitle:
|
|
3
|
+
|
|
4
|
+
section:
|
|
5
|
+
title: Situación de la banca
|
|
6
|
+
|
|
7
|
+
section:
|
|
8
|
+
title: Bancos centrales y mercados monetarios
|
|
9
|
+
|
|
10
|
+
section:
|
|
11
|
+
title: Deuda pública
|
|
12
|
+
section:
|
|
13
|
+
title: Deuda pública europea
|
|
14
|
+
section:
|
|
15
|
+
title: Tipos de interés de la deuda pública europea a 10 años
|
|
16
|
+
section:
|
|
17
|
+
title: Diferenciales con Alemania
|
|
18
|
+
section:
|
|
19
|
+
title: Evolución de los diferenciales con Alemania
|
|
20
|
+
section:
|
|
21
|
+
title: Deuda pública española
|
|
22
|
+
section:
|
|
23
|
+
title: Tipos de interés de la deuda española
|
|
24
|
+
section:
|
|
25
|
+
title: Diferenciales con Alemania
|
|
26
|
+
|
|
27
|
+
section:
|
|
28
|
+
title: Renta variable
|
|
29
|
+
|
|
30
|
+
section:
|
|
31
|
+
title: Materias primas
|
|
32
|
+
|
|
33
|
+
section:
|
|
34
|
+
title: Divisas
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# testing the type curve plot capabilities
|
|
2
|
+
|
|
3
|
+
.alemania_series:
|
|
4
|
+
ES3MT=RR_DIFF: DE3MT=RR
|
|
5
|
+
ES6MT=RR_DIFF: DE6MT=RR
|
|
6
|
+
ES1YT=RR_DIFF: DE1YT=RR
|
|
7
|
+
ES2YT=RR_DIFF: DE2YT=RR
|
|
8
|
+
ES3YT=RR_DIFF: DE3YT=RR
|
|
9
|
+
ES4YT=RR_DIFF: DE4YT=RR
|
|
10
|
+
ES5YT=RR_DIFF: DE5YT=RR
|
|
11
|
+
ES6YT=RR_DIFF: DE6YT=RR
|
|
12
|
+
ES7YT=RR_DIFF: DE7YT=RR
|
|
13
|
+
ES8YT=RR_DIFF: DE8YT=RR
|
|
14
|
+
ES9YT=RR_DIFF: DE9YT=RR
|
|
15
|
+
ES10YT=RR_DIFF: DE10YT=RR
|
|
16
|
+
ES15YT=RR_DIFF: DE15YT=RR
|
|
17
|
+
ES20YT=RR_DIFF: DE20YT=RR
|
|
18
|
+
ES25YT=RR_DIFF: DE25YT=RR
|
|
19
|
+
ES30YT=RR_DIFF: DE30YT=RR
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
.pb_yaxis: &pb_yaxis
|
|
24
|
+
units: p.b.
|
|
25
|
+
decimals: 0
|
|
26
|
+
|
|
27
|
+
.perc_yaxis: &perc_yaxis
|
|
28
|
+
units: "%"
|
|
29
|
+
decimals: 2
|
|
30
|
+
|
|
31
|
+
diferenciales:
|
|
32
|
+
series:
|
|
33
|
+
ES3MT=RR_DIFF: 3 meses
|
|
34
|
+
ES6MT=RR_DIFF: 6 meses
|
|
35
|
+
ES1YT=RR_DIFF: 1 año
|
|
36
|
+
ES2YT=RR_DIFF: 2 años
|
|
37
|
+
ES3YT=RR_DIFF: 3 años
|
|
38
|
+
ES4YT=RR_DIFF: 4 años
|
|
39
|
+
ES5YT=RR_DIFF: 5 años
|
|
40
|
+
ES6YT=RR_DIFF: 6 años
|
|
41
|
+
ES7YT=RR_DIFF: 7 años
|
|
42
|
+
ES8YT=RR_DIFF: 8 años
|
|
43
|
+
ES9YT=RR_DIFF: 9 años
|
|
44
|
+
ES10YT=RR_DIFF: 10 años
|
|
45
|
+
ES15YT=RR_DIFF: 15 años
|
|
46
|
+
ES20YT=RR_DIFF: 20 años
|
|
47
|
+
ES25YT=RR_DIFF: 25 años
|
|
48
|
+
ES30YT=RR_DIFF: 30 años
|
|
49
|
+
yaxis:
|
|
50
|
+
<<: *pb_yaxis
|
|
51
|
+
line:
|
|
52
|
+
<<: *pb_yaxis
|
|
53
|
+
points_to_mark:
|
|
54
|
+
- 3 meses
|
|
55
|
+
- 5 años
|
|
56
|
+
- 10 años
|
|
57
|
+
- 30 años
|
|
58
|
+
legend_sep: -0.15
|
|
59
|
+
|
|
60
|
+
tipos:
|
|
61
|
+
series:
|
|
62
|
+
ES3MT=RR: 3 meses
|
|
63
|
+
ES6MT=RR: 6 meses
|
|
64
|
+
ES1YT=RR: 1 año
|
|
65
|
+
ES2YT=RR: 2 años
|
|
66
|
+
ES3YT=RR: 3 años
|
|
67
|
+
ES4YT=RR: 4 años
|
|
68
|
+
ES5YT=RR: 5 años
|
|
69
|
+
ES6YT=RR: 6 años
|
|
70
|
+
ES7YT=RR: 7 años
|
|
71
|
+
ES8YT=RR: 8 años
|
|
72
|
+
ES9YT=RR: 9 años
|
|
73
|
+
ES10YT=RR: 10 años
|
|
74
|
+
ES15YT=RR: 15 años
|
|
75
|
+
ES20YT=RR: 20 años
|
|
76
|
+
ES25YT=RR: 25 años
|
|
77
|
+
ES30YT=RR: 30 años
|
|
78
|
+
yaxis:
|
|
79
|
+
<<: *perc_yaxis
|
|
80
|
+
line:
|
|
81
|
+
<<: *perc_yaxis
|
|
82
|
+
points_to_mark:
|
|
83
|
+
- 3 meses
|
|
84
|
+
- 5 años
|
|
85
|
+
- 10 años
|
|
86
|
+
- 30 años
|
|
87
|
+
legend_sep: -0.15
|
|
88
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "tesorotools-python"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.8"
|
|
4
4
|
dependencies = ["psycopg2", "SQLAlchemy", "pandas", "matplotlib", "pyarrow", "python-docx", "openpyxl", "PyYAML", "babel", "eikon", "lseg-data"]
|
|
5
5
|
|
|
6
6
|
[build-system]
|
|
@@ -10,7 +10,4 @@ build-backend = "hatchling.build"
|
|
|
10
10
|
[tool.hatch.build.targets.wheel]
|
|
11
11
|
packages = ["src/tesorotools"]
|
|
12
12
|
artifacts = ["*.otf"]
|
|
13
|
-
|
|
14
|
-
[tool.hatch.build.targets.sdist]
|
|
15
|
-
packages = ["src/tesorotools"]
|
|
16
13
|
include = ["*.otf"]
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
pyproject.toml
|
|
2
|
+
src/tesorotools/__init__.py
|
|
3
|
+
src/tesorotools/convert.py
|
|
4
|
+
src/tesorotools/main.py
|
|
5
|
+
src/tesorotools/artists/__init__.py
|
|
6
|
+
src/tesorotools/artists/barh_plot.py
|
|
7
|
+
src/tesorotools/artists/line_plot.py
|
|
8
|
+
src/tesorotools/artists/table.py
|
|
9
|
+
src/tesorotools/artists/type_curve.py
|
|
10
|
+
src/tesorotools/artists/word_document.py
|
|
11
|
+
src/tesorotools/data_sources/__init__.py
|
|
12
|
+
src/tesorotools/data_sources/debug.py
|
|
13
|
+
src/tesorotools/dependencies/__init__.py
|
|
14
|
+
src/tesorotools/dependencies/functions.py
|
|
15
|
+
src/tesorotools/dependencies/node.py
|
|
16
|
+
src/tesorotools/dependencies/resolution.py
|
|
17
|
+
src/tesorotools/offsets/__init__.py
|
|
18
|
+
src/tesorotools/offsets/offsets.py
|
|
19
|
+
src/tesorotools/offsets/outliers.py
|
|
20
|
+
src/tesorotools/render/__init__.py
|
|
21
|
+
src/tesorotools/render/table.py
|
|
22
|
+
src/tesorotools/utils/__init__.py
|
|
23
|
+
src/tesorotools/utils/config.py
|
|
24
|
+
src/tesorotools/utils/globals.py
|
|
25
|
+
src/tesorotools/utils/matplotlib.py
|
|
26
|
+
src/tesorotools/utils/series.py
|
|
27
|
+
src/tesorotools_python.egg-info/PKG-INFO
|
|
28
|
+
src/tesorotools_python.egg-info/SOURCES.txt
|
|
29
|
+
src/tesorotools_python.egg-info/dependency_links.txt
|
|
30
|
+
src/tesorotools_python.egg-info/requires.txt
|
|
31
|
+
src/tesorotools_python.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tesorotools
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/assets/fonts/README.md
RENAMED
|
File without changes
|
|
File without changes
|
{tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/assets/tesoro.mplstyle
RENAMED
|
File without changes
|
|
File without changes
|
{tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/data_sources/README.md
RENAMED
|
File without changes
|
{tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/data_sources/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/dependencies/__init__.py
RENAMED
|
File without changes
|
{tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/dependencies/functions.py
RENAMED
|
File without changes
|
|
File without changes
|
{tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/dependencies/resolution.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/render/content/__init__.py
RENAMED
|
File without changes
|
{tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/render/content/content.py
RENAMED
|
File without changes
|
{tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/render/content/images.py
RENAMED
|
File without changes
|
{tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/render/content/section.py
RENAMED
|
File without changes
|
{tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/render/content/table.py
RENAMED
|
File without changes
|
|
File without changes
|
{tesorotools_python-0.0.7 → tesorotools_python-0.0.8/src}/tesorotools/render/introduction.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|