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
 Author Topic: Whattomine - profitability website with basic json.  (Read 93979 times)
fredeq
Legendary

Offline

Activity: 1519
Merit: 1005

 May 24, 2018, 06:33:34 AM

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
1623665621
Hero Member

Offline

Posts: 1623665621

Ignore
 1623665621

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

Activity: 32
Merit: 11

 May 25, 2018, 12:45:43 AM

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
Mikanoshi
Sr. Member

Offline

Activity: 756
Merit: 252

Insane In The Blockchain ⚠

 May 27, 2018, 01:29:15 AM

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?

 ▀▄   ▄▀██▄█████▀███▄██▀█▄ ▀██▄▄██▀ ▄███▄ ▀██▄▄██▀ ▄██▀ ▀██▄ ▀██▄██▀ ▄████▄ ▄████▄ ▀████▀ ██▀ ▄█▌ ▐█▄ ▀██ ▀██▐██ ▐██  ██▄ ▄██  ██▌ ██▌██▄ ▀██▄  ▀▀▀  ▄██▀ ▄████▄  ▀█████████▀  ▄██▀██▄▄         ▄▄██▀▀▀█████████▀▀ DeepOnionYour Privacy Choice | SegWit Wallet Released.►  ► Upgrade Now ◄  ◄ Meet Our Experts   Working NonStop   +200 Weeks | LIMITED SUPPLYOwn ONIONOur Exchanges ██████████████████████████████ ████  ██  ██  ██  ██  ██  ██  ██  ██  ██  ██  ██████
fredeq
Legendary

Offline

Activity: 1519
Merit: 1005

 May 27, 2018, 07:54:50 AM

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
Mikanoshi
Sr. Member

Offline

Activity: 756
Merit: 252

Insane In The Blockchain ⚠

 May 27, 2018, 09:40:21 AM

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

 ▀▄   ▄▀██▄█████▀███▄██▀█▄ ▀██▄▄██▀ ▄███▄ ▀██▄▄██▀ ▄██▀ ▀██▄ ▀██▄██▀ ▄████▄ ▄████▄ ▀████▀ ██▀ ▄█▌ ▐█▄ ▀██ ▀██▐██ ▐██  ██▄ ▄██  ██▌ ██▌██▄ ▀██▄  ▀▀▀  ▄██▀ ▄████▄  ▀█████████▀  ▄██▀██▄▄         ▄▄██▀▀▀█████████▀▀ DeepOnionYour Privacy Choice | SegWit Wallet Released.►  ► Upgrade Now ◄  ◄ Meet Our Experts   Working NonStop   +200 Weeks | LIMITED SUPPLYOwn ONIONOur Exchanges ██████████████████████████████ ████  ██  ██  ██  ██  ██  ██  ██  ██  ██  ██  ██████
fredeq
Legendary

Offline

Activity: 1519
Merit: 1005

 May 27, 2018, 02:35:37 PM

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

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
Mikanoshi
Sr. Member

Offline

Activity: 756
Merit: 252

Insane In The Blockchain ⚠

 May 28, 2018, 07:15:56 AM

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

 ▀▄   ▄▀██▄█████▀███▄██▀█▄ ▀██▄▄██▀ ▄███▄ ▀██▄▄██▀ ▄██▀ ▀██▄ ▀██▄██▀ ▄████▄ ▄████▄ ▀████▀ ██▀ ▄█▌ ▐█▄ ▀██ ▀██▐██ ▐██  ██▄ ▄██  ██▌ ██▌██▄ ▀██▄  ▀▀▀  ▄██▀ ▄████▄  ▀█████████▀  ▄██▀██▄▄         ▄▄██▀▀▀█████████▀▀ DeepOnionYour Privacy Choice | SegWit Wallet Released.►  ► Upgrade Now ◄  ◄ Meet Our Experts   Working NonStop   +200 Weeks | LIMITED SUPPLYOwn ONIONOur Exchanges ██████████████████████████████ ████  ██  ██  ██  ██  ██  ██  ██  ██  ██  ██  ██████
fredeq
Legendary

Offline

Activity: 1519
Merit: 1005

 May 28, 2018, 08:41:33 AM

Because they are down randomly
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
Mikanoshi
Sr. Member

Offline

Activity: 756
Merit: 252

Insane In The Blockchain ⚠

 May 28, 2018, 11:33:24 AM

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
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.

 ▀▄   ▄▀██▄█████▀███▄██▀█▄ ▀██▄▄██▀ ▄███▄ ▀██▄▄██▀ ▄██▀ ▀██▄ ▀██▄██▀ ▄████▄ ▄████▄ ▀████▀ ██▀ ▄█▌ ▐█▄ ▀██ ▀██▐██ ▐██  ██▄ ▄██  ██▌ ██▌██▄ ▀██▄  ▀▀▀  ▄██▀ ▄████▄  ▀█████████▀  ▄██▀██▄▄         ▄▄██▀▀▀█████████▀▀ DeepOnionYour Privacy Choice | SegWit Wallet Released.►  ► Upgrade Now ◄  ◄ Meet Our Experts   Working NonStop   +200 Weeks | LIMITED SUPPLYOwn ONIONOur Exchanges ██████████████████████████████ ████  ██  ██  ██  ██  ██  ██  ██  ██  ██  ██  ██████
