crypto-pair

Crates.iocrypto-pair
lib.rscrypto-pair
version2.3.20
sourcesrc
created_at2020-12-25 05:35:36.2854
updated_at2024-03-10 04:42:47.761948
descriptionParse exchange-specific symbols to unified format
homepage
repositoryhttps://github.com/crypto-crawler/crypto-msg-parser/tree/main/crypto-pair
max_upload_size
id327086
size97,348
Frank Dai (soulmachine)

documentation

README

crypto-pair

Parse exchange-specific symbols to unified format.

Usage

use crypto_pair::normalize_pair;

fn main() {
    assert_eq!(Some("BTC/USD".to_string()), normalize_pair("XBTH21", "BitMEX"));
}
Commit count: 0

cargo fmt