Add USD/KRW OANDA forex entry for KRW currency conversion - #9652
Merged
jaredbroad merged 1 commit intoAug 4, 2026
Conversation
KOSPI 200 Index (KM) futures added in QuantConnect#9585 are quoted in KRW, but the cash book could not find any pair to convert KRW to the account currency, failing with "No tradeable pair was found for currency KRW". Adding USD/KRW under the default forex market enables the automatic KRW conversion feed. Minimum price variation of 0.00001 matches the 5-decimal precision of the OANDA rate data. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
jaredbroad
approved these changes
Aug 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds
oanda,USDKRW,forex,USD/KRW,KRW,1,0.00001,1to the symbol properties database.This is required by #9585 (KOSPI 200 Index (KM) futures): KM contracts are quoted in KRW, and without a KRW pair in the SPDB the cash book cannot create a conversion feed to the account currency, so algorithms fail with:
With this entry, Lean automatically subscribes USD/KRW under the default forex market (
oanda) as the internal KRW conversion feed.Notes:
0.00001matches the 5-decimal precision of the current OANDA USD/KRW rate data.Forex-oanda-[*]default like the other exotic OANDA pairs.