Open AJRGale opened 10 years ago
:+1:
Hi i´m trying to help this and i add the code below in check_if_changed it help you?
if saved_action() == "sell" : print "IDEAL ACTION BUY: ", float(saved_price()) - (float(saved_price()) float(threshold)) else: print "IDEAL ACTION SELL: ", float(saved_price()) + (float(saved_price()) float(threshold))
if yes i will make this in make_trade verification. and put the all code here, i´m trying to help this code, because is very cool hehe.
Basically, when i have to shut the bot down, it forgets what it was doing last, and when you reinitialize it, it resets where its trading points are (when you have it set to 0.6% +/- of the price, and you reset it, it may sell the last buys for less then what it has originally purchased it for, and you lose could lose out)