as_bars#

API documentation for tradeexecutor.utils.summarydataframe.as_bars Python function.

as_bars(v)[source]#

Format value as number of bars. Rounds down so we only use the number of fully completed bars.

Parameters:

v (float) –

Return type:

Value