smlflg commited on
Commit
2c09224
·
verified ·
1 Parent(s): d943bba

Initial public upload from Projekte/Amazon

Browse files
.codex.pre-coding-mcp-20260908T010027 ADDED
File without changes
.codex/config.toml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Coding MCPs: project-local registration (2026-09-07).
2
+
3
+ [mcp_servers.serena]
4
+ command = "/home/smlflg/.local/share/coding-mcp/serena/.venv/bin/serena"
5
+ args = ["start-mcp-server", "--context=codex", "--project", "/home/smlflg/Projekte/Amazon", "--enable-web-dashboard", "false", "--open-web-dashboard", "false", "--enable-gui-log-window", "false"]
6
+ cwd = "/home/smlflg/Projekte/Amazon"
7
+ enabled = true
8
+ startup_timeout_sec = 120
9
+ tool_timeout_sec = 180
10
+
11
+ [mcp_servers.serena.env]
12
+ "SERENA_HOME" = "/home/smlflg/.local/share/coding-mcp/serena/state"
13
+
14
+ [mcp_servers.gitnexus]
15
+ command = "/home/smlflg/.nvm/versions/node/v24.13.0/bin/node"
16
+ args = ["/home/smlflg/.local/share/coding-mcp/gitnexus/node_modules/gitnexus/dist/cli/index.js", "mcp"]
17
+ cwd = "/home/smlflg/Projekte/Amazon"
18
+ enabled = true
19
+ startup_timeout_sec = 120
20
+ tool_timeout_sec = 180
21
+
22
+ [mcp_servers.gitnexus.env]
23
+ "GITNEXUS_HOME" = "/home/smlflg/.local/share/coding-mcp/gitnexus/runtime"
24
+
25
+ [mcp_servers.context7]
26
+ command = "/home/smlflg/.nvm/versions/node/v24.13.0/bin/node"
27
+ args = ["/home/smlflg/.local/share/coding-mcp/context7/node_modules/@upstash/context7-mcp/dist/index.js"]
28
+ cwd = "/home/smlflg/Projekte/Amazon"
29
+ enabled = true
30
+ startup_timeout_sec = 120
31
+ tool_timeout_sec = 180
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ allegraphen.png filter=lfs diff=lfs merge=lfs -text
37
+ unnamed.png filter=lfs diff=lfs merge=lfs -text
2026-02-03-Kosteninformation-IE00BK5BZQ82 (1).pdf ADDED
Binary file (20.7 kB). View file
 
2026-02-03-Kosteninformation-IE00BK5BZQ82.pdf ADDED
Binary file (20.4 kB). View file
 
2026-02-03-Wertpapierabrechnung-IE00BK5BZQ82 (1).pdf ADDED
Binary file (20.9 kB). View file
 
2026-02-03-Wertpapierabrechnung-IE00BK5BZQ82.pdf ADDED
Binary file (20.9 kB). View file
 
2026-02-06-Kosteninformation-IE00BK5BZQ82.pdf ADDED
Binary file (21.6 kB). View file
 
2026-02-06-Wertpapierabrechnung-IE00BK5BZQ82.pdf ADDED
Binary file (22.2 kB). View file
 
Amazon.com__ich kann _ETP 3x handeln_IE00BK5BZQ82.md ADDED
The diff for this file is too large to render. See raw diff
 
allegraphen.png ADDED

Git LFS Details

  • SHA256: 9042d53fbb139b60ffbd4fd7c8de8581894ff21e4f58bad95cada0248611e930
  • Pointer size: 131 Bytes
  • Size of remote file: 218 kB
