create account

Added One More Brick to the Hive Engine Snapshot Tool by gadrian

View this thread on: hive.blogpeakd.comecency.com
· @gadrian ·
$7.12
Added One More Brick to the Hive Engine Snapshot Tool
Many would call it a portfolio tracker, not a snapshot tool... And maybe that's what it is, except a focused one on certain assets. I preferred to use the term "snapshot" because that's the main use case I thought for it initially. 

I presented the first version of the script a few days ago [here](https://peakd.com/hive-139531/@gadrian/how-much-was-my-hive-portfolio-worth-last-year). Since then, I had a few iterations I haven't made public until now.

Shortly after publishing my script during the week, I discovered it has quite a poor error handling which becomes obvious when someone tried it with more than a few tokens.

This wasn't as easy to fix as one may think (for me... or for the AIs). In fact, it took the majority of my time working on it since then. I only fixed it completely (hopefully) this morning.

It's also interesting that the more I work with different AI models, I discover which is good for what, and I also started to come across the issues of hitting each model's max length response for certain prompts (one in particular), which wasn't easy to work around, but eventually I did.

Since I had more time, I decided to work on adding diesel pools to the snapshot report, which I did. The script lists ALL diesel pool positions the account has, no need to specify any one in particular, and also shows an aggregate situation across the holdings corresponding to the list of tokens and all the diesel pools.

Also, tokens with zero holdings are not shown, to condense the information.

Here's a screenshot with one of my final tests:

![image.png](https://files.peakd.com/file/peakd-hive/gadrian/23tGeSrNSGeHS5D7qDtDJDwg8F97L8qbHaJwkuVhMZueckKWMPsVCGyrWyAG3b6Z6XCBi.png)


You can find the Hive Engine Snapshot tool [here](https://github.com/gadrian78/he-tokens-snapshot), but you need to know how to run Python scripts to make it work. You can ask an AI if you don't, by the way...

We'll see what comes next. I have more ideas but let's see if I have the determination to push it to a higher level. If you have questions or want to share your impressions/advice, etc. I'd appreciate them.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 81 others
👎  , , , , , , , , , , , ,
properties (23)
authorgadrian
permlinkadded-one-more-brick-to-the-hive-engine-snapshot-tool
categoryhive-139531
json_metadata{"app":"peakd/2025.6.2","format":"markdown","tags":["portfolio-tracker","snapshot-tool","token-value","diesel-pools","vibe-coding","hive-engine","proofofbrain"],"users":["gadrian"],"image":["https://files.peakd.com/file/peakd-hive/gadrian/23tGeSrNSGeHS5D7qDtDJDwg8F97L8qbHaJwkuVhMZueckKWMPsVCGyrWyAG3b6Z6XCBi.png"]}
created2025-06-22 15:46:36
last_update2025-06-22 15:46:36
depth0
children8
last_payout2025-06-29 15:46:36
cashout_time1969-12-31 23:59:59
total_payout_value3.566 HBD
curator_payout_value3.554 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,120
author_reputation646,569,348,278,128
root_title"Added One More Brick to the Hive Engine Snapshot Tool"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,502,403
net_rshares25,206,833,305,689
author_curate_reward""
vote details (158)
@davideownzall ·
$0.04
did you try public online AIs? chatgpt seems a bit less reliable recently
👍  
properties (23)
authordavideownzall
permlinkre-gadrian-sy9w95
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2025.6.2","image":[],"users":[]}
created2025-06-22 19:46:18
last_update2025-06-22 19:46:18
depth1
children3
last_payout2025-06-29 19:46:18
cashout_time1969-12-31 23:59:59
total_payout_value0.020 HBD
curator_payout_value0.021 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length73
author_reputation112,228,930,427,232
root_title"Added One More Brick to the Hive Engine Snapshot Tool"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,505,721
net_rshares150,121,434,884
author_curate_reward""
vote details (1)
@gadrian ·
yes, only public and free versions.

> chatgpt seems a bit less reliable recently

That was my experience this week too. I had better results with Claude recently for coding. Having used AI otherwise lately to compare.
👍  
👎  , , , , , , , , , , , ,
properties (23)
authorgadrian
permlinkre-davideownzall-sy9x92
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2025.6.2"}
created2025-06-22 20:07:51
last_update2025-06-22 20:07:51
depth2
children2
last_payout2025-06-29 20:07:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length218
author_reputation646,569,348,278,128
root_title"Added One More Brick to the Hive Engine Snapshot Tool"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,506,033
net_rshares-7,524,433,583
author_curate_reward""
vote details (14)
@davideownzall ·
i asked for specific health specialists on my city and it drove me to other cities and kept repeating the same 3 places over and over even if i made it notice it was mistaking, pretty annoying
👍  
properties (23)
authordavideownzall
permlinkre-gadrian-sy9xdw
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2025.6.2","image":[],"users":[]}
created2025-06-22 20:10:45
last_update2025-06-22 20:10:45
depth3
children1
last_payout2025-06-29 20:10:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length192
author_reputation112,228,930,427,232
root_title"Added One More Brick to the Hive Engine Snapshot Tool"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,506,086
net_rshares126,198,709
author_curate_reward""
vote details (1)
@hivebuzz ·
Congratulations @gadrian! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

<table><tr><td><img src="https://images.hive.blog/60x60/https://hivebuzz.me/badges/postallweek.png"></td><td>You have been a buzzy bee and published a post every day of the week.</td></tr>
</table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@gadrian) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>

properties (22)
authorhivebuzz
permlinknotify-1750647832
categoryhive-139531
json_metadata{"image":["https://hivebuzz.me/notify.t6.png"]}
created2025-06-23 03:03:51
last_update2025-06-23 03:03:51
depth1
children0
last_payout2025-06-30 03:03:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length601
author_reputation369,480,732,795,160
root_title"Added One More Brick to the Hive Engine Snapshot Tool"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,510,859
net_rshares0
@jfang003 ·
$0.04
@jfang003 "I think it's looking better. Is it possible to com..."
I think it's looking better. Is it possible to compare values from a different snapshot in time?
👍  
properties (23)
authorjfang003
permlinkre-gadrian-32yqkzyfe
categoryhive-139531
json_metadata{"app":"leothreads/0.3","format":"markdown","tags":["leofinance"],"canonical_url":"https://inleo.io/threads/view/jfang003/re-gadrian-32yqkzyfe","isPoll":false,"pollOptions":{},"dimensions":[]}
created2025-06-23 04:58:12
last_update2025-06-23 04:58:12
depth1
children1
last_payout2025-06-30 04:58:12
cashout_time1969-12-31 23:59:59
total_payout_value0.020 HBD
curator_payout_value0.020 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length96
author_reputation653,989,397,202,214
root_title"Added One More Brick to the Hive Engine Snapshot Tool"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,512,050
net_rshares147,930,719,892
author_curate_reward""
vote details (1)
@gadrian · (edited)
Thanks. Yes. At this time, you simply save the output of the script in different files on disk (I explain on the readme page in the github repo how). Then you compare the files.

The script could also be added to automatically run at startup in the future. But I'll have to tweak it a bit to have an option to automatically output to files, and to only create a new file once per period (day, week, month, quarter, year, etc.). Those files (unlike the ones redirected from the output today) would be different than the pretty tables I display on screen, because I need to make them easier to read by a script.

Maybe, but that's a big maybe, I'll make a graphics interface to show evolution in time. 
👎  , , , , , , , , , , , ,
properties (23)
authorgadrian
permlinkre-jfang003-syaqoj
categoryhive-139531
json_metadata{"tags":"hive-139531"}
created2025-06-23 06:43:30
last_update2025-06-23 06:49:27
depth2
children0
last_payout2025-06-30 06:43:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length700
author_reputation646,569,348,278,128
root_title"Added One More Brick to the Hive Engine Snapshot Tool"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,513,091
net_rshares-10,511,083,610
author_curate_reward""
vote details (13)
@steemmillionaire ·
!PIMP
properties (22)
authorsteemmillionaire
permlinkre-gadrian-sya15t
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2025.6.2","image":[],"users":[]}
created2025-06-22 21:32:18
last_update2025-06-22 21:32:18
depth1
children0
last_payout2025-06-29 21:32:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length5
author_reputation128,641,952,205,606
root_title"Added One More Brick to the Hive Engine Snapshot Tool"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id143,507,167
net_rshares0