< BACK

Overview

Available Operations

  • get - Get derived figures and ratios V3

get

Get derived figures and ratios for a list of symbols

Example Usage

package hello.world;

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

public class Application {

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

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

        GetDerivedFiguresAndRatiosV3Response res = sdk.derivedFiguresAndRatios().get()
                .symbols("<value>")
                .from("<value>")
                .to("<value>")
                .date("2024-08-12")
                .call();

        if (res.string().isPresent()) {
            // handle response
        }
    }
}

Parameters

ParameterTypeRequiredDescription
symbolsString:heavy_check_mark:Comma separated list of symbols
fromOptional<String>:heavy_minus_sign:From date
toOptional<String>:heavy_minus_sign:To date
dateOptional<String>:heavy_minus_sign:Report Type

Response

GetDerivedFiguresAndRatiosV3Response

Errors

Error TypeStatus CodeContent Type
models/errors/APIException4XX, 5XX*/*

Was this page helpful?