Freqtrade UI - Frontend for Freqtrade
Go to file
Matthias 211e5f442d
Some checks failed
FreqUI CI / build (18, ubuntu-22.04) (push) Has been cancelled
FreqUI CI / build (20, ubuntu-22.04) (push) Has been cancelled
FreqUI CI / build (22, ubuntu-22.04) (push) Has been cancelled
FreqUI CI / build (23, ubuntu-22.04) (push) Has been cancelled
FreqUI CI / docker (linux/amd64) (push) Has been cancelled
FreqUI CI / docker (linux/arm/v6) (push) Has been cancelled
FreqUI CI / docker (linux/arm/v7) (push) Has been cancelled
FreqUI CI / docker (linux/arm64) (push) Has been cancelled
FreqUI CI / docker-merge (push) Has been cancelled
Merge pull request #2154 from freqtrade/dependabot/npm_and_yarn/happy-dom-15.10.2
chore(deps-dev): bump happy-dom from 15.10.1 to 15.10.2
2024-11-07 06:35:05 +01:00
.devcontainer Update commands for pnpm 2024-05-24 06:57:04 +02:00
.github chore: Remove explicit ghcr push - it's not needed 2024-11-01 08:29:25 +01:00
.vscode Update necessary extensions for project 2024-04-13 13:03:29 +02:00
docker chore: Improve build by re-using pre-built artifacts 2024-10-31 20:28:08 +01:00
docs Update drawio to how pinia is setup 2022-04-26 06:51:04 +02:00
e2e tests: reduce e2e test flakyness 2024-10-01 07:24:31 +02:00
public Add redirects file for netlify deploy 2023-02-19 17:52:30 +01:00
src feat: improve visual spacing in entry form 2024-11-05 20:29:19 +01:00
tests chore: remove faulty import 2024-07-23 20:54:46 +02:00
.browserslistrc init 2020-05-04 06:31:12 +02:00
.dockerignore Add production-ready docker file 2020-06-04 12:08:14 +02:00
.editorconfig Rename js files to ts 2020-06-04 20:20:48 +02:00
.gitignore chore: add components.d.ts to source control 2024-07-30 07:02:29 +02:00
.prettierrc.json Enhance prettier config 2023-04-13 07:08:39 +02:00
docker-compose.yml docs: Update documentation for pre-built docker image 2024-11-01 08:40:59 +01:00
Dockerfile chore: Uppercase docker keyword 2024-10-31 19:42:37 +01:00
eslint.config.mjs chore: cleanup unused eslint imports 2024-10-09 18:23:45 +02:00
index.html Use bootstraps bultin functionality to switch theme 2023-06-02 17:05:10 +02:00
LICENSE Create License 2020-05-14 11:57:47 +02:00
nginx.conf feat: add support for routes in URL (custom nginx config) 2020-12-03 17:42:16 +01:00
package.json chore(deps-dev): bump happy-dom from 15.10.1 to 15.10.2 2024-11-07 05:29:12 +00:00
playwright.config.ts Update commands for pnpm 2024-05-24 06:57:04 +02:00
pnpm-lock.yaml chore(deps-dev): bump happy-dom from 15.10.1 to 15.10.2 2024-11-07 05:29:12 +00:00
README.md docs: Update documentation for pre-built docker image 2024-11-01 08:40:59 +01:00
tsconfig.json chore: move component.d.ts to src directory 2024-07-30 07:02:03 +02:00
vercel.json Update vercel routes 2022-11-19 16:50:51 +01:00
vite.config.ts chore: move component.d.ts to src directory 2024-07-30 07:02:03 +02:00

FreqUI

Open in Visual Studio Code FreqUI CI

Freqtrade UI build with Vue.js and boostrap-vue.

WARNING

This project is still in its early stages (consider it alpha), and is not yet stable nor recommended to be used for production usages.

Run this project

Using FreqUI, does require freqtrade to be setup and running. In newer versions (2021.2 and newer), freqUI is builtin to freqtrade, so manual setup of freqUI will no longer be necessary unless you want to modify freqUI. Instructions for this end-user setup can be found in the freqtrade API documentation.

Running a standalone version of FreqUI

Using Docker, you can also run a pre-built docker image of FreqUI.

docker compose up -d

This will start a pre-built container with FreqUI running on port 3000 - which defaults to the latest version of freqUI. You can use docker compose pull to update to the latest version of the UI.

Please note: This is a standalone version of FreqUI, and will still require a correctly configured freqtrade bot. You'll need to correctly configure CORS in freqtrade to allow FreqUI to connect to the API.

Developer project setup

It will require freqtrade to be running on the same host with the API enabled under (localhost:8080). You can either use the webpack proxy (port can be changed in vue.config.js) - or connect directly to the API (recommended).

You will also have to have CORS for freqtrade configured correctly based on the freqtrade documentation. Most likely, the correct entry will be http://localhost:3000 or http://127.0.0.1:3000 - but the URL must match the URL you use to access FreqUI. Ports can vary, so check the URL you're using.

Project setup

pnpm install

Compiles and hot-reloads for development

pnpm run dev

Compiles and minifies for production

pnpm run build

Lints and fixes files

pnpm run lint

Build and run docker version

docker-compose build
docker-compose up -d

# Access using http://localhost:3000/

Customize configuration

See Configuration Reference.

Project setup for docker (developing inside dev container) without vscode

Built dev docker image and run container(s) detached

cd .devcontainer
docker-compose up -d

Go inside web-service container and serve

docker-compose exec web /bin/bash

then

pnpm run dev

Project setup for vscode and docker (developing inside dev container) on Linux

The goal is to have a complete dev environment very quickly and isolated.

Install missing tools if needed

Follow getting started section.

Build your dev container

View > Command palette > Enter: Remote-Containers rebuild container

Serve your local server

pnpm run dev

You now have useful vscode extensions, git support, your command history of the project.