Gunthy

GUNBOT: The automatic profit generator => Technical Support & Development => Topic started by: Zeke on January 24, 2021, 03:14:56 PM

Title: TypeError: Cannot read property '-1' of undefined
Post by: Zeke on January 24, 2021, 03:14:56 PM
Hi friends

I am constantly getting the following error:

TypeError: Cannot read property '-1' of undefined
    at timeseries.SolveLE (/snapshot/node14Win/node_modules/timeseries-analysis/timeseries-analysis.js:993:22)
    at timeseries.ARLeastSquare (/snapshot/node14Win/node_modules/timeseries-analysis/timeseries-analysis.js:942:20)
    at /snapshot/node14Win/gain.js
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

Dowloading gunbot again does not help. Running gb on a raspi.

What's wrong? And could this error affect the trading? The bot seems to have a crossup-, crossdown-recognition problem. It constantly buys at a crossdown (macd, SMAcross).

All the best!
Zeke
Title: Re: TypeError: Cannot read property '-1' of undefined
Post by: Aitor on January 28, 2021, 09:41:11 PM
Hi friends

I am constantly getting the following error:

TypeError: Cannot read property '-1' of undefined
    at timeseries.SolveLE (/snapshot/node14Win/node_modules/timeseries-analysis/timeseries-analysis.js:993:22)
    at timeseries.ARLeastSquare (/snapshot/node14Win/node_modules/timeseries-analysis/timeseries-analysis.js:942:20)
    at /snapshot/node14Win/gain.js
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

Dowloading gunbot again does not help. Running gb on a raspi.

What's wrong? And could this error affect the trading? The bot seems to have a crossup-, crossdown-recognition problem. It constantly buys at a crossdown (macd, SMAcross).

All the best!
Zeke

Hi Zeke, check this please:

https://gunbot.shop/fix-cannot-read-property-1-of-undefined-error-on-gunbot/