support config reloading

This commit is contained in:
c9s 2020-06-28 13:45:55 +08:00
parent e6aca05a51
commit 778d046820

View File

@ -20,10 +20,10 @@ type KLineDetector struct {
Interval string `json:"interval"`
// MinMaxPriceChange is the minimal max price change trigger
MinMaxPriceChange float64 `json:"minPriceChange"`
MinMaxPriceChange float64 `json:"minMaxPriceChange"`
// MaxMaxPriceChange is the max - max price change trigger
MaxMaxPriceChange float64 `json:"maxPriceChange"`
MaxMaxPriceChange float64 `json:"maxMaxPriceChange"`
EnableMinThickness bool `json:"enableMinThickness"`
MinThickness float64 `json:"minThickness"`