Bitcoin Forum

Bitcoin => Project Development => Topic started by: navidos on August 14, 2013, 11:16:15 AM



Title: LTC and BTC Profitability Calculator
Post by: navidos on August 14, 2013, 11:16:15 AM
Hi buddies,

As It shows on title, I would like to build a Profitability Calculator for LTC and BTC.

I couldn't find any specific open source project for Profitability Calculator.

Would you please help me with that?



Title: Re: LTC and BTC Profitability Calculator
Post by: navidos on August 14, 2013, 02:48:16 PM
Any help or information?


Title: Re: LTC and BTC Profitability Calculator
Post by: CryptoCommerceInt on August 14, 2013, 07:44:42 PM
Hi buddies,

As It shows on title, I would like to build a Profitability Calculator for LTC and BTC.

I couldn't find any specific open source project for Profitability Calculator.

Would you please help me with that?



Mining profitability?


Title: Re: LTC and BTC Profitability Calculator
Post by: navidos on August 15, 2013, 02:57:28 PM
Yes


Title: Re: LTC and BTC Profitability Calculator
Post by: navidos on August 17, 2013, 11:51:43 AM
Any idea?


Title: Re: LTC and BTC Profitability Calculator
Post by: polarhei on August 17, 2013, 11:55:08 AM
I have little, You will need The Difficulty rate, Power used to produce the amount, The Electrical fee, The exchange rate, The Hashrate used

You will need the five factor to find out the answer


Title: Re: LTC and BTC Profitability Calculator
Post by: polarhei on August 17, 2013, 12:32:24 PM
The Basic Concept of Finding The Received a day should be

(Amount of coin inside the Block, For BTC: 25) / Difficulty by  (hashrate (Need to note that LTC requires to divide 1000, For example 600MH/s in SHA-256, in Scrypt (1024,1,1), It should be 600Khash/s ) by day (In seconds, 24 by 60 by 60)) /2^32

Source: http://bitcoin.stackexchange.com/questions/493/exactly-how-does-one-calculate-how-many-btc-they-will-get-a-certain-hashrate
, accessed on 17 August 2013. The 24 by 60 by 60 mentions a day.

Why 2^32? It is because the Basic System is still 32-bit, not 64-bit. The model is still on 32-bit. The 32-bit is the common language while 64-bit mainly dealing with complex mapping. So If you like to provide an experiment, You still have to use 32-bit for more people to join.

Why 64-bit cannot be fully applied? The fact is, Your CPU generally, Only 48-bit  (My case is Core 2 Duo) provided if you use Linux to check out. Xeon can provide the true size as xeon is designed for accuracy.

Under the rule, The difficulty adjustment ,each 14 days, You will need to sum up if You like to predict the month so the difficulty rate adjustment should be added as the answer never be static.

After the obtained, the second part is very simple as it is in fiat.

Note that the power usage should be done with How many Kwh by  (Each unit). The unit, You have to use the worst case to follow up.

For Instance, In my place, For home use, The 7-stage chart mainly encourages people to use efficient method to follow up in everything.

For Simple, Use the last case, Which should be measured Roughly as 0.25 USD per Kwh (In Hong Kong, source: http://www.hkelectric.com/web/DomesticServices/BillingPaymentAndElectricityTariff/TariffTable/Index_en.htm?NRMODE=Published&NRNODEGUID=%7b707EA601-14C8-403B-94B4-215B0200C01E%7d&NRORIGINALURL=%2fweb%2fDomesticServices%2fBillingPaymentAndElectricityTariff%2fTariffTable%2fIndex_en.htm&NRCACHEHINT=Guest, accessed on 17 August 2013)


Additionally, The exchange price , It is very simple as 1 BTC by something (90 USD). You possibly know the next.

Note that, the accuracy (more rules) to answer profit in fiat, is the problem, especially in the second part so if you like to design something  very professional.

I may try to write the second edition of the Profitability Calculator.


Title: Re: LTC and BTC Profitability Calculator
Post by: navidos on August 19, 2013, 11:42:28 AM
Thanks for your help guys.

But is there any Calculator source to build my own?

Or I should write it from the scratch ?

Thanks


Title: Re: LTC and BTC Profitability Calculator
Post by: navidos on August 21, 2013, 02:47:04 PM
Bump !