I am trying to write a bot to use it on Bittrex with nodeJs, but the documentation is very poor. My problem is that I would like to be able to buy the last ask, like when in the web you click in bid the option ask, this way the buy is instant. For developing the bot I am using: https://github.com/n0mad01/node.bittrex.api I have tried:
bittrex.buyLimit({ market: 'BTC-ETH', quantity: 0.001, rate: "ask"}, function (data) {
console.log("Response: " +data);
})
but it does not accept the rate "ask", is there any way this can be done?