add support for bool_ values in watch_list()

This commit is contained in:
Saleh Mir
2022-02-10 08:04:36 +01:00
parent f9592183cd
commit deae30482c
3 changed files with 4 additions and 2 deletions

View File

@@ -6,6 +6,8 @@ class NpEncoder(json.JSONEncoder):
def default(self, obj):
if isinstance(obj, np.integer):
return int(obj)
elif isinstance(obj, np.bool_):
return bool(obj)
elif isinstance(obj, np.floating):
return float(obj)
elif isinstance(obj, np.ndarray):

View File

@@ -1 +1 @@
__version__ = '0.32.8'
__version__ = '0.32.9'

View File

@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
# also change in version.py
VERSION = '0.32.8'
VERSION = '0.32.9'
DESCRIPTION = "A trading framework for cryptocurrencies"
REQUIRED_PACKAGES = [