ta-search icon indicating copy to clipboard operation
ta-search copied to clipboard

cannot import name 'LocalTrade'

Open mac-88 opened this issue 2 years ago • 1 comments

Hey, i want to test this but i have following error:

ImportError: cannot import name 'LocalTrade' from 'freqtrade.persistence.trade_model' (/root/freqtrade/freqtrade/persistence/trade_model.py)

maybe miss some requierements?

thanks a lot

mac-88 avatar Nov 26 '22 11:11 mac-88

@mac-88 hi, how are you testing it? For installation of the strategies just copy to freqtrade/user_data/strategies directory.

There could be a problem with python imports on this line, https://github.com/ivanproskuryakov/ta-search/blob/master/user_data/strategies/TaSearch5m.py#L4 If so, make the change: from from .taSearch import TaSearch to from taSearch import TaSearch

ivanproskuryakov avatar Nov 26 '22 11:11 ivanproskuryakov