# LOC Orders to Close Position

**URL:** <https://forum.alpaca.markets/t/loc-orders-to-close-position/5180>\
**Category:** Alpaca Trading\
**Created:** [March 27, 2021, 10:59am UTC](https://forum.alpaca.markets/t/loc-orders-to-close-position/5180 "2021-03-27T10:59:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![snowmonster](https://avatars.discourse-cdn.com/v4/letter/s/e9a140/32.png) [@snowmonster](https://forum.alpaca.markets/u/snowmonster)\
**Post date:** [March 27, 2021, 10:59am UTC](https://forum.alpaca.markets/t/loc-orders-to-close-position/5180/1 "2021-03-27T10:59:23Z")

</div>

I have an algorithm that monitors price/volume and makes a decision to either enter on the buy or sell side. On the next decision, I want to exit the buy side and enter the sell side (or vice versa), but I want to set a price limit on the exit. I believe this is referred to as a “Limit-on-Close” (LOC) order. I only seem to be able to find the ability to close a position by liquidating it at market price. I want to limit the price. Is this possible?
