• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wboayue / rust-ibapi / 25622515907 / 1
92%
main: 92%

Build:
DEFAULT BRANCH: main
Ran 10 May 2026 07:07AM UTC
Files 126
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 May 2026 07:06AM UTC coverage: 89.593% (+0.1%) from 89.495%
25622515907.1

push

github

web-flow
chore(realtime): drop text branches in 13 market-data decoders (#543)

* chore(realtime): drop text branches in 13 market-data decoders

Floor-210 cleanup for realtime market-data. Tick-by-tick / RealTimeBars
(gate 208) and TickPrice/Size/String/Generic/OptionComputation/ReqParams/
MarketDataType/MarketDepth/MarketDepthL2 (gate 206) are now proto-only;
text-framed arrival rejected via require_proto and skip-classifies.

- Add 3 tick-by-tick proto decoders over proto::TickByTickData oneof
- Move decode_real_time_bar_proto from historical → realtime (output is
  realtime::Bar; the historical home was misplaced)
- Drop context.server_version plumbing through Bar/Trade/BidAsk/MidPoint/
  MarketDepths dispatchers; replace decode_proto_or_text with direct
  decoder calls in TickTypes::decode
- New realtime/common/test_helpers.rs with shared proto fixtures for
  sync/async/decoders test files; sync+async tests migrated from text
  response_messages to proto_response()
- Remove now-unused crate::contracts::decode_option_computation re-export

Stays text: decode_tick_efp (no server proto). Stays dual-format:
decode_market_depth_exchanges (gate 213, future ratchet).

* docs(plan): cite PR #543 for realtime text-cleanup

* chore(realtime): /simplify pass — fixture builders, tighter decoder

Replaces realtime/common/test_helpers.rs (free positional-arg helpers,
8/7-arg fns + clippy::too_many_arguments allows) with field-minimal
ResponseProtoEncoder builders in src/testdata/builders/market_data.rs,
matching the news/scanner/orders precedent (rule 19).

- New builders: realtime_bar_tick / trade_tick / bid_ask_tick /
  mid_point_tick / market_depth_response / tick_price / tick_size /
  tick_string / tick_generic. Default uses TEST_REQ_ID_FIRST (was 9001),
  fluent setters per field, ResponseProtoEncoder for free encode_proto.
- decoders/tests.rs: drop redundant cfg(test) on inner modules and the
  duplicated local encode helper; consume builders directly.
- decoders... (continued)

18269 of 20391 relevant lines covered (89.59%)

25.2 hits per line

Source Files on job 25622515907.1
  • Tree
  • List 126
  • Changed 6
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25622515907
  • 2ed4b079 on github
  • Prev Job for on main (#25620921532.1)
  • Next Job for on main (#25622810836.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc