mirror of
https://github.com/0xrsydn/idx-cli.git
synced 2026-08-07 01:33:52 +00:00
test: fixture test msn-only
This commit is contained in:
parent
fe5f46f4d2
commit
7ea79d24e6
2 changed files with 50 additions and 18 deletions
31
tests/fixtures/msn_insights_bbca.json
vendored
31
tests/fixtures/msn_insights_bbca.json
vendored
|
|
@ -2,16 +2,37 @@
|
|||
{
|
||||
"instrumentId": "bn91jc",
|
||||
"displayName": "Bank Central Asia Tbk PT",
|
||||
"timeLastUpdated": "2026-03-26T04:14:57.9197955Z",
|
||||
"insights": [
|
||||
{
|
||||
"insightName": "Valuation",
|
||||
"insightName": "P/E ratio",
|
||||
"category": "Valuation",
|
||||
"insightStatement": "Shares trade near historical averages."
|
||||
"insightStatement": "Unable to compare with peers due to missing earnings data",
|
||||
"shortInsightStatement": "Earnings data unavailable, can't compare P/E ratio with peers",
|
||||
"details": {
|
||||
"evaluationStatus": "NA"
|
||||
},
|
||||
"timeLastUpdated": "0001-01-01T00:00:00"
|
||||
},
|
||||
{
|
||||
"insightName": "Asset Quality",
|
||||
"category": "Risk",
|
||||
"insightStatement": "Loan quality remains stable."
|
||||
"insightName": "Analyst price target",
|
||||
"category": "Valuation",
|
||||
"insightStatement": "BBCA target price is more than 20% higher than the current share price based on analyst forecast",
|
||||
"shortInsightStatement": "Analysts forecast more than 20% upside for 12-month price target",
|
||||
"details": {
|
||||
"evaluationStatus": "good"
|
||||
},
|
||||
"timeLastUpdated": "0001-01-01T00:00:00"
|
||||
},
|
||||
{
|
||||
"insightName": "Quarterly Revenue YoY Growth",
|
||||
"category": "Earnings",
|
||||
"insightStatement": "BBCA revenue declined by 6.09% YoY, which is 31.46% worse than its peers (25.37%)",
|
||||
"shortInsightStatement": "Revenue grew worse than peers",
|
||||
"details": {
|
||||
"evaluationStatus": "bad"
|
||||
},
|
||||
"timeLastUpdated": "0001-01-01T00:00:00"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
37
tests/fixtures/msn_profile_bbca.json
vendored
37
tests/fixtures/msn_profile_bbca.json
vendored
|
|
@ -1,18 +1,29 @@
|
|||
[
|
||||
{
|
||||
"id": "bn91jc",
|
||||
"symbol": "BBCA.JK",
|
||||
"shortName": "BBCA",
|
||||
"longName": "Bank Central Asia Tbk PT",
|
||||
"description": "PT Bank Central Asia Tbk provides commercial banking services in Indonesia.",
|
||||
"sector": "Financial Services",
|
||||
"industry": "Banks",
|
||||
"website": "https://www.bca.co.id",
|
||||
"fullTimeEmployees": 24100,
|
||||
"address": "Menara BCA, Grand Indonesia",
|
||||
"city": "Jakarta",
|
||||
"country": "Indonesia",
|
||||
"phone": "+62-21-23588000",
|
||||
"id": "feee16af-c94c-465d-a59d-a9727c22bd0e",
|
||||
"symbol": "BBCA",
|
||||
"shortName": "Bank Cntrl Asia",
|
||||
"displayName": "Bank Central Asia Tbk PT",
|
||||
"country": "ID",
|
||||
"company": {
|
||||
"address": {
|
||||
"street": "Menara BCA, Grand, Jl. MH Thamrin No. 1",
|
||||
"city": "JAKARTA PUSAT",
|
||||
"country": "Indonesia",
|
||||
"phone": "+62 21 23588000"
|
||||
},
|
||||
"description": "PT Bank Central Asia Tbk (the Bank) is an Indonesia-based commercial bank.",
|
||||
"employees": 27937,
|
||||
"industry": "Banking Services",
|
||||
"sector": "Financials",
|
||||
"website": "https://www.bca.co.id/"
|
||||
},
|
||||
"localizedAttributes": {
|
||||
"en-us": {
|
||||
"displayName": "PT Bank Central Asia Tbk",
|
||||
"description": "PT Bank Central Asia Tbk (the Bank) is an Indonesia-based commercial bank."
|
||||
}
|
||||
},
|
||||
"officers": [
|
||||
{
|
||||
"name": "Jahja Setiaatmadja",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue