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. And when I request trade history through Postman, it returns the multiple transactions in JSON like this: 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? [link] [comments] |
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