bbgo_origin/pkg/util/paper_trade.go
2022-06-01 19:40:29 +08:00

7 lines
98 B
Go

package util
func IsPaperTrade() bool {
v, ok := GetEnvVarBool("PAPER_TRADE")
return ok && v
}