chore: remove repetitive words

Signed-off-by: avoidaway <cmoman@126.com>
This commit is contained in:
avoidaway 2024-03-16 16:08:52 +08:00
parent 239f7ea5dd
commit 917451d2ec
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ type BreakLow struct {
Market types.Market Market types.Market
types.IntervalWindow 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"` FastWindow int `json:"fastWindow"`
// Ratio is a number less than 1.0, price * ratio will be the price triggers the short order. // Ratio is a number less than 1.0, price * ratio will be the price triggers the short order.

View File

@ -26,7 +26,7 @@ func (m OrderMap) Backup() (orderForms []SubmitOrder) {
return orderForms return orderForms
} }
// Add the order the the map // Add the order the map
func (m OrderMap) Add(os ...Order) { func (m OrderMap) Add(os ...Order) {
for _, o := range os { for _, o := range os {
m[o.OrderID] = o m[o.OrderID] = o