mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 17:13:51 +00:00
7 lines
98 B
Go
7 lines
98 B
Go
|
package util
|
||
|
|
||
|
func IsPaperTrade() bool {
|
||
|
v, ok := GetEnvVarBool("PAPER_TRADE")
|
||
|
return ok && v
|
||
|
}
|