How can get fetch datagrid fields thru RDP?

Hi,


I'm trying to fetch SH_SAL_RES field thru RDP's api /data/datagrid/beta1/


the body I used is

{

"universe": [

"008560.KS"

],

"fields": [

"SH_SAL_RES"

]

}

and result is


{

"error": {

"code": 218,

"description": "The formula must contain at least one field or function."

}

}


The screenshot for more information is

스크린샷-2023-04-23-174259.png

.


It gives me error.


The python code I'm trying to replicate is


df, err = ek.get_data(

instruments = ['008560.KS'],

fields = ['SH_SAL_RES']

)


Thank you.

Best Answer

Answers