Bitcoin Forum
February 22, 2019, 10:03:59 PM *
News: Latest Bitcoin Core release: 0.17.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 »
  Print  
Author Topic: Whattomine - profitability website with basic json.  (Read 75135 times)
fredeq
Legendary
*
Offline Offline

Activity: 1442
Merit: 1005


View Profile WWW
May 17, 2018, 06:57:04 PM
 #921

It is an average diff, not sure why it would be wrong though. Can you explain what are you comparing it with?
Sum up diffs of every single block for the last 86400 seconds, divide by their count.
I get 1254: https://blockstats.pw/straks/
WTM shows almost 1600, so I'm also not sure how that is possbile Smiley

I'm running a node and use blocknotify to get data for each block and put it in DB.
Code:
SELECT COUNT(`diff`), SUM(`diff`) DIV COUNT(`diff`) FROM `straks_pow` WHERE `time` >= (UNIX_TIMESTAMP() - 86400)
Returns block count = 1290 (~67 sec per block, matches WTM) and 1254 avg diff.


Indeed my average is higher than the real average.
From what I can see its caused by lowered diff periods of around 300-500, where many blocks are mined in short time and not all of them are cached into the db.

Now the question remains which average is able to produce closer estimated_rewards.

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

Posts: 1550873039

View Profile Personal Message (Offline)

Ignore
1550873039
Reply with quote  #2

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

Activity: 658
Merit: 252


Insane In The Blockchain ⚠


View Profile WWW
May 17, 2018, 09:22:57 PM
 #922

Indeed my average is higher than the real average.
From what I can see its caused by lowered diff periods of around 300-500, where many blocks are mined in short time and not all of them are cached into the db.

Now the question remains which average is able to produce closer estimated_rewards.
How do you miss blocks? They all have unique numbers Grin
STRAKS can change difficulty very sharply (check chart on BlockStats), I don't think that getting diff every 5-10 min is accurate.
Difficulty already takes block time and hashrate into account, so IMHO it's the only way to calculate theoretical rewards.
Real rewards can differ greatly because of unstable hashrate, suboptimal pool and network efficiencies, low pool luck, fees, big hashrate attacks, etc.
But all of those are unpredictable (even fees Grin) and cannot be used to compare rewards.

cmanmatt
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
May 24, 2018, 03:17:43 AM
 #923

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?
fredeq
Legendary
*
Offline Offline

Activity: 1442
Merit: 1005


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

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
cmanmatt
Newbie
*
Offline Offline

Activity: 21
Merit: 0


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

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: 658
Merit: 252


Insane In The Blockchain ⚠


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

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: 1442
Merit: 1005


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

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: 658
Merit: 252


Insane In The Blockchain ⚠


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

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: 1442
Merit: 1005


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

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: 658
Merit: 252


Insane In The Blockchain ⚠


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

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: 1442
Merit: 1005


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

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: 658
Merit: 252


Insane In The Blockchain ⚠


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

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: 1442
Merit: 1005


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

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: 132
Merit: 0


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

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: 1442
Merit: 1005


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

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: 107
Merit: 0


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

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: 1442
Merit: 1005


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

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: 658
Merit: 252


Insane In The Blockchain ⚠


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

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: 1442
Merit: 1005


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

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: 658
Merit: 252


Insane In The Blockchain ⚠


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

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

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 »
  Print  
 
Jump to:  

Bitcointalk.org is not available or authorized for sale. Do not believe any fake listings.
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!