Skip to content

Commit 641a142

Browse files
authored
Binance - fixed missing tradeId (#569)
1 parent 26412a1 commit 641a142

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ExchangeSharp/API/Exchanges/BinanceGroup/BinanceGroupCommon.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -993,6 +993,7 @@ private ExchangeOrderResult ParseTrade(JToken token, string symbol)
993993
IsBuy = token["isBuyer"].ConvertInvariant<bool>() == true,
994994
OrderDate = CryptoUtility.UnixTimeStampToDateTimeMilliseconds(token["time"].ConvertInvariant<long>()),
995995
OrderId = token["orderId"].ToStringInvariant(),
996+
TradeId = token["id"].ToStringInvariant(),
996997
Fees = token["commission"].ConvertInvariant<decimal>(),
997998
FeesCurrency = token["commissionAsset"].ToStringInvariant(),
998999
MarketSymbol = symbol

0 commit comments

Comments
 (0)