is_compatible_timestamp#

API documentation for tradingstrategy.utils.time.is_compatible_timestamp Python function.

is_compatible_timestamp(ts)[source]#

Ensure Pandas Timestamp is naive.

We do not carry timezone information in data, because it would slow us down.

Parameters:

ts (Timestamp) –

Return type:

bool