Skip to content

Comments

Refactor BitvavoClient to use Callbacks struct#2

Merged
AirVan21 merged 2 commits intomainfrom
refactor-bitvavo-client-callbacks
Feb 7, 2026
Merged

Refactor BitvavoClient to use Callbacks struct#2
AirVan21 merged 2 commits intomainfrom
refactor-bitvavo-client-callbacks

Conversation

@AirVan21
Copy link
Owner

@AirVan21 AirVan21 commented Feb 7, 2026

Summary

  • Replace individual SetBBOCallback/SetErrorCallback/SetConnectionCallback methods with a single Callbacks struct passed at construction
  • Add OrderBook and PublicTrade data types for future subscription support
  • Rename internal WssWorker callbacks variable to ws_callbacks to avoid shadowing

Test plan

  • Verify project builds successfully
  • Verify BBO streaming still works with the new callback API

🤖 Generated with Claude Code

AirVan21 and others added 2 commits February 7, 2026 17:17
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…l setters

Replace SetBBOCallback/SetErrorCallback/SetConnectionCallback with a single
Callbacks struct passed at construction. Add OrderBook and PublicTrade data
types for future subscription support.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@AirVan21 AirVan21 merged commit 0a7c7d6 into main Feb 7, 2026
3 checks passed
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