bugfix a zakomentovan IC a podporen format f

This commit is contained in:
David Brazda
2023-04-23 21:21:06 +02:00
parent 83a7bb77da
commit 541aaa4ab8
25 changed files with 185 additions and 175 deletions

View File

@ -3,7 +3,7 @@ sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from v2realbot.enums.enums import Mode, Account
from v2realbot.config import WEB_API_KEY
from datetime import datetime
from icecream import install, ic
#from icecream import install, ic
import os
from rich import print
from threading import current_thread
@ -26,12 +26,12 @@ from threading import Thread
import asyncio
#from async io import Queue, QueueEmpty
install()
ic.configureOutput(includeContext=True)
def threadName():
return '%s |> ' % str(current_thread().name)
ic.configureOutput(prefix=threadName)
ic.disable()
# install()
# ic.configureOutput(includeContext=True)
# def threadName():
# return '%s |> ' % str(current_thread().name)
# ic.configureOutput(prefix=threadName)
# ic.disable()
"""""
Main entry point of the bot. Starts strategies according to config file, each
in separate thread.