Trailing stop loss python code. I am using this method to update my SL.