Function: reduce()
reduce(
groupId,qty,onBarClose?,comment?,alertMessage?,disableAlert?):void
Market-reduce the named position by qty base units at the next bar
open. For "half": strategy.reducePercent(id, 50).
Parameters
groupId
string
qty
f64
onBarClose?
bool = false
comment?
string = ""
alertMessage?
string = ""
disableAlert?
bool = false
Returns
void