Files
openbb-invest-api/pyproject.toml
Yaojia Wang f5b22deec3
All checks were successful
continuous-integration/drone/push Build is passing
fix: resolve curl_cffi TLS errors and fix FRED/upgrades endpoints
- Pin curl_cffi==0.7.4 to avoid BoringSSL bug in 0.12-0.14
- Patch curl_cffi Session to use safari TLS fingerprint instead of
  chrome, which triggers SSL_ERROR_SYSCALL on some networks
- Register FRED API key with OpenBB credentials at startup
- Fix macro overview to return latest data instead of oldest, and
  extract values by FRED series ID key
- Replace Finnhub upgrades endpoint (premium-only) with yfinance
  upgrades_downgrades which includes price target changes
- Remove redundant curl_cffi upgrade from Dockerfile
2026-03-19 15:40:41 +01:00

26 lines
489 B
TOML

[project]
name = "openbb-invest-api"
version = "0.1.0"
description = "REST API wrapping OpenBB SDK for stock investment analysis"
requires-python = ">=3.12"
dependencies = [
"fastapi",
"uvicorn[standard]",
"openbb[yfinance]",
"pydantic-settings",
"httpx",
"curl_cffi==0.7.4",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-asyncio",
"pytest-cov",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
pythonpath = ["."]