Skip to main content
< VOLVER

Descripciรณn general

Operaciones disponibles

  • get - Obtener mรฉtricas y ratios derivados v3
Obtener ratios y cifras derivadas para una lista de sรญmbolos

Ejemplo de uso

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()) {
            // manejar la respuesta
        }
    }
}

Parรกmetros

ParรกmetroTipoObligatorioDescripciรณn
symbolsString:heavy_check_mark:Lista de sรญmbolos separada por comas
fromOptional<String>:heavy_minus_sign:Fecha de inicio
toOptional<String>:heavy_minus_sign:Fecha de fin
dateOptional<String>:heavy_minus_sign:Tipo de informe

Respuesta

GetDerivedFiguresAndRatiosV3Response

Errores

Tipo de errorCรณdigo de estadoTipo de contenido
models/errors/APIException4XX, 5XX/