Closed arboleya closed 2 years ago
This error should not be a request-error but an order-invalid-amount.
request-error
order-invalid-amount
It seems we can improve this switch to include it:
https://github.com/alunacrypto/alunajs/blob/9a6ad3be58a709c4d9f2993cee7ae03e0b57b931/src/exchanges/bitmex/modules/authed/order/place.ts#L149-L166
This error should not be a
request-error
but anorder-invalid-amount
.It seems we can improve this switch to include it:
https://github.com/alunacrypto/alunajs/blob/9a6ad3be58a709c4d9f2993cee7ae03e0b57b931/src/exchanges/bitmex/modules/authed/order/place.ts#L149-L166