Binance DEX is a decentralized exchange project that starts from the top centralized exchange service Binance to utilized blockchain to provide market, issue/listing asset services without centralized governance. Everyone can start trade assets from their secured wallet without the trust of the 3rd party service. Every trade transaction makes publicly on the blockchain. Make it easy for everyone to analyze the transactions. Maybe I could find some good traders and copy their trade and enjoy the same profit as them.
Collecting data
I start collecting the data from the HTTP trades API and keep it in MySQL database with slightly format change and add the value in USD of the trade field. I keep it run every minute and get the latest 100 trades from the API but ignore the inserted record. It built up around 50K records per day.
Measuring traders
What is a good trader? Who makes more money than others by trade not include the person that holding assets and hopefully worth more in the future. I simply think the current value of asset traded in subtract current value of asset traded out in a time frame is a really good metric. For example, a trader sold 100 COIN-A for 100 COIN-B both have a value of $1 per coin. At the end of the period, COIN-B has value $5 and COIN-A has value $1 the same as before. This trader gains $400 in profit from the cost of traded out $100 COIN-A. They make a 400% profit. If trader trade more than 1 pair just make the sum of amount in and out for each asset and evaluate the value of the sum amount of asset that goes in and subtract the value of the sum amount of asset that goes out. The time frame I aim to measure is 1 month but I just start collecting data so a week would do.
The result
The example results above sorted by the profit in USD. The first trader is clearly a bot to sell a specific coin AERGO-46B then transfer BNB out by looking at the number of trade only in 1 week. The profit percent is not so high just 2.8%. The second trader is better to buy and sell a couple of assets with significant value and profit of 5.74% in a week is not bad. I published the live result on https://api.lootboxapp.com/bclist/list/top. I hope someone finds it useful.
The mobile app: BC List
I just made a simple app called BC List (Binance Chain List) to find top traders, following the trader's performance and activities.
Download it on Expo https://expo.io/@artiya4u/bc-list