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

wboayue / rust-ibapi / 21538104119
86%

Build:
DEFAULT BRANCH: main
Ran 31 Jan 2026 03:43AM 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

31 Jan 2026 03:38AM UTC coverage: 86.605% (-0.09%) from 86.696%
21538104119

push

github

web-flow
Add historical_data_streaming() with keepUpToDate=true support (#384)

* feat:
   add historical_data_streaming() with keepUpToDate=true support

   Add streaming historical data support for IBKR's reqHistoricalData API
   with keepUpToDate parameter enabled. This allows receiving continuous
   bar updates as they build, enabling live trading strategies to receive
   bars at any IBKR-supported resolution.

   Changes:
   - Add HistoricalBarUpdate enum to represent streaming updates
   - Add decode_historical_data_update() for message type 90
   - Add historical_data_streaming() async function that sets keepUpToDate=true
   - Add HistoricalDataStreamingSubscription for handling streaming responses

   IBKR behavior notes:
   - Same timestamp bars are sent ~4-6 seconds apart as they build
   - When a NEW timestamp appears, the previous bar is complete
   - Supported what_to_show: Trades, Midpoint, Bid, Ask only
   - end_date must be None when keepUpToDate=true

* add missing historical_data_streaming function

* Change channel-closed logs from warn to
  info

* fixed historical_data_streaming to properly received historical streaming data with keep_up_to_date=true

* fixed formatting and doc tests

* Revert "Change channel-closed logs from warn to"

This reverts commit 065a65e8c.

* fix: use proper contract builders in example

- Use Contract::forex() builder instead of manual field assignment
- Use struct initialization for futures query to satisfy clippy

---------

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

55 of 74 new or added lines in 4 files covered. (74.32%)

1 existing line in 1 file now uncovered.

8761 of 10116 relevant lines covered (86.61%)

117.72 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
99.01
-0.24% src/messages.rs
3
92.4
-1.65% src/client/async.rs
15
80.42
-3.75% src/market_data/historical/async.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
63.95
0.0% src/contracts/types.rs
Jobs
ID Job ID Ran Files Coverage
1 21538104119.1 31 Jan 2026 03:43AM UTC 103
86.61
GitHub Action Run
Source Files on build 21538104119
  • Tree
  • List 103
  • Changed 8
  • Source Changed 7
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21538104119
  • 511c099e on github
  • Prev Build on main (#21376678090)
  • Next Build on main (#21538135584)
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