From b946ebb4f3a8a7d030353cffc5bc932e2c983997 Mon Sep 17 00:00:00 2001 From: Alexandre Catarino Date: Wed, 5 Aug 2026 15:34:01 +0100 Subject: [PATCH] Fix the USD/KRW minimum price variation The oanda USD/KRW entry declared a 0.00001 minimum price variation, the generic five decimal forex default, for a pair that IB quotes around 1430: three orders of magnitude finer than its real tick, and out of line with the other big number oanda pairs, which scale it (USD/JPY, USD/HUF, USD/INR and USD/THB all use 0.001). Interactive Brokers reports 0.01 as the minimum tick of its USD/KRW IDEALPRO contract, so a limit order priced at 1395.123 is rounded down to 1395.12 before it is sent. LEAN rounds order prices with the symbol properties value, so the brokerage was the only thing keeping sub tick prices from being used, and a backtest would rest limit orders at prices the venue cannot represent. The interactivebrokers entry, added by #9585 with the correct tick, is removed: forex resolves through the brokerage model default market, which is oanda for Interactive Brokers, so it is only reachable by passing the market explicitly and it duplicates the oanda one. Co-Authored-By: Claude Opus 5 --- Data/symbol-properties/symbol-properties-database.csv | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Data/symbol-properties/symbol-properties-database.csv b/Data/symbol-properties/symbol-properties-database.csv index 6ab2372f360e..b85ac3c0753e 100644 --- a/Data/symbol-properties/symbol-properties-database.csv +++ b/Data/symbol-properties/symbol-properties-database.csv @@ -91,7 +91,6 @@ oanda,XPDUSD,cfd,Palladium,USD,1,0.001,1 oanda,XPTUSD,cfd,Platinum,USD,1,0.001,1 interactivebrokers,[*],cfd,,USD,1,0.01,1 -interactivebrokers,USDKRW,forex,USD/KRW,KRW,1,0.01,1 interactivebrokers,IBUS500,cfd,US 500,USD,1,0.01,1 interactivebrokers,IBUS30,cfd,US 30,USD,1,0.01,1 interactivebrokers,IBUST100,cfd,US Tech 100,USD,1,0.01,1 @@ -530,7 +529,7 @@ oanda,USDHKD,forex,USD/HKD,HKD,1,0.00001,1 oanda,USDHUF,forex,USD/HUF,HUF,1,0.001,1 oanda,USDINR,forex,USD/INR,INR,1,0.001,1 oanda,USDJPY,forex,USD/JPY,JPY,1,0.001,1 -oanda,USDKRW,forex,USD/KRW,KRW,1,0.00001,1 +oanda,USDKRW,forex,USD/KRW,KRW,1,0.01,1 oanda,USDMXN,forex,USD/MXN,MXN,1,0.00001,1 oanda,USDNOK,forex,USD/NOK,NOK,1,0.00001,1 oanda,USDPLN,forex,USD/PLN,PLN,1,0.00001,1