floor_pandas_week#

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

floor_pandas_week(ts)[source]#

Round Pandas timestamp to a start of a week.

Parameters:

ts (Timestamp) –

Return type:

Timestamp