Alpaca Historical Data - bar timestamp

Hello,
I have a basic question about historical data using Alpaca API v2 with Alpaca-py python wrapper. According to Bars documentation, timestamp is the closing timestamp of the candle (Models - Alpaca-py).
But in my limited testing, it appears to be opening time.
Is there a mistake in the API docs, or am I doing something wrong?

Hey :wave:

You’re right, it’s a mistake in the API docs. I’m going to fix it shortly.

1 Like