Skip to content

Commit b67df57

Browse files
committed
Added TestCase for CNHT and USD
1 parent 30266ec commit b67df57

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Data/symbol-properties/symbol-properties-database.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1546,7 +1546,7 @@ bitfinex,CHZUSD,crypto,socios.com Chiliz-US Dollar,USD,1,0.00001,0.00000001,tCHZ
15461546
bitfinex,CHZUSDT,crypto,socios.com Chiliz-Tether USDt,USDT,1,0.00001,0.00000001,tCHZUST,16.0
15471547
bitfinex,CLOUSD,crypto,Callisto-US Dollar,USD,1,0.00001,0.00000001,tCLOUSD,294.0,
15481548
bitfinex,CNHCNHT,crypto,CNH-Tether CNHt,CNHT,1,0.00001,0.00000001,tCNH:CNHT,12.0,
1549-
bitfinex,CNHTUSDT,crypto,Tether CNHt-US Dollar,USD,1,0.00001,0.00000001,tCNHT:USD,34.0
1549+
bitfinex,CNHTUSD,crypto,Tether CNHt-US Dollar,USD,1,0.00001,0.00000001,tCNHT:USD,34.0
15501550
bitfinex,COMPUSD,crypto,Compound-US Dollar,USD,1,0.00001,0.00000001,tCOMP:USD,0.04
15511551
bitfinex,COMPUSDT,crypto,Compound-Tether USDt,USDT,1,0.00001,0.00000001,tCOMP:UST,0.04
15521552
bitfinex,CRVUSD,crypto,Curve-US Dollar,USD,1,0.00001,0.00000001,tCRVUSD,2.0

Tests/Common/Securities/CashTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,7 @@ private static TimeKeeper TimeKeeper
667667

668668
// USDT (Tether) Cases
669669
new object[] { new BitfinexBrokerageModel(), Currencies.CNH, "USDT", false, new[] { Symbol.Create("USDTCNHT", SecurityType.Crypto, Market.Bitfinex), Symbol.Create("CNHCNHT", SecurityType.Crypto, Market.Bitfinex) } }, // No USDTCNH, but indirect conversion exists
670+
new object[] { new BitfinexBrokerageModel(), Currencies.USD, "CNHT", false, new[] { Symbol.Create("CNHTUSD", SecurityType.Crypto, Market.Bitfinex) } },
670671
new object[] { new BitfinexBrokerageModel(), Currencies.USD, "USDT", false, new[] { Symbol.Create("USDTUSD", SecurityType.Crypto, Market.Bitfinex) } },
671672
new object[] { new BitfinexBrokerageModel(), Currencies.EUR, "USDT", false, new[] { Symbol.Create("EURUSDT", SecurityType.Crypto, Market.Bitfinex) } },
672673
new object[] { new BitfinexBrokerageModel(), Currencies.GBP, "USDT", false, new[] { Symbol.Create("GBPUSDT", SecurityType.Crypto, Market.Bitfinex) } },

0 commit comments

Comments
 (0)