mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 22:43:52 +00:00
chore: remove repetitive words
Signed-off-by: avoidaway <cmoman@126.com>
This commit is contained in:
parent
239f7ea5dd
commit
917451d2ec
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user