diff --git a/scripts/research/r0727_orizzonte10.py b/scripts/research/r0727_orizzonte10.py index 815ce20..3374112 100644 --- a/scripts/research/r0727_orizzonte10.py +++ b/scripts/research/r0727_orizzonte10.py @@ -38,7 +38,7 @@ import r0727_lumpsum_split as LS # noqa: E402 ETA = 49 ORIZZONTE = 10 -LUMPS = (3_000.0, 5_000.0, 6_043.0) +LUMPS = (3_000.0, 5_000.0, 6_043.0, 10_000.0) # 10k = oltre XEON: tocca VWCE/SPYM/PPFB DEPS = (500.0, 800.0, 1_000.0, 1_500.0, 2_000.0) CONFIDENZE = (0.50, 0.75, 0.90) CONC = {"Deribit": 1.0} @@ -128,13 +128,13 @@ def main() -> None: print("\n" + "=" * 100) print(f" (3) SE QUEL NUMERO NON C'E': CHE RENDITA SI COMPRA IN {ORIZZONTE} ANNI") print("=" * 100) - print(f"\n (lump €5.000; rendita NETTA mediana a {ORIZZONTE} anni, e in quanti anni") + print(f"\n (lump €10.000; rendita NETTA mediana a {ORIZZONTE} anni, e in quanti anni") print(" si arriverebbe invece ai €50/g)") print(f"\n {'dep/mese':>10}{'cap. mediano a 10a':>21}{'rendita a 10a':>16}" f"{'anni per €50/g':>17}{'eta a quel punto':>19}") for dep in DEPS: - a = p_entro(series, 5_000.0, dep, years=ORIZZONTE) - b = LS.simulate(CONC, series, 0.0, lump_usd=5_000.0 * CC.EURUSD, dep_eur=dep, years=25) + a = p_entro(series, 10_000.0, dep, years=ORIZZONTE) + b = LS.simulate(CONC, series, 0.0, lump_usd=10_000.0 * CC.EURUSD, dep_eur=dep, years=25) rend = a["median_end"] * perp * (1 - CC.TAX_RATE) / 365.0 / CC.EURUSD yrs = b["median_yrs"] print(f" {dep:>9,.0f}€{a['median_end']:>20,.0f}${rend:>13.2f} €/g"