fix: ~/.hermes路径分裂导致price_monitor冷却失效+去重
This commit is contained in:
@@ -22,7 +22,7 @@ BUY_QTY = 100 # 1手
|
||||
STOP_LOSS = 1293.88
|
||||
TAKE_PROFIT = 1456.53
|
||||
|
||||
STATE_FILE = os.path.expanduser("~/.hermes/monitor_300308_state.json")
|
||||
STATE_FILE = "/home/hmo/.hermes/monitor_300308_state.json"
|
||||
HERMES_SEND = ["hermes", "send", "--to", "xmpp:hmo@yoin.fun"]
|
||||
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ from datetime import datetime
|
||||
from mo_data import read_decisions
|
||||
|
||||
BREACH_PATH = "/home/hmo/.hermes/zone_breach.json"
|
||||
STATE_PATH = os.path.expanduser("~/.hermes/price_trigger_state.json")
|
||||
STATE_PATH = "/home/hmo/.hermes/price_trigger_state.json"
|
||||
EVENTS_PATH = "/home/hmo/web-dashboard/data/price_events.json"
|
||||
|
||||
# DB 模块(同步实时价到 mofin.db)
|
||||
|
||||
Reference in New Issue
Block a user