Closed viking76 closed 7 months ago
You need to download at the same folder.
There is a tips for at the same level as TSPredict (ie strategies/utils). You need to download that whole directory. It contains classes used across several different types of strategies
Cheers,
Phil
On Mon, Jan 22, 2024 at 1:58 PM Gaël @.***> wrote:
On Ubuntu PC
I have a little problems with Wavelets.py dependency no "utils" in this file. Where exactly we install this files?
freqtrade.resolvers.iresolver - WARNING - Could not import /home/viking/freqtrade/user_data/strategies/TSPredict/TS_Coeff_FFT.py due to 'No module named 'utils'' 2024-01-22 19:37:50,499 - freqtrade.resolvers.iresolver - WARNING - Could not import /home/viking/freqtrade/user_data/strategies/TSPredict/TS_Wavelet_FHT.py due to 'No module named 'utils'' 2024-01-22 19:37:50,499 - freqtrade.resolvers.iresolver - WARNING - Could not import /home/viking/freqtrade/user_data/strategies/TSPredict/TS_Wavelet_DWTA_min.py due to 'No module named 'utils'' 2024-01-22 19:37:50.658503: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
freqtrade.resolvers.iresolver - WARNING - Could not import /home/viking/freqtrade/user_data/strategies/TSPredict/test_forecasters.py due to 'No module named 'regex'' 2024-01-22 19:37:51,726 - freqtrade.resolvers.iresolver - WARNING - Could not import /home/viking/freqtrade/user_data/strategies/TSPredict/ClassifierKerasTFT.py due to 'No module named 'tft_model'
— Reply to this email directly, view it on GitHub https://github.com/nateemma/strategies/issues/44, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABD4X54QVXJBCSDVRVOVIWLYP2ZEBAVCNFSM6AAAAABCFWUNP6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4TINJUHA2TGNQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hello nateemma,
Thank a lot for you good work. :+1:
Yes, i have copy all of utils files in my /home/viking/freqtrade/user_data/strategies/TSPredict, It seems work well with TSPredict TS_Wavelet.
Is TS_Coeff_FFT and the other Warning is loaded by default? I view TSwavelet code it seem not be a dependency...
lauched by: freqtrade trade -c user_data/strategies/config/config.json --strategy-path user_data/strategies/TSPredict -s TS_Wavelet
Thanks for your time
They need to be in the directory user_data/strategies/utils (and not TSPredict). If you really want them in the same directory then you need to change the import statement (remove .utils/)
Both TS_Coeff and TS_Wavelet inherit from TSPredict but they are independent from each other
Cheers
Phil
On Tue, Jan 23, 2024 at 1:32 PM Gaël @.***> wrote:
Hello nateemma,
Thank a lot for you good work. 👍 Yes, i have copy all of utils files in my /home/viking/freqtrade/user_data/strategies/TSPredict, It seems work well with TSPredict TS_Wavelet. Is TS_Coeff_FFT and the other Warning is loaded by default? I view TSwavelet code it seem not be a dependency... Thanks for your time
— Reply to this email directly, view it on GitHub https://github.com/nateemma/strategies/issues/44#issuecomment-1906680535, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABD4X534AJCKPTW466U4O3LYP7633AVCNFSM6AAAAABCFWUNP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBWGY4DANJTGU . You are receiving this because you commented.Message ID: @.***>
Hello i have tested on python 3.11.5, I can't explain why but this command seem not work all the time
sys.path.append(str(Path(__file__).parent))
sys.path.append(str(Path(__file__)))
i have tested it on terminal with and without. finaly i have put wavelets.py on tspredict and its work. Thanks for your effort malicente and Phil
On Ubuntu PC
I have a little problems with Wavelets.py dependency no "utils" in this file. Where exactly we install this files?