<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_candles(self, market, tick_interval):
 """ Used to get all tick candles for a market. Endpoint: 1.1 NO EQUIVALENT 2.0 /pub/market/GetTicks Example :: { success: true, message: '', result: [ { O: 421.20630125, H: 424.03951276, L: 421.20630125, C: 421.20630125, V: 0.05187504, T: '2016-04-08T00:00:00', BV: 21.87921187 }, { O: 420.206, H: 420.206, L: 416.78743422, C: 416.78743422, V: 2.42281573, T: '2016-04-09T00:00:00', BV: 1012.63286332 }] } :return: Available tick candles in JSON :rtype: dict """


        return self._api_query(path_dict={
            API_V2_0: '/pub/market/GetTicks'
        }, options={
            'marketName': market, 'tickInterval': tick_interval
        }, protection=PROTECTION_PUB)