def _update_fill(self, fill_info):
    ' Fill update.\n\n        Args:\n            fill_info: Fill information.\n\n        Returns:\n            None.\n        '
    data = fill_info['data']
    fill_no = str(data['id'])
    order_no = str(data['orderId'])
    price = float(data['price'])
    size = float(data['size'])
    fee = float(data['fee'])
    ts = tools.utctime_str_to_mts(data['time'], '%Y-%m-%dT%H:%M:%S.%f+00:00')
    liquidity = (LIQUIDITY_TYPE_TAKER if (data['liquidity'] == 'taker') else LIQUIDITY_TYPE_MAKER)
    info = {'platform': self._platform, 'account': self._account, 'strategy': self._strategy, 'fill_no': fill_no, 'order_no': order_no, 'side': (ORDER_ACTION_BUY if (data['side'] == 'buy') else ORDER_ACTION_SELL), 'symbol': data['market'], 'price': price, 'quantity': size, 'liquidity': liquidity, 'fee': fee, 'ctime': ts}
    fill = Fill(**info)
    SingleTask.run(self.cb.on_fill_update_callback, fill)
Fill update.

Args:
    fill_info: Fill information.

Returns:
    None.
def _update_fill(self, fill_info):
    ' Fill update.\n\n        Args:\n            fill_info: Fill information.\n\n        Returns:\n            None.\n        '
    data = fill_info['data']
    fill_no = str(data['id'])
    order_no = str(data['orderId'])
    price = float(data['price'])
    size = float(data['size'])
    fee = float(data['fee'])
    ts = tools.utctime_str_to_mts(data['time'], '%Y-%m-%dT%H:%M:%S.%f+00:00')
    liquidity = (LIQUIDITY_TYPE_TAKER if (data['liquidity'] == 'taker') else LIQUIDITY_TYPE_MAKER)
    info = {'platform': self._platform, 'account': self._account, 'strategy': self._strategy, 'fill_no': fill_no, 'order_no': order_no, 'side': (ORDER_ACTION_BUY if (data['side'] == 'buy') else ORDER_ACTION_SELL), 'symbol': data['market'], 'price': price, 'quantity': size, 'liquidity': liquidity, 'fee': fee, 'ctime': ts}
    fill = Fill(**info)
    SingleTask.run(self.cb.on_fill_update_callback, fill)