Commit Graph

8955 Commits

Author SHA1 Message Date
Matthias 1e83589641 Fix hyperopt 2022-04-28 06:59:03 +02:00
Matthias ca49821df0 Fix race condition for loop 2022-04-28 06:29:14 +02:00
Matthias 46855221aa Fix rounding issue with contract-sized pairs for dry-run orders 2022-04-27 19:58:19 +02:00
Matthias 2c0a7c5d74 Don't call interest_rate and isolated_liq twice 2022-04-27 17:13:58 +02:00
Matthias 30c9dc6975 Fix exit-signa being assigned when tag is set but no signal is present. 2022-04-27 13:53:11 +02:00
Matthias ad7fbfab1b Slightly improved styling 2022-04-27 13:27:33 +02:00
Matthias 108f11b1d7 Fix docs typos 2022-04-27 06:42:56 +02:00
Rokas Kupstys 6d99222320 Add 'exit_tag' parameter to 'custom_exit_price' callback. 2022-04-26 10:01:51 +03:00
Sam Germain e76c6e8ad3 added bot_start call to edge_positioning.__init__ 2022-04-25 17:48:57 -06:00
Sam Germain e09b4498fa added bot_start call to plot/plotting 2022-04-25 17:48:57 -06:00
Sam Germain 4fd904e0a9 added bot_start to backtesting 2022-04-25 17:48:57 -06:00
Sam Germain d92761b2b1 Revert "strategy callback on_whitelist_update"
This reverts commit 39798dc1192161c3060830dd4684571aa86b7821.
2022-04-25 17:48:43 -06:00
Sam Germain bf7da35e31 strategy callback on_whitelist_update 2022-04-25 17:48:07 -06:00
Sam Germain 0b90e1d309 Added bot_start callback to strategy interface 2022-04-25 17:47:12 -06:00
Matthias 44000ae0b3 Fix CAGR missing for old results 2022-04-25 17:37:25 +02:00
Matthias 246a336f56
Merge pull request #6726 from froggleston/bt_concat
Move df append to pd concat
2022-04-25 16:03:27 +02:00
Matthias e38c4883dc
Merge pull request #6725 from freqtrade/cagr
Add CAGR calculation to backtesting
2022-04-25 16:02:39 +02:00
Matthias 9a5a57d848
Merge pull request #6724 from freqtrade/pre-commit-additional_updates
Check pre-commit verison updates
2022-04-25 14:57:45 +02:00
froggleston 431c539cbd Fix isort import order 2022-04-25 10:42:24 +01:00
Matthias 4444259078 Fix hyperopt-loss interface to enforce kwargs 2022-04-25 11:33:18 +02:00
froggleston 580da21dda Move df append to pd concat 2022-04-25 10:31:19 +01:00
Matthias 500fdc2759 run mypy also against tests 2022-04-25 11:12:35 +02:00
Matthias 4143ebbeae Add CAGR calculation to backtesting 2022-04-25 10:51:11 +02:00
Matthias 7b02114ad2 Restrict trading pairs with too low precision
closes #6606
2022-04-25 09:49:51 +02:00
Matthias 86b3aac9ba Fix FTX not fetching the very latest data 2022-04-25 08:38:02 +02:00
Matthias 9bc6bbe472 Improve test for max_drawdown calculations 2022-04-25 07:23:16 +02:00
Matthias 562e36c3ec Remove Interface V1 support 2022-04-25 07:01:27 +02:00
Nicolas Papp e8aec967dd Update on note 2022-04-24 17:42:52 -03:00
Nicolas Papp 086cc6be93 Correction on tests 2022-04-24 17:37:09 -03:00
Matthias 4de0fdbfca Minor edits found during review 2022-04-24 14:43:30 +02:00
Matthias 6623192108 improve doc wording 2022-04-24 14:39:13 +02:00
Matthias 737bdfe844 Use "side" parameter when calling Pairlocks 2022-04-24 14:33:24 +02:00
Matthias b0a8bf3025 Show lock side 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 fc201bb4ff implement pairlock side further 2022-04-24 14:33:24 +02:00
Matthias 7c79d937e0 Properly type "side" parameter 2022-04-24 14:33:24 +02:00
Matthias b7cada1edd Convert ProtectionReturn to dataclass 2022-04-24 14:33:24 +02:00
Matthias 9e199165b4 Update protection-interface to support per-side locks 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 3c17409bd7 Update buy to entry in backtesting 2022-04-24 14:28:15 +02:00
Nicolas Papp 0f943c482b PEP8 code compliance 2022-04-23 13:15:14 -03:00
Matthias 8cac0a47cc Fix joblib being in wrong requirements 2022-04-23 17:08:34 +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 f2912f8815 Improve mypy runs 2022-04-23 11:31:12 +02:00
Matthias 84f5a4d5bc Fix indentation 2022-04-23 10:51:24 +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 5a90d5ece6 Fix docstring quotes 2022-04-23 09:44:04 +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 580a2c6545 Don't repeat backtest-storing 2022-04-23 09:23:53 +02:00
Matthias f1f4846053 Merge branch 'develop' into pr/samgermain/6558 2022-04-23 09:16:28 +02:00
Matthias ba92e09b7b list-strategies should find recursively as well 2022-04-23 09:11:50 +02:00
Matthias c6927a1501 Fix argument spelling 2022-04-23 09:10:40 +02:00
Matthias dff9d52b30 Remove hints on no longer used option, add very primitive test 2022-04-23 08:51:52 +02:00
froggleston 2fc4e5e117 Fix weird removal of comma 2022-04-22 18:54:02 +01:00
froggleston 767592a1d6 Add signals enum to 'export' cli option 2022-04-22 18:46:12 +01:00
Patel Kaushal ba305e93ed
Ref: timeseries friendly merge_ordered in merge_informative_pair function 2022-04-21 18:35:41 +05:30
froggleston f92997d378 Move signal candle generation into separate function 2022-04-20 14:05:33 +01: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 aa5984930d Fix filename generation 2022-04-19 13:00:09 +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
Robert Davey 4b0f168e52
Merge branch 'freqtrade:develop' into v3_fixes 2022-04-19 12:10:30 +01:00
eSeR1805 76558f284f
Fix user cancellation functionality. 2022-04-19 13:33:37 +03:00
eSeR1805 cea4f663d5
Merge branch 'develop' into feat_readjust_entry 2022-04-18 21:22:19 +03:00
eSeR1805 d24ee9032a
Update usage in backtest. No functional update. 2022-04-18 21:21:38 +03:00
eSeR1805 d9f838a65f
Update template usage to reflect changes. 2022-04-18 21:20:50 +03:00
eSeR1805 3166739ec9
Update strategy callback params and description. 2022-04-18 21:17:39 +03:00
eSeR1805 95e009b9cb
Update adjustment functionality and add cancelation option 2022-04-18 21:16:45 +03:00
eSeR1805 2cac1b7dcc
Add new (user cancellation) reason. 2022-04-18 21:14:35 +03:00
eSeR1805 17da4ca099
Use order_date_utc 2022-04-17 12:11:30 +03:00
Sam Germain 591a2fb7fc switch notionalFloor -> minNotional and notionalCap -> maxNotional 2022-04-16 21:47:44 -06:00
froggleston 34fb8dacd7 Fix isort complaints 2022-04-16 17:03:24 +01:00
froggleston b738c4e695 Fix flake8 complaints 2022-04-16 16:49:20 +01:00
froggleston 7210a11730 Fix flake8 complaints 2022-04-16 16:37:06 +01:00
froggleston a63affc5f1 Fix flake8 complaints 2022-04-16 16:32:04 +01:00
froggleston f55a9940a7 Fix line spacing 2022-04-16 16:15:04 +01:00
froggleston b1bcf9f33c Fix backtest_enable typo 2022-04-16 14:58:17 +01:00
froggleston 8990ba2709 Fix store signal candles 2022-04-16 14:49:53 +01:00
froggleston 21734c5de7 Add pickle import 2022-04-16 14:46:30 +01:00
froggleston 26ba899d7d Add constant, boolean check, rename option to fit with other x_enable, check that RunMode is BACKTEST 2022-04-16 14:37:36 +01:00
Robert Davey afd3a32883
Merge branch 'develop' into v3_fixes 2022-04-16 14:23:13 +01:00
eSeR1805 d65b64a46f
Merge branch 'develop' into feat_readjust_entry 2022-04-16 15:20:50 +03:00
eSeR1805 452f44206a
Add new callback to advanced template. 2022-04-16 15:08:09 +03:00
eSeR1805 bf5799ef9e
Add new functionality to backtesting. 2022-04-16 15:07:18 +03:00
eSeR1805 f8a7fdd5ed
Add new callback to strategy interface. 2022-04-16 15:04:22 +03:00
eSeR1805 317c1e0746
Add option to handle_cancel_enter to prevent closing trade. 2022-04-16 15:03:44 +03:00
eSeR1805 76c545ba0d
Reorganize, rename, redescribe and add new functionality 2022-04-16 15:03:09 +03:00
eSeR1805 e5d4f7766e
Add new cancel reason for when replacing orders. 2022-04-16 14:44:41 +03:00
Matthias 4019c05fee Update entry/exit timeout documentation
the type of order is now an Order, no longer a dictionary.

closes #6691
2022-04-16 06:48:12 +02:00
Matthias a4ec8984cd
Merge pull request #6685 from freqtrade/bt_load_history
Backtesting load history
2022-04-15 16:06:20 +02:00
kokimame d23d830346 Avoid ignoring the case precision amount = 0 2022-04-15 00:35:11 +09:00
Italo 1153e65b3e fix flake8 2022-04-14 14:34:04 +01:00
Italo 340c0ea391 update is_random before asked_non_tried
is_random depends on asked_non_tried and needs to be updated first
2022-04-14 14:15:11 +01:00
Matthias 4acb77305a Don't break when running hyperopt-x tools on old resuts 2022-04-13 19:33:27 +02:00
Matthias b1a6db8d29 Fix bad usage of base_currency 2022-04-13 19:24:21 +02:00
Italo 35cea6dcfa fix unique_list 2022-04-13 09:36:46 +01: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
Italo fa298d6f1c fix unique_list logic 2022-04-12 23:57:40 +01:00
Nicolas Papp c8e4687833 Plots and hyperopt 2022-04-11 16:41:48 -03:00
Matthias 85e7deb2cd Add loading of historic backtest result 2022-04-11 20:04:47 +02:00
Matthias d9039152ba Add "get backtest historic results" endpoint 2022-04-11 19:44:47 +02:00
Nicolas Papp 178240aa6c Merge branch 'develop' of https://github.com/nicolaspapp/freqtrade into feat/relative-drawdown 2022-04-11 14:42:10 -03:00
Matthias baefda80d1 Enable flake8 E226 rule 2022-04-11 18:02:06 +02:00
Sam Germain c876d42e36 safe check for recursive_strategy_search in strategy_resolver 2022-04-10 18:50:51 -06:00
Sam Germain 9070114417 Merge branch 'recursive-strategy-folder' of https://github.com/samgermain/freqtrade into recursive-strategy-folder 2022-04-10 18:45:09 -06:00
Sam Germain d5ce868f1a removed 1 letter alias for recursive-strategy-folder 2022-04-10 18:44:33 -06:00
Nicolas Papp 47a6ef4f00 Max relative drawdown 2022-04-10 12:53:47 -03:00
Matthias 68fe7476c9 Update more terminology to forceexit 2022-04-10 15:56:29 +02:00
Matthias 77c840c2a4 Fix syntax-error in exit_reason migration 2022-04-10 15:10:13 +02:00
Matthias 9556af1e6c Improve documentation for config imports 2022-04-10 10:14:34 +02:00
Matthias cd2e49bb60 Simplify downloading futures data code 2022-04-10 09:53:33 +02:00
Matthias 95f69a8c3b Remove some outdated TODO's 2022-04-10 09:53:33 +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 282804463c Add Documentation for /forceexit without parameter 2022-04-10 09:07:51 +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 ef18d09161 Call custom_exit also when the trade is not in profit and exit_profit_only is set. 2022-04-09 16:50:38 +02:00
Matthias 8e98a2ff9f api - provide assset_currency via API 2022-04-09 16:42:18 +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 9cd92ed48c Fix forceexit to work 2022-04-09 09:24:20 +02:00
Matthias 40eb3f274f Fix merge mistake 2022-04-09 08:36:22 +02:00
Matthias 392967a26f Update formatting 2022-04-08 18:07:01 +02:00
Matthias 967bbe99bb Merge branch 'develop' into pr/cyberjunky/6615 2022-04-08 18:05:27 +02:00
Matthias 16e64ddf97 Update docs for multi-config loading 2022-04-08 17:59:16 +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 1ea49ce864 Support nested configurations 2022-04-08 15:50:44 +02:00
Matthias aee0cfd17a forcebuy_enable -> force_entry_enable 2022-04-08 13:39:41 +02:00
Italo 1559692e47 Update hyperopt.py
remove duplicates from list of asked points
2022-04-08 11:44:42 +01:00
Matthias ef2f8be526
Merge pull request #6653 from mkavinkumar1/renaming-forceentry-forceexit
renamed forceentry forceexit
2022-04-08 12:31:48 +02:00
Matthias 075fc6d35e
Apply suggestions from code review 2022-04-08 11:45:03 +02:00
மனோஜ்குமார் பழனிச்சாமி 0e9b348868 Update api_v1.py 2022-04-08 11:08:11 +05:30
மனோஜ்குமார் பழனிச்சாமி ca400b8195 Updated requested changes in PR #6653 2022-04-08 10:45:05 +05:30
மனோஜ்குமார் பழனிச்சாமி 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 673b3034ee Simplify load_from_files 2022-04-07 20:05:51 +02:00
Matthias ea1c55b161 Update backtesting to use row instead of sell_row 2022-04-07 19:43:34 +02:00
Matthias 890694da08
Merge pull request #6661 from SmartManoj/patch-5
Update fiat_convert.py
2022-04-07 19:25:58 +02:00
Matthias 3188d036a6 improve trading_mode handling
Ensure trading_mode is set by new-config
handle empty strings to default to spot.

