Bitcoin Forum
June 14, 2021, 10:13:41 AM *
News: Latest Bitcoin Core release: 0.21.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 [47] 48 49 50 51 52 53 54 55 56 57 58 59 60 »
  Print  
Author Topic: Whattomine - profitability website with basic json.  (Read 93979 times)
fredeq
Legendary
*
Offline Offline

Activity: 1519
Merit: 1005


View Profile WWW
May 24, 2018, 06:33:34 AM
 #921

How is "profitability" calculated? it doesn't make any sense to me.  Some examples from the ASIC tab today using 0.075 $ power:

Bitcoin: Revenue is showing as $6.46, profit is showing $3.74 and the profitability is showing as 100%.  There isn't any math I can figure where profitability is 100%.
Siacoin: Revenue showing 3.93 and profit is 1.59 and profitability is 60%.  

The way I would normally look at profit margin or profit ratio would be profit over power so in the case of bitcoin it would be $3.74/($6.46-3.74)= 1.37 so a 1.37 or 137% profit ratio of net revenue over power.  I have no clue where the 100% comes from.

Can someone help explain or point to a formula that explains the profitability calculation on the site?

The naming is not accurate - its based on revenue in BTC.
100% is a base to compare other coins to either BTC or ETH.

https://whattomine.com - Check what to mine Smiley
1623665621
Hero Member
*
Offline Offline

Posts: 1623665621

View Profile Personal Message (Offline)

Ignore
1623665621
Reply with quote  #2

1623665621
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
cmanmatt
Jr. Member
*
Offline Offline

Activity: 32
Merit: 11


View Profile
May 25, 2018, 12:45:43 AM
 #922

How is "profitability" calculated? it doesn't make any sense to me.  Some examples from the ASIC tab today using 0.075 $ power:

Bitcoin: Revenue is showing as $6.46, profit is showing $3.74 and the profitability is showing as 100%.  There isn't any math I can figure where profitability is 100%.
Siacoin: Revenue showing 3.93 and profit is 1.59 and profitability is 60%.  

The way I would normally look at profit margin or profit ratio would be profit over power so in the case of bitcoin it would be $3.74/($6.46-3.74)= 1.37 so a 1.37 or 137% profit ratio of net revenue over power.  I have no clue where the 100% comes from.

Can someone help explain or point to a formula that explains the profitability calculation on the site?

The naming is not accurate - its based on revenue in BTC.
100% is a base to compare other coins to either BTC or ETH.

aha! okay, well the numbers make sense then!  Thanks!

I still wish it was what I was looking for but at least I understand what it is Smiley
Mikanoshi
Sr. Member
****
Offline Offline

Activity: 756
Merit: 252


Insane In The Blockchain ⚠


View Profile WWW
May 27, 2018, 01:29:15 AM
 #923

So there won't be a fix for diff calculation? I guess it's safe to assume WTM is totally inaccurate then.

P.S. What's up with ORE, lagging for more than a day?

fredeq
Legendary
*
Offline Offline

Activity: 1519
Merit: 1005


View Profile WWW
May 27, 2018, 07:54:50 AM
 #924

So there won't be a fix for diff calculation? I guess it's safe to assume WTM is totally inaccurate then.

P.S. What's up with ORE, lagging for more than a day?

I have reduced polling time for straks, but it didnt help much.
At the end of the day calcs are correct for me on other coins - still need to check straks to make sure.

ORE official explorer is down.

https://whattomine.com - Check what to mine Smiley
Mikanoshi
Sr. Member
****
Offline Offline

Activity: 756
Merit: 252


Insane In The Blockchain ⚠


View Profile WWW
May 27, 2018, 09:40:21 AM
 #925

Why do you grab current diff instead of diff for every block since last poll?
And explorers are unreliable. I'll have to run more nodes Cheesy

fredeq
Legendary
*
Offline Offline

Activity: 1519
Merit: 1005


View Profile WWW
May 27, 2018, 02:35:37 PM
 #926

