For traders, which web pages (and other data like CSV data) are worth to save/archive/collect on a reqular basis (like daily)?
For example the following data is IMO worth to collect daily:
https://finance.yahoo.com/world-indices
ftp://ftp.nasdaqtrader.com/SymbolDirectory/options.txt
...
Why would you do that? Put tickers and dates in variables/list and:
import yfinance as yf
# Define ticker symbol and date range
ticker_symbol = "SPY"
start_date = "2000-01-01"
end_date = "2050-01-01"
# Fetch data
data = yf.download(ticker_symbol, start=start_date, end=end_date)
# Save data to CSV file on desktop
desktop_path = "~/Desktop/spy_price_data.csv" # Update this path as per your desktop location
data.to_csv(desktop_path)
print("Data saved to:", desktop_path)
BTW option data, eod , I found more challenging using a python library, it doesn’t always is correct. But for a few hundred dolllars you can buy eod historical for al nyse tickers through various vendors (CBO datashop is more expensive)
Edit , now I see you want other data

With the libraries you can collect a lot for free, usefulness is another story