mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +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
|
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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user