forked from tradingstrategy-ai/trading-strategy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
72 lines (60 loc) · 1.96 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
[tool.poetry]
name = "trading-strategy"
version = "0.15.2"
description = "DEX and cryptocurrency trading data for Python - OHCLV, Uniswap, others"
authors = ["Mikko Ohtamaa <mikko@tradingstrategy.ai>"]
homepage = "https://tradingstrategy.ai"
repository = "https://github.com/tradingstrategy-ai/trading-strategy"
license = "AGPL"
readme = "README.md"
keywords = ["algorithmic trading", "ethereum", "polygon", "avalanche", "arbiotrum", "cryptocurrency", "uniswap", "quantitative finance", "binance", "blockchain", "pancakeswap", "polygon", "web3"]
packages = [
{ include = "tradingstrategy" },
]
[tool.poetry.dependencies]
# Web3.py dependency compatibility
# E.g. ethpm
python = ">=3.10,<3.11"
dataclasses-json = "^0.5.4"
pandas = "^1.3.5"
pyarrow = "10.0.1"
tqdm = "^4.61.2"
plotly = "^5.1.0"
jsonlines = "^3.1.0"
requests = "^2.28.1"
tqdm-loggable = "^0.1.2"
# Needed for direct data feeds
typer = {version = "^0.7.0", optional = true}
web3-ethereum-defi = "0.18.1"
dash = {version = "^2.7.1", optional = true}
# Legacy strategy and trading engines
trading-strategy-qstrader = {version="^0.5.0", optional = true}
scipy = {version="^1.6.1", optional = true}
trading-strategy-backtrader = {version="^0.1", optional = true}
coloredlogs = {version = "^15.0.1", optional = true}
[tool.poetry.dev-dependencies]
pytest = "7.1.3"
ipdb = "^0.13.9"
coloredlogs = "^15.0.1"
memory-profiler = "^0.60.0"
poetry-core = "^1.1.0"
pytest-asyncio = "^0.19.0"
[tool.poetry.extras]
# Real-time OHLCV feeds over JSON-RPC
direct-feed = ["web3-ethereum-defi", "typer", "dash"]
# Legacy qstrader framework support
qstrader = ["scipy", "trading-strategy-qstrader"]
# Legacy backtrader framework support
backtrader = ["trading-strategy-backtrader"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
# https://docs.pytest.org/en/6.2.x/customize.html
[tool.pytest.ini_options]
addopts = "-s --tb=native"
testpaths = [
"tests",
]
filterwarnings = [
"ignore::FutureWarning"
]