---
id: faq_item.1115
page_type: faq_article
title: "I need to urgently close all open positions when triggered, how can I do this?"
description: "For this purpose, use the SellByTriggerBL parameter, in which you can write a single key or a list of keys separated by a space. These keys must be a subset of..."
section: faq
category: "Strategy settings"
url: https://moonbot.pro/faq/strategy-settings/1115?format=md
locale: en
alternate_ru: https://moonbot.pro/ru/faq/strategy-settings/1115?format=md
alternate_zh: https://moonbot.pro/zh/faq/strategy-settings/1115?format=md
parent: https://moonbot.pro/faq/strategy-settings?format=md
previous: https://moonbot.pro/faq/strategy-settings/1114?format=md
next: https://moonbot.pro/faq/strategy-settings/1116?format=md
status: published
updated_at: 2026-11-17T22:48:28+03:00
---

# I need to urgently close all open positions when triggered, how can I do this?

For this purpose, use the SellByTriggerBL parameter, in which you can write a single key or a list of keys separated by a space. These keys must be a subset of the TriggerKeysBL parameter, i.e. a coin must be in the TriggerBL in order to trigger a sell position.

## Navigation

Path: [Main](https://moonbot.pro/?format=md) / [FAQ](https://moonbot.pro/faq?format=md) / [Strategy settings](https://moonbot.pro/faq/strategy-settings?format=md) / I need to urgently close all open positions when triggered, how can I do this?

Parent section: [Strategy settings](https://moonbot.pro/faq/strategy-settings?format=md)

Previous: [How can I prohibit the operation of a strategy on a coin for a certain time by a trigger?](https://moonbot.pro/faq/strategy-settings/1114?format=md)

Next: [I urgently need to cancel all Buy orders in the Moonbot terminal when the trigger key is activated. How can this be done?](https://moonbot.pro/faq/strategy-settings/1116?format=md)

## Related

- [I urgently need to cancel all Buy orders in the Moonbot terminal when the trigger key is activated. How can this be done?](https://moonbot.pro/faq/strategy-settings/1116?format=md)
- [Does the CancelByTriggerBL setting cancel Pending orders in Moonbot terminal in addition to Buy orders?](https://moonbot.pro/faq/strategy-settings/1117?format=md)
- [What are the peculiarities of triggers activation for manual strategy?](https://moonbot.pro/faq/strategy-settings/1118?format=md)
- [Can auto-strategies activate triggers from TriggerKey parameter upon signal triggering (no autobuy)?](https://moonbot.pro/faq/strategy-settings/1119?format=md)
- [I want to activate a Slave strategy after the completion of a trade on the Master Strategy regardless of whether it is in profit or loss, how do I do that?](https://moonbot.pro/faq/strategy-settings/1120?format=md)
