bbgo_origin/pkg/util/paper_trade.go

7 lines
98 B
Go
Raw Permalink Normal View History

2022-06-01 07:52:11 +00:00
package util
func IsPaperTrade() bool {
v, ok := GetEnvVarBool("PAPER_TRADE")
return ok && v
}