Registry / other / cxmr-orderbook

cxmr-orderbook

JSON →
library0.0.1rscratesunverified

Basic order book implementation.

# Cargo.toml [dependencies] cxmr-orderbook = "0.0.1"
INSTALL
IMPORT
SIG · CXMR-ORDERBOOK
C
cxmr-orderbook
otherrustv0.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

OrderBook
use cxmr_orderbook::OrderBook;

Creates an order book and adds an order.

use cxmr_orderbook::OrderBook; fn main() { let mut book = OrderBook::new(); book.add_order(100.0, 10.0); println!("Best bid: {:?}", book.best_bid()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Meta
1
Resources
cxmr-orderbook — cargo add cxmr-orderbook · libregistry