Exemple #1
0
def industry_region(fields=None):
    """
    地域板块
    """

    client = api_client()

    return client.query('industry_region', fields=fields)
Exemple #2
0
def industry_industry(fields=None):
    """
    行业板块
    """

    client = api_client()

    return client.query('industry_industry', fields=fields)
Exemple #3
0
def industry_concept(fields=None):
    """
    概念板块
    """

    client = api_client()

    return client.query('industry_concept', fields=fields)
Exemple #4
0
def south_money_realtime(fields=None):
    """
    实时南向资金流向
    """

    client = api_client()

    return client.query('south_money_realtime', fields=fields)
Exemple #5
0
def limit_rise_fall_realtime(fields=None):
    """
    实时涨跌停板
    """

    client = api_client()

    return client.query('limit_rise_fall_realtime', fields=fields)
Exemple #6
0
def stock_industry_region(symbol=None, fields=None):
    """
    股票所属地域板块
    """

    client = api_client()

    return client.query('stock_industry_region', symbol=symbol, fields=fields)
Exemple #7
0
def stock_industry_concept(symbol=None, fields=None):
    """
    股票所属概念板块
    """

    client = api_client()

    return client.query('stock_industry_concept', symbol=symbol, fields=fields)
Exemple #8
0
def normalize_symbol(symbols, fields=None):
    """
    格式化股票, 指数symbol
    """

    client = api_client()

    return client.query('normalize_symbol', symbols=symbols, fields=fields)
Exemple #9
0
def rise_fall_realtime(fields=None):
    """
    实时涨跌分布
    """

    client = api_client()

    return client.query('rise_fall_realtime', fields=fields)
Exemple #10
0
def exchange_info(fields=None):
    """
    交易所信息
    """

    client = api_client()

    return client.query('exchange_info', fields=fields)
Exemple #11
0
def area(fields=None):
    """
    地区编码
    """

    client = api_client()

    return client.query('area', fields=fields)
Exemple #12
0
def echo(text=None, fields=None):
    """
    echo test
    """

    client = api_client()

    return client.query('echo', text=text, fields=fields)
Exemple #13
0
def industry(industry_type=None, fields=None):
    """
    板块(通用)
    """

    client = api_client()

    return client.query('industry', industry_type=industry_type, fields=fields)
Exemple #14
0
def north_money_realtime(fields=None):
    """
    实时北向资金流向
    """

    client = api_client()

    return client.query('north_money_realtime', fields=fields)
Exemple #15
0
def industry_stock_industry(industry_symbol=None, fields=None):
    """
    行业板块成分股
    """

    client = api_client()

    return client.query('industry_stock_industry',
                        industry_symbol=industry_symbol,
                        fields=fields)
Exemple #16
0
def industry_stock(industry_symbol=None, fields=None):
    """
    板块成分股(通用)
    """

    client = api_client()

    return client.query('industry_stock',
                        industry_symbol=industry_symbol,
                        fields=fields)
Exemple #17
0
def industry_stock_region(industry_symbol=None, fields=None):
    """
    地域板块成分股
    """

    client = api_client()

    return client.query('industry_stock_region',
                        industry_symbol=industry_symbol,
                        fields=fields)
Exemple #18
0
def industry_stock_concept(industry_symbol=None, fields=None):
    """
    概念板块成分股
    """

    client = api_client()

    return client.query('industry_stock_concept',
                        industry_symbol=industry_symbol,
                        fields=fields)
Exemple #19
0
def trade_calendar(start_date=None, end_date=None, fields=None):
    """
    交易日历
    """

    client = api_client()

    return client.query('trade_calendar',
                        start_date=start_date,
                        end_date=end_date,
                        fields=fields)
Exemple #20
0
def cpi(start_date=None, end_date=None, fields=None):
    """
    居民消费价格指数(CPI)(全国)
    """

    client = api_client()

    return client.query('cpi',
                        start_date=start_date,
                        end_date=end_date,
                        fields=fields)
Exemple #21
0
def loan_rate(start_date=None, end_date=None, fields=None):
    """
    贷款利率
    """

    client = api_client()

    return client.query('loan_rate',
                        start_date=start_date,
                        end_date=end_date,
                        fields=fields)
Exemple #22
0
def deposit_rate(start_date=None, end_date=None, fields=None):
    """
    存款利率
    """

    client = api_client()

    return client.query('deposit_rate',
                        start_date=start_date,
                        end_date=end_date,
                        fields=fields)
Exemple #23
0
def money_supply(start_date=None, end_date=None, fields=None):
    """
    货币供应量
    """

    client = api_client()

    return client.query('money_supply',
                        start_date=start_date,
                        end_date=end_date,
                        fields=fields)
Exemple #24
0
def stock_industry(symbol=None, industry_type=None, fields=None):
    """
    股票所属板块(通用)
    """

    client = api_client()

    return client.query('stock_industry',
                        symbol=symbol,
                        industry_type=industry_type,
                        fields=fields)
Exemple #25
0
def cci_monthly(trade_date=None, start_date=None, end_date=None, fields=None):
    """
    消费者信心指数(月度)
    """

    client = api_client()

    return client.query('cci_monthly',
                        trade_date=trade_date,
                        start_date=start_date,
                        end_date=end_date,
                        fields=fields)
Exemple #26
0
def cpi_item(item_symbol=None, start_date=None, end_date=None, fields=None):
    """
    居民消费价格指数(CPI)(项目)
    """

    client = api_client()

    return client.query('cpi_item',
                        item_symbol=item_symbol,
                        start_date=start_date,
                        end_date=end_date,
                        fields=fields)
Exemple #27
0
def ppi_monthly(trade_date=None, start_date=None, end_date=None, fields=None):
    """
    工业品出厂价格指数(月度)
    """

    client = api_client()

    return client.query('ppi_monthly',
                        trade_date=trade_date,
                        start_date=start_date,
                        end_date=end_date,
                        fields=fields)
Exemple #28
0
def dividend(symbol=None, start_date=None, end_date=None, fields=None):
    """
    分红送股
    """

    client = api_client()

    return client.query('dividend',
                        symbol=symbol,
                        start_date=start_date,
                        end_date=end_date,
                        fields=fields)
Exemple #29
0
def capital_change(symbol=None, start_date=None, end_date=None, fields=None):
    """
    股本变动
    """

    client = api_client()

    return client.query('capital_change',
                        symbol=symbol,
                        start_date=start_date,
                        end_date=end_date,
                        fields=fields)
Exemple #30
0
def adj_factor(symbol=None, start_date=None, end_date=None, fields=None):
    """
    股票复权信息
    """

    client = api_client()

    return client.query('adj_factor',
                        symbol=symbol,
                        start_date=start_date,
                        end_date=end_date,
                        fields=fields)