TOSQUASH: b6fd8427 (kraken src fiat parsing)

epoch_index_backup
Tyler Goodlet 2022-12-23 14:46:08 -05:00
parent d0858236c1
commit 2019db0fe7
1 changed files with 2 additions and 1 deletions

View File

@ -421,6 +421,7 @@ async def trades_dialogue(
if not client._api_key:
raise RuntimeError(
'Missing Kraken API key in `brokers.toml`!?!?')
# TODO: make ems flip to paper mode via
# some returned signal if the user only wants to use
# the data feed or we return this?
@ -589,7 +590,7 @@ async def trades_dialogue(
f'{pformat(updated)}'
)
if not has_pp(dst):
if not has_pp(dst, size):
raise ValueError(
'Could not reproduce balance:\n'
f'dst: {dst}, {size}\n'