Facepalm, break on first matching trades ep..

basic_buy_bot
Tyler Goodlet 2023-06-15 10:29:48 -04:00
parent f81ea64cab
commit e7437cb722
1 changed files with 6 additions and 1 deletions

View File

@ -381,7 +381,12 @@ async def open_brokerd_dialog(
ep_name,
None,
)
break
if trades_endpoint:
break
else:
raise RuntimeError(
f'No live trading EP found: {brokermod.name}?'
)
if (
trades_endpoint is not None