26 releases (17 stable)

1.1.6 Aug 14, 2023
1.1.5 Oct 31, 2022
1.1.3 Aug 17, 2022
1.1.1 Jul 4, 2022
0.1.2 Mar 19, 2021

#96 in #cryptocurrency

Download history 94/week @ 2023-12-18 79/week @ 2023-12-25 47/week @ 2024-01-01 63/week @ 2024-01-08 54/week @ 2024-01-15 85/week @ 2024-01-22 61/week @ 2024-01-29 53/week @ 2024-02-05 62/week @ 2024-02-12 69/week @ 2024-02-19 166/week @ 2024-02-26 102/week @ 2024-03-04 219/week @ 2024-03-11 322/week @ 2024-03-18 192/week @ 2024-03-25 586/week @ 2024-04-01

1,343 downloads per month
Used in 9 crates (8 directly)

Apache-2.0

7KB
99 lines

crypto-crawler-rs

Discord

A rock-solid cryprocurrency crawler.

Quickstart

Use the carbonbot binary to crawl data.

If you need more control and customization, use this library.

Architecture

  • crypto-crawler is the crawler library to crawl websocket and restful messages from exchanges
  • carbonbot is the main CLI tool to run crawlers.
  • crypto-ws-client is the underlying websocket client library, providing a set of universal APIs for different exchanges.
  • crypto-rest-client is the underlying RESTful client library, providing universal APIs to get public data from different exchanges.
  • crypto-markets is a RESTful library to retreive market meta data from cryptocurrency echanges.
  • crypto-client is a RESTful client library to place and cancel orders.
  • Support multiple languages. Some libraries support multiple languages, which is achieved by first providing a FFI binding, then a languge specific wrapper. For example, crypto-crawler provides a C-style FFI binding first, and then provides a Python wrapper and a C++ wrapper based on the FFI binding.

How to parse raw messages

Use the crypto-msg-parser library to parse raw messages.

Crawlers should always preserve the original data without any parsing.

Dependencies

~0.5–1.1MB
~25K SLoC