obmrs 0.1.0

As a participant, you will create a structure to receive and hold the exchange-distributed order book. This structure will be called the OrderBoard, and will hold the order book's bids and asks as a price-sorted map, input and output. It will store aggregates against prices, not individual orders against prices.
Documentation

obmrs for rust [This is a project under review. since: 2024/10/07]

参加者として、取引所配信のOrderbookを受信し、保持するための構造体を作成します。 この構造体は、OrderBoardという名前で、Orderbookのbidsとasksを価格ソートされたマップとして保持及び入出力します。 価格に対する総体を保存するものであり、価格に対する注文それぞれを保存するものではありません。

Futures

  • new
  • converter: price as any, size as any to Result<Book, _>
  • push, extend
  • best: best_ask, best_bidを取得します
  • wall(size): 指定サイズ以上のBookを取得します
  • trim_inside_best_book(best_ask, best_bid): best値の内側を削除します _

via golang client

go-obm @go-numb

Author

@_numbP

License

MIT