sp500_vs_btp / __marimo__ /session /main.py.json
pnovelli's picture
app and data
accb8ca
{
"version": "1",
"metadata": {
"marimo_version": "0.14.11"
},
"cells": [
{
"id": "Hbol",
"code_hash": "e25095e310080d9a917aec6916314b74",
"outputs": [
{
"type": "data",
"data": {
"text/plain": ""
}
}
],
"console": []
},
{
"id": "lIAU",
"code_hash": "95fb60e1857482806290a27769398591",
"outputs": [
{
"type": "data",
"data": {
"text/plain": ""
}
}
],
"console": []
},
{
"id": "QKvS",
"code_hash": "69d4d79871006304314863a636c362da",
"outputs": [
{
"type": "data",
"data": {
"text/plain": ""
}
}
],
"console": []
},
{
"id": "rIHd",
"code_hash": "be58d72e8a686dfb23fec78af1d39f8a",
"outputs": [
{
"type": "data",
"data": {
"text/plain": ""
}
}
],
"console": []
},
{
"id": "CZUO",
"code_hash": "005d17bcbc621a434aff4ee2367013d5",
"outputs": [
{
"type": "data",
"data": {
"text/plain": ""
}
}
],
"console": []
},
{
"id": "Aihq",
"code_hash": "8fe4736b5d18797f99a69c8f8529241c",
"outputs": [
{
"type": "data",
"data": {
"text/html": "<div style='display: flex;flex: 1;flex-direction: column;justify-content: flex-start;align-items: normal;flex-wrap: nowrap;gap: 0.5rem'><div style='display: flex;flex: 1;flex-direction: column;justify-content: flex-start;align-items: center;flex-wrap: nowrap;gap: 0.5rem'><span class=\"markdown prose dark:prose-invert\"><h2 id=\"sp500-vs-italy-bond-yields\">SP500 vs Italy Bond yields</h2>\n<span class=\"paragraph\">The plot below shows the annual % return of the SP500 index, compared to the yield of Italian bonds (source: <code>investing.com</code>).\nWith the radio button one can select the time to maturity of the bonds or the hold-time before selling of the SP500 stocks (in practice, one buys an ETF). </span></span><marimo-ui-element object-id='CZUO-0' random-id='b695ba0c-9850-e1ba-d1cd-7136391f30f3'><marimo-radio data-initial-value='&quot;1 Year&quot;' data-label='null' data-options='[&quot;1 Year&quot;, &quot;2 Years&quot;, &quot;3 Years&quot;]' data-inline='true' data-disabled='false'></marimo-radio></marimo-ui-element></div><marimo-ui-element object-id='rIHd-0' random-id='4ef7803c-9c69-9907-dd88-9f0c77153b3b'><marimo-vega data-initial-value='{}' data-label='null' data-spec='{&quot;config&quot;: {&quot;view&quot;: {&quot;continuousWidth&quot;: 300, &quot;continuousHeight&quot;: 300}}, &quot;data&quot;: {&quot;url&quot;: &quot;./@file/208410-453622-XjOQFg2u.arrow&quot;, &quot;format&quot;: {&quot;type&quot;: &quot;arrow&quot;}}, &quot;mark&quot;: {&quot;type&quot;: &quot;line&quot;}, &quot;encoding&quot;: {&quot;color&quot;: {&quot;field&quot;: &quot;asset&quot;, &quot;type&quot;: &quot;nominal&quot;}, &quot;x&quot;: {&quot;axis&quot;: {&quot;format&quot;: &quot;%b %Y&quot;}, &quot;field&quot;: &quot;observation_date&quot;, &quot;title&quot;: &quot;Date&quot;, &quot;type&quot;: &quot;temporal&quot;}, &quot;y&quot;: {&quot;field&quot;: &quot;yield&quot;, &quot;title&quot;: &quot;Yield by holding for 1 years&quot;, &quot;type&quot;: &quot;quantitative&quot;}}, &quot;width&quot;: &quot;container&quot;, &quot;&#36;schema&quot;: &quot;https://vega.github.io/schema/vega-lite/v5.20.1.json&quot;}' data-chart-selection='true' data-field-selection='true'></marimo-vega></marimo-ui-element></div>"
}
}
],
"console": []
},
{
"id": "PVuL",
"code_hash": "f8dbc251efa84d08a24a61287873cc45",
"outputs": [
{
"type": "data",
"data": {
"text/plain": ""
}
}
],
"console": []
},
{
"id": "Bzrv",
"code_hash": null,
"outputs": [],
"console": []
}
]
}