개요
사용 가능한 작업
- get - 운영 비율 v2.1 가져오기
가져오기
사용 예시
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetOperationRatiosV21Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<여기에_API_키_입력>")
.build();
GetOperationRatiosV21Response res = sdk.operationRatios().get()
.symbols("<value>")
.asOf("<value>")
.period("<value>")
.reportType("<value>")
.call();
if (res.string().isPresent()) {
// 응답 처리
}
}
}
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
symbols | String | :heavy_check_mark: | 티커 심볼을 쉼표로 구분한 목록 |
asOf | Optional<String> | :heavy_minus_sign: | 기준일 |
period | Optional<String> | :heavy_minus_sign: | 기간 |
reportType | Optional<String> | :heavy_minus_sign: | 보고서 유형 |
응답
오류
| 오류 유형 | 상태 코드 | 콘텐츠 유형 |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | / |