These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

How long does a cancelled Sell Order remain in Eve DB cache?

Author
Tarbro Abec
The Scope
Gallente Federation
#1 - 2016-06-05 22:55:24 UTC
I placed a Sell Order in a Citadel last night

I cancelled it today...about 11 hours later.

Approximately 8 hour after cancelling the order it is still present in the query results from MarketOrders.xml.

Zad Murrard
Frozen Dawn Inc
Frozen Dawn Alliance
#2 - 2016-06-06 06:04:35 UTC
Tarbro Abec wrote:
I placed a Sell Order in a Citadel last night

I cancelled it today...about 11 hours later.

Approximately 8 hour after cancelling the order it is still present in the query results from MarketOrders.xml.



You didn't mention how you are querying that endpoint or which part of the results you are displaying in your environment.

Few things to note

1.orderState byte Valid states: 0 = open/active, 1 = closed, 2 = expired (or fulfilled), 3 = cancelled, 4 = pending, 5 = character deleted.

2.Depending on the program you are using it may automatically decide to cache the result even for longer periods than necessary, in those cases a force refresh is in order.



Tarbro Abec
The Scope
Gallente Federation
#3 - 2016-06-06 13:55:20 UTC
Zad,

Thanks for the reply. A piece of software eventually, involved. For now I'm trying to understand if/when a cancelled order drops from view when the data is pulled this way: https://api.eveonline.com/char/MarketOrders.xml.aspx?keyID=
Hel O'Ween
Men On A Mission
#4 - 2016-06-08 16:38:36 UTC
I seldom cancel orders, so I'm not 100% sure, but I guess the order is availabel in the XML from @issueDate to @issueDate + @duration.

As Zad already pointed out, @orderState is there to filter which orders are of interest to you/the appliaction.

EVEWalletAware - an offline wallet manager.