crypto-pair 1.0.1

Normalize cryptocurrency trade pairs
Documentation

crypto-pair

Get all trading pairs of a cryptocurrency exchange.

Usage

use crypto_pair::fetch_markets;

fn main() {
    assert_eq!(Some("BTC_USD".to_string()), normalize_pair("XBTH21", "BitMEX"));
}