MultiversX Tracker is Live!

How should I interpret aggregated trades data?

Binance

Cryptocoins Exchanges / Binance 270 Views

How should I interpret aggregated trades data?

Hi,

I am currently testing out spot API. I placed an order to exchange 10USDT for 0.0002BTC, and I can see that my order is executed from my order history tab like below.

https://preview.redd.it/isi1w130kdk71.png?1028&format=png&auto=webp&s=14ee2368aa67beedbed3fcebc6292e9767262893

And when I request trade history through Postman, it returns the multiple transactions in JSON like this:

https://preview.redd.it/vmue3txgkdk71.png?830&format=png&auto=webp&s=1ccc01b6ea3afd328293896f1f2add27678fc802

After quick googling, I noticed that market orders can be filled with a series of transactions until the total sum of quantity meets the requested amount. However, I have a completely different number when I add up quantity ("q") value from all transactions. Isn't it supposed to be the amount of BTC, I bought with 10 USDT?

Also, if I just want to get data that matches exactly the same as the one from the order history tab, which endpoint should I use?

submitted by /u/ajsdo222
[link] [comments]

Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments