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():
|
def main():
|
||||||
try:
|
try:
|
||||||
print("定时程序启动")
|
print("定时程序启动")
|
||||||
|
CryptoAgent().start_agent('BTCUSDT')
|
||||||
# 设置每个4小时运行一次
|
# 设置每个4小时运行一次
|
||||||
schedule.every(4).hours.do(CryptoAgent().start_agent)
|
schedule.every(4).hours.do(CryptoAgent().start_agent)
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,7 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: cryptoai
|
container_name: cryptoai
|
||||||
image: cryptoai:0.0.4
|
image: cryptoai:0.0.5
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
# 挂载配置文件
|
# 挂载配置文件
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user