# ESI/Swagger market data load reduction

**URL:** <https://forums.eveonline.com/t/esi-swagger-market-data-load-reduction/171486>\
**Category:** Forum Feedback & Requests\
**Created:** [July 3, 2019, 4:50pm UTC](https://forums.eveonline.com/t/esi-swagger-market-data-load-reduction/171486 "2019-07-03T16:50:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![123123\_Uitra](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/123123_uitra/32/145134_2.png) [@123123\_Uitra](https://forums.eveonline.com/u/123123_Uitra)\
**Post date:** [July 3, 2019, 4:50pm UTC](https://forums.eveonline.com/t/esi-swagger-market-data-load-reduction/171486/1 "2019-07-03T16:50:39Z")

</div>

There should be a method to incrementally update market data via the API instead of pulling the entire data set every 5 minutes. Provide a complete dump every day, and then release an update every 5 minutes against the last 5 minutes: new, updated and removed orders only.

---

<div class="post-metadata">

**Author:** ![Piotr\_Leusten](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/piotr_leusten/32/169358_2.png) [@Piotr\_Leusten](https://forums.eveonline.com/u/Piotr_Leusten)\
**Post date:** [July 3, 2019, 10:23pm UTC](https://forums.eveonline.com/t/esi-swagger-market-data-load-reduction/171486/2 "2019-07-03T22:23:50Z")

</div>

I can see issues with that – like, if you do your first pull at midday, you’d need to pull the original dump plus every incremental dump.

Still, the idea of only pulling in changes is a solid one. How about a flag on each order that indicates whether it has changed from the previous five minutes? Or a “last changed” timestamp, so I can check to see if the order has changed since my last data pull?

---

<div class="post-metadata">

**Author:** ![Anderson\_Geten](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/anderson_geten/32/390041_2.png) [@Anderson\_Geten](https://forums.eveonline.com/u/Anderson_Geten)\
**Post date:** [July 3, 2019, 10:46pm UTC](https://forums.eveonline.com/t/esi-swagger-market-data-load-reduction/171486/3 "2019-07-03T22:46:46Z")

</div>

you can’t make such a change ATM . This would need to have a sorted market, by order id, so that if two market data are the same semantically then the outut is also the same.

eg if you have two orders o with volume v and price p : [o1:v1:p1, o2:v2:p2]  
This is semantically the same as [o2:v2:p2, o1:v1:p1] but the diff will be non-null. so if later monolith fetches the orders and returns the second, then the path get will be changed even though the data is semantically the same.

In order to ensure a semantic- aware diff, you need to have the list of orders sorted by order id, so to change the whole path.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/eveonline/original/3X/4/1/41ec4921cbaca7a6f9ea556e7cc20018461eae5e.png) [@system](https://forums.eveonline.com/u/system)\
**Post date:** [October 1, 2019, 10:46pm UTC](https://forums.eveonline.com/t/esi-swagger-market-data-load-reduction/171486/4 "2019-10-01T22:46:51Z")

</div>

Closed on October 1, 2019, 10:46pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
