strategy.cancel

Cancels the waiting orders with this id (entries, orders, exits).

strategy.cancel(id: string)

Parameters

Example

if bar_index % 10 == 0
    strategy.cancel("Up")