Commit Graph

330 Commits

Author SHA1 Message Date
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
Matthias
a89c67787b Replace some more occurances of 'buy' 2021-09-18 09:23:53 +02:00
Matthias
4d558879e9 Merge branch 'feat/short' into pr/samgermain/5378 2021-09-17 19:33:35 +02:00
Sam Germain
d3ab2f887f merged with feat/short 2021-09-14 18:32:08 -06:00
Matthias
dad4a49e81 Remove legacy hyperopt interface from hyperopt.py 2021-09-12 08:18:13 +02:00
Matthias
ebb0b8aa3f Remove new-hyperopt command 2021-09-12 08:18:13 +02:00
Sam Germain
763a6af224 sample strategy has short 2021-09-08 00:24:32 -06:00
Sam Germain
e13b0414d8 Merge branch 'lev-strat' into lev-freqtradebot 2021-09-08 00:00:53 -06:00
Sam Germain
ff790e8fd3 merged with caplog-clear-freqtradebot 2021-09-07 22:12:49 -06:00
Matthias
ca44d2e092 Merge branch 'feat/short' into pr/samgermain/5378 2021-09-04 19:54:34 +02:00
Matthias
b4130dfabb Use volumePairlist instead of staticPairlist in generated config 2021-09-03 09:23:26 +02:00
Matthias
c489e6825c Simplify binance blacklist 2021-09-03 09:18:15 +02:00
Matthias
68f13173bc Update new-config templates to use USDT by default 2021-09-03 08:59:43 +02:00
Matthias
e64ccd8fc1 Add new_config section for kucoin 2021-09-03 08:57:53 +02:00
Matthias
5184cc7749 Merge branch 'develop' into feat/short 2021-09-02 07:03:14 +02:00
Pan Long
482e65453f Remove extra comma after the last element in binance pair_blacklist. 2021-08-28 21:57:54 +08:00
Matthias
7a977a8eaf Merge branch 'feat/short' into pr/samgermain/5378 2021-08-24 06:28:16 +02:00
Matthias
957551ea97 Merge branch 'develop' into feat/short 2021-08-24 06:25:06 +02:00
Sam Germain
61ad38500a Reverted freqtrade/templates/*hyperopt* files back to no shorting 2021-08-23 00:18:15 -06:00
Sam Germain
53b51ce8cf Reverted freqtrade/templates/sample_strategy back to no shorting, and created a separate sample short strategy 2021-08-23 00:17:20 -06:00
Sam Germain
5ca3f49cb5 merged with feat/short after feat/short added styling and comment changes PR 2021-08-22 21:37:20 -06:00
Sam Germain
a5be535cc9 strategy interface: removed some changes 2021-08-21 17:06:04 -06:00
Sam Germain
092780df9d condensed strategy methods down to 2 2021-08-18 16:52:34 -06:00
Sam Germain
d4a7d2d444 Added short and exit_short to strategy 2021-08-18 16:52:20 -06:00
Sam Germain
e2d5299116 Name changes for strategy 2021-08-18 13:22:54 -06:00
Matthias
c7147311f8 Fix json syntax error in config template 2021-08-13 17:14:38 +02:00
Matthias
ad0e4a8567 Add BooleanParameter 2021-08-04 20:52:56 +02:00
Matthias
6410a6528b Add missing methods to advanced strategy template 2021-08-04 06:46:21 +02:00
octaviusgus
d1104bd434 fix daily profit data and daily profit curve example 2021-07-06 22:47:39 +02:00
Matthias
c5489d530a Reexport File to docs to have this available as documentation too 2021-07-04 19:50:44 +02:00
octaviusgus
558bcc7959 Jupyter notebook snippet: Plotting daily profit / equity line 2021-07-04 15:56:55 +02:00
Matthias
1067a9f356 Move strategy-override signals to top-level of the config
closes #2867
2021-06-26 16:06:13 +02:00
Matthias
c62fad0088 Pricing strategies should default to use orderbook pricing 2021-06-26 08:19:37 +02:00
Matthias
d59a38665c Remove support for order_book_max 2021-06-25 20:36:39 +02:00
Matthias
a0893b291a Fix strategy samples to use runmode.value
closes #5073
2021-06-05 09:03:03 +02:00
Matthias
0358b5365f Add "unfilledtimeout-unit" to full config sample 2021-05-20 06:26:07 +02:00
Matthias
92186d89a2 Add some changes to strategytemplate 2021-05-09 09:56:36 +02:00
Matthias
dbf33271b5 Small doc changes 2021-04-26 19:52:26 +02:00
wr0ngc0degen
869a45a031
Merge pull request #2 from freqtrade/develop
update develop from base repo
2021-04-25 05:50:03 +02:00
wr0ngc0degen
2eda25426f
fix typo in sample_strategy.py
fix copy-paste issue in populate_sell_trend docstring
2021-04-25 05:47:59 +02:00
Joe Schr
31b0e3b5e8 add distribution graph to example notebook 2021-04-24 13:29:59 +02:00
Matthias
52c482cecf Convert trailing and roi defaults to skdecimal 2021-04-14 20:36:34 +02:00
Matthias
e820814809 Default-stoploss-hyperopt should use decimal space, nto real 2021-04-14 20:32:34 +02:00
Matthias
9d4b5cc6bb Fix typo 2021-04-03 19:56:20 +02:00
Matthias
41cb2a6451 Merge branch 'develop' into pr/rokups/4596 2021-04-03 17:00:37 +02:00
Matthias
6555454bd2 Remove more ticker_interval occurances 2021-04-03 16:54:47 +02:00
Matthias
771fc05749 Update sample strategy with hyperoptable Parameters 2021-04-03 16:32:16 +02:00
Matthias
f6211bc00e new-config should include API config 2021-03-28 20:23:57 +02:00
Matthias
fc8478111e Improve strategy template 2021-03-28 20:06:30 +02:00
Matthias
b191663a7e Adapt hyperopt templates to be better aligned
closes #3027
2021-03-14 19:49:46 +01:00
Matthias
1b3b389109 Remove binanceje, add ftx to config selector
closes #4441
2021-02-26 07:58:15 +01:00
Matthias
c71ecd3680 Fix wrong pair-content in strategy-analysis notebook and documentation
closes #4399
2021-02-22 20:04:36 +01:00
Matthias
11b20d6932 Add config to hyperopt_loss_function documentation 2021-02-17 07:04:29 +01:00
Matthias
009a447d8a Adjust documentation for new parameter in loss functions 2021-02-16 19:51:09 +01:00
Edvinas Selskas
694f55c0a5
Use suggested link 2021-02-06 14:43:50 +00:00
Edvinas Selskas
bc8fda8d63
Update sample_strategy.py
Fix test
2021-02-06 03:13:53 +00:00
Edvinas Selskas
0a43988f3f
Fix sample strategy documentation link
Noticed that the current link is dead. I think this would be the most appropriate link in this case.
2021-02-06 03:02:37 +00:00
Matthias
e8e5acc2e2 Fix import in strategy template 2021-02-03 20:15:08 +01:00
Matthias
8ee264bc59 Don't use profit_percent for backtesting results anymore 2021-01-24 08:58:41 +01:00
Matthias
53c208197d Add bot_name setting
allows naming the bot to simply differentiate when running different
bots.
2021-01-16 16:19:49 +01:00
Matthias
512e163355 change docstring to better reflect what the method is for 2020-12-31 09:48:49 +01:00
Matthias
9d5961e224 Rename method to custom_stoploss 2020-12-20 11:17:50 +01:00
Matthias
277342f167 Rename flag to "use_custom_stoposs" 2020-12-20 11:12:22 +01:00
Matthias
8574751a07 Add stoploss_value to strategy template 2020-12-20 10:49:22 +01:00
Matthias
4d60a4cf4e Add warning to StochRSI in sample strategy
closes #2961
2020-11-21 11:32:46 +01:00
Matthias
164105acf2 Adjust startup_candle_count of sample strategies 2020-11-14 08:25:57 +01:00
Matthias
253b7b763e Apply isort to freqtrade codebase 2020-09-28 19:40:46 +02:00
Matthias
87e4a82041 Merge branch 'develop' into bt_add_maxdrawdown 2020-08-09 08:34:36 +02:00
Fredrik81
eba73307e4
Update strategy_methods_advanced.j2
Fix def confirm_trade_exit arguments
2020-08-07 01:13:36 +02:00
Matthias
ea5e47657a Remove ticker_interval from jupyter notebook 2020-07-03 20:27:32 +02:00
Matthias
d56f9655e2 Update notebook with new statistics example 2020-07-03 07:20:43 +02:00
Matthias
c2a6f70b4c Merge branch 'develop' into keep_dataframe_noapi 2020-06-30 07:46:52 +02:00
Matthias
b77a105778 Add CORS_origins key to configuration 2020-06-24 20:32:19 +02:00
Matthias
eef3c01da7 Fix function header formatting 2020-06-18 19:49:05 +02:00
Matthias
8b186dbe0e Add additional test scenarios 2020-06-18 06:50:06 +02:00
Matthias
84329ad2ca Add confirm_trade* methods to abort buying or selling 2020-06-18 06:50:06 +02:00
Matthias
bc821c7c20 Add documentation for bot_loop_start 2020-06-18 06:50:06 +02:00
hroff-1902
64881a94e2
Merge branch 'develop' into timeframe 2020-06-02 15:56:34 +03:00
Matthias
f9bb1a7f22 Update more occurances of ticker_interval 2020-06-02 10:02:55 +02:00
Matthias
cadc50ce9b Replace more occurances of ticker_interval with timeframe 2020-06-01 20:49:40 +02:00
Matthias
b2025597aa Build-commands should write timeframe instead of ticker interval 2020-06-01 20:16:22 +02:00
Matthias
dc7f0f1187 Add api-server to default config samples 2020-05-31 09:57:31 +02:00
jpribyl
bd51cd332b Cancel all open orders after receiving /stop or ctrl+c 2020-05-01 10:36:11 -06:00
Matthias
a1bbeaa668 Merge branch 'develop' into interface_ordertimeoutcallback 2020-03-15 14:56:14 +01:00
hroff-1902
51f52c8609
Merge branch 'develop' into no-ticker-2 2020-03-13 16:43:52 +03:00
Matthias
2b1c146940 Add default volume > 0 filter 2020-03-10 16:05:33 +01:00
hroff-1902
c49fefc94d
Merge pull request #3044 from freqtrade/default_max_order_book
order_book_max - change example setting
2020-03-10 11:17:27 +03:00
Matthias
5da63d399b Reduce default order_book_max to 1 2020-03-09 17:38:25 +01:00
Matthias
856ba203d9 Update hyperopt samples docstring 2020-03-09 15:46:46 +01:00
hroff-1902
3208faf7ed Do not use ticker where it's not a ticker 2020-03-08 20:47:02 +03:00
hroff-1902
dea4ef957e
Merge pull request #2982 from freqtrade/rate_side_optional
Rate side configurable
2020-03-04 16:07:08 +03:00
Matthias
4d8430c687 Use string typehints to avoid import errors 2020-03-01 09:43:20 +01:00
Matthias
cd54875f03 Add documentation link to advanced functions 2020-03-01 09:40:07 +01:00
Matthias
791148176c Add callback functions to new-strategy --template advanced 2020-03-01 09:35:53 +01:00
Matthias
848054d140 Fix jupyter notebook example -
generate_candlestick_graph() needs a filtered pairlist, not a list
containing all pairs
2020-02-29 15:53:54 +01:00
Matthias
b6839289ec Add price_side to sample config files 2020-02-26 20:03:13 +01:00
Yazeed Al Oyoun
0eeafcd157 matched commenting on previous sample_strategy.py 2020-02-23 16:56:55 +01:00
Yazeed Al Oyoun
f25d6224dd modified sample_strategy 2020-02-23 16:22:19 +01:00
Yazeed Al Oyoun
e04c2dda2c fixed typo 2020-02-22 23:58:31 +01:00
Yazeed Al Oyoun
5ac6244465 added keltner channel and uo 2020-02-22 23:50:26 +01:00
Yazeed Al Oyoun
2957756275 final touches plus 2020-02-22 23:39:01 +01:00
Yazeed Al Oyoun
b49b9b515e final touches 2020-02-22 23:37:15 +01:00
Yazeed Al Oyoun
259dc75a30 some order and added weighted BB indicator to list 2020-02-22 23:10:46 +01:00
hroff-1902
bba7a38144
Merge pull request #2906 from freqtrade/fix/jupyterexample
Update data-analysis documentation to properly initialize configuration
2020-02-14 22:36:35 +03:00
Matthias
d5a298bbb7 Add sentence from suggestion 2020-02-14 20:12:26 +01:00
hroff-1902
a0a14a1078 freqtrade/templates/subtemplates/exchange_bittrex.j2 2020-02-14 01:08:17 +03:00
Matthias
81f849811f Initcap Freqtrade 2020-02-13 06:30:59 +01:00
Matthias
2efa1c164f Revert data-location section 2020-02-12 21:43:43 +01:00
Matthias
483cba453a Fix last occurence of data_location 2020-02-12 19:58:23 +01:00
Matthias
d6b9397579 Fix typo in datadir key 2020-02-12 06:40:13 +01:00
Matthias
7be9f0067e Update data-analysis documentation to properly initialize configuration 2020-02-11 20:51:39 +01:00
hroff-1902
0ba8d13de9
Merge pull request #2831 from xmatthias/feat/new_config
introduce new-config subcommand
2020-02-09 22:11:37 +03:00
Matthias
b536d50194 Address PR Review 2020-02-09 11:41:29 +01:00
Matthias
34f04668c1 Add template for bittrex 2020-02-08 14:02:51 +01:00
Matthias
52f4187129 Allow exchange templates to configure outside-options too 2020-02-08 13:51:55 +01:00
hroff-1902
28184201e4 Align sample_hyperopt_advanced.py to hyperopt_interface.py 2020-02-08 02:47:50 +03:00
Matthias
4be3f053ca Exclude trading against BNB bases on binance 2020-01-30 21:42:48 +01:00
Matthias
940bfbee96 Move start_config out of build_commands file 2020-01-29 21:28:01 +01:00
Matthias
dd83cb1b95 Extract selection generation to a seperate method 2020-01-29 20:27:38 +01:00
Matthias
c80d8f432a Add exchange templates 2020-01-29 07:13:38 +01:00
Matthias
122c916356 Add first version of config_deploy 2020-01-29 07:03:22 +01:00
Matthias
9c2f21b07e
Merge pull request #2788 from drdux/develop
added missing word in hyperopt loss example
2020-01-22 12:47:08 +01:00
Daniel Goller
bff0a09537 line was too long 2020-01-21 16:14:19 +00:00
Daniel Goller
c1c2717bc9 added missing word in hyperopt loss example 2020-01-21 15:49:24 +00:00
Matthias
c9b0b4c7a4 Add plot_config to optional plot 2020-01-08 19:35:00 +01:00
Matthias
de23f3928d Add trailing_only_offset to template and sample 2019-12-30 09:58:20 +01:00
Matthias
c6d2233978 Convert StrategyLoader to static loader 2019-12-23 10:23:48 +01:00
hroff-1902
26a7af85ea Add trailing_space() into AdvancedSampleHyperOpt 2019-12-01 03:31:03 +03:00
Matthias
210d468a9b Reinstate mfi ... 2019-11-21 20:01:08 +01:00
Matthias
5f8fcebb88 Parametrize hyperopt file 2019-11-21 19:49:04 +01:00
Matthias
f23f659ac5 Use strings instead of subtemplates 2019-11-21 19:28:53 +01:00
Matthias
f26c40082d Allow selection of templates for strategy 2019-11-21 07:21:19 +01:00
Matthias
b3dbb81838 Add subtemplates 2019-11-21 07:13:56 +01:00
Matthias
5e5ef21f61 Align example imports 2019-11-21 06:49:16 +01:00
Matthias
be4a4180ae Use single line comments for samples 2019-11-21 06:40:30 +01:00
Matthias
cbb187e9b9 Use constant for Strategy and hyperopt userdirpaths 2019-11-21 06:32:45 +01:00
Matthias
37f8139432 Small stylistic fixes 2019-11-21 06:32:45 +01:00
Matthias
8a1d02e185 Update numpy imports in sample strategies 2019-11-21 06:32:45 +01:00
Matthias
8c2ff2f46e Add template for new-hyperopt command 2019-11-21 06:32:45 +01:00
Matthias
e3cf6188a1 Add first version of new-strategy generation from template 2019-11-21 06:32:45 +01:00
Matthias
471bd4d889 Small stylistic fixes 2019-11-21 06:32:45 +01:00
Matthias
258d4bd6ae move sample-files from user_data to templates folder 2019-11-21 06:32:45 +01:00