Skip to content

Commit 7f193b5

Browse files
juliettejamesJuliette James
and
Juliette James
authored
Updated python package requirements for support of Python 3.7, 3.8 and 3.9.. (#372)
* Updated python package requirements for support of Python 3.7, 3.8 and 3.9. * updated python package dependencies * updated version number Co-authored-by: Juliette James <[email protected]>
1 parent beab13f commit 7f193b5

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

Diff for: README.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
| Development | Details |
44
| ------------- | ------------- |
55
| Test Status | [![Build Status](https://img.shields.io/travis/mhallsmoore/qstrader?label=TravisCI&style=flat-square)](https://travis-ci.org/mhallsmoore/qstrader) [![Coverage Status](https://img.shields.io/coveralls/github/mhallsmoore/qstrader?style=flat-square&label=Coverage)](https://coveralls.io/github/mhallsmoore/qstrader?branch=master) |
6-
| Version Info | [![PyPI](https://img.shields.io/pypi/v/qstrader?style=flat-square&label=PyPI&color=blue)](https://pypi.org/project/qstrader) [![PyPI Downloads](https://img.shields.io/pypi/dm/qstrader?style=flat-square&label=PyPI%20Downloads)](https://pypi.org/project/qstrader) ![conda-forge](https://img.shields.io/conda/vn/conda-forge/qstrader) ![conda-forge Downloads](https://img.shields.io/conda/dn/conda-forge/qstrader?label=conda-forge%20Downloads) |
6+
| Version Info | [![PyPI](https://img.shields.io/pypi/v/qstrader?style=flat-square&label=PyPI&color=blue)](https://pypi.org/project/qstrader) [![PyPI Downloads](https://img.shields.io/pypi/dm/qstrader?style=flat-square&label=PyPI%20Downloads)](https://pypi.org/project/qstrader) |
77
| Compatibility | [![Python Version](https://img.shields.io/pypi/pyversions/qstrader?style=flat-square&label=Python%20Versions)](https://pypi.org/project/qstrader) |
88
| License | ![GitHub](https://img.shields.io/github/license/mhallsmoore/qstrader?style=flat-square&label=License) |
99

@@ -19,28 +19,29 @@ The software is currently under active development and is provided under a permi
1919

2020
Please note that the previous version of QSTrader, which is utilised through the **Advanced Algorithmic Trading** ebook, can be found along with the appropriate installation instructions [here](https://github.com/mhallsmoore/qstrader/tree/advanced-algorithmic-trading).
2121

22-
It has recently been updated to support Python 3.5, 3.6 and 3.7 with up to date package dependencies.
22+
It has recently been updated to support Python 3.7, 3.8 and 3.9 with up to date package dependencies.
2323

2424
# Installation
2525

26-
Installation requires a Python3 environment. The simplest approach is to download a self-contained scientific Python distribution such as the [Anaconda Individual Edition](https://www.anaconda.com/products/individual#Downloads). You can then install QSTrader into an isolated [virtual environment](https://docs.python.org/3/tutorial/venv.html#virtual-environments-and-packages) using either conda or pip, as shown below.
26+
Installation requires a Python3 environment. The simplest approach is to download a self-contained scientific Python distribution such as the [Anaconda Individual Edition](https://www.anaconda.com/products/individual#Downloads). You can then install QSTrader into an isolated [virtual environment](https://docs.python.org/3/tutorial/venv.html#virtual-environments-and-packages) using pip as shown below.
2727

2828
Any issues with installation should be reported to the development team as issues [here](https://github.com/mhallsmoore/qstrader/issues).
2929

3030
## conda
3131

3232
[conda](https://docs.conda.io/projects/conda/en/latest/) is a command-line tool that comes with the Anaconda distribution. It allows you to manage virtual environments as well as packages _using the same tool_.
3333

34-
The following command will create a brand new environment called `backtest` and install QSTrader along with its dependencies, all in one go.
34+
The following command will create a brand new environment called `backtest`.
3535

3636
```
37-
conda create -n backtest -c conda-forge qstrader
37+
conda create -n backtest
3838
```
3939

40-
In order to start using QSTrader, you need to activate this new environment.
40+
In order to start using QSTrader, you need to activate this new environment and install QSTrader using pip.
4141

4242
```
4343
conda activate backtest
44+
pip install qstrader
4445
```
4546

4647
## pip
@@ -55,7 +56,7 @@ pip install qstrader
5556

5657
# Full Documentation
5758

58-
Comprehensive documentation for QSTrader can be found on QuantStart.com at [https://www.quantstart.com/qstrader/](https://www.quantstart.com/qstrader/).
59+
Comprehensive documentation and beginner tutorials for QSTrader can be found on QuantStart.com at [https://www.quantstart.com/qstrader/](https://www.quantstart.com/qstrader/).
5960

6061
# Quickstart
6162

Diff for: requirements/base.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Click>=7.0
2-
matplotlib>=3.0.3,!=3.3.3
3-
numpy>=1.17.1
4-
pandas>=1.1.5
5-
seaborn>=0.9.0
2+
matplotlib==3.4.3
3+
numpy==1.21.2
4+
pandas==1.3.3
5+
seaborn==0.11.2

Diff for: setup.py

+5-6
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name="qstrader",
8-
version="0.2.2",
8+
version="0.2.3",
99
description="QSTrader backtesting simulation engine",
1010
long_description=long_description,
1111
long_description_content_type="text/markdown",
@@ -17,7 +17,6 @@
1717
"License :: OSI Approved :: MIT License",
1818
"Programming Language :: Python",
1919
"Programming Language :: Python :: 3",
20-
"Programming Language :: Python :: 3.6",
2120
"Programming Language :: Python :: 3.7",
2221
"Programming Language :: Python :: 3.8",
2322
"Programming Language :: Python :: 3.9",
@@ -26,9 +25,9 @@
2625
include_package_data=True,
2726
install_requires=[
2827
"Click==7.1.2",
29-
"matplotlib==3.0.3",
30-
"numpy==1.18.4",
31-
"pandas==1.1.5",
32-
"seaborn==0.10.1"
28+
"matplotlib>=3.3.4",
29+
"numpy>=1.18.4",
30+
"pandas>=1.3.3",
31+
"seaborn>=0.10.1"
3332
]
3433
)

0 commit comments

Comments
 (0)