Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DWT_LongShort syntax error #6

Open
SolosoftNL opened this issue Jan 25, 2023 · 15 comments
Open

DWT_LongShort syntax error #6

SolosoftNL opened this issue Jan 25, 2023 · 15 comments

Comments

@SolosoftNL
Copy link

Syntax errors detected :

Line 82:
startup_candle_count: int = 128 # must be power of 2
^
SyntaxError: invalid syntax

@nateemma
Copy link
Owner

Hmm, that doesn't show on my end. That's a Freqtrade variable, so you may not have your packages installed properly.
Can you let me know which version of freqtrade that you are using, and also which version of python please (that line would be invalid for python 2)?

Also, I assume you are looking at the binance directory?

Thanks,

Phil

@SolosoftNL
Copy link
Author

Hi. Thanks for your fast response.
I've created a docker freqtrade container with freqtrade v2022.12 and running python 3.9+
And yes I'm looking at Binance folder.
I think your right that I've to check my packages are all installed correctly. The one used in the strategy file.
If I have troubles i always check the code at: https://extendsclass.com/python-tester.html
But good change this site uses an older version of python. Will check it tonight but the issue is on my side i think 🤔

@SolosoftNL
Copy link
Author

update: still get errors in log, i have installed scipy correctly, see below
2023-01-25 20:38:11,162 - freqtrade.configuration.configuration - INFO - Using pairlist from configuration.
2023-01-25 20:38:11,391 - freqtrade.resolvers.iresolver - WARNING - Could not import /freqtrade/user_data/strategies/DWT_LongShort.py due to 'No module named 'scipy''

Requirement already satisfied: scipy in /home/pi/.local/lib/python3.9/site-packages (1.8.1)
Requirement already satisfied: numpy<1.25.0,>=1.17.3 in /usr/lib/python3/dist-packages (from scipy) (1.19.5)

what could possibly the problem?

@SolosoftNL
Copy link
Author

No one?

@tomjrtsmith
Copy link
Contributor

tomjrtsmith commented Jan 28, 2023 via email

@nateemma
Copy link
Owner

nateemma commented Jan 28, 2023 via email

@tomjrtsmith
Copy link
Contributor

tomjrtsmith commented Jan 28, 2023 via email

@nateemma
Copy link
Owner

nateemma commented Jan 28, 2023 via email

@nateemma
Copy link
Owner

nateemma commented Jan 28, 2023 via email

@tomjrtsmith
Copy link
Contributor

tomjrtsmith commented Jan 29, 2023 via email

@nateemma
Copy link
Owner

nateemma commented Jan 29, 2023 via email

@nateemma
Copy link
Owner

nateemma commented Jan 29, 2023 via email

@nateemma
Copy link
Owner

nateemma commented Jan 30, 2023 via email

@tomjrtsmith
Copy link
Contributor

tomjrtsmith commented Jan 30, 2023 via email

@nateemma
Copy link
Owner

nateemma commented Jan 30, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants