Skip to content

Commit e0c2582

Browse files
authored
fix symbol parsing in Bithumb trade stream (#761)
1 parent 6cc2d2c commit e0c2582

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ExchangeSharp/API/Exchanges/Bithumb/ExchangeBithumbAPI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ protected override async Task<IWebSocket> OnGetTradesWebSocketAsync(Func<KeyValu
214214
{
215215
var exchangeTrade = data.ParseTrade("contQty", "contPrice", "buySellGb", "contDtm", TimestampType.Iso8601Korea, null, typeKeyIsBuyValue: "2");
216216

217-
await callback(new KeyValuePair<string, ExchangeTrade>(parsedMsg["market"].ToStringInvariant(), exchangeTrade));
217+
await callback(new KeyValuePair<string, ExchangeTrade>(data["symbol"].ToStringInvariant(), exchangeTrade));
218218
}
219219
}
220220
}, connectCallback: async (_socket) =>

0 commit comments

Comments
 (0)