"Once" and "In Loop"

Understand how to run your strategy multiple times or just once

Josh avatar
Written by Josh
Updated over a week ago

When setting up a strategy, one needs to decide if it should run once or in a loop. 

This is relatively straightforward: if you choose once, it runs only one time, and if you choose in loop, it runs continuously until you choose to stop it.

You can set the strategy to run once or in-loop on the wizard:

Or, toggling between Once and In Loop within the strategy wizard or on the strategy page:

Why can't I set my strategy to "loop"?

Not all strategies are created equally — a strategy must contain certain elements to run in a loop. Those elements include:

(1) an entry strategy with conditions

(2) an exit strategy.

For instance, this strategy wouldn’t be able to run in a loop:

Entry: Buy 10 units of [Asset A]
Exit: None

Whereas this strategy, could run in loop:

Entry: Buy 10 units of [Asset A] if the price of [Asset A] rises by 5% from the base price
Exit: Close position if the profit is 2% or the loss is 2%

*Please note that all screenshots and examples are only shown for the purpose of a technical demonstration and should not in any way be construed as recommending any type of trading strategy and they do not constitute any form of advice. Please click here for further explanation

Did this answer your question?