概要
利用可能な操作
- get - バリュエーション指標比率 v2.1 を取得
get
使用例
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()) {
// レスポンスを処理する
}
}
}
パラメーター
| Parameter | Type | Required | Description |
|---|---|---|---|
symbols | Optional<String> | :heavy_minus_sign: | カンマ区切りのシンボル一覧 |
asOf | Optional<String> | :heavy_minus_sign: | 基準日 |
period | Optional<String> | :heavy_minus_sign: | 会計期間 |
reportType | Optional<String> | :heavy_minus_sign: | レポートタイプ |
レスポンス
エラー
| エラータイプ | ステータスコード | コンテンツタイプ |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | / |