TST: Ensure that create_trade_history uses midnight for daily trades.

Prepare for implementation of backtest loop that depends on daily
trades being grouped by midnight.