Learn Algo Trading: Mathematical Analysis and Data-Driven Strategies