-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
100 lines (92 loc) · 3.58 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[tool.poetry]
name = "pfund"
version = "0.0.2"
description = "A Complete Algo-Trading Framework for Machine Learning, enabling trading across TradFi, CeFi and DeFi. Supports Vectorized and Event-Driven Backtesting, Paper and Live Trading"
license = "Apache-2.0"
authors = ["Stephen Yau <[email protected]>"]
readme = "README.md"
homepage = "https://pfund.ai"
repository = "https://github.com/PFund-Software-Ltd/pfund"
documentation = "https://pfund-docs.pfund.ai"
keywords = ["trading", "algo-trading", "stocks", "cryptos", "cryptocurrencies", "TradFi", "CeFi", "DeFi", "portfolio management", "investment", "backtesting", "machine learning"]
classifiers = [
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Financial and Insurance Industry",
"Intended Audience :: Information Technology",
"Topic :: Office/Business :: Financial :: Investment",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
include = ['logging.yml', 'docker-compose.yml']
[tool.poetry.dependencies]
python = "^3.10"
rich = "^13.7.1"
tqdm = "^4.66.2"
click = "^8.1.7"
pfeed = "^0.0.2"
pyyaml = "^6.0.1"
trogon = "^0.6.0"
orjson = "^3.10.1"
ipython = "^8.23.0"
requests = "^2.31.0"
platformdirs = "^4.3.6"
python-dotenv = "^1.0.1"
websocket-client = "^1.8.0"
pfolio = {extras = ["all"], version = "^0.0.2", optional = true}
pfund-plot = {version = "^0.0.1.dev2", optional = true}
ray = {version = "^2.40.0", optional = true}
psutil = {version = "^6.1.1", optional = true}
gitpython = {version = "^3.1.43", optional = true}
ta = { version = "^0.11.0", optional = true }
ta-lib = {version = "^0.6.0", optional = true}
schedule = {version = "^1.2.2", optional = true}
pyzmq = {version = "^26.2.0", optional = true}
redis = {extras = ["hiredis"], version = "^5.1.1", optional = true}
python-telegram-bot = {version = "^21.5", optional = true}
joblib = {version = "^1.4.2", optional = true}
scikit-learn = {version = "^1.5.2", optional = true}
torch = {version = "^2.4.1", optional = true}
mlflow = {version = "^2.16.1", optional = true}
optuna = {version = "^4.0.0", optional = true}
feast = {version = "^0.40.1", optional = true}
[tool.poetry.extras]
backtest = ["ray", "psutil", "pfolio", "pfund-plot", "gitpython", "ta"]
train = ["joblib", "scikit-learn", "torch", "mlflow", "optuna", "feast"]
trade = ["psutil", "schedule", "pyzmq", "redis", "python-telegram-bot"]
talib = ["ta-lib"]
all = [
"ray", "psutil", "pfolio", "pfund-plot", "gitpython", "ta", # backtest
"joblib", "scikit-learn", "torch", "mlflow", "optuna", "feast", # ML training
"schedule", "pyzmq", "redis", "python-telegram-bot", # trade
]
[tool.poetry.scripts]
pfund = "pfund.main:run_cli"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
pfeed = {path = "../pfeed", develop = true}
pfolio = {extras = ["all"], path = "../pfolio", develop = true}
pfund-plot = {path = "../pfund-plot", develop = true}
pybit = "^5.8.0"
mypy = "^1.11.2"
ruff = "^0.6.9"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = "^8.3.3"
pytest-cov = "^5.0.0"
pytest-mock = "^3.14.0"
pytest-xdist = "^3.6.1"
tox = "^4.21.2"
faker = "^30.1.0"
bandit = "^1.7.10"
pre-commit = "^4.0.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"