2017-09-28 21:26:56 +00:00
|
|
|
from setuptools import setup
|
|
|
|
|
2020-09-28 17:43:32 +00:00
|
|
|
|
2019-07-29 18:53:26 +00:00
|
|
|
# Requirements used for submodules
|
2024-05-12 16:03:54 +00:00
|
|
|
plot = ["plotly>=4.0"]
|
2019-09-24 13:03:40 +00:00
|
|
|
hyperopt = [
|
2024-05-12 16:03:54 +00:00
|
|
|
"scipy",
|
|
|
|
"scikit-learn",
|
|
|
|
"ft-scikit-optimize>=0.9.2",
|
|
|
|
"filelock",
|
2022-02-05 14:18:05 +00:00
|
|
|
]
|
2019-07-29 18:53:26 +00:00
|
|
|
|
2022-07-31 13:10:01 +00:00
|
|
|
freqai = [
|
2024-05-12 16:03:54 +00:00
|
|
|
"scikit-learn",
|
|
|
|
"joblib",
|
2022-08-01 07:32:25 +00:00
|
|
|
'catboost; platform_machine != "aarch64"',
|
2024-05-12 16:03:54 +00:00
|
|
|
"lightgbm",
|
|
|
|
"xgboost",
|
|
|
|
"tensorboard",
|
|
|
|
"datasieve>=0.1.5",
|
2022-10-05 15:20:40 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
freqai_rl = [
|
2024-05-12 16:03:54 +00:00
|
|
|
"torch",
|
|
|
|
"gymnasium",
|
|
|
|
"stable-baselines3",
|
|
|
|
"sb3-contrib",
|
|
|
|
"tqdm",
|
2022-07-31 13:10:01 +00:00
|
|
|
]
|
|
|
|
|
2022-12-28 15:04:21 +00:00
|
|
|
hdf5 = [
|
2024-05-12 16:03:54 +00:00
|
|
|
"tables",
|
|
|
|
"blosc",
|
2022-12-28 15:04:21 +00:00
|
|
|
]
|
|
|
|
|
2019-07-29 18:53:26 +00:00
|
|
|
develop = [
|
2024-05-12 16:03:54 +00:00
|
|
|
"coveralls",
|
|
|
|
"isort",
|
|
|
|
"mypy",
|
|
|
|
"pre-commit",
|
|
|
|
"pytest-asyncio",
|
|
|
|
"pytest-cov",
|
|
|
|
"pytest-mock",
|
|
|
|
"pytest-random-order",
|
|
|
|
"pytest",
|
|
|
|
"ruff",
|
|
|
|
"time-machine",
|
|
|
|
"types-cachetools",
|
|
|
|
"types-filelock",
|
|
|
|
"types-python-dateutil" "types-requests",
|
|
|
|
"types-tabulate",
|
2019-07-29 18:53:26 +00:00
|
|
|
]
|
|
|
|
|
2019-08-09 02:09:15 +00:00
|
|
|
jupyter = [
|
2024-05-12 16:03:54 +00:00
|
|
|
"jupyter",
|
|
|
|
"nbstripout",
|
|
|
|
"ipykernel",
|
|
|
|
"nbconvert",
|
2021-09-21 21:52:12 +00:00
|
|
|
]
|
2019-08-09 02:09:15 +00:00
|
|
|
|
2022-12-28 15:04:21 +00:00
|
|
|
all_extra = plot + develop + jupyter + hyperopt + hdf5 + freqai + freqai_rl
|
2017-09-28 21:26:56 +00:00
|
|
|
|
2021-05-27 12:00:13 +00:00
|
|
|
setup(
|
|
|
|
tests_require=[
|
2024-05-12 16:03:54 +00:00
|
|
|
"pytest",
|
|
|
|
"pytest-asyncio",
|
|
|
|
"pytest-cov",
|
|
|
|
"pytest-mock",
|
2021-09-21 21:52:12 +00:00
|
|
|
],
|
2021-05-27 12:00:13 +00:00
|
|
|
install_requires=[
|
|
|
|
# from requirements.txt
|
2024-05-12 16:03:54 +00:00
|
|
|
"ccxt>=4.2.47",
|
|
|
|
"SQLAlchemy>=2.0.6",
|
|
|
|
"python-telegram-bot>=20.1",
|
|
|
|
"humanize>=4.0.0",
|
|
|
|
"cachetools",
|
|
|
|
"requests",
|
|
|
|
"httpx>=0.24.1",
|
|
|
|
"urllib3",
|
|
|
|
"jsonschema",
|
|
|
|
"numpy",
|
|
|
|
"pandas>=2.2.0,<3.0",
|
|
|
|
"TA-Lib",
|
|
|
|
"pandas-ta",
|
|
|
|
"technical",
|
|
|
|
"tabulate",
|
|
|
|
"pycoingecko",
|
|
|
|
"py_find_1st",
|
|
|
|
"python-rapidjson",
|
|
|
|
"orjson",
|
|
|
|
"colorama",
|
|
|
|
"jinja2",
|
|
|
|
"questionary",
|
|
|
|
"prompt-toolkit",
|
|
|
|
"joblib>=1.2.0",
|
|
|
|
"rich",
|
2022-09-27 11:06:13 +00:00
|
|
|
'pyarrow; platform_machine != "armv7l"',
|
2024-05-12 16:03:54 +00:00
|
|
|
"fastapi",
|
|
|
|
"pydantic>=2.2.0",
|
|
|
|
"pyjwt",
|
|
|
|
"websockets",
|
|
|
|
"uvicorn",
|
|
|
|
"psutil",
|
|
|
|
"schedule",
|
|
|
|
"janus",
|
|
|
|
"ast-comments",
|
|
|
|
"aiofiles",
|
|
|
|
"aiohttp",
|
|
|
|
"cryptography",
|
|
|
|
"sdnotify",
|
|
|
|
"python-dateutil",
|
|
|
|
"pytz",
|
|
|
|
"packaging",
|
|
|
|
"freqtrade-client",
|
2021-05-27 12:00:13 +00:00
|
|
|
],
|
|
|
|
extras_require={
|
2024-05-12 16:03:54 +00:00
|
|
|
"dev": all_extra,
|
|
|
|
"plot": plot,
|
|
|
|
"jupyter": jupyter,
|
|
|
|
"hyperopt": hyperopt,
|
|
|
|
"hdf5": hdf5,
|
|
|
|
"freqai": freqai,
|
|
|
|
"freqai_rl": freqai_rl,
|
|
|
|
"all": all_extra,
|
2021-05-27 12:00:13 +00:00
|
|
|
},
|
2023-12-16 19:51:46 +00:00
|
|
|
url="https://github.com/freqtrade/freqtrade",
|
2021-05-27 12:00:13 +00:00
|
|
|
)
|