Skip to content

Commit 21a9071

Browse files
authored
Fix parsing Bitfinex ticker symbol (DigitalRuby#640)
1 parent 733e54e commit 21a9071

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ExchangeSharp/API/Exchanges/Bitfinex/ExchangeBitfinexAPI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ protected internal override async Task<IEnumerable<ExchangeMarket>> OnGetMarketS
123123
protected override async Task<ExchangeTicker> OnGetTickerAsync(string marketSymbol)
124124
{
125125
JToken ticker = await MakeJsonRequestAsync<JToken>("/ticker/t" + marketSymbol);
126-
return await this.ParseTickerAsync(ticker, marketSymbol, 2, 0, 6, 7);
126+
return await this.ParseTickerAsync(ticker, NormalizeMarketSymbolV1(marketSymbol), 2, 0, 6, 7);
127127
}
128128

129129
protected override async Task<IEnumerable<KeyValuePair<string, ExchangeTicker>>> OnGetTickersAsync()

src/ExchangeSharp/ExchangeSharp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<LangVersion>8</LangVersion>
99
<PackageId>DigitalRuby.ExchangeSharp</PackageId>
1010
<Title>ExchangeSharp - C# API for cryptocurrency exchanges</Title>
11-
<PackageVersion>0.8.2</PackageVersion>
11+
<PackageVersion>0.8.3</PackageVersion>
1212
<Authors>jjxtra</Authors>
1313
<Description>ExchangeSharp is a C# API for working with various cryptocurrency exchanges. Web sockets are also supported for some exchanges.</Description>
1414
<Summary>Supported exchanges: Binance BitMEX Bitfinex Bithumb Bitstamp Bittrex BL3P Bleutrade BTSE Cryptopia Coinbase(GDAX) Digifinex Gemini Gitbtc Huobi Kraken Kucoin Livecoin NDAX OKCoin OKEx Poloniex TuxExchange Yobit ZBcom. Pull requests welcome.</Summary>

0 commit comments

Comments
 (0)