Crates.io | crypto-cli-tools |
lib.rs | crypto-cli-tools |
version | 1.4.35 |
source | src |
created_at | 2021-09-18 01:30:06.375185 |
updated_at | 2023-05-06 07:47:07.087758 |
description | A collection of CLI tools to process cryptocurrency data |
homepage | |
repository | https://github.com/soulmachine/crypto-cli-tools |
max_upload_size | |
id | 453142 |
size | 169,326 |
A collection of CLI tools to process cryptocurrency data.
Install: RUSTFLAGS="-C target-cpu=native" cargo install crypto-cli-tools
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>
.
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.
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.
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
.