dparlevliet / node.bittrex.api

Node Bittrex API is an asynchronous node.js library for the Bittrex API, the data can be received either via GET request or Stream.
MIT License
253 stars 100 forks source link

Add support for cancelling orders. #131

Open strbean opened 6 years ago

strbean commented 6 years ago

Edit: I see this is already a feature, it is just undocumented!

bittrex.cancel({uuid: ORDER_ID})

xunholy commented 6 years ago

Does this need to be documented?

Just look at the library source code and you'll see all the available API's they interface, also if they aren't available please feel free to update it.

https://bittrex.com/home/api <-- Also check this

strbean commented 6 years ago

Once I've played with it enough to be confident using it, I'll add it to the README.md

aloysius-pgast commented 6 years ago

Hi. Method cancel is working correctly. So are methods getopenorders, getorder, getorderhistory, buylimit or selllimit which are not documented. People willing to implement Bittrex API will probably check the source code at some point anyway

hems commented 6 years ago

I can confirm order.cancel is working, as long as you set "options" before with you key/secret and then call bittrex.cancel( { uuid: ORDER_ID }, function()....