Martingale Optimality Principle