mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
fix func comment
This commit is contained in:
parent
d2003bbc3d
commit
31f9920ddc
|
@ -96,7 +96,7 @@ func (slice PriceVolumeSlice) Remove(price fixedpoint.Value, descending bool) Pr
|
|||
return append(slice[:idx], slice[idx+1:]...)
|
||||
}
|
||||
|
||||
// FindPriceVolumePair finds the pair by the given price, this function is a read-only
|
||||
// Find finds the pair by the given price, this function is a read-only
|
||||
// operation, so we use the value receiver to avoid copy value from the pointer
|
||||
// If the price is not found, it will return the index where the price can be inserted at.
|
||||
// true for descending (bid orders), false for ascending (ask orders)
|
||||
|
|
Loading…
Reference in New Issue
Block a user