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
Hold trades spam logs every iterations #80
Comments
Figured I could create empty edit: also put |
Concur, getting same warning on repeat |
I use docker and i put hold-trades.json in /user_data/strategies but it's not solve. |
@yokeap |
I merge the Issue there. Better solution is make an on off method for enable this or disable on top of the strategy. Im not a python guyz. Hy @iterativv after upgrade i see a lot of warning in console about Hold support file not found. The code show a infinite loop of this message: else: looked_in = f"'{hold_trades_config_file_resolve}'" log.warning( "The 'hold-trades.json' file was not found. Looked in %s. HOLD support disabled.", looked_in ) |
I think it's best if we just remove that message? |
Better a config for enable and disable the feature is almost an option. |
I think a time interval approach would also compliment the enable/disable flag. Maybe check file each 5m/15m/30m/1h or something that's not too often. |
@eSeR1805 i agree, but this futures and next should be on top and need a _on method for a good mix of settings like the other. About the full fix, a time interval is a good ways outside freqtrade but i think, isnt the proper solution, the countdown can be a problem when a large range of the time is set or if some sell signal come before the refresh. Better option coud be a command in telegram bot easy to add and you can work outside with the strat. My Noob POV. |
This is something we (hopefully) don't need to use too often. You need to reload anyway when you add something to the hold trades file. Added dummy file to repo through 3f0c1a4 |
Not since the cache class implementation was added. |
Version 7.7.1
My config use throttle process at 3 seconds and this check seems to checking every 3 seconds too
The text was updated successfully, but these errors were encountered: