Skip to main content
< 뒤로

개요

사용 가능한 작업

  • 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

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:심볼을 쉼표로 구분한 목록
fromOptional<String>:heavy_minus_sign:시작일
toOptional<String>:heavy_minus_sign:종료일
dateOptional<String>:heavy_minus_sign:보고서 유형

응답

GetDerivedFiguresAndRatiosV3Response

오류

오류 유형상태 코드콘텐츠 유형
models/errors/APIException4XX, 5XX/