alpacahq / alpaca-py

The Official Python SDK for Alpaca API
https://alpaca.markets/sdks/python/getting_started.html
Apache License 2.0
537 stars 134 forks source link

when is last_equity being updated each day? #341

Closed tomnewg closed 11 months ago

tomnewg commented 11 months ago

Question form pre-submit checklist.

Question

when is last_equity being updated each day?

it is currently 10 hours after US closed and last_equity still gives me the value from 2 days ago closing.

Many thanks

Tom

alessiocastrica commented 11 months ago

Hi @tomnewg, this looks like a general question about the API rather than the SDK. Still, you can find the datetime linked to the last_equity in the previous_close field of the TradeAccount.