order-book
Advanced tools
+4
-0
| ## Changelog | ||
| ### 0.4.1 (2021-10-12) | ||
| * Bugfix: unnecessary reference counting prevented sorted dictionaries from being deallocated | ||
| * Bugfix: setting ordering on a sorted dict before checking that it was created successfully | ||
| ### 0.4.0 (2021-09-16) | ||
@@ -4,0 +8,0 @@ * Feature: changes to code and setup.py to enable compiling on windows |
| Metadata-Version: 2.1 | ||
| Name: order-book | ||
| Version: 0.4.0 | ||
| Version: 0.4.1 | ||
| Summary: A fast orderbook implementation, in C, for Python | ||
@@ -130,2 +130,6 @@ Home-page: https://github.com/bmoscon/orderbook | ||
| ### 0.4.1 (2021-10-12) | ||
| * Bugfix: unnecessary reference counting prevented sorted dictionaries from being deallocated | ||
| * Bugfix: setting ordering on a sorted dict before checking that it was created successfully | ||
| ### 0.4.0 (2021-09-16) | ||
@@ -132,0 +136,0 @@ * Feature: changes to code and setup.py to enable compiling on windows |
@@ -28,12 +28,10 @@ /* | ||
| self->bids = (SortedDict *)SortedDict_new(&SortedDictType, NULL, NULL); | ||
| self->bids->ordering = DESCENDING; | ||
| if (!self->bids) { | ||
| if (self->bids == NULL) { | ||
| Py_DECREF(self); | ||
| return NULL; | ||
| } | ||
| Py_INCREF(self->bids); | ||
| self->bids->ordering = DESCENDING; | ||
| self->asks = (SortedDict *)SortedDict_new(&SortedDictType, NULL, NULL); | ||
| self->asks->ordering = ASCENDING; | ||
| if (!self->asks) { | ||
| if (self->asks == NULL) { | ||
| Py_DECREF(self->bids); | ||
@@ -43,4 +41,4 @@ Py_DECREF(self); | ||
| } | ||
| self->asks->ordering = ASCENDING; | ||
| Py_INCREF(self->asks); | ||
| self->max_depth = 0; | ||
@@ -47,0 +45,0 @@ self->truncate = false; |
+5
-1
| Metadata-Version: 2.1 | ||
| Name: order_book | ||
| Version: 0.4.0 | ||
| Version: 0.4.1 | ||
| Summary: A fast orderbook implementation, in C, for Python | ||
@@ -130,2 +130,6 @@ Home-page: https://github.com/bmoscon/orderbook | ||
| ### 0.4.1 (2021-10-12) | ||
| * Bugfix: unnecessary reference counting prevented sorted dictionaries from being deallocated | ||
| * Bugfix: setting ordering on a sorted dict before checking that it was created successfully | ||
| ### 0.4.0 (2021-09-16) | ||
@@ -132,0 +136,0 @@ * Feature: changes to code and setup.py to enable compiling on windows |
+1
-1
@@ -38,3 +38,3 @@ ''' | ||
| name='order_book', | ||
| version='0.4.0', | ||
| version='0.4.1', | ||
| author="Bryant Moscon", | ||
@@ -41,0 +41,0 @@ author_email="bmoscon@gmail.com", |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
61597
1.07%