order-book
Advanced tools
+4
-0
| ## Changelog | ||
| ### 0.3.1 (2021-09-01) | ||
| * Bugfix: truncate and max_depth not being passed from orderbook to sorteddict object correctly | ||
| * Feature: let checksum_format kwarg be set to None | ||
| ### 0.3.0 (2021-07-16) | ||
@@ -4,0 +8,0 @@ * Update classifiers to indicate this projects only supports MacOS/Linux |
| Metadata-Version: 2.1 | ||
| Name: order-book | ||
| Version: 0.3.0 | ||
| Version: 0.3.1 | ||
| Summary: A fast orderbook implementation, in C, for Python | ||
@@ -68,3 +68,3 @@ Home-page: https://github.com/bmoscon/orderbook | ||
| # Data can be exported to a sorted dictionary | ||
| # in Python3.7+ dictionaries remain in insertion ordering, the | ||
| # In Python3.7+ dictionaries remain in insertion ordering. The | ||
| # dict returned by .to_dict() has had its keys inserted in sorted order | ||
@@ -131,2 +131,6 @@ print("\n\nRaw asks dictionary") | ||
| ### 0.3.1 (2021-09-01) | ||
| * Bugfix: truncate and max_depth not being passed from orderbook to sorteddict object correctly | ||
| * Feature: let checksum_format kwarg be set to None | ||
| ### 0.3.0 (2021-07-16) | ||
@@ -133,0 +137,0 @@ * Update classifiers to indicate this projects only supports MacOS/Linux |
@@ -59,7 +59,8 @@ /* | ||
| if (!PyArg_ParseTupleAndKeywords(args, kwds, "|ips*", kwlist, &self->max_depth, &self->truncate, &checksum_str)) { | ||
| if (!PyArg_ParseTupleAndKeywords(args, kwds, "|ipz*", kwlist, &self->max_depth, &self->truncate, &checksum_str)) { | ||
| return -1; | ||
| } | ||
| if (checksum_str.len) { | ||
| if (checksum_str.buf && checksum_str.len) { | ||
| if (strncmp(checksum_str.buf, "KRAKEN", checksum_str.len) == 0) { | ||
@@ -98,2 +99,7 @@ self->checksum = KRAKEN; | ||
| self->bids->depth = self->max_depth; | ||
| self->bids->truncate = self->truncate; | ||
| self->asks->depth = self->max_depth; | ||
| self->asks->truncate = self->truncate; | ||
| PyBuffer_Release(&checksum_str); | ||
@@ -100,0 +106,0 @@ |
+6
-2
| Metadata-Version: 2.1 | ||
| Name: order_book | ||
| Version: 0.3.0 | ||
| Version: 0.3.1 | ||
| Summary: A fast orderbook implementation, in C, for Python | ||
@@ -68,3 +68,3 @@ Home-page: https://github.com/bmoscon/orderbook | ||
| # Data can be exported to a sorted dictionary | ||
| # in Python3.7+ dictionaries remain in insertion ordering, the | ||
| # In Python3.7+ dictionaries remain in insertion ordering. The | ||
| # dict returned by .to_dict() has had its keys inserted in sorted order | ||
@@ -131,2 +131,6 @@ print("\n\nRaw asks dictionary") | ||
| ### 0.3.1 (2021-09-01) | ||
| * Bugfix: truncate and max_depth not being passed from orderbook to sorteddict object correctly | ||
| * Feature: let checksum_format kwarg be set to None | ||
| ### 0.3.0 (2021-07-16) | ||
@@ -133,0 +137,0 @@ * Update classifiers to indicate this projects only supports MacOS/Linux |
+1
-1
@@ -60,3 +60,3 @@ # Orderbook | ||
| # Data can be exported to a sorted dictionary | ||
| # in Python3.7+ dictionaries remain in insertion ordering, the | ||
| # In Python3.7+ dictionaries remain in insertion ordering. The | ||
| # dict returned by .to_dict() has had its keys inserted in sorted order | ||
@@ -63,0 +63,0 @@ print("\n\nRaw asks dictionary") |
+1
-1
@@ -36,3 +36,3 @@ ''' | ||
| name='order_book', | ||
| version='0.3.0', | ||
| version='0.3.1', | ||
| author="Bryant Moscon", | ||
@@ -39,0 +39,0 @@ author_email="bmoscon@gmail.com", |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
58315
1.36%