https://medium.com/@jsgastoniriartecabrera/auto-optimize-trading-bot-with-sharpe-ratio-metric-aca7fb98f13d