1
0

学习使用backtrader

This commit is contained in:
2025-02-11 22:56:21 +08:00
parent 5236a0f6f9
commit e1eba0559e
3 changed files with 725 additions and 24 deletions

17
poetry.lock generated
View File

@@ -3280,21 +3280,6 @@ numpy = "*"
test = ["pandas", "pytest", "pytest-cov"] test = ["pandas", "pytest", "pytest-cov"]
ujson = ["ujson (>=5.5.0)"] ujson = ["ujson (>=5.5.0)"]
[[package]]
name = "ta-lib"
version = "0.6.3"
description = "Python wrapper for TA-Lib"
optional = false
python-versions = "*"
groups = ["main"]
files = [
{file = "ta_lib-0.6.3.tar.gz", hash = "sha256:0c628db09b3fab6e5c26979e608b674e7aecc10359c82ba8d53f729767a856ac"},
]
[package.dependencies]
numpy = "*"
setuptools = "*"
[[package]] [[package]]
name = "tabulate" name = "tabulate"
version = "0.9.0" version = "0.9.0"
@@ -3585,4 +3570,4 @@ test = ["pytest", "pytest-cov"]
[metadata] [metadata]
lock-version = "2.1" lock-version = "2.1"
python-versions = "^3.12" python-versions = "^3.12"
content-hash = "40ca96657ad381e086f3ea182f88c07ff7d44daa425efe1942266d112701c0ba" content-hash = "29e798d42060fe4b0385b221e0c9c01976745e79ca6cc12b3e626d67d2607439"

View File

@@ -15,7 +15,6 @@ matplotlib = "^3.10.0"
prophet = "^1.1.6" prophet = "^1.1.6"
mplfinance = "^0.12.10b0" mplfinance = "^0.12.10b0"
scipy = "^1.15.1" scipy = "^1.15.1"
ta-lib = "^0.6.3"
backtrader = "^1.9.78.123" backtrader = "^1.9.78.123"

File diff suppressed because one or more lines are too long