pub(crate) fn validate_history_time_range( command: &str, market: &str, begin: Option<&str>, end: Option<&str>, ) -> Result<()>