# Esi.tech and help for development for a program for the market

**URL:** <https://forums.eveonline.com/t/esi-tech-and-help-for-development-for-a-program-for-the-market/56382>\
**Category:** General Issues\
**Created:** [February 10, 2018, 5:52am UTC](https://forums.eveonline.com/t/esi-tech-and-help-for-development-for-a-program-for-the-market/56382 "2018-02-10T05:52:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Meio\_Rayliegh](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/meio_rayliegh/32/391846_2.png) [@Meio\_Rayliegh](https://forums.eveonline.com/u/Meio_Rayliegh)\
**Post date:** [February 10, 2018, 5:52am UTC](https://forums.eveonline.com/t/esi-tech-and-help-for-development-for-a-program-for-the-market/56382/1 "2018-02-10T05:52:05Z")

</div>

hello i search a nice guy who would like to help me for the completion of my programm for the market

here is the code which download all the market order (sell only) if we wan’t

import requests  
import json

def load\_market\_price(price\_kind=“adjusted\_price”) :  
url = "[https://esi.tech.ccp.is/latest/markets/prices/?datasource=tranquility](https://esi.tech.ccp.is/latest/markets/prices/?datasource=tranquility)"  
data = requests.get(url).json()  
return {row[“type\_id”] : row.get(price\_kind, 0) for row in data}

def load\_market\_id(identifier) :  
print (“Load market with id : %s” %str(identifier))  
url = “[https://esi.tech.ccp.is/v1/markets/%s/orders/?datasource=tranquility&order\_type=sell](https://esi.tech.ccp.is/v1/markets/%25s/orders/?datasource=tranquility&order_type=sell)” %identifier  
data = []  
page\_id = 0

```
while True :
    res = requests.get(url, params={'page': page_id}).json()
    if not res : break
    data.extend(res)
    page_id += 1

return data

```

def load\_all\_market\_id(start,end)  
data = {}  
for identifier in range(start, end) :  
values = load\_market\_id(identifier)  
if values :  
data[identifier] = values

```
return data

```

for identifier, values in load\_all\_market\_id((10000001, 10000008).items():  
print (identifier, lenvalues)

the goal is to compare the price initial with the price of the order for an item\_id specific and to compare the pprice if the price of the order is \> adjusted price so we pass to another if the price of the order is \< at the price adjusted so we check how many and if the result is good we can make price order \* quantité and print the result but i am now without issues

---

<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:** [May 11, 2018, 5:52am UTC](https://forums.eveonline.com/t/esi-tech-and-help-for-development-for-a-program-for-the-market/56382/2 "2018-05-11T05:52:05Z")

</div>

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