Skip to content

Retry BTC market snapshot fetch#60

Merged
Pigbibi merged 1 commit into
mainfrom
codex/retry-btc-market-snapshot
Jun 6, 2026
Merged

Retry BTC market snapshot fetch#60
Pigbibi merged 1 commit into
mainfrom
codex/retry-btc-market-snapshot

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add bounded retry support when resolving the live BTC market snapshot.
  • Wire the Binance runtime to retry BTC daily fetches up to 3 times by default with short backoff.
  • Add localized retry log messages and unit coverage for retry success/failure paths.

Root Cause

A transient timeout from api.binance.com caused BTC daily indicators to return None, which correctly stopped the strategy cycle but made a single external API timeout fail the whole Runtime workflow.

Validation

  • python -m unittest tests.test_binance_runtime_infra tests.test_market_snapshot_support tests.test_main_runtime_error_notification
  • git diff --check

@Pigbibi Pigbibi merged commit b71548a into main Jun 6, 2026
1 check passed
@Pigbibi Pigbibi deleted the codex/retry-btc-market-snapshot branch June 6, 2026 20:10
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