binance-exchange/node-binance-api

24h Order History

mehrdadphp opened this issue · 3 comments

hello
I have issue with get "all my order history (https://www.binance.com/userCenter/orderHistory.html ) via api kay.
I don't know how I can set it ...
I work with nodes
pls send for me example code or send more Description and help me .
Thank you

binance.useServerTime(() =>
	binance.trades("BNBBTC", function(error, trades, symbol) {
	 	if ( error ) return console.log(error);
	 	console.log(symbol+" trade history", trades);
	}, {limit: 2})
);

@jaggedsoft
I don't want to get only history of one pair.i want all of them in one request.

Unfortunately binance has not made this possible. You have to check the history for all pairs