By default it's left so the start of the period is the timestamp (instead of the end of it)!
Easy way to produce lookahead is by forgetting this. Most LLMs will not add this
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
Always ensure your .resample() is:
.resample("X", label="right", closed="right")
By default it's left so the start of the period is the timestamp (instead of the end of it)!
Easy way to produce lookahead is by forgetting this. Most LLMs will not add this