Example #1
0
def get_finance_sheet_df(stock_code,
                         sheet_type,
                         term_type,
                         sheet_part='',
                         force=False):
    return utils.csv2df(
        get_finance_sheet_csv(stock_code, sheet_type, term_type, sheet_part,
                              force))
Example #2
0
def downloaded_newest_report_time(stock_code):
    file_path = finance_sheet_file_path(stock_code, 'lrb', 'report', '')
    return utils.df_get_col_index_list(utils.csv2df(file_path))[0]
Example #3
0
def get_stock_basics_df(force=False):
    return utils.csv2df(get_stock_basics_csv(force), dtype={'code': np.str_})
Example #4
0
def get_category_df(category_method, force=False):
    return utils.csv2df(get_category_csv(category_method, force), dtype={'code': np.str_})
Example #5
0
def get_forecast_df(year, quarter, force=False):
    return utils.csv2df(get_forecast_csv(year, quarter, force),
                        dtype={'code': np.str_})