For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
how use future datas when backtesting
-
i use 'self.data.close[1]' to get future data,
but it happens : 'IndexError: array index out of range'
so , how can i use future datas when backtesting? -
@yi-shi if by future you mean in the sense of time, it is impossible, in order for the backtesting engine to reflect reality