Skip to content

Commit f8b0f8e

Browse files
feribvslee
authored andcommitted
KuCoin: GetLastOrders KC header bugfix (#453)
1 parent 79aa9bc commit f8b0f8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ExchangeSharp/API/Exchanges/KuCoin/ExchangeKuCoinAPI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ protected override async Task<IEnumerable<ExchangeTrade>> OnGetRecentTradesAsync
213213
List<ExchangeTrade> trades = new List<ExchangeTrade>();
214214
// [0]-Timestamp [1]-OrderType [2]-Price [3]-Amount [4]-Volume
215215
// [[1506037604000,"SELL",5210,48600633397,2532093],... ]
216-
JToken token = await MakeJsonRequestAsync<JToken>("/orders?status=active&symbol=" + marketSymbol);
216+
JToken token = await MakeJsonRequestAsync<JToken>("/orders?status=active&symbol=" + marketSymbol, payload: await GetNoncePayloadAsync());
217217
foreach (JToken trade in token)
218218
{
219219
trades.Add(trade.ParseTrade("size", "price", "side", "time", TimestampType.UnixMilliseconds, idKey: "tradeId"));

0 commit comments

Comments
 (0)