Skip to content

Commit

Permalink
chore: remove repetitive words
Browse files Browse the repository at this point in the history
Signed-off-by: avoidaway <cmoman@126.com>
  • Loading branch information
avoidaway committed Mar 16, 2024
1 parent 239f7ea commit 917451d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/strategy/pivotshort/breaklow.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion pkg/types/ordermap.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 917451d

Please sign in to comment.