Skip to main content
< 이전

개요

사용 가능한 작업

  • getV1 - 지연 시세 V1 가져오기

getV1

심볼, 국제증권식별번호(ISIN) 또는 CIK 목록의 지연 시세를 가져옵니다.

사용 예시

package hello.world;

import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetQuoteDelayedV1Response;

public class Application {

    public static void main(String[] args) throws Exception {

        Bzclient sdk = Bzclient.builder()
                .apiKeyAuth("<YOUR_API_KEY_HERE>")
            .build();

        GetQuoteDelayedV1Response res = sdk.quotedelayed().getV1()
                .symbols("<value>")
                .isin("<value>")
                .cik("<value>")
                .call();

        if (res.string().isPresent()) {
            // 응답 처리
        }
    }
}

Parameters

ParameterTypeRequiredDescription
symbolsOptional<String>:heavy_minus_sign:콤마로 구분된 심볼 목록
isinOptional<String>:heavy_minus_sign:해당 종목의 국제증권식별번호(ISIN)
cikOptional<String>:heavy_minus_sign:해당 종목의 CIK(SEC 기업 식별자)

응답

GetQuoteDelayedV1Response

오류

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