[Feature] Add Banxico Provider for USD/MXN Historical Data - #7646
Open
tania-rp wants to merge 6 commits into
Open
[Feature] Add Banxico Provider for USD/MXN Historical Data#7646tania-rp wants to merge 6 commits into
tania-rp wants to merge 6 commits into
Conversation
tania-rp
force-pushed
the
add-banxico-provider
branch
from
August 30, 2026 01:06
25668af to
fcc154c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request the OpenBB Platform
Description
Adds a Banco de México (Banxico) provider for historical USD/MXN FIX exchange-rate data using SIE series
SF43718.The provider:
Integrates with
currency.price.historical.Supports
USDMXNandUSD-MXN.Requires a Banxico SIE token configured as
banxico_api_key.Skips observations reported as unavailable (
N/E).Includes provider registration, documentation, tests, and a sanitized HTTP cassette.
Link # issue, if applicable.
No linked issue.
Not applicable; this is a data-provider integration.
Banxico is the authoritative source for Mexico's official FIX exchange rate. This provider makes historical USD/MXN FIX observations available through OpenBB's standard currency historical-data interface.
Requires
openbb-core ^1.6.10and a free Banxico SIE API token for live requests. No additional runtime dependencies were introduced.How has this been tested?
The provider test suite was executed with:
cd openbb_platform/providers/banxico python -m pytest tests/test_banxico_fetchers.py -qResult:
6 passed.Additional validations completed successfully:
The complete fetcher flow is covered by a sanitized HTTP cassette containing
MOCK_TOKENandMOCK_COOKIE.The referenced
openbb_platform/EXTENSIONS.md,openbb_platform/PROVIDERS.md, and.github/workflows/platform-api-integration-test.ymlfiles are not present in the currentdevelopbranch, so these items are not applicable.Checklist