litebook
A fast and performant limit order book in Python utilizing a Rust backend. Install it with
pip install litebook
Using litebook
Get started with litebook using the following example:
import litebook as lb
# Create an OrderBook
orderbook = lb.OrderBook(tick_size=0.01)
# Create some orders (this not _add_ the order!)
buy_order = book.create_order(lb.OrderType.Buy, price=10.05, quantity=10.0)
sell_order = book.create_order(lb.OrderType.Sell, price=10.05, quantity=5.0)
# Add the orders (this returns a list of Fill objects)
_no_fills = book.add(buy_order)
fills = book.add(sell_order)
# Check the fill
print(fill)
# Check the status of the remainder of the open buy order
# DO NOT rely on the previous `buy_order` or `sell_order` objects
# to be updated! Fetch them from the book, instead
open_buy_order = orderbook.get_order(buy_order.id)
Need help?
Please open an issue if you need help or have a feature request.
Metadata
Release files for litebook 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 5.1 MB
Release files / litebook-0.0.1-cp313-cp313-win_amd64.whl
| Download URL | litebook-0.0.1-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 182.4 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
568f08c11bf9bdec00ead2485d5a61752a67a1ea15a937667924cb0a9bf7b5d2
|
|
BLAKE2b-256 checksum How to use checksums |
48499d1a4b2b2e56740300e4e4ffefb92a94af57689df0857e466ab8e48c69aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / litebook-0.0.1-cp313-cp313-win32.whl
| Download URL | litebook-0.0.1-cp313-cp313-win32.whl |
|---|---|
| Size | 172.3 kB |
| Tags | CPython 3.13 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
c5627d0e69f9d95d20a03b61af3da2396c4c4546e2201cbaa34c786fd5438b1e
|
|
BLAKE2b-256 checksum How to use checksums |
afa7a404cd73c6fe5977016c84abd507a6b31d80bae7abf178776c2445fca925
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / litebook-0.0.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | litebook-0.0.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 328.0 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
c9266761e86a908b5e96b234a938e1b46becc8a096bf86513225d3a1b6a61e22
|
|
BLAKE2b-256 checksum How to use checksums |
824ddbff9bdd9045063769944d80c9cce77ee8ce02d376654f2ab98c824b6c08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / litebook-0.0.1-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | litebook-0.0.1-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 286.3 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f59142833a8ec818bcc2ffe6d6136c0c71cbb0c7e7503207a67ca9985a5f9fef
|
|
BLAKE2b-256 checksum How to use checksums |
af877793340d4df9a56ab9f41a18d887199b8da28ea62c51d65061db10933d9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / litebook-0.0.1-cp313-cp313-macosx_10_12_x86_64.whl
| Download URL | litebook-0.0.1-cp313-cp313-macosx_10_12_x86_64.whl |
|---|---|
| Size | 293.0 kB |
| Tags | CPython 3.13 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
7cc8b3aab66cffa5ea8b0b857ce265496e770ac3b71037bb0d900dffa4e050b6
|
|
BLAKE2b-256 checksum How to use checksums |
db0525f0e5ed152fd8d2885540486953f759b0a11373ecfabfb096ee9f4c065b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / litebook-0.0.1-cp312-cp312-win_amd64.whl
| Download URL | litebook-0.0.1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 182.0 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
6ce0e274d6fcb9668c6ce99e1e1c168f3976072a675140d6d6a5842c1b90b76e
|
|
BLAKE2b-256 checksum How to use checksums |
b8a88553f3c780f2c293a442c7d2732e5075beaae80b0640b09dee4fe8d90620
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / litebook-0.0.1-cp312-cp312-win32.whl
| Download URL | litebook-0.0.1-cp312-cp312-win32.whl |
|---|---|
| Size | 172.3 kB |
| Tags | CPython 3.12 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
d0d57296fc487183760a426b7ed362db89c595149c5f51412a21985ac7460445
|
|
BLAKE2b-256 checksum How to use checksums |
df79c1ac80bccdee93ab496bdb4fd0fa5ea86fa0cebef79031b8f6342a954bc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / litebook-0.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | litebook-0.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 327.6 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
0feb212f2dffda81c08302e0781fc91c2c3aeb78c6de1d42ebb14e7b9cef260c
|
|
BLAKE2b-256 checksum How to use checksums |
a5582afc0bdbec837ede73d1e4ff0905a6ab57920019c4643b5804821b593cc7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / litebook-0.0.1-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | litebook-0.0.1-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 286.4 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7447b15a208b75caa42e5d43735e2f7bed058c92f23aa5d1709b8cf531dfca41
|
|
BLAKE2b-256 checksum How to use checksums |
f3eec809c1ae0a0d446146f7a79c49d6939440f9a3f1e86a51f1a287d22b2ad5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / litebook-0.0.1-cp312-cp312-macosx_10_12_x86_64.whl
| Download URL | litebook-0.0.1-cp312-cp312-macosx_10_12_x86_64.whl |
|---|---|
| Size | 293.5 kB |
| Tags | CPython 3.12 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
eb172bd0cfa18ed56bde5166a94ef1c0ad9e0b7fb171e15e4d3faac4894d09a2
|
|
BLAKE2b-256 checksum How to use checksums |
bfa5adb86e2ff0fb9cc1e472ce92b4ee9863a73c22c71439e26a8a2961885784
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / litebook-0.0.1-cp311-cp311-win_amd64.whl
| Download URL | litebook-0.0.1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 181.3 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
0d5f8674212e08abc3eeb65dc85d262214a17d7bf4887be1cc1f190eeabf49fa
|
|
BLAKE2b-256 checksum How to use checksums |
488629d0f21b40f2eb5d9054451536cbe4bd2a4ea96fe098ef62ac0e9da44dc2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / litebook-0.0.1-cp311-cp311-win32.whl
| Download URL | litebook-0.0.1-cp311-cp311-win32.whl |
|---|---|
| Size | 172.0 kB |
| Tags | CPython 3.11 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
91b3ac5b2db68f4babc54c4457bc9ddb8390e2a35ed1c77bf60fa67a284c02e7
|
|
BLAKE2b-256 checksum How to use checksums |
8e951cccaf4b18951c167d95dc873390995b3dbd03e0fbce3c41ae6063191a12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / litebook-0.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | litebook-0.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 327.6 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
6e1a06b3e970f2e39f0b5c32c7cd0fa31c0760bfb25ace8c868616a3a3a46fd8
|
|
BLAKE2b-256 checksum How to use checksums |
d57724a61a89d4d3f80557758c9411c191d84eadb462c316cf1e4544d9917321
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / litebook-0.0.1-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | litebook-0.0.1-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 290.5 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
189fcd8c464ab8c3b50b67c53778272023eb36423e9fcae6d9eeb3fccfe6c637
|
|
BLAKE2b-256 checksum How to use checksums |
4877b3707b5c0b124e1ef987c620005dafd8e379967cf6bfb216378052aef927
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / litebook-0.0.1-cp311-cp311-macosx_10_12_x86_64.whl
| Download URL | litebook-0.0.1-cp311-cp311-macosx_10_12_x86_64.whl |
|---|---|
| Size | 298.6 kB |
| Tags | CPython 3.11 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
58619957f0fc490b3a6d34c41135c2bc6e5d5daaba89f523c3036af23a12e4c6
|
|
BLAKE2b-256 checksum How to use checksums |
ab9442c7d659286d963211e178fcfc01bb54101887647774b6681dd82c1d178a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / litebook-0.0.1-cp310-cp310-win_amd64.whl
| Download URL | litebook-0.0.1-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 181.2 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b2710b97b9b5fb9a33fd27a541614b865789851da3726659d26e4d8d54c781fa
|
|
BLAKE2b-256 checksum How to use checksums |
a59a15746ff63135a172b43e279e6f6de0d58dc38ea5ea0218de945b81f7a9df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / litebook-0.0.1-cp310-cp310-win32.whl
| Download URL | litebook-0.0.1-cp310-cp310-win32.whl |
|---|---|
| Size | 171.9 kB |
| Tags | CPython 3.10 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
53e27839ff50b8a6e59a06cda983fe177a1134f1832634e7301c96322cb174c4
|
|
BLAKE2b-256 checksum How to use checksums |
1411cd2de5b7eed64871518d4aadc46a86c5dcf2b654260e680f1e318c9961aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / litebook-0.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | litebook-0.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 327.8 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
f720d1aeb1cdc750e412363987f5040c148472c1dd1803b3b029265a2b82c06e
|
|
BLAKE2b-256 checksum How to use checksums |
7295c3d7871d33968632493ac8f02f09d8a82c9886794577c5f7c6783a2a2d1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / litebook-0.0.1-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | litebook-0.0.1-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 290.7 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7de9dc7d1cc863248488b2ed538a57c9eeb3bc06067889a7a13b01339cea4f99
|
|
BLAKE2b-256 checksum How to use checksums |
b70538cc78c9c9ee6a2342e8fd2af3b00c68d8120c70de9938f070e5623194f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Release files / litebook-0.0.1-cp310-cp310-macosx_10_12_x86_64.whl
| Download URL | litebook-0.0.1-cp310-cp310-macosx_10_12_x86_64.whl |
|---|---|
| Size | 298.6 kB |
| Tags | CPython 3.10 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
c309ee2360a30802573ad170c7736de512ae85af0cbeef5f6818eb7ac2286e7a
|
|
BLAKE2b-256 checksum How to use checksums |
a720d894bd2bb34b20aa6c58a7eda45050f6d17837a1fe52b7f4a61204514910
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.8.1
|
Security for litebook 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.