closes #6663
2022-04-07 08:45:45 +00:00
மனோஜ்குமார் பழனிச்சாமி 7bf3475fbd
Update fiat_convert.py 2022-04-07 10:28:55 +05:30
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 916764d4f2
Merge pull request #6658 from mkavinkumar1/rename-enter-side
renamed enter-side
2022-04-06 19:32:55 +02:00
Matthias 28b58712fb Add compatibility shim for trade.entry_trade 2022-04-06 19:13:46 +02:00
Matthias d5ec79c0b9 Update deprecated settings to support non-nested transitions 2022-04-06 19:09:34 +02:00
Matthias 146d6e7c6c Add UAH to supported fiat currencies
closes #6657
2022-04-06 06:43:06 +02:00
மனோஜ்குமார் பழனிச்சாமி aa76191636 fixed tests 2022-04-06 07:19:00 +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 82e9f62381 Add missing setting in arguments.py 2022-04-05 20:27:32 +02:00
Matthias b1378efdeb ignore_roi_if_buy_signal -> ignore_roi_if_entry_signal 2022-04-05 20:21:39 +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
மனோஜ்குமார் பழனிச்சாமி 8442fb915f renamed 2022-04-05 16:01:53 +05:30
Matthias 2a46e6a214 Change some sell terminology 2022-04-05 06:50:44 +02:00
Matthias 4cd4edf08b Update exit_reasons while migrating the database 2022-04-04 19:52:26 +02:00
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 5ecb695e50 Update deprecated notification settings 2022-04-04 19:17:11 +02:00
Matthias 129a7c632c Update method names 2022-04-04 19:14:21 +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 33841da382 Slightly imporve Typing by reusing long/short type 2022-04-04 16:51:57 +02:00
Matthias f8783c908e Add side to custom_entry_price 2022-04-04 16:48:27 +02:00
Matthias 69491c1430 Update more wording to "exit" 2022-04-03 19:39:13 +02:00
Matthias 283d04a5ad Update docstring wording 2022-04-03 19:36:32 +02:00
Matthias 9dfb3db1aa Update local variable 2022-04-03 19:22:59 +02:00
Ron Klinkien dd61886341 Readded missing keyboard commands
Rename forcesell methods to forceexit
2022-04-03 12:29:29 +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 a27c837d18 Update sell_reason to exit_reason 2022-04-03 10:41:35 +02:00
Matthias cd78792f48 Improve some telegram terminology 2022-04-03 10:40:13 +02:00
Ron Klinkien 936ada5699 Fixed syntax error 2022-04-03 09:58:55 +02:00
Matthias 157f8f8139 Update some more sell_reason occurances 2022-04-03 08:17:17 +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 ec63cfd656 Add compatibility layer for backtesting results 2022-04-02 20:04:30 +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 b0fab3ad50 Properly handle empty dataframes after trimming
closes #6629
2022-04-02 16:16:29 +02:00
மனோஜ்குமார் பழனிச்சாமி 40b4a9977e
checking exchange name with lower 2022-04-02 11:23:06 +05:30
topscoder 7db3c846b4
Fixes CoinGecko typos in fiat_convert.py 2022-04-01 20:52:16 +02:00
Ron Klinkien f029702bd1 Fixed flake8 issues 2022-04-01 09:16:35 +02:00
Matthias 775305e9c4 Use correct candleconfig in plot endpoint 2022-04-01 08:57:58 +02:00
Matthias e3a624cf68 Fix futures plotting 2022-04-01 06:44:17 +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
Sam Germain 2fe5a1594f Add conditional to recursive strategy searching if in config 2022-03-31 08:21:15 -06:00
Sam Germain b4b809ff8e changed recursive to recursive_strategy_search 2022-03-31 08:16:21 -06:00
Sam Germain f44ae494fb Added recursive to configuration 2022-03-31 08:12:02 -06:00
Sam Germain 185daf5772 add recursive command line option 2022-03-31 08:12:02 -06:00
Sam Germain 6df15a7af9 Recursively search subdirectories in user_data/strategies for a strategy 2022-03-31 08:12:02 -06:00
Ron Klinkien 3d8cfa7ea5 Several fixes
Code optimizations
2022-03-31 08:30:20 +02:00
Matthias 94274e4823 Remove order.leverage column 2022-03-31 06:57:16 +02:00
Matthias 2d914c8e13 Simplify formatting in exchange class 2022-03-30 20:02:56 +02:00
Ron Klinkien 6c811b3de1 Made regex strings raw
Removed unwanted changes
2022-03-30 19:57:02 +02:00
Matthias 1f6ca29bbf Update comment 2022-03-30 19:38:25 +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 8d4afc0eaf Merge branch 'opt-ask-force-new-points' of https://github.com/italodamato/freqtrade-1 into opt-ask-force-new-points 2022-03-30 09:49:07 +01:00
Italo bad179ebaa fix merge mess
This reverts commit 9f171193ef.
2022-03-30 09:48:10 +01:00
Italo b560248165
Merge branch 'develop' into opt-ask-force-new-points 2022-03-30 09:42:38 +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 b91b7b4464 Fix hyperopt assigning sell_signal to wrong field 2022-03-30 07:16:48 +02:00
Matthias dafc2bf361 Merge branch 'develop' into feat/short 2022-03-30 07:09:41 +02:00
Matthias e1ccbdb927
Merge pull request #6607 from freqtrade/short_pricing
Short pricing updates
2022-03-30 06:59:40 +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
Italo 229b0b037e reduce search loops 2022-03-29 19:33:35 +01:00
Ron Klinkien 29d6725fb7 Allow forcesell to be a valid keyboard option 2022-03-29 19:41:49 +02:00
Ron Klinkien 46acc8352f Add selection buttons for trades to forcesell cmd in telegram 2022-03-29 19:19:07 +02:00
Matthias 648e969a7a Realign entry_pricing fields 2022-03-29 19:07:29 +02:00
Italo a1816434b7
Merge branch 'freqtrade:develop' into plot_hyperopt_stats 2022-03-29 17:24:40 +01:00
Jason Risch 6b57be35e9
Update kucoin candle limit 2022-03-29 07:23:45 -07: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
adriance d6082c33a7 fix type error 2022-03-28 21:29:50 +08:00
adriance a0971a3e2c fix using future data to fill when use timeout 2022-03-28 21:00:05 +08:00
Matthias f70166270d Update pricing to use entry/exit pricing 2022-03-28 07:07:46 +02:00
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 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 f5578aba48 Update trading_fee naming 2022-03-26 15:16:04 +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 0624817242 update unfilledtimeout settings to entry/exit 2022-03-26 11:55:11 +01:00
Matthias 6f1b14c013 Update buy_timeout and sell_timeout methods 2022-03-25 19:57:06 +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 1c0946833d Fix bug in exit-count detection 2022-03-25 16:06:03 +01:00
Matthias cd11ba3489 Fix naming in interface.py 2022-03-25 15:36:30 +01:00
Matthias 1ab6773257 Update todo-lev to todo 2022-03-25 15:17:46 +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 054b637001 Add amount_to_contracts and order_contracts_to_amount to stoploss 2022-03-25 06:56:05 -06:00
Matthias 743a7b7849 Merge branch 'develop' into feat/short 2022-03-25 10:04:18 +01:00
Matthias a004bcf00f Small refactor to backtesting 2022-03-25 08:03:32 +01:00
Matthias 5f71232d6f Fix doc typo 2022-03-25 07:03:50 +01:00
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
Matthias 46ca773c25 Simplify some rpc code 2022-03-24 19:58:53 +01:00
Matthias 83f6401820 Add additional endpoints to "has_optional" dict as comments 2022-03-23 19:56:29 +01:00
Matthias 08a55d4f6d Extract supported Exchanges to exchange.common 2022-03-23 19:51:44 +01:00
Matthias e545ac1978 Revert condition to exploit lazy evaluation 2022-03-23 19:41:57 +01:00
Matthias 7d02e81857 Remove impossible TODO 2022-03-23 19:40:40 +01:00
Matthias 3fa8327711 Remove sample_short_strategy - sample_strategy is a better long/short strategy example 2022-03-23 19:30:02 +01:00
Matthias de6519eb05 Update config builder to include okx for futures 2022-03-23 06:56:52 +01:00
Matthias 14f9d712dc Simplify okx lev_prep 2022-03-23 06:49:17 +01:00
Matthias 5791d0a394 Align kraken._get_params with okex 2022-03-23 06:49:07 +01:00
Matthias 8a708a9892 Don't assing attributes we never use 2022-03-23 06:48:23 +01:00
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
Italo b5a346a46d Update hyperopt.py 2022-03-22 11:01:38 +00:00
Matthias fa3c00c673 Remove some default arguments in history_utils 2022-03-22 07:20:21 +01:00
Matthias 5b4f343d36 Update buy output for backtesting 2022-03-22 06:45:36 +01:00
Matthias 08777abd85 Update backtesting output terminology to "exit" 2022-03-22 06:43:37 +01:00
Italo 2733aa33b6 Update hyperopt.py 2022-03-22 00:28:11 +00:00
Matthias 00287febc6
Merge pull request #6542 from TheJoeSchr/check_version_with_endswith
[develop] Check version with endswith
2022-03-21 22:17:39 +01:00
Matthias 487d3e891e Revert version to develop for now 2022-03-21 19:41:34 +01:00
Matthias 2c89da6bf7 Update code to properly behave when rounding open_date for funding fees 2022-03-21 19:38:27 +01:00
Matthias 35a4053dbe
Merge pull request #6561 from adrianceding/fix_taker_stake_amount
Unified taker and maker's stake amount calculation logic
2022-03-21 19:07:00 +01:00
Italo 37a43019d6 fix
- clear cache before calling `ask`
- avoid errors in case asked_non_tried has less than n_points elements
2022-03-21 11:36:53 +00:00
Matthias 4fd0681265 Combine stake_amount recalculation 2022-03-20 20:00:30 +01:00
Italo fca93d8dfe Update hyperopt.py 2022-03-20 16:12:06 +00:00
Matthias 22206d0d76
Merge pull request #6559 from freqtrade/short_docs
Futures strategy migration docs
2022-03-20 17:12:04 +01:00
Italo f8a674f24d make robust in case all points have been tried 2022-03-20 16:08:38 +00:00
Italo 23f1a1904b more compact 2022-03-20 16:06:41 +00:00
Italo 0fd269e4f0 typo 2022-03-20 16:03:07 +00:00
Italo e16bb1b34e Optimize only new points
Enforce points returned from `self.opt.ask` have not been already evaluated
2022-03-20 16:02:03 +00:00
Italo 112738d68d
Merge branch 'freqtrade:develop' into plot_hyperopt_stats 2022-03-20 15:42:53 +00:00
Italo d796ce0935 Update hyperopt.py
1. Try to get points using `self.opt.ask` first
        2. Discard the points that have already been evaluated
        3. Retry using `self.opt.ask` up to 3 times
        4. If still some points are missing in respect to `n_points`, random sample some points
        5. Repeat until at least `n_points` points in the `asked_non_tried` list
        6. Return a list with legth truncated at `n_points`
