def _get_price(self, data, market, field):
for m in data:<EOL><INDENT>if m["<STR_LIT>"] == market:<EOL><INDENT>return m[field]<EOL><DEDENT><DEDENT>
Given the data (in json format), returns the
field for a given market.