Crate crypto_markets

Crate crypto_markets 

Source
Expand description

Get all trading pairs of a cryptocurrency exchange.

§Example

use crypto_markets::fetch_markets;
use crypto_market_type::MarketType;

let markets = fetch_markets("binance", MarketType::Spot).unwrap();
println!("{}", serde_json::to_string_pretty(&markets).unwrap())

Structs§

Error
Fees
Market
Market contains all information about a market
Precision
QuantityLimit

Functions§

fetch_markets
Fetch trading markets of a cryptocurrency exchange.
fetch_symbols
Fetch trading symbols.