- WPS_092321.ipnb is the original notebook (needs some fixing to run on new machine)
- WPS_norgate.ipynb is the original notebook slightly cleaned
- WPS_yfin.ipynb is the same as WPS_norgate, but modified to run cached dataframes
Note: Obtain cached data from here https://drive.google.com/drive/folders/1zZ253u4wzNA3DFAdk7Xr9YzGsWTjgWaR?usp=share_link
- Make sure norgate data updater is running (.exe)
- Add config.py file to directory
#
# in config.py
#
refresh_token = "refresh_token_from_account_authentication"
client_id = "the_api_key_from_the_td_api_dash_confusing_i_know"
- Run WPS_norgate.ipynb
- View "norgate_stock_list.csv"
- View "norgate_result.csv"
Note WPS_yfin doesn't actually use yfinance
- Aim to run WPS_yfin.ipynb
- Make sure pickles from directory (get here -> https://drive.google.com/drive/folders/1zZ253u4wzNA3DFAdk7Xr9YzGsWTjgWaR?usp=share_link
STOCKS : pd = pd.read_pickle("stocks_norate.pkl")
PACKED_OPTIONS : pd = pd.read_pickle("options_packed.pkl")
EARNINGS : pd = pd.read_pickle("earnings.pkl")
- View "yfin_stock_list.csv"
- View "yfin_result.csv"