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

wboayue / rust-ibapi / 43675759708
98%

Build:
DEFAULT BRANCH: main
Ran 15 Nov 2026 04:16AM UTC
Jobs 1
Files 161
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

15 Nov 2026 04:12AM UTC coverage: 97.786% (+0.03%) from 97.753%
43675759708

push

github

web-flow
6.0: Order's order-type fields are Option<OrderType>, not String (#1220)

* 6.0: Order's order-type fields are Option<OrderType>, not String

`Order::order_type`, `adjusted_order_type` and `delta_neutral_order_type`
become `Option<OrderType>`, the builder's enum, with `None` for unset;
`OrderType` gains `Unknown(String)`, `FromStr`, `Display` and serde as the
wire code. `ComboLimit`, `ComboMarket`, `MarketOnOpen`, `LimitOnOpen` and
`AtAuction` are removed (`market_on_open()`, `limit_on_open()` and
`at_auction()` set type and TIF); `.order_type(..)` sets no TIF. TWS echoes
an unset adjusted or delta-neutral type as "None", decoded to `None`
(wire-facts). CHANGELOG, migration guide and the enum-typing and
builder-enum-coverage rule nodes are updated.
Migration §32.

* orders: send every set price for Unknown order types; case-insensitive "None"

- OrderBuilder::build sends limit, aux (or stop), trail and limit offset for
  OrderType::Unknown instead of silently dropping them
- shared is_unset_order_type: decoder and serde read "None" in any case
- wire-facts: modify from the echo with "None" is accepted; MTL limit price is
  accepted and dropped on DAY/GTC; AUC rejected (201) on AAPL SMART

* orders: move OrderType to orders/order_type.rs

OrderType is a core Order field type decoded by orders::common, not a builder
concern; it now sits beside its siblings. orders::OrderType and
orders::builder::OrderType re-exports unchanged.

---------

Co-authored-by: Wil Boayue <wil.boayue@gmail.com>

168 of 169 new or added lines in 6 files covered. (99.41%)

20802 of 21273 relevant lines covered (97.79%)

544.65 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
95.97
0.0% src/orders/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 43675759708.1 15 Nov 2026 04:16AM UTC 161
97.79
GitHub Action Run
Source Files on build 43675759708
  • Tree
  • List 161
  • Changed 8
  • Source Changed 7
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43675759708
  • 7bea74d4 on github
  • Prev Build on main (#43666294323)
  • Next Build on main (#43677335839)
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