Text this: Optimal Trading with Speed-Dependent Transaction Cost Rates