Robotic algorithm that stops losing money in trading with machine learning and artificial intelligence.