개요
사용 가능한 작업
- getV21 - 기초 재무 지표 V2.1 가져오기
- getAlphaBeta - Alpha Beta V2.1 가져오기
- getCompanyV21 - 회사 데이터 v2.1 가져오기
- getCompanyProfileV21 - 회사 프로필 v2.1 가져오기
- getShareClass - 주식 종류 V2.1 가져오기
- getShareClassProfile - 주식 종류 프로필 V2.1 가져오기
- get - 기초 재무 지표 V2 가져오기
- getAssetClassification - 자산 분류 V2.1 가져오기
- getEarningsReports - 실적 보고서 V2.1 가져오기
- getFinancialsV21 - 재무제표 V2.1 가져오기
- getV3 - 기초 재무 지표 V3 가져오기
- getBalanceSheetV3 - 대차대조표 V3 가져오기
- getCashFlowV3 - 현금흐름표 V3 가져오기
- getIncomeStatement - 손익계산서 V3 가져오기
- getSharePriceRatios - 주가 비율 V3 가져오기
getV21
사용 예시
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetFundamentalsV21Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetFundamentalsV21Response res = sdk.fundamentals().getV21()
.symbols("<value>")
.asOf("<value>")
.period("<value>")
.reportType("<value>")
.call();
if (res.string().isPresent()) {
// 응답 처리
}
}
}
파라미터
| 파라미터 | 타입 | 필수 여부 | 설명 |
|---|---|---|---|
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 | / |
getAlphaBeta
사용 예시
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetAlphaBetaV21Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetAlphaBetaV21Response res = sdk.fundamentals().getAlphaBeta()
.symbols("<value>")
.asOf("<value>")
.period("<value>")
.reportType("<value>")
.call();
if (res.string().isPresent()) {
// 응답 처리
}
}
}
매개변수
| 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 | / |
getCompanyV21
사용 예시
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetCompanyV21Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetCompanyV21Response res = sdk.fundamentals().getCompanyV21()
.symbols("<value>")
.asOf("<value>")
.period("<value>")
.reportType("<value>")
.call();
if (res.string().isPresent()) {
// 응답 처리
}
}
}
매개변수
| 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 | / |
getCompanyProfileV21
사용 예시
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetCompanyProfileV21Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetCompanyProfileV21Response res = sdk.fundamentals().getCompanyProfileV21()
.symbols("<value>")
.asOf("<value>")
.period("<value>")
.reportType("<value>")
.call();
if (res.string().isPresent()) {
// 응답 처리
}
}
}
매개변수
| 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 | / |
getShareClass
사용 예시
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetShareClassV21Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetShareClassV21Response res = sdk.fundamentals().getShareClass()
.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 | / |
getShareClassProfile
사용 예시
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetShareClassProfileV21Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetShareClassProfileV21Response res = sdk.fundamentals().getShareClassProfile()
.symbols("<value>")
.asOf("<value>")
.period("<value>")
.reportType("<value>")
.call();
if (res.string().isPresent()) {
// 응답 처리
}
}
}
매개변수
| 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 | / |
가져오기
사용 예시
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetFundamentalsV2Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetFundamentalsV2Response res = sdk.fundamentals().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 | / |
getAssetClassification
사용 예시
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetAssetClassificationV21Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetAssetClassificationV21Response res = sdk.fundamentals().getAssetClassification()
.symbols("<value>")
.asOf("<value>")
.period("<value>")
.reportType("<value>")
.call();
if (res.string().isPresent()) {
// 응답 처리
}
}
}
매개변수
| 매개변수 | 타입 | 필수 여부 | 설명 |
|---|---|---|---|
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 | / |
getEarningsReports
사용 예시
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetEarningsReportsV21Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetEarningsReportsV21Response res = sdk.fundamentals().getEarningsReports()
.symbols("<value>")
.asOf("<value>")
.period("<value>")
.reportType("<value>")
.call();
if (res.string().isPresent()) {
// 응답 처리
}
}
}
매개변수
| 매개변수 | 타입 | 필수 여부 | 설명 |
|---|---|---|---|
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 | / |
getFinancialsV21
사용 예시
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.errors.BzhttpResp;
import org.benzinga.BZClient.models.operations.GetFinancialsV21Response;
public class Application {
public static void main(String[] args) throws BzhttpResp, Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetFinancialsV21Response res = sdk.fundamentals().getFinancialsV21()
.symbols("<value>")
.asOf("<value>")
.period("<value>")
.reportType("<value>")
.call();
if (res.strings().isPresent()) {
// 응답 처리
}
}
}
매개변수
| 매개변수 | 타입 | 필수 여부 | 설명 |
|---|---|---|---|
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/BzhttpResp | 400, 500 | application/json |
| models/errors/APIException | 4XX, 5XX | / |
getV3
사용 예시
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetFundamentalsV3Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetFundamentalsV3Response res = sdk.fundamentals().getV3()
.symbols("<value>")
.from("<value>")
.to("<value>")
.date("2024-10-27")
.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 | / |
getBalanceSheetV3
사용 예시
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.errors.BzhttpResp;
import org.benzinga.BZClient.models.operations.GetBalanceSheetV3Response;
public class Application {
public static void main(String[] args) throws BzhttpResp, Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetBalanceSheetV3Response res = sdk.fundamentals().getBalanceSheetV3()
.symbols("<value>")
.from("<value>")
.to("<value>")
.date("2023-12-25")
.call();
if (res.strings().isPresent()) {
// 응답 처리
}
}
}
매개변수
| 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/BzhttpResp | 400 | application/json |
| models/errors/APIException | 4XX, 5XX | / |
getCashFlowV3
사용 예시
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.errors.BzhttpResp;
import org.benzinga.BZClient.models.operations.GetCashFlowV3Response;
public class Application {
public static void main(String[] args) throws BzhttpResp, Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetCashFlowV3Response res = sdk.fundamentals().getCashFlowV3()
.symbols("<value>")
.from("<value>")
.to("<value>")
.date("2024-05-15")
.call();
if (res.strings().isPresent()) {
// 응답 처리
}
}
}
파라미터
| 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/BzhttpResp | 400, 500 | application/json |
| models/errors/APIException | 4XX, 5XX | / |
getIncomeStatement
사용 예시
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetIncomeStatementV3Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetIncomeStatementV3Response res = sdk.fundamentals().getIncomeStatement()
.symbols("<value>")
.from("<value>")
.to("<value>")
.date("2023-12-17")
.call();
if (res.string().isPresent()) {
// 응답 처리
}
}
}
매개변수
| 매개변수 | Type | 필수 여부 | 설명 |
|---|---|---|---|
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 | / |
getSharePriceRatios
사용 예시
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.errors.BzhttpResp;
import org.benzinga.BZClient.models.operations.GetSharePriceRatiosV3Response;
public class Application {
public static void main(String[] args) throws BzhttpResp, Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetSharePriceRatiosV3Response res = sdk.fundamentals().getSharePriceRatios()
.symbols("<value>")
.from("<value>")
.to("<value>")
.date("2024-06-28")
.call();
if (res.strings().isPresent()) {
// 응답 처리
}
}
}
매개변수
| 매개변수 | 타입 | 필수 여부 | 설명 |
|---|---|---|---|
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/BzhttpResp | 400, 500 | application/json |
| models/errors/APIException | 4XX, 5XX | / |