using limit orders may be better.
fake tradebot client to simulate trading.
remove old bars of the last trading date, to reduce memory footprint.