Skip to content
Nyria Docs

Close a Position

Pausing a bot does not close a position and neither does deleting it. The one control that closes through Nyria, who has it, and what to do when you do not.

Nothing in the bot controls closes a position. Pause stops the bot acting; delete parks it. Both leave the position open at your broker.

If you need to be flat right now, close at your broker. That is the only action that does not depend on Nyria, your bot's state, or a connection staying up.

What each control actually does

You do thisThe botYour open position
Pauseacts on nothing, exit signals includedstays open
Delete with something openmoves to Closing Only and acts on nothingstays open
Delete with nothing openis removed
Disconnect the brokercannot reach the accountstays open

A bot only acts on a signal while it is Active and its broker is Connected. Every other state, paused or closing-only or disconnected, is silent in both directions: no entries, and no exits either.

Closing through Nyria

On a strategy you own

Open the strategy, open the menu beside the deploy button, and choose Close positions.

The dialog lists every open position on the strategy, with multi-leg spreads collapsed into one row. Tick the ones to close; the confirm button counts what you picked, for example Close 2 positions.

Each selected position is sent as a CLOSE signal down the same path a normal exit alert takes: resting entry orders are cancelled, filled positions are closed. It closes that position on every bot following the strategy, including your subscribers'. A bot that is paused, closing-only, or disconnected will not act on it.

On a strategy you are copying

There is no in-app close. Nyria has no control that closes only your copy of someone else's strategy. You can wait for the author's exit signal, which your bot acts on only while it is Active, or close at your broker.

Closing at your broker

Always available and always final. Sign in to the broker, flatten the position there, then pause or delete the bot so a later exit signal does not try to close something that is already gone. If one does, the bot logs a WARN saying there was no position to close, and places nothing.

This is the route to use whenever the bot cannot act for you: paused, closing-only, or its broker connection needs reauthorising.

Before you pause or delete

  1. On the dashboard, open the positions open banner. It appears whenever anything is open and leads to Live Now, which lists every open position across your bots, live and paper. It is a read-only view: there is no close button there.
  2. Close what you do not want left running, by either route above.
  3. Then pause or delete.

Doing it in the other order is what strands a position: once the bot is paused or closing-only, no signal will reach it.

Next Steps