Commit Graph

4180 Commits

Author SHA1 Message Date
Matthias ee205ddc86 Improve trade.from_json when stops are used 2023-03-25 20:26:56 +01:00
Matthias 298f5685ee Reuse existing "cancel_stoploss" call 2023-03-25 20:06:21 +01:00
Matthias f7c1ee6d3e add precision values to api schema 2023-03-25 11:55:47 +01:00
Matthias 9c6a49436b Export amount/price precisions per trade 2023-03-25 11:42:19 +01:00
Matthias 79a2de7a64 Reduce impact of short outages 2023-03-25 08:31:35 +01:00
Matthias 469166636c Set initial stoploss when creating the order
This ensures that a trade never has "None" as stoploss
2023-03-24 07:27:45 +01:00
Matthias 150c5510c7 Don''t fully fail bot when invalid price value is reached
closes #8300
2023-03-22 19:46:07 +01:00
Matthias 36c45fd14f Remove unused argument from set_leverage 2023-03-21 19:14:09 +01:00
Matthias 97c420b2df Add explicit test for okx lev_prep 2023-03-20 19:27:48 +01:00
Matthias 7b5e322ef2
Merge pull request #8360 from freqtrade/okx_stop
Okx stoploss on exchange
2023-03-20 19:19:59 +01:00
Matthias 56c2aa89bc
Merge pull request #8344 from freqtrade/fix/db_concurrent
Fix db concurrent problem
2023-03-20 18:17:09 +01:00
Matthias 54d8aa7782 Test stoploss_adjust okx 2023-03-20 06:46:00 +01:00
Matthias 4690244673 Enable okx stop-price types 2023-03-20 06:40:57 +01:00
Matthias 2de5a59d89 Add test for dry-run fetching 2023-03-20 06:38:42 +01:00
Matthias a7c7f720c0 Add test for okx fetch_stop 2023-03-19 20:03:34 +01:00
Matthias 222ecdecd2 Improve code quality 2023-03-19 17:50:08 +01:00
Matthias 3d91dd8a98 Support post-only orders for Binance spot
closes #8044
2023-03-19 15:36:35 +01:00
Matthias bf3f2e4de4 Fix failing test 2023-03-19 11:16:54 +01:00
hippocritical 763f4f4a3e
Merge branch 'freqtrade:develop' into strategy_utils 2023-03-18 20:15:12 +01:00
Matthias 62c8dd98d5 Use combination of thread-local and asyncio-aware session context 2023-03-18 19:28:22 +01:00
hippocritical 209811d23a
Merge branch 'freqtrade:develop' into strategy_utils 2023-03-17 08:48:52 +01:00
Matthias e3e4fbd5ba Minor test fix 2023-03-16 19:24:37 +01:00
Matthias 4cfbc55d34 Update remaining tests to get rid of .query 2023-03-16 18:07:06 +01:00
Matthias 9d6e973e5b remove .query from most tests 2023-03-16 07:25:04 +01:00
Matthias 6ed337faa3 Update several tests to remove .query 2023-03-16 07:04:15 +01:00
Matthias b469addffb remove usage of .query from regular models 2023-03-15 21:00:30 +01:00
Matthias 47ab285252 Minor test fix 2023-03-15 20:49:35 +01:00
Matthias 5c280d5649 Improve emergency_exit handling 2023-03-13 20:28:13 +01:00
Matthias 487469680f Use correct exception type for ccxt.InvalidOrder 2023-03-13 20:13:12 +01:00
Matthias f584edf809 Improve tests by simply running a full strategy through everything 2023-03-12 16:45:56 +01:00
Matthias f5848ea891 Add test for successful_buys 2023-03-12 16:29:18 +01:00
Matthias b5c4f9ebe2 Split updater_tests to be clearer 2023-03-12 16:27:54 +01:00
Matthias 0911cd72a2 Add test for strategy-updater start method 2023-03-12 15:59:14 +01:00
hippocritical f722823b0d Merge remote-tracking branch 'origin/strategy_utils' into strategy_utils 2023-03-10 09:24:08 +01:00
hippocritical a3988f56b2 Sorry matthias, did not see that you already committed something and did overwrite you.
Added your version to it instead of mine and pushed again (since it was already overwritten by me).
2023-03-10 09:23:56 +01:00
hippocritical 5a467eb969
Merge branch 'freqtrade:develop' into strategy_utils 2023-03-10 09:18:44 +01:00
hippocritical 5f8202e1b5 Merge remote-tracking branch 'origin/strategy_utils' into strategy_utils
# Conflicts:
#	freqtrade/commands/strategy_utils_commands.py
#	tests/test_strategy_updater.py
2023-03-10 09:00:00 +01:00
hippocritical bfc7f48f17 added checks for python3.8 or lower since ast_comments.unparse() needs python 3.9 or higher.
testing with python 3.8 would make the build fail tests, skipping it there.
2023-03-10 08:59:07 +01:00
Matthias 5b2a291109
Merge pull request #8273 from freqtrade/stop_from_open_lev
Stop from open lev
2023-03-09 19:44:16 +01:00
Matthias d3a3ddbc61 Check if exchang provides bid/ask via fetch_tickers - and fail with spread filter if it doesn't.
closes #8286
2023-03-09 19:42:43 +01:00
Matthias 30fd1e742e Add 3.8 block for strategyUpdater 2023-03-09 07:46:58 +00:00
Matthias 4d8e3c25bd Merge branch 'develop' into strategy_utils 2023-03-09 07:12:48 +00:00
Matthias 29dfb5c169
Merge pull request #8291 from freqtrade/allow-ohlc-removal
allow user to drop ohlc from features in RL
2023-03-08 21:04:34 +01:00
Matthias 2c7ae756f5 Improve mock behavior 2023-03-08 07:05:59 +01:00
robcaulk d9dc831772 allow user to drop ohlc from features in RL 2023-03-07 11:33:54 +01:00
Matthias d779d60812 Expose total_profit_ratio through API 2023-03-06 07:10:02 +01:00
Matthias cab1b750b3 Improve test accuracy 2023-03-06 06:39:05 +01:00
Matthias 9d285e3dc0 Add total_profit_ratio to telegram output
part of #8234
2023-03-06 06:39:05 +01:00
Matthias fff08f737f /status msg - improve formatting further 2023-03-06 06:39:05 +01:00
hippocritical 5dd919b7ad
Merge branch 'freqtrade:develop' into strategy_utils 2023-03-05 12:30:26 +01:00