mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 23:05:15 +00:00
Merge pull request #1211 from c9s/improve/concurrent-stop-loss
CHORE: bbgo: rename env ENABLE_MARKET_TRADE_STOP to DISABLE_MARKET_TRADE_STOP
This commit is contained in:
commit
9254fb3b18
|
@ -14,8 +14,8 @@ import (
|
||||||
var enableMarketTradeStop = true
|
var enableMarketTradeStop = true
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
if v, defined := util.GetEnvVarBool("ENABLE_MARKET_TRADE_STOP"); defined {
|
if v, defined := util.GetEnvVarBool("DISABLE_MARKET_TRADE_STOP"); defined && v {
|
||||||
enableMarketTradeStop = v
|
enableMarketTradeStop = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user