qbtrade/pkg/util/paper_trade.go
2024-06-27 22:42:38 +08:00

7 lines
98 B
Go

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