Post
Topic
Board Pools (Altcoins)
Re: [ANN][MULTI][VARDIFF] Pool|TradeMyBit - 0.5% Prop/Profit Swap/Auto-Exch
by
miner256
on 16/07/2014, 12:26:31 UTC

Just done the same thing! And I wanted raw earnings as well.
All I did was take their settings and divide all values by their normalisation factor. Not so hard, but it is a pain to keep up to date. Raw would be so much better. Simple python dictionary.
Code:
tmb_n = {}
tmb_n['scrypt']  = 1.000
tmb_n['nscrypt'] = 0.470
tmb_n['x11'] = 5.500
tmb_n['x13'] = 3.800
tmb_n['x15'] = 3.400
tmb_n['nist5'] = 16.500

I check every 5 minutes, then if the difference is more than 5% I will switch. If less than 5% I leave it run.
I also added a check against NiceHash with a view to adding code to switch pool if needed but so far NiceHash never beats the reported TMB numbers. For example:
Code:
------------------------------------------
2014-07-16 12:22:39 Current Rate: x13 0.0107
2014-07-16 12:22:40 NiceHash Best Rate: x13 0.0063
2014-07-16 12:22:40 Best Rate: x13 0.0107 stay: algo still best
------------------------------------------
2014-07-16 12:27:41 Current Rate: x13 0.0081
2014-07-16 12:27:41 NiceHash Best Rate: x13 0.0064
2014-07-16 12:27:41 Best Rate: x11 0.0083 stay: performance +3.0%
------------------------------------------
2014-07-16 12:32:42 Current Rate: x13 0.0085
2014-07-16 12:32:42 NiceHash Best Rate: x13 0.0065
2014-07-16 12:32:42 Best Rate: x13 0.0085 stay: algo still best
------------------------------------------
2014-07-16 12:37:43 Current Rate: x13 0.0143
2014-07-16 12:37:44 NiceHash Best Rate: x13 0.0065
2014-07-16 12:37:44 Best Rate: x11 0.0226 switch: performance +57.3%
------------------------------------------
2014-07-16 12:42:45 Current Rate: x11 0.0091
2014-07-16 12:42:45 NiceHash Best Rate: x13 0.0065
2014-07-16 12:42:45 Best Rate: x13 0.0098 switch: performance +8.6%
------------------------------------------
2014-07-16 12:47:46 Current Rate: x13 0.0129
2014-07-16 12:47:46 NiceHash Best Rate: x13 0.0065
2014-07-16 12:47:46 Best Rate: x13 0.0129 stay: algo still best
------------------------------------------
2014-07-16 12:52:47 Current Rate: x13 0.0088
2014-07-16 12:52:47 NiceHash Best Rate: x13 0.0065
2014-07-16 12:52:47 Best Rate: x13 0.0088 stay: algo still best

How about an API call for raw (non normalized) BTC/Day/Mhash earnings per algorithm?

I'm planning to extend my autoswitcher (currently works with NiceHash) to support TradeMyBit.  To make it work correctly I need the non-normalized earnings per algorithm as I factor in hash rates myself to get the best bang for the hash.  The "bestalgo" call has the format I want, but it currently has normalized values.  If another key/value pair could be added per algorithm for the non-normalized values this would work great.