feat: US market code 정합성, Telegram 명령 4종, 손절 모니터링 (#132) #135
Reference in New Issue
Block a user
Delete Branch "feature/issue-132-us-market-telegram-gaps"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
MARKET_SHORTHAND+expand_market_codes()로 config"US"→ schedule"US_NASDAQ"/"US_NYSE"/"US_AMEX"자동 확장. evolution 루프startswith("US")수정/report(일일 리포트),/scenarios(플레이북 시나리오),/review(스코어카드),/dashboard(URL/상태)trading_cycle()과run_daily_session()양쪽에서 국내(prdy_ctrt)/해외(rate) 추출하여 market_data에 포함get_open_position()기반으로 미청산 포지션 손실률이 stop_loss_pct 이하이면 자동 SELL 오버라이드["KR", "US"]→ DB UNION 쿼리로 변경Test plan
tests/test_market_schedule.py— expand_market_codes 5개 케이스tests/test_telegram_commands.py— 4개 신규 명령 테스트tests/test_main.py— evolution US 체크, 손절 오버라이드, price_change_pct 검증tests/test_db.py— get_open_position 3개 케이스tests/test_dashboard.py— 동적 market 조회 검증Closes #132
🤖 Generated with Claude Code