Skip to content

长桥openapi的个股资讯接口返回的全是英文,能不能返回中文 #1133

Description

@wangqi4536

https://open.longportapp.cn/zh-CN/docs/content/news/news

这是我本地调用api的代码
const news = await ctx.news(symbol.key);
console.log(📥 ${symbol.key} 原始数据:, JSON.stringify(news));

还有打印的日志,我查询的新闻是纳斯达克100 QQQ的新闻,app上面显示中文,结果接口只能返回英文,要怎么解决

日志:
QQQ.US 原始数据: [{"commentsCount":0,"description":"","id":"291547963","likesCount":0,"publishedAt":"2026-07-02T12:34:05+00:00","sharesCount":1,"title":"US STOCKS SNAPSHOT-US stock futures extend gains after June non-farm payrolls data","url":"https://longbridge.com/news/291547963"},{"commentsCount":0,"description":"On July 2nd, influenced by the release of the U.S. non-farm payroll data for June, U.S. stock index futures surged across the board. The NASDAQ-100 futures rose by 0.71%, while the Dow Jones and S&P 500 futures increased by 0.36% and 0.39%, respectively. The semiconductor sector performed strongly, with stocks such as NVIDIA, ASML, AMD, TSMC, and Intel all experiencing varying degrees of pre-market gains","id":"291553213","likesCount":0,"publishedAt":"2026-07-02T13:09:38+00:00","sharesCount":0,"title":"NASDAQ-100 futures rose 0.7%, and semiconductor stocks surged across the board in pre-market trading","url":"https://longbridge.com/news/291553213"},{"commentsCount":2,"description":"In June, the seasonally adjusted non-farm payroll employment in the United States recorded an increase of 57,000, which is lower than the market expectation of an increase of 110,000","id":"291547823","likesCount":2,"publishedAt":"2026-07-02T12:32:38+00:00","sharesCount":14,"title":"U.S. June non-farm payrolls significantly below expectations","url":"https://longbridge.com/news/291547823"},{"commentsCount":0,"description":"In June, the United States added 57,000 non-farm jobs, far below the expected 115,000 and the revised previous value of 129,000, indicating a significant cooling of the labor market. The unemployment rate slightly decreased to 4.2%. As a result, the market has lowered its expectations for Federal Reserve interest rate hikes, the dollar weakened, and traders anticipate a delay in rate hikes until December","id":"291550029","likesCount":0,"publishedAt":"2026-07-02T12:44:48+00:00","sharesCount":0,"title":"","url":"https://longbridge.com/news/291550029"},{"commentsCount":0,"description":"S&P 500 index futures rose 0.3%, and NASDAQ index futures increased by 0.4%","id":"291606142","likesCount":0,"publishedAt":"2026-07-03T01:23:32+00:00","sharesCount":0,"title":"","url":"https://longbridge.com/news/291606142"},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions