#cryptocurrency #blockchain #trading

app crypto-cli-tools

A collection of CLI tools to process cryptocurrency data

150 releases (64 stable)

Uses new Rust 2021

new 1.4.4 Nov 28, 2022
1.3.15 Oct 31, 2022
1.2.8 Jul 26, 2022
0.9.9 Jun 9, 2022
0.6.1 Nov 4, 2021

#47 in Magic Beans

Download history 42/week @ 2022-08-11 86/week @ 2022-08-18 256/week @ 2022-08-25 27/week @ 2022-09-01 408/week @ 2022-09-08 45/week @ 2022-09-15 40/week @ 2022-09-22 146/week @ 2022-09-29 60/week @ 2022-10-06 44/week @ 2022-10-13 139/week @ 2022-10-20 150/week @ 2022-10-27 191/week @ 2022-11-03 88/week @ 2022-11-10 149/week @ 2022-11-17 57/week @ 2022-11-24

488 downloads per month

Apache-2.0

84KB
2K SLoC

crypto-cli-tools

A collection of CLI tools to process cryptocurrency data.

Install: RUSTFLAGS="-C target-cpu=native" cargo install crypto-cli-tools

crypto-daily-merger

If you have deployed carbonbot to multiple geographical locations, then you need to use this CLI tool to merge and deduplicate data from multiple carbonbots.

Usage: crypto-daily-merger <yyyy-MM-dd> <input_dirs(comma separated)> <output_dir>.

crypto-msg-parser

Parse raw strings from crypto-crawler or re-parse messages generated by crypto-msg-parser. Output messages are sorted by timestamp and deduplicated.

Usage: crypto-msg-parser <input_file> <output_file> [yyyy-MM].

If month is specified, only messages of the month will be kept.

csv-to-proto

This CLI tool converts .csv.xz files to .proto.xz files.

The CSV messages are generated by to_csv_string() functions in crypto-message/src/lib.rs.

crypto-daily-processor(DEPRECATED)

Usage: crypto-daily-processor <exchange> <msg_type> <market_type> <day> <input_dir> <output_dir_raw> <output_dir_parsed>

For example:

crypto-daily-processor bitstamp trade spot 2021-09-02 /mnt/dpool/download /mnt/dpool/daily-raw /mnt/dpool/daily-parsed

This CLI tool is replaced by crypto-daily-merger + crypto-msg-parser.

Dependencies

~10–20MB
~422K SLoC