reformat code

This commit is contained in:
c9s 2022-09-10 13:31:31 +08:00
parent 5a4026e547
commit c484c1f176
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54
2 changed files with 1 additions and 1 deletions

View File

@ -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

View File

@ -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)