> ## Documentation Index
> Fetch the complete documentation index at: https://docs.benzinga.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 수익 비율

> earningRatios()

[\< 뒤로](/ko/sdks/languages/java#earningratios)

<div id="overview">
  ## 개요
</div>

<div id="available-operations">
  ### 사용 가능한 작업
</div>

* [get](#get) - 수익 비율 V2.1 가져오기

<div id="get">
  ## get
</div>

심볼, 국제증권식별번호(ISIN) 또는 CIK 목록에 대한 이익 비율을 가져옵니다.

<div id="example-usage">
  ### 사용 예시
</div>

```java theme={null}
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()) {
            // 응답 처리
        }
    }
}
```

<div id="parameters">
  ### Parameters
</div>

| 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: | 보고서 유형        |

<div id="response">
  ### 응답
</div>

**[GetEarningRatiosV21Response](../../models/operations/GetEarningRatiosV21Response.md)**

<div id="errors">
  ### 오류
</div>

| 오류 유형                      | 상태 코드    | 콘텐츠 유형 |
| -------------------------- | -------- | ------ |
| models/errors/APIException | 4XX, 5XX | */*    |
