2024-11-27 20:31:49 +00:00
|
|
|
# Strategies
|
|
|
|
|
2024-12-11 16:40:38 +00:00
|
|
|
This module provides implementations of various trading strategies.
|
|
|
|
|
2024-12-11 16:43:45 +00:00
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
The strategies module depends on the following Python packages:
|
|
|
|
|
|
|
|
```
|
|
|
|
numpy
|
|
|
|
pandas
|
|
|
|
```
|
|
|
|
|
|
|
|
It also depends on the following packages hosted here:
|
|
|
|
|
|
|
|
* [Indicators](https://moshferatu.dev/moshferatu/indicators)
|
|
|
|
* [OHLC](https://moshferatu.dev/moshferatu/ohlc) (only required for running tests)
|
|
|
|
|
2024-12-11 03:21:00 +00:00
|
|
|
## Local Workspace Setup
|
|
|
|
|
|
|
|
After checking out the repository, the dependencies can be installed as follows (ideally in a virtual environment):
|
|
|
|
|
|
|
|
```shell
|
|
|
|
pip install . --extra-index-url https://moshferatu.dev/api/packages/moshferatu/pypi/simple
|
|
|
|
```
|
|
|
|
|
|
|
|
If you want the build and test dependencies as well:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
pip install .[build,test] --extra-index-url https://moshferatu.dev/api/packages/moshferatu/pypi/simple
|
|
|
|
```
|
|
|
|
|
2024-11-27 20:31:49 +00:00
|
|
|
---
|