def subscribe_data(dest, headers_data):
    """
    Generate subscription payload for market data subscription
           :param dest: destination path
           :param headers: id
           :return:string of given data
    """
    return "SUBSCRIBE\nid:%s\ndestination:%s\n\n\x00\n" % (
        headers_data.get('id'), dest)