Closed ts7even closed 1 year ago
Actually I would prefer to just focus on the library's API in the Read.me instead of providing a comprehensive list of all potential usages. For example, to just print timestamp and adjclose, you could just replace the line let quotes = ...
by something like
let quotes: Vec<(u64, f64)> = response.quotes().unwrap().iter().map(|q| (q.timestamp, q.adjclose)).collect();
to achieve the desired result.
I was wondering if you could provide an example how to access (print) certain quotes within the quotes summary. For example, only print adjclose and timestamp, not the entire quote summary (high, low, open, ect)