Front Running Trading: Mathematical Analysis and Data-Driven Strategies