supertrend: fix interval window for exit methods

This commit is contained in:
c9s 2022-07-08 16:31:28 +08:00
parent 46d6ecc663
commit 79b70d4a31
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -39,11 +39,11 @@ type Strategy struct {
// Symbol is the market symbol you want to trade // Symbol is the market symbol you want to trade
Symbol string `json:"symbol"` Symbol string `json:"symbol"`
types.IntervalWindow
// Double DEMA // Double DEMA
DoubleDema DoubleDema
// Interval is how long do you want to update your order price and quantity
Interval types.Interval `json:"interval"`
// SuperTrend indicator // SuperTrend indicator
// SuperTrend SuperTrend `json:"superTrend"` // SuperTrend SuperTrend `json:"superTrend"`