json_decode_timedelta#

API documentation for tradeexecutor.utils.timestamp.json_decode_timedelta Python function.

json_decode_timedelta(val)[source]#

Decode timestamp objects as number of seconds passed

Parameters:

val (float | None) –

Return type:

datetime.timedelta | None