# Quantity ordered is less than requested

**URL:** <https://forum.alpaca.markets/t/quantity-ordered-is-less-than-requested/14139>\
**Category:** Alpaca Trading\
**Created:** [May 3, 2024, 2:59pm UTC](https://forum.alpaca.markets/t/quantity-ordered-is-less-than-requested/14139 "2024-05-03T14:59:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![arnav\_8](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@arnav\_8](https://forum.alpaca.markets/u/arnav_8)\
**Post date:** [May 3, 2024, 2:59pm UTC](https://forum.alpaca.markets/t/quantity-ordered-is-less-than-requested/14139/1 "2024-05-03T14:59:40Z")

</div>

Hi,  
I am new to Alpaca so apologies if this is something trivial or already known.

I am trying out an algo via signalstack on paper trading and I find that if I order 1 quantity of ETH, the order goes through, but it actually fills 0.9975 instead of 1. Any ideas as to why it is not exactly 1?

Thanks  
-A

---

<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 8, 2024, 12:50am UTC](https://forum.alpaca.markets/t/quantity-ordered-is-less-than-requested/14139/2 "2024-05-08T00:50:44Z")

</div>

as the order is filled at the price you requested it at {is sent} then the “filled qty” is sent back to you if the price is above the share price when requested, “no buyers” the remaining parts of the order is rejected

---

<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 8, 2024, 12:24pm UTC](https://forum.alpaca.markets/t/quantity-ordered-is-less-than-requested/14139/3 "2024-05-08T12:24:15Z")

</div>

@arnav_8 What @kris mentioned can happen and that is what is called a partial\_fill. The order will remain open and try to fill the remaining portion. This can happen with either market or limit orders. Market orders will typically fill completely within a few minutes, however limit orders may not fill for a while (or ever) if the price remains outside one’s limit price. It’s a good practice when using limit orders to check if it hasn’t filled and either cancel the order or probably better, replace the limit price to a value which will fill.

However, that is not what happened in the case of buying 1 ETH but ending up with .9975 ETH. This is because crypto fees are withdrawn from the ‘final’ currency. The base crypto fee is .25% which is the difference between .9975 and 1.0. If one uses USD to buy ETH (ie USD/ETH) the transaction fee reduces ETH. If one sells ETH to get USD (ie ETH/USD) then the fee reduces the cash or USD in the account. There is more on how fees are handled in the [docs here](https://docs.alpaca.markets/docs/crypto-trading#crypto-fees).

---

<div class="post-metadata">

**Author:** ![arnav\_8](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@arnav\_8](https://forum.alpaca.markets/u/arnav_8)\
**Post date:** [May 8, 2024, 3:03pm UTC](https://forum.alpaca.markets/t/quantity-ordered-is-less-than-requested/14139/4 "2024-05-08T15:03:28Z")

</div>

Makes sense. Thank you @Dan_Whitnable_Alpaca and @kris !  
I’ll adjust the algo accordingly.  
Thanks again!  
-A