Why do you grab current diff instead of diff for every block since last poll?
And explorers are unreliable. I'll have to run more nodes Cheesy

Cause I am not running nodes for most of the coins.
Not sure why do you think explorers are unreliable though.

Running a test on straks now, will compare with calc when done.

https://whattomine.com - Check what to mine Smiley
Mikanoshi
Sr. Member
****
Offline Offline

Activity: 756
Merit: 252


Insane In The Blockchain ⚠


View Profile WWW
May 28, 2018, 07:15:56 AM
 #927

Because they are down randomly Smiley
Explorer API provides all the required commands though.
Code:
for (i = last_block_in_db; i <= getblockcount; i++) { getblock(getblockhash(i)) }

fredeq
Legendary
*
Offline Offline

Activity: 1519
Merit: 1005


View Profile WWW
May 28, 2018, 08:41:33 AM
 #928

Because they are down randomly Smiley
Explorer API provides all the required commands though.
Code:
for (i = last_block_in_db; i <= getblockcount; i++) { getblock(getblockhash(i)) }

Hehe true, some of them go down quite often.
In more than half of the cases the data is fetched from pools or other custom apis, so there is no way to pull all the blocks.

Soon I will reach 24h on the test mining and looks like the calc is ok.
I know it uses the average diff around 20% higher than what would be calculated from simple average of all blocks.
We could ofc pull the entire chain for straks, the values for diff would be smaller but then again estimated_rewards would be 20% higher and not correct.

Now the reason for this is not yet clear to me, though I have a feeling this might be caused by using a simple average vs for example weighted one.

https://whattomine.com - Check what to mine Smiley
Mikanoshi
Sr. Member
****
Offline Offline

Activity: 756
Merit: 252


Insane In The Blockchain ⚠


View Profile WWW
May 28, 2018, 11:33:24 AM
 #929

How do you use pools? YIIMP does not give any data to calculate profit.
Maybe if you take average from all points on estimate chart you can get something close to reality, but it will be discrete values of current diff and current price taken on large intervals, so the same as getting diff regularly and an average price for a day. I was doing this before, but realized that pool owners can just write whatever they want for these estimates, even manual values that they update once a week Cheesy
And also data that pool provides has luck of that particular pool applied to it, comparing random stuff is not productive. At least avg diff based values are not affected by luck, it applies after and cannot be predicted.

fredeq
Legendary
*
Offline Offline

Activity: 1519
Merit: 1005


View Profile WWW
May 28, 2018, 11:50:04 AM
 #930

Mpos pools let you query for current difficulty, same as explorers.
Agreed that calcs need to originate from difficulty - all coins are calculated this way.

https://whattomine.com - Check what to mine Smiley
Ucrypto
Newbie
*
Offline Offline

Activity: 131
Merit: 0


View Profile
May 31, 2018, 02:21:53 PM
 #931

Hi! Do you have some pools list on the Whattomine web page? We'll be glad to be added.
We are uCrypto.net multipool with low fees and cryptocoin variety - 18 coins based on the Ethash and Equihash algorithms.
fredeq
Legendary
*
Offline Offline

Activity: 1519
Merit: 1005


View Profile WWW
May 31, 2018, 03:52:46 PM
 #932

Hi! Do you have some pools list on the Whattomine web page? We'll be glad to be added.
We are uCrypto.net multipool with low fees and cryptocoin variety - 18 coins based on the Ethash and Equihash algorithms.

Hey, thanks for reaching out.
No list like that yet, but it might be coming. There will be channels open to sign on the list once ready.

https://whattomine.com - Check what to mine Smiley
oubee1
Newbie
*
Offline Offline

Activity: 104
Merit: 0


View Profile
May 31, 2018, 04:23:01 PM
 #933

I am not really looking for advertisers, they usually come to me if they need an ad placed.
I think all baikal stock is bought instantly,but it seems there is support.. so maybe I just couldn't find it before.
fredeq
Legendary
*
Offline Offline

Activity: 1519
Merit: 1005


