개요
사용 가능한 작업
- get - 지연 시세 V2 가져오기
가져오기
사용 예시
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetQuoteDelayedV2Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetQuoteDelayedV2Response res = sdk.quoteDelayed().get()
.symbols("<value>")
.isin("<value>")
.cik("<value>")
.call();
if (res.string().isPresent()) {
// 응답 처리
}
}
}
매개변수
| 매개변수 | 타입 | 필수 여부 | 설명 |
|---|---|---|---|
symbols | Optional<String> | :heavy_minus_sign: | 콤마로 구분된 심볼 목록 |
isin | Optional<String> | :heavy_minus_sign: | 증권의 국제증권식별번호(ISIN) |
cik | Optional<String> | :heavy_minus_sign: | 증권의 CIK |
응답
오류
| 오류 유형 | 상태 코드 | 콘텐츠 유형 |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | / |