Skip to content

Commit

Permalink
Updated readme and envs
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexBabescu committed Oct 30, 2021
1 parent 7dbd218 commit bf859cf
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# freqgym
Combining freqtrade with OpenAI Reinforcement Learning environments

## Installation with Conda

freqgym can be installed with Miniconda or Anaconda.

### What is Conda?

Conda is a package, dependency and environment manager for multiple programming languages: [conda docs](https://docs.conda.io/projects/conda/en/latest/index.html)

### Installation with conda

Prepare freqgym environment, using file `environment_cpuonly.yml` or `environment_cuda.yml`, which exist in main freqgym directory

```bash
conda env create -n freqgym -f environment_cpuonly.yml
```

#### Enter/exit freqtrade-conda environment

To check available environments, type

```bash
conda env list
```

Enter installed environment

```bash
# enter conda environment
conda activate freqgym

# exit conda environment
conda deactivate
```

Download data with:
`
Expand Down
2 changes: 2 additions & 0 deletions environment_cpuonly.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: freqgym
channels:
- pytorch
- conda-forge
# - defaults
dependencies:
Expand Down Expand Up @@ -67,6 +68,7 @@ dependencies:
# ============================
# 4/5 req baselines3
- pytorch
- cpuonly
- tensorboardx

- pip:
Expand Down
1 change: 1 addition & 0 deletions environment_cuda.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: freqgym
channels:
- pytorch
- conda-forge
# - defaults
dependencies:
Expand Down

0 comments on commit bf859cf

Please sign in to comment.