Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1009 Bytes

README.md

File metadata and controls

49 lines (34 loc) · 1009 Bytes

yfinance-scaling-system

yfinance-scaling-system - all data related to yfinance; we source the data and drop it in various destinations

Stock Splits

  • Lookback Months are/is 60
# Calculate the date lookback months ago (using 30.5 days per month as an approximation)
lookback_months = today - datetime.timedelta(days=60 * 30.5)

# Convert lookback_months to a pandas Timestamp with the correct timezone
lookback_months = pd.Timestamp(lookback_months, tz='America/New_York')

# Define the stock symbols

NVDA
MSFT
AAPL
META
AMZN
COST
TSLA
GOOGL
GOOG
BABA
PYPL
AMD
AVGO

Docker GCP

docker buildx build --platform linux/amd64 -t gcr.io/dfg-analytics-insights-prod/yfinance-scaling-system .
docker push gcr.io/dfg-analytics-insights-prod/yfinance-scaling-system