Skip to content

Commit

Permalink
fixup! Kraken: Sub Channel improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Aug 15, 2024
1 parent 125ac83 commit fb030b2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions exchanges/kraken/kraken_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -516,16 +516,13 @@ func TestOrders(t *testing.T) {
t.Parallel()
sharedtestvalues.SkipTestIfCredentialsUnset(t, k, canManipulateRealOrders)

// EGeneral:Invalid arguments:volume
t.Skip("AddOrder test is a known failure due to volume parameter")

args := AddOrderOptions{OrderFlags: "fcib"}
cp, err := currency.NewPairFromString("XXBTZUSD")
assert.NoError(t, err, "NewPairFromString should not error")
resp, err := k.AddOrder(context.Background(),
cp,
order.Sell.Lower(), order.Limit.Lower(),
0.00000001, 0, 0, 0, &args)
order.Buy.Lower(), order.Limit.Lower(),
0.0001, 9000, 9000, 0, &args)

if assert.NoError(t, err, "AddOrder should not error") {
if assert.Len(t, resp.TransactionIDs, 1, "One TransactionId should be returned") {
Expand Down

0 comments on commit fb030b2

Please sign in to comment.