historic trades broken for binance - aggTrades vs trades
See original GitHub issueA recent change switched the rest endpoint fetchTrades
for the binance exchange from aggTrades
to trades
see: https://github.com/ccxt/ccxt/issues/4618
This change breaks any historic dataloader for binance since trades
only supports the last 1000 trades.
Is there any advantage of using trades
over aggTrades
?, aggTrades
only aggregates trades for the same order and the same timestamp which should not really matter for the user of the ccxt library.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
recent trades, historical and aggregate - Spot/Margin API
I have a question with the following, in the API documentation appears recent trades, aggregate trades and historical trades, ...
Read more >Java-XChange/Lobby - Gitter
This is what I understand about Aggregated Trades: Each (individual) trade is a transaction between a buyer and a seller, each trade has...
Read more >Change Log – Binance API Documentation - GitHub Pages
This means the request GET /api/v3/exchangeInfo without any parameters will show all symbols that can be used for SPOT , MARGIN and/or LEVERAGED...
Read more >4 Reasons Why Most Traders Fail, And How You Can Avoid ...
Binance Futures has created a mechanism to assist traders in avoiding this behavior, called the Cooling-Off Period function. It disables futures ...
Read more >python-binance Documentation - Read the Docs
The other breaking change is for websocket streams and the Depth Cache Manager which ... trades = client.get_recent_trades(symbol='BNBBTC').
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks this helps alot!
Regarding the live feed: there is also a
aggTrades
live feed for rest and ws.I think I’ve figured it out… By looking at the source code I’ve noticed that we can pass an object like this when instantiating the exchange:
Am I right?