Welcome to the Forum

Creating an account is currently only possible via registration at SimFin.

Getting PBV ratio only return current TTM

Hi all,

I follow the sample code on the Github to get PBV for current TTM, TTM-1, and TTM-2, but only current TTM return a value, while TTM-1 and TTM-2 return null.

data = {
"search": [
{
"indicatorId": "4-16",
"meta": [
{
"id": 6,
"value": "TTM",
"operator": "eq"
},
],
},
{
"indicatorId": "4-16",
"meta": [
{
"id": 6,
"value": "TTM-1",
"operator": "eq"
},
],
},
{
"indicatorId": "4-16",
"meta": [
{
"id": 6,
"value": "TTM-2",
"operator": "eq"
},
],
}
],
"simIdList": [
172199
]
}

Also when I tried to get PBV for a financial year, it didn't work as well
data2 = {
"search": [
{
"indicatorId": indicator,
"meta": [
{
"id": 6,
"value": "fy",
"operator": "eq"
},
{
"id": 7,
"value": 2017,
"operator": "eq"
}
],
}
],
"simIdList": [
172199
]
}

Anyone can help give me a clue? Thanks

Comments

Sign In to comment.