Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hello, How can I tell if the next() method runs on the last trading bar during backtesting? Thanx
There is no difference between backtesting and live trading. Only that you can preload the data during backtesting and check if len(data) == data.buflen(), which is of course cheating.
len(data) == data.buflen()