to_int_unix_timestamp#

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

to_int_unix_timestamp(dt)[source]#

Get datetime as UTC seconds since epoch.

Parameters:

dt (datetime) –

Return type:

int