# Account balance and equity still wrong

**URL:** <https://forum.alpaca.markets/t/account-balance-and-equity-still-wrong/5647>\
**Category:** Random\
**Created:** [May 7, 2021, 12:09pm UTC](https://forum.alpaca.markets/t/account-balance-and-equity-still-wrong/5647 "2021-05-07T12:09:32Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghostblade1982](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/ghostblade1982/32/8024_2.png) [@ghostblade1982](https://forum.alpaca.markets/u/ghostblade1982)\
**Post date:** [May 7, 2021, 12:09pm UTC](https://forum.alpaca.markets/t/account-balance-and-equity-still-wrong/5647/1 "2021-05-07T12:09:32Z")

</div>

I know there was a thread about account balance and equity not adding up but today I still have issue for the account info I got, the balance and equity stays constant no matter how many times I send the request, this is un acceptable as it affects my algo and it’s been 2 days, please fix asap

---

<div class="post-metadata">

**Author:** ![Dan\_Whitnable\_Alpaca](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/dan_whitnable_alpaca/32/1658_2.png) [@Dan\_Whitnable\_Alpaca](https://forum.alpaca.markets/u/Dan_Whitnable_Alpaca)\
**Post date:** [May 7, 2021, 12:50pm UTC](https://forum.alpaca.markets/t/account-balance-and-equity-still-wrong/5647/2 "2021-05-07T12:50:43Z")

</div>

@ghostblade1982 I can perhaps help. There aren’t any system issues at the moment but there may be 1) a problem specific to your account or 2) maybe a misunderstanding of the API or web portal values you are looking at.

Could you give an example of the specific problem. When you say _‘the balance and equity stays constant no matter how many times I send the request’_, which request are you making and which attributes in the response are looking at. Is this for a live or paper account?

Here is a python SDK example of how to fetch the current equity

```
import alpaca_trade_api as alpacaapi

api = alpacaapi.REST(ALPACA_API_KEY_ID, ALPACA_API_SECRET_KEY, ALPACA_API_ENDPOINT)

# Get account details. The 'equity' attribute is the currrent equity
account_detail = api.get_account()
equity = account_detail.equity

```

The equity only updates if there is an updated ‘last price’ for one of the portfolios positions. Therefore, it won’t update outside of market + extended hours.

---

<div class="post-metadata">

**Author:** ![learning\_to\_trade](https://avatars.discourse-cdn.com/v4/letter/l/e9c0ed/32.png) [@learning\_to\_trade](https://forum.alpaca.markets/u/learning_to_trade)\
**Post date:** [May 7, 2021, 1:48pm UTC](https://forum.alpaca.markets/t/account-balance-and-equity-still-wrong/5647/3 "2021-05-07T13:48:47Z")

</div>



---

<div class="post-metadata">

**Author:** ![ghostblade1982](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/ghostblade1982/32/8024_2.png) [@ghostblade1982](https://forum.alpaca.markets/u/ghostblade1982)\
**Post date:** [May 8, 2021, 8:18am UTC](https://forum.alpaca.markets/t/account-balance-and-equity-still-wrong/5647/4 "2021-05-08T08:18:06Z")

</div>

Hi Dan,

Thanks for your reply.  
I’m using the Rest GetAccount API, a little background here, I have been using Alpaca API to trade for over a year now, it has been working fine only in the past 3 days it appears to be broken. On Friday it seems to be working most of the time during market open hours and then not working throughout the extended hours. Thanks!

---

<div class="post-metadata">

**Author:** ![ghostblade1982](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/ghostblade1982/32/8024_2.png) [@ghostblade1982](https://forum.alpaca.markets/u/ghostblade1982)\
**Post date:** [May 10, 2021, 12:53pm UTC](https://forum.alpaca.markets/t/account-balance-and-equity-still-wrong/5647/5 "2021-05-10T12:53:42Z")

</div>

Also, the dashboard on my account page shows the exact same result so this is for sure a service issue.

---

<div class="post-metadata">

**Author:** ![ghostblade1982](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/ghostblade1982/32/8024_2.png) [@ghostblade1982](https://forum.alpaca.markets/u/ghostblade1982)\
**Post date:** [May 10, 2021, 1:23pm UTC](https://forum.alpaca.markets/t/account-balance-and-equity-still-wrong/5647/6 "2021-05-10T13:23:42Z")

</div>

And now it has gotten worse to the point that I can’t even place trades:  
[https://forum.alpaca.markets/t/urgent-place-order-rejected-for-failed-to-calculate-balances/5662/2](https://forum.alpaca.markets/t/urgent-place-order-rejected-for-failed-to-calculate-balances/5662/2)

---

<div class="post-metadata">

**Author:** ![learning\_to\_trade](https://avatars.discourse-cdn.com/v4/letter/l/e9c0ed/32.png) [@learning\_to\_trade](https://forum.alpaca.markets/u/learning_to_trade)\
**Post date:** [May 10, 2021, 9:37pm UTC](https://forum.alpaca.markets/t/account-balance-and-equity-still-wrong/5647/7 "2021-05-10T21:37:33Z")

</div>

Yes, my equity amount appears frozen outside of market hours, also.

---

<div class="post-metadata">

**Author:** ![Dan\_Whitnable\_Alpaca](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/dan_whitnable_alpaca/32/1658_2.png) [@Dan\_Whitnable\_Alpaca](https://forum.alpaca.markets/u/Dan_Whitnable_Alpaca)\
**Post date:** [May 13, 2021, 5:11pm UTC](https://forum.alpaca.markets/t/account-balance-and-equity-still-wrong/5647/8 "2021-05-13T17:11:01Z")

</div>

Thank you everyone for posting here. The Alpaca engineering team has identified the issue and is working on a fix. No ETA but it is high priority and should be soon. As a workaround, one can calculate their own equity and fetch prices using the v2 data (ensure you use the Unlimited data and not the limited Free data) or 3rd party data. Those are correct.

---

<div class="post-metadata">

**Author:** ![kris](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/kris/32/163_2.png) [@kris](https://forum.alpaca.markets/u/kris)\
**Post date:** [May 16, 2021, 11:18pm UTC](https://forum.alpaca.markets/t/account-balance-and-equity-still-wrong/5647/9 "2021-05-16T23:18:58Z")

</div>

i think it was me i was doing some htf stuff

---

<div class="post-metadata">

**Author:** ![petitoj](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@petitoj](https://forum.alpaca.markets/u/petitoj)\
**Post date:** [January 30, 2022, 1:16pm UTC](https://forum.alpaca.markets/t/account-balance-and-equity-still-wrong/5647/10 "2022-01-30T13:16:26Z")

</div>

my account balance is 26,000 but my buying power is listed at 0. Why is that?
