Skip to main content
< 戻る

概要

利用可能な操作

  • get - バリュエーション指標比率 v2.1 を取得

get

シンボル、ISIN(国際証券識別番号)、CIK のリストに対するバリュエーション比率を取得します。

使用例

package hello.world;

import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetValuationRatiosV21Response;

public class Application {

    public static void main(String[] args) throws Exception {

        Bzclient sdk = Bzclient.builder()
                .apiKeyAuth("<YOUR_API_KEY_HERE>")
            .build();

        GetValuationRatiosV21Response res = sdk.valuationRatios().get()
                .symbols("<value>")
                .asOf("<value>")
                .period("<value>")
                .reportType("<value>")
                .call();

        if (res.string().isPresent()) {
            // レスポンスを処理する
        }
    }
}

パラメーター

ParameterTypeRequiredDescription
symbolsOptional<String>:heavy_minus_sign:カンマ区切りのシンボル一覧
asOfOptional<String>:heavy_minus_sign:基準日
periodOptional<String>:heavy_minus_sign:会計期間
reportTypeOptional<String>:heavy_minus_sign:レポートタイプ

レスポンス

GetValuationRatiosV21Response

エラー

エラータイプステータスコードコンテンツタイプ
models/errors/APIException4XX, 5XX/