fredeq
Legendary

Offline

Activity: 1519
Merit: 1005

 May 28, 2018, 11:50:04 AM

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
Ucrypto
Newbie

Offline

Activity: 131
Merit: 0

 May 31, 2018, 02:21:53 PM

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

Activity: 1519
Merit: 1005

 May 31, 2018, 03:52:46 PM

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
oubee1
Newbie

Offline

Activity: 104
Merit: 0

 May 31, 2018, 04:23:01 PM

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

Activity: 1519
Merit: 1005

 June 11, 2018, 08:07:13 AM

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?

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

Offline

Activity: 756
Merit: 252

Insane In The Blockchain ⚠

 June 11, 2018, 09:17:37 AM

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.

 ▀▄   ▄▀██▄█████▀███▄██▀█▄ ▀██▄▄██▀ ▄███▄ ▀██▄▄██▀ ▄██▀ ▀██▄ ▀██▄██▀ ▄████▄ ▄████▄ ▀████▀ ██▀ ▄█▌ ▐█▄ ▀██ ▀██▐██ ▐██  ██▄ ▄██  ██▌ ██▌██▄ ▀██▄  ▀▀▀  ▄██▀ ▄████▄  ▀█████████▀  ▄██▀██▄▄         ▄▄██▀▀▀█████████▀▀ DeepOnionYour Privacy Choice | SegWit Wallet Released.►  ► Upgrade Now ◄  ◄ Meet Our Experts   Working NonStop   +200 Weeks | LIMITED SUPPLYOwn ONIONOur Exchanges ██████████████████████████████ ████  ██  ██  ██  ██  ██  ██  ██  ██  ██  ██  ██████
fredeq
Legendary

Offline

Activity: 1519
Merit: 1005

 June 11, 2018, 04:07:09 PM

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
Mikanoshi
Sr. Member

Offline

Activity: 756
Merit: 252

Insane In The Blockchain ⚠

 June 12, 2018, 09:36:17 PM

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

 ▀▄   ▄▀██▄█████▀███▄██▀█▄ ▀██▄▄██▀ ▄███▄ ▀██▄▄██▀ ▄██▀ ▀██▄ ▀██▄██▀ ▄████▄ ▄████▄ ▀████▀ ██▀ ▄█▌ ▐█▄ ▀██ ▀██▐██ ▐██  ██▄ ▄██  ██▌ ██▌██▄ ▀██▄  ▀▀▀  ▄██▀ ▄████▄  ▀█████████▀  ▄██▀██▄▄         ▄▄██▀▀▀█████████▀▀ DeepOnionYour Privacy Choice | SegWit Wallet Released.►  ► Upgrade Now ◄  ◄ Meet Our Experts   Working NonStop   +200 Weeks | LIMITED SUPPLYOwn ONIONOur Exchanges ██████████████████████████████ ████  ██  ██  ██  ██  ██  ██  ██  ██  ██  ██  ██████
fredeq
Legendary

Offline

Activity: 1519
Merit: 1005

 June 15, 2018, 11:07:45 PM

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

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
Mikanoshi
Sr. Member

Offline

Activity: 756
Merit: 252

Insane In The Blockchain ⚠

 June 17, 2018, 12:52:04 AM

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?

 ▀▄   ▄▀██▄█████▀███▄██▀█▄ ▀██▄▄██▀ ▄███▄ ▀██▄▄██▀ ▄██▀ ▀██▄ ▀██▄██▀ ▄████▄ ▄████▄ ▀████▀ ██▀ ▄█▌ ▐█▄ ▀██ ▀██▐██ ▐██  ██▄ ▄██  ██▌ ██▌██▄ ▀██▄  ▀▀▀  ▄██▀ ▄████▄  ▀█████████▀  ▄██▀██▄▄         ▄▄██▀▀▀█████████▀▀ DeepOnionYour Privacy Choice | SegWit Wallet Released.►  ► Upgrade Now ◄  ◄ Meet Our Experts   Working NonStop   +200 Weeks | LIMITED SUPPLYOwn ONIONOur Exchanges ██████████████████████████████ ████  ██  ██  ██  ██  ██  ██  ██  ██  ██  ██  ██████
whittle
Newbie

Offline

Activity: 49
Merit: 0

 June 17, 2018, 09:31:15 PM

@fredeq

What you need to add DBIX - DubaiCoin ?