Hi could you please fix ccminer version in the calculation on the average hash rate for some algo when it goes from Kh/s to Mh/s I believe the calculation is wrong as it just sum up the plain numbers:
For example
[2018-01-17 01:18:16] [S/A/T]: 0/1/1, diff: 0.025, 6563.49kH/s (yes!)
[2018-01-17 01:18:17] [S/A/T]: 0/2/2, diff: 0.491, 15.54MH/s (yes!)
[2018-01-17 01:18:18] [S/A/T]: 0/3/3, diff: 0.457, 18.96MH/s (yes!)
I believe the 6563 kH/s break the average calculation.
Else it is a fantastic script keep the good work!