نظرة عامة
العمليات المتاحة
- get - جلب نسب الأرباح v2.1
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
earningRatios()
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetEarningRatiosV21Response;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetEarningRatiosV21Response res = sdk.earningRatios().get()
.symbols("<value>")
.asOf("<value>")
.period("<value>")
.reportType("<value>")
.call();
if (res.string().isPresent()) {
// معالجة الرد
}
}
}
| Parameter | Type | Required | Description |
|---|---|---|---|
symbols | Optional<String> | :heavy_minus_sign: | قائمة من الرموز مفصولة بفواصل |
asOf | Optional<String> | :heavy_minus_sign: | تاريخ السريان |
period | Optional<String> | :heavy_minus_sign: | الفترة |
reportType | Optional<String> | :heavy_minus_sign: | نوع التقرير |
| نوع الخطأ | رمز الحالة | نوع المحتوى |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | / |
Was this page helpful?