2022-03-20 15:41:14 +00:00
Matthias e9c4e6a69d Update derived strategy documentation 2022-03-20 13:21:09 +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 95f69b905a Remove ticker_interval support 2022-03-20 09:00:53 +01:00
Matthias 36287a84cb enhance migration documentation 2022-03-20 08:30:14 +01:00
Matthias 72fd937a74 INTERFACE_VERSION to 3 2022-03-20 08:30:14 +01:00
Matthias 052758bbac Refactor price and stake out of _enter_trade 2022-03-19 15:45:43 +01:00
Matthias b292f28b35 Call leverage before custom_stake_amount to properly determine min-stake-amount 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 9f34f824af Fix hyperopt when using futures markets 2022-03-19 13:20:14 +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 2791e799ee Rename tickers_has_quoteVolume 2022-03-18 16:49:37 +01:00
Matthias 1de5d2fb94 Remove unnecessary condition 2022-03-18 16:44:27 +01:00
Matthias 0c63c0bbb3 Update Gateio stoploss adjust 2022-03-18 10:41:38 +01:00
Matthias f37038fb7d Fix gateio stoploss_adjust header 2022-03-18 10:35:00 +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 b56aab0bdf Update Volumepairlist type 2022-03-18 06:34:35 +01:00
Matthias f55db8e262 Spreadfilter should fail to start if fetchTickers is not supported 2022-03-17 20:21:10 +01:00
Matthias 1299a703e2 Implement fix for okx futures not having quoteVolume 2022-03-17 20:15:51 +01:00
Matthias a13b633c56 update VOlumepairlist to also work without tickers 2022-03-17 20:11:56 +01:00
Matthias b6a6aa48c9 Create separate _ft_has_futures dict 2022-03-17 20:05:05 +01:00
Matthias 96bf82dbc6 Remove gateio broker program 2022-03-17 17:06:10 +01:00
Matthias 6024fa482e Use brackets to break IF lines 2022-03-17 07:41:08 +01:00
Matthias 9b2ec5e653 Fix missleading variable naming 2022-03-17 06:58:08 +01:00
Matthias d6309449cf Fix short bug where close_rate is wrongly adjusted 2022-03-16 20:12:09 +01:00
Matthias a89c1da19f Fix 2 bugs in ROI calculation 2022-03-16 20:12:09 +01:00
froggleston 162e94455b Add support for storing buy candle indicator rows in backtesting results 2022-03-16 12:16:24 +00:00
Matthias 7c9d2dd20a Fix a few more short bugs in backtesting 2022-03-16 07:00:50 +01:00
Joe Schr 47317e0f06 version: use 'contains' to check for "develop" instead of literal comparison 2022-03-15 21:08:37 +01:00
adriance ceba4d6e9b Remove meaningless code 2022-03-15 14:03:06 +08:00
Matthias cbbdf00ddd Update comments in short backtest rates 2022-03-15 06:39:07 +01:00
Matthias ebd61ebdef
Merge pull request #6513 from samgermain/gateio-stoploss
Gateio stoploss on exchange
2022-03-15 06:27:54 +01:00
adriance fd211166f0 fixed side error 2022-03-15 12:23:59 +08:00
adriance 7059892304 Optimize the code. Fix stop_rate judgment error 2022-03-15 12:04:02 +08:00
Matthias 18030a30e7 Add exchange parameter to test-pairlist command
This will allow for quick tests of the same pairlist config against
multiple exchanges.
2022-03-14 19:21:58 +01:00
adriance 31182c4d80 format 2022-03-14 18:38:44 +08:00
adriance 26a74220fd remove buy filled logic 2022-03-14 13:43:42 +08:00
adriance bea38a2e7c remove filled date logic 2022-03-14 13:42:52 +08:00
adriance a750369796 adjust none 2022-03-14 12:09:13 +08:00
adriance f9e93cf3f8 fix buy filled date none 2022-03-14 11:55:36 +08:00
adriance 3d9c55d519 restore set_isolated_liq 2022-03-14 11:29:26 +08:00
adriance c9bbc4a824 Merge branch 'feat/short' into fs_fix 2022-03-14 11:26:04 +08:00
Matthias c63b5fbbbf Use last to get rates for /balance endpoints 2022-03-13 17:53:52 +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
Matthias 3133be19e3 Update precisionfilter to use last instead of ask or bid. 2022-03-13 15:23:01 +01:00
Matthias 7146122f4a Update docstring 2022-03-13 15:06:32 +01:00
Matthias b8b56d95f3 Update missleading docstring 2022-03-13 14:57:32 +01:00
Matthias 9107819c95 Fix order migration "forgetting" average 2022-03-13 14:42:15 +01:00
adriance 0fce0f64d1 Merge branch 'feat/short' into fs_fix 2022-03-13 14:41:22 +08:00
adriance 52bf926066 fix duplicate long 2022-03-13 12:26:57 +08:00
adriance 56c4ea6619 Merge branch 'feat/short' into fs_fix 2022-03-13 12:13:33 +08:00
Sam Germain 843606c9cb gateio stoploss adjust 2022-03-12 20:14:23 -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 f343036e66 Add stoploss-ordertypes mapping for gateio 2022-03-12 19:23:20 +01: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
adriance b5662d6547 Merge branch 'feat/short' into fs_fix 2022-03-12 16:50:27 +08: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 12c909d8a8 Add can_short to sample strategies 2022-03-12 07:00:57 +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 1c9dbb512a Initial attempt at is_short_strategy block 2022-03-11 19:29:40 +01:00
Italo d2a5448305 Update hyperopt.py 2022-03-11 17:38:32 +00:00
Italo 1a573d57b9
Merge branch 'freqtrade:develop' into plot_hyperopt_stats 2022-03-11 17:36:00 +00:00
Matthias 11c76c3c89 Check if timeframe is available before calling exchange
closes #6517
2022-03-11 18:01:30 +01:00
adriance 51947ded6b Merge branch 'feat/short' into fs_fix 2022-03-11 22:35:35 +08:00
Matthias 24f480b4ce Double-check stoploss behaviour
closes #6508
2022-03-11 08:28:47 +01:00
Matthias f6c263882d Update outdated TODO-lev 2022-03-10 07:09:48 +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 6bb93bdc25 moved binance.stoploss_adjust to exchange class 2022-03-09 15:47:16 -06:00
Matthias 0d754111e9 Fix dry-run-wallets bug in case of futures 2022-03-09 19:02:22 +01:00
Matthias 6e10439f90 Map usdt fiat to correct coingecko fiat 2022-03-09 17:35:41 +01:00
adriance 499e9c3e98 fix duration 2022-03-10 00:34:59 +08:00
adriance d579febfec add filled time 2022-03-09 23:55:57 +08:00
adriance 1c86e69c34 use filled time calculate duration 2022-03-09 21:55:13 +08:00
adriance 82e0eca128 add short close rate calu 2022-03-09 20:00:06 +08:00
Sam Germain d47274066e Added stoploss_on_exchange flag to gateio 2022-03-09 01:05:21 -06:00
Sam Germain e3ced55f5c gateio.fetch_order and gateio.cancel_order 2022-03-09 00:45:50 -06:00
Sam Germain 61182f849b exchange.fetch_order and exchange.cancel_order added params argument 2022-03-09 00:45:10 -06:00
Matthias 93a91bdeee Update order_Types documentation 2022-03-09 07:44:21 +01:00
Matthias 50ab0dc6c5 Fix subtle bug 2022-03-09 07:04:59 +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 e492bf3159 Update order_types to use entry/exit definition 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
dingzhoufeng 9facd5b52a Merge branch 'feat/short' into fs_fix 2022-03-08 15:14:11 +08:00
dingzhoufeng 53ecdb931b add leverage 2022-03-08 12:26:43 +08: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 667054e1ad Reorder methods in trade object 2022-03-06 15:07:07 +01:00
Matthias 46e17c9762 Fix stoploss_pct set wrongly for short trades 2022-03-06 15:07:04 +01:00
Matthias cc38f0656d Explicitly check for None to determine if initial stoploss was set
closes #6460
2022-03-06 15:06:57 +01:00
Matthias 76e5d5b232 Fix stake-amount handling for dry-run 2022-03-05 15:53:40 +01:00
Matthias be4bc4955c Explicitly check for None to determine if initial stoploss was set
closes #6460
2022-03-05 14:12:14 +01:00
Matthias 2b1a8f2fbb Update binance stoploss to use correct stop order for futures 2022-03-05 13:57:54 +01:00
Matthias 8943d42509 Update telegram notifications to properly detect shorts 2022-03-04 19:42:33 +01:00
Matthias 9576fab621 Re-remove amount to precision from trade entry 2022-03-04 07:16:06 +01:00
Matthias cee126a2cf extract stop_limit-rate calculation 2022-03-04 07:10:14 +01:00
Matthias 62dcebee46 Update stoploss method to new functionality 2022-03-04 07:07:34 +01:00
Matthias 0622654bcf Give tests a chance to pass 2022-03-04 06:50:42 +01:00
Sam Germain 488da9b875 Merge branch 'develop' into feat/short 2022-03-03 13:51:52 -06: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 f558d4b132
Merge pull request #6467 from samgermain/backtest-liq
Liquidation price in backtesting
2022-03-03 06:50:32 +01:00
Matthias 761ac6685a
Merge pull request #6489 from samgermain/gateio-market
gateio market orders futures
2022-03-03 06:34:06 +01:00
Sam Germain dfb72d8a2f gateio market orders futures 2022-03-02 21:37:53 -06:00
Italo 0804ef411b
Merge branch 'freqtrade:develop' into plot_hyperopt_stats 2022-03-03 01:44:41 +00: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
Matthias eb30c40e0c Fix hyperopt for futures 2022-03-02 19:50:16 +01:00
Matthias c5cf73e67b hdf5 datahandler should also create directory 2022-03-02 19:41:14 +01:00
Matthias d4fbb785b5
Merge pull request #6458 from stash86/pos_adjust
Hide sell_reason if a trade is still open
2022-03-02 07:23:49 +01:00
Matthias f74de1cca3 Improve Backtesting "wrong setup" message to include tradable_balance 2022-03-01 19:46:13 +01:00
Matthias 54165662ce Don't require unfilledtimeout, it's optional. 2022-03-01 19:41:26 +01:00
Matthias 69cfb0b278 Revert change to telegram - this should be handled at the source 2022-03-01 19:32:25 +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 736a930152 Update small things 2022-03-01 19:23:14 +01:00
Matthias f26247e8e0 Revert wrong version string 2022-03-01 19:08:04 +01:00
Matthias e8206bc751 Simplify backtesting enter_Trade 2022-02-28 20:10:23 +01:00
Matthias 1b07ad92cf Merge branch 'feat/short' into pr/samgermain/6467 2022-02-28 20:07:19 +01:00
Matthias c745f5828c Update comments to clarify it's supposed to be a "offline" call 2022-02-28 20:05:14 +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 1d27cbd01f Simplify leverage_prep interface 2022-02-28 19:34:10 +01:00
Matthias 8e2d3445a7 Move leverage_prep calculations to exchange class 2022-02-28 19:29:42 +01:00
Matthias bc92225441 Add todo about leverage_prep 2022-02-28 19:23:14 +01:00
Matthias 68bc2a6107 Add huobi to ccxt compat tests 2022-02-28 07:00:52 +01:00
Matthias 7948224892 leverage_prep should also becalled after filling a entry ordre 2022-02-27 21:14:28 +01:00
Sam Germain b103045a05 backtesting._enter_trade update liquidation price on increased position 2022-02-27 12:09:45 -06:00
Sam Germain 6fdcc714bf backtesting margin_mode key fix 2022-02-27 11:59:27 -06:00
Matthias 437b12fab7 Use trade.* props where possible 2022-02-27 17:16:38 +01:00
Matthias 33be14e7e2 Update stake_amount calculation with multiple entries when using leverage 2022-02-27 17:09:29 +01:00