Added missing toml dependency to setup.py

Pinned qdarkstyle to 2.8.1
Updated arrow timestamp api used in kraken backend
ems_tweaks
Guillermo Rodriguez 2021-05-16 18:53:54 -03:00
parent 9de02321d8
commit 432bd96474
No known key found for this signature in database
GPG Key ID: 3F61096EC7DF75A8
2 changed files with 3 additions and 2 deletions

View File

@ -181,7 +181,7 @@ class Client:
) -> dict: ) -> dict:
if since is None: if since is None:
since = arrow.utcnow().floor('minute').shift( since = arrow.utcnow().floor('minute').shift(
minutes=-count).timestamp minutes=-count).timestamp()
# UTC 2017-07-02 12:53:20 is oldest seconds value # UTC 2017-07-02 12:53:20 is oldest seconds value
since = str(max(1499000000, since)) since = str(max(1499000000, since))
json = await self._public( json = await self._public(

View File

@ -40,6 +40,7 @@ setup(
] ]
}, },
install_requires=[ install_requires=[
'toml',
'click', 'click',
'colorlog', 'colorlog',
'attrs', 'attrs',
@ -69,7 +70,7 @@ setup(
# UI # UI
'PyQt5', 'PyQt5',
'pyqtgraph', 'pyqtgraph',
'qdarkstyle', 'qdarkstyle==2.8.1',
# tsdbs # tsdbs
'pymarketstore', 'pymarketstore',