95 lines
2.9 KiB
Python
95 lines
2.9 KiB
Python
|
|
from setuptools import setup, find_packages
|
||
|
|
|
||
|
|
with open('README.md', 'r', encoding="utf-8", errors='ignore') as fh:
|
||
|
|
long_description = fh.read()
|
||
|
|
|
||
|
|
version = {}
|
||
|
|
with open("vectorbt/_version.py", encoding="utf-8") as fp:
|
||
|
|
exec(fp.read(), version)
|
||
|
|
|
||
|
|
setup(
|
||
|
|
name='vectorbt',
|
||
|
|
version=version['__version__'],
|
||
|
|
description='Python library for backtesting and analyzing trading strategies at scale',
|
||
|
|
author='Oleg Polakow',
|
||
|
|
author_email='olegpolakow@gmail.com',
|
||
|
|
long_description=long_description,
|
||
|
|
long_description_content_type='text/markdown',
|
||
|
|
url='https://github.com/polakowo/vectorbt',
|
||
|
|
packages=find_packages(),
|
||
|
|
package_data={
|
||
|
|
'vectorbt': ['templates/*.json']
|
||
|
|
},
|
||
|
|
install_requires=[
|
||
|
|
'numpy>=1.16.5',
|
||
|
|
'pandas',
|
||
|
|
'scipy',
|
||
|
|
'matplotlib',
|
||
|
|
'plotly>=4.12.0',
|
||
|
|
'ipywidgets>=7.0.0',
|
||
|
|
"numba>=0.53.1, <0.57.0; python_version<'3.10'",
|
||
|
|
"numba>=0.56.0, <0.57.0; python_version>='3.10' and python_version<'3.11'",
|
||
|
|
"numba>=0.57.0; python_version>='3.11'",
|
||
|
|
'dill',
|
||
|
|
'tqdm',
|
||
|
|
'dateparser',
|
||
|
|
'imageio',
|
||
|
|
'scikit-learn',
|
||
|
|
'schedule',
|
||
|
|
'requests',
|
||
|
|
'pytz',
|
||
|
|
'typing_extensions; python_version < "3.8"',
|
||
|
|
'mypy_extensions'
|
||
|
|
],
|
||
|
|
extras_require={
|
||
|
|
'full': [
|
||
|
|
'yfinance>=0.2.22',
|
||
|
|
'python-binance',
|
||
|
|
'ccxt>=4.0.14',
|
||
|
|
'alpaca-py',
|
||
|
|
'ray>=1.4.1',
|
||
|
|
'ta',
|
||
|
|
'pandas_ta',
|
||
|
|
'TA-Lib',
|
||
|
|
'python-telegram-bot>=13.4,<20.0', # LGPLv3
|
||
|
|
'quantstats>=0.0.37'
|
||
|
|
],
|
||
|
|
'full-no-talib': [
|
||
|
|
'yfinance>=0.2.22',
|
||
|
|
'python-binance',
|
||
|
|
'ccxt>=4.0.14',
|
||
|
|
'alpaca-py',
|
||
|
|
'ray>=1.4.1',
|
||
|
|
'ta',
|
||
|
|
'pandas_ta',
|
||
|
|
'python-telegram-bot>=13.4,<20.0', # LGPLv3
|
||
|
|
'quantstats>=0.0.37'
|
||
|
|
],
|
||
|
|
'cov': [
|
||
|
|
'pytest',
|
||
|
|
'pytest-cov',
|
||
|
|
'codecov'
|
||
|
|
]
|
||
|
|
},
|
||
|
|
python_requires='>=3.6',
|
||
|
|
license='Apache 2.0 with Commons Clause',
|
||
|
|
classifiers=[
|
||
|
|
'Development Status :: 5 - Production/Stable',
|
||
|
|
'Intended Audience :: Developers',
|
||
|
|
'Intended Audience :: Financial and Insurance Industry',
|
||
|
|
'License :: Free for non-commercial use',
|
||
|
|
'Programming Language :: Python :: 3.6',
|
||
|
|
'Programming Language :: Python :: 3.7',
|
||
|
|
'Programming Language :: Python :: 3.8',
|
||
|
|
'Programming Language :: Python :: 3.9',
|
||
|
|
'Programming Language :: Python :: 3.10',
|
||
|
|
'Programming Language :: Python :: 3.11',
|
||
|
|
'Programming Language :: Python :: 3.12',
|
||
|
|
'Operating System :: OS Independent',
|
||
|
|
'Intended Audience :: Science/Research',
|
||
|
|
'Topic :: Software Development',
|
||
|
|
'Topic :: Office/Business :: Financial',
|
||
|
|
'Topic :: Scientific/Engineering :: Information Analysis'
|
||
|
|
],
|
||
|
|
)
|