kraken: tidy up paper mode activation comments

basic_buy_bot
Tyler Goodlet 2023-06-09 14:41:13 -04:00
parent d3a504864a
commit 1d9c195506
1 changed files with 2 additions and 6 deletions

View File

@ -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