How does this trading robot calculate profit per week?