(valuationRatios())
- get - Get valuation ratios V2.1
Get valuation ratios for a list of symbols, ISINs, or CIKs
package hello.world;
import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.operations.GetValuationRatiosV21Response;
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();
GetValuationRatiosV21Response res = sdk.valuationRatios().get()
.symbols("<value>")
.asOf("<value>")
.period("<value>")
.reportType("<value>")
.call();
if (res.string().isPresent()) {
// handle response
}
}
}
Parameter | Type | Required | Description |
---|---|---|---|
symbols |
Optional<String> | ➖ | Comma separated list of symbols |
asOf |
Optional<String> | ➖ | As of date |
period |
Optional<String> | ➖ | Period |
reportType |
Optional<String> | ➖ | Report Type |
Error Type | Status Code | Content Type |
---|---|---|
models/errors/APIException | 4XX, 5XX | */* |