Skip to content

fix: Add WebSocket streaming for live market data#16

Closed
ledgerpilot wants to merge 3 commits intokcolbchain:mainfrom
ledgerpilot:ledgerpilot/fix-10
Closed

fix: Add WebSocket streaming for live market data#16
ledgerpilot wants to merge 3 commits intokcolbchain:mainfrom
ledgerpilot:ledgerpilot/fix-10

Conversation

@ledgerpilot
Copy link
Copy Markdown
Contributor

Closes #10

What changed

This fix introduces a WebSocketPriceFeed class to src/oracle/price_feed.py for real-time price streaming and modifies src/agents/rwa_market_maker.py to utilize this new feed for live market data when not in simulation mode, requiring the market maker's execution loop to become asynchronous.

Files modified

  • requirements.txt
  • src/oracle/price_feed.py
  • src/agents/rwa_market_maker.py

Draft PR — please review before merging.

@ledgerpilot ledgerpilot marked this pull request as ready for review April 9, 2026 05:50
@abhicris
Copy link
Copy Markdown
Contributor

Closing in favor of #21 which has better test coverage and keeps the WebSocket feed as a standalone connector rather than injecting into price_feed.py. Thanks for the contribution!

@abhicris abhicris closed this Apr 15, 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.

Add WebSocket streaming for live market data

2 participants