Matthias
ce3959a0c6
Merge pull request #7708 from freqtrade/improve_iteration
...
Improve iteration logic
2022-11-08 19:25:01 +01:00
Wagner Costa Santos
6559384286
Merge branch 'develop' into backtest_live_models
2022-11-07 15:14:10 -03:00
Matthias
5ba012c592
Disable "tick" in test_update_funding_fees_schedule
...
we only want to test run frequency, not time progression.
2022-11-07 07:18:09 +00:00
Matthias
2068a44fd0
Add test for new behavior
2022-11-06 11:17:25 +01:00
Matthias
d48a9ae96d
Add leverage to backtest results
...
closes #7574
2022-11-06 09:40:44 +01:00
Matthias
ded57fb301
Remove no longer valid test part
2022-11-05 20:32:31 +01:00
Matthias
5bd3e54b17
Add test for detail backtesting
2022-11-05 20:01:05 +01:00
Robert Caulk
820aad670c
Merge pull request #7690 from freqtrade/track-current-candle
...
Track current candle in FreqAI
2022-11-05 17:35:05 +01:00
Emre
06a2957837
Merge branch 'develop' into add-single-precision-freqai
2022-11-05 19:15:12 +03:00
Matthias
29ba263c3c
Update some test parameters
2022-11-05 17:02:27 +01:00
Matthias
25b8d34fe2
Update backtesting test
...
Had bad behavior before, and didn't properly test what it was supposed to
2022-11-05 17:02:18 +01:00
Matthias
6e09d552ac
Properly handle and test ohlcv min_max with empty files
2022-11-05 13:14:35 +01:00
robcaulk
257c833831
add doc for single precision, dont allow half precision, add test
2022-11-04 18:10:04 +01:00
robcaulk
444a068481
merge develop into track-current-candle
2022-11-03 21:09:08 +01:00
Wagner Costa Santos
17798b3397
Merge branch 'develop' into backtest_live_models
2022-11-03 13:29:25 -03:00
robcaulk
b3b756ec14
ensure test pass
2022-11-02 20:30:04 +01:00
Matthias
09e0a8d4df
Merge pull request #7689 from freqtrade/add-pca-dbscan-tests
...
add integrated tests for PCA and DBSCAN
2022-11-02 19:41:37 +01:00
robcaulk
255eb71270
start tracking the current candle in FreqAI, add robustness to corr_df caching and inference timer, add test for cache corr_df
2022-11-02 19:32:22 +01:00
robcaulk
63458a6130
isort
2022-11-02 18:40:13 +01:00
robcaulk
2afa185dc6
add integrated tests for PCA and DBSCAN
2022-11-02 18:34:56 +01:00
robcaulk
162056a362
fix flake8
2022-10-31 18:23:35 +01:00
robcaulk
a49edfbaee
add tests for CatboostClassifier
2022-10-30 18:08:10 +01:00
robcaulk
d1a0874683
merge develop into feat/freqai-rl-dev
2022-10-30 10:13:03 +01:00
Matthias
a323acf343
Improve ShufflePairlist to shuffle only once per candle
2022-10-30 09:46:12 +01:00
Matthias
801e91c39e
Merge pull request #7618 from wizrds/fix/docker-config-record
...
Update function in FreqAI interface to record FreqAI config params
2022-10-29 08:56:20 +02:00
Matthias
a56465e049
Merge branch 'stable' into new_release
2022-10-28 19:34:15 +02:00
Matthias
255f38537e
Simplify stoploss behavior by combining more commonalities
2022-10-26 07:14:33 +02:00
Matthias
cf6b75a3f3
Use combined stoploss_adjust where possible
2022-10-26 07:12:42 +02:00
Matthias
f70c00dd4c
Improve variance around worker timing test
2022-10-25 06:14:42 +00:00
Matthias
f93b6eec63
Improve timing for worker throttling
2022-10-24 20:09:13 +02:00
Robert Caulk
137aa1756b
Merge pull request #7593 from th0rntwig/prediction-shape
...
Fix constant PCA
2022-10-24 08:33:36 +02:00
Matthias
3a40ad87c6
Merge pull request #7615 from freqtrade/price_jump_warn
...
Add price jump warning
2022-10-24 06:27:53 +02:00
Timothy Pogue
bb06745227
fix tests
2022-10-23 12:25:39 -06:00
th0rntwig
49ff51f11f
Change storage loc and fix test fail
2022-10-23 16:24:02 +02:00
Matthias
d0571464db
Improve test for worker throttle
2022-10-23 14:20:59 +02:00
Timothy Pogue
c4a2ee05e7
fix freqai test
2022-10-22 09:31:55 -06:00
Matthias
547fd28811
Price-jump detection should only run once
2022-10-22 08:43:37 +02:00
Matthias
0ff7a0771d
Move price_jump_warn to dataloading
...
it's not relevant for live data, and should only run when loading data
from disk.
2022-10-22 08:37:30 +02:00
Timothy Pogue
5ee3b8cbbb
update config recording to use all configs, fix tests
2022-10-21 19:48:26 -06:00
Matthias
b715d9c521
Improve fee handling
...
closes #7586
2022-10-21 16:30:14 +02:00
Matthias
d1591883a6
add missing datetime conversion in fromJson
2022-10-21 07:01:47 +02:00
Matthias
bd424a877b
Add Trade from_json method
2022-10-20 20:33:08 +02:00
Matthias
0aa840792b
Move persistence tests to package
2022-10-20 20:05:15 +02:00
Matthias
f4814a7d59
Improve test resiliance to small roundings
2022-10-20 19:57:56 +02:00
Wagner Costa Santos
6606a0113f
refactoring - remove unnecessary config file
2022-10-20 14:53:25 -03:00
Matthias
60cb11a44d
Add price jump warning
2022-10-20 19:36:28 +02:00
Wagner Costa Santos
52b60c5cbb
Merge branch 'develop' into backtest_live_models
2022-10-20 11:59:37 -03:00
Matthias
6e95b6667d
Modify test ensuring we always have a 0 index
2022-10-19 11:57:05 +02:00
Matthias
c3d4fb9f1b
Simplify backtest calling interface
2022-10-18 06:39:55 +02:00
Matthias
880ddccaa8
Merge pull request #7590 from freqtrade/list-models
...
List models
2022-10-17 20:40:41 +02:00
Matthias
c2914feb12
Don't fail contract size repopulation if pair is no longer available
2022-10-17 09:55:18 +00:00
Matthias
6252ae466e
Convert position_stacking to attribute of backtest
2022-10-17 06:57:26 +02:00
Matthias
0e8cf366f5
Keep trade state in LocalTrade
2022-10-17 06:57:26 +02:00
Matthias
23a5a516f9
Merge pull request #7557 from freqtrade/add-metric-tracker
...
Add metric tracker to FreqAI
2022-10-16 18:20:07 +02:00
Evgeniy Vladimirov
82d75d8914
Fix tests that failed due to new strategy.
2022-10-16 14:59:55 +03:00
Evgeniy Vladimirov
de9f5660f3
Fix counting available trade slots in backtesting.
2022-10-16 12:56:59 +03:00
Matthias
dc50186d5b
Merge branch 'develop' into list-models
2022-10-16 09:23:10 +02:00
Robert Caulk
62ca822597
Merge pull request #7569 from Silur/develop
...
Add XGBoost random forest predictors to freqai
2022-10-15 16:09:26 +02:00
robcaulk
9135e631c0
:Merge branch 'develop' into add-metric-tracker
2022-10-15 15:54:41 +02:00
Matthias
498289728d
Fix catboost tests polluting CWD
2022-10-15 08:48:41 +02:00
Matthias
93ad3810fd
Add test for list-freqaimodels
2022-10-15 08:20:06 +02:00
robcaulk
b236e362ba
Merge remote-tracking branch 'origin/develop' into add-metric-tracker
2022-10-14 19:00:49 +02:00
Matthias
4a8cb3359b
Fix broken tests
2022-10-14 16:07:49 +00:00
Matthias
9d4ba767c4
Update usages of search_all_objects
2022-10-14 14:50:52 +00:00
Wagner Costa Santos
02fc59d473
Merge branch 'develop' into backtest_live_models
2022-10-13 15:52:19 -03:00
Wagner Costa Santos
6919f3aa75
Backtest live models - fix utc date convert issue
2022-10-13 15:03:27 -03:00
Matthias
7672586de9
Fix unreliable hyperopt test
2022-10-13 19:43:37 +02:00
Wagner Costa Santos
93fe2b6446
Merge branch 'develop' into backtest_live_models
2022-10-13 11:22:58 -03:00
Matthias
28be784c2e
Fix kucoin live test failure
2022-10-13 12:17:53 +00:00
Matthias
39c27cfc37
Don't fail if fetchTickers is not availlable
2022-10-13 06:58:02 +00:00
robcaulk
88b8f18639
add test for metric tracker
2022-10-11 19:24:47 +02:00
silur
30a45bb597
add XGBoostRF models to freqai test interface
2022-10-11 13:17:21 +02:00
Matthias
28f0a35e73
Merge pull request #7549 from froggleston/discord_sendmsg
...
Add support for dp.send_msg() to webhooks
2022-10-11 06:35:29 +02:00
Robert Caulk
2e34aa9f04
Merge pull request #7544 from th0rntwig/prediction-shape
...
Remove constant labels from prediction
2022-10-10 21:24:25 +02:00
robcaulk
c9eee2eba4
revert syntax
2022-10-10 20:50:54 +02:00
Wagner Costa Santos
01e3507e4c
fix freqai backtest live models
2022-10-10 15:15:43 -03:00
Wagner Costa Santos
88418d524a
Merge branch 'develop' into backtest_live_models
2022-10-10 15:14:59 -03:00
Wagner Costa Santos
3081e73f8a
Merge branch 'develop' into backtest_live_models
2022-10-10 14:53:45 -03:00
Matthias
ee0d90d1aa
Automatically create freqai models directory
2022-10-10 18:04:54 +02:00
Matthias
a10b2d003f
Add freqai timeframe validation (incl. test)
...
closes #7543
2022-10-09 14:40:25 +02:00
Matthias
4623c3ec1d
Improve test resiliance
2022-10-09 10:55:38 +02:00
Matthias
4f967fed97
Improve ccxt tests
2022-10-09 10:52:01 +02:00
th0rntwig
4daf0000c7
Move check and add log warning
2022-10-08 16:15:48 +02:00
robcaulk
8d7adfabe9
clean RL tests to avoid dir pollution and increase speed
2022-10-08 12:10:38 +02:00
Matthias
df5ae66252
Refactor webhook method
2022-10-07 20:52:52 +02:00
Matthias
1aedf08ba5
Update tests
2022-10-07 20:48:37 +02:00
Matthias
fb2f2d9a39
Allow webhook message setting directly
2022-10-07 20:44:47 +02:00
Matthias
3e258e000e
Don't set use_db without resetting it
2022-10-07 07:05:56 +02:00
th0rntwig
a9d5e04a43
Remove constant labels from prediction
2022-10-06 19:26:33 +02:00
Matthias
7c702dd106
Add cache eviction
2022-10-06 14:51:52 +00:00
Matthias
92a1d58df8
Evict cache if we didn't get new candles for X hours
2022-10-06 14:51:52 +00:00
Matthias
f475c6c305
Add Specific, time-sensitive test-case for new behavior
2022-10-06 14:51:52 +00:00
Matthias
638515bce5
Test advanced caching
2022-10-06 14:51:52 +00:00
Matthias
678272e2ef
Improve test formatting
2022-10-06 14:51:52 +00:00
Matthias
9b1fb02df8
Refactor generic data generation to conftest
2022-10-05 18:09:26 +02:00
robcaulk
cf10a76a2a
bring back Trades.use_db = True
2022-10-05 17:06:18 +02:00
robcaulk
936ca24482
separate RL install from general FAI install, update docs
2022-10-05 15:58:54 +02:00
robcaulk
9c73411ac2
Merge remote-tracking branch 'origin/develop' into dev-merge-rl
2022-10-05 15:21:45 +02:00
robcaulk
0d67afe15b
allow less precision, ensure regex is catching the right chars
2022-10-05 14:38:50 +02:00
robcaulk
4edb30bfa8
isort
2022-10-05 14:11:19 +02:00
robcaulk
0e0bda8f13
improve freqai tests
2022-10-05 14:08:03 +02:00
Matthias
ca913fb29d
Add leveraged test-case for order-adjustment
2022-10-05 07:28:34 +02:00
Matthias
c1d8ade2fa
Improve supported exchange check by supporting exchange aliases
2022-10-04 19:28:57 +02:00
Matthias
68db0bc647
move check_exchange to exchange package
2022-10-04 18:25:23 +02:00
Matthias
eb8eebe492
Reset open_order_id after trade cancel
...
Part of #7526
2022-10-04 10:08:58 +00:00
Matthias
016e438468
Calculate market-change in hyperopt
...
closes #7532
2022-10-04 08:37:07 +00:00
Matthias
7f308c5186
Remove last occurance of timerange index
2022-10-04 06:56:10 +02:00
Matthias
4c83552f3b
Merge pull request #7506 from freqtrade/cancel_partial_sell
...
Support cancellation partially filled exit orders
2022-10-03 19:36:51 +02:00
Matthias
4cf4642a6c
Parametrize EMC test
2022-10-03 06:40:21 +02:00
Matthias
1727f99b58
Fix missing mock
2022-10-02 18:14:00 +02:00
Matthias
a5bc75b48c
Merge branch 'develop' into cancel_partial_sell
2022-10-02 08:38:18 +02:00
Matthias
e686faf1bc
Remove faulty test cleanup
2022-10-02 08:37:37 +02:00
Matthias
9bb061073d
Improve tests
2022-10-02 08:36:34 +02:00
Matthias
308fa43007
Don't use magicmock as trade object
2022-10-02 08:30:19 +02:00
Matthias
564318415e
Improve test resiliance
2022-10-02 08:12:03 +02:00
Matthias
6841bdaa81
Update test to verify webhook won't log-spam on new messagetypes
2022-10-02 06:50:19 +02:00
robcaulk
cf882fa84e
fix tests
2022-10-01 20:26:41 +02:00
robcaulk
048cb95bd6
Merge remote-tracking branch 'origin/develop' into dev-merge-rl
2022-10-01 17:48:47 +02:00
robcaulk
51556e08c3
Merge branch 'develop' into pr/th0rntwig/7495
2022-10-01 12:45:08 +02:00
Matthias
6702a1b219
Update test to verify webhook won't log-spam on new messagetypes
2022-10-01 09:45:58 +02:00
Matthias
a96aa568bf
Add binance futures mode checks
...
closes #7505
2022-10-01 09:23:41 +02:00
Matthias
c946d30596
Add partial cancel message
2022-09-30 16:24:16 +02:00
Matthias
d462f40299
Simple test improvements
2022-09-30 16:24:07 +02:00
Matthias
7dd984e25e
Simplify cancel_entry
2022-09-30 09:34:00 +02:00
Matthias
561600e98b
Remove false test statements
...
a trade is ONLY closed on `.close()` - which will only happen once the last order has been filled.
2022-09-30 09:34:00 +02:00
Matthias
2ce265bed3
Merge pull request #7473 from freqtrade/feat/producerpairlist
...
Producerpairlist
2022-09-30 06:54:15 +02:00
Matthias
34951f59d2
Update failing tests
2022-09-30 06:44:19 +02:00
robcaulk
38aca8e908
fix failing svm test
2022-09-30 00:22:31 +02:00
Matthias
578da343dc
Merge pull request #7491 from freqtrade/partial_close_leverage
...
Partial close leverage
2022-09-29 19:42:16 +02:00
Matthias
b4fb28e4ef
Update tests for new dataload strategy
2022-09-29 19:18:52 +02:00
Matthias
80d0e66b48
Update log level in test
2022-09-29 07:19:16 +02:00
Wagner Costa Santos
6845a5c6ea
backtest_live_models - refactoring after PR review
2022-09-29 01:48:38 -03:00
Wagner Costa Santos
df0927cdee
Merge branch 'develop' into backtest_live_models
2022-09-28 08:49:15 -03:00
Wagner Costa Santos
55ebbeec18
backtest_live models tests refactoring
2022-09-28 08:48:32 -03:00
Matthias
fb3d408338
Respect max_open_trades when forceentering
...
closes #7489
2022-09-28 09:32:07 +00:00
Matthias
7c84edbc23
Avoid online call when asking for /status
.
2022-09-28 07:21:52 +02:00
Matthias
e668bf7138
Test case to disable base64 strategies via API
2022-09-27 20:36:27 +02:00
Matthias
8eda3a45a3
Test backest detail with leverage
2022-09-27 19:52:34 +02:00
Wagner Costa Santos
3c002ff752
Merge branch 'develop' into backtest_live_models
2022-09-27 10:27:47 -03:00
Wagner Costa Santos
0be115de9c
backtest_live_models - added new tests and refactoring
2022-09-27 10:26:57 -03:00
Matthias
8c2e473ee5
Fix test warning
2022-09-27 08:53:29 +00:00
Wagner Costa Santos
22bef71d5d
backtest_live_models - add function comments and tests
2022-09-26 19:01:24 -03:00
Matthias
cf5267a4d3
Merge pull request #7481 from chusri/develop
...
✏️ fixed typo from StaticPairlist to StaticPairList
2022-09-26 18:11:56 +02:00
Matthias
9f32e02bba
Update missing testcase
2022-09-26 17:10:23 +02:00
Thaweesak Chusri
4faa6a0bd7
🐛 updated test case from StaticPairlist to StaticPairList
2022-09-26 21:51:59 +08:00
Matthias
a1a62681bf
add fixes for random test failures
2022-09-26 08:11:00 +00:00
Matthias
041258a549
Fix arm test failure
2022-09-26 07:02:40 +00:00
Matthias
af59572cb9
prior pairlists should go first
2022-09-25 19:32:39 +02:00
Matthias
bd106b4b8e
Add tests for Producerpairlist
2022-09-25 10:13:00 +02:00
Matthias
0c810868de
Add Dataprovider to pairlist
2022-09-25 09:22:21 +02:00
Matthias
f4fac53a13
Merge pull request #7458 from xmatthias/dataformat/feather
...
new Dataformats feather and Parquet
2022-09-25 09:00:22 +02:00
Matthias
873eb5f2ca
Improve EMC config validations
2022-09-24 16:43:58 +02:00
Matthias
98ba57ffaa
Better test for contract calculation change
...
closes #7449
2022-09-24 15:25:04 +02:00
Matthias
00b192b4df
Add test to verify #7449
2022-09-24 14:51:58 +02:00
paranoidandy
2cc00a1a2c
Allow use of --strategy-list with freqai, with warning ( #7455 )
...
* Allow use of --strategy-list with freqai, with warning
* ensure populate_any_indicators is identical for resused identifiers
* use pair instead of metadata["pair"]
Co-authored-by: robcaulk <rob.caulk@gmail.com>
2022-09-24 13:21:01 +02:00
Timothy Pogue
af974443cd
add test
2022-09-23 13:37:46 -06:00
robcaulk
647200e8a7
isort
2022-09-23 19:30:56 +02:00
robcaulk
77c360b264
improve typing, improve docstrings, ensure global tests pass
2022-09-23 19:17:27 +02:00
robcaulk
9c361f4422
increase test coverage for RL and FreqAI
2022-09-23 18:04:43 +02:00
Matthias
48352b8a37
Update hdf5 handler to reset index on load
2022-09-23 14:49:17 +00:00
Matthias
0bbb6faeba
Add generic datahandler test
2022-09-23 13:23:17 +00:00
Robert Caulk
95121550ef
Remove unnecessary models, add model arg
2022-09-23 10:37:34 +02:00
Robert Caulk
f7dd3045f7
Parameterize backtesting test
2022-09-23 10:30:52 +02:00
robcaulk
1c56fa034f
add test_models folder
2022-09-23 09:19:16 +02:00
Matthias
5fb56b09f2
Test Feather/parquet datahandler init
2022-09-23 07:20:09 +02:00
Matthias
983a16d937
Rudimentary "not implemented" test
2022-09-23 07:18:18 +02:00
Matthias
7b4af85425
Remove double-init in test
2022-09-23 07:18:08 +02:00
Matthias
f62f2bb1ca
Improve datahandler tests
2022-09-23 07:17:33 +02:00
Matthias
2a5bc58df8
Split datahandler and history tests
2022-09-23 07:09:34 +02:00
Matthias
1db8421b9d
Merge pull request #7303 from wizrds/feat/externalsignals
...
Producer/consumer mode
2022-09-23 06:29:58 +02:00
robcaulk
7295ba0fb2
add test for Base4ActionEnv
2022-09-22 23:42:33 +02:00
robcaulk
eeebb78a5c
skip darwin in RL tests, remove example scripts, improve doc
2022-09-22 21:16:21 +02:00
Matthias
1626eb7f97
Update dataprovider function name to get_producer_df
2022-09-22 20:46:40 +02:00
robcaulk
ea8e34e192
Merge branch 'develop' into dev-merge-rl
2022-09-22 19:46:50 +02:00
Matthias
02f2096fc3
Reverse and fix rangestability conditions
...
closes #7447
2022-09-21 06:53:07 +02:00
Matthias
8f41f943b4
Fix 0.0 amount message wording
2022-09-21 06:42:55 +02:00
Matthias
ff36431680
Adjust tests for new messageType handling
2022-09-20 20:34:56 +02:00
Matthias
0c01b23cba
Capture exceptions in send_msg calls
2022-09-20 18:09:14 +02:00
Matthias
914eccecec
Merge branch 'develop' into pr/wizrds/7303
2022-09-20 06:56:15 +02:00
Matthias
32d46e8a6b
Improve fixture naming
2022-09-19 20:59:53 +02:00
Matthias
225f7cd5f8
Merge pull request #7431 from initrv/add-plot-feature-importance
...
Add plot feature importance
2022-09-19 08:41:10 +02:00
Matthias
faf84295a5
Separate strategy subtemplates for better overview
2022-09-18 08:52:53 +02:00
Robert Caulk
bdeb2f9c6a
Merge branch 'develop' into add-plot-feature-importance
2022-09-18 00:02:46 +02:00
robcaulk
2c23effbf2
allow plot to plot multitargets, add test
2022-09-17 19:17:44 +02:00
robcaulk
d056d766ed
make tests pass
2022-09-17 17:46:47 +02:00
Matthias
063511826c
Update stoploss on exchange logic
...
closes #7424
2022-09-17 17:11:00 +02:00
Matthias
ca6dec3d4c
Binance spot also allows market orders
...
closes #7426
2022-09-17 17:11:00 +02:00
Matthias
93237efc15
Merge pull request #7428 from freqtrade/informative_freqai
...
Informative freqai
2022-09-17 16:44:28 +02:00
Matthias
38b28fc4da
Update duplicated test
2022-09-17 14:19:20 +02:00
Matthias
4182a7891a
Allow leverage tier cache to be 4 weeks old.
...
we've seen from binance that it's not changing this often.
2022-09-17 10:41:48 +02:00
Matthias
10ec681b30
Clean up no longer needed informative sample code
2022-09-17 10:19:46 +02:00
Matthias
d62cef01be
Add test for __informative_pairs_freqai
2022-09-17 10:18:08 +02:00
Timothy Pogue
1ad25095c1
change test server from localhost to 127.0.0.1
2022-09-15 19:40:45 -06:00
Timothy Pogue
efaef68ad7
Merge branch 'develop' into feat/externalsignals
2022-09-15 18:09:25 -06:00
Timothy Pogue
7d1645ac20
fix tests and warning message
2022-09-15 17:54:31 -06:00
robcaulk
3b97b3d5c8
fix mypy error for strategy
2022-09-15 00:56:51 +02:00
robcaulk
8aac644009
add tests. add guardrails.
2022-09-15 00:46:35 +02:00
Timothy Pogue
46a425d1b6
fix OOM on emc test
2022-09-13 13:36:21 -06:00
Matthias
7b6e465d57
Remove gate live test skip
2022-09-13 21:28:11 +02:00
Matthias
877d24bcdd
Fix external dependency of test
2022-09-13 20:52:07 +02:00
Timothy Pogue
aeaca78940
change port in send_msg test
2022-09-13 12:39:12 -06:00
Timothy Pogue
75ce9067dc
fix dp test
2022-09-12 16:39:16 -06:00
Robert Caulk
26441820a9
Merge pull request #7390 from aemr3/add-xgboostclassifier
...
Add XGBoostClassifier
2022-09-12 23:38:04 +02:00
Timothy Pogue
12a3e90f78
fix tests
2022-09-12 14:12:39 -06:00
Matthias
0052e58917
emc: Fix potential startup timing issue
2022-09-12 19:50:22 +02:00
Timothy Pogue
a477b3c244
remove log line, fix tests to not connect to actual ip
2022-09-12 10:45:59 -06:00
Matthias
816c1f7603
add test for per epoch hyperopt
2022-09-11 17:51:30 +02:00
Timothy Pogue
0a8b7686d6
reworked emc tests
2022-09-11 00:50:18 -06:00
Timothy Pogue
ed4ba8801f
more emc tests
2022-09-10 23:57:17 -06:00
Timothy Pogue
9a1a4dfb5b
more ws endpoint tests
2022-09-10 16:08:05 -06:00
Timothy Pogue
0f8eaf98e7
Merge branch 'develop' into feat/externalsignals
2022-09-10 15:14:10 -06:00
Emre
330d7068ab
Merge branch 'develop' into add-xgboostclassifier
2022-09-10 23:59:11 +03:00
Timothy Pogue
2afd5c202c
update message parsing, tests
2022-09-10 14:29:15 -06:00
Timothy Pogue
c5d031733b
remove old param in test fixture
2022-09-10 13:50:36 -06:00
Timothy Pogue
a7baccdb7d
update log messages in emc, more tests
2022-09-10 13:44:27 -06:00
Timothy Pogue
866a564958
update emc start/shutdown, initial emc tests
2022-09-10 12:51:29 -06:00
Matthias
b3fc1cfde9
Parametrize classifier tests
2022-09-10 20:18:00 +02:00
Matthias
88892ba663
Parametrize regressor tests
2022-09-10 20:18:00 +02:00
Matthias
f97f1dc5c3
Test CatboostRegressorMultiTarget, simplify test setup via parametrization
2022-09-10 20:18:00 +02:00
Matthias
e4caccc353
Merge pull request #7367 from freqtrade/add-continual-learning
...
add continual learning to catboost and friends
2022-09-10 20:17:28 +02:00
Timothy Pogue
d8cdd92140
wrap background cleanup in finally, add tests
2022-09-10 11:47:21 -06:00
Emre
60eb02bb62
Add XGBoostClassifier
2022-09-10 20:13:16 +03:00
Matthias
daf352e6a5
Test online candle fetching in futures, too
...
disable gateio checking on spot markets
2022-09-10 16:01:06 +02:00
Matthias
b344f78d00
Improve logic for token validation
2022-09-10 14:20:49 +02:00
Matthias
170bec0438
Fix failing XGBoost tests
2022-09-10 08:24:23 +02:00
Matthias
5705b8759b
Merge branch 'develop' into add-continual-learning
2022-09-10 08:24:04 +02:00
Timothy Pogue
2f6a61521f
add more tests
2022-09-09 17:14:40 -06:00
Matthias
939fb7acb3
Fix enum imports
2022-09-09 20:31:30 +02:00
Matthias
97be3318f4
Use Datetime_format from constants
2022-09-09 20:31:02 +02:00
Matthias
37fcbeba58
Update backtesting output wording to Entries
2022-09-09 19:58:55 +02:00
Timothy Pogue
6cbc03a96a
support jwt token in place of ws token
2022-09-09 11:38:42 -06:00
Emre
df6e43d2c5
Add XGBoostRegressorMultiTarget class
2022-09-09 19:30:53 +02:00
Emre
1b6410d7d1
Add XGBoostRegressor for freqAI, fix mypy errors
2022-09-09 19:30:53 +02:00
Timothy Pogue
c9d4f666c5
minor apiserver test change
2022-09-08 14:00:22 -06:00
Timothy Pogue
2b9c8550b0
moved ws_schemas, first ws tests
2022-09-08 13:58:28 -06:00
Timothy Pogue
b9e7af1ce2
fix ws token auth
2022-09-08 11:25:30 -06:00
Timothy Pogue
9b752475db
re-add fix to freqtradebot test
2022-09-08 10:20:03 -06:00
Timothy Pogue
4104d0f68a
Merge branch 'develop' into feat/externalsignals
2022-09-08 10:19:23 -06:00
Timothy Pogue
4fac125443
fix apiserver cleanup issues in tests
2022-09-08 10:14:30 -06:00
Timothy Pogue
83770d20fa
fix existing freqtradebot tests
2022-09-08 10:10:32 -06:00
Matthias
883abe5b4f
Merge pull request #7379 from freqtrade/fix/keyerror_fundingfee
...
Fix keyerror fundingfee update
2022-09-08 12:06:52 +02:00
Matthias
9ef0ffe277
Update tests for funding-Fee exceptions
2022-09-08 07:19:17 +00:00
Matthias
791f61c089
Add test case for funding fee update failure
2022-09-08 07:13:15 +00:00
Matthias
b91ad609f2
Merge pull request #7370 from wizrds/feat/suffix-merge-informative
...
Add optional `suffix` parameter to `merge_informative_pair`
2022-09-08 08:08:55 +02:00
Matthias
39b6cadd14
Test keyerror case for funding_Fee calculation
2022-09-08 07:24:57 +02:00
Matthias
045c3f0f3a
Reduce diff by avoiding unnecessary changes
2022-09-08 07:01:37 +02:00
Timothy Pogue
1ef1fc269e
docstring and tests
2022-09-07 15:26:38 -06:00
Matthias
322f00e3e8
Fix empty entry message if order doesn't fill immediately
...
closes #7368
2022-09-07 18:19:43 +02:00
Matthias
c08c82bc40
Merge pull request #7322 from freqtrade/add-inlier-metric
...
Add inlier metric
2022-09-07 07:05:57 +02:00
Matthias
3454a52b95
Explicitly test amount_to_contract_precision
2022-09-07 06:55:22 +02:00
Matthias
83d9f3aeba
Add test showing #7365
2022-09-07 06:37:53 +02:00
Timothy Pogue
8bfaf0a998
Merge branch 'develop' into feat/externalsignals
2022-09-06 13:02:36 -06:00
Robert Caulk
d7585161b2
Merge branch 'develop' into add-inlier-metric
2022-09-06 20:40:21 +02:00
robcaulk
e83c9b276d
fix whitespace
2022-09-06 19:56:52 +02:00
robcaulk
4b28d0495f
fix timestamping, move imports, add words to doc
2022-09-06 19:46:58 +02:00
Matthias
98ec84fca6
Merge pull request #7339 from freqtrade/fix/fundingfee_handling
...
Fix/fundingfee handling
2022-09-06 19:21:40 +02:00
Timothy Pogue
cd8455ccb7
Merge branch 'develop' into feat/externalsignals
2022-09-05 15:10:25 -06:00
Matthias
9fb3517adc
Fix non-resolvable freqai test
...
this test could never succeed in UI's as the name was constantly changing.
2022-09-05 21:08:01 +02:00
Matthias
36e5c18fa6
Don't raise exception when a message is not implemented in telegram
2022-09-05 20:54:03 +02:00
robcaulk
c8a9ac900c
fix broken CI
2022-09-05 00:52:26 +02:00
Robert Caulk
63514b0443
Merge pull request #7325 from wagnercosta/develop
...
Improve Freqai backtesting performance
2022-09-03 19:28:04 +02:00
robcaulk
c9be66b5b6
increase test coverage for dk, improve function naming, extra cleaning
2022-09-03 15:52:29 +02:00
Matthias
b95b3d8391
Update test to actually test funding fee appliance
2022-09-03 15:09:50 +02:00
robcaulk
599c1c79fb
reorganized backtest utilities, test new functionality, improve/update doc
2022-09-03 14:00:01 +02:00
Matthias
be192fae91
Test should use proper Order objects
2022-09-03 10:54:58 +02:00
Matthias
966de19611
Improve test resiliance by properly setting Order object
2022-09-03 08:16:33 +02:00
Matthias
f3c73189d5
Remove pointless default on wallet_balance argument
2022-09-01 06:49:51 +02:00
Matthias
ba2eb7cf0f
Fix BNB fee bug when selling
...
thanks @epigramx, for reporting and for the detailed data.
2022-09-01 06:42:51 +02:00
Wagner Costa Santos
44d3a9140d
Merge branch 'develop' of https://github.com/wagnercosta/freqtrade into develop
2022-08-31 15:37:06 -03:00
Wagner Costa Santos
7bed0450d2
pr review - refactoring backtesting freqai
2022-08-31 15:36:29 -03:00
Timothy Pogue
865b34cd6f
add producer names
2022-08-31 11:43:02 -06:00
Matthias
7ba4fda5d7
Implement PR feedback
2022-08-31 10:26:47 +00:00
Matthias
a88ffd2c9d
Merge branch 'develop' into move_datadownload
2022-08-31 10:23:45 +00:00
Matthias
4aec2db14d
Remove isClose from tests in favor of pytest.approx
2022-08-31 08:25:56 +00:00
Matthias
10e0d53860
Simplify 2 more tests
2022-08-30 20:49:53 +02:00
Matthias
c9aa09ec89
Simplify base fee handling
2022-08-30 20:46:06 +02:00
Matthias
71846ecbf2
Partially revert prior commit, use correct exchange class
2022-08-29 21:51:10 +02:00
Matthias
eee2071e32
Fix non-testing liquidation test
2022-08-29 21:04:09 +02:00
Matthias
27a9f98d5f
Simplify liquidation price structure, improve test cov
2022-08-29 07:04:48 +02:00
Matthias
226fa5d93c
Simplify liquidation price calling structure
2022-08-29 07:04:48 +02:00
Matthias
4def3678b7
Merge pull request #7298 from freqtrade/tif_align
...
align TimeInForce to ccxt usage
2022-08-29 06:36:51 +02:00
Robert Caulk
39a739eadb
Merge pull request #7296 from th0rntwig/dbscan
...
Improve MinPts calculation in DBSCAN, add outlier protection, and add data_kitchen tests
2022-08-28 14:37:47 +02:00
robcaulk
a44a235b56
isort imports in tests/freqai
2022-08-28 13:47:01 +02:00
robcaulk
6634229cc1
appease the flake8 gods
2022-08-28 13:21:29 +02:00
robcaulk
dd628eb525
add tests for outlier detection and removal functions
2022-08-28 12:56:39 +02:00
Matthias
b9f35cadb3
add /stopentry alias for /stopbuy
2022-08-28 11:37:22 +02:00
Matthias
104a73025d
Uppercase TimeInForce (align with ccxt)
2022-08-27 10:30:06 +02:00
Matthias
6686489c06
Merge pull request #7258 from freqtrade/feat/hyp_optinal_indicator
...
Add flag to move hyperopt populate_indicators to epoch
2022-08-27 09:21:16 +02:00
Timothy Pogue
2b5f067877
Refactoring, minor improvements, data provider improvements
2022-08-26 23:40:13 -06:00
Timothy Pogue
a998d6d773
fix tests
2022-08-26 14:52:15 -06:00
Matthias
2ef4534fee
Fix ccxt / longrun tests
2022-08-26 20:44:36 +02:00
Matthias
01126c43f7
Fix liquidation price tier calculation
...
closes #7294
2022-08-26 20:14:24 +02:00
Matthias
753d1b2aad
Update leverage tier terminology to be clear and aligned with ccxt
2022-08-26 19:34:51 +02:00
Matthias
6636f17e0f
Simplify usage of amount_to_contract precision
2022-08-25 07:08:22 +02:00
Matthias
205ab26e92
Remove TODO in test
2022-08-25 06:50:10 +02:00
Matthias
70df037690
Improve test precision
2022-08-25 06:50:10 +02:00
Matthias
6036018f35
Extract contracts_to_amount and amount_to_contracts to standalone functions
2022-08-23 06:37:38 +02:00
Matthias
5f38a574ce
Add okx broker id
2022-08-23 06:37:38 +02:00
robcaulk
ac42c0153d
deprecate indicator_max_period_candles, automatically compute startup candles for FreqAI backtesting.
2022-08-22 18:19:07 +02:00
Matthias
f55d5ffd8c
Don't fail when --strategy-path
is not a valid directory.
...
closes #7264
2022-08-22 09:20:14 +00:00
Matthias
2dc34779d5
Fix line length
2022-08-21 18:07:41 +02:00
Matthias
f6d832c6d9
Add get_option to expose ft_has via method
2022-08-21 17:51:46 +02:00
Matthias
87a3115073
Add get_open_trade_count() to simplify getting open trade count.
2022-08-21 17:08:27 +02:00
Matthias
cdd4745693
Merge pull request #7263 from freqtrade/okx_cache_tiers
...
Okx cache tiers
2022-08-20 15:18:13 +02:00
Matthias
1fb2e9558f
Disable caching of leverage tiers in ccxt compat methods
2022-08-20 14:39:11 +02:00
Matthias
5b3f031590
Use hyperopt safe amount precision method
2022-08-20 14:13:15 +02:00
Matthias
4511634f3a
improve test coverage
2022-08-20 14:03:47 +02:00
Matthias
738e95b875
Add tests for leverage tiers caching
2022-08-20 13:54:54 +02:00
Matthias
7563050f17
Realign tests to precision backtesting
2022-08-20 11:47:15 +02:00
Matthias
665cf4431d
Add explicit test cov. for .range behavior
2022-08-20 08:41:31 +02:00
Matthias
b7553d20d4
Get min/max data in list-data command
2022-08-19 13:45:55 +02:00
Matthias
47b3143534
Simplify and fix some tests
2022-08-19 09:10:54 +02:00
Matthias
76a3e97e05
Add migrations end message
...
closes #7251
2022-08-19 06:39:51 +02:00
Matthias
70a77ba3d9
Check for "last" availability in PrecisionFilter
...
closes #7250
2022-08-18 20:07:50 +02:00
Matthias
83ca168bb8
Merge pull request #7216 from freqtrade/precise_calcs
...
Precise calcs
2022-08-17 14:32:02 +02:00
Matthias
b9667f50cf
Fix random test failure
2022-08-17 14:05:12 +02:00
Matthias
8d182768f9
stoploss should also use trimmed prices
2022-08-17 09:57:11 +02:00
Matthias
3b44dc52e1
Minor corrections
2022-08-16 18:10:48 +02:00
Matthias
1ac81aa316
Show message if fee update failed due to missing
...
closes #7234
2022-08-16 17:09:23 +02:00
Matthias
fa89368c02
Add test for precision backpopulation
2022-08-16 11:11:52 +02:00
Matthias
b8c1cf0107
Fix test leakage if config is available
2022-08-16 10:19:19 +02:00
Matthias
711b6b1a1a
Merge branch 'develop' into precise_calcs
2022-08-16 09:29:39 +02:00
Matthias
1dd56e35d5
Ensure comparisions align when closing a trade
2022-08-16 08:21:02 +02:00
Matthias
e4b7bcaeab
Fix some tests
2022-08-16 08:01:07 +02:00
Matthias
e818797427
Minor fix in amount_to_precision logic
2022-08-15 20:29:05 +02:00
Matthias
09ee9089fb
Merge pull request #6832 from freqtrade/feat/freqai
...
Freqai: an interface for users to build/train/backtest predictive models and run them live
2022-08-15 20:03:08 +02:00
Matthias
15e85797c2
Simplify to_precision tests and imports
2022-08-15 08:51:15 +02:00
Matthias
398b2946b5
Update test formatting
2022-08-15 06:49:28 +02:00
robcaulk
3f6d427084
add a check for number of training features in tests
2022-08-14 21:46:37 +02:00
Matthias
3a9ec76c91
Move "freqai.lock" to backend to simplify user interface
2022-08-14 17:19:50 +02:00
Matthias
22ac291c3a
Merge pull request #7211 from ecoppen/rpc/whitelist_options
...
Optional /whitelist args - sorted, nobase
2022-08-14 08:26:21 +02:00
Matthias
61acbf21d0
Fix broken telegram tests
2022-08-13 15:46:06 +02:00
Matthias
e09fbe9e53
Improve test resiliance
2022-08-13 11:17:22 +02:00
Matthias
d36da95941
Fix bad import
2022-08-13 11:07:58 +02:00
Matthias
82ac8cb41f
Add freqai backtesting_load test
2022-08-13 10:48:57 +02:00
Matthias
0b92c30abd
Fix typo in test file
2022-08-13 10:19:46 +02:00
Matthias
5aaab75d1c
Add test for dynamic_pairlist_expand
2022-08-13 10:18:57 +02:00
Matthias
1ac6ec1446
Fix failing test...
2022-08-13 09:56:21 +02:00
Matthias
b682fc446e
Graciously fail if strategy has freqAI code, but freqAI is not enabled.
2022-08-13 09:53:18 +02:00
Matthias
c190d57f1a
Test populate_any_indicator interface
2022-08-13 09:48:59 +02:00
Matthias
3b827ee60a
Add "freqai.enabled" flag to disable freqAI via config flag
...
aligns with how other optional modules work in freqtrade.
2022-08-13 09:24:04 +02:00
Matthias
f6545ebdb8
Disallow backtesting with --strategy-list for now.
2022-08-13 09:10:03 +02:00
Matthias
e3a5b97b45
Update recalc_from_trades to use FtPrecise
2022-08-13 08:43:56 +02:00
Matthias
9513c39a17
Fix migration rounding test
2022-08-13 08:43:56 +02:00
Matthias
902afc2f02
Use FtPrecise in interest calculation
2022-08-13 08:43:56 +02:00
Matthias
0e61c2d057
Replace Decimal with FtPrecise in trade_model
2022-08-13 08:43:56 +02:00
Matthias
df701b5862
Merge branch 'develop' into feat/freqai
2022-08-13 08:43:24 +02:00
ecoppen
ccc0ad6f64
fix - reload whitelist
...
Should fix the issue, if not I'll move development to a different computer and get local testing running properly.
2022-08-12 19:58:41 +01:00
Matthias
b427c7ff13
Use diff. close time to avoid buggy behavior
2022-08-12 07:28:19 +00:00
Matthias
d93bb82193
Add more Commits to failing test
2022-08-12 08:19:40 +02:00
Matthias
aa1bf2adbd
Try fix windows testfailure
2022-08-12 06:43:34 +02:00
Matthias
dd4e44931e
Improve NAN handling in RPC module
2022-08-11 15:02:52 +00:00
Matthias
f7502bcc92
slightly update dca_short test
2022-08-11 11:35:24 +00:00
eSeR1805
f755df2568
Merge branch 'develop' into feature_keyval_storage
...
Update rpc/telegram to use MAX_MESSAGE_LENGTH.
2022-08-11 11:26:45 +03:00
ecoppen
ace9626483
Update tests for sorted and nobase
...
Tests for PR #7211
2022-08-10 15:04:24 +01:00
Matthias
ed004236ce
Add float initializer to FtPrecise
2022-08-10 11:54:07 +00:00
Matthias
e7cb1b7375
Wrap Precise into FtPecise
2022-08-10 11:26:06 +00:00
Matthias
adc8ee88e2
Move periodicCache to Utils package
2022-08-10 08:57:19 +00:00
Matthias
53251e7140
Merge pull request #7194 from freqtrade/rpc/partial_forceexit
...
Partial forceExit
2022-08-10 07:12:40 +02:00
Matthias
b5c5a95b64
FTX: Use conditionalOrders endpoint to get proper stop-market order id
...
closes #7165
2022-08-09 20:09:35 +02:00
robcaulk
aef086b02e
Improved dict typing, timeframe parser, collect dates associated with training data points
2022-08-09 15:30:25 +02:00
Matthias
9a82898d6b
Merge branch 'develop' into feat/freqai
2022-08-09 06:22:57 +02:00
Matthias
77b3b8a134
Use main exchange instead of creating a separate instance.
2022-08-08 18:34:11 +00:00
Matthias
20b4134787
Properly exclude catboost in ARM
2022-08-08 18:15:18 +00:00
Matthias
e48e82232d
Force response API to js to fix faulty system configs
...
closes #7147
2022-08-07 10:42:56 +02:00
Matthias
6ded2d5b7c
Improve forceexit API test
2022-08-07 09:47:11 +02:00
Matthias
d3780b931c
Add test passing leverage to execute_entry
2022-08-07 09:47:11 +02:00
robcaulk
eb8bde37c1
Add lightgbm classifier, add classifier check test, fix classifier bug.
2022-08-06 17:51:21 +02:00
Matthias
bfa859e618
Remove unnecessary method (simplify)
2022-08-06 17:46:58 +02:00
Matthias
5250189f77
Add Rollback function to Trade
...
simplifies Session work
2022-08-06 17:03:49 +02:00
Robert Caulk
c172ce1011
improve flexibility of user defined prediction dataframe
2022-08-06 13:51:19 +02:00
Matthias
2687633941
Test iterative sending of /status
2022-08-06 09:16:04 +02:00
Matthias
b12dd15f4f
Send multiple messages in /status if required
2022-08-06 09:10:12 +02:00
Robert Caulk
07763d0d4f
add classifier, improve model naming scheme
2022-08-06 08:33:55 +02:00
Matthias
7675187c37
Use telegram message length to avoid constants
2022-08-05 07:31:19 +02:00
Matthias
cffc769549
Fix /profit endpoint calculations for partial sells
...
* don't recalculate for closed trades
* include realized_profit in the calculation
part of #7178
2022-08-05 07:26:41 +02:00
Matthias
c6e121ffb4
Update tests with correct usdt mock trades
2022-08-05 07:21:46 +02:00
Matthias
778833f90e
Modify comment in new test-strategies to point out their purpose
2022-08-04 07:17:26 +02:00
Matthias
d75e0a9820
Fix Flake8 errors after flake update
2022-08-01 06:43:59 +02:00
robcaulk
d830105605
*BREAKING CHANGE* remove unnecessary arguments from populate_any_indicators(), accommodate tests
2022-07-31 17:05:29 +02:00
Kavinkumar
a4bada3ebe
Partial exit using average price ( #6545 )
...
Introduce Partial exits
2022-07-31 14:19:04 +02:00
robcaulk
61693f6c8b
fix tests after changing config_example file
2022-07-31 13:20:11 +02:00
Matthias
369c6da5d8
Merge pull request #7146 from freqtrade/fix/liquidation
...
Update liquidation price handling
2022-07-31 08:09:54 +02:00
Matthias
bad15f077c
Simplify fetch_positions by using already existing method
2022-07-30 17:49:06 +02:00
Matthias
dc82675f00
Add Test for liquidation in stop-loss-reached
2022-07-30 17:28:19 +02:00
Matthias
fc31c890e3
Merge pull request #7135 from freqtrade/rpc/sendmsg
...
Strategy allow rpc messages
2022-07-30 16:15:00 +02:00
Matthias
d046f0cc5e
Improve method wording for liquidation price setter
2022-07-30 16:11:31 +02:00
Matthias
845cecd38f
Add stoploss or liquidation property
2022-07-30 16:10:16 +02:00
Matthias
ff4cc5d316
Revamp liquidation test to actually make sense
2022-07-30 16:10:16 +02:00
Matthias
9852733ef7
Improve tests to align with modified logic
2022-07-30 16:10:16 +02:00
Matthias
f57ecb1861
Simplify adjust_stop test
2022-07-30 16:10:16 +02:00
Matthias
3273881282
Merge branch 'develop' into feat/freqai
2022-07-28 06:36:38 +02:00
Matthias
cc3ead9d7b
Set required_profit for stoploss guard, allowing to ignore small stoplosses.
...
closes #7076
2022-07-27 19:52:39 +02:00
Matthias
31ddec8348
Add missing test to confirm backtesting won't send messages
2022-07-27 06:51:56 +02:00
Matthias
2595e40e47
Remove unused test-strategy
2022-07-27 06:47:16 +02:00
Matthias
0adfa4d9ef
Add tests for dataprovider send-message methods
2022-07-27 06:34:15 +02:00
robcaulk
ad25a4cb56
reduce number of pair_dict lookups, remove coin_first
2022-07-26 15:58:40 +02:00
robcaulk
fb4e8430cd
isort auto import sorting
2022-07-26 10:51:39 +02:00
robcaulk
e213d0ad55
isolate data_drawer functions from data_kitchen, accommodate tests, add new test
2022-07-26 10:24:14 +02:00
Matthias
ea112fb583
Add test for empty order (cancelled order)
2022-07-25 17:47:28 +02:00
robcaulk
55cf378ec2
remove leftover breakpoint from test file
2022-07-25 17:13:24 +02:00
Robert Caulk
897f18a8c8
ensure proper integer type casting for timestamps. Add check test for backtesting subdaily time periods
2022-07-25 15:07:09 +02:00
Robert Caulk
7b105532d1
fix mypy error and add test for principal component analysis
2022-07-25 11:46:59 +02:00
Robert Caulk
4abc26b582
add test for follow_mode
2022-07-25 10:48:04 +02:00
Matthias
61c41fd919
Merge branch 'develop' into feat/freqai
2022-07-24 16:18:58 +02:00
Matthias
83cac7bee2
Improve some more tests by adding proper orders
2022-07-24 10:51:13 +02:00
Matthias
6e691a016d
Use leverage-tiers loading in tests
2022-07-24 10:24:59 +02:00
Matthias
95f5218ceb
Reenable Catboost test ( #7118 )
...
* Reenable Catboost test
* Simplify freqAI tests, ensure they use a tempdir for modelstorage
2022-07-24 07:32:13 +02:00
Matthias
81c1aa3c13
Update imports in freqAI sample strategies
2022-07-23 17:08:05 +02:00
Matthias
8a3cffcd1b
Remove remaining CustomModel references
2022-07-23 17:08:05 +02:00
Matthias
62f7606d2c
Update tests to new variant
2022-07-23 17:08:05 +02:00
Matthias
8fa6e8b4ba
Remove freqAI model bridge in favor of self.freqai
2022-07-23 17:08:05 +02:00
Matthias
7682c9ace7
Update trade_close test to include orders
2022-07-23 15:27:52 +02:00
Matthias
24a786bedd
Update rpc test to contain sell order
2022-07-23 15:23:24 +02:00
Matthias
80845807e1
Improve some test resiliance
2022-07-23 15:14:38 +02:00
Matthias
a02d02ac12
Enhance protections tests to have orders in mock trade
2022-07-23 14:43:52 +02:00
robcaulk
8f86b0deaa
*breaking change* simplify user strat by consolidating feature loops into backend
2022-07-21 12:24:22 +02:00
robcaulk
a99c126266
help windows builds pass freqai tests. Add freqai to README.md
2022-07-20 16:14:19 +02:00
robcaulk
286bd0c40b
follow string for adding a strat to tests/strategy/strats
2022-07-20 15:00:02 +02:00
robcaulk
c43935e82a
create dedicated minimal freqai test strat
2022-07-20 14:39:28 +02:00
robcaulk
88d769d801
comment out problematic catboost test
2022-07-20 14:18:06 +02:00
robcaulk
d43c146676
add more tests for datakitchen functionalities, add regression tests for freqai_interface train/backtest
2022-07-20 12:56:46 +02:00
robcaulk
714d9534b6
start adding tests
2022-07-19 16:16:44 +02:00
Matthias
75e190ff1d
Update sell-test without filled buy order
2022-07-19 07:20:36 +02:00
Matthias
05a5ae4fcf
Update plotting to use entry/exit terminology
2022-07-16 22:28:46 +02:00
Matthias
9347677c60
Uppdate pricecontours test to not recreate backtesting every loop
...
in hopes to fix random failure
2022-07-16 19:33:26 +02:00
Matthias
4172f92bfc
simplify dry-run taker/maker selection
2022-07-16 17:25:13 +02:00
Matthias
8d2e22f009
Merge branch 'develop' into pr/samgermain/6780
2022-07-16 15:35:00 +02:00
Matthias
004bf31142
Merge pull request #7093 from freqtrade/fix/gate_futures_stoposs
...
gateio futures - several fixes
2022-07-16 15:18:32 +02:00
Matthias
bf07d8fe87
Update test to properly patch/mock exchange
2022-07-16 13:57:12 +02:00
Matthias
357000c478
Extract exchange validation to separate method
2022-07-16 13:45:26 +02:00
Matthias
d03dfb3934
Oder cost is real cost (including leverage)
2022-07-16 13:14:21 +02:00
Matthias
7b8a5585dd
Fetch 2ndary stoploss order once the order triggered.
2022-07-16 13:14:21 +02:00
Matthias
e53e530874
Add test showing broken inheritance hyperopt
2022-07-16 11:49:33 +02:00
Matthias
2e642593e5
Update formatting of hyperopt_conf fixture
2022-07-16 11:47:32 +02:00
Matthias
29efe75a6f
Update hyperoptable strategy to use V3 interface
2022-07-16 11:47:32 +02:00
Matthias
0669d93f56
Merge pull request #7068 from freqtrade/ccxt_ordertype_validations
...
Ccxt ordertype validations
2022-07-11 19:41:05 +02:00
Matthias
bf992fd9df
Add test for newly added functionality
2022-07-11 14:09:44 +02:00
Matthias
64f89af69e
Add Explicit test for "has" checks
2022-07-11 10:43:21 +02:00
Matthias
6ac1aa15f5
Reenable ccxt order checks
2022-07-11 10:36:19 +02:00
Matthias
f8e35d8760
Add TODO to disabled test
2022-07-11 10:30:05 +02:00
Matthias
523d8a84a8
skip "supports market order" for now until CCXT fixes their assignemnt bugs.
2022-07-11 10:22:51 +02:00
Matthias
494e0529d2
Update conftest for leverage tiers
2022-07-10 19:31:14 +02:00
Matthias
c98e7ea055
Revert allowing empty currency for futures
2022-07-09 08:57:15 +02:00
Matthias
b7167ec880
Fix wrong fee calclulation for gateio futures
2022-07-09 08:51:59 +02:00
Matthias
81f7d77d74
Allow fee currency to be empty for futures
2022-07-09 08:51:28 +02:00
Matthias
2499276fca
Refactor calculate_fee_rate to take separate parameters instead of an "Order"
...
we passed in a trade object anyway
2022-07-09 08:51:28 +02:00
Matthias
2dc46ca0b8
Add cost to partial test buy order
2022-07-06 07:12:13 +02:00
Matthias
fe8083c7f8
Improve test for dry-run orderclosing
2022-07-04 17:17:01 +02:00
Matthias
07aa372e2a
Ensure bot_loop_start is called in hyperopt, too
...
closes #7001
2022-07-03 14:10:59 +02:00
Matthias
906c7b92fe
Add enhance testcase to show problematic exit_reason behavior
2022-07-03 11:05:15 +02:00
Matthias
53e5483daa
Store StopPrice for dry-run orders
...
closes #6996
2022-06-22 06:31:51 +02:00
Matthias
3a0f31fe89
Merge pull request #6914 from freqtrade/leverage_tiers_async
...
Leverage tiers async
2022-06-21 10:18:40 +02:00
Matthias
50c19ece53
Fix ccxt test gateio flukyness
2022-06-20 07:05:51 +02:00
Matthias
0d967f93ba
Improve performance of some RPC calls
...
These don't need orders to be loaded. As a side-effect, this will
also reduce the strain on the database.
2022-06-19 16:13:04 +02:00
eSeR1805
9fdb8b07ac
Rename persistant storage infrastructure.
2022-06-19 15:56:50 +03:00
eSeR1805
0009b987e4
Merge branch 'develop' into feature_keyval_storage
2022-06-19 13:32:25 +03:00
Matthias
0809f9aef6
Add offset to trade response
2022-06-18 19:27:05 +02:00
Matthias
bb61250bfe
Merge pull request #6987 from freqtrade/profit_metrics
...
Profit metrics
2022-06-18 17:20:20 +02:00
Matthias
0168343b76
Add trading-volume to api schema
2022-06-18 16:53:25 +02:00
Matthias
53bfa7931d
Add rudimentary test for prior bug
...
Test fails without the fix in 8c46d19071
2022-06-18 16:32:22 +02:00
Matthias
40c9abc7e1
Add trading volume to /profit output
2022-06-18 11:40:32 +02:00
Matthias
6a15d36d14
Add Drawdown and profit_factor to /profit
...
#6816
2022-06-18 11:14:28 +02:00
Matthias
d77ce468ea
Add "dry" hint to buy/sell messages
...
part of #6962
2022-06-18 09:40:53 +02:00
Matthias
fda8248d41
Gateio allow market orders on futures markets
2022-06-17 22:43:24 +02:00
Matthias
91f9818ae3
Simplify trade calculations
2022-06-17 09:53:29 +00:00
Matthias
76cae8e8e3
Update tests to always provide rate to profit calculations
2022-06-17 06:55:31 +00:00
Matthias
575b4ead1a
Update Test with funding_fee 0
2022-06-17 06:29:17 +00:00
Matthias
ec40e79362
Merge pull request #6874 from froggleston/buy_reasons
...
Buy reasons
2022-06-15 19:06:00 +02:00
froggleston
4a5ed5a273
Fix tests
2022-06-15 11:48:57 +01:00
Matthias
3c62df6b86
Ensure the same timestamp is used for backtest and signal export
2022-06-15 06:53:52 +02:00
eSeR1805
4c6074062c
Merge branch 'develop' into feature_keyval_storage
2022-06-13 20:05:45 +03:00
eSeR1805
4f799cc9db
Add /list_kvals command for TG and underlying RPC.
2022-06-13 20:04:14 +03:00
Matthias
848a5d85c6
Add small stability fix to test
2022-06-13 13:24:48 +00:00
Matthias
e67d29cd2f
Update more trades to use create_mock_trades
2022-06-13 07:17:13 +02:00
Matthias
43c871f2f4
Use time-machine to stabilize time-sensitive tests
2022-06-13 06:49:31 +02:00
Matthias
390e600f55
Update statistics output
2022-06-13 06:46:34 +02:00
Matthias
7619fd08d6
Update telegram tests to use mock_trades
2022-06-12 19:41:28 +02:00
Matthias
dff83ef620
Update telegram profit test to USDT
2022-06-12 17:30:01 +02:00
Matthias
56652c2b39
Improve test resiliance
2022-06-12 17:09:47 +02:00
Matthias
2e1ed132f7
Merge pull request #6964 from freqtrade/rpc_rel_daily
...
Telegram / api daily relative profit
2022-06-11 19:31:32 +02:00
Matthias
9c65fad73f
Merge Pull request #6919 into develop
2022-06-11 17:49:32 +02:00
Matthias
4b70e03daa
Add some rudimentary tsts for discord webhook integration
2022-06-11 17:49:23 +02:00
Matthias
9ba11f7bcc
Update docs and tests for new daily command
2022-06-11 11:26:49 +02:00
Matthias
76827b31a9
Add relative profit to daily/weekly commands
2022-06-11 11:18:21 +02:00
Matthias
0a801c0223
Simplify daily RPC test
2022-06-11 08:58:36 +02:00
Matthias
1a5c3c587d
Simplify weekly/monthly tests, convert to usdt
2022-06-11 08:53:37 +02:00
Matthias
ab6a306e07
Update daily test to USDT
2022-06-11 08:31:59 +02:00
Matthias
2c7c5f9a6e
Update mock_usdt trade method
2022-06-10 20:47:52 +02:00
Matthias
76f87377ba
Reduce decimals on FIAT daily column
2022-06-10 20:18:53 +02:00
Matthias
2218313f5c
Merge pull request #6957 from freqtrade/rpc_consolidate_daily
...
Rpc consolidate daily
2022-06-10 06:39:59 +02:00
Matthias
88f8cbe172
Update tests to reflect new naming
2022-06-09 19:38:18 +02:00
Matthias
b211a5156f
Add test for strategy_wrapper lazy loading
2022-06-09 19:36:15 +02:00
Matthias
9534d6cca1
Cancel orders which can no longer be found after several days
2022-06-07 07:03:40 +02:00
Matthias
0b806af487
Add orders column to btresult
2022-06-06 10:59:10 +02:00
Matthias
a790bad1e4
Add entry_tag to leverage callback
...
closes #6929
2022-06-05 10:24:54 +02:00
Matthias
88845f6d88
Fix cancel order deleting trade
...
if one order was successfully filled, the trade cannot be deleted.
closes #6907
2022-05-31 17:49:51 +02:00
Matthias
ea537b32c7
Update tests for leverage_tier_loading
2022-05-31 11:40:14 +00:00
Matthias
be6e0813db
Remove --strategy from analysis test
2022-05-31 06:53:03 +02:00
Matthias
8e2c7e1298
extract detect_parameters to separate function
2022-05-30 07:26:26 +02:00
Matthias
5bf021be2e
Enhance hyperoptable strategy to test instance parameters
2022-05-30 07:08:37 +02:00
froggleston
9a068c0b14
Add test for each analysis group, remove default table output if not indicator-list
2022-05-29 16:25:31 +01:00
froggleston
df1c36e5aa
Change command name, use load_backtest_stats for strategy resolving
2022-05-29 11:54:27 +01:00
froggleston
c59209a01a
Merge branch 'buy_reasons' of github.com:froggleston/freqtrade into buy_reasons
2022-05-29 11:20:32 +01:00
froggleston
e7c5818d16
First pass changes for cleaning up
2022-05-29 11:20:11 +01:00
Matthias
a875a7dc40
Use unified stopPrice for binance
2022-05-29 11:01:01 +02:00
Matthias
3e7bf6a9ef
Remove imports in test_strategy2
2022-05-27 19:31:34 +02:00
Matthias
b04fe5d4ee
Simplify test v2 strategy
2022-05-27 19:30:14 +02:00
Matthias
24cf044646
Fix bybit spot mode
2022-05-27 08:18:04 +00:00
Matthias
43b7955fc2
Fully rely on pathlib
2022-05-26 19:37:55 +02:00
Matthias
682daa4e94
Reset logging mixin to avoid random test failure
2022-05-26 18:05:40 +02:00
froggleston
145faf9817
Use tmpdir for testing
2022-05-26 11:06:38 +01:00
froggleston
21e6c14e1e
Final test changes
2022-05-25 10:08:03 +01:00
froggleston
f5c2930889
Presume that pytest will call the cleanup call
2022-05-25 09:58:38 +01:00
froggleston
2873ca6d38
Add cleanup, adjust _print_table for indicators, add rsi to test output
2022-05-25 09:57:12 +01:00
froggleston
edd474e663
Another test fix attempt
2022-05-24 21:21:20 +01:00
froggleston
22b9805e47
Fix all tests
2022-05-24 21:04:23 +01:00
froggleston
3adda84b96
Update docs, add test
2022-05-24 20:27:15 +01:00
Matthias
d6773bc32c
Merge pull request #6886 from freqtrade/fix/typing
...
Fix/typing
2022-05-24 19:41:59 +02:00
Matthias
7f3853bbcd
Merge pull request #6883 from freqtrade/makeProcessCandlesTrue
...
Change default value of process_only_new_candles to True since False …
2022-05-24 07:03:14 +02:00
Matthias
23e089061b
Merge pull request #6870 from freqtrade/should_exit_list
...
Should exit list
2022-05-24 06:57:50 +02:00
Matthias
f1a72e448a
Align interfaces and strategy templates
2022-05-24 06:54:16 +02:00
Matthias
42ae8ba6fb
Refactor hyperopt parameters to separate file
2022-05-23 20:18:09 +02:00
robcaulk
5c4014ee62
Change default value of process_only_new_candles to True since False is an uncommon usecase for expert strategy devs
2022-05-23 10:24:58 +02:00
Matthias
eb5fe9e3ae
Merge pull request #6857 from froggleston/develop
...
Add support for fudging unavailable funding rates, allowing backtesti…
2022-05-23 06:31:51 +02:00
Matthias
0b5544ef9e
Stoploss fill should fill as "filled" notification
...
Closes #6873
2022-05-22 19:18:12 +02:00
Matthias
3692fcd3d5
Improve exit signal sequence
2022-05-22 11:01:18 +02:00
Matthias
ce3bfd59f5
Add explicit should_sell test
2022-05-22 10:31:29 +02:00
Matthias
b7388557a9
Update interface tests
2022-05-22 10:20:01 +02:00
Matthias
26d394ca74
Add liquidation Price to api response
2022-05-22 08:54:27 +02:00
Matthias
ea8fda0dee
Slightly improve test
2022-05-22 08:36:28 +02:00
Matthias
1ff1e3b43d
Merge pull request #6869 from freqtrade/update_levtiers
...
Update leveraged tiers
2022-05-22 08:35:02 +02:00
Matthias
681ef13174
Relax dry-run leverage test-case to simplify future updates
2022-05-21 16:23:29 +02:00
Matthias
963cc17c18
Update leveraged tiers
2022-05-21 16:05:00 +02:00
Matthias
0d388b561b
Add test for "combine_funding_and_mark", fix bug
2022-05-21 09:03:30 +02:00
Matthias
2cf17e04be
Init persistence for tests that use dry-run orders
2022-05-20 06:26:16 +02:00
Matthias
56a73575a1
Add explicit test for order_to_ccxt
2022-05-19 19:29:39 +02:00
Matthias
5e18e51ce0
Fix some tests
2022-05-19 07:03:53 +02:00
Matthias
a3d9384bc0
Remove clean-dry-run code
2022-05-19 06:56:34 +02:00
Matthias
0a95ef6ab2
Don't reset open orders in dry-run on restart
2022-05-19 06:42:38 +02:00
Matthias
d5486f17d8
Update Test to use StrategyV3
2022-05-18 10:57:19 +02:00
eSeR1805
34684ec86a
Merge branch 'freqtrade:develop' into feat_bt_cancel_entry_reporting
2022-05-17 14:09:57 +03:00
eSeR1805
bb7ffd8fbe
Update testcases relying on BT results.
2022-05-17 14:08:35 +03:00
Matthias
8d46e16c46
Merge pull request #6848 from freqtrade/datahandler_case
...
Datahandler case insensitive
2022-05-17 09:34:11 +02:00
Matthias
1cd8ebc8c8
Merge pull request #6847 from freqtrade/use_Precise
...
Use precise
2022-05-17 09:33:39 +02:00
eSeR1805
99aea454b5
Update testcases to match reporting.
2022-05-17 01:42:48 +03:00
Matthias
76637d3939
Simplify timeframe-transition
2022-05-16 20:10:52 +02:00
Matthias
2e65a1793d
Add fallback to load 1M files as well as 1Mo files
2022-05-16 19:48:27 +02:00
Matthias
d09b462930
Add rudimentary tests for Precise "builtin operator" workings
2022-05-16 19:21:38 +02:00
Matthias
a793cf8f05
Use ccxt's "precise" to do precise math
2022-05-16 19:21:38 +02:00
Matthias
3d36d35e30
Merge pull request #6825 from freqtrade/okx_history
...
Okx history
2022-05-15 19:27:45 +02:00
Matthias
ebab02fce3
Merge pull request #6827 from eSeR1805/fix_readjust_entry_bt_sl
...
Fix: Refresh SL on entry order replacement
2022-05-15 16:41:18 +02:00
Matthias
9143e9ecb1
Add some safety measures for new startup_candles verification
2022-05-15 15:12:29 +02:00
Matthias
d60d0f64d2
Revert ohlcv_candle_limit logic for okx
2022-05-14 19:35:06 +02:00
Matthias
116b58e97c
add "date_minus_candles" method
2022-05-14 19:30:42 +02:00
Matthias
a947a1316b
Add test to ensure stoploss is set properly in live
2022-05-14 17:42:01 +02:00
eSeR1805
ec54b47b6e
Flake fix.
2022-05-14 16:39:27 +03:00
Matthias
5767d652bf
Add explicit test and document behavior
2022-05-14 14:18:51 +02:00
Matthias
2a1368d508
Offsetfilter: add number_assets parameter
...
closes #6824
2022-05-14 14:16:13 +02:00
Matthias
bb1b283d95
Update some ohlcv_candle_limit calls
2022-05-14 13:44:10 +02:00
Matthias
111b04c9e6
Okx - conditional candle-length
2022-05-14 09:51:44 +02:00
Matthias
64668b11da
add ohlcv_has_history - disabling kraken downloads
2022-05-14 09:10:38 +02:00
மனோஜ்குமார் பழனிச்சாமி
9d13c87292
cleaned up backtesting
...
Solves the [bug](https://github.com/freqtrade/freqtrade/runs/6425715015?check_suite_focus=true )
2022-05-13 21:46:25 +05:30
Matthias
044afdf7af
Add better test scenario
2022-05-10 20:27:24 +02:00
Matthias
269630e755
Add preliminary documentation for database conversion
2022-05-10 07:13:42 +02:00
Matthias
c19be34e71
Add rudimentary test for db migration
2022-05-09 20:58:40 +02:00
Matthias
4a7515e66a
Add test for 0.0 case
2022-05-08 16:04:06 +02:00
Matthias
c9498d0117
Merge pull request #6692 from eSeR1805/feat_readjust_entry
...
Feature: Readjust Entry Order
2022-05-07 20:11:20 +02:00
eSeR1805
eca8d16c61
Minor fix and enhancement for TC51.
2022-05-07 17:31:56 +03:00
Matthias
f5f599c7f0
Add LowProfitPairs only_per_side option
2022-05-07 15:25:15 +02:00
Matthias
dc0c1bf87d
Only fetch accounts when authenticated.
2022-05-07 13:17:27 +02:00
Matthias
6fdcf3a10a
Support both position modes on OKX
2022-05-07 10:58:41 +02:00
Matthias
108903f7f0
Add DCA order adjust test
2022-05-06 19:50:10 +02:00
Matthias
70bac41d89
Add more backtest test scenarios
2022-05-06 19:50:10 +02:00
Matthias
2d9be6dace
move open_rate updating to close_bt_order
2022-05-05 19:50:16 +02:00
eSeR1805
496bf84e3a
Merge branch 'develop' into feat_readjust_entry
2022-05-04 21:43:41 +03:00
Sam Germain
10cbb5e67c
test_exchange::test_taker_or_maker fixes
2022-05-04 00:10:09 -06:00
Sam Germain
86ad5dd02a
test_exchange::test_taker_or_maker fixes
2022-05-04 00:08:41 -06:00
Sam Germain
dac9931b4a
test_create_dry_run_order_fees
2022-05-03 23:56:49 -06:00
Sam Germain
5d9aee6b7e
test_taker_or_maker
2022-05-03 23:56:49 -06:00
Matthias
b2f33944ec
Add preliminary backtesting test
2022-05-04 07:13:02 +02:00
Matthias
5c82cce06c
Fix new test failures
2022-05-04 06:40:12 +02:00
Matthias
eb996a152a
Fix fee handling for futures trades
2022-05-03 19:06:17 +02:00
Matthias
88c8fe5570
Merge pull request #6715 from nicolaspapp/feat/relative-drawdown
...
Add relative drawdown
2022-05-02 21:09:14 +02:00
Matthias
1e2523af61
Fix some assumptions on the data
...
available_capital is not guaranteed to be available, while dry-run-wallet is.
2022-05-02 19:44:14 +02:00
eSeR1805
b83cd95a02
Tests: add basic testcases for entry adjustment.
2022-05-02 18:07:48 +03:00
eSeR1805
04c51d2d1a
Merge branch 'develop' into feat_readjust_entry
2022-05-01 21:42:15 +03:00
Nicolas Papp
f9244aad92
Fix on max drawdown formula to match tests
2022-05-01 12:25:53 -03:00
Matthias
582e30bca6
Merge pull request #6716 from freqtrade/pairlocks_direction
...
Pairlocks direction
2022-05-01 17:04:20 +02:00
Matthias
910addd02b
Merge pull request #6753 from freqtrade/download_prepend
...
Download prepend
2022-05-01 15:15:16 +02:00
Matthias
995c48b642
Merge branch 'develop' into pairlocks_direction
2022-05-01 14:59:04 +02:00
Matthias
53a2f55cf0
Merge branch 'develop' into pr/nicolaspapp/6715
2022-05-01 10:03:10 +02:00
Matthias
0c921e0116
Reorder api_backtesting test sequence
2022-04-30 20:08:40 +02:00
Matthias
e49b3ef051
Improve message formatting
2022-04-30 17:35:11 +02:00
Matthias
f6a7e6b785
Add prepend option to download-data
2022-04-30 17:32:50 +02:00
Matthias
11d447cd5a
Add support for download-data "until"
2022-04-30 15:42:41 +02:00
Matthias
c6c569b772
chore: split BTAnalyais to metrics
2022-04-30 14:47:27 +02:00
Matthias
4262f84744
Merge branch 'develop' into pr/nicolaspapp/6715
2022-04-30 14:22:18 +02:00
Matthias
2acb68e6e2
Move hyperopt-loss functions to their own package
2022-04-30 13:59:23 +02:00
eSeR1805
3be2afdd88
Merge branch 'develop' into feat_readjust_entry
2022-04-30 13:39:23 +03:00
Sam Germain
4a6f1e90c3
Merge branch 'develop' into bot-start
2022-04-29 22:23:42 -06:00
Sam Germain
23431a7106
removed invalid plotting and test_default_strategy tests for bot_start, edited edge test
2022-04-29 22:21:22 -06:00
Matthias
fbd142844f
Refactor bt-caching stuff to it's own module
2022-04-29 19:37:13 +02:00
Matthias
21df1b0db3
Use ORJSON for http responses
2022-04-29 07:17:31 +02:00
eSeR1805
eb23170c43
Merge branch 'develop' into feat_readjust_entry
2022-04-28 23:06:52 +03:00
Matthias
d1a61f9c61
Don't start futures backtest if leverage-tiers don't contain pair
2022-04-28 20:05:19 +02:00
Matthias
cb5c3316d1
Simplify log output
2022-04-28 19:43:52 +02:00
Matthias
2c0a7c5d74
Don't call interest_rate and isolated_liq twice
2022-04-27 17:13:58 +02:00
Rokas Kupstys
6d99222320
Add 'exit_tag' parameter to 'custom_exit_price' callback.
2022-04-26 10:01:51 +03:00
Sam Germain
810e190e16
added tests for bot_start
2022-04-25 17:48:57 -06:00
Matthias
4143ebbeae
Add CAGR calculation to backtesting
2022-04-25 10:51:11 +02:00
Matthias
ad6e5c5312
Test informative fallback again
2022-04-25 07:41:51 +02:00
Matthias
5ff2261b74
Improve test to explicitly test for dates
2022-04-25 07:32:32 +02:00
Matthias
9bc6bbe472
Improve test for max_drawdown calculations
2022-04-25 07:23:16 +02:00
Matthias
9bb0f1f675
Move legacy strategy to "broken strats" folder
2022-04-25 07:11:32 +02:00
Matthias
ec2582a4ae
Update tests to no longer use Strategy V1
2022-04-25 07:02:09 +02:00
Nicolas Papp
086cc6be93
Correction on tests
2022-04-24 17:37:09 -03:00
Matthias
737bdfe844
Use "side" parameter when calling Pairlocks
2022-04-24 14:33:24 +02:00
Matthias
144e4da96e
Update stoploss guard tests
2022-04-24 14:33:24 +02:00
Matthias
4942d73693
update pairlock tests
2022-04-24 14:33:24 +02:00
Matthias
845f960a4e
realign pairlock naming to side
2022-04-24 14:33:24 +02:00
Matthias
420836b1b2
Update test naming
2022-04-24 14:33:24 +02:00
Matthias
b7cada1edd
Convert ProtectionReturn to dataclass
2022-04-24 14:33:24 +02:00
Matthias
6ff3b178b0
Add direction column to pairlocks
2022-04-24 14:33:24 +02:00
Matthias
25c6c5e326
Update backtest sell terminology to exit
2022-04-24 14:30:50 +02:00
Matthias
0807d3106f
Remove unused import
2022-04-23 15:34:40 +02:00
Matthias
12d03e6a91
Remove unused test methods
2022-04-23 14:53:47 +02:00
Matthias
d4e12371c2
Merge pull request #6558 from samgermain/recursive-strategy-folder
...
Recursively search subdirectories in config['user_data_dir']/strategies for a strategy
2022-04-23 14:23:53 +02:00
Matthias
b1ca47e3d6
Merge pull request #6707 from koradiyakaushal/develop
...
Ref: timeseries friendly merge_ordered in merge_informative_pair func…
2022-04-23 14:22:23 +02:00
Matthias
a2af7b4fd8
Test non-ffill approach
2022-04-23 11:25:20 +02:00
Matthias
30f314d580
windows compatibility of test
2022-04-23 10:44:11 +02:00
Matthias
89f16ad3a5
Merge pull request #6543 from froggleston/v3_fixes
...
Add support for storing buy candle indicator rows in backtesting results
2022-04-23 09:45:11 +02:00
Matthias
7328553c0b
Merge pull request #6563 from italodamato/opt-ask-force-new-points
...
Optimize only new points
2022-04-23 09:43:33 +02:00
Matthias
aa5345190e
Test recursive strategy-listing
2022-04-23 09:19:18 +02:00
Matthias
dff9d52b30
Remove hints on no longer used option, add very primitive test
2022-04-23 08:51:52 +02:00
froggleston
b3cb722646
Use joblib instead of pickle, add signal candle read/write test, move docs to new Advanced Backtesting doc
2022-04-20 13:38:52 +01:00
froggleston
3ad1411f5e
Fix imports
2022-04-19 13:08:01 +01:00
froggleston
165f59325f
Merge branch 'v3_fixes' of github.com:froggleston/freqtrade into v3_fixes
2022-04-19 12:48:29 +01:00
froggleston
84f486295d
Add tests for new storing of backtest signal candles
2022-04-19 12:48:21 +01:00
eSeR1805
cea4f663d5
Merge branch 'develop' into feat_readjust_entry
2022-04-18 21:22:19 +03:00
Sam Germain
591a2fb7fc
switch notionalFloor -> minNotional and notionalCap -> maxNotional
2022-04-16 21:47:44 -06:00
eSeR1805
698c25f133
Fix issues reported by flake.
2022-04-16 15:44:07 +03:00
eSeR1805
d65b64a46f
Merge branch 'develop' into feat_readjust_entry
2022-04-16 15:20:50 +03:00
eSeR1805
237d116d8c
Update existing tests to use the new func name.
2022-04-16 15:08:54 +03:00
Matthias
a4ec8984cd
Merge pull request #6685 from freqtrade/bt_load_history
...
Backtesting load history
2022-04-15 16:06:20 +02:00
Matthias
f61d4d36c3
Add test for 0 precision amount
2022-04-15 14:48:09 +02:00
Matthias
f89b64c972
Improve test by having multistrat.meta file available
2022-04-13 07:09:26 +02:00
Matthias
4ac54a76af
Add strategy as mandatory argument
2022-04-13 06:47:39 +02:00
Matthias
0c87702545
test for backtest history
2022-04-12 06:28:37 +02:00
Nicolas Papp
c8e4687833
Plots and hyperopt
2022-04-11 16:41:48 -03:00
Matthias
4254d86658
Move test-backtestfiles to separate directory
2022-04-11 20:32:02 +02:00
Matthias
baefda80d1
Enable flake8 E226 rule
2022-04-11 18:02:06 +02:00
Matthias
68fe7476c9
Update more terminology to forceexit
2022-04-10 15:56:29 +02:00
Matthias
9556af1e6c
Improve documentation for config imports
2022-04-10 10:14:34 +02:00
Matthias
2653d83fee
Merge branch 'develop' into pr/cyberjunky/6615
2022-04-10 09:24:53 +02:00
Matthias
54633e90a7
Merge branch 'develop' into pr/italodamato/6563
2022-04-10 09:16:31 +02:00
Matthias
a99cbe459c
Merge pull request #6671 from freqtrade/custom_exit_profit
...
Custom exit - call it independent of profit
2022-04-10 09:09:45 +02:00
Matthias
ffff45e76b
simplify exit message
2022-04-10 08:44:49 +02:00
Matthias
850760bc00
Remove migration from very old database
...
(database without Orders table)
2022-04-10 08:43:30 +02:00
Matthias
46c18dfce2
Merge pull request #6670 from freqtrade/store_asset
...
store base and quote currency separately in the database
2022-04-10 08:42:28 +02:00
Matthias
6ebd30db88
Merge pull request #6665 from freqtrade/config_from_config
...
Allow recursive loading of configuration files
2022-04-09 17:18:51 +02:00
Matthias
114591048c
Always call custom_sell - also when there's a new enter signal
2022-04-09 17:17:49 +02:00
Matthias
139b65835c
Only show long/short signals on telegram for non-spot markets
2022-04-09 17:09:17 +02:00
Matthias
8e98a2ff9f
api - provide assset_currency via API
2022-04-09 16:42:18 +02:00
Matthias
f385e2c2b6
Update test to also cover "no trade found" scenario
2022-04-09 10:04:10 +02:00
Matthias
ebcb530d4f
Log if no stake-amount is left for trade
2022-04-09 09:58:03 +02:00
Matthias
ddfc68d533
Add test case for interactive telegram exit
2022-04-09 09:41:01 +02:00
Matthias
967bbe99bb
Merge branch 'develop' into pr/cyberjunky/6615
2022-04-08 18:05:27 +02:00
Matthias
238ff6c9fe
Use better naming
2022-04-08 17:30:23 +02:00
Matthias
1435d26996
store config-file loading paths
2022-04-08 17:26:51 +02:00
Matthias
3427df0653
Add simple test for recursive loading
2022-04-08 16:11:18 +02:00
Matthias
aee0cfd17a
forcebuy_enable -> force_entry_enable
2022-04-08 13:39:41 +02:00
Matthias
ef2f8be526
Merge pull request #6653 from mkavinkumar1/renaming-forceentry-forceexit
...
renamed forceentry forceexit
2022-04-08 12:31:48 +02:00
மனோஜ்குமார் பழனிச்சாமி
f7020df097
Updating requested changes in PR #6653
2022-04-08 07:07:51 +05:30
மனோஜ்குமார் பழனிச்சாமி
9417bb01dc
Merge branch 'develop' into renaming-forceentry-forceexit
2022-04-08 00:01:51 +05:30
Matthias
1347107c1e
extract load_from_files to load_config
2022-04-07 20:15:06 +02:00
Matthias
cbbbe8a5ba
Fix test using existing config file, therefore becomming fluky
2022-04-07 09:08:17 +00:00
Matthias
299dd84cfe
Merge pull request #6656 from freqtrade/use_sell_signal
...
Use sell signal -> use_exit_signal
2022-04-06 19:46:46 +02:00
Matthias
62d13a9f74
Fix test indentation
2022-04-06 16:03:11 +02:00
மனோஜ்குமார் பழனிச்சாமி
b751dd339a
Update test_rpc_telegram.py
2022-04-06 07:23:43 +05:30
மனோஜ்குமார் பழனிச்சாமி
28f4a3b373
updated for PR #6653
2022-04-06 07:05:43 +05:30
மனோஜ்குமார் பழனிச்சாமி
7e97e58820
renamed enter-side
2022-04-06 06:32:13 +05:30
Matthias
8d95e76d26
Add tests for new naming definitions
2022-04-05 20:43:39 +02:00
Matthias
b1378efdeb
ignore_roi_if_buy_signal -> ignore_roi_if_entry_signal
2022-04-05 20:21:39 +02:00
Matthias
5bafdb6108
Update testcase
2022-04-05 20:15:08 +02:00
Matthias
4897731030
use_sell_signal -> use_exit_signal
2022-04-05 20:10:20 +02:00
Matthias
5ce5c70be6
sell_profit_offset -> exit_profit_offset
2022-04-05 20:03:27 +02:00
Matthias
bba9629a2a
Rename sell_profit_only to exit_profit_only
2022-04-05 20:00:35 +02:00
மனோஜ்குமார் பழனிச்சாமி
5fa96174e1
Update test_rpc.py
2022-04-05 16:58:30 +05:30
மனோஜ்குமார் பழனிச்சாமி
8442fb915f
renamed
2022-04-05 16:01:53 +05:30
Matthias
0db5d9f7fa
Update telegram message formatting
2022-04-04 19:37:23 +02:00
Matthias
7d3116f9fb
webhookbuy -> webhookentry
2022-04-04 19:32:27 +02:00
Matthias
eff636ba53
Update RPC message types to ENTRY
2022-04-04 19:29:15 +02:00
Matthias
125dff1dad
Properly deprecate webhook settings (with transition)
2022-04-04 19:21:13 +02:00
Matthias
8a9839fb6d
Update telegram notification settings
2022-04-04 19:10:44 +02:00
Matthias
0b88185c2c
Sell-fill -> exit_fill
2022-04-04 19:08:50 +02:00
Matthias
8b33d9cdb2
sell_cancel -> exit_cancel
2022-04-04 19:07:20 +02:00
Matthias
6a0110aa3c
Update webhook configuration
2022-04-04 19:05:36 +02:00
Matthias
6d9218cb34
sell_signal -> exit_signal
2022-04-04 17:11:11 +02:00
Matthias
1917527179
custom_sell -> custom_exit
2022-04-04 17:04:43 +02:00
Matthias
cd146bfa8f
emergency_sell -> emergency_exit
2022-04-04 17:03:27 +02:00
Matthias
54ad130bb9
Update force_sell to force_exit
2022-04-04 16:59:27 +02:00
Matthias
dc462e63fe
update BTContainer use_sell_signal
2022-04-03 19:27:30 +02:00
Matthias
8acffbc1d8
sell_type -> exit_type
2022-04-03 11:18:36 +02:00
Matthias
2d2bea17e7
sell_order_status -> exit_order_status
2022-04-03 11:17:01 +02:00
Matthias
d054916439
Merge pull request #6632 from freqtrade/short_terminology
...
Short terminology
2022-04-03 11:10:16 +02:00
Matthias
d94b73b396
Update some documentation
2022-04-03 10:44:27 +02:00
Matthias
cd78792f48
Improve some telegram terminology
2022-04-03 10:40:13 +02:00
Matthias
e894f620c2
Improve compatibility
2022-04-03 08:15:23 +02:00
Matthias
240ca421af
Merge pull request #6630 from SmartManoj/patch-4
...
checking exchange name with lower
2022-04-02 20:09:10 +02:00
Matthias
543aa74278
update sell_reason to exit_reason
2022-04-02 20:04:29 +02:00
Ron Klinkien
f89265e0fb
Merge branch 'develop' into cyber-forcesell-tg
2022-04-02 20:02:42 +02:00
Matthias
39d925c295
Change to precise casing instead of .lower()
2022-04-02 19:48:01 +02:00
Matthias
f742d21690
Add test showing #6629
2022-04-02 16:16:26 +02:00
topscoder
60d52f0a20
Consistent CoinGecko naming in test_fiat_convert.py
2022-04-01 20:57:09 +02:00
Matthias
889fa7bac2
Add small offset to time to avoid random fails
2022-04-01 10:49:21 +02:00
Matthias
d1ea5ea856
Merge pull request #6622 from freqtrade/short_plot
...
Short plot
2022-04-01 09:18:37 +02:00
Matthias
a13d4e5519
Renumber backtest-detail tests
2022-04-01 07:00:51 +02:00
Sam Germain
4b238987b0
plot.generate_candlestick_graph Added short equivelent, separating plotting scatter creation to a function
2022-04-01 06:27:42 +02:00
Matthias
0c9bbc753f
Fix random test failure by setting fixed time passed
2022-03-31 20:00:55 +02:00
Ron Klinkien
3d8cfa7ea5
Several fixes
...
Code optimizations
2022-03-31 08:30:20 +02:00
Matthias
8e7fa9f6c8
Update bot test formatting
2022-03-30 19:32:52 +02:00
Ron Klinkien
c42af7d095
Fixed typo in test file
2022-03-30 12:41:41 +02:00
Ron Klinkien
3ed7f3f2df
Display all trade info in buttons
...
First step to fix tests for changed forcesell code
2022-03-30 12:28:30 +02:00
Italo
bad179ebaa
fix merge mess
...
This reverts commit 9f171193ef
.
2022-03-30 09:48:10 +01:00
Italo
3e24d01af4
fix flake8
2022-03-30 09:41:40 +01:00
Italo
9f171193ef
Revert "Merge branch 'plot_hyperopt_stats' into opt-ask-force-new-points"
...
This reverts commit 4eb9cc6e8b
, reversing
changes made to a3b401a762
.
2022-03-30 09:39:07 +01:00
Matthias
dafc2bf361
Merge branch 'develop' into feat/short
2022-03-30 07:09:41 +02:00
Italo
4eb9cc6e8b
Merge branch 'plot_hyperopt_stats' into opt-ask-force-new-points
2022-03-30 00:30:33 +01:00
Italo
a3b401a762
highlight random points in hyperopt results table
2022-03-30 00:29:14 +01:00
Matthias
8ebef914e2
Update pricing documentation
2022-03-28 20:20:10 +02:00
Matthias
2d740230f7
price_last_balance renaming
2022-03-28 19:53:55 +02:00
Matthias
d7c6520268
Update remaining tests
2022-03-28 19:30:14 +02:00
Matthias
cee09493be
Update market order validation
2022-03-28 19:25:46 +02:00
Matthias
440967e483
Update some tests
2022-03-28 19:17:22 +02:00
மனோஜ்குமார் பழனிச்சாமி
5552ad779c
Corrected test_create_order
2022-03-28 19:31:12 +05:30
Matthias
9f863369bd
Migrate bid/ask strategy to entry/exit pricing
2022-03-27 18:58:46 +02:00
Matthias
bcf326a035
Initial steps to change bid/ask pricing to enter/exit
2022-03-27 18:03:49 +02:00
Matthias
d1f61c4cf9
Use proper fee for DCA entries
2022-03-27 17:00:45 +02:00
Matthias
30cff1bd2c
Update hdf5 to not raise naturalNaming warnings
2022-03-27 16:39:34 +02:00
Matthias
85bb2dcc8d
Merge pull request #6590 from freqtrade/short_gateio
...
Fix gateio fee handling for futures
2022-03-27 14:57:36 +02:00
Matthias
0f1de435da
Fix ccxt compat tests
2022-03-27 08:28:44 +02:00
Matthias
d244391860
no need to "abs" cost will be fixed in ccxt
2022-03-26 19:06:37 +01:00
Matthias
f509959bd4
Update
2022-03-26 16:26:31 +01:00
Matthias
fdc7077a2c
Remove some unnecessary test arguments
2022-03-26 15:25:43 +01:00
Matthias
f5578aba48
Update trading_fee naming
2022-03-26 15:16:04 +01:00
Matthias
9b8a2435f8
Add tests for fetch_order gateio patch
2022-03-26 15:12:05 +01:00
Matthias
9a8c24ddf3
Update gateio to patch fees
2022-03-26 15:04:17 +01:00
Matthias
33229c91cb
Add fetch_trading_fees endpoint
2022-03-26 13:53:36 +01:00
Matthias
4424dcc2df
Fix odd test
2022-03-26 12:01:28 +01:00
Matthias
0624817242
update unfilledtimeout settings to entry/exit
2022-03-26 11:55:11 +01:00
Matthias
60f2a12bd9
Fix wrong datetime conversion
2022-03-26 08:23:02 +01:00
Matthias
6f1b14c013
Update buy_timeout and sell_timeout methods
2022-03-25 19:57:06 +01:00
Matthias
973644de66
Fix bad import
2022-03-25 19:25:43 +01:00
Matthias
78fe29cc2d
Merge pull request #6588 from samgermain/contracts
...
Add amount_to_contracts and order_contracts_to_amount to exchange.stoploss
2022-03-25 19:18:01 +01:00
Matthias
46f4227329
Check if symbol is not None
2022-03-25 18:11:02 +01:00
Matthias
50ba20ec9f
Remove some unused test methods
2022-03-25 16:14:18 +01:00
Matthias
1c0946833d
Fix bug in exit-count detection
2022-03-25 16:06:03 +01:00
Matthias
81957e004d
Revert false update
2022-03-25 15:38:38 +01:00
Matthias
f8e87e45a5
Merge pull request #6576 from samgermain/funding-tests
...
funding_fee tests
2022-03-25 15:11:45 +01:00
Sam Germain
d3ea14de68
test_stoploss_contract_size
2022-03-25 07:21:31 -06:00
Matthias
743a7b7849
Merge branch 'develop' into feat/short
2022-03-25 10:04:18 +01:00
மனோஜ்குமார் பழனிச்சாமி
2cb24ed310
Added in ms
...
Just multiplied by 1000 as minuting checking in ms is not performed
2022-03-25 13:45:05 +05:30
Matthias
dcfa3e8648
Update SellType to ExitType
2022-03-25 06:55:37 +01:00
Matthias
c07883b1f9
Move ExitCheckTuple to enums
2022-03-25 06:50:18 +01:00
Matthias
8d111d357a
Update SellCheckTuple to new naming
2022-03-25 06:46:29 +01:00
Matthias
62e8c7b5b7
Rename parameter to avoid ambiguity
2022-03-25 06:39:57 +01:00
Matthias
d7f76ee452
Update confirm_trade_exit to use sell_reason terminology
2022-03-25 06:37:40 +01:00
மனோஜ்குமார் பழனிச்சாமி
3f98fcb0db
all datetime included again
2022-03-25 09:19:39 +05:30
மனோஜ்குமார் பழனிச்சாமி
d94b84e38c
datetime included again
2022-03-25 08:58:27 +05:30
மனோஜ்குமார் பழனிச்சாமி
094676def4
Removed old datetime keys and added timestamp
2022-03-23 20:47:55 +05:30
Matthias
b1e3ead88b
Merge branch 'develop' into feat/short
2022-03-22 20:28:38 +01:00
Matthias
247635db79
Fix tests
2022-03-22 19:28:13 +01:00
Matthias
fa3c00c673
Remove some default arguments in history_utils
2022-03-22 07:20:21 +01:00
Matthias
bc12fd6cbb
Update backtest-result outputs to reflect new terminology
2022-03-22 06:47:20 +01:00
Matthias
08777abd85
Update backtesting output terminology to "exit"
2022-03-22 06:43:37 +01:00
Matthias
2c89da6bf7
Update code to properly behave when rounding open_date for funding fees
2022-03-21 19:38:27 +01:00
Sam Germain
f03f586eeb
funding_fee tests
2022-03-21 05:01:18 -06:00
Matthias
4fd0681265
Combine stake_amount recalculation
2022-03-20 20:00:30 +01:00
Matthias
6ec7b84b92
Modify hyperoptable strategy to use relative importing
2022-03-20 13:12:26 +01:00
Matthias
49e087df5b
Allow Strategy subclassing in different files by enabling local imports
2022-03-20 13:07:06 +01:00
adriance
f01c9cd28c
fix taker stake amount with leverage
2022-03-20 20:06:32 +08:00
Matthias
fcec071a08
Use order date to fetch trades
...
using the trade open-date may fail in case of several trade-entries spread over a longer timeperiod.
closes #6551
2022-03-20 09:46:51 +01:00
Matthias
8556e6a053
Automatically assign buy-tag to force-buys
...
closes #6544
2022-03-20 09:33:47 +01:00
Matthias
aceaa3faec
remove last ticker_interval compatibility shim
2022-03-20 09:33:47 +01:00
Matthias
eb08b92180
Raise exception when ticker_interval is set.
2022-03-20 09:01:36 +01:00
Matthias
35607ae03b
Add test for min_leverage
2022-03-19 15:44:37 +01:00
Matthias
7d8ca63752
Merge pull request #6550 from freqtrade/short_tickerproblems
...
Short tickerproblems
2022-03-19 15:43:40 +01:00
Matthias
f44601d0cc
Update ccxt-compat test config
2022-03-19 14:45:35 +01:00
Matthias
97c1316bf1
Add new validation to validate excludes
2022-03-18 19:26:54 +01:00
Matthias
d32153c8d3
Validate pricing configuration
2022-03-18 17:07:12 +01:00
Matthias
0c63c0bbb3
Update Gateio stoploss adjust
2022-03-18 10:41:38 +01:00
Matthias
7868e50141
Merge branch 'develop' into feat/short
2022-03-18 08:18:17 +01:00
Matthias
208a139d2b
Incorporate fetch_bids_asks to allow binance spread filter to work
...
closes #6474
2022-03-18 07:08:16 +01:00
Matthias
fdce055061
Update deep_merge_dicts to disallow null-overrides
2022-03-18 06:58:22 +01:00
Matthias
73fc344eb1
Improve wording in docs
2022-03-18 06:38:54 +01:00
Matthias
f55db8e262
Spreadfilter should fail to start if fetchTickers is not supported
2022-03-17 20:21:10 +01:00
Matthias
a13b633c56
update VOlumepairlist to also work without tickers
2022-03-17 20:11:56 +01:00
Matthias
9b2ec5e653
Fix missleading variable naming
2022-03-17 06:58:08 +01:00
Matthias
20f02eb773
Add test for stoploss case
2022-03-16 21:28:24 +01:00
Matthias
2fab3de4d7
More backtest-detail tests
2022-03-16 20:12:09 +01:00
Matthias
295668d06c
Add a few testcases
2022-03-16 20:12:09 +01:00
Matthias
c934f939e3
Update a few more short tests
2022-03-16 20:12:09 +01:00
Matthias
c0781a98e8
Add ROI test
2022-03-16 20:12:09 +01:00
Matthias
298797cbfd
Add stoploss short test
2022-03-16 20:12:09 +01:00
Matthias
c47b5b9087
Update bt_detail column descriptions
2022-03-16 20:12:00 +01:00
adriance
8f432fe468
Merge branch 'feat/short' into fs_fix
2022-03-16 14:22:08 +08:00
Matthias
ebd61ebdef
Merge pull request #6513 from samgermain/gateio-stoploss
...
Gateio stoploss on exchange
2022-03-15 06:27:54 +01:00
Matthias
12948aade6
Remove unused argument
2022-03-14 19:29:26 +01:00
adriance
7dd57e8c04
format
2022-03-14 18:39:11 +08:00
adriance
1d4eeacc6d
fix test_backtest__enter_trade_futures row data error
2022-03-14 17:55:42 +08:00
Matthias
c63b5fbbbf
Use last to get rates for /balance endpoints
2022-03-13 17:53:52 +01:00
Matthias
32c06f4a05
Improve test
2022-03-13 16:45:11 +01:00
Matthias
d5f0c6c78d
Exclude alternative candletypes from timeframe check
2022-03-13 16:16:48 +01:00
Matthias
cfa9458bcc
Merge branch 'develop' into feat/short
2022-03-13 15:38:12 +01:00
Sam Germain
843606c9cb
gateio stoploss adjust
2022-03-12 20:14:23 -06:00
Sam Germain
91549d3254
Revert "stoploss_adjust fixed breaking tests"
...
This reverts commit 6f4d607902
.
2022-03-12 20:07:56 -06:00
Sam Germain
7e7e596372
Revert "moved binance.stoploss_adjust to exchange class"
...
This reverts commit 6bb93bdc25
.
2022-03-12 20:07:50 -06:00
Sam Germain
bf5afbcdbd
Merge branch 'develop' into gateio-stoploss
2022-03-12 19:50:46 -06:00
Matthias
b044dd2c45
Update custom_sell to custom_exit
2022-03-12 11:37:56 +01:00
Matthias
fe62a71f4c
Simplify implementation of "check_override" by extracting it to function
2022-03-12 10:58:48 +01:00
Matthias
6946203a7c
Add tests and test-strategies for custom "implements" requirements
2022-03-12 10:05:16 +01:00
Matthias
9460fd8d75
Add Appropriate test for loading error
2022-03-12 09:49:20 +01:00
Matthias
28046c6a22
Change populate_buy_trend to populate_entry_trend
2022-03-12 09:38:28 +01:00
Matthias
efc313b28b
Merge pull request #6512 from freqtrade/short_order_types
...
Short order types renamal
2022-03-12 09:32:16 +01:00
Matthias
b9b5d749bb
Fix typo causing an implicit bug
2022-03-12 08:58:59 +01:00
Matthias
0aa170ac95
Check can_short in live-mode as well.
2022-03-12 06:58:22 +01:00
Matthias
20fc9459f2
Add test for can_short strategy attribute
2022-03-11 19:37:45 +01:00
Matthias
7825d855cd
Fix flake8 error in tests
2022-03-11 19:28:15 +01:00
Matthias
11c76c3c89
Check if timeframe is available before calling exchange
...
closes #6517
2022-03-11 18:01:30 +01:00
Matthias
9ff52c0a93
Add test for emergencysell behaviour
2022-03-11 08:26:28 +01:00
Matthias
cb9da78a27
Merge branch 'develop' into feat/short
2022-03-10 06:54:20 +01:00
Matthias
98755c1874
Fix wrong estimated output from /balance endpoints
2022-03-10 06:47:17 +01:00
Sam Germain
6f4d607902
stoploss_adjust fixed breaking tests
2022-03-09 19:31:51 -06:00
Sam Germain
6bb93bdc25
moved binance.stoploss_adjust to exchange class
2022-03-09 15:47:16 -06:00
Matthias
a837571e2b
Improve dry-run-wallets in futures case test
2022-03-09 19:01:38 +01:00
Sam Germain
ae4742afcb
test_fetch_stoploss_order_gateio and test_cancel_stoploss_order_gateio
2022-03-09 00:59:28 -06:00
Matthias
93a91bdeee
Update order_Types documentation
2022-03-09 07:44:21 +01:00
Matthias
51828a0b0b
Update buy-signals to entry wording
2022-03-09 07:03:37 +01:00
Matthias
66afc233db
Use Deprecated method for order_Time_in_force
2022-03-09 06:54:13 +01:00
Matthias
943d080f5e
Add test for order-types migration
2022-03-09 06:37:08 +01:00
Matthias
420cc5c595
deprecated-setting moval should delete old setting
2022-03-09 06:37:08 +01:00
Matthias
5d4386f037
Implement order_types validation
2022-03-09 06:37:08 +01:00
Matthias
f2ed6165e9
convert price to precision price before verifying stoploss adjustment
...
closes #6504
2022-03-08 19:35:30 +01:00
Matthias
1ce55e88b4
Try to revert sequence in test
2022-03-08 07:10:59 +01:00
Matthias
3ff261e22c
Update order time in force to use entry/exit wording
2022-03-07 19:55:15 +01:00
Matthias
d2a163e2cf
rename column to liquidation_price
2022-03-07 17:16:33 +01:00
Matthias
6360ef029c
Simplify and align liquidation price handling
2022-03-06 16:27:55 +01:00
Matthias
612ede5e48
Merge pull request #6468 from samgermain/todos
...
todos
2022-03-06 16:03:05 +01:00
Matthias
46e17c9762
Fix stoploss_pct set wrongly for short trades
2022-03-06 15:07:04 +01:00
Matthias
08d8dfaee6
Remove wrong import
2022-03-06 14:47:26 +01:00
Matthias
81d4a61353
Update more trades
2022-03-06 14:33:04 +01:00
Matthias
bc37f67e76
Add one more test
2022-03-06 14:18:25 +01:00
Matthias
76e5d5b232
Fix stake-amount handling for dry-run
2022-03-05 15:53:40 +01:00
Matthias
7a545f49af
Improve test stability by making keys optional in the ccxt test-matrix
2022-03-05 14:15:58 +01:00
Matthias
2b1a8f2fbb
Update binance stoploss to use correct stop order for futures
2022-03-05 13:57:54 +01:00
Matthias
685820cc12
Fix failures due to non-happening rounding
2022-03-04 19:48:34 +01:00
Matthias
8943d42509
Update telegram notifications to properly detect shorts
2022-03-04 19:42:33 +01:00
Matthias
62dcebee46
Update stoploss method to new functionality
2022-03-04 07:07:34 +01:00
Matthias
011cd58377
Adjust new stoploss tests to futures world
2022-03-04 06:58:34 +01:00
Matthias
7435b5ec96
Fix small merge errors
2022-03-04 06:58:21 +01:00
Sam Germain
488da9b875
Merge branch 'develop' into feat/short
2022-03-03 13:51:52 -06:00
Matthias
1d3ce5bef4
Remove duplicate call to init_db
2022-03-03 07:23:10 +01:00
Matthias
5ab72ac082
chore: realign enums imports
2022-03-03 07:07:33 +01:00
Matthias
9bcc79e118
Use parsed TradingMode from config
2022-03-03 07:06:13 +01:00
Matthias
5332c441b9
Fix fail test - add more TODO's
2022-03-03 07:00:10 +01:00
Matthias
e9456cdf15
Update trade response to use a single Order object
2022-03-02 19:58:08 +01:00
Matthias
17c9c3caf3
Enable orders via API
2022-03-02 19:58:08 +01:00
Sam Germain
c9988e0aa2
test_backtest__enter_trade_futures comment calculations include liquidation buffer
2022-03-02 12:46:31 -06:00
Sam Germain
c0e11beced
linting
2022-03-02 01:30:52 -06:00
Sam Germain
c0fb6f7e85
test_backtest__enter_trade_futures - fixed formula in comments
2022-03-02 01:26:47 -06:00
Matthias
1c4a7c25d7
Fix failing test
2022-03-02 07:14:36 +01:00
Matthias
478d440e80
Test backtesting with USDT pairs
2022-03-02 07:00:07 +01:00
Matthias
c2b90afa61
Merge branch 'develop' into pr/stash86/6458
2022-03-01 19:31:36 +01:00
Matthias
a2c9879375
Reset sell-reason if order is cancelled
2022-03-01 19:30:16 +01:00
Matthias
1b07ad92cf
Merge branch 'feat/short' into pr/samgermain/6467
2022-02-28 20:07:19 +01:00
Matthias
c39e7368ee
Split backtesting test to properly initialize it
2022-02-28 19:58:44 +01:00
Matthias
79538368db
Simplify liquidation price calculation
2022-02-28 19:47:21 +01:00
Matthias
ab46476e63
Rename get_liquidation method
2022-02-28 19:42:26 +01:00
Matthias
8e2d3445a7
Move leverage_prep calculations to exchange class
2022-02-28 19:29:42 +01:00
Matthias
68bc2a6107
Add huobi to ccxt compat tests
2022-02-28 07:00:52 +01:00
Sam Germain
1121965c6e
liq backtesting tests
2022-02-27 14:28:28 -06:00
Matthias
0ebf40f390
Don't call amount_to_precision twice on entry
2022-02-27 15:57:44 +01:00
Matthias
5c2cca50e5
Minor updates, document no leverage changes
2022-02-27 15:44:23 +01:00
Matthias
f0f5a50975
Update tests to test DCA for shorts
2022-02-27 15:44:23 +01:00
Matthias
eed516a5c6
Update DCA logic to some extend
2022-02-27 15:44:23 +01:00
Matthias
bcfa73d492
Add "nr_of_successfull_entries"
2022-02-27 15:44:23 +01:00
Matthias
7b9880035b
Remove wrong TODO-lev comment
2022-02-27 15:11:09 +01:00
Sam Germain
7508f79b6c
test_freqtradebot, is_short tests
2022-02-26 13:55:52 -06:00
Sam Germain
b363940baf
Add TODO-lev comment in test_handle_stoploss_on_exchange
2022-02-26 13:55:37 -06:00
Sam Germain
499e21517b
test_persistence tests for stoploss with leverage adjustements
2022-02-26 13:55:37 -06:00
Matthias
12a1e27708
Merge pull request #6456 from samgermain/lev-tier-update
...
Lev tier update
2022-02-26 19:55:30 +01:00
Matthias
e9f3f3d859
Fix random test failure (2nd try)
2022-02-26 17:08:35 +01:00
Sam Germain
7dab70f1a5
test_ccxt_compat - ftx["futures"] = false
2022-02-26 09:45:15 -06:00
Sam Germain
64172bc98d
removed TODOs in test_CCXT_compat
2022-02-26 09:27:38 -06:00
Sam Germain
fbcd260bf6
flake8 import issues
2022-02-26 09:05:51 -06:00
Sam Germain
af77358d6a
updated test_load_leverage_tiers_okx
2022-02-26 09:05:51 -06:00
Sam Germain
f5ea7827e0
removed gateio.get_max_leverage and gateio.get_maint_ratio_and_amt
2022-02-26 09:05:51 -06:00
Sam Germain
b61cfada6d
moved okex.load_leverage_tiers to new method
2022-02-26 09:05:51 -06:00
Matthias
79ddc9abaa
Merge pull request #6423 from samgermain/wallet-amt
...
Futures wallet amount
2022-02-26 15:55:28 +01:00
Matthias
e25929f50a
Update test to not fail randomly
2022-02-26 15:53:01 +01:00
Matthias
75868a851b
Attempt Fix random test failure
2022-02-26 15:20:56 +01:00
Matthias
14d49e85af
Update Huobi stoploss to shared method
2022-02-26 14:57:13 +01:00
Matthias
292c350885
Add stoploss support for huobi
2022-02-26 10:33:36 +01:00
Matthias
9504b3eb05
Improve huobi config generation
2022-02-26 10:33:11 +01:00
Matthias
0749199097
Add stoploss tests for kucoin
2022-02-26 08:25:42 +01:00
Matthias
018c620057
Fix 0 Division error on exchanges without average
...
closes #6461
2022-02-26 08:19:45 +01:00
Matthias
5826698c04
Don't emergencysell partial sold exit
...
closes #6457
2022-02-25 15:07:35 +01:00
Matthias
3b1b66bee8
Prevent backtest starting when not in webserver mode
...
#6455
2022-02-25 07:40:49 +01:00
Matthias
1c26ff4c4c
Add dry run test
2022-02-24 20:05:56 +01:00
Matthias
9d55621f42
Test fetch_position exchange method
2022-02-24 20:05:56 +01:00
Matthias
9901decf0d
Rename get_positions to fetch_positions to align with ccxt naming
2022-02-24 20:05:56 +01:00
Matthias
62c42a73e2
Add initial rpc test
2022-02-24 20:05:56 +01:00
Matthias
d07a24a54f
Update tests for new wallet RPC structure
2022-02-24 20:05:56 +01:00
Matthias
fd936e26ae
Merge branch 'develop' into feat/short
2022-02-24 19:56:42 +01:00
Matthias
42df65d4ec
Make sure backtesting is cleaned up in tests
2022-02-24 14:22:49 +00:00
Matthias
53452c8d64
Merge pull request #6437 from freqtrade/update_trade
...
Migrate trade updating to use order model
2022-02-23 19:56:02 +01:00
Matthias
731eb99713
Update mock-trade creation to rollback first
2022-02-23 19:18:04 +01:00
Matthias
14b69405a2
Init persistence should be the innermost fixture
2022-02-23 10:43:04 +01:00
Matthias
ec34189f1b
Attempt to fix random ci error
2022-02-23 08:47:20 +01:00
Matthias
8952829adc
Merge branch 'develop' into feat/short
2022-02-23 06:28:15 +01:00
Matthias
5a4f30d1bd
Don't specially handle empty results.
2022-02-22 20:07:41 +01:00
Matthias
1f9ed0beff
Add test for wal mode
2022-02-22 19:39:55 +01:00
Matthias
70f4305dfa
don't allow short trades in spot mode
2022-02-21 19:19:12 +01:00
Matthias
dc7bcf5dda
Update failing test
2022-02-20 14:29:26 +01:00
Matthias
db540dc990
Orders should also store fee if in receiving currency
2022-02-20 14:24:27 +01:00
Matthias
c3c815e794
Merge pull request #6425 from samgermain/stake-amount
...
leverage in trade.stake_amount calculation
2022-02-19 20:11:23 +01:00
Matthias
e9f451406c
Use correct order id
2022-02-19 16:43:38 +01:00
Matthias
874c161f78
Update more tests to use order_obj to update trade
2022-02-19 16:43:38 +01:00
Matthias
508e677d70
Fix some tests to call update_trade with order object
2022-02-19 16:43:38 +01:00
Matthias
d610b6305d
Improve /balance output by removing trailing zeros
2022-02-19 16:40:30 +01:00
Matthias
a7a25bb285
Update "round coin value" to trim trailing zeros
2022-02-19 16:40:26 +01:00
Matthias
a32aed2225
Update FTX stoploss code to avoid exception for stoploss-market orders
...
closes #6430 , closes #6392
2022-02-19 10:07:32 +01:00
Matthias
0bbbe2e96c
Add test for #6429
2022-02-19 06:39:43 +01:00
Kavinkumar
60d1e7fc65
fix stake amt
2022-02-18 19:47:45 +05:30
Kavinkumar
95d4a11bb1
add precision
2022-02-18 19:32:37 +05:30
Kavinkumar
eb88c0f71b
fixed stake amount
2022-02-18 19:25:56 +05:30
Matthias
989edca622
Add test-case for cancel stake update with leverage
2022-02-18 06:41:15 +01:00
Matthias
8bdc77eb4d
Add TODO-lev for tests which define is_short but don't use it
2022-02-18 06:38:51 +01:00
Matthias
de8d789962
Fix test missing assert statement
2022-02-17 19:37:24 +01:00
Sam Germain
f452fce4cc
Merge branch 'ccxt-compat' into leverage-tiers
2022-02-16 10:07:49 -06:00
Sam Germain
a37287d9ba
test__get_params
2022-02-16 10:06:27 -06:00
Sam Germain
2015e9345d
test_ccxt_compat maintenanceMarginRatio -> maintenanceMarginRate
2022-02-16 09:25:27 -06:00
Sam Germain
df86300729
test_ccxt_dry_run_liquidation_price
2022-02-16 09:22:22 -06:00
Sam Germain
124532a4b7
maintenanceMarginRatio -> maintenanceMarginRate
2022-02-16 09:04:43 -06:00
Sam Germain
dc73fccd3c
removed test_ccxt_get_maintenance_ratio_and_amt
2022-02-16 09:03:50 -06:00
Sam Germain
a1e9e940dd
test_ccxt_load_leverage_tiers
2022-02-16 08:51:39 -06:00
Sam Germain
ef5dae2770
ccxt_compat_tests for leverage tiers
2022-02-16 08:08:10 -06:00
Sam Germain
88a8ff2f4e
Merge branch 'feat/short' into leverage-tiers
2022-02-16 08:05:51 -06:00
Matthias
e7bfb4fd5c
Add test case for "sell below close" case
2022-02-16 13:42:39 +01:00
Matthias
de26844578
Merge pull request #6397 from samgermain/todos
...
edited todo-lev comments
2022-02-16 13:36:17 +01:00
Sam Germain
6f410d3096
fixed test_load_leverage_tiers
2022-02-16 05:44:11 -06:00
Sam Germain
c70050e750
fixed test_load_leverage_tiers
2022-02-16 05:26:52 -06:00
Sam Germain
183f85efe3
test_execute_entry fixed
2022-02-16 05:08:11 -06:00
Sam Germain
1f3d3d87f6
fixed tests
2022-02-16 04:52:26 -06:00
Sam Germain
3fe0e13bb1
expanded test_load_leverage_tiers
2022-02-16 04:37:11 -06:00
Sam Germain
3bfd9186f7
gateio.get_max_leverage small fix
2022-02-16 04:05:27 -06:00
Sam Germain
dbd2df6406
Merge branch 'leverage-tiers' of https://github.com/samgermain/freqtrade into leverage-tiers
2022-02-16 03:50:24 -06:00
Sam Germain
c9da6f480f
gateio get_max_leverage and get_maintenance_ratio_and_amt temporary solution
2022-02-16 03:36:08 -06:00
Matthias
c37f03a638
Update static-markets to include futures pair
2022-02-15 08:04:16 +01:00
Matthias
1bae18c60a
Update decorator locations
2022-02-15 07:11:07 +01:00
Matthias
5ee5e0256b
Clarify todo
2022-02-15 06:39:55 +01:00
Sam Germain
ae249a0f97
Merge branch 'leverage-tiers' of https://github.com/samgermain/freqtrade into leverage-tiers
2022-02-14 17:36:47 -06:00
Sam Germain
3753df26fc
fixed tests
2022-02-14 17:34:59 -06:00
Sam Germain
f4a57b71e7
Filled in test_load_leverage_tiers_okx
2022-02-14 16:53:29 -06:00
Matthias
30f6dbfc40
Attempt fix for #6261
2022-02-14 20:02:38 +01:00
Matthias
acd7f26a9d
update tc36 to properly cover #6261
2022-02-14 20:00:31 +01:00
Matthias
99e3e26542
Adjust ccxt test naming to align with the other tests
2022-02-14 19:14:44 +01:00
Sam Germain
5cd2501397
Merge branch 'leverage-tiers' of https://github.com/samgermain/freqtrade into leverage-tiers
2022-02-14 09:40:53 -06:00
Sam Germain
cfd438b966
fixed test_get_markets
2022-02-14 09:40:01 -06:00
Sam Germain
c1d08dd03a
linting
2022-02-14 09:34:09 -06:00
Sam Germain
16e38592a9
test_get_markets created debugging param test_comment
2022-02-14 09:33:56 -06:00
Matthias
09cc43b533
Test short trade exiting
2022-02-13 16:33:06 +01:00
Matthias
5b65448e56
Fix some todo-lev's in tests
2022-02-13 16:17:41 +01:00
Matthias
ad801e05f7
Filter loadable leverage tiers to stake-currency pairs
2022-02-13 13:05:57 +01:00
Matthias
96df311244
Rename test_okex to test_okx
2022-02-13 13:01:23 +01:00
Matthias
bc855b2a32
Update some missing mocks
2022-02-13 13:00:38 +01:00
Matthias
b98297786c
Update failing mock
2022-02-13 12:56:32 +01:00
Sam Germain
8fe3f0c933
fix breaking tests
2022-02-12 23:08:42 -06:00
Sam Germain
531b4d238c
removed test_get_maintenance_margin_and_amt_gatio as its no longer relevant
2022-02-12 23:02:16 -06:00
Sam Germain
765c95f875
test_okex.test_get_maintenance_ratio_and_amt_okex change pair names
2022-02-12 23:02:16 -06:00
Sam Germain
e3bd40c3c7
added swap and linear to conftest markets
2022-02-12 23:02:16 -06:00
Sam Germain
7a0f7da128
okex loads all leverage tiers at beginning, removed get tiers for pair
2022-02-12 23:02:16 -06:00
Sam Germain
e7430da5d7
test_ccxt_compat commented out unfinished tests
2022-02-12 23:02:16 -06:00
Sam Germain
03b3756e4b
strengthened and fixed leverage_tier tests
2022-02-12 23:02:16 -06:00
Sam Germain
a6043e6a85
get_max_leverage test clean up
2022-02-12 23:02:16 -06:00
Sam Germain
4a1ed01708
get_maintenance_ratio_and_amt tests
2022-02-12 23:02:16 -06:00
Sam Germain
9e599455e7
test_execute_entry mocks get_max_leverage
2022-02-12 23:02:16 -06:00
Sam Germain
3b43d42eaa
Updated exchange tests
2022-02-12 23:02:15 -06:00
Sam Germain
e987e0e2a9
exchange minor fixes
2022-02-12 23:02:15 -06:00
Sam Germain
eb72e5cc42
Added some exchange leverage tier tests
2022-02-12 23:02:15 -06:00
Sam Germain
98f32e8964
fixed failing test_get_max_leverage
2022-02-12 23:02:15 -06:00
Sam Germain
3ebda1d29d
Added test templated
2022-02-12 23:02:15 -06:00
Sam Germain
a0264f0651
test_get_max_pair_stake_amount with leverage
2022-02-12 23:02:15 -06:00
Sam Germain
fe56c8c91e
mock get_max_pair_stake_amount in test_execute_entry
2022-02-12 23:02:15 -06:00
Sam Germain
68a778a983
moved leverage_tiers to a fixture
2022-02-12 23:02:14 -06:00
Sam Germain
42e36f44f8
replaced "leverage" with "tiers"
2022-02-12 23:02:14 -06:00
Sam Germain
6b9915bc73
moved fill_leverage_brackets and get_max_leverage to base exchange class, wrote parse_leverage_tier and load_leverage_brackets
2022-02-12 23:02:14 -06:00
Sam Germain
a99cf2eeed
redid get_max_leverage
2022-02-12 23:02:07 -06:00
Sam Germain
720a86778e
okex.get_max_pair_stake_amount
2022-02-12 23:01:39 -06:00
Sam Germain
ff915b241c
test_okex test_get_maintenance_ratio_and_amt_okex
2022-02-12 23:01:39 -06:00
Sam Germain
a5aba4813d
moved get_maintenance_ratio_and_amt to base.exchange. Wrote get_leverage_tiers. Added mmr_key to exchange._ft_has
2022-02-12 23:01:30 -06:00
Sam Germain
fc2d3649a1
edited todos
2022-02-12 16:23:14 -06:00
Matthias
c769e9757d
Improve "order refind" to also work for stoploss orders
2022-02-12 20:13:12 +01:00
Matthias
119d4d5204
select_order should use ft_order_side, not the exchange specific one
2022-02-12 17:06:03 +01:00
Matthias
08803524bd
align variable naming to use current_time
2022-02-12 15:21:46 +01:00
Sam Germain
19a282ddb4
fixed broken test_get_liquidation_price
2022-02-11 19:38:59 +01:00
Sam Germain
6ae85f9be1
fixed liq-buffer tests
2022-02-11 19:38:59 +01:00
Sam Germain
e5d68f12d2
Added liquidation_buffer to freqtradebot
2022-02-11 19:38:58 +01:00
Matthias
c9cfc246f1
Sort /forcebuy pairs alphabetically, add cancel button
...
closes #6389
2022-02-11 19:37:35 +01:00
Matthias
0c6d92a7a6
Merge branch 'develop' into feat/short
2022-02-11 17:02:04 +01:00
Matthias
7c66f2776d
Merge pull request #6384 from samgermain/compat-contract
...
test_ccxt__get_contract_size
2022-02-10 19:07:04 +01:00
Sam Germain
52fed6e779
test_ccxt__get_contract_size
2022-02-10 06:59:43 -06:00
Matthias
2e41d80a2c
Merge pull request #6340 from TheJoeSchr/frequi-datetime
...
freqUI: fix can't import backtest with missing datetime data
2022-02-09 07:21:30 +01:00
Matthias
9f47853661
Merge pull request #6235 from freqtrade/backtest_order_timeout
...
Backtest order timeout
2022-02-09 07:12:35 +01:00
Matthias
4e2f06fe9c
Simplify band-aid code
2022-02-09 06:48:26 +01:00
Matthias
6191288ff9
Add test for NaT problematic
2022-02-09 06:36:17 +01:00
Matthias
1d10d2c87c
Okex -> okx
2022-02-08 19:45:39 +01:00
Matthias
dcf8ad36f9
Backtesting should not allow unrealistic (automatic-filling) orders.
2022-02-08 19:12:01 +01:00
Matthias
535bbd681f
Merge pull request #6362 from ediziks/add-profit-drawdown-hypeloss
...
Add ProfitDrawdownHyperoptLoss method
2022-02-07 19:37:35 +01:00
Matthias
85767d0d70
Add timedout_*_orders to tests
2022-02-07 19:33:22 +01:00
Sam Germain
33b04b1992
deleted outdated todos
2022-02-07 02:47:18 -06:00
Stefano Ariestasia
92d1f2b945
fix tests
2022-02-07 07:31:35 +00:00
Matthias
fe33b86308
Merge pull request #6360 from stash86/pos_adjust
...
Hide some lines for /status when a trade is closed
2022-02-06 17:08:37 +01:00
Matthias
ee2a7a968b
Add tests for /status on closed trades
2022-02-06 16:26:00 +01:00
Matthias
5eb5029856
Performancefilter - improve sorting
...
Ordering of Pairs without history should remain identical, so pairs with
positive performance move to the front, and negative pairs move to the back.
closes #4893
2022-02-06 16:19:11 +01:00
Matthias
ef086d438c
Update PerformanceFilter test to run with USDT pairs
2022-02-06 16:03:14 +01:00
Matthias
c19f3950da
Add losing trade to usdt_mock_trades
2022-02-06 16:02:18 +01:00
zx
0b01fcf047
Add ProfitDrawdownHyperoptLoss method
2022-02-06 15:40:54 +01:00
Matthias
303b12efd8
Merge pull request #6273 from freqtrade/pg_migrations
...
Update database migrations for PG and mariadb
2022-02-06 14:39:02 +01:00
Matthias
8f2425e49f
Add rudimentary tests for pg-specific stuff
2022-02-06 14:06:46 +01:00
Matthias
412fe65344
Merge pull request #6316 from samgermain/max-amount
...
exchange.get_max_pair_stake_amount
2022-02-06 07:44:29 +01:00
Matthias
22173851d6
Detail tests for custom exit pricing
2022-02-05 16:28:47 +01:00
Matthias
2a59ef7311
Add detail tests for timeout behaviour
2022-02-05 16:28:47 +01:00
Matthias
58fad72778
Update wallets when necessary
...
closes #6321
2022-02-05 16:28:47 +01:00
Matthias
e08006ea25
Adjust tests to use order Object
2022-02-05 16:28:47 +01:00
Matthias
f4149ee462
Force ROI to be within candle
2022-02-05 16:28:21 +01:00
Matthias
6ed237a72a
Merge pull request #6272 from stash86/fix-docs
...
Add more info on Telegram's status message
2022-02-05 16:22:45 +01:00
Sam Germain
ce676a9dd7
wrote ccxt_compat.test_get_max_leverage_spot test_get_max_leverage_futures
2022-02-04 17:55:49 -06:00
Sam Germain
8b57827676
exchange.get_max_pair_stake_amount hard set leverage to 0
2022-02-04 14:26:15 -06:00
Sam Germain
c0a593280e
test_exchange.test_cancel_order_dry_run pass leverage to create_order
2022-02-04 04:54:16 -06:00
Sam Germain
dc6cb445fd
Merge branch 'feat/short' into max-amount
2022-02-04 04:42:38 -06:00
Matthias
6afad6c99f
Small change to todo comment
2022-02-04 07:20:27 +01:00
Sam Germain
3ee2b7978c
wallets.validate_stake_amount added param max_stake_available
2022-02-03 20:33:16 -06:00
Sam Germain
30c476e3c1
freqtradebot.get_valid_enter_price_and_stake gets min of stake_amount and max_stake_amount before calling wallets.validate_stake_amount
2022-02-03 20:33:16 -06:00
Sam Germain
a50f4d2c57
Exchange.createOrder added * as second param
2022-02-03 20:33:16 -06:00
Sam Germain
16c2d54482
updated margin_modes
2022-02-03 20:33:16 -06:00
Sam Germain
7465037906
freqtradebot.execute_entry test for too high stake amount
2022-02-03 20:33:16 -06:00
Sam Germain
c5cfd971f5
get_max_pair_stake_amount_tests
2022-02-03 20:33:16 -06:00
Sam Germain
6b6b35ac1c
check for max stake limit in freqtradebot and backtesting
2022-02-03 20:33:04 -06:00
Sam Germain
55d91f018f
exchange._get_stake_amount_limit (merged min_pair_stake_amount and get_max_tradeable amount)
2022-02-03 20:33:04 -06:00
Sam Germain
ff5fffefb4
exchange.get_max_amount_tradable looks at cost also
2022-02-03 20:33:03 -06:00
Sam Germain
64ad810445
Revert "moved get_max_leverage to get_min_pair_stake_amount"
...
This reverts commit 90e48d5b98bcfb1452aa818a3274745eac395712.
2022-02-03 20:33:03 -06:00
Sam Germain
73319a74d3
moved get_max_leverage to get_min_pair_stake_amount
2022-02-03 20:33:03 -06:00
Sam Germain
f3b42b0ef3
wrote exchange.get_max_amount_tradable
2022-02-03 20:33:03 -06:00
Sam Germain
99b8a8ca79
Revert "plot.generate_candlestick_graph Added short equivelent, separating plotting scatter creation to a function"
...
This reverts commit 0abba7f9b7299ba3c45df6a2ba6e35ad6a19c5a0.
2022-02-03 17:48:34 -06:00
Sam Germain
1f74cfe841
plot.generate_candlestick_graph Added short equivelent, separating plotting scatter creation to a function
2022-02-03 17:48:34 -06:00
Sam Germain
d5376c2c89
wrote freqtradebot.test_leverage_prep
2022-02-03 17:48:33 -06:00
Sam Germain
c47c54c16c
removed strategy_test_v3.populate_sell_trend # TODO-lev: Add short logic, because it looked like the short logic was already there
2022-02-03 17:48:33 -06:00
Sam Germain
f58b92bb86
exchange.create_order removed default for leverage
2022-02-03 17:48:08 -06:00
Matthias
1e6362debf
Add test for new /status telegram message
2022-02-03 19:41:45 +01:00
Matthias
29879bb415
Update wording to entry/exit
2022-02-03 19:11:35 +01:00
Matthias
a733a74dd9
Merge pull request #6294 from xataxxx/health
...
/health api and telegram commands to return last processing time
2022-02-02 19:53:45 +01:00
Matthias
a4e1aaa9bd
Merge pull request #6307 from freqtrade/bt_shift
...
Remove shift in analyzed dataframe columns
2022-02-02 19:52:10 +01:00
Sam Germain
09f0e7149f
test__fetch_and_calculate_funding_fees_datetime_called # TODO-lev: test for longs
2022-02-02 12:42:13 -06:00
Sam Germain
179947fa72
New config ( #6333 )
...
* updated new-config to add trading_mode and margin_mode
* added trading_mode and margin_mode to config examples
* added okex config example
* new file: config_examples/config_binance_futures.example.json
* removed trading_mode and margin_mode from base_config and binance and okex example
* deleted okex and futures config files
* updated full config file
* updated new-config command to add trading_mode and margin_mode to config
* new file: config_examples/config_okex_futures.example.json
* removed config_okex_futures.example.json
* added trading_mode to test_start_new_config
* new-config asks exchange before asking futures
* Simplify trading_mode selection
* margin_mode is empty string for spot new configs
* build_config_commands sorted exchanges
* isort
Co-authored-by: Matthias <xmatthias@outlook.com>
2022-02-02 14:46:44 +01:00
Matthias
0058abcc2d
Fix crash when no min-stake-amount could be determined
2022-02-02 12:20:05 +01:00
Sam Germain
30519aa3be
Changed name Collateral -> MarginMode, collateral -> margin_mode, and _supported_trading_mode_margin_pairs -> _supported_trading_margin_pairs
2022-02-01 13:05:40 -06:00
Matthias
64d0c75bbb
Fix deprecation warnings
2022-02-01 19:11:51 +01:00
Matthias
45e533fc3e
Add leverage/short properties to api responses
2022-02-01 07:08:43 +01:00
Matthias
7dd50f78cf
Small finetuning improving a comment
2022-02-01 06:37:13 +01:00
Sam Germain
fc15e14707
Merge branch 'feat/short' into isolated-liq
2022-01-31 14:22:01 -06:00
Sam Germain
9de63412c1
exchange.get_liquidation_price arguments are not optional
2022-01-31 14:00:52 -06:00
Sam Germain
6c4325b7a2
confest markets removed futures values from ETH/USDT
2022-01-31 13:44:57 -06:00
Matthias
d653d6bfc0
Merge pull request #6332 from samgermain/binance-max-lev
...
Binance max lev
2022-01-31 20:26:57 +01:00
Sam Germain
8b9abd0051
test_get_maintenance_ratio_and_amt_gateio removed commented test that returns None
2022-01-31 13:18:31 -06:00
Matthias
de17993705
Fix random test failure when local config is found
2022-01-31 20:09:25 +01:00
Sam Germain
08e4a4a6dd
binance.get_max_leverage_fix
2022-01-31 12:21:12 -06:00
Sam Germain
43db4c34d1
added okex back to unsupported exchanges
2022-01-31 12:18:30 -06:00
Sam Germain
b8f4cebce7
exchange.liquidation_price methods combined, dry_run check on exchange for liquidation price
2022-01-31 12:18:25 -06:00
Sam Germain
143c37d36f
cleaned up liquidation price methods
2022-01-31 12:17:07 -06:00
Sam Germain
ede9012fcc
removed TODO-levs about okex liquidation price
2022-01-31 12:17:07 -06:00
Sam Germain
e91aaa7d64
removed isolated_liq=
2022-01-31 12:16:43 -06:00
Sam Germain
5cf54bee4d
removed excess decimals in test_binance
2022-01-31 12:16:43 -06:00
Sam Germain
0c13e387fe
moved liquidation_price method to exchange classes
2022-01-31 12:16:43 -06:00
Sam Germain
e4b37c6462
freqtradebot.leverage_prep minor fixes
2022-01-31 12:16:43 -06:00
Sam Germain
1f1ac8ce9d
test_get_liquidation_price/test_get_maintenance_ratio_and_amt_binance/fill_leverage_brackets/test_validate_trading_mode_and_collateral TODO comments
2022-01-31 12:16:43 -06:00
Sam Germain
c2f9201512
Added get_liquidation_price check
2022-01-31 12:16:43 -06:00
Sam Germain
bb2b2211d0
exchange.fill_leverage_brackets/get_maintenance_ratio_and_amt docstring and type specification
2022-01-31 12:16:43 -06:00
Sam Germain
0c8205ab3b
replace single quote docstrings with double quote docstrings
2022-01-31 12:16:43 -06:00
Sam Germain
387a9fbf36
test_execute_entry liquidation_price test test_get_maintenance_ratio_and_amt_gateio
2022-01-31 12:16:38 -06:00
Sam Germain
2d545a2def
fixed breaking tests for liquidation price
2022-01-31 12:15:54 -06:00
Sam Germain
1eee5373b9
gateio.get_maintenance_ratio_and_amt
2022-01-31 12:15:54 -06:00
Sam Germain
69a6223ca0
implemented binance.get_maintenance_ratio_and_amt
2022-01-31 12:15:54 -06:00
Sam Germain
ba5fc21d84
added isolated futures to supported modes for binance,gateio
2022-01-31 12:15:54 -06:00
Sam Germain
ba02605d77
Isolated liq branch passes all tests and has the general structure that it is supposed to, but is patchy, and doesnt get the correct maintenance amt and maintenance margin rate yet
2022-01-31 12:15:54 -06:00
Arunavo Ray
447312d4c8
Fixed parameter check which failed when 0.0 was passed
2022-01-31 12:15:54 -06:00
Arunavo Ray
3709130eb7
Added Tests for Binance Liquidation price, shortened liquidation param names
2022-01-31 12:15:54 -06:00
Sam Germain
fe5e00361e
separated test_leverage into test_interest and test_liquidation_price, and paramaterized tests
2022-01-31 12:15:54 -06:00
Sam Germain
a087d03db9
Added liquidation_price function
2022-01-31 12:15:54 -06:00
Matthias
be866f04fa
Merge pull request #6330 from samgermain/market-checks
...
Removed unnecessary CCXT market checks
2022-01-31 19:01:59 +01:00
Sam Germain
689174ea0d
removed TODO-lev comments
2022-01-31 04:12:37 -06:00
Sam Germain
779b82b5b4
fixed test_get_min_pair_stake_amount by adding amount.min/max and cost.min/max to all markets
2022-01-31 03:02:17 -06:00
Sam Germain
5af3e1600d
updated conftest to have limit keys and contractSize on every market
2022-01-31 03:01:44 -06:00
Matthias
cf7edace2b
Merge pull request #6312 from freqtrade/short_informative_decorator
...
Short informative decorator
2022-01-30 15:33:52 +01:00
Matthias
000b8ff281
Merge pull request #6306 from freqtrade/short_forceentry
...
add `/forcelong` and `/forceshort` commands
2022-01-30 07:36:14 +01:00
Matthias
8a6823deb1
Convert InformativeData to dataclass
2022-01-29 19:59:54 +01:00
Stefano Ariestasia
326ba46bf8
Merge branch 'freqtrade:develop' into fix-docs
2022-01-29 23:20:41 +09:00
Matthias
d1d520769e
Improve status table for position adjust
...
don't show "/max" if no maximum is set
closes #6317
2022-01-29 14:29:09 +01:00
Matthias
463714832d
Merge branch 'develop' into feat/short
2022-01-29 14:19:30 +01:00
Matthias
c620e38c7d
Informative decorator updates for futures
2022-01-28 19:17:46 +01:00
Matthias
fdea4fcb1b
Remove some todo's
2022-01-28 15:52:12 +01:00
Matthias
571ddceaf6
Merge pull request #6310 from Verbalinsurection/perso
...
Fix ETH duplicate in CoinGecko
2022-01-28 12:35:44 +01:00
Verbalinsurection
2ba2144df1
Add tests for ETH fiat_convert
2022-01-28 11:17:16 +01:00
Matthias
15d5389564
Update /health endpoint to be in local timezone
2022-01-28 10:33:35 +01:00
Matthias
138e867a68
Filter tickers on stake-currency for kraken
2022-01-28 07:20:47 +01:00
Matthias
9df7014de3
Skip kraken tests temporarily
2022-01-28 06:59:37 +01:00
Stefano Ariestasia
bd1b991448
Merge branch 'freqtrade:develop' into fix-docs
2022-01-28 06:57:13 +09:00
Matthias
4b9d55dbe2
Add test for backtest dataprovider
...
(should cache the correct candle)
2022-01-27 18:59:23 +01:00
Matthias
108018b30b
Merge pull request #6231 from freqtrade/funding_rate_backtest
...
Funding rate backtest
2022-01-27 17:01:28 +01:00
Matthias
002226f5fd
Update setting to max_entry_position_adjustment
2022-01-27 16:57:50 +01:00
Matthias
c4f71cc103
More forceenter updates
2022-01-27 07:38:11 +01:00
Matthias
6e72effbf0
Update forcebuy telegram tests
2022-01-27 06:31:45 +01:00
Matthias
0a52d79208
Update forcesell to work as forceexit
2022-01-26 20:17:00 +01:00
Matthias
be7ce208dc
Update tests to test forceenter endpoint
2022-01-26 19:24:01 +01:00
Matthias
48d8cd82af
_rpc_forcebuy
2022-01-26 19:11:01 +01:00
Stefano Ariestasia
ed71f777a3
Merge branch 'fix-docs' of https://github.com/stash86/freqtrade into fix-docs
2022-01-26 07:07:00 +00:00
Stefano Ariestasia
1f26709aca
changes
2022-01-26 07:06:52 +00:00
Matthias
88ccfedd32
Improve wording of "no history found" error
2022-01-26 06:53:00 +01:00
Matthias
13978e9893
Merge pull request #6276 from clover-es/feat/short
...
Add support for shorts in strategy.stoploss_from_absolute()
2022-01-25 19:11:05 +01:00
Matthias
325fd8a780
Add test with absolute values
2022-01-25 06:44:20 +01:00
Matthias
f7be93aaa6
leverage limits can be None, so we need to check for that
2022-01-25 06:30:03 +01:00
Stefano Ariestasia
0fa7986369
Merge branch 'freqtrade:develop' into pos_adjust
2022-01-25 10:30:18 +09:00
Stefano Ariestasia
7c975df42a
Merge branch 'freqtrade:develop' into fix-docs
2022-01-25 10:30:03 +09:00
Reigo Reinmets
e72c3ec19f
Commit just to force tests to run again.
2022-01-24 15:27:03 +02:00
Reigo Reinmets
acf6e94591
Fix unittest.
2022-01-24 13:56:52 +02:00
Reigo Reinmets
1d59a6b7e3
Merge branch 'freqtrade:develop' into health
2022-01-24 13:52:53 +02:00
Matthias
381bda1e4a
Update test to add new argument
2022-01-24 07:02:02 +01:00
Reigo Reinmets
bf62fc9b25
Add /health endpoint that returns last_process timestamp, fix issue #6009
2022-01-23 21:58:46 +02:00
Matthias
57067ce88d
Add tests for max_adjustment_buy handling
2022-01-23 19:07:37 +01:00
Matthias
62df044618
Merge pull request #6279 from xataxxx/develop
...
Fix position adjustment not counting older orders because of missing average field value
2022-01-23 17:42:51 +01:00
Matthias
6492e1cd76
Investigate random test failure
2022-01-23 17:42:18 +01:00
Reigo Reinmets
51b94889b2
Just in case also check for closed to avoid counting in canceled orders.
2022-01-23 17:56:41 +02:00
Reigo Reinmets
8c79d55739
Fix issue #6268
2022-01-23 17:44:16 +02:00
Matthias
bf0b95b3d8
Improve backtest tests
2022-01-22 19:46:11 +01:00
Matthias
d3713cf245
Fix fee test
2022-01-22 19:46:11 +01:00
Matthias
a0c0c4dcbe
Update funding_fee formula to correctly calculate fees for long trades
2022-01-22 19:46:10 +01:00
Matthias
82c90c0049
Extract funding and mark mergin to separate method
2022-01-22 19:45:46 +01:00
Matthias
84c6d92d4c
calculate_funding_fees is actually a public exchange interface (used in backtesting).
2022-01-22 19:45:46 +01:00
Matthias
a340d73edc
Update funding_fee calculation test
2022-01-22 19:44:20 +01:00
Matthias
ef3a1ea8f2
Split funding fee calculation from Download
2022-01-22 19:44:20 +01:00
Guillermo Rodríguez
40cd478c6d
Calculate stoploss_from_absolute for shorts
2022-01-22 18:01:02 +01:00
Matthias
f090dcc597
Merge branch 'develop' into feat/short
2022-01-22 17:56:01 +01:00
Matthias
bd4014e1e6
Small cleanup
2022-01-22 15:01:27 +01:00
Matthias
a35b0b519a
Update forcebuy endpoint to support stake-amount
...
closes #6223
2022-01-22 13:26:02 +01:00
Matthias
314a544881
Add Failing test for get_strategy_run_id
...
Fails because max_open_trades is "inf"
emulates behaviour of `max_open_trades=-1` when loading the
configuration)
2022-01-22 08:09:08 +01:00
Stefano Ariestasia
f79decdb9c
Merge branch 'fix-docs' of https://github.com/stash86/freqtrade into fix-docs
2022-01-22 06:54:57 +00:00
Stefano Ariestasia
05046b9eef
Add more info on status message
2022-01-22 06:54:49 +00:00
Matthias
3d94d7df5c
Update migrations for mariadb
2022-01-21 19:31:11 +01:00
Matthias
bb1d8fb54f
Improve message when no hyperopt fie is found
...
closes #6266
2022-01-21 15:24:26 +01:00
Matthias
730d2e3574
Merge pull request #6259 from stash86/fix-docs
...
add "# Buys" column to status table
2022-01-21 07:49:21 +01:00
Matthias
d02acb21c2
Add simple test for #buy header
2022-01-21 07:04:25 +01:00
Italo
a9f14ac119
show buy_tag only if not None
2022-01-20 18:44:09 +00:00
Italo
8ce5536dd8
fix tests
...
added buy_tag to first ADA/USDT trade
2022-01-20 18:37:17 +00:00
Matthias
d549905856
Api-backtest to test new functionality
2022-01-20 07:11:48 +01:00
Rokas Kupstys
5fffc5033a
Rework backtesting --no-cahche to --cache=[none, day, week, month].
...
Fix an issue where config modification during runtime would prevent use of cached results.
2022-01-19 11:44:35 +02:00
Matthias
e04956be0e
Merge pull request #6185 from freqtrade/fix_funding_fee_calc
...
cleanup funding fee tests
2022-01-19 06:57:44 +01:00
Matthias
1fb48a1f53
Add TODO-lev for "stoploss_from_absolute".
2022-01-18 16:52:34 +01:00
Matthias
120639e84b
Merge pull request #6228 from clover-es/feat/short
...
Stoploss from open for shorts
2022-01-18 16:49:58 +01:00
Matthias
ff646441ce
Reduce decimals in test
2022-01-17 19:20:42 +01:00
Matthias
bb738b518c
FIx funding_fee calculation
2022-01-17 19:06:26 +01:00
Matthias
3cdb672ac3
Improve test coverage
2022-01-16 19:11:20 +01:00
Matthias
c02497e4b8
Merge pull request #6172 from rokups/rk/backtest-results-caching
...
Backtest result reuse
2022-01-16 19:09:37 +01:00
Matthias
d08885ed92
Fix empty "/log" endpoint in certain moments
2022-01-16 15:37:00 +01:00
Matthias
5bb48eaed0
Replace Nan with 0 or None in backtesting
...
part of #6224
2022-01-16 14:49:29 +01:00
Matthias
6c4b261469
Convert nan to None in get_signal.
2022-01-16 08:04:39 +01:00
Matthias
39184e1f95
Fix random test-fail around midnight
2022-01-16 00:19:21 +01:00
Matthias
270d7ebbf5
Simplify test strategy
2022-01-15 17:36:42 +01:00
Matthias
9becce9897
Update failing test
2022-01-15 17:30:40 +02:00
Rokas Kupstys
526ed7fa9a
Add test_backtest_start_multi_strat_caching test flexing backtest result caching.
2022-01-15 17:30:40 +02:00
Rokas Kupstys
16861db653
Implement previous backtest result reuse when config and strategy did not change.
2022-01-15 17:30:40 +02:00
Matthias
6684bff963
Dry-run orders should have filled set correctly
2022-01-15 15:25:16 +01:00
Matthias
66a479c26a
Small doc improvements
2022-01-15 15:11:13 +01:00
Guillermo Rodríguez
d28287880c
Add support for shorts in strategy.stoploss_from_open
...
Signed-off-by: Guillermo Rodríguez <guillebep@gmail.com>
2022-01-15 04:30:30 +01:00
Reigo Reinmets
320c9ccf90
Unify functions and make it easy to get a list of filled buy orders
2022-01-14 20:02:35 +02:00
Reigo Reinmets
ffe69535d8
These could be properties.
2022-01-13 20:31:03 +02:00
Reigo Reinmets
0424b44667
Merge branch 'freqtrade:develop' into dca
2022-01-08 17:42:17 +02:00
Reigo Reinmets
c929d428b2
Remove blank line.
2022-01-08 17:21:32 +02:00
Reigo Reinmets
0bca07a32a
Added min_stake, max_stake. Removed pair as its included in trade.
2022-01-08 17:20:02 +02:00
Matthias
cf077b15c2
Fix random test failure
2022-01-08 14:54:39 +01:00
Matthias
dd37e5cfb8
Fix compat-test failures due to wrong currency
2022-01-08 14:46:07 +01:00
Matthias
2fb9e7940a
Improve "missing data" message
2022-01-08 14:39:09 +01:00
Reigo Reinmets
8e424f7c73
Merge branch 'freqtrade:develop' into dca
2022-01-08 14:57:15 +02:00
Matthias
dad080f56f
Merge branch 'develop' into feat/short
2022-01-08 10:45:15 +01:00
Matthias
43f8087f32
Bitvavo does not support USDT stake
2022-01-08 10:44:07 +01:00
Sam Germain
c61acb9f19
removed rename todos
2022-01-08 03:09:47 -06:00
Matthias
827b8d3e4c
Don't use test_datadir as userdata dir
...
use tmpdir
2022-01-07 20:00:20 +01:00
Matthias
522496d9e2
Add Compatibility code for BT_DATA_COLUMNS
2022-01-07 17:17:35 +01:00
Matthias
46809f08fe
Merge branch 'develop' into feat/short
2022-01-07 10:13:16 +01:00
Matthias
7f20f6834b
Merge pull request #6181 from freqtrade/simplify_optimizereports
...
Simplify optimizereports
2022-01-07 09:43:57 +01:00
Matthias
cd144cdfc9
Add bitvavo to compatibility tests
...
#6166
2022-01-07 09:30:50 +01:00
Matthias
e540959c27
Remove btdata from generate_strategy_stats
2022-01-07 09:27:07 +01:00
Matthias
1203d08d1e
generate_pair_metrics does not need processed dict
2022-01-07 09:27:07 +01:00
Matthias
b77943af0d
Merge pull request #6173 from freqtrade/volume_quote_workaround
...
Selectively convert quote to base volume in volumepairlist
2022-01-07 09:07:16 +01:00
Matthias
b3a4ecaf77
Remove old backtest format support
2022-01-06 19:49:25 +01:00
Matthias
28011a3907
Update bt_results filename to new.json
2022-01-06 19:28:04 +01:00
Matthias
72f486289a
Update Volumepairlist test
2022-01-06 19:07:47 +01:00
Matthias
173524ea5b
Merge pull request #6170 from freqtrade/contract_workaround
...
contractSize is a string coming from ccxt
2022-01-06 16:25:19 +01:00
Matthias
431fcdd76f
contractSize is a string comming from ccxt
2022-01-06 13:53:27 +01:00
Matthias
7c3babc86c
Fix failing ftx test
2022-01-06 13:40:12 +01:00
Matthias
72b2d4ab5f
Update FTX to support new standardized futures format
2022-01-06 11:16:26 +01:00
Matthias
c1d981749e
Fix flake8 error
2022-01-06 10:09:41 +01:00
Matthias
4e2b9203d7
Remove no longer used BT_DATA_COLUMNS_MID
2022-01-05 20:40:59 +01:00
Matthias
8958f569aa
Fix random funding_rate test failure
2022-01-05 20:37:26 +01:00
Matthias
2ca90577a6
Update strategy-comparison test
2022-01-05 20:29:40 +01:00
Matthias
2ecaf9f8b4
Update backtest-result test-files to latest format
2022-01-05 20:26:24 +01:00
Sam Germain
501f473164
Merge branch 'develop' into feat/short
2022-01-04 22:47:33 -06:00
Matthias
8373a4e713
Small Adjustments to improve compatibility
2022-01-04 19:17:08 +01:00
Matthias
4d9b4ddc28
Update hyperopt-tools to use account drawdown
2022-01-04 17:43:39 +01:00
Matthias
09fae25c94
Fix some tests after drawdown calculation change
2022-01-04 17:07:31 +01:00
Matthias
937f5e3d0f
No longer use legacy mode for tests
2022-01-04 17:06:40 +01:00
Matthias
7ea5b0e359
Simplify hyperopt test setup
2022-01-04 17:06:40 +01:00
Sam Germain
b2a1124a26
Merge branch 'feat/short' of https://github.com/freqtrade/freqtrade into feat/short
2022-01-04 00:17:42 -06:00
Matthias
e57c2d64a5
Merge pull request #5888 from samgermain/contract-sizes
...
Convert contract size to underlying asset size
2022-01-03 21:55:19 +01:00
Matthias
293ffeae67
Fix random test failure in funding test
2022-01-03 20:18:43 +01:00
Sam Germain
707a6507b5
removed redundant todos
2022-01-02 21:46:06 -06:00
Matthias
fac6956eeb
Fix test failure after merge
2022-01-02 22:25:40 +01:00
Matthias
711a6a6dbc
Merge branch 'develop' into pr/xataxxx/6079
2022-01-02 22:21:41 +01:00
Matthias
2116b0729f
Integration-test for DCA order
2022-01-02 20:20:56 +01:00
Matthias
35fe7239ed
Also test mixed version (both long and short trades)
2022-01-02 13:17:49 +01:00
Matthias
7f88f9bf27
Revert unintended double-call of amount conversion
2022-01-02 13:11:29 +01:00
Sam Germain
67a5739501
fixed test_get_trades_for_order for contracts
2022-01-01 15:39:16 -06:00
Sam Germain
33ab3c1bea
Removed some todo-lev comments
2022-01-01 14:10:24 -06:00
Sam Germain
3d4a5eab81
fixed flake8 error
2022-01-01 13:52:06 -06:00
Sam Germain
48567a1301
fixe broken test_get_min_pair_stake_amount
2022-01-01 13:52:06 -06:00
Sam Germain
230dd15ee7
fixed test_amount_to_precision
2022-01-01 13:52:06 -06:00
Sam Germain
f92d47a16b
exchange._contracts_to_amount and exchange._amount_to_contracts safe checks
2022-01-01 13:52:06 -06:00
Sam Germain
6ab0e870c2
fixed breaking test test_amount_to_precision
2022-01-01 13:52:06 -06:00
Sam Germain
d105bb764a
test__get_contract_size creates its own markets instead of using the markets from conftest
2022-01-01 13:52:06 -06:00
Sam Germain
a85566d6c3
test_exchange.test_create_order removed # assert api_mock.create_order.call_args[0][3] == 100
2022-01-01 13:52:06 -06:00
Matthias
8da596f66d
Implement PR feedback
2022-01-01 13:52:01 -06:00
Sam Germain
78d1a267f0
contract-sizes tests
2022-01-01 13:50:50 -06:00
Sam Germain
d0a300a2e1
Added TODOs
2022-01-01 13:50:49 -06:00
Sam Germain
4f6203e45f
Added conversions from contract size to amount for objects returned from api
2022-01-01 13:50:43 -06:00
Sam Germain
ee63f12236
Revert "Removed leverage param from get_min_pair_stake_amount"
...
This reverts commit 096588550ca1de5e5edf63cf7214af037d7bc93b.
2022-01-01 13:49:09 -06:00
Sam Germain
ef6ad0e6d7
Removed leverage param from get_min_pair_stake_amount
2022-01-01 13:49:09 -06:00
Matthias
ddfbe55e7c
Merge branch 'develop' into feat/short
2022-01-01 19:16:49 +01:00
Matthias
08ba5b0451
Update docs to include underwaterplot
2022-01-01 16:55:08 +01:00
Matthias
fb06a673e0
Add Underwater plot
2022-01-01 14:40:20 +01:00
Matthias
78ba2d3fc7
Add underwaterplot calculation to btanalysis
2022-01-01 14:39:58 +01:00
Matthias
a2d97eecfe
Add trade parallelism plot
...
closes #6142
2022-01-01 14:11:51 +01:00
Matthias
9becd20f20
Improve "Missing data" messages
2022-01-01 10:37:58 +01:00
Matthias
713b884d9b
Fix failing monthly test
2022-01-01 10:37:43 +01:00
Sam Germain
9a220f6cfe
removed a few todos
2021-12-31 07:30:01 -06:00
Sam Germain
08b738a5d9
removed outdated todo in kraken
2021-12-31 06:26:13 -06:00
Sam Germain
250edae193
test__async_get_historic_ohlcv parametrized candle_type
2021-12-31 06:00:56 -06:00
Rokas Kupstys
a715083fc0
Reduce memory usage by not holding on to no longer needed data.
2021-12-31 12:10:01 +02:00
Matthias
b1b2eebd11
Change sequence of ROI/sell signal to favor sell-signal
2021-12-30 20:00:58 +01:00
Matthias
b63491fb9c
Update ROI_if_buy_signal tests to not use sell signal
2021-12-30 19:51:49 +01:00
Matthias
4b79d435ad
Merge pull request #6084 from aezomz/lev-telegram
...
Telegram and Webhook updates
2021-12-30 19:17:58 +01:00
Matthias
3c4eda14b1
Remove unused test parameter
2021-12-30 17:34:45 +01:00
Matthias
2395988bf8
Leverage defaults to 1.0, which should not be shown.
2021-12-30 17:32:36 +01:00
Matthias
45ac3b3562
Change formatting slightly
2021-12-30 17:18:46 +01:00
Matthias
bd98637ae9
Fail gracefully from plot-profit when no data is provided
...
closes #6132
2021-12-30 10:14:45 +01:00
Matthias
73276f1351
Remove default argument from "download trades" test
2021-12-29 17:36:47 +01:00
Matthias
77afb7b5e2
Merge pull request #6114 from cdimauro/reduce_kucoin_logs
...
Reduce kucoin logs
2021-12-29 17:33:21 +01:00
Aezo Teo
ee7cbcd69f
fixed flake8 and mypy errors
2021-12-29 21:48:50 +08:00
Aezo Teo
1f773671ed
updated tests and telegram
2021-12-29 21:24:12 +08:00
Wade Dyck
ac06da40e4
Explicitly set the trading-mode to spot for the --dl-trades download test.
2021-12-28 11:43:42 -07:00
Wade Dyck
5bb2d3baea
Revert "Remove the guards against downloading data in futures mode."
...
This reverts commit 82cdfba494
.
2021-12-28 11:35:17 -07:00
Matthias
24807515c1
Fix random test failure
2021-12-28 09:04:14 +01:00
Wade Dyck
82cdfba494
Remove the guards against downloading data in futures mode.
2021-12-27 12:48:42 -07:00
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
Matthias
d3f3c49b13
Fix minor "gotchas"
2021-12-26 15:29:10 +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
Reigo Reinmets
aa54592ec7
Merge branch 'freqtrade:develop' into dca
2021-12-25 21:06:26 +02: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
ea79eb55e9
Remove this test change from DCA branch.
2021-12-25 10:43:25 +02:00
Reigo Reinmets
d11a8928d4
Fix test not running when user_data contains historical data.
2021-12-25 10:39:27 +02:00
Reigo Reinmets
ad247b2f07
Merge branch 'freqtrade:develop' into dca
2021-12-24 12:39:09 +02:00
Reigo Reinmets
de79d25caf
Refactoring to use strategy based configuration
2021-12-24 12:38:43 +02:00
Matthias
61dbb6206f
Slightly reduce verbosity when reload_conf is issued
...
part of #6095
2021-12-23 20:33:13 +01:00
Reigo Reinmets
0c4664e8f4
Lock file is not always left behind so handle it.
2021-12-23 17:39:43 +02:00
Reigo Reinmets
bc60139ae3
I really should make this flake8 / isort check automatic before commit.
2021-12-23 16:40:47 +02:00
Reigo Reinmets
8393c99b62
Whoops, missing a line.
2021-12-23 16:25:27 +02:00
Reigo Reinmets
8bf1001b33
Fix test failing when user_data already contains data...
2021-12-23 12:41:37 +02:00
Reigo Reinmets
da2e07b7fe
Unittest base_stake_amount_ratio
2021-12-22 02:42:44 +02:00
Reigo Reinmets
76e7bf6cd2
Merge branch 'freqtrade:develop' into dca
2021-12-22 02:24:21 +02:00
Reigo Reinmets
fa01cbf546
iSort
2021-12-21 22:23:01 +02: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
Reigo Reinmets
f6d36ce56b
Fix the dca order not being counted bug.
2021-12-20 22:07:42 +02:00
Matthias
a557451eee
Okex uses 4h mark candle timeframe
2021-12-19 16:47:44 +01:00
Reigo Reinmets
f28d95ffb5
Add test for position adjust
2021-12-19 12:27:17 +02:00
Matthias
ddce28c12d
Update data downloading to include funding_fee downloads
2021-12-18 15:32:02 +01:00
Reigo Reinmets
db2f0660fa
Some more compatibility fixes.
2021-12-18 11:15:59 +02:00
Reigo Reinmets
30673f84f9
Flake8 compatibility
2021-12-18 11:00:25 +02:00
Reigo Reinmets
cea023399e
Merge branch 'freqtrade:develop' into dca
2021-12-17 21:59:58 +02:00
Reigo Reinmets
462270bc5a
Fix a case where the amount was not recalculated. Added additional temporary logging.
2021-12-16 22:57:56 +02:00
Matthias
ea38b58081
Add base_currency to allowed webhook fields
...
closes #6075
2021-12-16 20:18:01 +01:00
Reigo Reinmets
337af44901
Merge branch 'freqtrade:develop' into dca
2021-12-16 20:02:14 +02: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
Reigo Reinmets
7200659b35
Merge branch 'freqtrade:develop' into dca
2021-12-15 23:17:44 +02: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
Reigo Reinmets
1017b68af9
Fix some unit-tests. Use common trade entry code.
2021-12-13 02:27:09 +02:00
Reigo Reinmets
98255c18cf
Merge branch 'freqtrade:develop' into dca
2021-12-13 02:10:13 +02:00
Matthias
3398469e55
Update PerformanceFilter to have min_profit as ratio again.
...
closes #6056
2021-12-12 13:21:36 +01:00
Reigo Reinmets
8dacd987b9
Merge branch 'freqtrade:develop' into dca
2021-12-12 08:31:38 +02: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
Reigo Reinmets
f97662e816
Add position_adjustment_enable config keyword to enable it.
2021-12-11 00:28:12 +02: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
Reigo Reinmets
b2c2852f86
Initial backtesting support. This does make it rather slow.
2021-12-09 23:21:35 +02:00
Reigo Reinmets
00366c5c88
Additional unit-tests
2021-12-09 20:03:41 +02:00
Reigo Reinmets
28d0b5165a
Add unit-test
2021-12-09 19:47:24 +02: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