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

wboayue / rust-ibapi / 25639429621
92%

Build:
DEFAULT BRANCH: main
Ran 10 May 2026 08:50PM UTC
Jobs 1
Files 127
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

10 May 2026 08:49PM UTC coverage: 89.664% (+0.02%) from 89.645%
25639429621

push

github

web-flow
docs(orders): converge order construction on the fluent path (#549)

* docs(orders): converge order construction on the fluent path

Pick `client.order(&c).buy(n).<type>().submit()` as canonical; demote the
`order_builder::*` free fns to the advanced / client-less layer (BYO order id,
offline construction, hand-composed multi-leg). `submit()` allocates the order
id internally — `next_order_id()` stays public for BYO-id flows but is no
longer shown in canonical examples.

Also folds in v3-api-ergonomics §1 sibling item "Drop client.next_order_id()
from the canonical happy path" — every example sweep touches both.

Examples (10 files): place_order/readme_place_order/submit_order/breakout/
options_purchase/bracket_order/next_order_id (sync), place_order/
order_update_stream (async), conditional_orders (offline). Diagnostic
next_order_id prints removed from connect/stream_bars/contract_details.

Module reframe: order_builder/mod.rs leads with the fluent example, demotes
free fns, points BYO-id callers at OrderBuilder::build_order().

Docs sweep: quick-start, api-patterns (rewrote conditional-orders section to
fluent), order-types (corrected lmt_price -> limit_price, tif: String ->
TimeInForce), extending-api, code-style, troubleshooting. New §"Order
construction" in migration-3.0.md with side-by-side 2.x/3.0 (sync, async,
bracket, BYO-id).

plans/v3-api-ergonomics.md: §1 items checked; §6 marked partial.

* docs(examples): drop monitor boilerplate, dedupe Side enum

Post-ship review (duplication / SRP / composability) flagged:

1. Background monitor thread copy-pasted across 5 sync examples whose stated
   purpose is order construction, not monitoring. Drop the monitor + Arc wrap
   from bracket_order, options_purchase, place_order — each becomes ~30 lines
   shorter. Keep the monitor in submit_order + readme_place_order +
   order_update_stream (those examples explicitly demo the monitor pattern).
   Cross-link from the slimmed examples to submit_order i... (continued)

10 of 10 new or added lines in 1 file covered. (100.0%)

18461 of 20589 relevant lines covered (89.66%)

31.39 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25639429621.1 10 May 2026 08:50PM UTC 127
89.66
GitHub Action Run
Source Files on build 25639429621
  • Tree
  • List 127
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25639429621
  • d165f8e4 on github
  • Prev Build on main (#25635723053)
  • Next Build on main (#25650068749)
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