From b697b6d5154cee9e6e7463e0d4b60a2c39c51bc3 Mon Sep 17 00:00:00 2001 From: agentson Date: Thu, 26 Feb 2026 00:03:51 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20run=5Fovernight.sh=20--mode=3Dpaper=20?= =?UTF-8?q?=E2=86=92=20--mode=3Dlive=20=EC=88=98=EC=A0=95=20(#256)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 실전투자 API 설정(.env: 실전 BASE_URL, 계좌번호)을 사용하면서 --mode=paper로 실행하여 TR_ID 불일치 발생. 실전투자 서버에 모의투자 TR_ID(VTTS3012R)를 날려 EGW02004: 실전투자 TR 이 아닙니다. 오류로 해외 거래 전부 실패. APP_CMD 기본값을 --mode=live로 변경하여 실전투자 TR_ID(TTTS3012R) 사용. Co-Authored-By: Claude Sonnet 4.6 --- scripts/run_overnight.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run_overnight.sh b/scripts/run_overnight.sh index c9c5ae9..4db704b 100755 --- a/scripts/run_overnight.sh +++ b/scripts/run_overnight.sh @@ -23,7 +23,7 @@ if [ -z "${APP_CMD:-}" ]; then dashboard_port="${DASHBOARD_PORT:-8080}" - APP_CMD="DASHBOARD_PORT=$dashboard_port $PYTHON_BIN -m src.main --mode=paper --dashboard" + APP_CMD="DASHBOARD_PORT=$dashboard_port $PYTHON_BIN -m src.main --mode=live --dashboard" fi mkdir -p "$LOG_DIR"