Browse Source

日志没输出到文件,ri

skyfffire 2 years ago
parent
commit
c4ca304b4d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      quant.py

+ 1 - 0
quant.py

@@ -17,6 +17,7 @@ import ujson
 import broker
 from decimal import Decimal
 from loguru import logger
+logger.add("kucoin_limits.log", format="{time} {level} {message}", level="INFO")
 
 VERSION = utils.VERSION