Skip to content

Conversation

@vgreg
Copy link
Owner

@vgreg vgreg commented Jan 9, 2026

Summary

Test plan

  • All 396 existing tests pass
  • Fix is consistent with the implementation in itch50_writer.py (line 168)

🤖 Generated with Claude Code

When processing AddOrderMessage or AddOrderMPIDMessage, add the order_ref
to self._order_refs so subsequent message handlers (executions, cancels,
deletes, replacements) can properly track and process orders for this
instrument.

Without this fix, _order_refs remained empty and all subsequent handlers
would exit early, causing the limit order book to not be updated correctly.

Fixes #68

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/meatpy/itch50/itch50_market_processor.py 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vgreg vgreg merged commit b8199ae into main Jan 9, 2026
5 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.

parts of code not initialized and not executed because self_order_refs is not updated

3 participants