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

wboayue / rust-ibapi / 26267163379
92%

Build:
DEFAULT BRANCH: main
Ran 22 May 2026 03:45AM UTC
Jobs 1
Files 132
Run time 1min
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

22 May 2026 03:42AM UTC coverage: 92.214% (+0.009%) from 92.205%
26267163379

push

github

web-flow
realtime: TickByTickBuilder replaces tick_by_tick_* quartet (#618)

* realtime: TickByTickBuilder replaces tick_by_tick_* quartet

Collapse the four near-identical `tick_by_tick_{all_last,last,bid_ask,midpoint}`
methods (sync + async) into one `client.tick_by_tick(&c, n)` builder entry
with `.last()` / `.all_last()` / `.bid_ask(IgnoreSize)` / `.mid_point()`
terminals. The `ignore_size: bool` arg — only meaningful for BidAsk per
IBKR — becomes an `IgnoreSize` enum on that terminal alone.

Shared `pub(crate) fn tick_by_tick<T: StreamDecoder<T>>` helpers in
realtime/sync and realtime/async deduplicate the wire encoding +
validate_tick_by_tick_request path.

Mirrors the HistoricalTicksBuilder shape established in #613.

* realtime: /simplify cleanup for TickByTickBuilder

- Add `# Examples` block to async `Client::tick_by_tick` entry to match the
  sync sibling (per-method sync/async doc pairing).
- Inline `let ignore_size = false;` test bindings — the variable lost its
  call-site after the builder migration; only consumer is `.ignore_size(...)`
  in the assert, which now takes the literal directly. 8 sites.
- Sync doc-examples: `subscription.iter()` yields
  `Result<SubscriptionItem<T>, Error>`, not `T` — printing as `{x:?}` would
  show the wrapped form. Switch to `.iter_data()` + match on the result,
  which yields `Result<T, Error>`. Covers the 4 new tick_by_tick terminals,
  the entry-point examples in sync/mod.rs (tick_by_tick + realtime_bars),
  and the touched bars.rs `RealtimeBarsBuilder::subscribe` example.

70 of 70 new or added lines in 3 files covered. (100.0%)

19176 of 20795 relevant lines covered (92.21%)

28.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26267163379.1 22 May 2026 03:45AM UTC 132
92.21
GitHub Action Run
Source Files on build 26267163379
  • Tree
  • List 132
  • Changed 4
  • Source Changed 4
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26267163379
  • 64a46f74 on github
  • Prev Build on main (#26261935965)
  • Next Build on main (#26268158349)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc