Skip to main content
< 뒤로

개요

사용 가능한 작업

  • getOwner - 내부자 거래 주체 가져오기

getOwner

Insider Transaction의 소유자 가져오기

사용 예시

package hello.world;

import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.errors.ApiErrorResponse;
import org.benzinga.BZClient.models.operations.GetInsiderTransactionOwnerRequest;
import org.benzinga.BZClient.models.operations.GetInsiderTransactionOwnerResponse;

public class Application {

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

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

        GetInsiderTransactionOwnerRequest req = GetInsiderTransactionOwnerRequest.builder()
                .build();

        GetInsiderTransactionOwnerResponse res = sdk.insiderTransactions().getOwner()
                .request(req)
                .call();

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

매개변수

매개변수타입필수 여부설명
requestGetInsiderTransactionOwnerRequest:heavy_check_mark:요청에 사용할 객체입니다.

응답

GetInsiderTransactionOwnerResponse

오류

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