v4.3.3

OpenBB-finance/OpenBBv4.3.3Oct 8, 2024by github-actions[bot]

AI Summary

Version 4.3.3 introduces a new `openbb-build` script for building static assets, expands data coverage with IMF indicators and EIA spot prices, and adds new endpoints for Direction of Trade and Primary Dealer Fails data.

Key Highlights

  • New `openbb-build` script
  • IMF provider extension
  • EIA daily spot prices data
  • Direction of Trade Statistics endpoint
  • Primary Dealer Fails data from NY Fed

Breaking Changes

  • Removed `obb.commodity.lbma_fixing` endpoint (no longer supported by source)

New Features

  • IMF provider extension for indicators
  • Direction of Trade Statistics endpoint
  • Port Volume data from EconDB
  • Primary Dealer Fails endpoint
  • EIA spot prices via FRED
  • Apache Beam workflow example

Full Release Notes

## Thank you and welcome to our new contributors đŸ”Ĩ
@mmistroni

## Summary 🎉

This update includes bug fixes, new router paths, a new provider extension, and an addition to the example library.

## Hacktoberfest

This month marks Hacktoberfest 2024, and you can participate by self-assigning one of the tagged - [đŸ•šī¸] - [issues](https://github.com/OpenBB-finance/OpenBB/issues)

- oss.gg | Hacktoberfest 2024  @piiq (#6703)
  - Update README.md for no code @jmaslek (#6704)

## 🚨 OpenBB Platform Breaking Changes

- [Feature] Add EIA Daily Spot Prices Data via FRED @deeleeramone (#6677)
  - Removed: `obb.commodity.lbma_fixing`
    - Reason: No longer supported by Nasdaq Data Link; 410 HTTP status code.

## đŸĻ‹ OpenBB Platform Enhancements

  - [Feature] Add IMF Provider Extension and Extend `obb.economic.indicators` @deeleeramone (#6666)
    - New provider extension: `openbb-imf`
      - No API key or registration required.
    - Adds `imf` as a provider to: `obb.economy.indicators` & `obb.economy.available_indicators`
      - Flat representations of all tables from the IRFCL dataset, or individual series from within.

  - [Feature] Add Direction Of Trade Statistics From IMF @deeleeramone (#6683)
    - New router path: `obb.economy.direction_of_trade`
      - Bilateral trade, represented in US dollars, between countries or regions.

  - [Feature] Add Port Volume Data From EconDB @deeleeramone (#6668)
    - New router path: `obb.economy.port_volume`
      - Import/Export container volume and dwelling times for the 20 highest-volume ports globally.

  - [Feature] Add EIA Daily Spot Prices Data via FRED @deeleeramone (#6677)
    - New router path: `obb.commodity.price.spot`
      - Adds curated daily spot price time series from the EIA via `openbb-fred`.

  - [Feature] Adds Primary Dealer Fails Data From NY Federal Reserve @deeleeramone (#6670)
    - New router path: `obb.economy.primary_dealer_fails`
      - Adds the Primary Dealer Fails To Deliver/Receive dataset from the NY Federal Reserve.

  - [Feature] Add An `openbb-build` Script To `openbb-core` Package @deeleeramone (#6692)
    - Adds a command line script to `openbb-core` for building the static assets and Python interface.
      - Executable: `openbb-build`

  - [Enhancement] Add `x-unit_measurement` To A Few Items @deeleeramone (#6722)
    - Adds percent normalization to:
      - `obb.fixedincome.government.treasury_auctions`
      - `obb.fixedincome.government.treasury_prices`
      - `obb.fixedincome.corporate.bond_prices`
   
  - Feature/openbb apachebeam @mmistroni (#6679)
    - Adds an example OpenBB workflow for Apache Beam data collection.

## 🐛 OpenBB Platform Bug Fixes

- [BugFix] - LoggingService changing default logging configuration @montezdesousa (#6681)
  - Converts the logging service to use a custom logger instead of the root.

- [BugFix] API: Handle EmptyDataError As Status Code 204 @deeleeramone (#6682)
  - EmptyDataError was previously creating an unknown error in the API, now returns as status code 204.

- [BugFix] Make User Preferences -> Defaults Work With Any Parameter @deeleeramone (#6687)
  - In `user_settings.json`, the `defaults` section now accepts function parameters. Previously accepted only providers.

- [BugFix] `obb.derivatives.futures.historical`: Fix Start/End Filters Not Being Applied. @deeleeramone (#6721)
  - In, `obb.derivatives.futures.historical(provider="yfinance"), the start/end dates are now correctly applied.

- [BugFix] Fixes #6688 BLS Title String Concatenation @deeleeramone (#6690)
  - Fixes an error In, `obb.economy.survey.bls_series`, when no metadata for the series exists.

- [BugFix] Fix BLS Error and API Exception Handling - Resolves #6661 and #6662 @deeleeramone (#6665)
  - Handles exceptions in the API that were previously returning a 500 status code.

- [BugFix] Handle Options Skew Error From Zero/Empty IV Value @deeleeramone (#6701)
  - Fixes a key error when zero/empty values are present in the chain.

- [BugFix] Bar Chart Fixes @deeleeramone (#6667)
  - Fixes an error when supplying `bar_kwargs` that were already defined in the function, user supplied parameters take precedence. 

- [BugFix] Enforce User Preference For Dark/Light Mode In Chart Output To API @deeleeramone (#6664)
  - Fixes charting output to the API so that user preference for dark/light mode is respected.

- [BugFix] Use `__alias_dict__` instead of Field(alias) for data fields. @deeleeramone (#6673)
  - Fixes inconsistent field names in data model schemas from the API vs. Python interface.

- [BugFix] Add Validators For `date` Fields For Multiple Items Allowed. @deeleeramone (#6671)
  - Fixes the "date" field to allow multiple items as a `datetime.date` or `YYYY-MM-DD` string in:
    - `obb.economy.fred_release_table`
    - `obb.derivatives.futures.curve`
    - `obb.fixedincome.government.yield_curve` 

- [BugFix] Fix Some Tests @deeleeramone (#6736)
  - Fixes a few failing tests.
  - Fixes error parses invalid XML character in: `obb.regulators.sec.rss_litigation`

- [BugFix] Update missed URLs from repo name change. @deeleeramone (#6695)


- [BugFix] Fix bad key in `__json_schema_extra__` of IntrinioEquityHistorical @deeleeramone (#6669)
  - Fixes incorrect key names in "choices" mappings for:
    - `IntrinioEquityHistoricalQueryParams`
    - `TEEconomicCalendarQueryParams`

## 💂 🔒 Security

- [BugFix] Update vite in `package.json` @deeleeramone (#6678)
- [BugFix] Update Frontend Components package.json and locks for Dependabot @deeleeramone (#6691)


We are proud of our community contributors and staunch supporters of open-source ecosystems.
Help us promote our community by tagging `@openbb_finance` on X with a link to your pull request,
and join our Discord server to chat about your contribution! We want to hear about your experience!

### Links đŸĻ‹
[Website](https://openbb.co/), [Twitter](https://twitter.com/openbb_finance), [Linkedin](https://www.linkedin.com/company/openbb-finance), [Instagram](https://www.instagram.com/openbb.finance/), [Reddit](https://www.reddit.com/r/openbb/), [Discord](https://discord.com/invite/xPHTuHCmuV)