Ensure paper engine logger is `piker.clearing` instance..

basic_buy_bot
Tyler Goodlet 2023-06-26 15:22:05 -04:00
parent cdf9105d0d
commit e7e7919a43
1 changed files with 3 additions and 1 deletions

View File

@ -55,6 +55,7 @@ from ..data._normalize import iterticks
from ..accounting import unpack_fqme
from ._util import (
log, # sub-sys logger
get_console_log,
)
from ._messages import (
BrokerdCancel,
@ -536,7 +537,8 @@ async def open_trade_dialog(
) -> None:
tractor.log.get_console_log(loglevel)
# enable piker.clearing console log for *this* subactor
get_console_log(loglevel)
ppt: PpTable
ledger: TransactionLedger