# Why "Insufficient Qty"?

**URL:** <https://forum.alpaca.markets/t/why-insufficient-qty/5971>\
**Category:** Alpaca Trading\
**Created:** [June 17, 2021, 1:50pm UTC](https://forum.alpaca.markets/t/why-insufficient-qty/5971 "2021-06-17T13:50:10Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian67](https://avatars.discourse-cdn.com/v4/letter/b/e19b73/32.png) [@Brian67](https://forum.alpaca.markets/u/Brian67)\
**Post date:** [June 17, 2021, 1:50pm UTC](https://forum.alpaca.markets/t/why-insufficient-qty/5971/1 "2021-06-17T13:50:10Z")

</div>

Just trying to buy 75 shares of HD in paper account, through the Alpaca website and I get Insufficient QTY. Why would there not be sufficient Qty when bid/ask is showing 2000 available? It seems like there connections break a lot.

---

<div class="post-metadata">

**Author:** ![Mallory](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/mallory/32/2684_2.png) [@Mallory](https://forum.alpaca.markets/u/Mallory)\
**Post date:** [June 17, 2021, 1:53pm UTC](https://forum.alpaca.markets/t/why-insufficient-qty/5971/2 "2021-06-17T13:53:24Z")

</div>

Hey @Brian67 – I just tried this myself with the Paper API and was unable to replicate the error you’re seeing.

Can you perhaps share what conditions you’re trying to buy with? Specifically, order type + time in force?

---

<div class="post-metadata">

**Author:** ![Brian67](https://avatars.discourse-cdn.com/v4/letter/b/e19b73/32.png) [@Brian67](https://forum.alpaca.markets/u/Brian67)\
**Post date:** [June 17, 2021, 2:01pm UTC](https://forum.alpaca.markets/t/why-insufficient-qty/5971/3 "2021-06-17T14:01:20Z")

</div>

Well, it’s a market order of closing an HD x75 or AAPL x160 positions. This was not through API(although that wasn’t working also), this was through their actual web interface.

This seems to always happen in the first half hour, as if their throughput can’t handle the load. But this is the first time I caught it all stuck using their own website. So now I know it’s not on my end.

---

<div class="post-metadata">

**Author:** ![Brian67](https://avatars.discourse-cdn.com/v4/letter/b/e19b73/32.png) [@Brian67](https://forum.alpaca.markets/u/Brian67)\
**Post date:** [June 17, 2021, 2:03pm UTC](https://forum.alpaca.markets/t/why-insufficient-qty/5971/4 "2021-06-17T14:03:21Z")

</div>

It seems to be working now, but it is :32 after the open. But this needs to be fixed. Or maybe it’s only the paper accounts. I just wish someone would acknowledge that the paper platform is not as robust as the live and that orders can get stuck as Insufficent Qty.

---

<div class="post-metadata">

**Author:** ![Brian67](https://avatars.discourse-cdn.com/v4/letter/b/e19b73/32.png) [@Brian67](https://forum.alpaca.markets/u/Brian67)\
**Post date:** [June 17, 2021, 2:07pm UTC](https://forum.alpaca.markets/t/why-insufficient-qty/5971/5 "2021-06-17T14:07:15Z")

</div>

Actually it’s still not working. It’s a simple market order sell(closing) of 75, just sitting as Accepted.

---

<div class="post-metadata">

**Author:** ![Brian67](https://avatars.discourse-cdn.com/v4/letter/b/e19b73/32.png) [@Brian67](https://forum.alpaca.markets/u/Brian67)\
**Post date:** [June 17, 2021, 2:17pm UTC](https://forum.alpaca.markets/t/why-insufficient-qty/5971/6 "2021-06-17T14:17:32Z")

</div>

Ok so more data…order was submitted at :04, filled at :04, but reported back to API as filled at :14. SO orders are getting filled, but not reported back in time…in this case 10 minutes. So they are having a messaging issue coming back from the market and back out to the API. And it’s not on my end. HOW CAN PEOPLE ACTUALLY TRADE UNDER THESE CONDITIONS??? LIVE accounts seem to be working fine.

---

<div class="post-metadata">

**Author:** ![onesNzeros](https://avatars.discourse-cdn.com/v4/letter/o/ac91a4/32.png) [@onesNzeros](https://forum.alpaca.markets/u/onesNzeros)\
**Post date:** [June 17, 2021, 2:32pm UTC](https://forum.alpaca.markets/t/why-insufficient-qty/5971/7 "2021-06-17T14:32:44Z")

</div>

Just throwing my “me too” in here. Watching my program run and noticing orders are filling and trade updates not coming in for at least 3 minutes or so. Also seeing several market orders not being filled.

---

<div class="post-metadata">

**Author:** ![Mallory](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/mallory/32/2684_2.png) [@Mallory](https://forum.alpaca.markets/u/Mallory)\
**Post date:** [June 17, 2021, 2:35pm UTC](https://forum.alpaca.markets/t/why-insufficient-qty/5971/8 "2021-06-17T14:35:07Z")

</div>

Hi all - just an update that we are investigating the issues with Paper Trading as it relates to speed.

Just a quick note though, that **Live Trading is not affected by these slow downs** and this issue is isolated to the Paper Trading API.

---

<div class="post-metadata">

**Author:** ![Brian67](https://avatars.discourse-cdn.com/v4/letter/b/e19b73/32.png) [@Brian67](https://forum.alpaca.markets/u/Brian67)\
**Post date:** [June 17, 2021, 2:50pm UTC](https://forum.alpaca.markets/t/why-insufficient-qty/5971/9 "2021-06-17T14:50:43Z")

</div>

Thank you for the communication.

---

<div class="post-metadata">

**Author:** ![Brian67](https://avatars.discourse-cdn.com/v4/letter/b/e19b73/32.png) [@Brian67](https://forum.alpaca.markets/u/Brian67)\
**Post date:** [June 17, 2021, 5:27pm UTC](https://forum.alpaca.markets/t/why-insufficient-qty/5971/10 "2021-06-17T17:27:31Z")

</div>

seems to be working ok now
