convert_backtrader_timestamp#

convert_backtrader_timestamp(bt_time)[source]#

Convert traderader internal timestamps to Pandas.

Backtrader internally tracks time as “float of day numbers.” Go figures?

See PandasData._load() for more information.

See num2date() for more information.

Parameters:

bt_time (float) –

Return type:

Timestamp