public method host:execute("stop");

Brief

Stops the strategy which executed the command

Declaration
Lua
host:execute ("stop")

Details

The command is useful for the strategies which works until some condition is met. For example until the chosen trade disappears. After such condition there is no reason to keep strategy working, so the strategy can stop itself.

Only strategies can use this command.

back