def _get_price_history_small(index, start, end, proxies = {}): if type(start) == type(datetime.date(2000,1,1)): start = date_to_str(start) if type(end) == type(datetime.date(2000,1,1)): end = date_to_str(end) url = PRICE_HISTORY%(index.upper().replace(' ','%20'), start, end) resp = req.get(url = url, proxies = proxies) rows = html_to_rows(resp.text) return _html_to_index_df(rows)