kraken: tidy up paper mode activation comments
parent
d3a504864a
commit
1d9c195506
|
@ -427,16 +427,12 @@ async def trades_dialogue(
|
||||||
|
|
||||||
async with get_client() as client:
|
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:
|
if not client._api_key:
|
||||||
await ctx.started('paper')
|
await ctx.started('paper')
|
||||||
return
|
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"
|
# NOTE: currently we expect the user to define a "source fiat"
|
||||||
# (much like the web UI let's you set an "account currency")
|
# (much like the web UI let's you set an "account currency")
|
||||||
# such that all positions (nested or flat) will be translated to
|
# such that all positions (nested or flat) will be translated to
|
||||||
|
|
Loading…
Reference in New Issue