github freqtrade/freqtrade 2021.11

latest releases: 2024.5, 2024.4, 2024.3...
2 years ago

Highlighted changes

  • New CalmarHyperOptLoss loss function.
  • unlock_reason() to allow strategies to unlock all pairs locked by with particular reason.
  • setup.sh script now supports yum based (RHEL/Centos) distributions.
  • Added support for custom sell_reason from within populate_sell.
  • Show Buy-tag table during backtesting.
  • Official support for OKEX.
  • New telegram commands /weekly [num] and /monthly [num] to get more statistics.
  • Trigger emergency sell if trade exit fails for X times (can be configured via unfilledtimeout.exit_timeout_count).
  • Trade mode allows more history (multiple ohlcv calls) via startup_candle_count. Please use with care, as it will have a performance impact.
  • Improved Fill notifications in telegram.

Please familiarize yourself with the relevant sections in the documentation before using any of the new features.

You can sponsor my work on freqtrade via github sponsor (https://github.com/sponsors/xmatthias/) (includes Crypto addresses).

How to update

As always, you can update your bot using one of the following commands:

docker-compose

docker-compose pull
docker-compose up -d

Installation via setup script

# Deactivate venv and run 
./setup.sh --update

Plain native installation

git pull
pip install -U -r requirements.txt
Expand full changelog
7e1eedd7d Version bump to 2021.11
a9cdb428d Version bump to 2021.10
3f10430eb Version bump to 2021.9
a62977789 Improve test coverage in telegram module
6ca6f6250 Remove duplicate code in optimize_reports
897788de1 Reformulate exception to be "nicer"
f4bc30c92 Update docs to include "vpn/ssh" section
5307d2bf3 Trimming the sentence
c23d90e2b Update test_backtesting.py
0c629fc95 Update test_backtesting.py
0d1e84cf5 Add more words
65906d330 Improve tests for pair_to_filename
e8feac367 Improve tests for pair_to_filename
c23ca35d2 Update ARMHF image to 3.9
b8cefd687 Add api_version to botresponse
c245a2a89 fix typo in Volatility filter description.
43dab3ee6 Changed the wording of the documentation to be clearer
78a00f251 Use market data to get base and quote currencies in @informative() decorator.
64e34f382 Sell-fill should include open-rate
ecf2ac3c2 Bump aiohttp to 3.8.1
80946cd9d Bump ccxt from 1.61.24 to 1.61.92
0ef99206b Bump plotly from 5.3.1 to 5.4.0
247f855ba Bump types-cachetools from 4.2.4 to 4.2.5
fdc6ca1bd Bump cryptography from 35.0.0 to 36.0.0
ab93e1368 Bump filelock from 3.3.2 to 3.4.0
c0cc3f5f9 Small doc improvements to callback documentation
b36fe8fe0 Simplify strategy documentation
0bae1471b Extract callbacks into a separate site
ef67a2adf Improve callback documentation
d8ee72554 Improve callback documentation
f8f7d81fc Update strategy template to use parameters
a239e5f72 Add segment on colliding signals
0b6060dd1 indentation problem :)
5fb0f5353 Add curl to install description
60cf52aa3 Remove unused test code
d477ccab1 Bump ccxt from 1.60.68 to 1.61.24
e3bb102dc Bump python-telegram-bot from 13.7 to 13.8.1
7bd384c7f Bump nbconvert from 6.2.0 to 6.3.0
876b59f47 Bump jinja2 from 3.0.2 to 3.0.3
8ec5f72be Bump isort from 5.10.0 to 5.10.1
178e3ac6a Bump coveralls from 3.3.0 to 3.3.1
2a1c61fb3 Bump sqlalchemy from 1.4.26 to 1.4.27
c04679072 Bump pymdown-extensions from 9.0 to 9.1
43120e03f Bump types-requests from 2.25.11 to 2.26.0
4d1d8de9b Split /stats messages
1dc98cc4d Break line
5b9cbaf27 Use Close value for trade signal calculation
632c1bc0a Add static workaround for kucoin 429000 issue
7c1161992 avoid using replace in messages
c4c1b301c buy notification code consolidation
0bc938445 more notification code consolidation
7412b7ba5 buy/sell fill notification code consolidation
a177e58dc Remove "currency" generating from splitting pair str
37d461c6c Improve strategy dataframe documentation
0e70d23be Add documentation for exit_tags
0e2b5ef6d Simplify custom strategy file wording
df27499e1 Improve `/help` output from telegram
32e337629 Update buy/sell fill telegram notifications
a237667bc Update buy/sell fill telegram notifications
39bb34cdb Fix test loading bug
e0fd880c1 Improve some more pct formattings
4eb903835 Some more fixes to % formatting
1b271d084 Improve % outputs to not use explicit "pct" entries
ce2aa1dc6 Small formatting upgrades
f8d30abd7 Handle order returns that contain trades directly
f7b2c0c5d Remove unneeded assignment from tests
e7d1630c9 Add space
d3d17f9f8 Only allow min-stake adjustments of up to 30%
23a566b47 validate_stake_amount should not be a private method
c9d974d21 Clarify performancefilter docs
e8b4d4488 Add warning about telegram group usage
6f0a98229 docs: removes duplicated "without" in pairlists.md
6267678ca Use doublequotes for docstrings
f9e5a25b3 Add docstring style to Contributing
2bfec7d54 Add small test-case confirming trade object copy
ae0e72a94 Provide strategy with copied objects
e4cca6316 Align sell_reason assignment location
63f4221f7 Fix broken documentation link
84261237a Improve doc wording
3ce898e4a Bump isort from 5.9.3 to 5.10.0
b39794f8d Bump scipy from 1.7.1 to 1.7.2
ab06584a3 Bump numpy from 1.21.3 to 1.21.4
a2c12f15f Bump ccxt from 1.60.11 to 1.60.68
d0199b601 Bump coveralls from 3.2.0 to 3.3.0
dbc863bcd Bump jsonschema from 4.1.2 to 4.2.1
c54cf63ba Bump prompt-toolkit from 3.0.21 to 3.0.22
c11e1a84e Fix wrong logging
de4bc7204 Update documentation to clarify new behaviour
a08dd17bc Use startup_candle-count to determine call count
9fa64c264 Allow multiple calls to get more candles in live-run
fb6ba6215 Add default to "is_new_pair"
4595c1e73 Slightly reformat to simplify new change
25fcab079 Enhance /show_config endpoint
4f5c5b698 Clarify timeout documentation
d0e192e20 Fix naive timezone for /daily command
f7dc47b1c Add test for exit_timeout_count
d5acd979d Move dev-only requirement
3c33b48fd Fix naive timezones
7a907a763 Add Emergencyselling after X timeouts have been reached
da4344d21 Remove line breaks
8eabdd659 Fix missing CallbackQueryHandler
70253258f Test /monthly & clean
87634f040 /weekly and /monthly documentation
459ff9692 Add /weekly and /monthly to Telegram RPC
5f40158c0 WIP Add /weekly and /monthly to Telegram RPC
a8651b0dc /weekly and /monthly documentation
15616d75a Add /weekly and /monthly to Telegram RPC
d99eaccb5 Fix exception when using okex
ae3b53014 Add failing test for OKEX failure
60a5ded53 Don't convert telegram chat_id
2115a3ed1 Update warning message open trades
ffc2de8d3 WIP Add /weekly and /monthly to Telegram RPC
ae2343db9 Update optimize_reports
10e839c17 Update setup.sh
5b9a168ca removed build-essential from redhat install
c061b576a OKEX Notes
048db4f50 Enhance "new exchange" documentation
437e5f064 Fix officially supported exchange list
6fb086635 Add OKEX to list of officially supported exchanges
ce597d12d Update exchanges.md
f60d10107 Some finetuning for OKEX
1fefb132e Improve wording in documentation
161a3fac1 Run exchange-enabled tests against okex
e78df59e3 Configure candle length for OKEX
f365e6870 [docs] Update RateLimit value [small]
7ae9b9017 Further clarify backtesting trailing stop logic
3056be3a1 document prerequisites for exchange listing
74e8b2899 Improve FAQ with outdated history message
a16328f37 Don't force timeframe in config in config generator
6623dfe7d Improve CORS documentation
46d4418e8 Bump scikit-learn from 1.0 to 1.0.1
45f7093e5 Bump mkdocs-material from 7.3.4 to 7.3.6
e2041ddb7 Bump ccxt from 1.59.2 to 1.59.77
3d59289b0 Bump filelock from 3.3.1 to 3.3.2
6b90b4a14 Test "get-signal"
dffe76f10 Don't double-loop to generate profits
c15f73aa1 Rename command to backtesting-show
20904f1ca Add tests for new command
72ecb45d8 Add test for backtest_show logic
650d6c276 Add documentation
d60001e88 Stoploss cannot be below candle low
459a2239c Fix candle ranges in backtesting test
6cf140f8f FIx testcases
851062ca4 Rename backtest-filter to backtest_show
f47270943 Add option to show sorted pairlist
0f3809345 Remove backtest-path parameter
c579fcfc1 Add tests and documentation for unlock_reason
240923341 Reformat telegram test
5cdae2ce3 Remove CalmarDaily hyperopt loss
e9d71f26b small changes
658006e7e removed wrong use of map and filter function
560802c32 Added tests for the new rpc/telegram functions
02e69e166 Changes to unlock_reason: 	- introducing filter 	- replaced get_all_locks with a query for speed 	. removed logging in backtesting mode for speed 	. replaced for-loop with map-function for speed
335412a3a Improve wording of FAQ entry
f280397fd Add FAQ section about Fees
dc605e29a removed empty lines for flake8
2eb33707c Undo changes
91b9e5ce6 Delete StackingDemo.py
c1b5dcd75 Delete freqtradebot.py
6b17094c6 Delete configuration.py
51c925f9f Delete StackingConfig.json
21ab83163 Quick import/clarity fix
e4e75d486 Added test data for buy_tag/sell_reason testing
9c6cbc025 Update StackingDemo.py
9f6e4c6c0 uncomment
ae0689969 removed commenting
c3f3bdaa2 Add "allow_position_stacking" value to config, which allows rebuys of a pair Add function unlock_reason(str: pair) which removes all PairLocks with reason Provide demo strategy that allows buying the same pair multiple times
b51f946ee Fixed models and rpc performance functions, added skeletons for tests.
d1e2a5326 Added centOS support to setup.sh script
7ff16997e Wrote echo block method for setup script
88b96d5d1 Update hyperopt_loss_calmar.py
22dd2ca00 Fix mypy type errors
17432b282 Improve some stylings
5f309627e Update tests for Calmar ratio
0e085298e Fixed test failures.
1267374c8 Small fixes to tests
905f3a1a5 Removed exit_tag from Trade objects.
1fdc4425d Changed exit_tag to be represented as sell_reason
69a59cdf3 Fixed flake 8, changed sell_tag to exit_tag and fixed telegram functions
0bb7ea10a Fixed minor header for backtesting
ed39b8dab fixed profit total calculation
8b2c14a6f Readme fix
d341d8507 Refixed some files for the pull request
96cab22a8 Fixed some bugs for live sell_tags.
0f670189e quick typo fix
3ee9674bb Update README.md
af74850e7 Update README.md
02243b1a2 minifix
80b71790b Added some bigfixes for sell_tag
c9edf3bf4 Updated the gitignore
b898f8636 Added sell_tag and buy/sell telegram performance functions
626a40252 resolved mypy error
c3414c3b7 resolved mypy error
67e9626da fixed isort issue
a1566fe5d updated to latest constant.py file
bc86cb328 updated to correct hyperopt.md file
e1036d6f5 Added Calmar Ratio Daily to hyperopt.md file
89b7dfda0 Added Calmar Ratio Daily
24baad788 Add Calmar Ratio Daily
ca20e17d4 added CalmarHyperOpt to hyperopt.md
b2ac039d5 added CalmarHyperOptLoss to HYPEROPT_LOSS_BUILTIN
0f29cbc88 added CalmarHyperOptLoss
3b99c84b0 resolved the total profit issue
c6b684603 removed trade_count inside if statement
b946f8e7f I sorted imports with isort
3834bb86f updated line 42
3845d5518 a new hyperopt loss created that uses calmar ratio
85979c317 * Adding command for Filtering * Read latest Backtest file and print trades

Don't miss a new freqtrade release

NewReleases is sending notifications on new releases.