# setDesiredPositions and Stop Loss

**URL:** <https://forums.collective2.com/t/setdesiredpositions-and-stop-loss/16263>\
**Category:** C2\
**Created:** [September 12, 2023, 11:14am UTC](https://forums.collective2.com/t/setdesiredpositions-and-stop-loss/16263 "2023-09-12T11:14:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Quantlyzd](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/quantlyzd/32/18864_2.png) [@Quantlyzd](https://forums.collective2.com/u/Quantlyzd)\
**Post date:** [September 12, 2023, 11:14am UTC](https://forums.collective2.com/t/setdesiredpositions-and-stop-loss/16263/1 "2023-09-12T11:14:52Z")

</div>

Is it possible to set a stop loss on a position opened using the `setDesiredPositions` API method?

---

<div class="post-metadata">

**Author:** ![MatthewKlein](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/matthewklein/32/21382_2.png) [@MatthewKlein](https://forums.collective2.com/u/MatthewKlein)\
**Post date:** [September 13, 2023, 2:42pm UTC](https://forums.collective2.com/t/setdesiredpositions-and-stop-loss/16263/2 "2023-09-13T14:42:13Z")

</div>

Actually, we don’t have that (currently). I think the idea behind setDesiredPositions was that most of the trading and market-monitoring logic would reside in your software, and thus stop-losses would be implemented by changing the setDesiredPositions quantities. And also: having the stop loss implemented on the C2 side leads to all sorts of complexities like: how does your software know when a stop is hit, etc? I.E. “Your side” would quickly get out of sync with the “C2 side.”

That’s probably why the feature doesn’t exist in the API at this time.
