Display miner stats individually and group stats for up to two miners on pool.bitcoin.com. Also includes wallet stats, amount of BTC/BCH and USD value of wallet balance according to coinbase.com and the instant the request is made.
----------------------MINER STATS-------------------------------------------
TH/s Now TH/s 10min Avg TH/s 3hr Avg Last Share
miner_01 15.55555 14.444444 12.222222 1776-13-13 05:55:55.0
miner_02 15.55555 13.333333 11.111111 1776-13-13 05:55:55.0
-----------------------USER STATS--------------------------------------------
Net HR 24h Avg BTC Balance BTC-USD BCH Balance BCH-USD
-> 30.003 19.920 0.000001 $123.45 0.000001 $123.45
When this program is run, https://api.coinbase.com/v2/prices/'PAIR'/spot is used to get current price of BCH and BTC. This data is placed in a Pandas DataFrame in KEY:VALUE format.
Can only track 2 miners.
Allow the program to be refreshed, user set time between refresh.Using watch for now- Get real fancy and add some colors; green=good, while red=bad.
- May skip #2 if I decide to go down the GUI route and see what the options are for this program coupled with a GUI.