test(api): add yahoo fixtures, mock-provider errors, and CLI integration coverage

This commit is contained in:
Ciphercat 2026-03-05 18:28:40 +00:00
commit 639ee4b041
6 changed files with 233 additions and 51 deletions

25
tests/fixtures/chart_bbca_3mo.json vendored Normal file
View file

@ -0,0 +1,25 @@
{
"chart": {
"result": [
{
"meta": {
"symbol": "BBCA.JK",
"regularMarketPrice": 9875.0,
"previousClose": 9758.0
},
"timestamp": [1709251200, 1709337600, 1709424000],
"indicators": {
"quote": [
{
"open": [9800.0, 9850.0, 9860.0],
"high": [9900.0, 9920.0, 9950.0],
"low": [9750.0, 9800.0, 9820.0],
"close": [9875.0, 9880.0, 9925.0],
"volume": [12300000, 11000000, 14000000]
}
]
}
}
]
}
}