🎉 Surprise Update! Tradehub Insights Are Live!

By beaker007 on 7/20/2025

https://images.hive.blog/0x0/https://files.peakd.com/file/peakd-hive/beaker007/23uFPdKf8W8ZX7E5wau5mmBUn82xiKX9FGcK39Ep3LVmeNm2Un28FUXZLTRCeXrGKnVeW.png" alt="Image from post">

Normally I try to stick to a weekly update schedule for the tool, but this one’s just too sweet to sit on. And hey — I even finished it earlier than expected!

This update includes a database migration (gulp 😅). I’m not a seasoned developer, so those always make me nervous. I backed up the complete database... and every table into CSVs… just in case. I didn’t want to lose sleep over this, so I just ripped the band-aid off and deployed. Let’s go!

If you’re not into reading the full update and just want to explore what’s new, head over here: 🔗 https://next-land.spl-stats.com/

💰 What’s New? Tradehub Positions for ALL Land Owners

Yep, you heard that right — you can now see Tradehub pool positions for every land owner.

⚠️Quick disclaimer: this new data pulls from a pretty heavy API calls, so it only updates once a week. Since this info shifts slowly anyway, I think that’s more than enough.

🔟 Top 10 Overview per Tradehub

On the page, you’ll see:

  • The Top 10 players per pool
  • Their share percentage
  • A neat little pie chart to visualize it all

image.png

You’ll also see a “Total Shares” stat — this one’s important!

I gather data based on land owners, but there are players without land who also contribute to the pools. For example, in the DEC-GRAIN LP, I count 99.89% of shares. That leftover 0.11%? That’s from non-land owners.

If this number grows too much (say >10%), it could mess up the top ten list a bit. But for now, the data feels solid enough.

📋 Want More Detail? Top 200

Beneath the pie chart is a Top 200 leaderboard, for the detail-hungry folks. In the bracket is the DEC-RESOURCE the player has put into the pool.

image.png

🔎 Look Up Any Account

You can also search for any account to see:

  • Their current pool shares
  • How much they’ve contributed
  • Estimated daily and total fee earnings

When a player is selected, their data gets highlighted on the chart. For me? I'm too small to spot myself 😂

image.png

even with the full screen version hard to spot:

image.png

But for a bigger holder — like vugtis — it’s much more visible.

image.png

And of course how could i forget everybody love some ranking overview (another one to hunt @captaindingus, just kidding)

image.png

🛠️ Small Fixes & Improvements

Big thanks to @warrentrx for pointing out that my tax calculations in resource conversion were off. Here’s what changed:

❌ Old Method:

const sell_fee = 0.9;
const buy_fee = 1.1;
const taxed = res === "AURA" ? raw : mode == "buy" ? raw * buy_fee : raw * sell_fee;

✅ New Method (More Accurate):

const fee = 0.9;
const taxed = res === "AURA"
  ? amount * price
  : mode === "buy"
    ? amount / ((1 / price) * fee)
    : amount * (price * fee);

💡 Why is this better?

In the old method, I just added or subtracted 10%, but that’s not how market fees actually work. When you buy, you’re paying more DEC per unit due to the fee — so dividing the amount by (1/price) * fee gives a more realistic number. Same logic for selling — applying the fee after converting makes the estimate more accurate.

image.png

🔤 Bonus Fix: Case-Insensitive Player Input

Another shoutout to Paul for this one: player input now automatically converts to lowercase. Especially helpful on mobile where autocaps kick in and mess things up. Simple tweak, but worth it!

🧪 Want to See the Code?

🔍 GitHub Repos (If You Dare):

🐍 Python version (Closing down soon) ⚡ Next.js version

PRs, issues, or just general “what in the spaghetti is this?” reactions welcome — be kind 😅

🙌 Support the Project

✅ Upvote this post – it really helps! 👉 Vote for My SPS Validator Node 💬 Drop a comment or idea – weird edge cases welcome.

⚠️ Final Note

Still just a fun hobby project — built during late-night, caffeine-fueled coding sessions. If something breaks… ping me. I’ll fix it. Eventually. 😂

Let me know what you think of the update — and if you spot any bugs, weird data, or have ideas, I’m all ears! 🙏

Comments (6)

splinterboost's avatar @splinterboost 7/20/2025
This post has been supported by @Splinterboost with a 20% upvote! Delagate HP to Splinterboost to Earn Daily HIVE rewards for supporting the @Splinterlands community!
[ Delegate HP ](https://peakd.com/@splinterboost) | [Join Discord](https://discord.gg/RK4ZHKmgcX)
fallen.angels's avatar @fallen.angels 7/20/2025

User provided image

This post has been supported by @fallen.angels guild!
Delegate Tokens and HP to Fallen Angels to earn weekly rewards!
Delegate | Join to the guild

steemmonsters's avatar @steemmonsters 7/20/2025

Thanks for sharing! - @azircon

azircon's avatar @azircon 7/20/2025

For the record, no one else has this info publicly available. I think it’s extremely valuable. Many thanks to beaker for putting this together

beaker007's avatar @beaker007 7/20/2025

Thanks, Azircon! You—and the community—keep providing more than enough ideas to keep me busy! 🤣

I hope the tool continues to be useful to everyone. 🙌

azircon's avatar @azircon 7/20/2025

You are most welcome! I feel all the stars were aligned when I met you at this blockchain during my write up on the KE ratio. Without you that tool or any of my Splinterlands plots or ratios won’t be possible.

seattlea's avatar @seattlea 7/20/2025

I have not gotten into land so I don't use the tool as much, but I can definitely see the value of this tool to those who are into land. Thank you for all your great work on this and other tools. Upvoted.

beaker007's avatar @beaker007 7/22/2025

I have not gotten into land

Looks like there’s still room for improvement then! 🤣 Just kidding—Land is a whole game on its own. You definitely have to enjoy that style of gameplay to really get into it.

hivebuzz's avatar @hivebuzz 7/23/2025

Congratulations @beaker007! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You received more than 13000 HP as payout for your posts, comments and curation.
Your next payout target is 14000 HP.
The unit is Hive Power equivalent because post and comment rewards can be split into HP and HBD

You can view your badges on your board and compare yourself to others in the Ranking If you no longer want to receive notifications, reply to this comment with the word STOP