Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

order-book

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

order-book - npm Package Compare versions

Comparing version
0.3.0
to
0.3.1
+4
-0
CHANGES.md
## 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

+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

@@ -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 @@

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

@@ -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")

@@ -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",