Skip to content

feat(analysis): add FXMacroData release calendar integration - #46

Draft
roberttidball wants to merge 2 commits into
Jon-Becker:mainfrom
roberttidball:agent/add-fxmacrodata-integration-20260708
Draft

feat(analysis): add FXMacroData release calendar integration#46
roberttidball wants to merge 2 commits into
Jon-Becker:mainfrom
roberttidball:agent/add-fxmacrodata-integration-20260708

Conversation

@roberttidball

@roberttidball roberttidball commented Jul 8, 2026

Copy link
Copy Markdown

What changed? Why?

Adds a small, read-only FXMacroData helper for prediction-market studies that need official-source macro release-calendar context. The helper fetches scheduled macro releases from the public FXMacroData calendar endpoint, caps requested rows, and exposes upcoming tier-filtered events that can be joined to Kalshi or Polymarket workflows.

Notes to reviewers

Key files changed:

  • src/common/fxmacrodata.py: FXMacroData release-calendar helper functions.

The integration uses only the Python standard library and keeps API-key use optional via FXMACRODATA_API_KEY or an explicit function argument.

How has it been tested?

  • python -m ruff check .
  • python -m ruff format --check .
  • python -m pytest tests/test_compile.py::test_module_imports -q -k fxmacrodata
  • git diff --check

Full python -m pytest tests/ -q was attempted locally, but this environment is missing optional dependencies used by unrelated modules (web3, squarify). The repository's CI uses uv sync --group dev, which should install those dependencies.

@roberttidball roberttidball changed the title Add FXMacroData release-calendar integration feat(analysis): add FXMacroData release calendar integration Jul 11, 2026
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