Skip to content

Fix BTC download for GitHub Actions (Binance Vision fallback)#7

Merged
Pigbibi merged 1 commit into
mainfrom
fix/binance-vision-fallback
Jun 26, 2026
Merged

Fix BTC download for GitHub Actions (Binance Vision fallback)#7
Pigbibi merged 1 commit into
mainfrom
fix/binance-vision-fallback

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Try data-api.binance.vision, then api.binance.us, then api.binance.com when fetching BTCUSDT daily klines.
  • Record the actual provider used in bundle provenance.

Context

The initial publish workflow failed on GitHub-hosted runners with HTTP 451 from api.binance.com.

Test plan

  • python -m pytest tests/test_publish_ibit_btc_platform_handoff.py -q
  • Merge and rerun Publish Platform Handoffs with execute_publish=true

Made with Cursor

GitHub-hosted runners receive HTTP 451 from api.binance.com, so the publish script now tries data-api.binance.vision and binance.us before falling back to the primary endpoint.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Pigbibi
Pigbibi merged commit 7cdfced into main Jun 26, 2026
@Pigbibi
Pigbibi deleted the fix/binance-vision-fallback branch June 26, 2026 20:58
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