예제 #1
0
파일: api.py 프로젝트: foxrelax/foxrelax
def industry_region(fields=None):
    """
    地域板块
    """

    client = api_client()

    return client.query('industry_region', fields=fields)
예제 #2
0
파일: api.py 프로젝트: foxrelax/foxrelax
def industry_industry(fields=None):
    """
    行业板块
    """

    client = api_client()

    return client.query('industry_industry', fields=fields)
예제 #3
0
파일: api.py 프로젝트: foxrelax/foxrelax
def industry_concept(fields=None):
    """
    概念板块
    """

    client = api_client()

    return client.query('industry_concept', fields=fields)
예제 #4
0
파일: api.py 프로젝트: foxrelax/foxrelax
def south_money_realtime(fields=None):
    """
    实时南向资金流向
    """

    client = api_client()

    return client.query('south_money_realtime', fields=fields)
예제 #5
0
파일: api.py 프로젝트: foxrelax/foxrelax
def limit_rise_fall_realtime(fields=None):
    """
    实时涨跌停板
    """

    client = api_client()

    return client.query('limit_rise_fall_realtime', fields=fields)
예제 #6
0
파일: api.py 프로젝트: foxrelax/foxrelax
def stock_industry_region(symbol=None, fields=None):
    """
    股票所属地域板块
    """

    client = api_client()

    return client.query('stock_industry_region', symbol=symbol, fields=fields)
예제 #7
0
파일: api.py 프로젝트: foxrelax/foxrelax
def stock_industry_concept(symbol=None, fields=None):
    """
    股票所属概念板块
    """

    client = api_client()

    return client.query('stock_industry_concept', symbol=symbol, fields=fields)
예제 #8
0
파일: api.py 프로젝트: foxrelax/foxrelax
def normalize_symbol(symbols, fields=None):
    """
    格式化股票, 指数symbol
    """

    client = api_client()

    return client.query('normalize_symbol', symbols=symbols, fields=fields)
예제 #9
0
파일: api.py 프로젝트: foxrelax/foxrelax
def rise_fall_realtime(fields=None):
    """
    实时涨跌分布
    """

    client = api_client()

    return client.query('rise_fall_realtime', fields=fields)
예제 #10
0
파일: api.py 프로젝트: foxrelax/foxrelax
def exchange_info(fields=None):
    """
    交易所信息
    """

    client = api_client()

    return client.query('exchange_info', fields=fields)
예제 #11
0
파일: api.py 프로젝트: foxrelax/foxrelax
def area(fields=None):
    """
    地区编码
    """

    client = api_client()

    return client.query('area', fields=fields)
예제 #12
0
파일: api.py 프로젝트: foxrelax/foxrelax
def echo(text=None, fields=None):
    """
    echo test
    """

    client = api_client()

    return client.query('echo', text=text, fields=fields)
예제 #13
0
파일: api.py 프로젝트: foxrelax/foxrelax
def industry(industry_type=None, fields=None):
    """
    板块(通用)
    """

    client = api_client()

    return client.query('industry', industry_type=industry_type, fields=fields)
예제 #14
0
파일: api.py 프로젝트: foxrelax/foxrelax
def north_money_realtime(fields=None):
    """
    实时北向资金流向
    """

    client = api_client()

    return client.query('north_money_realtime', fields=fields)
예제 #15
0
파일: api.py 프로젝트: foxrelax/foxrelax
def industry_stock_industry(industry_symbol=None, fields=None):
    """
    行业板块成分股
    """

    client = api_client()

    return client.query('industry_stock_industry',
                        industry_symbol=industry_symbol,
                        fields=fields)
예제 #16
0
파일: api.py 프로젝트: foxrelax/foxrelax
def industry_stock(industry_symbol=None, fields=None):
    """
    板块成分股(通用)
    """

    client = api_client()

    return client.query('industry_stock',
                        industry_symbol=industry_symbol,
                        fields=fields)
예제 #17
0
파일: api.py 프로젝트: foxrelax/foxrelax
def industry_stock_region(industry_symbol=None, fields=None):
    """
    地域板块成分股
    """

    client = api_client()

    return client.query('industry_stock_region',
                        industry_symbol=industry_symbol,
                        fields=fields)
예제 #18
0
파일: api.py 프로젝트: foxrelax/foxrelax
def industry_stock_concept(industry_symbol=None, fields=None):
    """
    概念板块成分股
    """

    client = api_client()

    return client.query('industry_stock_concept',
                        industry_symbol=industry_symbol,
                        fields=fields)
예제 #19
0
파일: api.py 프로젝트: foxrelax/foxrelax
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)
예제 #20
0
파일: api.py 프로젝트: foxrelax/foxrelax
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)
예제 #21
0
파일: api.py 프로젝트: foxrelax/foxrelax
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)
예제 #22
0
파일: api.py 프로젝트: foxrelax/foxrelax
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)
예제 #23
0
파일: api.py 프로젝트: foxrelax/foxrelax
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)
예제 #24
0
파일: api.py 프로젝트: foxrelax/foxrelax
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)
예제 #25
0
파일: api.py 프로젝트: foxrelax/foxrelax
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)
예제 #26
0
파일: api.py 프로젝트: foxrelax/foxrelax
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)
예제 #27
0
파일: api.py 프로젝트: foxrelax/foxrelax
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)
예제 #28
0
파일: api.py 프로젝트: foxrelax/foxrelax
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)
예제 #29
0
파일: api.py 프로젝트: foxrelax/foxrelax
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)
예제 #30
0
파일: api.py 프로젝트: foxrelax/foxrelax
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)