#!/usr/bin/env bash
set -euo pipefail
cd /home/arin/.openclaw/workspace/projects/auto-trader
PY=/home/arin/.openclaw/workspace/KIS_MCP_Server/.venv/bin/python
$PY - <<'PY'
import asyncio, json, auto_trader
result = asyncio.run(auto_trader.run_once())
print(json.dumps(result, ensure_ascii=False))
PY
$PY notify_telegram.py
