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

cannot import name 'LocalTrade' #1

Open
mac-88 opened this issue Nov 26, 2022 · 1 comment
Open

cannot import name 'LocalTrade' #1

mac-88 opened this issue Nov 26, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@mac-88
Copy link

mac-88 commented Nov 26, 2022

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

@ivanproskuryakov
Copy link
Owner

@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 ivanproskuryakov added the bug Something isn't working label Nov 26, 2022
@ivanproskuryakov ivanproskuryakov self-assigned this Nov 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants