Skip to content

Add FXMacroData release-calendar integration - #154

Open
roberttidball wants to merge 4 commits into
AmpyFin:mainfrom
roberttidball:agent/add-fxmacrodata-integration-20260708
Open

roberttidball wants to merge 4 commits into
AmpyFin:mainfrom
roberttidball:agent/add-fxmacrodata-integration-20260708

Conversation

@roberttidball

@roberttidball roberttidball commented Jul 8, 2026 •

Copy link
Copy Markdown

Summary

  • add a read-only FXMacroData integration for official-source macro release-calendar data
  • use the public https://api.fxmacrodata.com/v1/calendar/{currency} endpoint with optional FXMACRODATA_API_KEY
  • support event-risk workflows by exposing release names, dates, timestamps, market tiers, and source metadata

Validation

  • git diff --check
  • Python helpers: python -m py_compile on changed .py files where applicable
  • TypeScript repos: native build/type checks where applicable
  • Live smoke: FXMacroData USD calendar helper returned a locally limited set of public top-tier rows

Note: R is not installed in this local environment, so R package changes were reviewed but not executed with R CMD check.

Switches the base URL from the undocumented fxmacrodata.com/api/v1
alias to the published api.fxmacrodata.com/v1 host, so the client
matches the public API reference.
@roberttidball
roberttidball marked this pull request as ready for review August 26, 2026 02:42
@roberttidball
roberttidball force-pushed the agent/add-fxmacrodata-integration-20260708 branch from 4aa79f6 to 38de259 Compare September 14, 2026 13:14
@roberttidball

Copy link
Copy Markdown
Author

Small hardening pass: the key is no longer sent if the API redirects to another origin, error messages never include it, and malformed responses return a clear error. Tests added (not run locally).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant