tweak algo-log format to be more similar to that from mph_switch
This commit is contained in:
@@ -83,7 +83,7 @@ if (current==0):
|
||||
if (current==0):
|
||||
# log a change
|
||||
algo_log=open("algo-log", "a")
|
||||
algo_log.write(str(datetime.datetime.now())+": "+max_profit_algo+" (*) "+format(max_profit_val, ".8f")+" "+format(max_profit_val*exchrate, ".2f")+"\n")
|
||||
algo_log.write(str(datetime.datetime.now())+": * ("+max_profit_algo+") "+format(max_profit_val, ".8f")+" "+format(max_profit_val*exchrate, ".2f")+"\n")
|
||||
algo_log.close()
|
||||
if (other==1):
|
||||
# kill existing miners
|
||||
|
||||
Reference in New Issue
Block a user