#stock #utility #wmjtyd


The utilities for operating stocks

4 releases (2 breaking)

0.4.0-pre.1 Aug 23, 2022
0.2.0 Jul 6, 2022
0.2.0-beta.1 Jul 2, 2022
0.1.0 Jun 29, 2022

#28 in #stock

30 downloads per month


3.5K SLoC


Crates.io / Downloads docs.rs Crates.io / Version Crates.io / License

The utilities for operating stocks. Especially for wmjtyd/crypto-market.

See the documentation for usage and examples.
See the crates.io page for more information about this crate.


wmjtyd-libstock - utilities for operating stocks

The utilities for operating stocks. For example:

  • Using methods under [mod@data], you can operate with data structures, such as orderbook, bbo, kline, etc.
  • Using methods under [mod@file], you can operate with files and create a daemon to write files with the well-defined format to the well-defined directory.
  • Using methods under [mod@flag] to use thread-safe, lock-free flags.
  • Using methods under slack module to send notifications to Slack with Slack Hook (required to enable slack feature, which is enabled by default)
  • Using methods under [mod@message] to subscribe and publish based on Nanomsg or Zeromq.




~225K SLoC