amazon_derivatives_analysis.py ADDED
@@ -0,0 +1,641 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Amazon leveraged product analysis from a private EUR investor view.
3
+
4
+ The script intentionally separates two things:
5
+ - real observable data where public historical quotes are available
6
+ - transparent model columns where retail derivative histories are not reliably
7
+ available from a stable public endpoint
8
+ """
9
+
10
+ from __future__ import annotations
11
+
12
+ import argparse
13
+ import json
14
+ import math
15
+ import time
16
+ import urllib.parse
17
+ import urllib.request
18
+ from dataclasses import dataclass
19
+ from datetime import date, datetime, timedelta, timezone
20
+ from pathlib import Path
21
+ from typing import Iterable
22
+
23
+ import numpy as np
24
+ import pandas as pd
25
+
26
+
27
+ START_DATE = "2026-01-01"
28
+ END_DATE = "2026-04-14"
29
+
30
+
31
+ @dataclass(frozen=True)
32
+ class Trade:
33
+ execution_time: str
34
+ isin: str
35
+ name: str
36
+ quantity: float
37
+ price_eur: float
38
+ venue: str
39
+
40
+ @property
41
+ def amount_eur(self) -> float:
42
+ return self.quantity * self.price_eur
43
+
44
+
45
+ ETP_TRADES = [
46
+ Trade(
47
+ execution_time="2026-02-03 15:55:09",
48
+ isin="IE00BK5BZQ82",
49
+ name="Leverage Shares 3x Amazon ETP",
50
+ quantity=1000.0,
51
+ price_eur=8.2385,
52
+ venue="EIX",
53
+ ),
54
+ Trade(
55
+ execution_time="2026-02-03 16:05:06",
56
+ isin="IE00BK5BZQ82",
57
+ name="Leverage Shares 3x Amazon ETP",
58
+ quantity=2000.0,
59
+ price_eur=7.9890,
60
+ venue="EIX",
61
+ ),
62
+ Trade(
63
+ execution_time="2026-02-06 07:42:37",
64
+ isin="IE00BK5BZQ82",
65
+ name="Leverage Shares 3x Amazon ETP",
66
+ quantity=4000.0,
67
+ price_eur=4.5000,
68
+ venue="gettex",
69
+ ),
70
+ ]
71
+
72
+
73
+ PRODUCTS = {
74
+ "amzn_usd": {
75
+ "symbol": "AMZN",
76
+ "kind": "basiswert_usd",
77
+ "source": "Yahoo Finance chart API",
78
+ },
79
+ "amzn_eur": {
80
+ "symbol": "AMZ.DE",
81
+ "kind": "basiswert_eur",
82
+ "source": "Yahoo Finance chart API",
83
+ },
84
+ "eurusd": {
85
+ "symbol": "EURUSD=X",
86
+ "kind": "fx",
87
+ "source": "Yahoo Finance chart API",
88
+ },
89
+ "etp_real": {
90
+ "symbol": "3AN.DE",
91
+ "isin": "IE00BK5BZQ82",
92
+ "kind": "real_quote",
93
+ "source": "Yahoo Finance chart API",
94
+ "annual_product_cost": 0.0475,
95
+ },
96
+ "turbo_model": {
97
+ "wkn": "UG523U",
98
+ "isin": "DE000UG523U8",
99
+ "kind": "model_only",
100
+ "issuer": "UniCredit Bank GmbH / HVB",
101
+ "name": "HVB TuBull O.EndAmazon172,9414",
102
+ "basis_price_usd": 172.9414,
103
+ "note": "Model uses constant financing level from product name; real issuer financing adjustments and spreads are not included.",
104
+ },
105
+ "factor_model": {
106
+ "wkn": "MC2W9J",
107
+ "isin": "DE000MC2W9J9",
108
+ "kind": "model_only",
109
+ "issuer": "Morgan Stanley",
110
+ "factor": 3.0,
111
+ "note": "Selected real 3x long Amazon factor product, but historical public quotes are not fetched; model uses 3x daily AMZN EUR path.",
112
+ },
113
+ "option_model": {
114
+ "wkn": "HT0Q26",
115
+ "isin": "DE000HT0Q262",
116
+ "kind": "model_only",
117
+ "issuer": "HSBC Trinkaus & Burkhardt GmbH",
118
+ "type": "call",
119
+ "strike_usd": 245.0,
120
+ "ratio": 0.1,
121
+ "expiry": "2026-12-18",
122
+ "implied_volatility": 0.3676,
123
+ "risk_free_rate": 0.03,
124
+ "note": "Black-Scholes proxy with constant IV from 2026-04-13 finanzen.net snapshot; real warrant prices can diverge materially.",
125
+ },
126
+ }
127
+
128
+
129
+ def yahoo_chart(symbol: str, start: str, end: str) -> pd.DataFrame:
130
+ """Fetch daily close prices from Yahoo's chart endpoint."""
131
+ start_dt = datetime.fromisoformat(start).replace(tzinfo=timezone.utc)
132
+ end_dt = datetime.fromisoformat(end).replace(tzinfo=timezone.utc) + timedelta(days=1)
133
+ params = urllib.parse.urlencode(
134
+ {
135
+ "period1": int(start_dt.timestamp()),
136
+ "period2": int(end_dt.timestamp()),
137
+ "interval": "1d",
138
+ "events": "history",
139
+ }
140
+ )
141
+ url = f"https://query2.finance.yahoo.com/v8/finance/chart/{urllib.parse.quote(symbol)}?{params}"
142
+ req = urllib.request.Request(url, headers={"User-Agent": "Mozilla/5.0"})
143
+ with urllib.request.urlopen(req, timeout=30) as response:
144
+ payload = json.loads(response.read().decode("utf-8"))
145
+
146
+ result = payload.get("chart", {}).get("result")
147
+ if not result:
148
+ error = payload.get("chart", {}).get("error")
149
+ raise RuntimeError(f"Yahoo returned no result for {symbol}: {error}")
150
+
151
+ data = result[0]
152
+ timestamps = data.get("timestamp") or []
153
+ quote = data.get("indicators", {}).get("quote", [{}])[0]
154
+ closes = quote.get("close") or []
155
+ volumes = quote.get("volume") or []
156
+
157
+ rows = []
158
+ for ts, close, volume in zip(timestamps, closes, volumes):
159
+ if close is None:
160
+ continue
161
+ rows.append(
162
+ {
163
+ "date": datetime.fromtimestamp(ts, tz=timezone.utc).date(),
164
+ "close": float(close),
165
+ "volume": np.nan if volume is None else float(volume),
166
+ }
167
+ )
168
+
169
+ if not rows:
170
+ raise RuntimeError(f"Yahoo returned no close prices for {symbol}")
171
+
172
+ return pd.DataFrame(rows).drop_duplicates("date").sort_values("date")
173
+
174
+
175
+ def norm_cdf(x: float) -> float:
176
+ return 0.5 * (1.0 + math.erf(x / math.sqrt(2.0)))
177
+
178
+
179
+ def norm_pdf(x: float) -> float:
180
+ return math.exp(-0.5 * x * x) / math.sqrt(2.0 * math.pi)
181
+
182
+
183
+ def black_scholes_call(
184
+ spot: float,
185
+ strike: float,
186
+ years: float,
187
+ volatility: float,
188
+ risk_free_rate: float,
189
+ ) -> dict[str, float]:
190
+ if years <= 0 or volatility <= 0 or spot <= 0 or strike <= 0:
191
+ intrinsic = max(spot - strike, 0.0)
192
+ return {
193
+ "price": intrinsic,
194
+ "delta": 1.0 if spot > strike else 0.0,
195
+ "theta_per_day": 0.0,
196
+ "vega": 0.0,
197
+ }
198
+
199
+ sigma_sqrt_t = volatility * math.sqrt(years)
200
+ d1 = (math.log(spot / strike) + (risk_free_rate + 0.5 * volatility**2) * years) / sigma_sqrt_t
201
+ d2 = d1 - sigma_sqrt_t
202
+ price = spot * norm_cdf(d1) - strike * math.exp(-risk_free_rate * years) * norm_cdf(d2)
203
+ delta = norm_cdf(d1)
204
+ theta_annual = (
205
+ -(spot * norm_pdf(d1) * volatility) / (2.0 * math.sqrt(years))
206
+ - risk_free_rate * strike * math.exp(-risk_free_rate * years) * norm_cdf(d2)
207
+ )
208
+ vega = spot * norm_pdf(d1) * math.sqrt(years) / 100.0
209
+ return {
210
+ "price": price,
211
+ "delta": delta,
212
+ "theta_per_day": theta_annual / 365.0,
213
+ "vega": vega,
214
+ }
215
+
216
+
217
+ def max_drawdown(series: pd.Series) -> float:
218
+ clean = series.dropna()
219
+ if clean.empty:
220
+ return np.nan
221
+ peak = clean.cummax()
222
+ drawdown = clean / peak - 1.0
223
+ return float(drawdown.min())
224
+
225
+
226
+ def first_valid_value(series: pd.Series) -> float:
227
+ clean = series.dropna()
228
+ if clean.empty:
229
+ return np.nan
230
+ return float(clean.iloc[0])
231
+
232
+
233
+ def fair_value(series: pd.Series, start_value: float = 1000.0) -> pd.Series:
234
+ base = first_valid_value(series)
235
+ if not np.isfinite(base) or base == 0:
236
+ return pd.Series(np.nan, index=series.index)
237
+ return start_value * series / base
238
+
239
+
240
+ def model_factor_path(returns: pd.Series, leverage: float, start_value: float = 1000.0) -> pd.Series:
241
+ out = pd.Series(index=returns.index, dtype=float)
242
+ value = start_value
243
+ first_seen = False
244
+ for idx, ret in returns.items():
245
+ if pd.isna(ret):
246
+ if not first_seen:
247
+ out.loc[idx] = value
248
+ first_seen = True
249
+ else:
250
+ out.loc[idx] = np.nan
251
+ continue
252
+ if not first_seen:
253
+ out.loc[idx] = value
254
+ first_seen = True
255
+ continue
256
+ value *= max(1.0 + leverage * float(ret), 0.0)
257
+ out.loc[idx] = value
258
+ return out.ffill()
259
+
260
+
261
+ def build_daily(start: str, end: str) -> pd.DataFrame:
262
+ raw = {}
263
+ for key in ("amzn_usd", "amzn_eur", "eurusd", "etp_real"):
264
+ symbol = PRODUCTS[key]["symbol"]
265
+ raw[key] = yahoo_chart(symbol, start, end).rename(columns={"close": key})
266
+ time.sleep(0.2)
267
+
268
+ # EUR investor view: keep the German Amazon trading calendar. FX can have
269
+ # extra rows that would otherwise create dates without a basis-value move.
270
+ all_dates = sorted(set(raw["amzn_eur"]["date"]))
271
+ daily = pd.DataFrame({"date": all_dates})
272
+ for key, frame in raw.items():
273
+ daily = daily.merge(frame[["date", key]], on="date", how="left")
274
+
275
+ daily["eurusd"] = daily["eurusd"].ffill().bfill()
276
+ daily["amzn_eur_from_usd"] = daily["amzn_usd"] / daily["eurusd"]
277
+ daily["amzn_eur_used"] = daily["amzn_eur"].combine_first(daily["amzn_eur_from_usd"])
278
+ daily["amzn_usd_used"] = daily["amzn_usd"].combine_first(daily["amzn_eur_used"] * daily["eurusd"])
279
+ daily["amzn_daily_return"] = daily["amzn_eur_used"].pct_change()
280
+ daily["amzn_usd_daily_return"] = daily["amzn_usd"].pct_change()
281
+
282
+ daily["etp_real_daily_return"] = daily["etp_real"].pct_change()
283
+ daily["etp_model_3x"] = np.nan
284
+ first_etp = first_valid_value(daily["etp_real"])
285
+ if np.isfinite(first_etp):
286
+ model = model_factor_path(daily["amzn_daily_return"], 3.0, first_etp)
287
+ daily["etp_model_3x"] = model
288
+ daily["etp_model_3x_daily_return"] = daily["etp_model_3x"].pct_change()
289
+ daily["etp_drag_tracking"] = daily["etp_real"] / daily["etp_model_3x"] - 1.0
290
+
291
+ turbo_basis = PRODUCTS["turbo_model"]["basis_price_usd"]
292
+ daily["turbo_intrinsic_usd_per_unit"] = (daily["amzn_usd_used"] - turbo_basis).clip(lower=0.0)
293
+ daily["turbo_intrinsic_eur_per_unit"] = daily["turbo_intrinsic_usd_per_unit"] / daily["eurusd"]
294
+ daily["turbo_knocked_out_model"] = daily["amzn_usd_used"] <= turbo_basis
295
+ daily["turbo_leverage_model"] = daily["amzn_usd_used"] / (daily["amzn_usd_used"] - turbo_basis)
296
+ daily.loc[daily["turbo_intrinsic_usd_per_unit"] <= 0, "turbo_leverage_model"] = np.nan
297
+ daily["turbo_ko_distance_pct"] = daily["amzn_usd_used"] / turbo_basis - 1.0
298
+ daily["fair_1000_turbo_model"] = fair_value(daily["turbo_intrinsic_eur_per_unit"])
299
+
300
+ daily["factor_model_3x"] = model_factor_path(daily["amzn_daily_return"], 3.0, 1000.0)
301
+
302
+ option = PRODUCTS["option_model"]
303
+ expiry = date.fromisoformat(option["expiry"])
304
+ option_rows = []
305
+ for _, row in daily.iterrows():
306
+ trade_date = row["date"]
307
+ years = max((expiry - trade_date).days / 365.0, 0.0)
308
+ bs = black_scholes_call(
309
+ spot=float(row["amzn_usd_used"]),
310
+ strike=option["strike_usd"],
311
+ years=years,
312
+ volatility=option["implied_volatility"],
313
+ risk_free_rate=option["risk_free_rate"],
314
+ )
315
+ price_eur = option["ratio"] * bs["price"] / row["eurusd"]
316
+ theta_eur_day = option["ratio"] * bs["theta_per_day"] / row["eurusd"]
317
+ intrinsic_eur = option["ratio"] * max(float(row["amzn_usd_used"]) - option["strike_usd"], 0.0) / row["eurusd"]
318
+ option_rows.append(
319
+ {
320
+ "option_model_price": price_eur,
321
+ "option_delta": bs["delta"],
322
+ "option_omega": (bs["delta"] * float(row["amzn_usd_used"]) / bs["price"]) if bs["price"] > 0 else np.nan,
323
+ "option_theta_per_day": theta_eur_day,
324
+ "option_vega_per_vol_point_eur": option["ratio"] * bs["vega"] / row["eurusd"],
325
+ "option_intrinsic_eur": intrinsic_eur,
326
+ "option_time_value_eur": price_eur - intrinsic_eur,
327
+ }
328
+ )
329
+ daily = pd.concat([daily, pd.DataFrame(option_rows)], axis=1)
330
+ daily["fair_1000_option_model"] = fair_value(daily["option_model_price"])
331
+
332
+ daily["fair_1000_amzn_eur"] = fair_value(daily["amzn_eur_used"])
333
+ daily["fair_1000_etp_real"] = fair_value(daily["etp_real"])
334
+ daily["fair_1000_etp_model_3x"] = fair_value(daily["etp_model_3x"])
335
+
336
+ total_quantity = sum(trade.quantity for trade in ETP_TRADES)
337
+ total_cost = sum(trade.amount_eur for trade in ETP_TRADES)
338
+ avg_entry = total_cost / total_quantity
339
+ daily["portfolio_etp_quantity"] = total_quantity
340
+ daily["portfolio_etp_cost_basis_eur"] = total_cost
341
+ daily["portfolio_etp_avg_entry_eur"] = avg_entry
342
+ daily["portfolio_etp_value_eur"] = daily["etp_real"] * total_quantity
343
+ daily["portfolio_etp_pnl_eur"] = daily["portfolio_etp_value_eur"] - total_cost
344
+ daily["portfolio_etp_pnl_pct"] = daily["portfolio_etp_value_eur"] / total_cost - 1.0
345
+ daily["portfolio_etp_break_even_gap_pct"] = daily["etp_real"] / avg_entry - 1.0
346
+
347
+ preferred = [
348
+ "date",
349
+ "amzn_eur_used",
350
+ "amzn_eur",
351
+ "amzn_usd",
352
+ "amzn_usd_used",
353
+ "eurusd",
354
+ "amzn_daily_return",
355
+ "etp_real",
356
+ "etp_real_daily_return",
357
+ "etp_model_3x",
358
+ "etp_model_3x_daily_return",
359
+ "etp_drag_tracking",
360
+ "turbo_intrinsic_eur_per_unit",
361
+ "turbo_leverage_model",
362
+ "turbo_ko_distance_pct",
363
+ "turbo_knocked_out_model",
364
+ "factor_model_3x",
365
+ "option_model_price",
366
+ "option_delta",
367
+ "option_omega",
368
+ "option_theta_per_day",
369
+ "option_vega_per_vol_point_eur",
370
+ "option_intrinsic_eur",
371
+ "option_time_value_eur",
372
+ "fair_1000_amzn_eur",
373
+ "fair_1000_etp_real",
374
+ "fair_1000_etp_model_3x",
375
+ "fair_1000_turbo_model",
376
+ "fair_1000_option_model",
377
+ "portfolio_etp_value_eur",
378
+ "portfolio_etp_pnl_eur",
379
+ "portfolio_etp_pnl_pct",
380
+ "portfolio_etp_break_even_gap_pct",
381
+ ]
382
+ return daily[[col for col in preferred if col in daily.columns]]
383
+
384
+
385
+ def build_summary(daily: pd.DataFrame) -> pd.DataFrame:
386
+ metrics = []
387
+ series_map = {
388
+ "Amazon EUR": daily["fair_1000_amzn_eur"],
389
+ "ETP real IE00BK5BZQ82": daily["fair_1000_etp_real"],
390
+ "ETP modeled 3x": daily["fair_1000_etp_model_3x"],
391
+ "Turbo model UG523U": daily["fair_1000_turbo_model"],
392
+ "Factor model MC2W9J": daily["factor_model_3x"],
393
+ "Option model HT0Q26": daily["fair_1000_option_model"],
394
+ }
395
+ for name, series in series_map.items():
396
+ clean = series.dropna()
397
+ if clean.empty:
398
+ continue
399
+ metrics.append(
400
+ {
401
+ "instrument": name,
402
+ "start_value": float(clean.iloc[0]),
403
+ "end_value": float(clean.iloc[-1]),
404
+ "performance_pct": float(clean.iloc[-1] / clean.iloc[0] - 1.0),
405
+ "max_drawdown_pct": max_drawdown(clean),
406
+ "daily_volatility_pct": float(clean.pct_change().std(skipna=True)),
407
+ "observations": int(clean.shape[0]),
408
+ }
409
+ )
410
+
411
+ total_quantity = sum(trade.quantity for trade in ETP_TRADES)
412
+ total_cost = sum(trade.amount_eur for trade in ETP_TRADES)
413
+ avg_entry = total_cost / total_quantity
414
+ last = daily.dropna(subset=["etp_real"]).iloc[-1]
415
+ metrics.append(
416
+ {
417
+ "instrument": "Depot ETP position",
418
+ "start_value": total_cost,
419
+ "end_value": float(last["portfolio_etp_value_eur"]),
420
+ "performance_pct": float(last["portfolio_etp_pnl_pct"]),
421
+ "max_drawdown_pct": max_drawdown(daily["portfolio_etp_value_eur"]),
422
+ "daily_volatility_pct": float(daily["portfolio_etp_value_eur"].pct_change().std(skipna=True)),
423
+ "observations": int(daily["portfolio_etp_value_eur"].dropna().shape[0]),
424
+ "quantity": total_quantity,
425
+ "avg_entry_eur": avg_entry,
426
+ "break_even_gap_pct": float(last["portfolio_etp_break_even_gap_pct"]),
427
+ }
428
+ )
429
+ return pd.DataFrame(metrics)
430
+
431
+
432
+ def write_trade_summary(output_dir: Path) -> None:
433
+ trades = pd.DataFrame(
434
+ [
435
+ {
436
+ "execution_time": trade.execution_time,
437
+ "isin": trade.isin,
438
+ "name": trade.name,
439
+ "quantity": trade.quantity,
440
+ "price_eur": trade.price_eur,
441
+ "amount_eur": trade.amount_eur,
442
+ "venue": trade.venue,
443
+ }
444
+ for trade in ETP_TRADES
445
+ ]
446
+ )
447
+ trades.to_csv(output_dir / "amazon_etp_trades.csv", index=False)
448
+
449
+
450
+ def write_readme(output_dir: Path, start: str, end: str) -> None:
451
+ total_quantity = sum(trade.quantity for trade in ETP_TRADES)
452
+ total_cost = sum(trade.amount_eur for trade in ETP_TRADES)
453
+ avg_entry = total_cost / total_quantity
454
+ text = f"""# Amazon Derivatives Analysis Outputs
455
+
456
+ Generated for {start} to {end}.
457
+
458
+ ## Source hierarchy
459
+
460
+ 1. Broker PDFs are the source of truth for executed ETP trades.
461
+ 2. Official issuer documents are the source of truth for product mechanics.
462
+ 3. Exchange/broker bid-ask quotes are the source of truth for tradable prices.
463
+ 4. This model is a learning, risk, and plausibility model.
464
+
465
+ ## ETP position
466
+
467
+ - ISIN: IE00BK5BZQ82
468
+ - Quantity: {total_quantity:,.0f}
469
+ - Cost basis: {total_cost:,.2f} EUR
470
+ - Weighted average entry: {avg_entry:.4f} EUR
471
+ - Running product cost from PDFs: 4.75% p.a.
472
+
473
+ ## Model limitations
474
+
475
+ - `3AN.DE`, `AMZ.DE`, `AMZN`, and `EURUSD=X` are fetched from Yahoo Finance.
476
+ - UG523U is modeled from a constant USD financing level of 172.9414; issuer financing adjustments, spreads, and intraday knock-out handling are not included.
477
+ - MC2W9J is represented by a transparent 3x daily factor model because a stable public historical quote endpoint was not found.
478
+ - HT0Q26 is represented by a Black-Scholes proxy with constant IV 36.76%, strike 245 USD, ratio 0.1, and expiry 2026-12-18.
479
+ """
480
+ (output_dir / "README.md").write_text(text, encoding="utf-8")
481
+
482
+
483
+ def write_interpretation(output_dir: Path, daily: pd.DataFrame, summary: pd.DataFrame) -> None:
484
+ by_name = summary.set_index("instrument")
485
+ depot = by_name.loc["Depot ETP position"]
486
+ amazon = by_name.loc["Amazon EUR"]
487
+ etp_real = by_name.loc["ETP real IE00BK5BZQ82"]
488
+ etp_model = by_name.loc["ETP modeled 3x"]
489
+ turbo = by_name.loc["Turbo model UG523U"]
490
+ factor = by_name.loc["Factor model MC2W9J"]
491
+ option = by_name.loc["Option model HT0Q26"]
492
+
493
+ end = daily.dropna(subset=["etp_real"]).iloc[-1]
494
+ weighted_days = (
495
+ sum(
496
+ (end["date"] - date.fromisoformat(trade.execution_time[:10])).days * trade.amount_eur
497
+ for trade in ETP_TRADES
498
+ )
499
+ / sum(trade.amount_eur for trade in ETP_TRADES)
500
+ )
501
+ etp_running_cost_pct = PRODUCTS["etp_real"]["annual_product_cost"] * weighted_days / 365.0
502
+ etp_running_cost_eur = float(depot["start_value"] * etp_running_cost_pct)
503
+
504
+ text = f"""# Was deine Wahl bis {end['date']} gezeigt hat
505
+
506
+ ## Harte Depot-Wahrheit
507
+
508
+ - Dein gewichteter ETP-Einstieg: {depot['avg_entry_eur']:.4f} EUR.
509
+ - Letzter verwendeter ETP-Schlusskurs: {end['etp_real']:.4f} EUR.
510
+ - Depotwert ETP: {depot['end_value']:,.2f} EUR.
511
+ - P/L auf deine 7.000 Stk.: {end['portfolio_etp_pnl_eur']:,.2f} EUR ({depot['performance_pct']:.2%}).
512
+ - Geschätzte laufende Produktkosten über die gewichtete Haltedauer von {weighted_days:.1f} Tagen: ca. {etp_running_cost_pct:.2%} bzw. {etp_running_cost_eur:,.2f} EUR. Diese Kosten sind nicht als separate Brokerabbuchung sichtbar, sondern in der Produkt-/Indexentwicklung enthalten.
513
+
514
+ ## 1.000-EUR-Vergleich seit Jahresanfang
515
+
516
+ | Instrument | Endwert | Performance | Max. Drawdown | Einordnung |
517
+ |---|---:|---:|---:|---|
518
+ | Amazon EUR | {amazon['end_value']:,.2f} EUR | {amazon['performance_pct']:.2%} | {amazon['max_drawdown_pct']:.2%} | Basiswert, kein Hebel |
519
+ | ETP real IE00BK5BZQ82 | {etp_real['end_value']:,.2f} EUR | {etp_real['performance_pct']:.2%} | {etp_real['max_drawdown_pct']:.2%} | echte Historie über 3AN.DE |
520
+ | ETP/Faktor 3x Modell | {etp_model['end_value']:,.2f} EUR | {etp_model['performance_pct']:.2%} | {etp_model['max_drawdown_pct']:.2%} | täglicher 3x-Pfad |
521
+ | Turbo UG523U Modell | {turbo['end_value']:,.2f} EUR | {turbo['performance_pct']:.2%} | {turbo['max_drawdown_pct']:.2%} | stärkste Performance, höchstes KO-Risiko |
522
+ | Optionsschein HT0Q26 Modell | {option['end_value']:,.2f} EUR | {option['performance_pct']:.2%} | {option['max_drawdown_pct']:.2%} | hoher Hebel, stark abhängig von IV/Zeitwert |
523
+
524
+ ## Urteil zur Produktwahl
525
+
526
+ Deine Wahl war aus heutiger Sicht nicht schlecht, aber sie war nicht das maximal aggressive Produkt. Der Turbo hätte im Modell am meisten gebracht, hatte aber auch den tiefsten zwischenzeitlichen Absturz. Das ist genau der Trade-off: mehr Performance gegen viel höheres Knock-out- und Timing-Risiko.
527
+
528
+ Der echte ETP hat Amazon klar geschlagen und lag nahe am transparenten 3x-Tagesmodell. Am Ende lag er rund {end['etp_drag_tracking']:.2%} unter dem modellierten 3x-Pfad. Das ist die Zone, in der Tracking, Swap-/Indexkosten, FX, Handelsplatz und Spread sichtbar werden. Es ist kein Beweis für Fehlpreisung, aber ein guter Plausibilitätscheck.
529
+
530
+ Kosten-/Mechanik-Vergleich:
531
+
532
+ - ETP: laufende Kosten aus deinen PDFs 4,75% p.a.; kein Knock-out; täglicher Reset mit Variance Drain.
533
+ - Turbo: keine tägliche Reset-Mechanik; dafür Finanzierungslevel, Spread und Knock-out. Performance kann viel besser sein, aber ein falscher Gap kann die Position komplett beenden.
534
+ - Faktor: ähnlich wie ETP, täglicher Faktorpfad; privat gut modellierbar, echte Emittentenbedingungen bleiben entscheidend.
535
+ - Optionsschein: privat nur approximativ modellierbar, weil implizite Volatilität und Zeitwert den Preis stark bewegen.
536
+
537
+ ## Praktische Lesart
538
+
539
+ Wenn dein Hauptproblem war, dass du das Produkt anfangs nicht vollständig verstanden hattest, dann war der ETP trotzdem die robustere gehebelte Wahl als ein Turbo: Du hattest keine KO-Schwelle, und der Nachkauf zu 4,50 EUR hat deinen Durchschnitt stark verbessert. Der Preis dafür war Variance Drain und laufende Produktkosten.
540
+
541
+ Wenn du ex post nur auf Rendite schaust, wäre der Turbo im Modell besser gewesen. Wenn du Risiko, KO-Gefahr und Produktverständnis mitbewertest, war der ETP die defensivere Hebelentscheidung.
542
+ """
543
+ (output_dir / "amazon_choice_interpretation.md").write_text(text, encoding="utf-8")
544
+
545
+
546
+ def write_cost_overview(output_dir: Path) -> None:
547
+ total_cost = sum(trade.amount_eur for trade in ETP_TRADES)
548
+ text = f"""# Kosten der verglichenen Produkte
549
+
550
+ ## Wichtigste Einordnung
551
+
552
+ Bei diesen Produkten gibt es nicht nur "Gebühren" wie bei einem Fonds. Ein großer Teil der Kosten steckt in Geld/Brief-Spreads, Finanzierungskomponenten, Indexformeln, impliziter Volatilität und Emittentenpreisstellung. Deshalb ist der Broker-Ausführungskurs die Wahrheit für den Einstieg, und der handelbare Geldkurs die Wahrheit für den Ausstieg.
553
+
554
+ ## Kostenmatrix
555
+
556
+ | Produkt | Explizit sichtbar | Im Preis versteckt | In unserem Modell |
557
+ |---|---:|---|---|
558
+ | ETP IE00BK5BZQ82 | laut deinen Scalable-PDFs: 0 EUR Einstieg, 0 EUR Ausstieg, 4,75% p.a. laufende Produktkosten | Swap-/Indexfinanzierung, Tracking, FX, Geld/Brief-Spread | echte Kursreihe `3AN.DE`, Kosten wirken im Kurs; zusätzlich grob ausgewiesen |
559
+ | Turbo UG523U | meist keine separate Orderproduktgebühr im Produkt selbst | Finanzierungskosten über steigendes Finanzierungslevel/Basispreis, Emittentenmarge, Spread, KO-Risiko | nur linearer Innerer-Wert-Proxy; Finanzierung/Spread nicht enthalten |
560
+ | Faktor MC2W9J | keine klassische TER; Morgan Stanley nennt u.a. Zinsanpassungssatz 2,00% p.a. | Geld/Brief-Spread, Management-/Finanzierungskomponente im virtuellen Index, Reset-Mechanik | 3x-Tagesmodell; reale Indexkosten/Spread nicht enthalten |
561
+ | Optionsschein HT0Q26 | keine laufende TER wie Fonds | Spread, Zeitwertverlust/Theta, implizite Volatilität, Emittentenmarge | Black-Scholes-Proxy mit konstantem IV; echter Emittentenpreis kann abweichen |
562
+
563
+ ## ETP-Kosten aus deinen PDFs
564
+
565
+ Deine Kosteninformationen für IE00BK5BZQ82 zeigen:
566
+
567
+ - Einstiegskosten: 0,00 EUR
568
+ - Ausstiegskosten: 0,00 EUR
569
+ - Laufende Produktkosten: 4,75% p.a.
570
+ - bezogen auf deinen Einsatz von {total_cost:,.2f} EUR entspricht 4,75% p.a. rechnerisch {total_cost * 0.0475:,.2f} EUR pro Jahr, wenn der Positionswert konstant bliebe.
571
+
572
+ Für die gewichtete Haltedauer bis 2026-04-14 hat das Script grob ca. 0,89% bzw. rund 377,55 EUR laufende ETP-Kosten geschätzt. Das ist keine separate Abbuchung, sondern steckt in der Produktentwicklung.
573
+
574
+ Wichtig: Öffentliche ETF-Portale zeigen für IE00BK5BZQ82 teils eine TER von 0,75% p.a. Diese Zahl ist nicht identisch mit deiner ex-ante Broker-Kosteninformation von 4,75% p.a. Für deine konkrete Kaufentscheidung/Ex-ante-Kostensicht zählt die Broker-Kosteninformation; für Produktbasisdaten sollte man zusätzlich KID/Prospekt prüfen.
575
+
576
+ ## Warum Turbo/Faktor/Optionsschein schwerer sind
577
+
578
+ Turbo:
579
+
580
+ - Die Kosten laufen primär über das Finanzierungslevel. Bei Open-End-Turbos wird der Basispreis/Finanzierungslevel typischerweise angepasst.
581
+ - Du siehst die Kosten nicht als Abbuchung, sondern als schlechtere Produktentwicklung gegenüber einem idealen linearen Modell.
582
+ - Zusätzlich kostet der Spread beim Kauf/Verkauf sofort Performance.
583
+
584
+ Faktor:
585
+
586
+ - Der Faktorpfad ist ähnlich wie beim ETP täglich neu gehebelt.
587
+ - Kosten stecken in der Index-/Faktorformel, im Zinsanpassungssatz und im Spread.
588
+ - Der wichtigste "Kostenblock" bei Seitwärtsbewegung ist aber nicht nur Gebühr, sondern Variance Drain durch täglichen Reset.
589
+
590
+ Optionsschein:
591
+
592
+ - Der größte laufende Effekt ist Theta/Zeitwertverlust.
593
+ - Zusätzlich kann implizite Volatilität den Schein teurer oder billiger machen, unabhängig davon, was Amazon macht.
594
+ - Spread ist sofortiger Einstiegsnachteil.
595
+
596
+ ## Praktisches Fazit
597
+
598
+ Für Kostenwahrheit gilt:
599
+
600
+ 1. Broker-Kosteninformation und Abrechnung für deinen Trade.
601
+ 2. KID/Final Terms/Prospekt für Produktmechanik.
602
+ 3. Aktueller Bid/Ask am Handelsplatz für real handelbare Kosten.
603
+ 4. Modellrechnung nur als Plausibilitätscheck.
604
+
605
+ Wenn du die Produkte wirklich ex post kostenbereinigt vergleichen willst, brauchst du für Turbo/Faktor/Optionsschein historische Geld-/Briefkurse oder mindestens tägliche Schlusskurse vom Handelsplatz/Emittenten. Ohne diese Daten kann man nur approximieren.
606
+ """
607
+ (output_dir / "amazon_costs.md").write_text(text, encoding="utf-8")
608
+
609
+
610
+ def parse_args() -> argparse.Namespace:
611
+ parser = argparse.ArgumentParser(description=__doc__)
612
+ parser.add_argument("--start", default=START_DATE)
613
+ parser.add_argument("--end", default=END_DATE)
614
+ parser.add_argument("--output-dir", default="outputs")
615
+ return parser.parse_args()
616
+
617
+
618
+ def main() -> None:
619
+ args = parse_args()
620
+ output_dir = Path(args.output_dir)
621
+ output_dir.mkdir(parents=True, exist_ok=True)
622
+
623
+ daily = build_daily(args.start, args.end)
624
+ summary = build_summary(daily)
625
+
626
+ daily.to_csv(output_dir / "amazon_derivate_daily.csv", index=False)
627
+ summary.to_csv(output_dir / "amazon_derivate_summary.csv", index=False)
628
+ write_trade_summary(output_dir)
629
+ write_readme(output_dir, args.start, args.end)
630
+ write_interpretation(output_dir, daily, summary)
631
+ write_cost_overview(output_dir)
632
+
633
+ print(f"Wrote {output_dir / 'amazon_derivate_daily.csv'}")
634
+ print(f"Wrote {output_dir / 'amazon_derivate_summary.csv'}")
635
+ print(f"Wrote {output_dir / 'amazon_etp_trades.csv'}")
636
+ print(f"Wrote {output_dir / 'amazon_choice_interpretation.md'}")
637
+ print(f"Wrote {output_dir / 'amazon_costs.md'}")
638
+
639
+
640
+ if __name__ == "__main__":
641
+ main()
outputs/README.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Amazon Derivatives Analysis Outputs
2
+
3
+ Generated for 2026-01-01 to 2026-04-14.
4
+
5
+ ## Source hierarchy
6
+
7
+ 1. Broker PDFs are the source of truth for executed ETP trades.
8
+ 2. Official issuer documents are the source of truth for product mechanics.
9
+ 3. Exchange/broker bid-ask quotes are the source of truth for tradable prices.
10
+ 4. This model is a learning, risk, and plausibility model.
11
+
12
+ ## ETP position
13
+
14
+ - ISIN: IE00BK5BZQ82
15
+ - Quantity: 7,000
16
+ - Cost basis: 42,216.50 EUR
17
+ - Weighted average entry: 6.0309 EUR
18
+ - Running product cost from PDFs: 4.75% p.a.
19
+
20
+ ## Model limitations
21
+
22
+ - `3AN.DE`, `AMZ.DE`, `AMZN`, and `EURUSD=X` are fetched from Yahoo Finance.
23
+ - UG523U is modeled from a constant USD financing level of 172.9414; issuer financing adjustments, spreads, and intraday knock-out handling are not included.
24
+ - MC2W9J is represented by a transparent 3x daily factor model because a stable public historical quote endpoint was not found.
25
+ - HT0Q26 is represented by a Black-Scholes proxy with constant IV 36.76%, strike 245 USD, ratio 0.1, and expiry 2026-12-18.
outputs/amazon_choice_interpretation.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Was deine Wahl bis 2026-04-14 gezeigt hat
2
+
3
+ ## Harte Depot-Wahrheit
4
+
5
+ - Dein gewichteter ETP-Einstieg: 6.0309 EUR.
6
+ - Letzter verwendeter ETP-Schlusskurs: 7.9035 EUR.
7
+ - Depotwert ETP: 55,324.50 EUR.
8
+ - P/L auf deine 7.000 Stk.: 13,108.00 EUR (31.05%).
9
+ - Geschätzte laufende Produktkosten über die gewichtete Haltedauer von 68.7 Tagen: ca. 0.89% bzw. 377.55 EUR. Diese Kosten sind nicht als separate Brokerabbuchung sichtbar, sondern in der Produkt-/Indexentwicklung enthalten.
10
+
11
+ ## 1.000-EUR-Vergleich seit Jahresanfang
12
+
13
+ | Instrument | Endwert | Performance | Max. Drawdown | Einordnung |
14
+ |---|---:|---:|---:|---|
15
+ | Amazon EUR | 1,089.73 EUR | 8.97% | -21.17% | Basiswert, kein Hebel |
16
+ | ETP real IE00BK5BZQ82 | 1,141.88 EUR | 14.19% | -51.69% | echte Historie über 3AN.DE |
17
+ | ETP/Faktor 3x Modell | 1,160.03 EUR | 16.00% | -53.70% | täglicher 3x-Pfad |
18
+ | Turbo UG523U Modell | 1,407.87 EUR | 40.79% | -65.89% | stärkste Performance, höchstes KO-Risiko |
19
+ | Optionsschein HT0Q26 Modell | 1,218.96 EUR | 21.90% | -69.70% | hoher Hebel, stark abhängig von IV/Zeitwert |
20
+
21
+ ## Urteil zur Produktwahl
22
+
23
+ Deine Wahl war aus heutiger Sicht nicht schlecht, aber sie war nicht das maximal aggressive Produkt. Der Turbo hätte im Modell am meisten gebracht, hatte aber auch den tiefsten zwischenzeitlichen Absturz. Das ist genau der Trade-off: mehr Performance gegen viel höheres Knock-out- und Timing-Risiko.
24
+
25
+ Der echte ETP hat Amazon klar geschlagen und lag nahe am transparenten 3x-Tagesmodell. Am Ende lag er rund -1.56% unter dem modellierten 3x-Pfad. Das ist die Zone, in der Tracking, Swap-/Indexkosten, FX, Handelsplatz und Spread sichtbar werden. Es ist kein Beweis für Fehlpreisung, aber ein guter Plausibilitätscheck.
26
+
27
+ Kosten-/Mechanik-Vergleich:
28
+
29
+ - ETP: laufende Kosten aus deinen PDFs 4,75% p.a.; kein Knock-out; täglicher Reset mit Variance Drain.
30
+ - Turbo: keine tägliche Reset-Mechanik; dafür Finanzierungslevel, Spread und Knock-out. Performance kann viel besser sein, aber ein falscher Gap kann die Position komplett beenden.
31
+ - Faktor: ähnlich wie ETP, täglicher Faktorpfad; privat gut modellierbar, echte Emittentenbedingungen bleiben entscheidend.
32
+ - Optionsschein: privat nur approximativ modellierbar, weil implizite Volatilität und Zeitwert den Preis stark bewegen.
33
+
34
+ ## Praktische Lesart
35
+
36
+ Wenn dein Hauptproblem war, dass du das Produkt anfangs nicht vollständig verstanden hattest, dann war der ETP trotzdem die robustere gehebelte Wahl als ein Turbo: Du hattest keine KO-Schwelle, und der Nachkauf zu 4,50 EUR hat deinen Durchschnitt stark verbessert. Der Preis dafür war Variance Drain und laufende Produktkosten.
37
+
38
+ Wenn du ex post nur auf Rendite schaust, wäre der Turbo im Modell besser gewesen. Wenn du Risiko, KO-Gefahr und Produktverständnis mitbewertest, war der ETP die defensivere Hebelentscheidung.
outputs/amazon_costs.md ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Kosten der verglichenen Produkte
2
+
3
+ ## Wichtigste Einordnung
4
+
5
+ Bei diesen Produkten gibt es nicht nur "Gebühren" wie bei einem Fonds. Ein großer Teil der Kosten steckt in Geld/Brief-Spreads, Finanzierungskomponenten, Indexformeln, impliziter Volatilität und Emittentenpreisstellung. Deshalb ist der Broker-Ausführungskurs die Wahrheit für den Einstieg, und der handelbare Geldkurs die Wahrheit für den Ausstieg.
6
+
7
+ ## Kostenmatrix
8
+
9
+ | Produkt | Explizit sichtbar | Im Preis versteckt | In unserem Modell |
10
+ |---|---:|---|---|
11
+ | ETP IE00BK5BZQ82 | laut deinen Scalable-PDFs: 0 EUR Einstieg, 0 EUR Ausstieg, 4,75% p.a. laufende Produktkosten | Swap-/Indexfinanzierung, Tracking, FX, Geld/Brief-Spread | echte Kursreihe `3AN.DE`, Kosten wirken im Kurs; zusätzlich grob ausgewiesen |
12
+ | Turbo UG523U | meist keine separate Orderproduktgebühr im Produkt selbst | Finanzierungskosten über steigendes Finanzierungslevel/Basispreis, Emittentenmarge, Spread, KO-Risiko | nur linearer Innerer-Wert-Proxy; Finanzierung/Spread nicht enthalten |
13
+ | Faktor MC2W9J | keine klassische TER; Morgan Stanley nennt u.a. Zinsanpassungssatz 2,00% p.a. | Geld/Brief-Spread, Management-/Finanzierungskomponente im virtuellen Index, Reset-Mechanik | 3x-Tagesmodell; reale Indexkosten/Spread nicht enthalten |
14
+ | Optionsschein HT0Q26 | keine laufende TER wie Fonds | Spread, Zeitwertverlust/Theta, implizite Volatilität, Emittentenmarge | Black-Scholes-Proxy mit konstantem IV; echter Emittentenpreis kann abweichen |
15
+
16
+ ## ETP-Kosten aus deinen PDFs
17
+
18
+ Deine Kosteninformationen für IE00BK5BZQ82 zeigen:
19
+
20
+ - Einstiegskosten: 0,00 EUR
21
+ - Ausstiegskosten: 0,00 EUR
22
+ - Laufende Produktkosten: 4,75% p.a.
23
+ - bezogen auf deinen Einsatz von 42,216.50 EUR entspricht 4,75% p.a. rechnerisch 2,005.28 EUR pro Jahr, wenn der Positionswert konstant bliebe.
24
+
25
+ Für die gewichtete Haltedauer bis 2026-04-14 hat das Script grob ca. 0,89% bzw. rund 377,55 EUR laufende ETP-Kosten geschätzt. Das ist keine separate Abbuchung, sondern steckt in der Produktentwicklung.
26
+
27
+ Wichtig: Öffentliche ETF-Portale zeigen für IE00BK5BZQ82 teils eine TER von 0,75% p.a. Diese Zahl ist nicht identisch mit deiner ex-ante Broker-Kosteninformation von 4,75% p.a. Für deine konkrete Kaufentscheidung/Ex-ante-Kostensicht zählt die Broker-Kosteninformation; für Produktbasisdaten sollte man zusätzlich KID/Prospekt prüfen.
28
+
29
+ ## Warum Turbo/Faktor/Optionsschein schwerer sind
30
+
31
+ Turbo:
32
+
33
+ - Die Kosten laufen primär über das Finanzierungslevel. Bei Open-End-Turbos wird der Basispreis/Finanzierungslevel typischerweise angepasst.
34
+ - Du siehst die Kosten nicht als Abbuchung, sondern als schlechtere Produktentwicklung gegenüber einem idealen linearen Modell.
35
+ - Zusätzlich kostet der Spread beim Kauf/Verkauf sofort Performance.
36
+
37
+ Faktor:
38
+
39
+ - Der Faktorpfad ist ähnlich wie beim ETP täglich neu gehebelt.
40
+ - Kosten stecken in der Index-/Faktorformel, im Zinsanpassungssatz und im Spread.
41
+ - Der wichtigste "Kostenblock" bei Seitwärtsbewegung ist aber nicht nur Gebühr, sondern Variance Drain durch täglichen Reset.
42
+
43
+ Optionsschein:
44
+
45
+ - Der größte laufende Effekt ist Theta/Zeitwertverlust.
46
+ - Zusätzlich kann implizite Volatilität den Schein teurer oder billiger machen, unabhängig davon, was Amazon macht.
47
+ - Spread ist sofortiger Einstiegsnachteil.
48
+
49
+ ## Praktisches Fazit
50
+
51
+ Für Kostenwahrheit gilt:
52
+
53
+ 1. Broker-Kosteninformation und Abrechnung für deinen Trade.
54
+ 2. KID/Final Terms/Prospekt für Produktmechanik.
55
+ 3. Aktueller Bid/Ask am Handelsplatz für real handelbare Kosten.
56
+ 4. Modellrechnung nur als Plausibilitätscheck.
57
+
58
+ Wenn du die Produkte wirklich ex post kostenbereinigt vergleichen willst, brauchst du für Turbo/Faktor/Optionsschein historische Geld-/Briefkurse oder mindestens tägliche Schlusskurse vom Handelsplatz/Emittenten. Ohne diese Daten kann man nur approximieren.
outputs/amazon_derivate_daily.csv ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ date,amzn_eur_used,amzn_eur,amzn_usd,amzn_usd_used,eurusd,amzn_daily_return,etp_real,etp_real_daily_return,etp_model_3x,etp_model_3x_daily_return,etp_drag_tracking,turbo_intrinsic_eur_per_unit,turbo_leverage_model,turbo_ko_distance_pct,turbo_knocked_out_model,factor_model_3x,option_model_price,option_delta,option_omega,option_theta_per_day,option_vega_per_vol_point_eur,option_intrinsic_eur,option_time_value_eur,fair_1000_amzn_eur,fair_1000_etp_real,fair_1000_etp_model_3x,fair_1000_turbo_model,fair_1000_option_model,portfolio_etp_value_eur,portfolio_etp_pnl_eur,portfolio_etp_pnl_pct,portfolio_etp_break_even_gap_pct
2
+ 2026-01-02,192.8000030517578,192.8000030517578,226.5,226.5,1.175046682357788,,6.921500205993652,,6.921500205993652,,0.0,45.57997635679639,4.2290127075763735,0.3096921847515981,False,1000.0,2.3585173298987057,0.5166659099332875,4.2226377056130495,-0.004575728850520545,0.07523701588220208,0.0,2.3585173298987057,1000.0,1000.0,1000.0,1000.0000000000001,1000.0,48450.50144195557,6234.001441955566,0.14766741539340233,0.14766741539340233
3
+ 2026-01-05,198.55999755859375,198.55999755859375,233.05999755859375,233.05999755859375,1.1704667806625366,0.029875489707796632,7.49399995803833,0.08271324640703237,7.541849830493679,0.0896264691233899,-0.0063445803789250466,51.36292507555314,3.8766705649020676,0.3476240943961004,False,1089.6264691233898,2.6519766697006175,0.547515982335504,4.110888969171717,-0.004751490917550927,0.07690275767923696,0.0,2.6519766697006175,1029.8754897077965,1082.7132464070323,1089.6264691233898,1126.8747634594697,1124.425348112458,52457.99970626831,10241.49970626831,0.24259471311615854,0.24259471311615854
4
+ 2026-01-06,203.64999389648438,203.64999389648438,240.92999267578125,240.92999267578125,1.1714951992034912,0.025634550767903885,8.021499633789062,0.07038960217566026,8.121845627584772,0.07690365230371166,-0.01235507277494885,58.035741607824974,3.5436825972367094,0.39313081006503503,False,1173.422724245776,3.02492212307796,0.5837923732387125,3.9691231415200314,-0.004887718854949593,0.07811400602755901,0.0,3.02492212307796,1056.2758852333309,1158.9250010919409,1173.4227242457762,1273.2727448896826,1282.5524259378137,56150.49743652344,13933.997436523438,0.3300604606379838,0.3300604606379838
5
+ 2026-01-07,208.1999969482422,208.1999969482422,241.55999755859375,241.55999755859375,1.1688251495361328,0.02234226952184737,8.549500465393066,0.065823207094581,8.666227019663783,0.0670268085655421,-0.013469131838557025,58.70732468909158,3.520328397156827,0.396773690733357,False,1252.0735045502545,3.0584644304641007,0.5864687680663194,3.962934769249755,-0.004914581504491463,0.07826801902413175,0.0,3.0584644304641007,1079.8754857506417,1235.2091614459034,1252.0735045502547,1288.006914034693,1296.7742028825612,59846.503257751465,17630.003257751465,0.4176093057868715,0.4176093057868715
6
+ 2026-01-08,209.64999389648438,209.64999389648438,246.2899932861328,246.2899932861328,1.1676785945892334,0.006964442696906659,8.695500373840332,0.01707701040993559,8.84729334409428,0.020893328090719976,-0.017156995292268995,62.81573853114558,3.357801182707836,0.424123970814003,False,1278.2334870745206,3.298325012420122,0.6073341755241999,3.883807712986118,-0.004987534985971688,0.07871477134104116,0.11047503072423856,3.1878499816958836,1087.3962166909464,1256.3028411543628,1278.233487074521,1378.1432890493193,1398.4739355558518,60868.502616882324,18652.002616882324,0.44181783465901536,0.44181783465901536
7
+ 2026-01-09,211.35000610351562,211.35000610351562,247.3800048828125,247.3800048828125,1.1657865047454834,0.00810881114487727,8.859999656677246,0.018917747773526283,9.062516436706051,0.02432643343463181,-0.02234663864537101,63.85269050533749,3.3232756749304855,0.43042675081161885,False,1309.3283489117562,3.3556750053421127,0.6119544029916016,3.8697663242900058,-0.005014710624599992,0.07881168698621932,0.20415443763711325,3.1515205677049996,1096.2137072517473,1280.0692614304853,1309.3283489117566,1400.8934538601725,1422.7900566184237,62019.99759674072,19803.497596740723,0.46909378079046626,0.46909378079046626
8
+ 2026-01-12,212.14999389648438,212.14999389648438,246.47000122070312,246.47000122070312,1.1623716354370117,0.0037851325756619314,9.012999534606934,0.017268609916297306,9.165424915252194,0.011355397726985794,-0.016630476170461983,63.257394605176266,3.3520289673524433,0.4251648316753718,False,1324.1962930688667,3.3026916722169046,0.60758140260914,3.9008163509858544,-0.0050395291049299944,0.07865673550322563,0.1264656823934331,3.1762259898234717,1100.363021464953,1302.174278171971,1324.196293068867,1387.8329841595896,1400.3253782997429,63090.996742248535,20874.496742248535,0.49446298822139534,0.49446298822139534
9
+ 2026-01-13,209.6999969482422,209.6999969482422,242.60000610351562,242.60000610351562,1.1666978597640991,-0.01154841866004308,8.660499572753906,-0.03911017197987687,8.847886422896627,-0.03464525598012924,-0.021178713331785004,59.705780310251264,3.4826996931721794,0.4027873378122049,False,1278.3191735275575,3.0867793843787465,0.590175035448737,3.9756454786741178,-0.004978264714351516,0.077894747991739,0.0,3.0867793843787465,1087.6555686150457,1251.2460182048933,1278.3191735275577,1309.9124897055501,1308.77960710652,60623.497009277344,18406.997009277344,0.4360142837344958,0.4360142837344958
10
+ 2026-01-14,204.1999969482422,204.1999969482422,236.64999389648438,236.64999389648438,1.164252758026123,-0.02622794506457482,7.980999946594238,-0.07845963393351885,8.151700785784637,-0.07868383519372435,-0.0209405182643696,54.72058662287053,3.7145694077160187,0.368382549791342,False,1177.736118352737,2.7937175875316487,0.5625270388482639,4.092796229829715,-0.0049013048610596415,0.07707310396926226,0.0,2.7937175875316487,1059.1285981122314,1153.0737136557643,1177.7361183527375,1200.5400396551806,1184.5228152941468,55866.99962615967,13650.499626159668,0.3233451287093829,0.3233451287093829
11
+ 2026-01-15,205.75,205.75,238.17999267578125,238.17999267578125,1.1646324396133423,0.007590612511863437,8.08899974822998,0.013532114065710532,8.337329991717269,0.02277183753559031,-0.029785344197002184,56.016465329988975,3.6509063562954753,0.3772294700735699,False,1204.5553338996624,2.86224919997774,0.5694997579224469,4.069138724088488,-0.004932710578422815,0.07720353507208963,0.0,2.86224919997774,1067.1680329007345,1168.6772386751265,1204.5553338996626,1228.9709167792585,1213.5798892351868,56622.99823760986,14406.498237609863,0.3412527859393806,0.3412527859393806
12
+ 2026-01-16,205.1999969482422,205.1999969482422,239.1199951171875,239.1199951171875,1.1609008312225342,-0.002673161855444972,8.012499809265137,-0.009457280423526226,8.270468894186921,-0.008019485566334916,-0.031191591217168302,57.00624320123488,3.6132528152608767,0.3826648513148818,False,1194.8954197856024,2.912772956736588,0.5736878525397497,4.056857857059924,-0.004970858524416637,0.07749257617962449,0.0,2.912772956736588,1064.315320021834,1157.6247303043835,1194.8954197856026,1250.6861073159537,1235.001719008648,56087.49866485596,13870.998664855957,0.32856818222391615,0.32856818222391615
13
+ 2026-01-19,200.75,200.75,,233.37053963541985,1.162493348121643,-0.021686145294459336,7.559000015258789,-0.05659903960084345,7.732405123908989,-0.06505843588337801,-0.02242576609365987,51.982353045771205,3.861887510618012,0.34941974353983407,False,1117.1573927301388,2.6171284118730322,0.5457798461702309,4.186470316917308,-0.004879836651557609,0.07599223692125541,0.0,2.6171284118730322,1041.2344233527215,1092.1042823509702,1117.157392730139,1140.4646777097366,1109.6498544640474,52913.00010681152,10696.500106811523,0.25337249906580417,0.25337249906580417
14
+ 2026-01-20,199.83999633789062,199.83999633789062,231.0,231.0,1.1639139652252197,-0.00453301948746887,7.53849983215332,-0.002712023159688659,7.627251694573938,-0.01359905846240661,-0.011636152309455916,49.88220928233777,3.9787387226009576,0.33571255928308674,False,1101.9651040346919,2.4991202777418717,0.5339865313895427,4.240667730641555,-0.004831005405476244,0.07523916755593092,0.0,2.4991202777418717,1036.5144874206403,1089.142470244439,1101.965104034692,1094.388660754535,1059.614973382114,52769.49882507324,10552.998825073242,0.24997332382062099,0.24997332382062099
15
+ 2026-01-21,197.1199951171875,197.1199951171875,231.30999755859375,231.30999755859375,1.1727865934371948,-0.013610895068793538,7.190000057220459,-0.046229327146289134,7.3158105271395675,-0.040832685206380614,-0.017197065103365827,49.7691548361987,3.9629185423958737,0.33750505985607715,False,1056.968909833227,2.4895437850545954,0.5352568097022956,4.240507577905539,-0.00480755372100952,0.0746367351020115,0.0,2.4895437850545954,1022.4065974950736,1038.7921466785915,1056.9689098332271,1091.9083074245095,1055.5545865594793,50330.00040054321,8113.500400543213,0.19218789810958303,0.19218789810958303
16
+ 2026-01-22,199.86000061035156,199.86000061035156,234.33999633789062,234.33999633789062,1.1672970056533813,0.013900190549087199,7.538000106811523,0.04840056284027283,7.620884008184341,0.0417005716472616,-0.010875890681947942,52.598949573697794,3.8166995715710432,0.35502543831546785,False,1101.0451175866554,2.6372141607991915,0.5497753250791023,4.185090870925017,-0.0048988130133981,0.07555924943077913,0.0,2.6372141607991915,1036.618244018899,1089.0702712518905,1101.0451175866556,1153.9924716493367,1118.1661153672571,52766.000747680664,10549.500747680664,0.24989046338944876,0.24989046338944876
17
+ 2026-01-23,203.39999389648438,203.39999389648438,239.16000366210938,239.16000366210938,1.1754610538482666,0.017712365032132693,7.9710001945495605,0.05744230321073718,8.025835646445852,0.05313709509639808,-0.006832366660856626,56.334153688308554,3.611673916932167,0.3828961929422878,False,1159.5514567052824,2.8441107690390126,0.5725441064334309,4.095837791300479,-0.004957497062575117,0.07578467012583111,0.0,2.8441107690390126,1054.9792047559301,1151.6289759909414,1159.5514567052824,1235.940827334559,1205.8892817892342,55797.001361846924,13580.501361846924,0.3216870503676743,0.3216870503676743
18
+ 2026-01-26,201.64999389648438,201.64999389648438,238.4199981689453,238.4199981689453,1.1858457326889038,-0.008603736738018841,7.889999866485596,-0.010161877567052557,7.81867911543197,-0.025811210214056524,0.009121841426240174,55.21679284578836,3.6411897144435397,0.3786172551450684,False,1129.622030302247,2.76884780126797,0.56846434400986,4.1277998476959095,-0.004922529320030926,0.0746840721541179,0.0,2.76884780126797,1045.9024414141256,1139.9262633342514,1129.622030302247,1211.4265354934753,1173.9781455779623,55229.99906539917,13013.49906539917,0.3082562283798791,0.3082562283798791
19
+ 2026-01-27,202.0,202.0,244.67999267578125,244.67999267578125,1.1876484155654907,0.0017357109551676686,8.078499794006348,0.023890992485493534,7.859392016418758,0.005207132865503006,0.027878464024934768,60.40389709240964,3.4107163738435657,0.4148144555079425,False,1135.50412230183,3.066991615908931,0.5974211092095126,4.013086679100834,-0.005014201416684079,0.0752319831147256,0.0,3.066991615908931,1047.7178257397247,1167.1602331255867,1135.50412230183,1325.2287938802951,1300.3896884830833,56549.49855804443,14332.998558044434,0.339511768101203,0.339511768101203
20
+ 2026-01-28,203.25,203.25,243.00999450683594,243.00999450683594,1.2017642259597778,0.006188118811881083,8.125499725341797,0.005817903389725876,8.005296571179004,0.018564356435643248,0.015015452968420107,58.30477642224399,3.468172812901616,0.40515801599175183,False,1156.5840255623834,2.9435422727673535,0.5895983049324206,4.050333769313087,-0.004940409631102653,0.07407978284986029,0.0,2.9435422727673535,1054.201228126728,1173.9506586022412,1156.5840255623834,1279.1752230373902,1248.0477609608124,56878.49807739258,14661.998077392578,0.3473049181574166,0.3473049181574166
21
+ 2026-01-29,199.44000244140625,199.44000244140625,241.72999572753906,241.72999572753906,1.1977769136428833,-0.018745375442035694,7.68149995803833,-0.0546427644220725,7.55510970192423,-0.05623612632610708,0.016729109318149193,57.43022339471169,3.514099876162525,0.3977566720723844,False,1091.5422201940999,2.8857085514346252,0.5834849563115453,4.080673081755642,-0.004945815183018129,0.07407448702183378,0.0,2.8857085514346252,1034.4398303140374,1109.802749321102,1091.5422201940996,1259.9880031782493,1223.5265413795207,53770.49970626831,11553.99970626831,0.2736844529098412,0.2736844529098412
22
+ 2026-01-30,202.64999389648438,202.64999389648438,239.3000030517578,239.3000030517578,1.19657301902771,0.016095023143720688,7.990499973297119,0.040226520464331283,7.919908698441687,0.048285069431162064,0.008913142504953564,55.45721155043118,3.6061639643786747,0.3837057121762506,False,1144.2474120832167,2.7663590539483796,0.571858413075697,4.134123679802142,-0.004920481636089682,0.07371784852408525,0.0,2.7663590539483796,1051.0891633237284,1154.4462523280386,1144.2474120832167,1216.701191688135,1172.9229286889276,55933.499813079834,13716.999813079834,0.32492034661991953,0.32492034661991953
23
+ 2026-02-02,207.35000610351562,207.35000610351562,242.9600067138672,242.9600067138672,1.1849182844161987,0.023192757703373257,8.420000076293945,0.05375134277356142,8.470962268869076,0.06957827311011977,-0.006016104305223702,59.09150667580836,3.4699348946877704,0.40486897130396304,False,1223.8621710266905,2.95776425316246,0.5885405595904589,4.0799912509492655,-0.005045950329282102,0.07458130460720565,0.0,2.95776425316246,1075.4668196133368,1216.4992885505762,1223.8621710266905,1296.43565879115,1254.0778122200575,58940.00053405762,16723.500534057617,0.3961365943187525,0.3961365943187525
24
+ 2026-02-03,200.85000610351562,200.85000610351562,238.6199951171875,238.6199951171875,1.1798714399337769,-0.03134796145969243,7.650000095367432,-0.09144892802250759,7.674320072676027,-0.09404388437907729,-0.0031690074271445434,55.66589112528555,3.633147065515455,0.3797736985891609,False,1108.7654185187298,2.752680512427936,0.567822538734414,4.171852668035127,-0.005007359797233219,0.07421849032176489,0.0,2.752680512427936,1041.75312720092,1105.2517326724828,1108.7654185187298,1221.2795085617736,1167.1232928978134,53550.00066757202,11333.500667572021,0.268461399395308,0.268461399395308
25
+ 2026-02-04,200.5500030517578,200.5500030517578,232.99000549316406,232.99000549316406,1.1816140413284302,-0.0014936671279123237,7.621500015258789,-0.0037255006213531283,7.6399314338111255,-0.004481001383736971,-0.0024125109907094933,50.81913670021592,3.880023583889681,0.34721937889460874,False,1103.7970391441077,2.4796908346219015,0.5400758402204173,4.294561848488281,-0.004900511888899394,0.07293839825433963,0.0,2.4796908346219015,1040.19709479942,1101.13411665566,1103.7970391441077,1114.9443409625273,1051.376982982949,53350.50010681152,11134.000106811523,0.2637357456636984,0.2637357456636984
26
+ 2026-02-05,190.5,190.5,222.69000244140625,222.69000244140625,1.180163860321045,-0.05011220592783594,6.493500232696533,-0.1480023329139828,6.491369981954056,-0.15033661778350782,0.0003281665886245566,42.15397887872362,4.476306700347809,0.2876616150985609,False,937.8559255597323,2.0294798817489195,0.48715998349866374,4.529447866437321,-0.004660652771958557,0.07000685481831333,0.0,2.0294798817489195,988.070523779295,938.1636985394447,937.8559255597324,924.8354704869889,860.4897051301642,45454.50162887573,3238.0016288757324,0.07669990711867958,0.07669990711867958
27
+ 2026-02-06,174.0,174.0,210.32000732421875,210.32000732421875,1.177786946296692,-0.08661417322834641,4.822999954223633,-0.2572572909232341,4.8046360496352865,-0.25984251968503913,0.0038221218836629323,31.736306334306118,5.626748088817795,0.21613452489813745,False,694.1610787607469,1.5521641445761936,0.4205923874904123,4.838799338703545,-0.004274587685667587,0.06486553250592716,0.0,1.5521641445761936,902.489612270852,696.8142470106654,694.161078760747,696.2773759660791,658.1101291474744,33760.99967956543,-8455.50032043457,-0.20028899412396983,-0.20028899412396983
28
+ 2026-02-09,176.52000427246094,176.52000427246094,208.72000122070312,208.72000122070312,1.182578206062317,0.014482783175062908,5.150000095367432,0.06780015431213848,5.0133895560611625,0.04344834952518872,0.027249137091512887,30.254744284385836,5.833654589602239,0.2068828008834387,False,724.3212319375259,1.4769442031643545,0.4105353047048817,4.905921784826277,-0.004212315700661218,0.06345525614121457,0.0,1.4769442031643545,915.5601736431173,744.0583604848852,724.321231937526,663.7727068472817,626.217235905486,36050.00066757202,-6166.4993324279785,-0.14606846452045952,-0.14606846452045952
29
+ 2026-02-10,176.5800018310547,176.5800018310547,206.9600067138672,206.9600067138672,1.1904053688049316,0.000339890987659075,5.167500019073486,0.0033980433751441552,5.01850157384435,0.001019672962977225,0.029689827339238528,28.577329710818645,6.083729661670796,0.19670597505205345,False,725.059802714243,1.403130050649108,0.4004141395619413,4.961386173052525,-0.004122074816345755,0.06201768013904718,0.0,1.403130050649108,915.8713642947982,746.5867030674514,725.0598027142431,626.9711394125703,594.9203903917763,36172.500133514404,-6043.999866485596,-0.1431667681234966,-0.1431667681234966
30
+ 2026-02-11,171.6999969482422,171.6999969482422,204.0800018310547,204.0800018310547,1.1889617443084717,-0.027636226255572827,4.722799777984619,-0.08605713390371705,4.602424238968218,-0.08290867876671848,0.026154811631051933,26.189742420321227,6.553923099640414,0.18005290711798727,False,664.9460524443475,1.305748529675034,0.38405950372805614,5.048606699998845,-0.004016990576403612,0.06042279202148524,0.0,1.305748529675034,890.560136050147,682.3375911908411,664.9460524443475,574.5887671224318,553.6310940446275,33059.598445892334,-9156.901554107666,-0.21690338029224754,-0.21690338029224754
31
+ 2026-02-12,167.24000549316406,167.24000549316406,199.60000610351562,199.60000610351562,1.1876062154769897,-0.025975489425445697,4.354599952697754,-0.07796219246965175,4.243773572516016,-0.07792646827633709,0.026115054983018915,22.447344714180772,7.487263412365477,0.15414820340020174,False,613.1291549830675,1.1631963121204534,0.35877697899620975,5.183936110613191,-0.003837204423235927,0.05778532798365777,0.0,1.1631963121204534,867.4274006534529,629.1410565771422,613.1291549830675,492.4825879343325,493.18963968367814,30482.199668884277,-11734.300331115723,-0.27795530968023696,-0.27795530968023696
32
+ 2026-02-13,168.5399932861328,168.5399932861328,198.7899932861328,198.7899932861328,1.1868449449539185,0.007773186739233218,4.464200019836426,0.025168802721079464,4.342736505890586,0.023319560217699653,0.0279693492297044,21.779250437079163,7.690553643891293,0.1494644618705112,False,627.4270572339224,1.1358030523474807,0.35377429578287495,5.217035336602452,-0.0038077540853297264,0.05721088834237853,0.0,1.1358030523474807,874.1700758214598,644.9757837138638,627.4270572339226,477.824961263537,481.5750293411079,31249.40013885498,-10967.09986114502,-0.2597823093137759,-0.2597823093137759
33
+ 2026-02-16,168.60000610351562,168.60000610351562,,200.08546344774004,1.1867464780807495,0.0003560746396906733,4.412399768829346,-0.011603478960823588,4.347375520900405,0.00106822391907202,0.01495712703361618,22.872672427592487,7.371242107246056,0.15695526604815302,False,628.0972898239327,1.163298159788634,0.3594060535302128,5.2089709167806415,-0.0038751341125708165,0.05762640582598401,0.0,1.163298159788634,874.4813456162362,637.4918207772993,628.0972898239327,501.81404765432626,493.2328226049523,30886.79838180542,-11329.70161819458,-0.2683714097140829,-0.2683714097140829
34
+ 2026-02-17,169.8000030517578,169.8000030517578,201.14999389648438,201.14999389648438,1.1849884986877441,0.007117419364180977,4.515999794006348,0.023479292585605327,4.440201805047874,0.02135225809254293,0.017070843237868782,23.80495163262983,7.130805407551828,0.16311070626515334,False,641.50858526348,1.193648035907118,0.36481479017139407,5.188024732419893,-0.003930853826372264,0.05821938822857982,0.0,1.193648035907118,880.7053960791402,652.4596777582599,641.5085852634801,522.2677485895689,506.10102405242156,31611.998558044434,-10604.501441955566,-0.25119328797876583,-0.25119328797876583
35
+ 2026-02-18,174.3800048828125,174.3800048828125,204.7899932861328,204.7899932861328,1.185185194015503,0.026972919603886147,4.875400066375732,0.07958376633373243,4.799497423985633,0.08091875881165844,0.015814706350455232,26.872250384960704,6.4301111024360464,0.18415829457916288,False,693.4186637500237,1.3045202637247044,0.38459300251949957,5.0941656489407,-0.00408830421188404,0.060160243096252425,0.0,1.3045202637247044,904.4605919222917,704.3848762951555,693.4186637500238,589.5626222928878,553.1103151914222,34127.80046463013,-8088.699535369873,-0.19160042958013745,-0.19160042958013745
36
+ 2026-02-19,174.22000122070312,174.22000122070312,204.86000061035156,204.86000061035156,1.1788839101791382,-0.000917557389775836,4.814799785614014,-0.01242980677209693,4.786285980999868,-0.002752672169327619,0.005957396763865974,27.07527037628443,6.418201195948204,0.18456309831163376,False,691.5099094926268,1.3096629023676833,0.38449263899272546,5.101696669462369,-0.004117393529053066,0.060397904009240895,0.0,1.3096629023676833,903.6306974224123,695.6295083896193,691.5099094926268,594.0167709684927,555.2907692325208,33703.598499298096,-8512.901500701904,-0.2016486800351025,-0.2016486800351025
37
+ 2026-02-20,176.86000061035156,176.86000061035156,210.11000061035156,210.11000061035156,1.1769136190414429,0.015153250896285275,5.03849983215332,0.04646092392204815,5.00386935799426,0.045459752688855826,0.006920739068404069,31.581417708993943,5.652889728429411,0.2149202019317038,False,722.9457789600547,1.4855552460133292,0.4132517327815387,4.966243521176163,-0.004339911585126422,0.0631417352475401,0.0,1.4855552460133292,917.3236400980393,727.9490980568413,722.9457789600547,692.8792033979383,629.8682766418898,35269.49882507324,-6947.001174926758,-0.16455654009514664,-0.16455654009514664
38
+ 2026-02-23,172.8800048828125,172.8800048828125,205.27000427246094,205.27000427246094,1.1834739446640015,-0.02250365098837459,4.6956000328063965,-0.06805593148156908,4.666053369123086,-0.06751095296512366,0.006332260123476319,27.31670132513084,6.349485506472042,0.1869338647221599,False,674.1390204803477,1.301434723660811,0.3848120680144028,5.128532166830286,-0.004136009036383053,0.059898184106845234,0.0,1.301434723660811,896.6805090578877,678.4078441174148,674.1390204803478,599.3136352528553,551.8020610502384,32869.200229644775,-9347.299770355225,-0.22141342295915634,-0.22141342295915634
39
+ 2026-02-24,177.22000122070312,177.22000122070312,208.55999755859375,208.55999755859375,1.1793843507766724,0.02510409657168,5.059000015258789,0.07739159636967652,5.017464532284322,0.07531228971504,0.008278181680650087,30.201009141029786,5.855368033946472,0.20595761083577302,False,724.9099736989768,1.4115767644129453,0.4027584765590334,5.045635118481377,-0.004290073969657833,0.06173817775629172,0.0,1.4115767644129453,919.19086315122,730.9109101633723,724.9099736989768,662.5937868992893,598.5017563867424,35413.00010681152,-6803.499893188477,-0.16115736484996335,-0.16115736484996335
40
+ 2026-02-25,177.8000030517578,177.8000030517578,210.63999938964844,210.63999938964844,1.1775233745574951,0.0032727786201309783,5.116499900817871,0.01136585992995709,5.066727684229899,0.009818335860392935,0.00982334549829611,32.01516012691919,5.587475471236936,0.21798481676248982,False,732.027383289302,1.4815973897271688,0.4139254664667335,4.997620226401716,-0.004384130815528096,0.06276424101834134,0.0,1.4815973897271688,922.1991713559611,739.2183411895666,732.0273832893021,702.39527717845,628.1901646195666,35815.4993057251,-6401.000694274902,-0.15162319695557192,-0.15162319695557192
41
+ 2026-02-26,176.74000549316406,176.74000549316406,207.9199981689453,207.9199981689453,1.181516408920288,-0.005961740947131422,5.005000114440918,-0.021792199460246242,4.976108130520785,-0.017885222841394266,0.005806140695159945,29.604834858713488,5.944206144703097,0.2022569388760893,False,718.9349104131701,1.3787871855895828,0.39821725090978644,5.082522812632468,-0.004266336012424168,0.06104933868084717,0.0,1.3787871855895828,916.7012587946775,723.1091476536911,718.9349104131702,649.5140459698624,584.5991327309007,35035.000801086426,-7181.499198913574,-0.17011119346496217,-0.17011119346496217
42
+ 2026-02-27,176.25999450683594,176.25999450683594,210.0,210.0,1.1803030967712402,-0.002715915873085617,4.97760009765625,-0.005474528702928638,4.93556405734717,-0.008147747619256851,0.00851696783197542,31.397528398743585,5.66670084676701,0.2142841448028061,False,713.0772102084505,1.447052606581132,0.40941853073773204,5.033950302676684,-0.004359227387408028,0.06205425300491115,0.0,1.447052606581132,914.2115752950396,719.1504658695108,713.0772102084507,688.8447715059407,613.5433427759806,34843.20068359375,-7373.29931640625,-0.17465444355657744,-0.17465444355657744
43
+ 2026-03-02,177.52000427246094,177.52000427246094,208.38999938964844,208.38999938964844,1.1759449243545532,0.007148586207269769,4.963799953460693,-0.002772449358086182,5.041410972783515,0.021445758621809308,-0.0153947019478895,30.14477859930838,5.87865255546603,0.2049746294967454,False,728.3696919372942,1.384025642770015,0.39893315582198874,5.107941177683151,-0.004325720171733992,0.06108813757976821,0.0,1.384025642770015,920.7468955527199,717.1566576220436,728.3696919372942,661.3601192624034,586.8202133708539,34746.59967422485,-7469.9003257751465,-0.17694267231473826,-0.17694267231473826
44
+ 2026-03-03,177.55999755859375,177.55999755859375,208.72999572753906,208.72999572753906,1.1697274446487427,0.0002252888979847878,4.8765997886657715,-0.017567219793804822,5.044818294550556,0.0006758666939543634,-0.03334480967659326,30.595670719075954,5.832304718425227,0.20694059217480065,False,728.8619727529604,1.398640266015691,0.40036935812118823,5.108048229978545,-0.004367878358504139,0.06146533512092888,0.0,1.398640266015691,920.954329606142,704.5582089910067,728.8619727529605,671.2524482148807,593.0167433095605,34136.1985206604,-8080.3014793396,-0.19140150129308686,-0.19140150129308686
45
+ 2026-03-04,185.3000030517578,185.3000030517578,216.82000732421875,216.82000732421875,1.161224365234375,0.04359093038740269,5.59250020980835,0.14680319324265212,5.704543263835102,0.13077279116220808,-0.019641020997608782,37.78650245197236,4.941360278874328,0.25371951033251006,False,824.1772873018582,1.6989524032268777,0.4453604763996921,4.894560214553281,-0.004719681771432591,0.0656593798558904,0.0,1.6989524032268777,961.0995856779805,807.9896038962104,824.1772873018583,829.0154026448513,720.3476445516917,39147.50146865845,-3068.9985313415527,-0.07269665963169736,-0.07269665963169736
46
+ 2026-03-05,187.9600067138672,187.9600067138672,218.94000244140625,218.94000244140625,1.1635618209838867,0.014355119364819258,5.755000114440918,0.029056754320289535,5.950211462257488,0.04306535809445777,-0.03280746391196443,39.532581433886065,4.759709878583712,0.2659779696556537,False,859.6707773128315,1.7729698471427466,0.4567399127018238,4.847337633495103,-0.00479108391295317,0.06628757513194887,0.0,1.7729698471427466,974.8962849518664,831.4671593099705,859.6707773128318,867.3234300173435,751.7306846411396,40285.000801086426,-1931.4991989135742,-0.0457522342902319,-0.0457522342902319
47
+ 2026-03-06,185.5800018310547,185.5800018310547,213.2100067138672,213.2100067138672,1.1608065366744995,-0.012662294093421678,,,5.724181479898029,-0.03798688228026503,,34.690196377795615,5.2946953995417125,0.2328453841235656,False,827.0145646952651,1.5550129197471758,0.4242555785345212,5.011194953590704,-0.004598614238698256,0.0638012288785503,0.0,1.5550129197471758,962.5518614812216,,827.0145646952651,761.0841240075149,659.317996113245,,,,
48
+ 2026-03-09,181.16000366210938,181.16000366210938,213.49000549316406,213.49000549316406,1.152325987815857,-0.023817211581715125,5.145500183105469,,5.315179355581429,-0.07145163474514538,-0.03192350833801705,35.18848478807699,5.265039398929649,0.23446442259149092,False,767.9230220897437,1.5628277113043616,0.42447812774675087,5.03206689359536,-0.004661507465042671,0.06402488043437607,0.0,1.5628277113043616,939.6265601379496,743.4082250911065,767.9230220897438,772.0163019090743,662.6314301330499,36018.50128173828,-6197.998718261719,-0.14681460372749322,-0.14681460372749322
49
+ 2026-03-10,184.63999938964844,184.63999938964844,214.3300018310547,214.3300018310547,1.1617234945297241,0.019209514557251728,5.513999938964844,0.07161592512799686,5.621485401197765,0.057628543671755184,-0.019120473426831097,35.62689575096282,5.178478913250908,0.23932153799526712,False,812.1773075047887,1.576390205836202,0.42878019357935726,5.018237173299987,-0.004662542372207381,0.06377376015834865,0.0,1.576390205836202,957.6763302232998,796.6480928787681,812.1773075047887,781.6348010380335,668.3818625593501,38597.999572753906,-3618.5004272460938,-0.08571294226774118,-0.08571294226774118
50
+ 2026-03-11,184.16000366210938,184.16000366210938,212.64999389648438,212.64999389648438,1.1611299514770508,-0.0025996302487313327,5.386499881744385,-0.023122970372102536,5.5776440507224985,-0.007798890746193998,-0.034269696531343485,34.198234095995765,5.355263761059829,0.22960721895673553,False,805.8432254170208,1.5112435567146307,0.41879370102826086,5.075165691131086,-0.004604875446099101,0.06288526022775605,0.0,1.5112435567146307,955.1867258667573,778.2272226301404,805.8432254170208,750.2907379392815,640.7599967813406,37705.49917221069,-4511.000827789307,-0.10685397481528092,-0.10685397481528092
51
+ 2026-03-12,182.3000030517578,182.3000030517578,209.52999877929688,209.52999877929688,1.1543211936950684,-0.010099916232431339,5.171999931335449,-0.03982176833158513,5.40864283766265,-0.030299748697294016,-0.043752733066298455,31.697069220546883,5.726647255424723,0.21156645418215003,False,781.4263781974682,1.4048583068895641,0.40052068826957654,5.175019266028046,-0.00450819227247828,0.06155263656661746,0.0,1.4048583068895641,945.5394199491727,747.23683846123,781.4263781974682,695.4165349368499,595.6531627223195,36203.999519348145,-6012.5004806518555,-0.1424206289164629,-0.1424206289164629
52
+ 2026-03-13,181.6999969482422,181.6999969482422,207.6699981689453,207.6699981689453,1.1521666049957275,-0.0032913115385152514,5.052499771118164,-0.02310521303244284,5.355238251924729,-0.009873934615545754,-0.05653128144163477,30.141993370024906,5.97979789332948,0.20081136251322884,False,773.7106252322837,1.3392481248482468,0.38936520332906466,5.240280880058132,-0.00444091221252693,0.06054219254008845,0.0,1.3392481248482468,942.427355146173,729.9717721228942,773.7106252322837,661.2990128401078,567.834761216601,35367.49839782715,-6849.001602172852,-0.16223518297757633,-0.16223518297757633
53
+ 2026-03-16,182.02000427246094,182.02000427246094,211.74000549316406,211.74000549316406,1.1435105800628662,0.0017611850830681064,5.108500003814697,0.011083668527141821,5.383532949101426,0.005283555249204319,-0.05108781684574526,33.929380426922734,5.45741278073694,0.22434538805146764,False,777.7985680675949,1.4781413732382014,0.411227980777481,5.151449147143069,-0.004668248755621966,0.06275277886631496,0.0,1.4781413732382014,944.0871441459317,738.0625372792747,777.7985680675948,744.3922340223759,626.7248302566787,35759.50002670288,-6456.999973297119,-0.15294967544199822,-0.15294967544199822
54
+ 2026-03-17,185.60000610351562,185.60000610351562,215.1999969482422,215.1999969482422,1.1499539613723755,0.019668177931123854,5.441500186920166,0.0651855109830295,5.70118580092441,0.05900453379337156,-0.04554940376827177,36.748077199377654,5.09245484917108,0.2443521155041084,False,823.6922099615754,1.5917847920099137,0.43057003688514567,5.061989737201415,-0.0047891078991604925,0.06393456169938942,0.0,1.5917847920099137,962.6556180794804,786.1735209092553,823.6922099615753,806.2329149036116,674.909093026795,38090.50130844116,-4125.998691558838,-0.09773426720734402,-0.09773426720734402
55
+ 2026-03-18,183.36000061035156,183.36000061035156,209.8699951171875,209.8699951171875,1.153948187828064,-0.012068994717137738,5.229499816894531,-0.03895991229316209,5.494763056986078,-0.03620698415141321,-0.048275646709513564,32.00195251980395,5.683129684495055,0.2135324168602053,False,793.8687991698541,1.3898961830590153,0.39948556661112333,5.227364372592673,-0.004557876708989339,0.06096906918127335,0.0,1.3898961830590153,951.0373325104562,755.5442694874243,793.8687991698539,702.105509430177,589.3092942076067,36606.49871826172,-5610.001281738281,-0.13288646102207147,-0.13288646102207147
56
+ 2026-03-19,179.33999633789062,179.33999633789062,208.75999450683594,208.75999450683594,1.1464471817016602,-0.021924106997597725,4.8927998542785645,-0.06438473552063562,5.133359737422648,-0.06577232099279318,-0.046862073855915565,31.24312665993977,5.828257567923115,0.20711405427986573,False,741.6542056846912,1.3560801297697873,0.392567802689662,5.271358466599226,-0.004544135052496346,0.060644566740965744,0.0,1.3560801297697873,930.186688273787,706.8987515223447,741.654205684691,685.4572809641472,574.9714503170637,34249.59897994995,-7966.901020050049,-0.18871533689552777,-0.18871533689552777
57
+ 2026-03-20,178.67999267578125,178.67999267578125,205.3699951171875,205.3699951171875,1.157755732536316,-0.0036801810838998916,4.866799831390381,-0.005313935509838497,5.076684657215099,-0.011040543251699675,-0.04134289206370645,28.009876527361794,6.332990817981478,0.18751204232871665,False,733.4659403490244,1.2264107372586612,0.3724124853693924,5.386520799508676,-0.004350081246813461,0.05804467299140701,0.0,1.2264107372586612,926.7634328191064,703.1423371447696,733.4659403490243,614.5215238398268,519.9922517895315,34067.598819732666,-8148.901180267334,-0.19302645127538598,-0.19302645127538598
58
+ 2026-03-23,182.1199951171875,182.1199951171875,210.13999938964844,210.13999938964844,1.1560158729553223,0.019252309057613548,5.172999858856201,0.06291609231406237,5.369898363241349,0.057756927172840644,-0.03666708214311476,32.17827735751696,5.649137409408102,0.21509366403676888,False,775.8286792495221,1.373879838433239,0.3985172575007937,5.272824443900053,-0.004590291217487444,0.06034304498555781,0.0,1.373879838433239,944.6057688510346,747.3813053384955,775.8286792495219,705.9739808908192,582.5184411480432,36210.99901199341,-6005.500988006592,-0.1422548289888217,-0.1422548289888217
59
+ 2026-03-24,179.3000030517578,179.3000030517578,207.24000549316406,207.24000549316406,1.1607122421264648,-0.015484252915859864,4.919000148773193,-0.04910104717056174,5.120451770074676,-0.04645275874757959,-0.03934254834286721,29.549619835427812,6.042228321337096,0.198325013519979,False,739.7892967828908,1.266415286567283,0.38111777658417656,5.373188692624022,-0.004446419925552779,0.058413385184692225,0.0,1.266415286567283,929.979254220365,710.6841006106739,739.7892967828906,648.3026582575595,536.9539882166877,34433.00104141235,-7783.4989585876465,-0.1843710150909632,-0.1843710150909632
60
+ 2026-03-25,183.4600067138672,183.4600067138672,211.7100067138672,211.7100067138672,1.16146719455719,0.023201358568346153,5.250999927520752,0.0674933459455902,5.476856082722952,0.06960407570503846,-0.04123828557677012,33.378994168361125,5.460861884369456,0.22417192594640256,False,791.2816470019443,1.4126313523391627,0.406634429674267,5.2469840597315045,-0.0046489574399310235,0.060596785841569197,0.0,1.4126313523391627,951.5560363586546,758.6505484712208,791.2816470019441,732.3170575402024,598.9488965933665,36756.999492645264,-5459.500507354736,-0.12932148584924696,-0.12932148584924696
61
+ 2026-03-26,182.5800018310547,182.5800018310547,207.5399932861328,207.5399932861328,1.1561496257781982,-0.00479671236568191,5.125999927520752,-0.023804989854383507,5.39804337283178,-0.014390137097045619,-0.050396676447658106,29.925705561548483,5.99850958013704,0.20005963457062803,False,779.8949956192101,1.2723581414372953,0.38179225852927023,5.386485566240463,-0.004488649200989738,0.05854130473805713,0.0,1.2723581414372953,946.9916957524138,740.5908798618409,779.8949956192099,656.5537754406116,539.4737300878518,35881.999492645264,-6334.500507354736,-0.15004797904503542,-0.15004797904503542
62
+ 2026-03-27,174.3000030517578,174.3000030517578,199.33999633789062,199.33999633789062,1.1535090208053589,-0.045349976428188166,4.4344000816345215,-0.13491998744930345,4.663639953683004,-0.1360499292845645,-0.049154710553383496,22.88547021458022,7.551158924755875,0.15264474751500012,False,673.7903366158308,1.0167884847789253,0.3333602831936127,5.665740613990284,-0.004096467810031931,0.05364204249234876,0.0,1.0167884847789253,904.045644672352,640.6703676458127,673.7903366158306,502.09482417091664,431.1134253241186,31040.80057144165,-11175.69942855835,-0.2647234950447893,-0.2647234950447893
63
+ 2026-03-30,177.52000427246094,177.52000427246094,200.9499969482422,200.9499969482422,1.1460003852844238,0.018473902262336583,4.611000061035156,0.039824999131684136,4.922106839756208,0.05542170678700975,-0.06320601905838774,24.44030325634733,7.174582765412448,0.16195426282106085,False,711.132947087674,1.0583009500014864,0.34094233970781396,5.64904444273767,-0.004219888220186861,0.05459607288902303,0.0,1.0583009500014864,920.7468955527199,666.1850644810029,711.1329470876739,536.2070191750563,448.7145108435301,32277.000427246094,-9939.499572753906,-0.2354411088734003,-0.2354411088734003
64
+ 2026-03-31,178.94000244140625,178.94000244140625,208.27000427246094,208.27000427246094,1.1574207544326782,0.007999088185948189,4.770999908447266,0.03469959776495646,5.040223939771814,0.023997264557844566,-0.05341509316682014,30.52356209888221,5.895223107775299,0.20428078107648573,False,728.1981925547366,1.2725185713471352,0.3833666296286608,5.421077771699303,-0.00454545260337896,0.05820233881408484,0.0,1.2725185713471352,928.1120311671841,689.3014182555153,728.1981925547365,669.6704241341904,539.5417515977242,33396.99935913086,-8819.50064086914,-0.20891122288368624,-0.20891122288368624
65
+ 2026-04-01,183.0,183.0,210.57000732421875,210.57000732421875,1.159057378768921,0.02268915560076179,5.170499801635742,0.08373504524306208,5.383299215468316,0.06806746680228537,-0.03952955340493025,32.46483566170429,5.596008523777875,0.21758010126099814,False,777.7647988519403,1.3434908005698083,0.39637297926749876,5.359952242572847,-0.004650996372576296,0.059208566201621425,0.0,1.3434908005698083,949.1701094572754,747.0201036992477,777.7647988519402,712.2609149151849,569.633635309141,36193.498611450195,-6023.001388549805,-0.1426693683405731,-0.1426693683405731
66
+ 2026-04-02,182.25999450683594,182.25999450683594,209.77000427246094,209.77000427246094,1.1541746854782104,-0.004043745864284465,5.048500061035156,-0.023595347699653768,5.317993133652049,-0.012131237592853394,-0.0506757090210499,31.909038324819708,5.695844532162167,0.21295423925364876,False,768.3295492857096,1.317226540142806,0.3911274258102791,5.396716937562528,-0.004639976770836633,0.058902665506447564,0.0,1.317226540142806,945.3319067526551,729.3939046138325,768.3295492857095,700.06702230467,558.4977152571437,35339.500427246094,-6876.999572753906,-0.16289838268814105,-0.16289838268814105
67
+ 2026-04-07,181.8800048828125,181.8800048828125,213.77000427246094,213.77000427246094,1.1686612367630005,-0.0020848767446285388,5.0335001945495605,-0.0029711530760128113,5.2847310530147125,-0.006254630233885616,-0.04753900547537526,34.93621845929405,5.235790154517959,0.23608346105941647,False,763.5239320571595,1.4149255010944704,0.41217580104103824,5.32852543847244,-0.004792820672938196,0.05951064219479738,0.0,1.4149255010944704,943.361006244311,727.2267636705141,763.5239320571594,766.4817152561936,599.9216046274457,35234.501361846924,-6981.998638153076,-0.16538553973335246,-0.16538553973335246
68
+ 2026-04-08,188.97999572753906,188.97999572753906,221.25,221.25,1.16593599319458,0.039036676127764514,5.738500118255615,0.14006156679390847,5.903626056631338,0.11711002838329354,-0.02797025705756595,41.43332076715288,4.579929867559812,0.27933508113152783,False,852.9402414116973,1.6917106742462098,0.4557666947944678,5.1124028254572025,-0.005113527655240453,0.06276370105264067,0.0,1.6917106742462098,980.1866843166322,829.0832836046698,852.9402414116972,909.0246217509236,717.277186307071,40169.50082778931,-2046.9991722106934,-0.048488130759553605,-0.048488130759553605
69
+ 2026-04-09,196.77999877929688,196.77999877929688,233.64999389648438,233.64999389648438,1.1691256761550903,0.041274225992699476,6.480000019073486,0.12921493169599718,6.634628844744711,0.12382267797809843,-0.02330632644110997,51.92649099636324,3.848713648266773,0.35103563343701616,False,958.5535862585795,2.2028803800395163,0.5263033323548123,4.774740578066096,-0.005495255599346844,0.06623432802952192,0.0,2.2028803800395163,1020.6431310401516,936.2132234659402,958.5535862585792,1139.2390945946713,934.0106820983699,45360.000133514404,3143.5001335144043,0.07446141043228138,0.07446141043228138
70
+ 2026-04-10,203.60000610351562,203.60000610351562,238.3800048828125,238.3800048828125,1.1691256761550903,0.0346580311338851,7.138999938964844,0.10169751820241224,7.3244583639335135,0.10397409340165531,-0.025320428590582034,55.97225877206015,3.6428038970223087,0.37838600174864157,False,1058.2183263667207,2.4154826868267003,0.5520537559989785,4.660001600457846,-0.005614273203896254,0.06701229453052279,0.0,2.4154826868267003,1056.016612452327,1031.4237848007067,1058.2183263667205,1228.0010488358707,1024.1530372517727,49972.999572753906,7756.499572753906,0.18373146927750783,0.18373146927750783
71
+ 2026-04-13,204.10000610351562,204.10000610351562,239.88999938964844,239.88999938964844,1.1691256761550903,0.0024557956041797446,7.1554999351501465,0.0023112475593738413,7.37842048189295,0.007367386812539234,-0.03021250243054896,57.26381753056921,3.583196684869558,0.38711725121716634,False,1066.0146301091822,2.470331569237911,0.5595363604222804,4.647549349714645,-0.0056756117025525445,0.06685622653548481,0.0,2.470331569237911,1058.6099734071286,1033.8076605060076,1066.014630109182,1256.3371486266833,1047.40869949173,50088.499546051025,7871.999546051025,0.18646736574682943,0.18646736574682943
72
+ 2026-04-14,210.10000610351562,210.10000610351562,248.64999389648438,248.64999389648438,1.1798018217086792,0.029397353359004397,7.903500080108643,0.10453499430334356,8.029138584305517,0.08819206007701319,-0.01564781861437281,64.17060264141432,3.2843034205134103,0.4377702152086451,False,1160.0286564107462,2.874949520346505,0.6054882737827586,4.438690908970949,-0.005768370294490509,0.06686848003022917,0.30937347521621683,2.565576045130288,1089.730304864744,1141.876738407756,1160.028656410746,1407.8682739782928,1218.9647639646469,55324.5005607605,13108.000560760498,0.3104947250662773,0.3104947250662773
outputs/amazon_derivate_summary.csv ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ instrument,start_value,end_value,performance_pct,max_drawdown_pct,daily_volatility_pct,observations,quantity,avg_entry_eur,break_even_gap_pct
2
+ Amazon EUR,1000.0,1089.730304864744,0.08973030486474398,-0.21168979352049144,0.022242122902813334,71,,,
3
+ ETP real IE00BK5BZQ82,1000.0,1141.876738407756,0.14187673840775594,-0.5168534142293548,0.06946140835744163,70,,,
4
+ ETP modeled 3x,1000.0,1160.028656410746,0.16002865641074604,-0.5369801605756491,0.06672636870844,71,,,
5
+ Turbo model UG523U,1000.0000000000001,1407.8682739782928,0.4078682739782926,-0.6589141308734888,0.1040722199623876,71,,,
6
+ Factor model MC2W9J,1000.0,1160.0286564107462,0.16002865641074626,-0.536980160575649,0.06672636870844002,71,,,
7
+ Option model HT0Q26,1000.0,1218.9647639646469,0.2189647639646468,-0.6969943504182512,0.10062609778080032,71,,,
8
+ Depot ETP position,42216.5,55324.5005607605,0.3104947250662773,-0.5168534142293548,0.0686485262595979,70,7000.0,6.030928571428571,0.3104947250662773
outputs/amazon_etp_trades.csv ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ execution_time,isin,name,quantity,price_eur,amount_eur,venue
2
+ 2026-02-03 15:55:09,IE00BK5BZQ82,Leverage Shares 3x Amazon ETP,1000.0,8.2385,8238.5,EIX
3
+ 2026-02-03 16:05:06,IE00BK5BZQ82,Leverage Shares 3x Amazon ETP,2000.0,7.989,15978.0,EIX
4
+ 2026-02-06 07:42:37,IE00BK5BZQ82,Leverage Shares 3x Amazon ETP,4000.0,4.5,18000.0,gettex
self_investment/90_day_plan.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 90-Day Plan
2
+
3
+ Window: 2026-05-04 to 2026-08-02
4
+
5
+ Assumption: 15,000 EUR net available after tax reserve. If the real net number differs, scale the active buckets proportionally and keep the 25% buffer rule.
6
+
7
+ ## Phase 1: Stabilise and choose sharply
8
+
9
+ Dates: 2026-05-04 to 2026-05-17
10
+
11
+ Outcomes:
12
+
13
+ - Net amount known after tax reserve.
14
+ - 25% buffer separated.
15
+ - One math/stats/algorithms path selected.
16
+ - HHN/Worms checklist created.
17
+ - Exactly 3 portfolio repos selected.
18
+ - First health/focus routine scheduled.
19
+
20
+ Hard rule: no new money leaves the account until tasks T001 and T002 are done.
21
+
22
+ ## Phase 2: Build proof
23
+
24
+ Dates: 2026-05-18 to 2026-06-21
25
+
26
+ Outcomes:
27
+
28
+ - 20+ solved foundation problems.
29
+ - First two portfolio case studies shipped.
30
+ - Freelance offer drafted and sent to 10 targeted people.
31
+ - Aidvance MVP scoped and demoed to one real stakeholder.
32
+ - One weekly `/learn` note is written every week.
33
+
34
+ Hard rule: polish is capped. The goal is proof that someone else can understand and trust the work.
35
+
36
+ ## Phase 3: Convert
37
+
38
+ Dates: 2026-06-22 to 2026-08-02
39
+
40
+ Outcomes:
41
+
42
+ - HHN application package finished before 2026-07-15.
43
+ - Third portfolio case study shipped.
44
+ - Aidvance path either becomes a concrete work track or is paused.
45
+ - Budget is reallocated based on evidence.
46
+
47
+ Hard rule: anything that did not produce output, learning, health, or career signal gets stopped.
48
+
49
+ ## Top 10 allocation
50
+
51
+ 1. Math / stats / algorithms bootcamp: 2,400 EUR.
52
+ 2. Academic transition risk reduction: 1,100 EUR.
53
+ 3. Portfolio refinement: 1,300 EUR.
54
+ 4. Aidvance / Werkstudent execution track: 1,200 EUR.
55
+ 5. Productized freelance offer: 800 EUR.
56
+ 6. `/learn` system and knowledge consolidation: 650 EUR.
57
+ 7. Deep-work environment: 900 EUR.
58
+ 8. Health / sport / ADHD stability: 1,300 EUR.
59
+ 9. Local-first AI infrastructure: 900 EUR.
60
+ 10. Friends / recovery / life: 700 EUR.
61
+
62
+ Buffer: 3,750 EUR.
63
+
64
+ ## Stop list
65
+
66
+ - No new leveraged products from this gain.
67
+ - No GPU/server purchase without a written 30-day use plan.
68
+ - No more tooling platforms before the existing ones are used weekly.
69
+ - No AI consulting site before offer, proof, and outreach exist.
70
+ - No meta-project whose only output is another plan.
self_investment/README.md ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Self-Investment Operating Plan
2
+
3
+ Start date: 2026-05-04
4
+
5
+ This folder turns the 15k net self-investment plan into an executable routine. It is intentionally simple: one budget CSV, one task CSV, one weekly review, and one tracker script.
6
+
7
+ ## Source of truth
8
+
9
+ Money truth:
10
+
11
+ 1. Broker transactions and bank balances.
12
+ 2. Tax reserve calculated from realised gains. Use your real tax situation, not this model, for the final number.
13
+ 3. `budget.csv` for the plan allocation.
14
+
15
+ Execution truth:
16
+
17
+ 1. `tasks.csv` for open work.
18
+ 2. `weekly_review.md` every Sunday.
19
+ 3. `decision_log.md` for non-trivial decisions.
20
+
21
+ ## Commands
22
+
23
+ From `/home/smlflg/Projekte/Amazon`:
24
+
25
+ ```bash
26
+ python3 self_investment/tracker.py summary
27
+ python3 self_investment/tracker.py next
28
+ python3 self_investment/tracker.py spend math_stats_algo 120.00
29
+ python3 self_investment/tracker.py complete T001
30
+ ```
31
+
32
+ ## Weekly loop
33
+
34
+ Every Sunday:
35
+
36
+ 1. Update actual spending in `budget.csv`.
37
+ 2. Mark finished tasks in `tasks.csv`.
38
+ 3. Fill one block in `weekly_review.md`.
39
+ 4. Choose only 3 focus tasks for the next week.
40
+
41
+ ## Operating rules
42
+
43
+ - Do not spend gross gains. First reserve tax.
44
+ - Keep 25% of the net gain as buffer.
45
+ - No new leveraged products from this money.
46
+ - Every paid item needs a measurable next output within 14 days.
47
+ - The highest ROI path is study stability plus career proof: math/stats/algorithms, HHN transition, portfolio, Aidvance/freelance proof.
self_investment/budget.csv ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id,bucket,allocation_eur,spent_eur,status,decision_rule,success_metric
2
+ buffer_25pct,"Cash buffer / tax-safe reserve",3750.00,0.00,planned,"Do not spend unless income or study risk requires it","3 months of lower stress and no forced selling"
3
+ math_stats_algo,"Math / stats / algorithms bootcamp",2400.00,0.00,planned,"Pay for tutor/course/problem sets only if sessions are scheduled","2 sessions per week and 40 solved problems by day 60"
4
+ academic_transition,"HHN / Worms academic transition",1100.00,0.00,planned,"Spend on documents, advising, travel, exam prep only","Application package ready before 2026-07-01"
5
+ portfolio_refinement,"Portfolio refinement",1300.00,0.00,planned,"Only 3 repos: Sidecar-NG, TypoTuner, FireTracker or strongest equivalents","3 public case studies with screenshots and clean READMEs"
6
+ aidvance_track,"Aidvance / Werkstudent execution track",1200.00,0.00,planned,"Spend only on MVP delivery, API/cloud/security/process needs","One demonstrable Chief-of-Staff MVP and one concrete work proposal"
7
+ freelance_offer,"Productized AI dev tooling freelance offer",800.00,0.00,planned,"No branding spend before offer and case studies are written","One landing page, two case studies, ten targeted outreaches"
8
+ learn_system,"/learn system and knowledge consolidation",650.00,0.00,planned,"Buy tools/books only if they reduce open loops","One weekly learn report and one architecture note per build sprint"
9
+ deep_work_environment,"Deep work environment",900.00,0.00,planned,"Spend on desk, monitor, noise, ergonomics if it increases daily focus time","5 focused 90-minute blocks per week"
10
+ health_stability,"Health / sport / ADHD stability",1300.00,0.00,planned,"Spend on gym, coaching, therapy, diagnostics, sleep if actually scheduled","4 workouts or walks per week and stable sleep tracking"
11
+ local_ai_infra,"Local-first AI infrastructure",900.00,0.00,planned,"No GPU/server purchase without a 30-day use plan","One local search/index tool that is used weekly"
12
+ life_recovery,"Friends / recovery / life",700.00,0.00,planned,"Spend intentionally, not as leak spending","Two planned social/recovery blocks per month"
self_investment/capital_policy.md ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Capital Policy
2
+
3
+ This is a private operating rule, not tax or investment advice.
4
+
5
+ ## Current known facts
6
+
7
+ - The plan assumes 15,000 EUR net available.
8
+ - Your remaining 1,942 ETP units are real capital, even if mentally labelled as optional gain.
9
+ - At an ETP price of 10.40 EUR, 1,942 units equal 20,196.80 EUR gross market value.
10
+
11
+ ## Before spending
12
+
13
+ 1. Calculate realised gross gain from executed sales.
14
+ 2. Reserve tax from realised gains. You mentioned 26%; verify your real rate.
15
+ 3. Define net available amount.
16
+ 4. Move 25% of net available amount into buffer.
17
+ 5. Only then fund the active self-investment buckets.
18
+
19
+ ## Rebuy and risk rule
20
+
21
+ - No automatic dip buying.
22
+ - A dip buy needs a written level, amount, invalidation rule, and max loss before the order.
23
+ - Do not use the self-investment budget for leveraged Amazon exposure.
24
+ - If the Amazon thesis is a 1-2 year thesis, prefer unlevered AMZN exposure for that thesis and treat the ETP as a tactical instrument.
25
+
26
+ ## Spending rule
27
+
28
+ Every expense needs one of these outputs within 14 days:
29
+
30
+ - More academic survival probability.
31
+ - More career signal.
32
+ - More health/stability.
33
+ - Less cognitive load.
34
+ - A shipped artefact someone else can inspect.
35
+
36
+ If none applies, do not buy it from this budget.
self_investment/decision_log.md ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Decision Log
2
+
3
+ ## 2026-05-03: Use the Amazon gain as self-investment capital
4
+
5
+ Decision:
6
+
7
+ - Work with a 15,000 EUR net planning amount.
8
+ - Keep 25% as buffer.
9
+ - Allocate 11,250 EUR to active self-investment.
10
+ - Do not use this money for new leveraged trades.
11
+
12
+ Reason:
13
+
14
+ - The biggest upside is not another product trade. It is raising Samuel's floor: academic completion odds, career signal, health stability, and execution quality.
15
+
16
+ Evidence used:
17
+
18
+ - Local Amazon derivative analysis.
19
+ - Local study roadmap.
20
+ - Local session-analysis reports.
21
+ - Subagent summaries across education, career, happiness/system, and project profile.
22
+
23
+ Open numbers to fill:
24
+
25
+ - Realised gross gain:
26
+ - Estimated tax reserve:
27
+ - Net available:
28
+ - Buffer amount:
29
+
30
+ ## Parking lot
31
+
32
+ Use this section for attractive ideas that should not interrupt the 90-day plan.
33
+
34
+ -
self_investment/tasks.csv ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ id,area,task,due_date,status,cost_cap_eur,definition_of_done
2
+ T001,capital,"Calculate realised gross gain, estimated tax reserve, and true net amount available",2026-05-04,pending,0.00,"A single number is written in decision_log.md: net amount available for the plan"
3
+ T002,capital,"Move the 25% buffer to a separate safe cash bucket",2026-05-05,pending,0.00,"3750 EUR or adjusted net-buffer equivalent is not mixed with spending money"
4
+ T003,math_stats_algo,"Choose one math/stats/algorithms path and schedule the first two sessions",2026-05-06,pending,300.00,"Two calendar entries exist and the first problem set is chosen"
5
+ T004,academic_transition,"Create HHN/Worms document checklist and verify the 2026-07-15 application deadline",2026-05-07,pending,0.00,"Checklist exists and missing documents are named"
6
+ T005,academic_transition,"Write an email draft to HHN advising about recognition and higher-semester entry",2026-05-08,pending,0.00,"Email is ready to send with transcript questions"
7
+ T006,portfolio_refinement,"Pick exactly 3 portfolio repos for the next 60 days",2026-05-09,pending,0.00,"Decision logged; all other repos are explicitly parked"
8
+ T007,learn_system,"Create the first /learn note from the Amazon derivatives project",2026-05-10,pending,0.00,"One note explains product mechanics, model limits, and what you misunderstood"
9
+ T008,aidvance_track,"Define the Aidvance Chief-of-Staff MVP in one page",2026-05-12,pending,0.00,"Problem, users, workflow, demo scope, and next meeting ask are written"
10
+ T009,freelance_offer,"Draft one productized freelance offer around AI dev tooling",2026-05-15,pending,0.00,"Offer has target buyer, problem, deliverable, price range, and proof"
11
+ T010,health_stability,"Book or schedule the first recurring health/sport block",2026-05-15,pending,150.00,"At least 4 weekly recurring blocks are in the calendar"
12
+ T011,deep_work_environment,"Run a 7-day focus audit before buying equipment",2026-05-17,pending,0.00,"Daily focus minutes are recorded for 7 days"
13
+ T012,local_ai_infra,"Define the local-first AI infra use case before spending money",2026-05-20,pending,0.00,"One use case has input data, output, weekly user, and success metric"
14
+ T013,portfolio_refinement,"Ship portfolio case study 1",2026-05-24,pending,0.00,"One repo has README, screenshot, setup command, and short case study"
15
+ T014,math_stats_algo,"Complete first 20 math/stats/algo problems",2026-05-31,pending,0.00,"20 solved problems are checked and mistakes are summarised"
16
+ T015,freelance_offer,"Send first 10 targeted outreach messages",2026-06-07,pending,0.00,"10 messages sent and responses tracked"
17
+ T016,portfolio_refinement,"Ship portfolio case study 2",2026-06-14,pending,0.00,"Second repo is externally understandable in under 5 minutes"
18
+ T017,aidvance_track,"Demo Aidvance MVP to one real stakeholder",2026-06-21,pending,200.00,"Feedback is captured and next paid/work step is decided"
19
+ T018,academic_transition,"Finish HHN application package",2026-07-01,pending,100.00,"All required documents are ready before the deadline window closes"
20
+ T019,portfolio_refinement,"Ship portfolio case study 3",2026-07-05,pending,0.00,"Third repo closes the public proof loop"
21
+ T020,review,"90-day review: keep, change, or stop each budget bucket",2026-08-02,pending,0.00,"Budget is reallocated based on evidence, not mood"
self_investment/tracker.py ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Small tracker for the self-investment plan.
3
+
4
+ No external dependencies. The script reads and updates budget.csv and tasks.csv
5
+ in this folder.
6
+ """
7
+
8
+ from __future__ import annotations
9
+
10
+ import argparse
11
+ import csv
12
+ from datetime import date, datetime
13
+ from pathlib import Path
14
+ from typing import Iterable
15
+
16
+
17
+ ROOT = Path(__file__).resolve().parent
18
+ BUDGET_PATH = ROOT / "budget.csv"
19
+ TASKS_PATH = ROOT / "tasks.csv"
20
+
21
+
22
+ def read_rows(path: Path) -> list[dict[str, str]]:
23
+ with path.open(newline="", encoding="utf-8") as handle:
24
+ return list(csv.DictReader(handle))
25
+
26
+
27
+ def write_rows(path: Path, rows: list[dict[str, str]], fieldnames: Iterable[str]) -> None:
28
+ with path.open("w", newline="", encoding="utf-8") as handle:
29
+ writer = csv.DictWriter(handle, fieldnames=list(fieldnames))
30
+ writer.writeheader()
31
+ writer.writerows(rows)
32
+
33
+
34
+ def money(value: str) -> float:
35
+ if not value:
36
+ return 0.0
37
+ return float(value.replace(",", "."))
38
+
39
+
40
+ def eur(value: float) -> str:
41
+ return f"{value:,.2f} EUR".replace(",", "_").replace(".", ",").replace("_", ".")
42
+
43
+
44
+ def parse_date(value: str) -> date:
45
+ return datetime.strptime(value, "%Y-%m-%d").date()
46
+
47
+
48
+ def cmd_summary(_: argparse.Namespace) -> None:
49
+ budget = read_rows(BUDGET_PATH)
50
+ tasks = read_rows(TASKS_PATH)
51
+
52
+ total_alloc = sum(money(row["allocation_eur"]) for row in budget)
53
+ total_spent = sum(money(row["spent_eur"]) for row in budget)
54
+ buffer_alloc = sum(
55
+ money(row["allocation_eur"]) for row in budget if row["id"] == "buffer_25pct"
56
+ )
57
+ active_alloc = total_alloc - buffer_alloc
58
+ active_spent = sum(
59
+ money(row["spent_eur"]) for row in budget if row["id"] != "buffer_25pct"
60
+ )
61
+
62
+ print("Self-investment plan")
63
+ print(f" total allocation: {eur(total_alloc)}")
64
+ print(f" buffer allocation: {eur(buffer_alloc)}")
65
+ print(f" active allocation: {eur(active_alloc)}")
66
+ print(f" active spent: {eur(active_spent)}")
67
+ print(f" active remaining: {eur(active_alloc - active_spent)}")
68
+ print()
69
+
70
+ by_status: dict[str, int] = {}
71
+ for task in tasks:
72
+ by_status[task["status"]] = by_status.get(task["status"], 0) + 1
73
+
74
+ print("Tasks")
75
+ for status, count in sorted(by_status.items()):
76
+ print(f" {status}: {count}")
77
+
78
+ overdue = [
79
+ task
80
+ for task in tasks
81
+ if task["status"] != "done" and parse_date(task["due_date"]) < date.today()
82
+ ]
83
+ if overdue:
84
+ print()
85
+ print("Overdue")
86
+ for task in sorted(overdue, key=lambda item: item["due_date"])[:10]:
87
+ print(f" {task['id']} {task['due_date']} {task['task']}")
88
+
89
+
90
+ def cmd_next(args: argparse.Namespace) -> None:
91
+ tasks = [
92
+ task
93
+ for task in read_rows(TASKS_PATH)
94
+ if task["status"] not in {"done", "parked", "cancelled"}
95
+ ]
96
+ tasks.sort(key=lambda item: (parse_date(item["due_date"]), item["id"]))
97
+
98
+ print(f"Next {args.limit} tasks")
99
+ for task in tasks[: args.limit]:
100
+ print(f"{task['id']} | {task['due_date']} | {task['area']} | {task['task']}")
101
+ print(f" done when: {task['definition_of_done']}")
102
+
103
+
104
+ def cmd_spend(args: argparse.Namespace) -> None:
105
+ budget = read_rows(BUDGET_PATH)
106
+ fieldnames = budget[0].keys()
107
+ for row in budget:
108
+ if row["id"] == args.bucket_id:
109
+ row["spent_eur"] = f"{args.amount:.2f}"
110
+ write_rows(BUDGET_PATH, budget, fieldnames)
111
+ print(f"Updated {args.bucket_id}: spent {eur(args.amount)}")
112
+ return
113
+ raise SystemExit(f"Unknown bucket id: {args.bucket_id}")
114
+
115
+
116
+ def cmd_complete(args: argparse.Namespace) -> None:
117
+ tasks = read_rows(TASKS_PATH)
118
+ fieldnames = tasks[0].keys()
119
+ for row in tasks:
120
+ if row["id"] == args.task_id:
121
+ row["status"] = "done"
122
+ write_rows(TASKS_PATH, tasks, fieldnames)
123
+ print(f"Completed {args.task_id}")
124
+ return
125
+ raise SystemExit(f"Unknown task id: {args.task_id}")
126
+
127
+
128
+ def build_parser() -> argparse.ArgumentParser:
129
+ parser = argparse.ArgumentParser(description="Track the self-investment plan")
130
+ sub = parser.add_subparsers(dest="command", required=True)
131
+
132
+ summary = sub.add_parser("summary", help="Show budget and task summary")
133
+ summary.set_defaults(func=cmd_summary)
134
+
135
+ next_tasks = sub.add_parser("next", help="Show next open tasks")
136
+ next_tasks.add_argument("--limit", type=int, default=5)
137
+ next_tasks.set_defaults(func=cmd_next)
138
+
139
+ spend = sub.add_parser("spend", help="Set spent amount for a budget bucket")
140
+ spend.add_argument("bucket_id")
141
+ spend.add_argument("amount", type=float)
142
+ spend.set_defaults(func=cmd_spend)
143
+
144
+ complete = sub.add_parser("complete", help="Mark a task as done")
145
+ complete.add_argument("task_id")
146
+ complete.set_defaults(func=cmd_complete)
147
+
148
+ return parser
149
+
150
+
151
+ def main() -> None:
152
+ args = build_parser().parse_args()
153
+ args.func(args)
154
+
155
+
156
+ if __name__ == "__main__":
157
+ main()
self_investment/weekly_review.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Weekly Review
2
+
3
+ Use this file every Sunday. Keep each entry short enough that you will actually do it.
4
+
5
+ ## Week of 2026-05-04
6
+
7
+ Top 3 tasks:
8
+
9
+ 1. T001: calculate true net amount after tax reserve.
10
+ 2. T002: separate the 25% buffer.
11
+ 3. T003: schedule first two math/stats/algorithms sessions.
12
+
13
+ Money:
14
+
15
+ - Gross realised gain:
16
+ - Estimated tax reserve:
17
+ - Net available:
18
+ - Buffer moved:
19
+ - Active budget remaining:
20
+
21
+ Outputs shipped:
22
+
23
+ -
24
+
25
+ What became clearer:
26
+
27
+ -
28
+
29
+ What is still vague:
30
+
31
+ -
32
+
33
+ Next week's 3 tasks:
34
+
35
+ 1.
36
+ 2.
37
+ 3.
38
+
39
+ ## Template
40
+
41
+ Week of:
42
+
43
+ Top 3 tasks:
44
+
45
+ 1.
46
+ 2.
47
+ 3.
48
+
49
+ Money:
50
+
51
+ - Gross realised gain:
52
+ - Estimated tax reserve:
53
+ - Net available:
54
+ - Buffer moved:
55
+ - Active budget remaining:
56
+
57
+ Outputs shipped:
58
+
59
+ -
60
+
61
+ What became clearer:
62
+
63
+ -
64
+
65
+ What is still vague:
66
+
67
+ -
68
+
69
+ Next week's 3 tasks:
70
+
71
+ 1.
72
+ 2.
73
+ 3.
unnamed.png ADDED

Git LFS Details

  • SHA256: 1031c0859e28407d19f0d11f97c6ec26453939e385e86f15781b76079a2684ae
  • Pointer size: 131 Bytes
  • Size of remote file: 234 kB