Hi all, just to make this clear,
given an algo trades at market open, which one of these returns the closing values while Excluding most recent value for the current day (meaning the day history is requested):
A
data.history(context.stocks, "close", 123, "1d")[:-1]
or B
data.history(context.stocks, "close", 123, "1d")
As i understand from docs, it should be B, since close prices are not forward filled
Thanks for your time