-
Notifications
You must be signed in to change notification settings - Fork 549
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
155 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,58 @@ | ||
Installation | ||
============ | ||
|
||
The ``master`` branch will always reflect the code of the latest release version. | ||
Also, the documentation is always current for the latest version. | ||
|
||
The package is tested against Python versions 3.7 - 3.9 on both Linux and | ||
MacOS. Users are encouraged to use the latest stable version of Python. | ||
|
||
It is a goal for the project to keep dependencies focused, however there are | ||
still a large number of dependencies as found in the `pyproject.toml` file. Therefore we recommend you create a new | ||
virtual environment for `NautilusTrader`. | ||
still a large number of dependencies as found in the ``pyproject.toml`` file. | ||
Therefore we recommend you create a new virtual environment for NautilusTrader. | ||
|
||
There are various ways of achieving this - the easiest being to use the `Poetry` | ||
There are various ways of achieving this - the easiest being to use the ``poetry`` | ||
tool. https://python-poetry.org/docs/ | ||
|
||
If you're not used to working with virtual environments, you will find a great | ||
explanation in the `Poetry` documentation under the `Managing environments` | ||
explanation in the ``poetry`` documentation under the `Managing environments` | ||
sub-menu. | ||
|
||
The latest version of `NautilusTrader` can be downloaded | ||
as a binary wheel from `PyPI`, just run:: | ||
Installation for Unix-like systems can be achieved through `one` of the following options; | ||
|
||
From PyPI | ||
--------- | ||
|
||
To install the latest binary wheel (or sdist package) from PyPI, run: | ||
|
||
pip install -U nautilus_trader | ||
|
||
From GitHub Release | ||
------------------- | ||
|
||
To install a binary wheel from GitHub, first navigate to the latest release. | ||
|
||
> https://github.com/nautechsystems/nautilus_trader/releases/latest/ | ||
|
||
Download the appropriate ``.whl`` for your operating system and Python version, then run:: | ||
|
||
pip install <file-name>.whl | ||
|
||
From Source | ||
----------- | ||
|
||
Installation from source requires Cython to compile the Python C extensions. | ||
|
||
1. To install Cython, run:: | ||
|
||
pip install -U nautilus_trader | ||
pip install -U Cython==3.0a6 | ||
|
||
2. Then to install NautilusTrader using ``pip``, run:: | ||
|
||
Alternatively, you can install from source via pip by running:: | ||
pip install -U git+https://github.com/nautechsystems/nautilus_trader | ||
|
||
pip install . | ||
**Or** clone the source with ``git``, and install from the projects root directory by running:: | ||
|
||
The master branch will always reflect the code of the latest release version. | ||
Also, the documentation found here on `readthedocs` is always current for the | ||
latest version. | ||
git clone https://github.com/nautechsystems/nautilus_trader | ||
cd nautilus_trader | ||
pip install . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.