Installation
Add kestrel-chartkit from crates.io and choose its Cargo features.
cargo add kestrel-chartkit
Or in Cargo.toml:
[dependencies]
kestrel-chartkit = "0.11"
Note
The crate is pre-1.0, and a breaking change raises the minor version. "0.11" takes 0.11.x
patch releases but not 0.12; move to a new minor version deliberately.
Cargo features
| Feature | Default | Adds |
|---|---|---|
serde |
yes | Serialize and Deserialize for public data types |
calendar |
no | ExchangeCalendar: IANA-timezone-aware trading sessions, via chrono-tz |
Without default features the crate has no dependencies at all:
[dependencies]
kestrel-chartkit = { version = "0.11", default-features = false }
Requirements
Rust 1.87 or newer (rust-version in Cargo.toml).
Try the examples
The repository contains runnable examples:
git clone https://github.com/casoon/kestrel-chartkit
cd kestrel-chartkit
cargo run --example basic_indicator
cargo run --example synthetic_patterns
cargo run --example site_showcase # writes the SVG charts shown on this site
Next steps
Continue with the Quickstart to stream bars through an indicator.