Bitcoin Forum
July 10, 2024, 01:26:36 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Scrypt mining pool - Algorithm to always mine most profitable coin  (Read 966 times)
SimonG (OP)
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
January 20, 2014, 08:25:17 PM
Last edit: January 20, 2014, 08:37:36 PM by SimonG
 #1

Hello guys! I'm looking for someone with deep mathematical skills who can create an algorithm which automatically detects the most profitable scrypt coin to mine depending on difficulty, block finding chance, exchange rate, hashpower and other factors.

I'm offering 1-5 BTC as reward. (more if you help me with backend and other necessary things).
You should have basic knownledge of HTML, PHP, and more advanced skills in either C++ or C.

Please PM me for more details.
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1862
Merit: 1011

Reverse engineer from time to time


View Profile
January 20, 2014, 08:59:30 PM
 #2

Hello guys! I'm looking for someone with deep mathematical skills who can create an algorithm which automatically detects the most profitable scrypt coin to mine depending on difficulty, block finding chance, exchange rate, hashpower and other factors.

I'm offering 1-5 BTC as reward. (more if you help me with backend and other necessary things).
You should have basic knownledge of HTML, PHP, and more advanced skills in either C++ or C.

Please PM me for more details.
Such an application will either need an API to gather all the data, or you need to have an up to date blockchain of each coin you want to track.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
Altoidnerd
Sr. Member
****
Offline Offline

Activity: 406
Merit: 251


http://altoidnerd.com


View Profile WWW
January 20, 2014, 09:08:27 PM
Last edit: January 20, 2014, 10:45:40 PM by Altoidnerd
 #3

Cool idea.  The details would get extremely dicey if the fluctuations are rapid - there are so many coins, users would be collecting dust and would perhaps desire to be able to exclude certain undesirable coins.

I would suggest you start with just 2 coins, optimize, then incrementally increase the complexity of the selection process.

Code:
coins = {coin1,coin2}

Main(choose_coin)

fix k             \\ k would be like a day or some logical period for testing
start loop SWITCH
t=0
while t < k
   evaluate{ profit(coin1), profit(coin2) }
     if profit(coin1) > profit(coin2)
        do mine coin1
     else
        do mine coin2
      end if
end while
t++

if t = k
   go to test
Then you can see if this is better than mining one of the coins individually for a given time (a day?):

Code:
test = max(evaluate(avg_k_profits( { coin1_only, coin2_only, SWITCH} ))
  if test = SWITCH
   coins++
     go to Main()
  else get a day job

coins++ could mean to choose a 3rd coin:

Code:
coins++: coins -> coins + nextcoin

so you'd have something like

Code:
coins = {coin1, coin2, coin3}

but you could increment coins in a nested iterative way
Code:
coins = {coin1, choose_coin(coin2 , coin3)}

Do you even mine?
http://altoidnerd.com 
12gKRdrz7yy7erg5apUvSRGemypTUvBRuJ
Pages: [1]
  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!