mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 08:45:16 +00:00
xmaker: remove unsued localTimeZone var
This commit is contained in:
parent
2ba526940e
commit
aaa52ecea4
|
@ -21,8 +21,6 @@ import (
|
|||
|
||||
var defaultMargin = fixedpoint.NewFromFloat(0.003)
|
||||
|
||||
var localTimeZone *time.Location
|
||||
|
||||
const ID = "xmaker"
|
||||
|
||||
const stateKey = "state-v1"
|
||||
|
@ -31,12 +29,6 @@ var log = logrus.WithField("strategy", ID)
|
|||
|
||||
func init() {
|
||||
bbgo.RegisterStrategy(ID, &Strategy{})
|
||||
|
||||
var err error
|
||||
localTimeZone, err = time.LoadLocation("Local")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
|
||||
type State struct {
|
||||
|
|
Loading…
Reference in New Issue
Block a user