1 2 3 4 5 6 7 8 9 10
use crypto_markets::{fetch_symbols, MarketType}; #[test] fn fetch_spot_symbols() { let symbols = fetch_symbols("coinbase_pro", MarketType::Spot).unwrap(); assert!(!symbols.is_empty()); for symbol in symbols.iter() { println!("{}", symbol); } }