async def invalid_indicate(self, symbol, indicate_type):
    " update (an) callback function.\n\n        Args:\n            symbol: Trade target\n            indicate_type: INDICATE_ORDER, INDICATE_ASSET, INDICATE_POSITION\n\n        Returns:\n            success: If execute successfully, return True, otherwise it's False.\n            error: If execute failed, return error information, otherwise it's None.\n        "

    async def _task():
        if ((indicate_type == INDICATE_ORDER) and self.cb.on_order_update_callback):
            (success, error) = (await self.get_orders(symbol))
            if error:
                state = State(self._platform, self._account, 'get_orders error: {}'.format(error), State.STATE_CODE_GENERAL_ERROR)
                SingleTask.run(self.cb.on_state_update_callback, state)
                return
            for order in success:
                SingleTask.run(self.cb.on_order_update_callback, order)
        elif ((indicate_type == INDICATE_ASSET) and self.cb.on_asset_update_callback):
            (success, error) = (await self.get_assets())
            if error:
                state = State(self._platform, self._account, 'get_assets error: {}'.format(error), State.STATE_CODE_GENERAL_ERROR)
                SingleTask.run(self.cb.on_state_update_callback, state)
                return
            SingleTask.run(self.cb.on_asset_update_callback, success)
        elif ((indicate_type == INDICATE_POSITION) and self.cb.on_position_update_callback):
            (success, error) = (await self.get_position(symbol))
            if error:
                state = State(self._platform, self._account, 'get_position error: {}'.format(error), State.STATE_CODE_GENERAL_ERROR)
                SingleTask.run(self.cb.on_state_update_callback, state)
                return
            SingleTask.run(self.cb.on_position_update_callback, success)
    if ((indicate_type == INDICATE_ORDER) or (indicate_type == INDICATE_ASSET) or (indicate_type == INDICATE_POSITION)):
        SingleTask.run(_task)
        return (True, None)
    else:
        logger.error('indicate_type error! indicate_type:', indicate_type, caller=self)
        return (False, 'indicate_type error')
update (an) callback function.

Args:
    symbol: Trade target
    indicate_type: INDICATE_ORDER, INDICATE_ASSET, INDICATE_POSITION

Returns:
    success: If execute successfully, return True, otherwise it's False.
    error: If execute failed, return error information, otherwise it's None.
async def invalid_indicate(self, symbol, indicate_type):
    " update (an) callback function.\n\n        Args:\n            symbol: Trade target\n            indicate_type: INDICATE_ORDER, INDICATE_ASSET, INDICATE_POSITION\n\n        Returns:\n            success: If execute successfully, return True, otherwise it's False.\n            error: If execute failed, return error information, otherwise it's None.\n        "

    async def _task():
        if ((indicate_type == INDICATE_ORDER) and self.cb.on_order_update_callback):
            (success, error) = (await self.get_orders(symbol))
            if error:
                state = State(self._platform, self._account, 'get_orders error: {}'.format(error), State.STATE_CODE_GENERAL_ERROR)
                SingleTask.run(self.cb.on_state_update_callback, state)
                return
            for order in success:
                SingleTask.run(self.cb.on_order_update_callback, order)
        elif ((indicate_type == INDICATE_ASSET) and self.cb.on_asset_update_callback):
            (success, error) = (await self.get_assets())
            if error:
                state = State(self._platform, self._account, 'get_assets error: {}'.format(error), State.STATE_CODE_GENERAL_ERROR)
                SingleTask.run(self.cb.on_state_update_callback, state)
                return
            SingleTask.run(self.cb.on_asset_update_callback, success)
        elif ((indicate_type == INDICATE_POSITION) and self.cb.on_position_update_callback):
            (success, error) = (await self.get_position(symbol))
            if error:
                state = State(self._platform, self._account, 'get_position error: {}'.format(error), State.STATE_CODE_GENERAL_ERROR)
                SingleTask.run(self.cb.on_state_update_callback, state)
                return
            SingleTask.run(self.cb.on_position_update_callback, success)
    if ((indicate_type == INDICATE_ORDER) or (indicate_type == INDICATE_ASSET) or (indicate_type == INDICATE_POSITION)):
        SingleTask.run(_task)
        return (True, None)
    else:
        logger.error('indicate_type error! indicate_type:', indicate_type, caller=self)
        return (False, 'indicate_type error')