概要
利用可能な操作
- get - 派生指標および比率の取得 v3
get
使用例
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetDerivedFiguresAndRatiosV3Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetDerivedFiguresAndRatiosV3Response res = sdk.derivedFiguresAndRatios().get()
.symbols("<value>")
.from("<value>")
.to("<value>")
.date("2024-08-12")
.call();
if (res.string().isPresent()) {
// レスポンスを処理
}
}
}
パラメータ
| パラメータ | 型 | 必須 | 説明 |
|---|---|---|---|
symbols | String | :heavy_check_mark: | シンボルのカンマ区切りリスト |
from | Optional<String> | :heavy_minus_sign: | 開始日 |
to | Optional<String> | :heavy_minus_sign: | 終了日 |
date | Optional<String> | :heavy_minus_sign: | レポート種別 |
レスポンス
エラー
| エラータイプ | ステータスコード | Content-Type |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | / |