fix: resolve 429 rate limit errors with API backoff and correct timezone handling for 09:30 candle

This commit is contained in:
pie
2026-05-01 15:18:33 +01:00
parent be4df42e01
commit ede9933c88
4 changed files with 75 additions and 14 deletions
+8
View File
@@ -0,0 +1,8 @@
import pandas as pd
import yfinance as yf
from scripts.backtest import backtest_ticker
print("Running historical check for the last 5 trading days...")
for ticker in ["NFLX", "AMZN", "AAPL"]:
res = backtest_ticker(ticker, days=5, quiet=False)
print("="*60)