> For the complete documentation index, see [llms.txt](https://docs.runbot.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.runbot.io/triggers-boxes/exit-position-rules/number-of-candles.md).

# Number of candles

**Exit 100% of the current position (by default) after a specific amount of time.**&#x20;

*Ex: \[Order size 100%] \[Market stop after 5, 1 hours candles]*

*-> After entering a long position at 2:00PM, the position fully exit 5 hours later (5x1 hours), at 7:00PM.*
