Freqtrade UI - Frontend for Freqtrade
Go to file
Matthias 4bf8c27fa8
Merge pull request #1830 from freqtrade/dependabot/npm_and_yarn/main/types/node-20.12.7
build(deps-dev): bump @types/node from 20.9.2 to 20.12.7
2024-04-10 06:13:10 +02:00
.devcontainer Bump devcontainers dockerfile 2024-01-06 09:19:09 +01:00
.github Upload playwright report to different files 2024-04-08 18:05:49 +02:00
.yarn/releases Update yarn to 4.1.1 2024-03-22 17:06:04 +01:00
cypress Remove unused cypress plugin file 2024-04-08 17:21:41 +02:00
docs Update drawio to how pinia is setup 2022-04-26 06:51:04 +02:00
e2e Improve login test 2024-04-09 18:24:50 +02:00
public Add redirects file for netlify deploy 2023-02-19 17:52:30 +01:00
src Add chart spec 2024-04-09 06:28:43 +02:00
tests Add timerange datefformatter 2023-12-31 12:00:35 +01: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
.eslintrc.cjs Rename eslint to .cjs 2024-04-08 15:47:35 +02:00
.gitignore Add Playwright dependencies 2024-04-07 17:42:51 +02:00
.prettierrc.json Enhance prettier config 2023-04-13 07:08:39 +02:00
.yarnrc.yml Update yarn to 4.1.1 2024-03-22 17:06:04 +01:00
cypress.config.ts Simplify cypress.config 2024-04-08 15:54:32 +02:00
docker-compose.yml Update dev port to 3000 2022-02-05 20:13:18 +01:00
Dockerfile build(deps): bump node from 21.7.1-alpine to 21.7.2-alpine 2024-04-05 03:36:10 +00: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 Merge pull request #1830 from freqtrade/dependabot/npm_and_yarn/main/types/node-20.12.7 2024-04-10 06:13:10 +02:00
playwright.config.ts Reenable firefox ... 2024-04-08 15:34:51 +02:00
README.md Update to use yarn dev 2024-02-11 08:52:56 +01:00
tsconfig.json Update tsconfig to support auto-imported components 2024-03-30 08:56:47 +01:00
vercel.json Update vercel routes 2022-11-19 16:50:51 +01:00
vite.config.js Adapt vitest to exclude e2e tests 2024-04-08 07:02:07 +02:00
yarn.lock Merge pull request #1830 from freqtrade/dependabot/npm_and_yarn/main/types/node-20.12.7 2024-04-10 06:13:10 +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.

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

yarn install

Compiles and hot-reloads for development

yarn dev

Compiles and minifies for production

yarn build

Lints and fixes files

yarn 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

yarn 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

yarn dev

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

Fix cypress errors

Depending on the system configuration (node version, ...), there can failures when starting cypress. This can be mitigated by using the following environment variable.

export NODE_OPTIONS=--openssl-legacy-provider