Missing Market Orders
Bug
Some orders are missing for GET /markets/{region_id}/orders/
e.g. the supplied request (buy orders for Rich Plagioclase in Metropolis) is missing several orders, for instance a buy order with price 54.00, which has been visible in-game for days.
Request
https://esi.tech.ccp.is/latest/markets/10000042/orders/?datasource=tranquility&order_type=buy&page=1&type_id=17456
Response
[
{
"order_id": 5048528443,
"type_id": 17456,
"location_id": 1022409209010,
"volume_total": 5555555,
"volume_remain": 5303681,
"min_volume": 1,
"price": 34.01,
"is_buy_order": true,
"duration": 90,
"issued": "2017-12-29T19:35:27Z",
"range": "2"
},
{
"order_id": 5051624212,
"type_id": 17456,
"location_id": 1022409209010,
"volume_total": 200000,
"volume_remain": 116100,
"min_volume": 1,
"price": 51.86,
"is_buy_order": true,
"duration": 90,
"issued": "2018-01-02T09:10:57Z",
"range": "solarsystem"
},
{
"order_id": 5053092571,
"type_id": 17456,
"location_id": 1022409209010,
"volume_total": 10000000,
"volume_remain": 8737476,
"min_volume": 1,
"price": 51.87,
"is_buy_order": true,
"duration": 30,
"issued": "2018-01-04T00:20:53Z",
"range": "2"
},
{
"order_id": 5021480523,
"type_id": 17456,
"location_id": 1022409209010,
"volume_total": 5000000,
"volume_remain": 2606397,
"min_volume": 1,
"price": 51.85,
"is_buy_order": true,
"duration": 90,
"issued": "2017-12-06T20:16:21Z",
"range": "solarsystem"
},
{
"order_id": 4971537908,
"type_id": 17456,
"location_id": 1022409209010,
"volume_total": 2000000,
"volume_remain": 1590299,
"min_volume": 1,
"price": 10.61,
"is_buy_order": true,
"duration": 90,
"issued": "2017-12-21T13:10:15Z",
"range": "region"
},
{
"order_id": 5052240157,
"type_id": 17456,
"location_id": 1022150215122,
"volume_total": 15000000,
"volume_remain": 14970021,
"min_volume": 1,
"price": 47,
"is_buy_order": true,
"duration": 90,
"issued": "2018-01-03T00:34:45Z",
"range": "1"
},
{
"order_id": 5036890460,
"type_id": 17456,
"location_id": 60002137,
"volume_total": 1000000,
"volume_remain": 140409,
"min_volume": 1,
"price": 50.35,
"is_buy_order": true,
"duration": 90,
"issued": "2017-12-16T04:11:27Z",
"range": "station"
},
{
"order_id": 5003565351,
"type_id": 17456,
"location_id": 60002146,
"volume_total": 10000000,
"volume_remain": 7817460,
"min_volume": 1,
"price": 10.62,
"is_buy_order": true,
"duration": 90,
"issued": "2017-12-24T22:32:15Z",
"range": "5"
},
{
"order_id": 5022057676,
"type_id": 17456,
"location_id": 60014086,
"volume_total": 5000000,
"volume_remain": 2250580,
"min_volume": 1,
"price": 34,
"is_buy_order": true,
"duration": 90,
"issued": "2017-11-28T17:03:30Z",
"range": "10"
},
{
"order_id": 5047751124,
"type_id": 17456,
"location_id": 60005326,
"volume_total": 25000000,
"volume_remain": 25000000,
"min_volume": 1,
"price": 10.62,
"is_buy_order": true,
"duration": 90,
"issued": "2017-12-28T21:11:04Z",
"range": "10"
},
{
"order_id": 5052303171,
"type_id": 17456,
"location_id": 60014809,
"volume_total": 1000000,
"volume_remain": 236319,
"min_volume": 1,
"price": 42,
"is_buy_order": true,
"duration": 90,
"issued": "2018-01-03T02:28:39Z",
"range": "3"
},
{
"order_id": 5050374159,
"type_id": 17456,
"location_id": 60005419,
"volume_total": 4000000,
"volume_remain": 3623700,
"min_volume": 1,
"price": 34.04,
"is_buy_order": true,
"duration": 90,
"issued": "2017-12-31T21:01:36Z",
"range": "1"
},
{
"order_id": 4961871068,
"type_id": 17456,
"location_id": 60003493,
"volume_total": 20000000,
"volume_remain": 14134390,
"min_volume": 1,
"price": 10.58,
"is_buy_order": true,
"duration": 90,
"issued": "2017-10-26T09:51:13Z",
"range": "region"
},
{
"order_id": 5009968026,
"type_id": 17456,
"location_id": 60004708,
"volume_total": 100000,
"volume_remain": 100000,
"min_volume": 1,
"price": 12.13,
"is_buy_order": true,
"duration": 90,
"issued": "2017-11-13T16:18:59Z",
"range": "station"
},
{
"order_id": 5049225753,
"type_id": 17456,
"location_id": 60015046,
"volume_total": 3000000,
"volume_remain": 1887963,
"min_volume": 1,
"price": 34.04,
"is_buy_order": true,
"duration": 90,
"issued": "2018-01-02T17:30:58Z",
"range": "5"
},
{
"order_id": 5049288918,
"type_id": 17456,
"location_id": 60015046,
"volume_total": 200000,
"volume_remain": 154694,
"min_volume": 1,
"price": 34.03,
"is_buy_order": true,
"duration": 90,
"issued": "2017-12-30T16:36:32Z",
"range": "2"
},
{
"order_id": 5053727040,
"type_id": 17456,
"location_id": 60005686,
"volume_total": 1000000,
"volume_remain": 953537,
"min_volume": 1,
"price": 52.18,
"is_buy_order": true,
"duration": 90,
"issued": "2018-01-04T19:34:27Z",
"range": "solarsystem"
}
]
Expected
The missing results from in-game (but with caching observed, of course):

The region market endpoint only includes buy orders from citadels if the order has range greater than "station".
I see. Thanks. Then I guess it's a feature, not a bug? :)
@CzB404 correct. To clarify, since it's unauthed the endpoint only includes orders if they are guaranteed to be visible to all characters. Buy orders with range greater than station are guaranteed to be visible to all characters (as a fix for invisible buy orders), but buy orders in a citadel with range equal to station are not--some characters might be excluded from seeing them.
Got same problem. Maybe, just add some sort of "can be not visible" flag into order record? Because as now - too much orders not listed in this route. For example, i got only 15 from 23. This is too bad and this make this function almost useless...