Wade Dyck
a5742b3bbc
Fixes a failing test_history due to changed log message.
2021-12-27 11:26:49 -07:00
Matthias
bb65621134
Simplify test, simplify "log_*" selection
2021-12-27 17:14:59 +01:00
Matthias
54858a0bbb
Simplify test to only initialize and mock once.
2021-12-27 16:39:47 +01:00
Matthias
314e10596b
Remove checking against logger_name in num_log_has
2021-12-27 16:39:31 +01:00
cdimauro
f77b8cbb7a
Reduce KuCoin logs only for 429000 error
...
Only KuCoin messages for 429000 error code are logged once.
Logs functions are also simplified and optimized.
test_remove_logs_for_pairs_already_in_blacklist is simplified as well.
2021-12-26 21:09:25 +01:00
cdimauro
6509c38717
Introduce new test functions to check logs
...
New functions log_contains, num_log_contains, num_log_has and num_log_has_re
are introduced in the conftest module to help and simplify checking:
- if logs contain a string;
- count how many messages contain a string;
- count how many messages are the given string;
- count how many messages matchs a regex.
A couple of existing tests are changed using the new functions.
2021-12-26 09:49:14 +01:00
cdimauro
fbaf46901e
Reduce more KuCoin logs on retrier decorator
...
More logs are reduced, for KuCoin, on the retrier_async decorator:
_async_get_candle_history() returned exception
retrying _async_get_candle_history() still for
Giving up retrying: _async_get_candle_history()
Applying DDosProtection backoff delay
2021-12-26 09:06:26 +01:00
cdimauro
96fbf63d0b
Reduce KuCoin logs on DDosProtection error messages
...
KuCoin APIs generate A LOT of error messages.
Consequently, logs are flooded with lines like:
2021-12-25 22:30:23 freqtrade.exchange.common: WARNING -
_async_get_candle_history() returned exception:
"kucoin GET https://openapi-v2.kucoin.com/api/v1/market/candles ?
symbol=PDEX-USDT&type=5min&startAt=1640317818&endAt=1640467818
429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}"
2021-12-25 22:30:23 freqtrade.exchange.common: WARNING -
retrying _async_get_candle_history() still for 3 times
2021-12-25 22:30:23 freqtrade.exchange.common: WARNING -
Kucoin 429 error, avoid triggering DDosProtection backoff delay.
2 tries left before giving up
2021-12-25 22:30:24 freqtrade.exchange.common: WARNING -
_async_get_candle_history() returned exception:
"kucoin GET https://openapi-v2.kucoin.com/api/v1/market/candles ?
symbol=UBX-USDT&type=5min&startAt=1640317821&endAt=1640467821
429 Too Many Requests {"code":"429000","msg":"Too Many Requests"}"
Messages like:
Kucoin 429 error, avoid triggering DDosProtection backoff delay.
are logged only once for a certain period of time (default is 3600 seconds).
2021-12-25 22:32:22 +01:00
Matthias
2917cc1f2e
Bitpanda's "fetch_my_trades" requires "to" argument
...
closes #4938
2021-12-25 14:28:22 +01:00
Matthias
6fdad8c6bd
Prevent exception, ensure deletion occurs
2021-12-25 14:03:44 +01:00
Matthias
356b2d3d91
Reestablish backward compatibility
2021-12-25 13:47:28 +01:00
Matthias
b1feb69ca9
Use Pathlib to delete testfile
2021-12-25 10:30:59 +01:00
Reigo Reinmets
d11a8928d4
Fix test not running when user_data contains historical data.
2021-12-25 10:39:27 +02:00
Matthias
61dbb6206f
Slightly reduce verbosity when reload_conf is issued
...
part of #6095
2021-12-23 20:33:13 +01:00
Matthias
f88b6af26f
Merge pull request #6070 from cdimauro/suppress_logs
...
Suppress additional logs for pairs in blacklist
2021-12-21 21:07:15 +01:00
Matthias
e5aaef6440
Fix CI failure
2021-12-21 19:20:09 +01:00
Matthias
a557451eee
Okex uses 4h mark candle timeframe
2021-12-19 16:47:44 +01:00
Matthias
ddce28c12d
Update data downloading to include funding_fee downloads
2021-12-18 15:32:02 +01:00
Matthias
ea38b58081
Add base_currency to allowed webhook fields
...
closes #6075
2021-12-16 20:18:01 +01:00
Matthias
b2fc3e814e
Merge pull request #6055 from freqtrade/blacklist_delete
...
Add Blacklist delete
2021-12-16 13:41:18 +01:00
Matthias
39f0a17e62
Fix formatting
2021-12-16 07:11:35 +01:00
Matthias
f9aa36f291
Don't hard-fail when executing emergency sell fails
...
closes #6068
2021-12-15 19:37:35 +01:00
Matthias
b80b5ed1ad
Improve uri_logging test
...
part of #6069
2021-12-15 19:25:30 +01:00
cdimauro
9d8646072c
Add test case for checking removal of logs for pains in blacklist
2021-12-14 06:23:40 +01:00
Matthias
3398469e55
Update PerformanceFilter to have min_profit as ratio again.
...
closes #6056
2021-12-12 13:21:36 +01:00
Matthias
8fdef2900e
Increment API version to let clients know this is now available
2021-12-11 19:41:30 +01:00
Matthias
8da79d0ab2
Add blacklist-control to telegram
2021-12-11 16:12:24 +01:00
Matthias
cc96db76f0
Add possibility to delete pairs from the pairlist via api
2021-12-11 15:53:44 +01:00
Matthias
e729fad99c
Add unknown_fee_rate parameter
2021-12-11 15:26:08 +01:00
Matthias
17bd990053
Update funding_fee freqtradebot test
2021-12-11 09:49:48 +01:00
Matthias
6948414e47
Remove no longer necessary method _get_mark_price_history
2021-12-10 19:54:49 +01:00
Matthias
a87d2d62bb
Remove no longer needed method get_funding_rate_history
2021-12-10 19:52:02 +01:00
Matthias
aabca85a5f
Update _calculate_funding_fees
to reuse existing async infrastructure
2021-12-10 19:50:58 +01:00
Matthias
35f9549e98
Expose drop_incomplete from refresh_latest_ohlcv
2021-12-10 07:36:25 +01:00
Matthias
3f266e8c8c
Improve ccxt_mark_price_test
2021-12-10 06:46:35 +01:00
Matthias
edd80c3006
Merge branch 'develop' into feat/short
2021-12-09 06:34:07 +01:00
Matthias
0c28d15dc1
Merge pull request #5780 from samgermain/mark-price-candles
...
Mark price candles
2021-12-09 06:24:54 +01:00
Matthias
be6b1f6f83
Import from enums, not submodules
2021-12-09 06:18:21 +01:00
Matthias
2679744228
Explicit test for candletype get_default
2021-12-08 16:20:26 +01:00
Matthias
25e1142f89
Update Enum imports
2021-12-08 15:59:20 +01:00
Matthias
9b9d61c6d6
Remove SPOT_ candletype
2021-12-08 14:38:09 +01:00
Matthias
d89cbda7b8
Use candle_type_def
where possible
2021-12-08 14:15:54 +01:00
Matthias
dda7283f3e
Remove unnecessary default parameters
2021-12-08 11:32:58 +01:00
Matthias
b4d27973b1
Update ohlcv_get_pairs test
2021-12-07 19:57:18 +01:00
Matthias
37b013c157
Update hdf5 test
2021-12-07 19:50:16 +01:00
Matthias
a870e0962a
Fix some obtruse (test)bugs
2021-12-07 07:25:00 +01:00
Matthias
ba1091b9e4
Improve dataprovider test
2021-12-07 07:11:36 +01:00
Matthias
cff950d783
Update test_convert_ohlcv_format to test as before
...
it did test conversion of multiple files, and that should be kept this
way.
2021-12-07 07:06:28 +01:00
Matthias
5a3b907132
Update converter tests
2021-12-07 06:59:27 +01:00
Matthias
a58c2c4f6c
Update ccxt_compat tests to also test funding_rate
2021-12-07 06:31:39 +01:00
Matthias
9d79501c13
Add candletypes argument for convert-data
2021-12-05 10:26:00 +01:00
Matthias
a7eb9f8a58
Fix random test failure
2021-12-05 09:41:24 +01:00
Matthias
1a08613498
Fix parameter sequence in mock
2021-12-04 15:13:06 +01:00
Matthias
d0467b30ba
Add strategy_version to API response
2021-12-04 14:49:45 +01:00
Matthias
848a2d5383
Merge branch 'develop' into pr/dvdmchl/5929
2021-12-04 14:40:15 +01:00
Matthias
2080bf0952
Fix some formatting errors, add test for strategy version
2021-12-04 14:40:05 +01:00
Matthias
5b779fd68b
Update missing candle_type params
2021-12-03 16:44:05 +01:00
Matthias
e75f31ee86
Create correct Type for PairWithTimeFrame
2021-12-03 15:20:18 +01:00
Matthias
9421e6e61c
Improve some tests
2021-12-03 14:57:09 +01:00
Matthias
d30aaaeaaa
Tests should also use CandleType
2021-12-03 14:27:04 +01:00
Matthias
5493212672
More candletype changes
2021-12-03 13:04:31 +01:00
Matthias
f33643cacf
Add candletype from string
2021-12-03 12:46:18 +01:00
Matthias
f9cf59bb4d
Candle_type to enum
2021-12-03 12:32:12 +01:00
Matthias
e0e4369c8e
list-available-pairs should be tradingmode dependent
2021-12-03 08:09:32 +01:00
Matthias
b578e31255
Align tests to have futures data in futures/ directory
2021-12-03 07:20:43 +01:00
Matthias
fae7167bf3
Merge branch 'feat/short' into pr/samgermain/5780
2021-12-02 20:25:30 +01:00
Matthias
fb1599d21b
Merge branch 'develop' into feat/short
2021-12-02 20:20:35 +01:00
Matthias
d3ad4fb52e
Don't crash dry-run if orderbook side is empty
...
closes #6018
2021-12-02 19:17:47 +01:00
Matthias
22cda87211
Update some tests after merge
2021-12-02 19:05:06 +01:00
Matthias
f4d0abc51a
Merge branch 'feat/short' into pr/samgermain/5780
2021-12-02 07:09:37 +01:00
Matthias
f71b7a4e76
Merge branch 'develop' into feat/short
2021-12-02 06:53:15 +01:00
Matthias
5ce1eeecf5
Reorder messages to be sent in correct order
...
buy first, then buy fill,
sell first, then sell fill.
2021-12-01 19:57:24 +01:00
Matthias
77443d5abc
Merge pull request #6011 from freqtrade/lev/backtesting
...
correctly apply leverage to backtesting
2021-12-01 19:49:40 +01:00
Matthias
67f3570bf3
Merge branch 'develop' into feat/short
2021-12-01 07:21:36 +01:00
Matthias
8b2fbb6432
Add leveraged backtest detail test
2021-11-30 20:42:18 +01:00
Matthias
231b1e2f57
Improve Async error message content
2021-11-30 07:10:12 +01:00
Matthias
de7e1e6bf7
Merge pull request #5980 from incrementby1/ShuffleFilterDetectLiveMode
...
Shuffle filter use seed only in backtesting mode
2021-11-30 06:37:35 +01:00
Matthias
dfb148f8d7
Fix formatting
2021-11-29 19:54:54 +01:00
Matthias
134b129d9d
get_analyzed_df does not need a "candle_type" argument
2021-11-28 19:14:58 +01:00
Matthias
c20157e64f
Add compatibility code for existing informative_pairs implementation
2021-11-28 15:43:04 +01:00
Matthias
0d6c933935
Improve and fix pair detection from available data
2021-11-28 15:25:57 +01:00
Matthias
0d1324718c
Don't replace "-" when writing pair files
2021-11-28 15:08:02 +01:00
Matthias
7faa7539b4
Further enhance pair retrieval
2021-11-28 15:03:55 +01:00
Matthias
8d70672bee
Enhance Regex to work for mark candles
2021-11-28 14:37:54 +01:00
Matthias
c096c7f5cb
Add explicit tests for ohlcv regex
2021-11-28 14:34:46 +01:00
Spat
fb6ae174b9
Added raw config and retry config to webhook
2021-11-28 11:42:57 +11:00
Matthias
2b3e7eeb21
Use Enum values within bot code
2021-11-27 19:41:36 +01:00
Matthias
409a801763
Fix caching problem in refresh_ohlcv
...
closes #5978
2021-11-27 19:31:39 +01:00
Matthias
cb95b362ec
Merge pull request #5976 from freqtrade/forcebuy
...
allow force options with ordertype
2021-11-27 17:01:18 +01:00
Matthias
504efbd6d4
Add futures argument to download-data command
2021-11-27 16:36:59 +01:00
Matthias
a629777890
Improve test coverage in telegram module
2021-11-27 09:53:05 +01:00
Sam Germain
0183e313ac
Merge branch 'mark-price-candles' of https://github.com/samgermain/freqtrade into mark-price-candles
2021-11-27 02:44:14 -06:00
Sam Germain
0d30b32fdd
Formatting changes
2021-11-27 02:44:06 -06:00
Matthias
450293878f
Merge pull request #5964 from stash86/fix-docs
...
Add more words on VolumePairlist backtest error message
2021-11-26 07:48:24 +01:00
Matthias
897788de17
Reformulate exception to be "nicer"
2021-11-26 07:02:50 +01:00
Matthias
cc9ea1d466
Merge pull request #5935 from freqtrade/short_buy_tag_compat
...
Short buy tag compat
2021-11-26 06:29:56 +01:00
Stefano Ariestasia
5307d2bf3b
Trimming the sentence
2021-11-25 17:04:04 +09:00
Stefano Ariestasia
c23d90e2b8
Update test_backtesting.py
2021-11-25 16:56:56 +09:00
Stefano Ariestasia
0c629fc951
Update test_backtesting.py
2021-11-25 16:03:29 +09:00
Matthias
338fe333a9
Allow forcebuy to specify order_type
2021-11-24 20:20:58 +01:00