API v2 Portfolio History Inconsistencies

I’m seeing some inconsistencies between the the portfolio history endpoint used on the Alpaca website (app.alpaca.markets/internal/paper_accounts/{UUID}/portfolio/history?extended_hours=true&period=1M) and the API V2 endpoint (/v2/account/portfolio/history?extended_hours=true&period=1M):

  • The website API returns the last endpoint with the amount that matches the current portfolio value, while the API V2 endpoint does not match the current portfolio value

Is this a known issue or something an expected behavior? It would be ideal if the last value for all periods matched the current portfolio value.