Commit Graph

4219 Commits

Author SHA1 Message Date
Matthias 7a7f16b658 Skip catboost tests on py3.11 2023-03-02 18:23:49 +01:00
Matthias e228733f1a
Merge pull request #8264 from xmatthias/sqlalchemy_2
Sqlalchemy 2
2023-03-02 18:23:01 +01:00
Matthias 103bd9e2f2 keep Trade.session private 2023-03-02 07:26:50 +01:00
Matthias ba38a826e9 Update missing mocks 2023-03-02 06:46:17 +01:00
Matthias b980f45b2b Fix test mypy errors 2023-03-02 06:23:01 +01:00
Matthias 59d57d3466 Improve test resiliance 2023-03-01 20:32:56 +01:00
Matthias 0691bbaad9 Update some db types 2023-03-01 20:32:32 +01:00
Matthias e59eaf33e0 Update _session to session 2023-03-01 20:32:31 +01:00
Matthias feabed30a3 Update remaining exchange mock occurances 2023-03-01 20:27:15 +01:00
Matthias 2ca8b0b12e Update more exchange mocks to use EXMS 2023-03-01 20:27:15 +01:00
Matthias bcdf4e0fe8 Use variable for exchange mocks to shorten lines 2023-03-01 20:27:15 +01:00
Matthias 78e5ec13bb Use absolute path for generic mocks 2023-03-01 20:27:15 +01:00
Matthias 8b51f5f563 Lowercase exchange ID 2023-03-01 20:27:15 +01:00
Matthias 756c284ecd
Merge pull request #8225 from freqtrade/ruff2
Ruff - add PTH rule and subsequent changes
2023-03-01 20:27:06 +01:00
Matthias dd10dec73d Improve variable wording 2023-02-28 20:31:02 +01:00
Matthias 386915378b Improve /status message (show Total profit) 2023-02-28 19:54:47 +01:00
Matthias 2f1c5cf143 Remove pointless pylint rules 2023-02-28 18:22:17 +01:00
Matthias 3706d28125 use pytest.approx in favor of "prec_satoshi" ... 2023-02-28 18:20:37 +01:00
Matthias 0707e70183 Remove deprecated current_profit from api responses 2023-02-28 18:20:37 +01:00
Matthias 5660036f47
Merge pull request #8245 from eSAMTrade/bugfix-8244
Fix last_process related bug in RPC.health (BUG-#8231)
2023-02-28 18:18:53 +01:00
Matthias 244fd0e731
Merge pull request #8184 from LangLazy/feature
Feature market direction
2023-02-28 17:22:31 +01:00
Matthias 65d1598a90 Show absolute profit in /status command 2023-02-27 21:17:02 +01:00
Matthias 46b987042b Include realized_profit in api output 2023-02-27 20:47:07 +01:00
ASU 1d5608d627 Fix last_process related bug in RPC.health 2023-02-27 12:14:38 +02:00
Matthias 5b0bc5bbc5 Don't "fix" dry-run kucoin orders
closes #8229
2023-02-26 16:17:41 +01:00
Matthias 6f7ab97fc3 Improve bybit test coverage 2023-02-26 16:17:41 +01:00
Matthias 27676f4aa2 Add explicit bybit test 2023-02-26 16:17:41 +01:00
Matthias 79dc972e5a Add explicit test for kucoin 2023-02-26 16:17:41 +01:00
Matthias 84d905a648 Fix missed test 2023-02-25 17:39:18 +01:00
Matthias d014e4590e use Path.open() instead of open 2023-02-25 17:15:54 +01:00
Matthias c8a4a773ee Fix _pairs_last_refresh_time storing the wrong date
Depending on the drop_incomplete settings, this can lead to implicit bugs
2023-02-25 16:18:46 +01:00
Matthias 84b8cee004 Merge branch 'stable' into develop 2023-02-25 16:18:25 +01:00
Matthias 521025037d
Merge pull request #8203 from freqtrade/add-bufer-train-data-candles
Add buffer_train_data_candles feature
2023-02-24 13:25:18 +01:00
Matthias ac2a2512ef
Merge pull request #8210 from freqtrade/clean-data-drawer
Allow user to control number of historical model files
2023-02-24 13:19:38 +01:00
Matthias 34c42be74f Fix minor stylistic errors 2023-02-23 20:06:10 +01:00
Matthias 659140e190 Add bt-error to UI backtest method. 2023-02-23 20:06:10 +01:00
robcaulk b8f011a2ab give users ability to decide how many models to keep in dry/live 2023-02-22 22:27:56 +01:00
robcaulk 2b5c11c7b4 allow users to buffer train data with buffer_train_data_candles parameter 2023-02-21 21:08:34 +01:00
robcaulk fd4e27d889 remove populate_any_indicators 2023-02-21 14:22:40 +01:00
Achmad Fathoni 789c867c8f Fix outdated systemd related exception text. 2023-02-20 16:30:23 +07:00
Matthias e9c64c5839 Update dependency to cysystemd
closes #8187
2023-02-19 19:30:27 +01:00
Matthias b0ec35d526
Merge pull request #7904 from freqtrade/feat/shuffle_after_split
add shuffle_after_split option
2023-02-19 15:03:04 +01:00
Matthias 2c0fbd8500 Simplify test slightly 2023-02-18 18:07:35 +01:00
Rahul Gudise ade64f25d3 fixed formatting 2023-02-17 17:08:39 -05:00
Rahul 72af1912ca added new text 2023-02-17 22:01:00 +00:00
hippocritical 08ca0f7c0f
Merge branch 'freqtrade:develop' into strategy_utils 2023-02-17 21:07:23 +01:00
hippocritical 06edc5c044 changed to ast_comments, added tests for comments. 2023-02-17 21:01:09 +01:00
Matthias 31c7b3e136 Update binance leverage tiers 2023-02-17 06:37:03 +01:00
Matthias 22700527ac Convert limit orders to market orders if they cross a threshold
closes #7786
2023-02-17 06:37:03 +01:00
Matthias 9600039686 Update dry-run fill method naming 2023-02-17 06:37:03 +01:00
Rahul 1a74ede126 Merge branch 'feature' of github.com:LangLazy/freqtrade into feature 2023-02-16 17:54:20 -05:00
Rahul b73089deb8 fixed a test 2023-02-16 17:51:50 -05:00
robcaulk 351c5fbf7f add shuffle_after_split to conftest 2023-02-16 19:48:22 +01:00
robcaulk b6a741b421 merge develop into feat/shuffle_after_split 2023-02-16 18:46:01 +01:00
Matthias 3397e47ccf Rename stoploss() to create_stoploss() 2023-02-14 20:42:08 +01:00
Matthias 6e55a873b3 Rename edge.stoploss to get_stoploss
this will make it clear that it's different from
2023-02-14 07:18:11 +01:00
Matthias cdd324d0a9 Rename stoploss_reached to ft_stoploss_reached 2023-02-13 20:08:54 +01:00
Matthias f16fd0ad23 Reenable binanceus active test 2023-02-13 07:12:46 +01:00
hippocritical 69a63975c1
Merge branch 'freqtrade:develop' into strategy_utils 2023-02-12 20:11:15 +01:00
Matthias a3b4678ad6 stoploss_price_type for gate 2023-02-11 13:02:55 +01:00
Matthias c229ba97a9 Update gateio terminology to Gate 2023-02-11 08:15:11 +01:00
Matthias 07e6932a17 Reenable longrun test mark 2023-02-11 08:14:55 +01:00
Matthias f440d66210 Add sample_order for gate 2023-02-10 18:12:21 +01:00
Matthias eab724fe54 Merge branch 'develop' into fut/stop_price_type 2023-02-09 20:02:59 +01:00
Matthias 980ffa6bfb Add test for binance rounding leverage 2023-02-08 07:08:42 +01:00
Matthias e2d81b0ce0 Skip binanceus ccxt test 2023-02-08 07:08:42 +01:00
Matthias 8c0c2496c2 Temporarily disable gate advanced stop orders 2023-02-07 07:13:57 +01:00
Matthias 82dad7ab17
Merge pull request #8086 from freqtrade/feat/cancel_order
Cancel open orders through UI/telegram
2023-02-06 19:43:21 +01:00
Matthias b8a527e4a0 Add gateio price type field 2023-02-05 10:46:24 +01:00
Matthias 3497de3dd5 Add more validation 2023-02-05 10:38:58 +01:00
Matthias cf9e99b8e1 Add tests for ordertype validation 2023-02-05 10:38:58 +01:00
Matthias 801714a588 Update function signatures in all templates
add typehints to help the user's editor suggest the right things.
2023-02-04 20:04:16 +01:00
robcaulk ccb4efbe88 remove follow mode in favor of producer consumer 2023-02-02 11:40:23 +01:00
Matthias c1a34396d0 Merge branch 'develop' into feat/cancel_order 2023-02-01 07:06:17 +00:00
Matthias 9bb376296d Update parse_order test 2023-01-31 20:59:55 +01:00
Matthias 50d3b7bdef Add bybit sample order 2023-01-31 20:00:05 +01:00
Matthias 42f07e6ec2 Improve order_parse tests 2023-01-31 19:45:27 +01:00
Matthias 6012a55828 Improve test 2023-01-31 19:40:42 +01:00
Matthias 9cfbb21cd7 Improve error messages 2023-01-31 19:38:43 +01:00
Matthias bbc663fce1 Add telegram test 2023-01-31 19:26:26 +01:00
Matthias 1c47c118d6 Add cancel-order api test 2023-01-31 19:26:21 +01:00
Matthias daafc1c90f Update test and help 2023-01-31 18:16:59 +01:00
Matthias 1dc3c58775 Convert missing candle count to int
closes #8082
2023-01-31 11:04:56 +00:00
Matthias 5a7008f377 rename handle_timedout to handle_cancel_order 2023-01-30 20:02:01 +01:00
Matthias f57394c1ce Merge branch 'develop' into bybit 2023-01-30 07:23:41 +01:00
Matthias c4482d56ab Merge branch 'stable' into new_release 2023-01-30 07:10:32 +01:00
Matthias ede79590da Update ccxt compat tests with kucoin order 2023-01-29 19:56:13 +01:00
Matthias 507d3d6d9b Add ci for binance.us 2023-01-29 15:14:55 +01:00
Matthias f6ba0fe6ae bybit: fix broken ccxt tests 2023-01-28 18:23:23 +01:00
Matthias d1b069abfb bybit: Update test to align with defaultType change 2023-01-27 20:33:34 +01:00
Matthias 7029b9602c Merge branch 'develop' into bybit 2023-01-27 20:30:05 +01:00
Matthias aa15837589 Add test for filled_date not updating if it's already set 2023-01-27 20:20:15 +01:00
Matthias 8665d0866d Add test for bybit startup magic 2023-01-26 19:58:42 +01:00
Matthias 051c3be99e add test case for bybit 2023-01-24 07:21:56 +01:00
Matthias 31745a9dc2 bybit: Initial implementation liquidation calculation 2023-01-24 07:21:56 +01:00
Matthias 93ce963e9b Update test name 2023-01-24 07:21:56 +01:00
Matthias 752110a268 Add online tests for bybit 2023-01-24 07:21:56 +01:00
Matthias d05ecd630f Update tests for new liquidation parameter 2023-01-24 07:21:56 +01:00
Matthias 63c732a560 Bybit futures data download 2023-01-24 07:21:56 +01:00
Matthias 078b430828 Add ccxt compat tests for order parsing 2023-01-23 18:22:07 +01:00
Matthias bb355cfac5 improve naming of backtest function 2023-01-21 19:46:27 +01:00
Matthias 80bb120026 Simplify backtesting by removing now unnecessary private function 2023-01-21 18:01:01 +01:00
Matthias 1211b72255 Add test to show behavior reported in #7978 2023-01-21 16:23:32 +01:00
Matthias 772800bf74 Fix bug in stake_amount adjustment
This was preventing a DCA order to take the remaining stake
2023-01-21 08:52:10 +01:00
Matthias 865d678304 Add backtest_detail test for futures 2023-01-20 09:45:02 +00:00
Matthias 28e51e2dfb Simplify some test setups 2023-01-20 08:28:50 +00:00
Matthias 58d48e79da Convert tests/datadir to path object - better mirroring an initialized configuration 2023-01-20 08:07:02 +00:00
Matthias a5d87859dc Refactor test to reuse variable 2023-01-20 07:27:35 +00:00
Matthias 6e22607387 Add 5m futures testdata to support detail-backtest tests 2023-01-20 07:08:38 +00:00
Matthias 634b80f0e7 Add tests for plotconfig in ws mode 2023-01-18 18:15:35 +01:00
Matthias 4aaa439221
Merge pull request #7976 from adarkforce/max-open-trades
Hyperopt Max open trades
2023-01-17 20:41:48 +01:00
Matthias c8ecedf6d5 Clarify a variable via typehint 2023-01-17 20:05:18 +01:00
Matthias 7092212ed5 re-add futures tickers quoteVolume assert 2023-01-17 06:57:48 +01:00
Matthias 98dcab49ab Add fetch_tickers test for futures 2023-01-16 23:06:18 +01:00
Matthias b4fcda2c11 add aiohttp proxy 2023-01-16 22:37:21 +01:00
Matthias 92a5efad0e Fix set_test_proxy usage 2023-01-16 22:09:53 +01:00
Matthias b193d8418d Deepcopy config before adding proxies 2023-01-16 21:31:01 +01:00
Matthias f46b62f1a7 Attempt to use and setup a proxy for CI 2023-01-16 21:15:05 +01:00
Matthias 394a973bbb Revert "Attempt to use and setup a proxy for CI"
This reverts commit 48ae248d2d.
2023-01-16 21:14:46 +01:00
Matthias 48ae248d2d Attempt to use and setup a proxy for CI 2023-01-16 21:14:19 +01:00
Antonio Della Fortuna 5e10bb2cca Merge branch 'develop' of https://github.com/freqtrade/freqtrade into max-open-trades 2023-01-16 20:19:46 +01:00
froggleston 813724bd82 Add a new analysis group to output stats grouped by exit_tag 2023-01-16 13:28:40 +00:00
Antonio Della Fortuna ab12aace5f changed `trades_space` to `max_open_trades_space` 2023-01-15 11:50:40 +01:00
Antonio Della Fortuna 5e64980319 Merge branch 'develop' of https://github.com/freqtrade/freqtrade into max-open-trades 2023-01-15 11:44:35 +01:00
Antonio Della Fortuna b0f1d914c8 Changed max_open_trades type to int or inf 2023-01-15 11:44:10 +01:00
Matthias e14f2cc275 Add db migration test 2023-01-14 21:26:00 +01:00
Matthias 5d4a247fa0 Add test for binance data migration 2023-01-14 20:34:04 +01:00
Matthias cbcee02ded call data migration from backtesting 2023-01-14 20:07:33 +01:00
Matthias 1fc97a8008 use Unified futures naming for futures throughout tests 2023-01-13 21:16:19 +01:00
Matthias 9d1cf040f0 Update test leverage tiers 2023-01-13 20:44:45 +01:00
Matthias 4ea8962ca2 Rename futures test data 2023-01-13 20:44:32 +01:00
Matthias 0be0ef9e77 Remove duplicate binance test
The same test exists in test_exchange, but for most exchanges.
2023-01-13 07:11:44 +01:00
Matthias 0d1172ca43 Update binance future test 2023-01-13 07:04:29 +01:00
Matthias b024fafaf8 Use futures_pair in ccxt test correctly 2023-01-12 23:39:02 +01:00
Matthias 183bf6819f Update binance pair naming in ccxt test 2023-01-12 23:35:32 +01:00
Matthias 1a533668b5
Merge pull request #8008 from freqtrade/fix/NaT_ser_deser
Fix websockets for dataframes with NaT entries
2023-01-12 08:10:14 +01:00
Matthias 9d647fd193 Fix websockets for dataframes with NaT entreis 2023-01-11 22:07:20 +01:00
Antonio Della Fortuna 534aa8f7ff Merge branch 'develop' of https://github.com/freqtrade/freqtrade into max-open-trades
# Conflicts:
#	freqtrade/optimize/backtesting.py
2023-01-11 18:55:57 +01:00
Matthias 00dbc195ac Update huobi ci to use BTC markets 2023-01-11 08:43:07 +00:00
Matthias f677dea6a4
Merge pull request #7950 from freqtrade/freqai_feature_engineering_functions
FreqAI Strategy - Improve user experience
2023-01-10 20:04:53 +01:00
Matthias 6fc3d0e5e1
Merge pull request #7995 from freqtrade/dependabot/pip/develop/httpx-0.23.3
Bump httpx from 0.23.1 to 0.23.3
2023-01-09 20:47:32 +01:00
Matthias fbdda8cd15 Always pass Dictionaries to testclient post requests 2023-01-09 18:12:20 +01:00
Antonio Della Fortuna 7d27afd4b8 Fixed test broken due to change in trades_space range 2023-01-08 16:11:41 +01:00
Matthias ad49541947 Adapt Tests for new mandatory columns 2023-01-08 13:55:52 +01:00
Antonio Della Fortuna 24ace646c3 Merge branch 'develop' of https://github.com/freqtrade/freqtrade into max-open-trades 2023-01-08 12:40:01 +01:00
Antonio Della Fortuna 464cb4761c Fixed max_open_trades update from hyperopt
Fixed max_open_trades update from hyperopt + removed max_open_trades as a param to backtesting + refactoring
2023-01-08 12:39:39 +01:00
Matthias 34dbe9deaa Improve fixture fake results 2023-01-08 10:08:54 +01:00
Antonio Della Fortuna 8c3ac56bc5 Merge branch 'develop' of https://github.com/freqtrade/freqtrade into max-open-trades 2023-01-07 11:11:59 +01:00
hippocritical feb6accc6c Merge remote-tracking branch 'origin/strategy_utils' into strategy_utils 2023-01-05 22:56:29 +01:00
hippocritical 4435c4fd0d removed prints for strategy could not be loaded
Changed logic to contain much less if conditions

currently still missing:
Webhook terminology, Telegram notification settings, Strategy/Config settings
2023-01-05 22:56:06 +01:00