QuantConnect Lean, 선물 일일 손익 정산 통화 오류 수정

QuantConnect Lean 엔진이 선물 계약의 일일 손익 정산 로직을 개선했다. 기존에는 계좌 통화와 선물 호가 통화가 다를 경우 FutureSettlementModel이 잘못된 금액을 이동시켜 총 포트폴리오 가치가 점진적으로 틀어지는 문제가 있었다. 이제 일일 손익은 정산 가격을

QuantConnect Lean — C#/파이썬 백테스트·실전 엔진 · 릴리스 18165: Settle futures daily P&L in the contract's quote currency (#9872) · 2026-10-06

QuantConnect Lean 엔진이 선물 계약의 일일 손익 정산 로직을 개선했다. 기존에는 계좌 통화와 선물 호가 통화가 다를 경우 FutureSettlementModel이 잘못된 금액을 이동시켜 총 포트폴리오 가치가 점진적으로 틀어지는 문제가 있었다. 이제 일일 손익은 정산 가격을 기준으로 호가 통화로 계산·정산되며, FutureHolding은 정산 금액을 호가 통화로 유지하고 현재 환율로 계좌 통화 기준 SettledProfit을 제공한다.

weltiq 관점: weltiq 사용자가 다중 통화 환경에서 선물 백테스트나 자동매매 시 포트폴리오 가치와 손익이 정확히 계산되어 전략 성과 평가의 신뢰성이 높아진다.

릴리스 노트 발췌

FutureSettlementModel moved an account currency amount into the quote currency cash, so when the two differ the quote cash moved by the wrong amount every settlement and TotalPortfolioValue drifted. The daily P&L is now computed and settled in the quote currency from the settlement price, and FutureHolding keeps the settled amount in the quote currency, exposing SettledProfit in the account currency at the current rate. Closes #9837 Co-authored-by: Claude Opus 5.5 (1M context) noreply@anthropic.com

원문: https://github.com/QuantConnect/Lean/releases/tag/18165