github freqtrade/freqtrade 2020.9.1

latest releases: 2024.4, 2024.3, 2024.2...
3 years ago

Highlighted changes

  • New dataformat HDF5 for faster access to backtesting data.
  • Download-data now supports an absolute starting point via --timerange 20200101.
  • Introduction of merge_informative_pairs() - a helper function to simplify merging dataframes [#3744]
  • Addition of an Orders table, which keeps track of all orders the bot opened.
    This will allow the bot to eventually "refind" lost orders, and fix most "insufficient funds" errors encountered recently.
  • Addition of finer filtering of telegram notifications based on notification type (buy, sell, buy_cancel, sell_cancel, ...).
    Check the corresponding documentation for more details.
  • Better output table for hyperopt by padding the "win/draws/loss" column.
  • Added .devcontainer support to simplify development setup when using VSCode.

How to update

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

docker-compose

Note: We're switching from master to stable for the release Images - please adjust your docker-file and replace freqtradeorg/freqtrade:master with freqtradeorg/freqtrade:stable

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
pip install -e .
Expand full changelog
17659001 Version bump to 2020.9
bb27b236 Remove unused arguments
c56dd487 Fix test failure
ff3e2641 generate_backtest_stats must take config options from the strategy config
d49488bf Bump python from 3.8.5-slim-buster to 3.8.6-slim-buster
378f03a5 Add relevant parameters to stored backtest result
bb56d392 Fix typo in documentation
6b46a35b Fix bug of balances not disappearing
4b06c9e0 Add test verifying wrong behaviour
be335568 Bump nbconvert from 6.0.2 to 6.0.4
d1b3a16c Bump ccxt from 1.34.25 to 1.34.40
4cb5c9c8 Bump mkdocs-material from 5.5.12 to 5.5.13
50aec1d6 Jupyter service should be called differently
7dadca42 Update location of docker files
261b2671 Don't build devcontainer on push
3c460d37 Document existence of PLOT image
8ff1429e Add user_data to backtesting
b02c0904 Use buildarg to use correct parent variable
ab190f7a Document jupyter with docker usage
30c1253f Use correct ports for jupyter compose file
f9efbed0 Ignore userdata from docker build
40132bbe Add this branch to CI
85ab6e43 Build _plot dockerfile
129cbf5e Add more Dockerfiles
096079a5 Install autopep8
4355f36c Add gitconfig to devcontainer
0a7b6f73 Move devcontainer stuff to .devcontainer
cf85a178 Update developer documentation related to devcontainer
20e5c1b3 Update Developer documentation related to docker
7ead4f9f Update devcontainer settings
8ff7ce8b Introduce devcontainer
b72cccae Add note about download-data in combination with startup period
637fe355 Fix typo in release documentation
b3f0bfd7 Fix a few random typos
2b1d0b4a Rename references to "master" branch to "stable"
c3494999 Also add 2w (supported by kraken)
f51f4450 1M and 1y timeframes added
a31de431 Explicitly convert to type to string
8c9a600d changed epochs from 5000 to 500
a95dbdbd Added 1M and 1y timeframes
2554dc48 Add test for notification settings
413d7ddf Document telegram notification settings
e53b88bd Introduce notification_settings for telegram
2a7935e3 Rename custom_notification to startup_notification
f0d7f18c Pad wins / draws / losses for hyperopt with spaces instead of 0's
476319da Clarify --timerange documentation
bf95fe2e have the 2 timerange arguments next to each other
5daaed14 Help endpoint does not make sense for the rest api server.
1f086e14 Modify test loglevel
77d01896 Remove not needed argument in update_trade_state
2f6b0055 Document support for --timerange in download-data
35857b3d Datetime should support --timerange too
bfd0e355 Don't build this branch anymore in CI
254875e6 Add test for new close functionality
dd87938a Fix bug causing close_date to be set again
ec01f20b Add ratio to sell reason stats
962fed24 Readd refind_order logic
6d30740b Bump ccxt from 1.34.11 to 1.34.25
23c1ae5d Bump nbconvert from 5.6.1 to 6.0.2
9d3caae9 Bump plotly from 4.9.0 to 4.10.0
3c76945d Bump numpy from 1.19.1 to 1.19.2
60538368 Bump pytest from 6.0.1 to 6.0.2
07ccda91 Fix syntax for released CI
d65d886d add branch to CI - change branch-detection to support tags as well
ba8e93e2 Remove requirements-common.txt
3f52b6d6 Move "source" restored ".env/"
77c28187 Don't run refind order on stoploss
50f0483d FIx fluky test in test_api_logs
90d97c53 FIX: added missing ) for SQLite insert
0c9301e7 FIX: added missing ) for SQLite insert
aa8832f7 Convert select_order to use ft_is_open flag
41942e3a Update docstring for select_order
b8773de5 scoped sessions should be closed after requests
85d90645 Remove duplciate check for buy orders
4db8c779 Fix formatting issues
6a08fee2 Fix wrong import in documentation
23f569ea Add test for sell order refind, improve overall test for this function
3c521f55 Add 6th mock trade
c3e03977 Added full "source" command to virtualenv in easy install
4480b3b3 Fix error in documentation (wrong sequence of steps)
8c97b83b Bump pandas from 1.1.1 to 1.1.2
d8dae465 Bump ccxt from 1.34.3 to 1.34.11
986e767d Bump blosc from 1.9.1 to 1.9.2
4cf66e2f Bump progressbar2 from 3.52.1 to 3.53.1
083c3580 Fix wrong sequence in test
25938efe Add partial test for refind_order
98840eef Add 5th mock trade
caf04767 Add test for handle_insufficient_funds
8af610b5 Add Test for reupdate_buy_order_fees
3fe2ed0e zero pad in test
f63a3789 Update hyperopt.py
f20318fa Bump scikit-learn from 0.23.1 to 0.23.2
ff0e73a9 Bump scikit-optimize from 0.7.4 to 0.8.1
534404c2 Bump ccxt from 1.33.72 to 1.34.3
014fcb36 Bump mkdocs-material from 5.5.11 to 5.5.12
7852feab support smaller timeframes
f3e0370d Stylistic fixes
6518e7a7 Add test for update_closed_trades_without_fees
26a5cc59 Add return-type for select_order
f113b450 Refactor test to not duplicate order info
da0ceb7d Extract orders for mock trades
cad0275b Extract mock_trade generation to sepearate file
f6ebe513 Add test for update_open_orders
a0fd7f46 Update tests to merged version
b4da36d6 Fix small typo and add small testcase
7c1f111d Add insufficient_funds_test
cec98ad4 Test stoploss insufficient funds handling
68d51a97 Don't raise OperationalException when orderid's dont' match
a78d6115 Deleting must delete orders first
b7662722 Add tests for Order object parsing
b4c35291 Add orders to mock_trades fixture
8c9297e1 Don't crash if a strategy imports something wrongly
c18441f3 Fix typo in reloading_conf
71af64af Move comment to the right place
cc684c51 Correctly handle identical timerame merges
7bc89279 Add documentation for merge_informative_pair helper
bd4f3d83 Implement merge_informative_pairs helper
bc5cc48f Adjust windows docs, fix failing doc-test
14066919 Rename files to have clearer paths
32005b88 small typo
275d8534 Updated W, L Formulas
34b27d2f Moving stuff around
29fe2fff Added that the user can edit docker-compose.yml
e6058b71 removes prolixity docker-compose
66505bd9 Fixes Raspberri Pi Image config
f6a8dda8 Reorganize structure
71426470 Fixes typos
47f0e690 Update docs/edge.md
93d1ad5e Update docs/edge.md
1f13a8b9 Update docs/edge.md
08e35461 Update docs/edge.md
5f9c449d Update docs/edge.md
70eaf971 Update docs/edge.md
69349a9d Update docs/edge.md
ec9b51d6 Update docs/edge.md
27362046 Add documentation section about running docs locally
5c5cf782 Fix small bug with /daily if close_profit_abs is not yet filled
47352e17 Address issue #2487
295ecaa9 Updating Edge Positioning Doc.
79ea8cf7 Improve wording
e268bd19 Fix informative sample documentation
f54fecae Expose helpermethods thorugh freqtrade.strategy
dff0ac27 Remove trailing_stop from default config example - it'll be misleading
d4441828 Reinstate wrongly removed pairlist test
3bc6cb36 Remove deprectead volumepairlist options
a4e3edbc Fix stoploss_last_update beein updated with date object in wrong timezone
24df8d6b Sort imports
c5b8993e Bump ccxt from 1.33.52 to 1.33.72
8969ab4a Bump pytest-mock from 3.3.0 to 3.3.1
55a49bfc Bump progressbar2 from 3.51.4 to 3.52.1
821af9be Bump mkdocs-material from 5.5.8 to 5.5.11
4adf012e Bump flask-cors from 3.0.8 to 3.0.9
f83633ff Bump prompt-toolkit from 3.0.6 to 3.0.7
7f74ff53 Move clock warning to installation pages
3d39f05c Improve release documetation
842eff95 Add simple verification to ensure pairlists is iitialized
284d3993 Allow using pairlists through dataprovider in backtesting
a595d23b Improve comment in test
289425a4 Add test for dry-run-cancel order
b2373fcc Adjust tests as send_msg is only called once
9c0a3fff Avoid double notifications in case of partially filled buy orders
5e75caa9 Adjust tests to new forcesell
85e71275 Simplify forcesell method by using freqtrade methods
add78414 Don't overwrite cancel_reason
d161b94d Allow simulating cancelled orders in dry-run
26f45c83 Improve logmessage for trailing stoploss
38809acd Don't rerun for known closed orders
9ba9f737 Improve logging, don't search for buy orders in refind_lost_order
674b510d Parametrize fetch_order retry counts
3d7e800f Remove test code
11e69bdd Update open trades too
fd33282e Add handle_insufficient exception
3b444633 Use fetch_order_or_stoploss order
f2b390a2 Add fetch_order_or_stoploss wrapper
fc2104bf Fix bug with time when updating order_date
39beb5c8 Add method to update fees on closed trades
fc42d552 Convert logs to fstrings
2d6bcbb4 Fix small error in trades updating
357d7714 Add docstring to update_trade_state
3be14933 Add comment explaining update_open_orders
0b6014fa update_trade_state should take the order id directly - not from the trade object
838985f6 Don't reset open-order-id just yet
06125df1 Remove unused import
d8fdd32b FIx migrations
cfa352ec Disable refind_lost_order for now
b25267ad Build docker image for db_keep_orders branch
552aaf79 add refind order logic
22af8263 Introduce InsufficientFundsError exception
a6fc922f Introduce insufficientFunds Exception
8458a380 Improve order catchup
95efc0d6 Add open_order_updater
c4d7aff5 Order should have a "is_open" flag
da2a515d Add delete cascade to alchemy model
1a305ea8 Fix migrations to use unique key
2ca6547b Update tests to have unique ordernumbers
4434a54d Add unique key to order-Model
ebd755e3 Improve order handling
0af9e913 Timestamps are in ms
73182bb2 Update migrations to populate Orders table for open orders
396e781b Update orders
4924d848 Extract "update order from ccxt" to it's onw function
ee7b235c Improve tests to use open_order mock where applicable
420a8c2b Improve tests for rpc/forcebuy
a66a3d04 Remove unneeded mocks
ed87abd9 Allow selecting only a certain table range in migration
171a52b2 Introduce Order database model
7d03a067 Extract migrations ot seperate module
044df880 Move persistence into it's own submodule
bad89307 Fix mypy error
119bf2a8 Document hdf5 dataformat
edb582e5 Add more tests
ae1c99bd more tests
ed33d478 Add more hdf5 tests
d9b339ee Add some more tests for hdf5
0a28818b Add some tests for hdf5
e26e658f Improve a few tests
6a0c84b6 Add tests for hdf5
861e7099 Rename hdf5handler to hdf5DataHandler
3171ad33 Add blosc compression
0f08addf Don't store empty arrays
31df42e7 Implement get_available_data
d4540c84 Add trades_load method
55591e28 First version of hdf5handler - no proper support for trades yet
0614e599 Add tables dependency

Don't miss a new freqtrade release

NewReleases is sending notifications on new releases.