RB: Add command for retrieving historical trades and utilize trades for calculating historical mean and variance