global: snapshot

This commit is contained in:
nym21
2026-03-12 01:30:50 +01:00
parent 71dd7e9852
commit b97f32f86e
51 changed files with 916 additions and 652 deletions

View File

@@ -1,7 +1,7 @@
//! Basic example of using the BRK client.
use brk_client::{BrkClient, BrkClientOptions};
use brk_types::{FormatResponse, Index, Metric};
use brk_types::{FormatResponse, Index, Metric, RangeIndex};
fn main() -> brk_client::Result<()> {
// Create client with default options
@@ -79,7 +79,7 @@ fn main() -> brk_client::Result<()> {
let metricdata = client.get_metric(
Metric::from("price_close"),
Index::Day1,
Some(-3),
Some(RangeIndex::Int(-3)),
None,
None,
None,