Files
learn-trading/pyproject.toml
T
tomatocream 4e5af95272 feat: add defeatbeta-api integration with comprehensive comparison tools
- Add defeatbeta-api as primary financial data source (replaces yfinance for analysis)
- Add comprehensive Jupyter notebook tutorial (defeatbeta_tutorial.ipynb)
- Add API comparison script (compare_apis.py)
- Add data exploration script (explore_data.py)
- Add basic test script (test_defeatbeta.py)
- Add notebook runner script (run_notebook.sh)
- Add org-mode mapping documentation (docs/defeatbeta_mapping.org)
- Update pyproject.toml with defeatbeta-api dependency
- Add defeatbeta-api as git submodule for reference

DefeatBeta Advantages:
- No rate limits (HuggingFace hosted)
- Historical financial ratios (ROE, ROIC, WACC time series)
- Earnings call transcripts access
- Revenue segmentation by product/geography
- Automated DCF valuation with Excel output
- DuckDB-powered fast queries

Note: .envrc, .jupyter_checkpoints/, __marimo__/, AAPL.xlsx, tearsheet.html
and other generated files intentionally excluded
2026-04-25 17:56:10 +08:00

53 lines
1.2 KiB
TOML

[project]
name = "learn-trading"
version = "0.0.1"
description = "Combined trading research environment"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"marimo>=0.23.2",
"arch>=8.0.0",
"backtesting>=0.6.5",
"backtrader>=1.9.78.123",
"ccxt>=4.5.50",
"empyrical-reloaded>=0.5.12",
"finta>=1.3",
"hmmlearn>=0.3.3",
"jupyterlab>=4.5.6",
"lightgbm>=4.6.0",
"lxml>=6.1.0",
"matplotlib>=3.10.8",
"mplfinance>=0.12.10b0",
"numpy>=2.2.6,<2.3",
"pandas>=2.3.3",
"pandas-ta>=0.4.71b0",
"plotly>=6.7.0",
"polars>=1.40.1",
"pyarrow>=24.0.0",
"pyportfolioopt>=1.6.0",
"qlib>=0.0.2.dev20",
"quantstats>=0.0.81",
"riskfolio-lib>=7.2.1",
"scikit-learn>=1.7.2",
"scipy>=1.17.1",
"sktime>=0.40.1",
"statsmodels>=0.14.6",
"ta>=0.11.0",
"ta-lib>=0.6.8",
"torch>=2.0.0",
"transformers>=4.0.0",
"tscv>=0.1.3",
"vectorbt>=1.0.0",
"xgboost>=3.2.0",
"yfinance>=1.3.0",
"defeatbeta-api>=0.0.45",
]
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[tool.uv.sources]
torch = { index = "pytorch-cpu" }