# \[Bug\] Pie rebalancing

**URL:** <https://community.trading212.com/t/bug-pie-rebalancing/58534>\
**Category:** 🤝 Help\
**Created:** [October 9, 2022, 10:45am UTC](https://community.trading212.com/t/bug-pie-rebalancing/58534 "2022-10-09T10:45:08Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![HM93](https://avatars.discourse-cdn.com/v4/letter/h/90db22/32.png) [@HM93](https://community.trading212.com/u/HM93)\
**Post date:** [October 9, 2022, 10:45am UTC](https://community.trading212.com/t/bug-pie-rebalancing/58534/1 "2022-10-09T10:45:08Z")

</div>

Hi 212 team, thanks for the great work so far. Being using 212 since Mar 2020 and everything was amazing over the past 2.5 years.

However since a few months ago, when I try to hit rebalance my pie, after it displays how much of x to sell and how much of y to buy and hitting confirm, only the SELLING part is done, but the BUYING part always fails.

Cash is then returned to cash balance of pie and I have to manually withdraw it from pie, buying the underweight stock manually, then importing it back to the pie…

Any ideas?

---

<div class="post-metadata">

**Author:** ![H2T2](https://avatars.discourse-cdn.com/v4/letter/h/a587f6/32.png) [@H2T2](https://community.trading212.com/u/H2T2)\
**Post date:** [October 10, 2022, 8:12am UTC](https://community.trading212.com/t/bug-pie-rebalancing/58534/2 "2022-10-10T08:12:43Z")

</div>

similar issue here. i’m glad i’m not the only one. mine’s being looked into. they didn’t believe me that i wasn’t cancelling my own orders as it comes up as cancelled on their end lol

but yeah very frustrating

---

<div class="post-metadata">

**Author:** ![Michael.M](https://dub1.discourse-cdn.com/flex013/user_avatar/community.trading212.com/michael.m/32/21449_2.png) [@Michael.M](https://community.trading212.com/u/Michael.M)\
**Post date:** [October 10, 2022, 9:41am UTC](https://community.trading212.com/t/bug-pie-rebalancing/58534/3 "2022-10-10T09:41:21Z")

</div>

Hello, @HM93.

We are looking into what may have prompted this behaviour. I’ll update the thread as soon as I have more information.

Meanwhile, an alternative would be to proceed with your buy orders manually, using the custom method. 🙏

---

<div class="post-metadata">

**Author:** ![HM93](https://avatars.discourse-cdn.com/v4/letter/h/90db22/32.png) [@HM93](https://community.trading212.com/u/HM93)\
**Post date:** [October 10, 2022, 10:07am UTC](https://community.trading212.com/t/bug-pie-rebalancing/58534/4 "2022-10-10T10:07:35Z")

</div>

Thank you!

Also to note the custom buy method only works when cash is returned to account cash but in this case the bug causes the failed buy order’s cash to be returned to pie cash.

Therefore I had to withdraw cash from pie cash to account cash first, then do the custom buy/buy manually then import into pie.

---

<div class="post-metadata">

**Author:** ![Dr.HD](https://avatars.discourse-cdn.com/v4/letter/d/df788c/32.png) [@Dr.HD](https://community.trading212.com/u/Dr.HD)\
**Post date:** [October 12, 2022, 9:38am UTC](https://community.trading212.com/t/bug-pie-rebalancing/58534/5 "2022-10-12T09:38:31Z")

</div>

I don’t rebalance my pies very often, but the same thing has happened to me more than once over the last few months.

However, I didn’t have to do so much hoop-jumping to fix the problem - when the “buy” part fails, you can just press the “invest” button, select “pie’s cash” as the funding source, and the “self balancing” option for fund distribution.

---

<div class="post-metadata">

**Author:** ![HM93](https://avatars.discourse-cdn.com/v4/letter/h/90db22/32.png) [@HM93](https://community.trading212.com/u/HM93)\
**Post date:** [October 12, 2022, 10:47am UTC](https://community.trading212.com/t/bug-pie-rebalancing/58534/6 "2022-10-12T10:47:21Z")

</div>

Hmm this sounds good as a workaround, but I don’t see a place where I can choose funding source to be pie’s cash. It is only from account cash for me.

@Dr.HD

---

<div class="post-metadata">

**Author:** ![Dr.HD](https://avatars.discourse-cdn.com/v4/letter/d/df788c/32.png) [@Dr.HD](https://community.trading212.com/u/Dr.HD)\
**Post date:** [October 12, 2022, 11:03am UTC](https://community.trading212.com/t/bug-pie-rebalancing/58534/7 "2022-10-12T11:03:50Z")

</div>

If there is spare cash in the pie, that should be available as an option. If there is no spare cash in the pie, the option doesn’t show. You may need to choose to invest a nominal amount (e.g. £1) from outside the pie, and the pie’s cash is then automatically added to that.

---

<div class="post-metadata">

**Author:** ![HM93](https://avatars.discourse-cdn.com/v4/letter/h/90db22/32.png) [@HM93](https://community.trading212.com/u/HM93)\
**Post date:** [October 12, 2022, 11:35am UTC](https://community.trading212.com/t/bug-pie-rebalancing/58534/8 "2022-10-12T11:35:17Z")

</div>

That sounds more like what I can remember. Problem is account cash is 0 and I just want to rebalance, not invest an additional amount.

So to invest the failed buy order I’ll still have to withdraw and invest back.

Of course if the bug can be fixed then all becomes well.

---

<div class="post-metadata">

**Author:** ![H2T2](https://avatars.discourse-cdn.com/v4/letter/h/a587f6/32.png) [@H2T2](https://community.trading212.com/u/H2T2)\
**Post date:** [October 13, 2022, 11:06am UTC](https://community.trading212.com/t/bug-pie-rebalancing/58534/9 "2022-10-13T11:06:08Z")

</div>

i’ve tried this but it still fails. i suspect, mostly due to the instrument’s liquidity itself.

---

<div class="post-metadata">

**Author:** ![HM93](https://avatars.discourse-cdn.com/v4/letter/h/90db22/32.png) [@HM93](https://community.trading212.com/u/HM93)\
**Post date:** [October 13, 2022, 11:18am UTC](https://community.trading212.com/t/bug-pie-rebalancing/58534/10 "2022-10-13T11:18:24Z")

</div>

All stocks in my pie are popular ones so there is no liquidity concern. In fact I only have 5 stocks Tesla Apple Amazon Microsoft Google.

Always fails the buy order on rebalance - a bug waiting to be fixed.

---

<div class="post-metadata">

**Author:** ![H2T2](https://avatars.discourse-cdn.com/v4/letter/h/a587f6/32.png) [@H2T2](https://community.trading212.com/u/H2T2)\
**Post date:** [October 13, 2022, 11:31am UTC](https://community.trading212.com/t/bug-pie-rebalancing/58534/11 "2022-10-13T11:31:24Z")

</div>

fair enough. i’m still leaning towards a bug pending some resolution and finding from the customer support team

---

<div class="post-metadata">

**Author:** ![ratsorizzo](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@ratsorizzo](https://community.trading212.com/u/ratsorizzo)\
**Post date:** [October 15, 2022, 10:02pm UTC](https://community.trading212.com/t/bug-pie-rebalancing/58534/12 "2022-10-15T22:02:32Z")

</div>

i find that just rebalancing again after its failed tends to work, sometimes it sells a few extra quid in the heavy ones and then tries to redeploy the cash across the %ages. I think the worst one i did recently needed a couple of goes after the initial try.

---

<div class="post-metadata">

**Author:** ![HM93](https://avatars.discourse-cdn.com/v4/letter/h/90db22/32.png) [@HM93](https://community.trading212.com/u/HM93)\
**Post date:** [December 4, 2022, 12:44am UTC](https://community.trading212.com/t/bug-pie-rebalancing/58534/13 "2022-12-04T00:44:39Z")

</div>

Hi Michael,

Just checking in as it has been awhile.

Any updates on this?

Thanks
