paulcpk / freqtrade-strategies-that-work Goto Github PK
View Code? Open in Web Editor NEWCrypto Trading Strategies for the freqtrade.io trading bot
License: MIT License
Crypto Trading Strategies for the freqtrade.io trading bot
License: MIT License
Hi,
I guess your strategies were tested at the beginning of the year?
2021-05-01 00:00:00 -> 2021-07-19 20:00:00 | Max open trades : 5
================================================================================= STRATEGY SUMMARY =================================================================================
| Strategy | Buys | Avg Profit % | Cum Profit % | Tot Profit USDT | Tot Profit % | Avg Duration | Win Draw Loss Win% | Drawdown |
|--------------------------------+--------+----------------+----------------+-------------------+----------------+----------------+-------------------------+----------------------|
| DoubleEMACrossoverWithTrend | 60 | -0.97 | -58.39 | -111.933 | -11.19 | 16:47:00 | 11 0 49 18.3 | 153.334 USDT 79.48% |
| EMAPriceCrossoverWithThreshold | 12 | -2.46 | -29.55 | -57.097 | -5.71 | 15:15:00 | 0 0 12 0 | 50.493 USDT 26.21% |
| MACDCrossoverWithTrend | 33 | -1.11 | -36.51 | -69.806 | -6.98 | 13:55:00 | 7 0 26 21.2 | 66.469 USDT 34.51% |
| RSIDirectionalWithTrend | 14 | -0.04 | -0.53 | -1.126 | -0.11 | 16:34:00 | 5 0 9 35.7 | 20.386 USDT 10.19% |
| RSIDirectionalWithTrendSlow | 1 | -1.19 | -1.19 | -2.349 | -0.23 | 2:00:00 | 0 0 1 0 | 0.000 USDT 0.00% |
====================================================================================================================================================================================
Any plans to update them to handle sideways/bearish markets?
Thanks,
Bernd
Hi
FYI
This caught me out a bit. You spelt the name of the class wrong:
list-strategies returns:
+-------------------------------+-----------------------------------+----------+
| name | location | status |
|-------------------------------+-----------------------------------+----------|
| EMAPriceCrossoverWithTreshold | EMAPriceCrossoverWithThreshold.py | OK |
+-------------------------------+-----------------------------------+----------+
Note the spelling difference between the name and the file location
Line 8:
class EMAPriceCrossoverWithTreshold(IStrategy):
Spelling should be Threshold
That causes an issue for the user trying to run the strategy if they use the correct spelling
Kind regards
Hello, when running
python3 -m freqtrade backtesting --strategy DoubleEMACrossoverWithTrend -i 1m -p ETH/BTC --starting-balance 1 -c ./user_data/learndatasci-config.json
I get error:
2022-06-25 13:22:26,493 - freqtrade.resolvers.iresolver - WARNING - Could not import /home/janbenes/freqtrade/user_data/strategies/DoubleEMACrossoverWithTrend.py due to 'invalid character '·' (U+00B7) (DoubleEMACrossoverWithTrend.py, line 62)'
2022-06-25 13:22:26,494 - freqtrade - ERROR - Impossible to load Strategy 'DoubleEMACrossoverWithTrend'. This class does not exist or contains Python code errors.
2022-06-25 13:22:26,494 - freqtrade.exchange.exchange - INFO - Closing async ccxt session.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.