CCob / bittrex4j

Java library for accessing the Bittrex Web API's and Web Sockets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question on fills

szd116 opened this issue · comments

Hi CCob,
Thank you for your latest release. I have a few questions on your latest release.

  1. From the orderDelta, is there anyway to figure out which side of the order is this BUY or SELL ?
  2. If the answer to question 1 is No, then I would need to keep track of the orders locally, so is it possible that I would get a fill first then the UUID from submitting the order comes later ?

Thank you again for your hard work.

Take a look here - https://bittrex.github.io/#order-delta---uo

Does OrderType or Type within the object help?

If not then the only thing I can suggest is what you have mentioned in 2. You'll have to store the order type along with UUID and then cross reference the order UUID when you get an order delta

I think I overlooked a few minor details, orderDelta.getType is the order status and orderDelta.getOrder.GetType is the order side info. Thanks CCob. By the way, is IOC order type will be implemented soon ? I think Bittrex supports it. Thanks again for all the hard work !

Glad you got what you need. Don't see anything relating to IOC on the docs here https://support.bittrex.com/hc/en-us/articles/115003723911-Developer-s-Guide-API. If you have any point be in the right direction and I'll see what I can do

https://github.com/Bittrex/bittrex.github.io

In the link above under the section Appendix A: Minified JSON Keys
you will find "K" = "ImmediateOrCancel"

Thanks.

Ah right. Unfortunately you can only submit new orders through their REST API, which doesn't support it yet. So only limit orders so far.

Cool. Thanks CCob.

Issued resolved. order side information is under orderDelta.getOrder.getType