convert_and_validate_timestamp# API documentation for tradeexecutor.utils.timestamp.convert_and_validate_timestamp Python function. convert_and_validate_timestamp(timestamp)[source]# Ensure the timestamp is converted to our internal state format. Strategies deal with Pandas timestamps State stores internally datetime.datetime, no timezone, all UTC Parameters: timestamp (Union[Timestamp, datetime]) – Return type: datetime