The dataset viewer is not available for this dataset.
Cannot get the config names for the dataset.
Error code:   ConfigNamesError
Exception:    ImportError
Message:      To be able to use rc9494/SP500_Date_Offset, you need to install the following dependencies: bs4, yfinance, fredapi.
Please install them using 'pip install bs4 yfinance fredapi' for instance.
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 66, in compute_config_names_response
                  config_names = get_dataset_config_names(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 347, in get_dataset_config_names
                  dataset_module = dataset_module_factory(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1914, in dataset_module_factory
                  raise e1 from None
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1880, in dataset_module_factory
                  return HubDatasetModuleFactoryWithScript(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1504, in get_module
                  local_imports = _download_additional_modules(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 354, in _download_additional_modules
                  raise ImportError(
              ImportError: To be able to use rc9494/SP500_Date_Offset, you need to install the following dependencies: bs4, yfinance, fredapi.
              Please install them using 'pip install bs4 yfinance fredapi' for instance.

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

S&P 500 Date Offset

Financial markets and the economy go hand-in-hand: we expect positive growth during good economic times and corrections during recessions. That said, at any given time, the investor or trader cannot have perfect information about the current state of the economy. Since there is often a several-months lag between when economic conditions are experienced and when they are officially reported, an amount of speculation gets priced into the market. The accuracy of this speculation is checked when the official economic data is finally released, often resulting in price swings when expectations and reality are not in line. While this begs the important question as to whether this over- or under-confidence within the market can be measured, issues with data formatting persist. It is standard practice for economic data to be back-dated to reflect the first date of the time period it is meant to reflect, rather than the day of publication (ie CPI data for January is released in mid-February and GDP data for Q1 is released in late-April, but both are dated to January 1st). This creates a significant problem: it is not enough to pull together data from various APIs and merge along a date index. This project seeks to off-set the economic data to reflect those dates

This dataset could be the first step in modeling and eventually forecasting market expectations of economic publications and its reaction post-release.

Downloads last month
46