Commit Graph

291 Commits

Author SHA1 Message Date
robcaulk fea39254d9 fix custom_exit (thanks @paranoidandy) 2022-06-02 14:58:45 +02:00
robcaulk b37c31cc21 fix ta-lib issue with simultaneous method access 2022-06-02 14:37:40 +02:00
robcaulk 4ac6ef2972 make defining period intervals more user friendly and flexible 2022-06-02 13:45:29 +02:00
robcaulk 7523ed825e automatically detect maximum required data based on user fed indicators (to avoid NaNs in dataset for rolling indicators), add new config parameter for backtesting to let users increase their startup_candles to accommodate high timeframe indicators, add docs to explain all. Add new feature for automatic indicator duplication according to user defined intervals (exhibited in example strat and configs now). 2022-05-31 18:42:27 +02:00
Matthias 3549176370 Update missleading docstring
closes #6913
2022-05-31 17:52:45 +02:00
robcaulk bac4ced382 Ensure follower predictions are persistent and uniquely stored 2022-05-31 14:35:04 +02:00
robcaulk 0aa7162055 ensure the prediction is reset in the pair_dict after any trade exit, not just custom_exit 2022-05-29 16:36:46 +02:00
robcaulk fe36b08fce fix key error in example strat 2022-05-29 16:26:34 +02:00
robcaulk ce365eb9e3 improve example strat so that it has dynamic buy and sell logic according to original prediction 2022-05-29 14:45:46 +02:00
robcaulk 6193205012 fix bug for target_mean/std array merging in backtesting 2022-05-26 21:07:50 +02:00
Matthias d6773bc32c
Merge pull request #6886 from freqtrade/fix/typing
Fix/typing
2022-05-24 19:41:59 +02:00
robcaulk 31ae2b3060 alleviate FutureWarning in sklearn about ensuring svm model features are passed with identical order 2022-05-24 14:46:16 +02:00
Matthias f1a72e448a Align interfaces and strategy templates 2022-05-24 06:54:16 +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
robcaulk dede128648 set process_only_new_candles to true in example strat 2022-05-23 10:15:59 +02:00
robcaulk 42d95af829 Aggregated commit. Adding support vector machine for outlier detection, improve user interface to dry/live, better standardization, fix various other bugs 2022-05-22 17:51:49 +02:00
robcaulk c5ecf94177 move live retraining to separate thread. 2022-05-19 21:15:58 +02:00
robcaulk 1fae6c9ef7 keep model accessible in memory to avoid loading objects from disk during live/dry 2022-05-19 19:27:38 +02:00
Matthias c81b960791 Fix some typos 2022-05-17 19:58:36 +02:00
robcaulk d1d451c27e auto populate features based on a prepended % in the strategy (remove feature assignment from config). Update doc/constants/example strategy to reflect change 2022-05-17 18:15:03 +02:00
robcaulk a8022c104a give beta testers more information in the doc 2022-05-15 17:42:15 +02:00
robcaulk a7029e35b5 ensure informative pairs includes any combination of whitelist - corr_pairlist 2022-05-15 17:42:15 +02:00
robcaulk 9b3e5faebe create more flexible whitelist, avoid duplicating whitelist features into corr_pairlist, update docs 2022-05-15 17:42:15 +02:00
robcaulk 22bd5556ed add self-retraining functionality for live/dry 2022-05-15 17:42:15 +02:00
robcaulk 764f9449b4 fix logger, debug some flake8 appeasements 2022-05-15 17:41:34 +02:00
robcaulk 29c2d1d189 use logger in favor of print 2022-05-15 17:38:58 +02:00
robcaulk 99f7e44c30 flake8 passing, use pathlib in lieu of os.path to accommodate windows/mac OS 2022-05-15 17:38:58 +02:00
robcaulk fc837c4daa add freqao backend machinery, user interface, documentation 2022-05-15 17:38:58 +02:00
Matthias 5b3eaa3003 Ensure advanced strategy template is runnable 2022-05-06 06:42:08 +02:00
Matthias d11c44940e Slightly reword docs
remove some Note-boxes - people tend to skip these.
2022-05-06 06:42:01 +02:00
eSeR1805 17650d7e60
Maintain existing order. Update functionality and documentation 2022-04-29 00:10:17 +03:00
eSeR1805 eb23170c43
Merge branch 'develop' into feat_readjust_entry 2022-04-28 23:06:52 +03: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
eSeR1805 d9f838a65f
Update template usage to reflect changes. 2022-04-18 21:20:50 +03: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
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 aee0cfd17a forcebuy_enable -> force_entry_enable 2022-04-08 13:39:41 +02:00
மனோஜ்குமார் பழனிச்சாமி 9417bb01dc
Merge branch 'develop' into renaming-forceentry-forceexit 2022-04-08 00:01:51 +05:30
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 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 6d9218cb34 sell_signal -> exit_signal 2022-04-04 17:11:11 +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 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 a27c837d18 Update sell_reason to exit_reason 2022-04-03 10:41:35 +02:00
Matthias 157f8f8139 Update some more sell_reason occurances 2022-04-03 08:17:17 +02:00
Matthias 648e969a7a Realign entry_pricing fields 2022-03-29 19:07:29 +02:00
Matthias 2d740230f7 price_last_balance renaming 2022-03-28 19:53:55 +02:00
Matthias bcf326a035 Initial steps to change bid/ask pricing to enter/exit 2022-03-27 18:03:49 +02: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 d7f76ee452 Update confirm_trade_exit to use sell_reason terminology 2022-03-25 06:37: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 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 b044dd2c45 Update custom_sell to custom_exit 2022-03-12 11:37:56 +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 12c909d8a8 Add can_short to sample strategies 2022-03-12 07:00:57 +01:00
Matthias 93a91bdeee Update order_Types documentation 2022-03-09 07:44:21 +01:00
Matthias e492bf3159 Update order_types to use entry/exit definition 2022-03-09 06:37:08 +01:00
Matthias 3ff261e22c Update order time in force to use entry/exit wording 2022-03-07 19:55:15 +01:00
Sam Germain 488da9b875 Merge branch 'develop' into feat/short 2022-03-03 13:51:52 -06:00
Matthias 9504b3eb05 Improve huobi config generation 2022-02-26 10:33:11 +01:00
Matthias d973ba1f5d Add leverage callback to advanced template 2022-02-23 20:19:52 +01:00
Matthias c51603b110 Slightly improve formatting, Point to documentation 2022-02-23 20:16:52 +01:00
Guillermo Rodríguez 95b63ea496 Add short signal to base strategy template 2022-02-22 19:33:52 +01:00
Sam Germain fc2d3649a1 edited todos 2022-02-12 16:23:14 -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 463714832d Merge branch 'develop' into feat/short 2022-01-29 14:19:30 +01:00
Matthias 194a5ce3cc Update advanced strategy template with missing methods 2022-01-24 07:02:02 +01:00
Matthias e252830229 Add entry_tag to "entry" callbacks 2022-01-24 07:02:01 +01:00
Matthias f090dcc597 Merge branch 'develop' into feat/short 2022-01-22 17:56:01 +01:00
Matthias b96b0f89bd improved unfilledtimeout defaults 2022-01-16 13:17:12 +01:00
Matthias 67f3570bf3 Merge branch 'develop' into feat/short 2021-12-01 07:21:36 +01:00
Matthias cf5ff9257d Add plotconfig as property documentation and sample 2021-11-28 19:39:43 +01:00
Matthias 6429205d39 Improve Notebook documentation to include Dataprovider
fix #5975
2021-11-27 19:53:37 +01:00
Matthias 97ff7d1223 Merge branch 'develop' into feat/short 2021-11-21 09:13:53 +01:00
Matthias f8f7d81fc2 Update strategy template to use parameters 2021-11-20 11:39:21 +01:00
Matthias ebc38159b8 Merge branch 'develop' into feat/short 2021-11-06 15:24:52 +01:00
Matthias f60d101076 Some finetuning for OKEX 2021-11-03 07:12:42 +01:00
Matthias a16328f372 Don't force timeframe in config in config generator 2021-11-01 13:44:26 +01:00
Sam Germain bcbe8f229c Merge branch 'feat/short' into lev-freqtradebot 2021-10-13 19:02:57 -06:00
Sam Germain bd488cc086 Merge branch 'develop' into feat/short 2021-10-13 17:56:40 -06:00
Matthias 92f8f231af Remove ratelimit from kucoin template 2021-10-04 20:22:41 +02:00
Matthias 7f4baab420 Remove explicit rateLimits, improve docs 2021-10-04 20:14:22 +02:00
Matthias f15922a168 Fix custom_stoploss in strategy template
closes #5658
2021-10-04 19:11:35 +02:00
Sam Germain b3656ddfc9 Merge branch 'feat/short' into lev-freqtradebot 2021-10-02 03:36:32 -06:00
Sam Germain e8b4cf6eaa Merge branch 'develop' into feat/short 2021-10-02 03:15:12 -06:00
Matthias f69cb39a17 Fix missing comma in kucoin template
closes #5646
2021-10-01 19:26:51 +02:00
Sam Germain 1a132758d0 merged with feat/short 2021-09-27 23:26:20 -06:00
Matthias d7ce9b9f6d Rename sample short strategy 2021-09-27 19:17:19 +02:00
Matthias a926f54a25 Add "side" parameter to custom_stake_amount 2021-09-26 19:35:54 +02:00
Matthias 84e013de2d Update confirm_trade_entry to support "side" parameter 2021-09-26 19:33:22 +02:00
Sam Germain d7c7448632 merged lev-freqtradebot with lev-strat 2021-09-19 19:06:43 -06:00