mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 23:05:15 +00:00
supertrend: fix interval window for exit methods
This commit is contained in:
parent
46d6ecc663
commit
79b70d4a31
|
@ -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"`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user