MultiversX Tracker is Live!

Documentation for TAX report API

Binance

Cryptocoins Exchanges / Binance 307 Views

Hello,

I am keen to fetch my transaction history and as of now, my strategy is "brute-forcing" all the pairs (I brute force all pairs with GET api/v2/myTrade), but this is not efficient! could take even up to 24 hours for one user!

So I was wondering if I can use the TAX API, but I don't see any documentation for that.... the only documentation is how to create the API as showed here:
https://www.binance.com/en/support/faq/538e05e2fd394c489b4cf89e92c55f70

any idea how a tax app will generate efficiently the transaction history?

currently I do as follows:
---- get all pairs in Binance
---- for each pair run GET api/v2/myTrade (but this has a limitation that the time window can only be 24 hour, hence I need to recall the same API for each day in the past

example:

  • pairs: 1264
  • number of days that binance is open (14/07/2021 --> today): 1559

for each pair, I need to "repeat/loop" GET api/v2/myTrade" 1559 times (one for each day that binace is open)

--> to investigate and find all past transaction of a user I need to call same endpoint --> 1264 * 1559 = 1,970,576
--> each call weight: 10 points
--> total points for a user: 19,705,760
--> current weight limitation: 1,200 per minute
--> # minutes for cover the overall scope: 19,705,760 / 1,200 = 16,422 minutes ~ 11.5 days!

even if I add 20 IPs (for example) my performances woudl be as follows:

--> # days for each user: 11.5 days / 20 ~ 14 hours per users

if I have 1000 users:

---> 14 hours * 1000 users = 14,000 hours --> 584 days ---> this is the time to process 1000 users with 20 IPs

it does not make any sense!

any idea?

Thank you

submitted by /u/IP_FiNaR
[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