0.18.4 market data example in readme produces the error during cargo build:
error[E0412]: cannot find type `KlineSummary` in this scope
--> src/bin/binance-kline.rs:84:32
|
84 | let kline: KlineSummary = klines[0].clone(); // You need to iterate over the klines
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 | use binance::futures::model::KlineSummary;
|
For more information about this error, try `rustc --explain E0412`.
error: could not compile `cc` due to previous error
0.18.4 market data example in readme produces the error during
cargo build
:fix: add
use binance::model::*;