<commit_before>#!/usr/bin/python
#coding=utf-8

'''
基础数据接口

'''
class Basedata(object):

    '''
        通过时间段行情数据接口
    '''
    def get_history_data_by_date(self, code, start_date_str, end_date_str, frequency, fq):
        pass

    '''
        通过股票列表查询行情数据接口
    '''
    def get_history_data_by_stocklist(self, trade_date, codelist, frequency, fq):
        pass

    '''
        通过时间段指数行情数据接口
    '''
    def get_history_index_data_by_date(self, code, start_date_str, end_date_str, frequency):
        pass

    '''
        通过指数代码列表查询指数行情数据接口
    '''
    def get_history_index_data_by_stocklist(self, trade_date, codelist, frequency):
        pass

    '''
        通过股票列表查询因子值数据
    '''
    def get_factor_data_by_stocklist(self, trade_date, codelist, tracetype):
        pass

    '''
        通过时间段因子值接口
    '''
    def get_factor_data_by_date(self, code, start_date_str, end_date_str, tracetype):<commit_msg>增加数据接口说明文件<commit_after>#!/usr/bin/python
#coding=utf-8

'''
基础数据接口

'''
class Basedata(object):

    '''
        通过时间段行情数据接口
    '''
    def get_history_data_by_date(self, code, start_date_str, end_date_str, frequency, fq):
        pass

    '''
        通过股票列表查询行情数据接口
    '''
    def get_history_data_by_stocklist(self, trade_date, codelist, frequency, fq):
        pass

    '''
        通过时间段指数行情数据接口
    '''
    def get_history_index_data_by_date(self, code, start_date_str, end_date_str, frequency):
        pass

    '''
        通过指数代码列表查询指数行情数据接口
    '''
    def get_history_index_data_by_stocklist(self, trade_date, codelist, frequency):
        pass

    '''
        通过股票列表查询因子值数据
    '''
    def get_factor_data_by_stocklist(self, trade_date, codelist, factorenname, tracetype):
        pass

    '''
        通过时间段因子值接口
    '''
    def get_factor_data_by_date(self, code, start_date_str, end_date_str, factorenname, tracetype):
{'fraction_non_alphanumeric': 0.10600324499729584, 'fraction_numerical': 0.001081665765278529, 'mean_word_length': 2.8947368421052633, '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': '4848315', 'n_tokens_mistral': 763, 'n_tokens_neox': 758, 'n_words': 103}