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

wboayue / rust-ibapi / 22045945479
86%

Build:
DEFAULT BRANCH: main
Ran 16 Feb 2026 12:28AM UTC
Jobs 1
Files 103
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

16 Feb 2026 12:23AM UTC coverage: 85.423% (-0.8%) from 86.257%
22045945479

push

github

web-flow
Implement new TWS API features, bump server version to 197 (#406)

* Implement new TWS API features and bump server version to 197

- Add server_time_millis for millisecond-precision server time
- Add cancel_contract_details and cancel_historical_ticks
- Handle HistoricalDataEnd response in streaming subscriptions
- Add last_trade_date field to Contract (server >= 182)
- Fix historical data decoder for server >= 196 (start/end dates
  moved to HistoricalDataEnd message)
- Bump max server version from 173 to 197
- Add integration tests for new features

* Add todo for completing cancel request support

* Fix historical data end dates and HistoricalBarUpdate::End type

- Consume HistoricalDataEnd message in non-streaming historical_data()
  for server v196+ so start/end dates are correct instead of now_utc()
- Change HistoricalBarUpdate::End fields from String to OffsetDateTime
- Add decode_historical_data_end decoder shared by both code paths
- Add missing blank line between Contract fields

* Fix error message parsing for server version >= 194 (ERROR_TIME)

Server versions >= 194 drop the version field from error messages and
append a timestamp, shifting all field indices by -1. Add server_version
to ResponseMessage with version-aware accessor methods (error_code(),
error_message(), error_request_id()) so all consumers parse both old
and new formats correctly.

* Parse Contract.last_trade_date as time::Date

Replace Option<String> with Option<time::Date> and parse the YYYYMMDD
string from the server. Add last_trade_date_check example with current
contract dates.

* Log startup warnings/system messages at info level instead of error

* Fix HistoricalDataEnd date parsing for server version >= 196

Server version >= HISTORICAL_DATA_END sends dates as
"YYYYMMDD HH:MM:SS TZ" (single space + timezone) instead of the old
inline format "YYYYMMDD  HH:MM:SS" (double space, no timezone).

Extract parse_date and parse_date_with_tz helpers and branch on
server_ver... (continued)

80 of 195 new or added lines in 24 files covered. (41.03%)

6 existing lines in 4 files now uncovered.

8872 of 10386 relevant lines covered (85.42%)

118.14 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
80.16
0.0% src/market_data/realtime/async.rs
1
71.43
0.0% src/market_data/realtime/mod.rs
4
82.05
-3.28% src/connection/common.rs
4
95.15
-2.35% src/contracts/common/decoders.rs
5
88.46
-9.41% src/accounts/sync.rs
5
72.29
-4.63% src/contracts/async.rs
5
74.36
-5.09% src/contracts/sync.rs
6
89.39
-8.94% src/accounts/async.rs
6
95.97
-4.03% src/accounts/common/decoders.rs
6
88.52
-3.0% src/client/async.rs
6
86.56
-2.89% src/client/sync.rs
6
79.02
-0.78% src/transport/sync.rs
12
96.45
-2.58% src/messages.rs
14
74.63
-5.37% src/market_data/historical/async.rs
15
68.9
-4.1% src/market_data/historical/sync.rs
19
88.78
-9.54% src/market_data/historical/common/decoders.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
61.05
1.16% src/contracts/types.rs
1
68.9
-4.1% src/market_data/historical/sync.rs
1
96.45
-2.58% src/messages.rs
3
79.02
-0.78% src/transport/sync.rs
Jobs
ID Job ID Ran Files Coverage
1 22045945479.1 16 Feb 2026 12:28AM UTC 103
85.42
GitHub Action Run
Source Files on build 22045945479
  • Tree
  • List 103
  • Changed 29
  • Source Changed 28
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22045945479
  • a0a83959 on github
  • Prev Build on main (#22042507624)
  • Next Build on main (#22045988894)
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