Skip to content

Ansible role for Freqtrade, an algorithmic trading bot

License

Notifications You must be signed in to change notification settings

luck0r/ansible-role-freqtrade

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: Freqtrade

Installs Freqtrade on Debian/Ubuntu based systems.

Information

This Ansible Role is designed to provide unattened and automated installation for Freqtrade - a crypto-currency algorithmic trading software developed in Python.

Ansible is an open-source software provisioning, configuration management, and application-deployment tool enabling infrastructure as code. If you are new to Ansible and/or Freqtrade, it is highly recommended to get familiar with the concept of configuration management and infrastructure as code (IaaC). Please see the latest Ansible documentation for further information.

Requirements

No special requirements; note that this role requires root access, so either run it in a playbook with a global become: yes, or invoke the role in your playbook like:

- hosts: tradingbots
  roles:
    - role: nightshift2k.freqtrade
      become: yes

Installation

Via Github

ansible-galaxy install git+https://github.com/nightshift2k/ansible-role-freqtrade.git

From Ansible Galaxy

ansible-galaxy install nightshift2k.freqtrade

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

freqtrade_installation_directory: "/opt/freqtrade"

The destination directory of Freqtrade

freqtrade_branch: "stable"

The branch in GitHub for the checkout of source files.

freqtrade_install_dev_deps: false

Whether to install development dependencies.

freqtrade_install_plot_deps: false

Whether to install plotting dependencies (plotly).

freqtrade_install_hyperopt_deps: true

Whether to install hyperopt dependencies.

freqtrade_install_additional_pips:
  - finta
  - ta

Defines a list of additional python packages, that should be installed in Freqtrade's virtual environment.

Dependencies

None.

Example Playbook

- hosts: tradingbots
  vars_files:
    - vars/freqtrade.yml
  roles:
    - role: nightshift2k.freqtrade
      become: yes

Inside vars/freqtrade.yml:

freqtrade_installation_directory: "/opt/freqtrade"
freqtrade_branch: "develop"
freqtrade_install_dev_deps: true 
freqtrade_install_plot_deps: true
freqtrade_install_hyperopt_deps: true 
freqtrade_install_additional_pips:
  - finta
  - ta
  - mergedeep
  ...

License

MIT / BSD

About

Ansible role for Freqtrade, an algorithmic trading bot

Resources

License

Stars

Watchers

Forks

Packages

No packages published