Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 2.16 KB

File metadata and controls

62 lines (43 loc) · 2.16 KB

DerivedFiguresAndRatios

(derivedFiguresAndRatios())

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 com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.operations.GetDerivedFiguresAndRatiosV3Response;
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();

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

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

Parameters

Parameter Type Required Description
symbols String ✔️ Comma separated list of symbols
from Optional<String> From date
to Optional<String> To date
date Optional<String> Report Type

Response

GetDerivedFiguresAndRatiosV3Response

Errors

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