Closed husayt closed 3 years ago
this fixes issue with return value for cancelling orders also refactors request method and adds a check if fetch is globally available, to use that
.closePosition() is supposed to be returning an Order no?
.closePosition()
Order
oops.. I misread the documentation. 1 min. will fix that
Fix is in place. Thanks for pointing it out
Gonna do some testing then push to NPM, great PR!
this fixes issue with return value for cancelling orders also refactors request method and adds a check if fetch is globally available, to use that