mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
reformat code
This commit is contained in:
parent
5a4026e547
commit
c484c1f176
|
@ -62,6 +62,7 @@ func BatchRetryPlaceOrder(ctx context.Context, exchange types.Exchange, errIdx [
|
|||
return createdOrders, err
|
||||
}
|
||||
|
||||
// BatchPlaceOrder
|
||||
func BatchPlaceOrder(ctx context.Context, exchange types.Exchange, submitOrders ...types.SubmitOrder) (types.OrderSlice, []int, error) {
|
||||
var createdOrders types.OrderSlice
|
||||
var err error
|
||||
|
|
|
@ -11,7 +11,6 @@ func TestLower(t *testing.T) {
|
|||
assert.Equal(t, []float64{10.0, 11.0}, out)
|
||||
}
|
||||
|
||||
|
||||
func TestHigher(t *testing.T) {
|
||||
out := Higher([]float64{10.0, 11.0, 12.0, 13.0, 15.0}, 12.0)
|
||||
assert.Equal(t, []float64{13.0, 15.0}, out)
|
||||
|
|
Loading…
Reference in New Issue
Block a user