mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-31 15:10:42 +00:00
FTX: Add REST subaccount support (#653)
* FTX: Add REST API subaccount support * Add API key check to GetSubaccounts * Fix missing comment and expand to rest of the codebase * Address glorious nits * Address various nits * Fix ZB typo https://www.zb.com/api#hsptccieyyqomlp
This commit is contained in:
@@ -2459,12 +2459,12 @@ func TestSetExchangeOrderExecutionLimits(t *testing.T) {
|
||||
|
||||
err = limit.Conforms(0.000001, 0.1, order.Limit)
|
||||
if !errors.Is(err, order.ErrAmountBelowMin) {
|
||||
t.Fatalf("expected %v, but receieved %v", order.ErrAmountBelowMin, err)
|
||||
t.Fatalf("expected %v, but received %v", order.ErrAmountBelowMin, err)
|
||||
}
|
||||
|
||||
err = limit.Conforms(0.01, 1, order.Limit)
|
||||
if !errors.Is(err, order.ErrPriceBelowMin) {
|
||||
t.Fatalf("expected %v, but receieved %v", order.ErrPriceBelowMin, err)
|
||||
t.Fatalf("expected %v, but received %v", order.ErrPriceBelowMin, err)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user