Author

Topic: Scrypt mining pool - Algorithm to always mine most profitable coin (Read 988 times)

sr. member
Activity: 406
Merit: 251
http://altoidnerd.com
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)}
legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
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.
member
Activity: 84
Merit: 10
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.
Jump to: