https://9dok.net/document/y8g27l52-optimal-order-execution-problem-framework-frequency-trading-sample.html