Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Exchange hs.ExchangeConf Mongo hs.MongoConf Strategy RestTurtleStrategyConf Robots []hs.BroadcastConf }
type RestTurtleStrategyConf ¶
type RestTurtleStrategyConf struct { Total float64 Interval string MaxPosition float64 `json:"maxPosition"` // max total can buy for one time MaxTimes int `json:"maxTimes"` // max times for buy PeriodATR int `json:"periodATR"` //periodATR = 14 PeriodUpper int `json:"periodUpper"` //periodUpper = 20 PeriodLower int `json:"periodLower"` //periodLower = 10 }
Click to show internal directories.
Click to hide internal directories.