forked from 3-Mousketaires/backtesting.py
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
122 lines (118 loc) · 3.41 KB
/
setup.py
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
import os
import sys
if sys.version_info < (3, 4):
sys.exit('ERROR: Backtesting.py requires Python 3.4+')
if __name__ == '__main__':
from setuptools import setup, find_packages
setup(
name='Backtesting',
description="Backtest trading strategies in Python",
license='AGPL-3.0',
url='https://kernc.github.io/backtesting.py/',
project_urls={
'Documentation': 'https://kernc.github.io/backtesting.py/doc/backtesting/',
'Source': 'https://github.com/kernc/backtesting.py/',
'Tracker': 'https://github.com/kernc/backtesting.py/issues',
},
long_description=open(os.path.join(os.path.dirname(__file__), 'README.md')).read(),
long_description_content_type='text/markdown',
packages=find_packages(),
include_package_data=True,
setup_requires=[
'setuptools_git',
'setuptools_scm',
],
use_scm_version={
'write_to': os.path.join('backtesting', '_version.py'),
},
install_requires=[
'typing ; python_version < "3.5"',
'numpy',
'pandas >= 0.21.0',
'bokeh >= 0.12.15',
],
extras_require={
'doc': [
'pdoc3',
'jupytext >= 1.0.2',
'nbconvert',
'ipykernel', # for nbconvert
'jupyter_client', # for nbconvert
],
'test': [
'seaborn',
'matplotlib',
],
'dev': [
'flake8',
],
},
test_suite="backtesting.test",
python_requires='>=3.4',
author='Zach Lûster',
classifiers=[
'Intended Audience :: Financial and Insurance Industry',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Office/Business :: Financial :: Investment',
'Topic :: Scientific/Engineering :: Visualization',
],
keywords=(
'algo',
'algorithmic',
'ashi',
'backtest',
'backtesting',
'bitcoin',
'bokeh',
'bonds',
'candles',
'candlestick',
'cboe',
'chart',
'cme',
'commodities',
'crash',
'crypto',
'currency',
'drawdown',
'equity',
'ethereum',
'exchange',
'finance',
'financial',
'forex',
'fund',
'futures',
'fx',
'fxpro',
'gold',
'heiken',
'historical',
'indicator',
'invest',
'investing',
'investment',
'macd',
'market',
'mechanical',
'money',
'oanda',
'ohlc',
'ohlcv',
'order',
'profit',
'quant',
'quantitative',
'silver',
'stocks',
'strategy',
'ticker',
'trader',
'trading',
'tradingview',
'usd',
),
)