one week data

This commit is contained in:
2025-07-21 21:29:21 +02:00
parent d2c45cac12
commit af4c81b95f

2
app.py
View File

@ -46,7 +46,7 @@ def stream_historical_data(sid):
all_klines = client.get_historical_klines(
SYMBOL,
Client.KLINE_INTERVAL_1MINUTE,
start_str="8 weeks ago UTC" # Fetches data starting from 8 weeks ago until now
start_str="1 week ago UTC" # Fetches data starting from 8 weeks ago until now
)
# --- ORIGINAL SOLUTION COMMENTED OUT ---