freqtrade / frequi

Freqtrade UI - Frontend for Freqtrade
https://github.com/freqtrade/freqtrade
GNU General Public License v3.0
573 stars 260 forks source link

Chart / Graph Page spings forever #1462

Closed diamkil closed 11 months ago

diamkil commented 1 year ago

FreqUI Version

Describe the bug When opening the page labeled "Chart" in freqUI it spins forever.

Console error:

SyntaxError: "undefined" is not valid JSON
    at JSON.parse (<anonymous>)
    at Ce (deepClone.ts:2:15)
    at Proxy.plotConfigChanged (plotConfig.ts:72:35)
    at Proxy.<anonymous> (pinia.mjs:1375:30)
    at CandleChartContainer.vue:218:3
    at runtime-core.esm-bundler.js:2675:88
    at Ir (runtime-core.esm-bundler.js:158:18)
    at ln (runtime-core.esm-bundler.js:166:17)
    at t.__weh.t.__weh (runtime-core.esm-bundler.js:2655:19)
    at ym (runtime-core.esm-bundler.js:325:40)

To Reproduce Steps to reproduce the behavior:

  1. Create a fresh LXC container
  2. Follow the install steps
  3. Generate config using "freqtrade new-config"
  4. Configure the exchange and the StaticPairList
  5. Launch "freqtrade webserver"
  6. Open the page, navigate to "Chart"
  7. Never loads....

Expected behavior The chart loads and works

Screenshots image

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

xmatthias commented 1 year ago

Well what should it load with? (your screenshot clearly shows that you didn't tell it yet).

You're opening the chart in webserver mode - which means

As such - you'll first need to

If on the other hand, you start the bot in trade mode (freqtrade trade) - the chart will load just fine (you'll also find that some options, like selecting a strategy) - are no longer available on the chart page.