“从现在重新统计”,直接执行下面这条命令:RD重置基准:重置后的统计:查看全部历史统计,包括重置前数据,查看全部历史真仓记录:

curl -m 15 -sS -X POST \
  "http://127.0.0.1:8080/api/btc5m/live-trading/stats-reset" \
  -H "Content-Type: application/json" \
  -d '{"confirm_text":"RESET_LIVE_STATS_VIEW"}' |
python3 -m json.tool
curl -m 15 -sS \
  "http://127.0.0.1:8080/api/btc5m/live-trading/stats-reset" |
python3 -m json.tool
curl -m 15 -sS \
  "http://127.0.0.1:8080/api/btc5m/live-trading/stats-v2" |
python3 -m json.tool
curl -m 15 -sS \
  "http://127.0.0.1:8080/api/btc5m/live-trading/stats-v2?history=true" |
python3 -m json.tool
curl -m 15 -sS \
  "http://127.0.0.1:8080/api/btc5m/live-trading/intents-v2?history=true&limit=200" |
python3 -m json.tool
检查执行器:
真仓配置已开启: False
当前允许真钱下单: False

curl -m 20 -sS \
  "http://127.0.0.1:8080/api/btc5m/live-trading/executor-status?_=$(date +%s)" |
python3 -c '
import json, sys
d = json.load(sys.stdin)
check = next(
    (x for x in d.get("checks", [])
     if x.get("key") == "live_trading_enabled"),
    {}
)
print("真仓配置已开启:", check.get("ok"))
print("当前允许真钱下单:", d.get("ready_for_real_submit"))
'

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注