Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 1.91 KB

README.md

File metadata and controls

60 lines (41 loc) · 1.91 KB

Quotedelayed

(quotedelayed())

Overview

Available Operations

  • getV1 - Get delayed quotes V1

getV1

Get delayed quotes for a list of symbols, ISINs, or CIKs

Example Usage

package hello.world;

import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.operations.GetQuoteDelayedV1Response;
import java.lang.Exception;

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()) {
            // handle response
        }
    }
}

Parameters

Parameter Type Required Description
symbols Optional<String> Comma separated list of symbols
isin Optional<String> ISIN of the security
cik Optional<String> CIK of the security

Response

GetQuoteDelayedV1Response

Errors

Error Type Status Code Content Type
models/errors/APIException 4XX, 5XX */*