diff --git a/pkg/strategy/pivotshort/breaklow.go b/pkg/strategy/pivotshort/breaklow.go index 55b6bed96..0aae5dfaa 100644 --- a/pkg/strategy/pivotshort/breaklow.go +++ b/pkg/strategy/pivotshort/breaklow.go @@ -19,7 +19,7 @@ type BreakLow struct { Market types.Market types.IntervalWindow - // FastWindow is used for fast pivot (this is to to filter the nearest high/low) + // FastWindow is used for fast pivot (this is to filter the nearest high/low) FastWindow int `json:"fastWindow"` // Ratio is a number less than 1.0, price * ratio will be the price triggers the short order. diff --git a/pkg/types/ordermap.go b/pkg/types/ordermap.go index af63dd7a7..30d5bfd0d 100644 --- a/pkg/types/ordermap.go +++ b/pkg/types/ordermap.go @@ -26,7 +26,7 @@ func (m OrderMap) Backup() (orderForms []SubmitOrder) { return orderForms } -// Add the order the the map +// Add the order the map func (m OrderMap) Add(os ...Order) { for _, o := range os { m[o.OrderID] = o