(quoteDelayed())
- get - Get delayed quotes V2
Get delayed quotes for a list of symbols
package hello.world;
import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.operations.GetQuoteDelayedV2Response;
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();
GetQuoteDelayedV2Response res = sdk.quoteDelayed().get()
.symbols("<value>")
.isin("<value>")
.cik("<value>")
.call();
if (res.string().isPresent()) {
// handle response
}
}
}
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 |
Error Type | Status Code | Content Type |
---|---|---|
models/errors/APIException | 4XX, 5XX | */* |