1
It would appear there is no way of obtaining fill notifications for active orders.
If I am mistaken, please enlighten me!
When orders are submitted to a BTC-e account, either via API or their website, and they are NOT instantly filled, they get assigned an OrderID integer. I can query the authenticated API for account info, which will give me back a list of all Active Orders and associated OIDs, but aside from having my program maintain a list of what it "thinks" are Active, versus what actually is active on the account by sending a query every X seconds, I do not know of a simpler/faster way to determine what orders got filled or when.
I also would like some clarification on the status field of the order response from API. it would appear 0 is active and 1 is filled. What are the values for partial fill and cancelled?
There is also a way to see All orders on the website by going to Finances->Orders History and then the drop down for Show All, is there a corresponding API call for that?
I need to be able to monitor for partial and complete fills.
Thanks for the quick response, Mark. So, in your example above, if my sell order got filled for only 0.1 and I immediately queried ActiveOrders afterwards, it would show me the same OID for the full 1BTC order, but the
amountwould now return back as 0.9? And to find that 0.1 fill, I need to constantly scrape theTradeHistoryendpoint and compare for all trades with the samerates? Is the OID for the partial fills all the same? Or is that a completely new OID? Lastly, I need to useTradeHistoryorTransHistory? – ACVentures – 2014-01-31T17:25:28.520