diff --git a/piker/brokers/kraken/broker.py b/piker/brokers/kraken/broker.py index fc2eff62..8025f0d2 100644 --- a/piker/brokers/kraken/broker.py +++ b/piker/brokers/kraken/broker.py @@ -427,16 +427,12 @@ async def trades_dialogue( async with get_client() as client: + # make ems flip to paper mode when no creds setup in + # `brokers.toml` B0 if not client._api_key: await ctx.started('paper') return - # 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? - # else: - # await ctx.started(({}, ['paper'])) - # NOTE: currently we expect the user to define a "source fiat" # (much like the web UI let's you set an "account currency") # such that all positions (nested or flat) will be translated to