Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
polakowo
GitHub Repository: polakowo/vectorbt
Path: blob/master/setup.py
1068 views
1
from setuptools import setup, find_packages
2
3
with open('README.md', 'r', encoding="utf-8", errors='ignore') as fh:
4
long_description = fh.read()
5
6
version = {}
7
with open("vectorbt/_version.py", encoding="utf-8") as fp:
8
exec(fp.read(), version)
9
10
setup(
11
name='vectorbt',
12
version=version['__version__'],
13
description='Python library for backtesting and analyzing trading strategies at scale',
14
author='Oleg Polakow',
15
author_email='[email protected]',
16
long_description=long_description,
17
long_description_content_type='text/markdown',
18
url='https://github.com/polakowo/vectorbt',
19
packages=find_packages(),
20
package_data={
21
'vectorbt': ['templates/*.json']
22
},
23
install_requires=[
24
'numpy>=1.16.5',
25
'pandas',
26
'scipy',
27
'matplotlib',
28
'plotly>=4.12.0',
29
'ipywidgets>=7.0.0',
30
"numba>=0.53.1, <0.57.0; python_version<'3.10'",
31
"numba>=0.56.0, <0.57.0; python_version>='3.10' and python_version<'3.11'",
32
"numba>=0.57.0; python_version>='3.11'",
33
'dill',
34
'tqdm',
35
'dateparser',
36
'imageio',
37
'scikit-learn',
38
'schedule',
39
'requests',
40
'pytz',
41
'typing_extensions; python_version < "3.8"',
42
'mypy_extensions'
43
],
44
extras_require={
45
'full': [
46
'yfinance>=0.2.22',
47
'python-binance',
48
'ccxt>=4.0.14',
49
'alpaca-py',
50
'ray>=1.4.1',
51
'ta',
52
'pandas-ta-classic',
53
'TA-Lib',
54
'python-telegram-bot>=13.4,<20.0', # LGPLv3
55
'quantstats>=0.0.37'
56
],
57
'full-no-talib': [
58
'yfinance>=0.2.22',
59
'python-binance',
60
'ccxt>=4.0.14',
61
'alpaca-py',
62
'ray>=1.4.1',
63
'ta',
64
'pandas-ta-classic',
65
'python-telegram-bot>=13.4,<20.0', # LGPLv3
66
'quantstats>=0.0.37'
67
],
68
'cov': [
69
'pytest',
70
'pytest-cov',
71
'codecov'
72
]
73
},
74
python_requires='>=3.6',
75
license='Apache 2.0 with Commons Clause',
76
classifiers=[
77
'Development Status :: 5 - Production/Stable',
78
'Intended Audience :: Developers',
79
'Intended Audience :: Financial and Insurance Industry',
80
'License :: Free for non-commercial use',
81
'Programming Language :: Python :: 3.6',
82
'Programming Language :: Python :: 3.7',
83
'Programming Language :: Python :: 3.8',
84
'Programming Language :: Python :: 3.9',
85
'Programming Language :: Python :: 3.10',
86
'Programming Language :: Python :: 3.11',
87
'Programming Language :: Python :: 3.12',
88
'Operating System :: OS Independent',
89
'Intended Audience :: Science/Research',
90
'Topic :: Software Development',
91
'Topic :: Office/Business :: Financial',
92
'Topic :: Scientific/Engineering :: Information Analysis'
93
],
94
)
95
96