Update buy and sell commands so that if the last price seen should be used as the conditional close price, the last parameter is "roundtrip" and if the last parameter is a number instead, and works (a buy lower than the opening sell or a sell higher than the opening buy), then it is used as the conditional close price.
Update buy and sell commands so that if the last price seen should be used as the conditional close price, the last parameter is "roundtrip" and if the last parameter is a number instead, and works (a buy lower than the opening sell or a sell higher than the opening buy), then it is used as the conditional close price.