The deal is , martingale doesnt work , you eventually lose enough in a row to bust. Thats why it is unneccesary to make a bot like this , use your coding skills for something like CAT for trading purposes.
Sorry by my ignorance.. But what is "CAT" for trading purposes?