<commit_before>import pdb
from myql.myql import MYQL

def get_current_info(symbolList, columns=None, format='json'):
    """
    """
    yql = MYQL(format=format, community=True)
    response = yql.select('yahoo.finance.quotes',columns).where(['symbol','in',symbolList])
    return response<commit_msg>#68: get news feed OK<commit_after>import pdb
from myql.myql import MYQL

def get_current_info(symbolList, columns=None, format='json'):
    """get_current_info() uses the yahoo.finance.quotes datatable to get all of the stock information presented in the main table on a typical stock page 
    and a bunch of data from the key statistics page.
    """
    yql = MYQL(format=format, community=True)
    response = yql.select('yahoo.finance.quotes',columns).where(['symbol','in',symbolList])
    return response

def get_news_feed(symbol,format='json'):
    """get_news_feed() uses the rss data table to get rss feeds under the Headlines and Financial Blogs headings on a typical stock page.
    """
    yql = MYQL(format=format, community=True)
    rss_url='http://finance.yahoo.com/rss/headline?s={0}'.format(symbol)
    response = yql.select('rss',['title','link','description'],limit=2).where(['url','=',rss_url])
    return response
{'fraction_non_alphanumeric': 0.13478611783696529, 'fraction_numerical': 0.003228410008071025, 'mean_word_length': 5.019417475728155, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6709250', 'n_tokens_mistral': 387, 'n_tokens_neox': 379, 'n_words': 101}