Skip to main content
< 戻る

概要

利用可能な操作

  • 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()) {
            // レスポンスを処理
        }
    }
}

パラメータ

パラメータ必須説明
symbolsString:heavy_check_mark:シンボルのカンマ区切りリスト
fromOptional<String>:heavy_minus_sign:開始日
toOptional<String>:heavy_minus_sign:終了日
dateOptional<String>:heavy_minus_sign:レポート種別

レスポンス

GetDerivedFiguresAndRatiosV3Response

エラー

エラータイプステータスコードContent-Type
models/errors/APIException4XX, 5XX/