handling for testing beyond the end of trading.environment's
history.