Skip to content

sdk 3.0.12 异常报错 #674

Description

@rivo-rgb

问题描述

使用sdk 3.0.12 请求k线报以下异常

Image

java.util.concurrent.ExecutionException: OpenApiException [code=null, message=Client is closed]

代码例子
quoteContext.getCandlesticks("GOOGL.US", Period.Min_1, 1000, AdjustType.NoAdjust, TradeSessions.Intraday).get()
quoteContext.getCandlesticks("GOOGL.US", Period.Min_5, 1000, AdjustType.NoAdjust, TradeSessions.Intraday).get()
quoteContext.getCandlesticks("GOOGL.US", Period.Min_30, 1000, AdjustType.NoAdjust, TradeSessions.Intraday).get()
quoteContext.getCandlesticks("GOOGL.US", Period.Day, 1000, AdjustType.NoAdjust, TradeSessions.Intraday).get()

错误信息或结果截图

如果可以,请给出一些执行的结果截图,最好给完整截图,避免关键信息遗漏(请注意保护你的 Access Token)

你的环境信息

  • 操作系统: [Windows]
  • 开发语言: Java
  • SDK 版本号:3.0.12

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions