TOSQUASH: b6fd8427 (kraken src fiat parsing)
parent
d0858236c1
commit
2019db0fe7
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue