# Portfolio Gain/Loss % Reversed Problem

**URL:** <https://forum.alpaca.markets/t/portfolio-gain-loss-reversed-problem/10971>\
**Category:** Alpaca Account Troubleshooting\
**Created:** [November 2, 2022, 7:22pm UTC](https://forum.alpaca.markets/t/portfolio-gain-loss-reversed-problem/10971 "2022-11-02T19:22:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![b.great](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@b.great](https://forum.alpaca.markets/u/b.great)\
**Post date:** [November 2, 2022, 7:22pm UTC](https://forum.alpaca.markets/t/portfolio-gain-loss-reversed-problem/10971/1 "2022-11-02T19:22:33Z")

</div>

Hi,  
Since yesterday I am observing that my paper account portfolio is showing reversed %. That Gains are shown as Losses and Loss is being shown as Gain. See attached screen shot. Clearly I have a loss of 8 % while the dashboard is showing positive % as gains. I have clearly checked the shorting was disabled since beginning,  
Is there any Bug in the Alpaca Portfolio software? Can any one explain the problem I am having with my account?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/9/9108882c857761220f2c382230f4749355a2cb67.png)  
 ![Capture](https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/a/aaa1da5f893477d0397e526dd9f69d7b75dde452.jpeg)

I have observed this phenomenon before when this happens for a day and then it shows as being correct by itself.

Please let me know if anyone has same issues or was it a known bug on the account dashboard.

---

<div class="post-metadata">

**Author:** ![menforsi](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@menforsi](https://forum.alpaca.markets/u/menforsi)\
**Post date:** [November 3, 2022, 1:02am UTC](https://forum.alpaca.markets/t/portfolio-gain-loss-reversed-problem/10971/2 "2022-11-03T01:02:49Z")

</div>

I saw the same problem today as well in my paper account. You can just write your own script to calculate it in your code
