uopdate
This commit is contained in:
parent
64906ddd43
commit
9bd2148cf8
Binary file not shown.
@ -19,6 +19,7 @@ from cryptoai.utils.config_loader import ConfigLoader
|
||||
def main():
|
||||
try:
|
||||
print("定时程序启动")
|
||||
CryptoAgent().start_agent('BTCUSDT')
|
||||
# 设置每个4小时运行一次
|
||||
schedule.every(4).hours.do(CryptoAgent().start_agent)
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@ services:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: cryptoai
|
||||
image: cryptoai:0.0.4
|
||||
image: cryptoai:0.0.5
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
# 挂载配置文件
|
||||
|
||||
Loading…
Reference in New Issue
Block a user