Good morning to everyone . I hope you all are having a great day. Last week I released a tool which shows your BRO , INDEX , DHEDGE and EDS dividends . I got positive feedback from it and users found it pretty helpful .
Although I felt happy about it , it was still something which wasn't open to all users , meaning- not everyone holds those particular tokens . So I created another app - https://hivebreakeven-stats.herokuapp.com which targets all the users .
HiveBreakEven Stats
I guess you already got an idea what it is about . It is a very simple application that I have built which you can use to see how much ( a particular token ) you have bought , sold , sent to others and received from others .
Usecase
Many a time we hold a lot of coins and we lose track of how much of it is bought and for what price ?
Unless you keep a note of it or use excel to track it , it is pretty hard .

Source
This app does just that - you can view you trade history ( completely or just summary of it ) on the right side .
How to use it
Enter your username on the left side
Select the token you want to see the results for or just start typing it will show up , click on the token -
Hit enter and one of the part I am super happy about is it is super fast -

source
Output must be something like this -

Example with calculations ( IMPORTANT )
Let me take an example of how I have performed the calculations and what all I have added -
Calculation
It goes through you complete buy history and prices you bough it at and calculates average buy .
Same for sell history and average sell.
It searches how many coins you have sent to others and stores it in send_quantity.
It searches how many coins you have received from others ( including curation + author rewards + what others send you) and stores it in buy_quantity .
It does the following calculation to calculate your present average-
= (Buy_amount - sell_amount) / (buy_quantity-sell_quantity + received_quantity - sent_quantity)
- If you have already got back what you invested , it will show you -
- If you are yet to break-even , it will show you the current average price of each token -
Note - P/L is calculated only based on what you have already bought and sold
Why sending and receiving history matters?
Let's say I bought 10 LEO at 10 Hive totally , that means 1 HIVE per 1 LEO .
Tomorrow I made a post and earned rewards - say I got 10 LEO from that post - now I have 20 LEO in my wallet but I have only spent 10 HIVE totally , so what is the average spent ? It is not 1 HIVE per 1 LEO anymore , it is 0.5 HIVE per 1 LEO right?
Let's go back to step 1 , I bought 10 LEO with 10 Hive , I haven't posted anything or received from anyone . Say I want to buy @lbi-token and send 5 LEO to @lbi-token . I have 5 LEO right now but I have spent 10 HIVE , does the average remain same now ? No - it is 6 / 10 now which is 2 HIVE per LEO spent .
- You get LBI token separately but it doesn't come in the picture now, when you are focusing on one token you must (-) it when you send .
I hope this part is clear . Many usually calculate buy - sell to calculate profit/ loss but I feel this gives a better picture .
Real life example would be this -
1.You bought 1 TESLA share at say 100 $
- One of your friend sent you another share as a gift . Now your average is not 100$ per share but just 50$ .
Drawbacks
There are a drawback in this - You can use the app to calculate any tribe token but not for certain tokens like @lbi-token and DHEDGE . Why ? Because you are not buying it from the market directly but you are transferring some coin in exchange of another coin . So the calculation doesn't make sense in this context . Maybe I will try to add seperate calculation for @lbi-token in future but right now you have to forgive me .
Feedback
Your feedback is very important to me , let me know what you think of the calculations and if you used the app let me know how quick it was .
Will you be using this app frequently?
What's next ?
All the data which is being displayed now is in current state , I want to go further and add calculations for : " What if I buy 1000 CTP tokens to my already existing balance ? What will my future average will be ? "
Segregate data based on - How much was received from contract tokens , how much did you send others , how much did you receive from others etc.
My other app - https://hivetoken-stats.herokuapp.com/
Regards,
MR.
Posted Using LeoFinance Beta