-
Notifications
You must be signed in to change notification settings - Fork 188
/
pyproject.toml
99 lines (91 loc) · 2.81 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
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
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.poetry]
name = "quantdom"
version = "0.1.1"
readme = "README.rst"
authors = ["Constverum <[email protected]>"]
description = "Simple but powerful backtesting framework, that strives to let you focus on modeling financial strategies, portfolio management, and analyzing backtests."
homepage = "https://github.com/constverum/Quantdom"
repository = "https://github.com/constverum/Quantdom"
documentation = "https://github.com/constverum/Quantdom"
license = "Apache-2.0"
include = [
"LICENSE",
"README.rst",
"CHANGELOG.rst",
"quantdom/report_rows.json"
]
keywords = [
"quant", "quantitative", "backtest", "backtesting", "quantitative-finance",
"trading", "trading-strategies", "trading-platform", "algo", "algotrading",
"algorithmic", "algorithmic-trading", "finance", "fintech", "financial-analysis",
"stocks", "stock-market", "strategy", "market", "investment", "currency", "forex",
"fund", "futures"
]
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Operating System :: POSIX",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Financial and Insurance Industry",
"Intended Audience :: Science/Research",
"Topic :: Office/Business :: Financial",
"Topic :: Office/Business :: Financial :: Investment",
"License :: OSI Approved :: Apache Software License"
]
[tool.poetry.dependencies]
python = "^3.6"
PyQt5 = "^5.11"
PyQt5-sip = "^4.19"
pyqtgraph = "^0.10.0"
numpy = "^1.16"
pandas = "^0.24.1"
pandas-datareader = "^0.7.0"
[tool.poetry.dev-dependencies]
black = {version = "^18.3-alpha.0",allows-prereleases = true}
flake8 = "^3.7"
isort = "^4.3"
pytest = "^4.2"
pytest-qt = "^3.2"
pytest-runner = "^4.2"
pytest-isort = "^0.2.1"
pytest-flake8 = "^1.0"
[tool.poetry.scripts]
quantdom = "quantdom.cli:cli"
[tool.black]
py36 = true
line-length = 80
skip-string-normalization = true
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| build
| dist
)
)
'''
# https://github.com/pytest-dev/pytest/issues/1556
# https://github.com/pytest-dev/pytest/pull/3686
# [tool.poetry.plugins.pytest]
# addopts = --verbose
# testpaths = tests
# qt_api = pyqt5
# https://gitlab.com/pycqa/flake8/issues/428
# https://gitlab.com/pycqa/flake8/merge_requests/245
# [tool.flake8]
# max-line-length = 80
# https://github.com/timothycrosley/isort/issues/760
# [tool.isort]
# line_length = 80
# multi_line_output = 3
# include_trailing_comma = true
# sections = "FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
# default_section = "FIRSTPARTY"