floor_pandas_month#

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

floor_pandas_month(ts)[source]#

Round Pandas timestamp to a start of a month.

Parameters:

ts (Timestamp) –

Return type:

Timestamp