View Profile WWW
June 11, 2018, 08:07:13 AM
 #934

Lyra2z added to the GPU list.
Luxcoin delisted due to algo switch to new PHI2 - hardfork still not finished.

@oubee1
Not sure what you mean honestly, posted in the wrong thread? Wink

https://whattomine.com - Check what to mine Smiley
Mikanoshi
Sr. Member
****
Offline Offline

Activity: 756
Merit: 252


Insane In The Blockchain ⚠


View Profile WWW
June 11, 2018, 09:17:37 AM
 #935

So, how that STRAKS test went?) I'm running nodes for new coins and then switch to WTM when they appear there, generally WTM avg diff is 0.5-5% higher than the real one.
The only exception is STRAKS where it's always 20-25%. Considering 5-10% or even more can be wasted on some random things during mining, it can be closer to reality, but still it's not right.
I prefer correct values and then you can apply -10% if you want it to be more realistic and not theoretical.

fredeq
Legendary
*
Offline Offline

Activity: 1519
Merit: 1005


View Profile WWW
June 11, 2018, 04:07:09 PM
 #936

So, how that STRAKS test went?) I'm running nodes for new coins and then switch to WTM when they appear there, generally WTM avg diff is 0.5-5% higher than the real one.
The only exception is STRAKS where it's always 20-25%. Considering 5-10% or even more can be wasted on some random things during mining, it can be closer to reality, but still it's not right.
I prefer correct values and then you can apply -10% if you want it to be more realistic and not theoretical.

Nothing new since last time.
Feeling the same way as you do, would be better to have closer average diff and then manual fee if needed.
Will continue with straks after I will process the last batch of requests and emails.

https://whattomine.com - Check what to mine Smiley
Mikanoshi
Sr. Member
****
Offline Offline

Activity: 756
Merit: 252


Insane In The Blockchain ⚠


View Profile WWW
June 12, 2018, 09:36:17 PM
 #937

Will continue with straks after I will process the last batch of requests and emails.
https://api.straks.info/v2/charts/difficulty?days=1
All blocks for the last 24h, easy Smiley

fredeq
Legendary
*
Offline Offline

Activity: 1519
Merit: 1005


View Profile WWW
June 15, 2018, 11:07:45 PM
 #938

Will continue with straks after I will process the last batch of requests and emails.
https://api.straks.info/v2/charts/difficulty?days=1
All blocks for the last 24h, easy Smiley

Honestly I am thinking that weighted average is the explanation here.
Simple average wont represent the data well, cause you can have many blocks stacked in short period with low diff.

In other words taking all blocks from last 24h and calculating simple avg is not good or wanted.
It matters how long each difficulty period was mined for.

https://whattomine.com - Check what to mine Smiley
Mikanoshi
Sr. Member
****
Offline Offline

Activity: 756
Merit: 252


Insane In The Blockchain ⚠


View Profile WWW
June 17, 2018, 12:52:04 AM
 #939

Honestly I am thinking that weighted average is the explanation here.
Simple average wont represent the data well, cause you can have many blocks stacked in short period with low diff.
How do you calculate weighted average? What blocks are more important than others?)

If there are many blocks with low diff then next there will be blocks with much higher diff.
Difficulty basically defines the expected number of hashes to mine a block, if nethash finds block faster or slower than target spacing then diff is adjusted accordingly.
If diff retargeting is working correctly, simple average of all diffs will give very accurate number of hashes on a long interval. And 24 hours is pretty long, hundreds or even thousands of blocks.

In other words taking all blocks from last 24h and calculating simple avg is not good or wanted.
It matters how long each difficulty period was mined for.
You are polling diff each N minutes, what is your avg called? Absolutely random? Cheesy

whittle
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile
June 17, 2018, 09:31:15 PM
 #940

@fredeq

What you need to add DBIX - DubaiCoin ?

API already online and several sites already use...
arabianchain is working hard. Maybe the community can help.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 [47] 48 49 50 51 52 53 54 55 56 57 58 59 60 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!