Function: close()
close(
groupId,onBarClose?,comment?,alertMessage?,disableAlert?):void
Market-close the named position and cancel its pending legs.
onBarClose fills at this bar's close instead of the next open.
Parameters
groupId
string
onBarClose?
bool = false
comment?
string = ""
alertMessage?
string = ""
disableAlert?
bool = false
Returns
void