개요
사용 가능한 작업
- get - 파생 지표 및 비율 V3 가져오기
가져오기
사용 예시
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()) {
// 응답 처리
}
}
}
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
symbols | String | :heavy_check_mark: | 심볼을 쉼표로 구분한 목록 |
from | Optional<String> | :heavy_minus_sign: | 시작일 |
to | Optional<String> | :heavy_minus_sign: | 종료일 |
date | Optional<String> | :heavy_minus_sign: | 보고서 유형 |
응답
오류
| 오류 유형 | 상태 코드 | 콘텐츠 유형 |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | / |