Aktuelles zu Almonty Industries WKN: A414Q8 ISIN: CA0203987072 Forum: Aktien User: Moly
Da sind auch oft so Sachen wie Python Script dabei rausgekommen. Das sagt dir bestimmt nichts, mir aber schon da Ich von Beruf Programmierer bin. import pandas as pd import numpy as np import matplotlib.pyplot as plt # === CSV einlesen === # Ersetze "almonty.csv" durch den Dateinamen deiner Yahoo Finance Datei df = pd.read_csv("almonty.csv", parse_dates=["Date"]) df.set_index("Date", inplace=True) # === SMA(38) berechnen === df["SMA38"] = df["Close"].rolling(window=38).mean() # === RSI berechnen === delta = df["Close"].diff() gain = np.where(delta > 0, delta, 0) loss = np.where(delta < 0, -delta, 0) avg_gain = pd.Series(gain).rolling(window=14).mean() avg_loss = pd.Series(loss).rolling(window=14).mean() rs = avg_gain / avg_loss df["RSI"] = 100 - (100 / (1 + rs)) # === MACD berechnen === exp1 = df["Close"].ewm(span=12, adjust=False).mean() exp2 = df["Close"].ewm(span=26, adjust=False).mean() df["MACD"] = exp1 - exp2 df["Signal"] = df["MACD"].ewm(span=9, adjust=False).mean() df["Histogram"] = df["MACD"] - df["Signal"] # === Plot erstellen === plt.figure(figsize=(14, 10)) # Kurs + SMA38 plt.subplot(3, 1, 1) plt.plot(df.index, df["Close"], label="Close", color="blue") plt.plot(df.index, df["SMA38"], label="SMA38", color="orange") plt.title("Kursverlauf mit SMA(38)") plt.legend() # MACD plt.subplot(3, 1, 2) plt.plot(df.index, df["MACD"], label="MACD", color="blue") plt.plot(df.index, df["Signal"], label="Signal", color="red") plt.bar(df.index, df["Histogram"], label="Histogram", color="gray") plt.title("MACD") plt.legend() # RSI plt.subplot(3, 1, 3) plt.plot(df.index, df["RSI"], label="RSI", color="purple") plt.axhline(70, color="red", linestyle="--") plt.axhline(30, color="green", linestyle="--") plt.title("RSI") plt.legend() plt.tight_layout() plt.show()
Ok, wenn du magst kannst du ja mal einen Link einstellen. Du kannst GPT auch eine Zusammenfassung in Bezug auf Almonty erstellen lassen und die verlinken. Warum mich das interessiert: Je nach Fragestellung und Input bekommt man andere Antworten. Das von Dir beschriebene Kursziel hatte ich noch nie…
Ok, wenn du magst kannst du ja mal einen Link einstellen. Du kannst GPT auch eine Zusammenfassung in Bezug auf Almonty erstellen lassen und die verlinken. Warum mich das interessiert: Je nach Fragestellung und Input bekommt man andere Antworten. Das von Dir beschriebene Kursziel hatte ich noch nie…
Mehr zu diesem Wert
|
|
Thema | ||
|---|---|---|---|
| 1 | ALMONTY INDUSTRIES INC. Hauptdiskussion | ||
| 2 | Aktuelles zu Almonty Industries |
|
|
Thema | ||
|---|---|---|---|
| 1 | RHEINMETALL Hauptdiskussion | -5,61 % | |
| 2 | INTEL Hauptdiskussion | +5,75 % | |
| 3 | Hims & Hers Health Registered (A) Hauptdiskussion | +3,97 % | |
| 4 | Goldpreis Hauptdiskussion | +0,22 % | |
| 5 | ATOS Hauptdiskussion | -2,27 % | |
| 6 | SILBERPREIS Hauptdiskussion | +6,10 % | |
| 7 | Marathon Digital Holdings | +0,63 % | |
| 8 | Investmentchancen | +3,97 % | |
| 9 | Dax Prognose | -0,47 % | |
| 10 | Palantir ohne Schnickschnack | -2,45 % | Alle Diskussionen |
|
|
Thema | ||
|---|---|---|---|
| 1 | RHEINMETALL Hauptdiskussion | -5,68 % | |
| 2 | INTEL Hauptdiskussion | +5,45 % | |
| 3 | Hims & Hers Health Registered (A) Hauptdiskussion | +3,67 % | |
| 4 | Marathon Digital Holdings | +0,66 % | |
| 5 | Investmentchancen | +3,67 % | |
| 6 | ATOS Hauptdiskussion | -2,58 % | |
| 7 | Palantir ohne Schnickschnack | -2,67 % | |
| 8 | Diginex | -2,31 % | |
| 9 | AMD Hauptdiskussion | +1,79 % | |
| 10 | RENK (für normale, sachliche Kommunikation!) | -6,52 % | Alle Diskussionen |