For the complete documentation index, see llms.txt. This page is also available as Markdown.

SearchTrendingTopics

현재 시장에서 벌어지고 있는 주요 이슈를 추출하여 제공합니다.

Function specification

호출 시점에서 가장 최신의 이슈를 제공합니다.

SearchTrendingTopics(category, section, fields=None)

Parameters

Parameter

Type

Description

category

string or list of string

국내뉴스: news

section

string or list of string

정치: politics

경제: economy

사회: society

문화: culture

세계: world

기술/IT: tech

연예: entertainment

사설: opinion

fields

list of string

결과값으로 어떤 항목을 노출한 것인지 지정한다.

Result Layout

Result:TrendingTopicsSearchResult

Examples

트렌딩 토픽 검색
> SearchTrendingTopics(["news"],["economy"])
{
    "found": true,
    "data": {
        "timestamp": "2020-08-07T16:20:00.000000",
        "topics": {
            "news": {
                "economy": [
                    {
                        "uid": 54469154,
                        "uid_str": "54469154",
                        "category": "news",
                        "section": "economy",
                        "rank": 1,
                        "score": 7.7828,
                        "topic": "국내증시 연고점 재경신 코스피 2350선 마감",
                        "keywords": [
                            {
                                "keyword": "2350선",
                                "freq": 16
                            },
                            {
                                "keyword": "1만1000선",
                                "freq": 10
                            },
...
                            {
                                "keyword": "0.68%↑",
                                "freq": 1
                            }
                        ],
                        "statistics": {
                            "doc_count": 70,
                            "securities": [
                                {
                                    "exchange": "KRX",
                                    "market": "KOSPI",
                                    "symbol": "051910",
                                    "name": "LG화학",
                                    "company_rid": "110111-2207995",
                                    "business_rid": "107-81-98139",
                                    "doc_count": 2
                                },
                                {
                                    "exchange": "KRX",
                                    "market": "KOSPI",
                                    "symbol": "039490",
                                    "name": "키움증권",
                                    "company_rid": "110111-1867948",
                                    "business_rid": "107-81-76756",
                                    "doc_count": 1
                                },
                                {
                                    "exchange": "KRX",
                                    "market": "KOSDAQ",
                                    "symbol": "267790",
                                    "name": "배럴",
                                    "company_rid": "110111-4256924",
                                    "business_rid": "105-87-39951",
                                    "doc_count": 1
                                }
                            ],
                            "industries": [
                                {
                                    "label": "B06",
                                    "name": "금속 광업",
                                    "min": 0.837,
                                    "max": 1.0,
                                    "mean": 0.97664,
                                    "stddev": 0.04943,
                                    "doc_count": 11
                                },
                                {
                                    "label": "C14",
                                    "name": "의복, 의복 액세서리 및 모피제품 제조업",
                                    "min": 0.528,
                                    "max": 0.835,
                                    "mean": 0.6815,
                                    "stddev": 0.1535,
                                    "doc_count": 2
                                },
...
                                {
                                    "label": "C24",
                                    "name": "1차 금속 제조업",
                                    "min": 0.336,
                                    "max": 0.336,
                                    "mean": 0.336,
                                    "stddev": 0.0,
                                    "doc_count": 1
                                }
                            ],
                            "polarities": [
                                {
                                    "label": "0",
                                    "name": "중립",
                                    "min": 0.985,
                                    "max": 0.99,
                                    "mean": 0.9875,
                                    "stddev": 0.0025,
                                    "doc_count": 2
                                },
                                {
                                    "label": "1",
                                    "name": "긍정",
                                    "min": 0.756,
                                    "max": 0.89,
                                    "mean": 0.823,
                                    "stddev": 0.067,
                                    "doc_count": 2
                                }
                            ]
                        }


...

Last updated

Was this helpful?