mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
bbgo: rename env ENABLE_MARKET_TRADE_STOP to DISABLE_MARKET_TRADE_STOP
since we've set it default to true
This commit is contained in:
parent
3da145877f
commit
c6f7723620
|
@ -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