Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Add IMF Financial Soundness Indicators Set #6960

Open
wants to merge 17 commits into
base: develop
Choose a base branch
from

Conversation

deeleeramone
Copy link
Contributor

@deeleeramone deeleeramone commented Nov 22, 2024

  1. Why?:

The Financial Soundness Indicators (FSIs) were developed by the IMF, together with the international community, with the aim of supporting macroprudential analysis and assessing strengths and vulnerabilities of financial systems.

The website, hosted by the Statistics Department of the IMF, disseminates data and metadata on selected FSIs provided by participating countries. For a description of the various FSIs, as well as the consolidation basis, consolidation adjustments, and accounting rules followed, please refer to the “Concepts and Definitions” document (http://data.imf.org/?sk=9F855EAE-C765-405E-9C9A-A9DC2C1FEE47). The Statistics Department will steadily increase the number of countries reporting FSIs for dissemination on this site.

Reporting countries compile FSI data presented on this website by using different methodologies, which may also vary for different points in time for the same country. Users are advised to consult the accompanying metadata (http://data.imf.org/?sk=9F855EAE-C765-405E-9C9A-A9DC2C1FEE47) to conduct more meaningful cross-country comparisons or to assess the evolution of a given FSI for any of the countries.

  1. What?:

    • Adds this into the existing functions:
      • obb.economy.available_indicators
        • Adds a "query" parameter to filter down the complete list (static file)
      • obb.economy.indicators
        • Any symbol from FSI, and the existing IRFCL, sets can be combined and with multiple countries.
        • "presets" added to return groups of series.
          • 'fsi_core': The core Financial Soundness Indicators. Compatible with multiple countries.
          • 'fsi_core_underlying': The core FSIs underlying series data. Not compatible with country='all'.
          • 'fsi_encouraged_set': The encouraged set of Financial Soundness Indicators. Not compatible with country='all'.
          • 'fsi_other': The other Financial Soundness Indicators. Not compatible with country='all'.
          • 'fsi_balance_sheets': Data categorized as Balance Sheets and Income Statements. Not compatible with country='all'.
          • 'fsi_all': All the Financial Soundness Indicators. Not compatible with multiple countries.
          • 137 countries have reported some data since the beginning of 2023
  2. Impact:

    • Expands the macroeconomic data.
    • Increases the complexity of the endpoint, which is inevitably going to keep expanding.
    • Number of symbols is somewhat exaggerated by their being three symbols for one item, where it represents a currency - Euros, US Dollars, Domestic Currency.
  3. Testing Done:

    • Using the presets, only 'fsi_core' is compatible with All-Countries Mode
      • obb.economy.indicators(symbol="fsi_core", provider="imf")
    • obb.economy.indicators(symbol="gold_reserves,fsi_core", provider="imf")
    • `obb.economy.indicators(symbol="FSLT_PT,RAFAGOLDV_OZT", country="germany,fr,china,gb", start_date="2023-01-01", provider="imf")
    • obb.economy.available_indicators(provider="imf", query="household;debt;principal")
Screenshot 2024-11-22 at 2 49 31 PM

'order', 'level', 'children' are applicable to the fsi_core and fsi_encouraged_set presets.
These two return values as a percent, so they are comparable between countries.

Screenshot 2024-11-22 at 2 58 37 PM

@github-actions github-actions bot added enhancement Enhancement platform OpenBB Platform v4 PRs for v4 labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement platform OpenBB Platform v4 PRs for v4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant