Commit Graph

1240 Commits

Author SHA1 Message Date
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 a4ec8984cd
Merge pull request #6685 from freqtrade/bt_load_history
Backtesting load history
2022-04-15 16:06:20 +02:00
Matthias b1a6db8d29 Fix bad usage of base_currency 2022-04-13 19:24:21 +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 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
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 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 282804463c Add Documentation for /forceexit without parameter 2022-04-10 09:07:51 +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 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 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 aee0cfd17a forcebuy_enable -> force_entry_enable 2022-04-08 13:39:41 +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
மனோஜ்குமார் பழனிச்சாமி 7bf3475fbd
Update fiat_convert.py 2022-04-07 10:28:55 +05:30
மனோஜ்குமார் பழனிச்சாமி aa76191636 fixed tests 2022-04-06 07:19:00 +05:30
மனோஜ்குமார் பழனிச்சாமி 28f4a3b373 updated for PR #6653 2022-04-06 07:05:43 +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 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 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
Ron Klinkien dd61886341 Readded missing keyboard commands
Rename forcesell methods to forceexit
2022-04-03 12:29:29 +02:00
Matthias 2d2bea17e7 sell_order_status -> exit_order_status 2022-04-03 11:17:01 +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 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
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
Ron Klinkien 3d8cfa7ea5 Several fixes
Code optimizations
2022-03-31 08:30:20 +02:00
Ron Klinkien 6c811b3de1 Made regex strings raw
Removed unwanted changes
2022-03-30 19:57:02 +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
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 440967e483 Update some tests 2022-03-28 19:17:22 +02:00
Matthias f70166270d Update pricing to use entry/exit pricing 2022-03-28 07:07:46 +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 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 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 46ca773c25 Simplify some rpc code 2022-03-24 19:58:53 +01:00
Matthias b1e3ead88b Merge branch 'develop' into feat/short 2022-03-22 20:28:38 +01:00
Matthias 8556e6a053 Automatically assign buy-tag to force-buys
closes #6544
2022-03-20 09:33:47 +01:00
Matthias 7868e50141 Merge branch 'develop' into feat/short 2022-03-18 08:18:17 +01:00
Matthias c63b5fbbbf Use last to get rates for /balance endpoints 2022-03-13 17:53:52 +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 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
Matthias 6e10439f90 Map usdt fiat to correct coingecko fiat 2022-03-09 17:35:41 +01:00
Matthias e492bf3159 Update order_types to use entry/exit definition 2022-03-09 06:37:08 +01:00
Matthias 8943d42509 Update telegram notifications to properly detect shorts 2022-03-04 19:42:33 +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 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 437b12fab7 Use trade.* props where possible 2022-02-27 17:16:38 +01:00
Matthias 536f54cfc6 is_short for forceentries 2022-02-27 15:44:23 +01:00
Matthias bcfa73d492 Add "nr_of_successfull_entries" 2022-02-27 15:44:23 +01:00
Matthias 7883160ce0 Update to fstrings 2022-02-26 08:23:13 +01:00
Matthias 018c620057 Fix 0 Division error on exchanges without average
closes #6461
2022-02-26 08:19:45 +01:00
Matthias 3b1b66bee8 Prevent backtest starting when not in webserver mode
#6455
2022-02-25 07:40:49 +01:00
Matthias d07a24a54f Update tests for new wallet RPC structure 2022-02-24 20:05:56 +01:00
Matthias a2b17882e6 Don't use separate position field in /currency endpoint 2022-02-24 20:05:56 +01:00
Matthias e54e6a7295 Update wallets to also keep Positions 2022-02-24 20:05:56 +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 d610b6305d Improve /balance output by removing trailing zeros 2022-02-19 16:40:30 +01:00
Matthias 78a93b6052 noqa 2022-02-15 20:15:03 +01:00
Matthias 3787b747ae Simplify api schema by not using union types 2022-02-15 20:07:02 +01:00
Matthias d0adc4ee62
Merge pull request #6391 from lukasgor/lg/feat/add-buy-tag-to-forcebuy
feature: add buy tag to forcebuy
2022-02-11 19:37:46 +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
lukasgor 6511b3bec2 fix: rename buy_tag to entry_tag 2022-02-11 15:31:15 +01:00
lukasgor d563bfc3d0 feature: add buy tag to forcebuy 2022-02-11 13:38:33 +01:00
Matthias be84a028c1 Avoid mixed types in the api for /stats 2022-02-10 07:03:19 +01:00
Matthias af984bdc0d Update comment regarting NaT replacement 2022-02-09 09:32:53 +01: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 45c03f1440 Docstrings are evaluated, while comments are not 2022-02-09 07:02:44 +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
Joe Schr 926b017981 Fix freqUI charts not displaying when dtype(datetime) column has NaT values
fix dataframe_to_dict() issues by replacing NaT empty string and
prepare for proper `.replace({NaT})` fix
2022-02-08 17:09:37 +01:00
Joe Schr 118ae8a3d0 Fix api_schemas/json_encoders by manually converting NaT values to empty Strings
makes import of datetime columns more robust by first checking
if value is null because strftime can't handle NaT values

use `isnull()` because it handles all NaN/None/NaT cases
2022-02-08 17:09:29 +01:00
Stefano Ariestasia 099a03f190 flake8 2022-02-07 01:52:59 +00:00
Stefano Ariestasia 6d91a5ecbd Change "buy" and "sell" to "entry" and "exit" 2022-02-07 01:40:05 +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 da73e754b4 Explicit map coingecko symbol to ID for bnb and sol
closes #6361
2022-02-06 14:20:09 +01:00
Stefano Ariestasia 2a3ab1ef61 1 more line to be hidden 2022-02-06 07:08:27 +00:00
Stefano Ariestasia 4cf514e293 fix flake8 2022-02-06 03:16:56 +00:00
Stefano Ariestasia 131b2d68d8 reduce complexity (flake8) 2022-02-06 03:04:23 +00:00
Stefano Ariestasia 0477070faa hide some lines if trade is closed 2022-02-06 02:49:02 +00:00
Stefano Ariestasia c4a54cc9cd refinement of status 2022-02-06 02:31:14 +00:00
Stefano Ariestasia cfaf13c90f update 2022-02-06 02:21:16 +00: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
Matthias f8faf748df Simplify prepare_buy_details 2022-02-03 19:47:03 +01: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 45e533fc3e Add leverage/short properties to api responses 2022-02-01 07:08:43 +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 aea84dc117 Limit should default to None when calling pair_candles 2022-01-29 20:16:58 +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 fb3c67d86b Accept that keys sometimes are not provided 2022-01-28 17:07:34 +01:00
Matthias 15d5389564 Update /health endpoint to be in local timezone 2022-01-28 10:33:35 +01:00
Verbalinsurection 660f474ab8 Fix ETH duplicate in CoinGecko 2022-01-28 10:26:31 +01:00
Stefano Ariestasia bd1b991448
Merge branch 'freqtrade:develop' into fix-docs 2022-01-28 06:57:13 +09: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 7afaf4b5d4 Add `/forceshort` command 2022-01-26 19:53:46 +01:00
Matthias e2ddea79ee Add "market" to /show_config 2022-01-26 19:49:15 +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
Matthias 4998f3bdd7 Add order_side to forcebuy endpoint 2022-01-26 19:07:44 +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 67651e013e Add /forceenter endpoint 2022-01-26 07:10:38 +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 78986a0def I sort managed to fit it on another row. Impressive. 2022-01-24 14:09:23 +02:00
Reigo Reinmets bf62fc9b25 Add /health endpoint that returns last_process timestamp, fix issue #6009 2022-01-23 21:58:46 +02:00
Matthias 7429f535c1 Imrpove code by reusing available properties 2022-01-23 18:59:09 +01:00
Matthias f090dcc597 Merge branch 'develop' into feat/short 2022-01-22 17:56:01 +01:00
Matthias a35b0b519a Update forcebuy endpoint to support stake-amount
closes #6223
2022-01-22 13:26:02 +01:00
Stefano Ariestasia fe5f61694b
Merge branch 'freqtrade:develop' into pos_adjust 2022-01-22 21:25:16 +09: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 a43c088448 Allow @informative in webserver mode 2022-01-22 07:11:59 +01:00
Stefano Ariestasia 3249f9fb98 Add max buys on status table 2022-01-21 08:27:54 +00:00
Stefano Ariestasia f3a152a5a2
Merge branch 'freqtrade:develop' into pos_adjust 2022-01-21 17:11:36 +09: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
Stefano Ariestasia 748381c5cd Update based on flake8 2022-01-21 00:35:22 +00:00
Matthias a6c7f45545 Update webserver backtseting to reuse prior results 2022-01-20 06:51:48 +01:00
Matthias e9baabce6f Store results when backtesting via API 2022-01-20 06:35:18 +01:00
Stefano Ariestasia 62ea1a445e add lines to show_config message 2022-01-20 10:03:26 +09:00
Stefano Ariestasia 3925e8a7e3 add "# Buys" column to status table 2022-01-19 16:14:21 +09:00
Matthias 9c9c9f0171 Readd trailing white line 2022-01-17 20:00:35 +01:00
Stefano Ariestasia f9a935b9a3 Update rpc_manager.py 2022-01-17 16:37:06 +09:00
Stefano Ariestasia b6ad0f52e9
Merge branch 'freqtrade:develop' into fix-docs 2022-01-17 10:59:16 +09:00
Stefano Ariestasia edd2ea3699 Update rpc_manager.py 2022-01-17 10:57:10 +09:00
Matthias 69c00db7cd Only show /balance % improvement if trades have been made 2022-01-16 13:39:50 +01:00
Matthias 711a6a6dbc Merge branch 'develop' into pr/xataxxx/6079 2022-01-02 22:21:41 +01:00
Matthias ddfbe55e7c Merge branch 'develop' into feat/short 2022-01-01 19:16:49 +01:00
Matthias c9296dc9a0 Uvloop_helper should use "get_running_loop" 2021-12-31 17:27:42 +01:00
Matthias c06496e66f Update some more TODO-lev's 2021-12-31 16:49:47 +01:00
Matthias 550a1eef91 Reduce "cleanup" slowdown in telegram 2021-12-31 12:54:15 +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
Aezo Teo fa12098bff changed to suggestion 2021-12-30 20:05:17 +08:00
Aezo Teo ee7cbcd69f fixed flake8 and mypy errors 2021-12-29 21:48:50 +08:00
Aezo Teo b6092e2e3c amended L/S for status table 2021-12-29 21:30:31 +08:00
Aezo Teo 1f773671ed updated tests and telegram 2021-12-29 21:24:12 +08:00
Matthias 5a546855e6 Import TTLCache from cachetools
Importing from cachetools.ttl is deprecated, and will be removed in 5.0
2021-12-27 19:30:17 +01:00
Reigo Reinmets de79d25caf Refactoring to use strategy based configuration 2021-12-24 12:38:43 +02:00
Reigo Reinmets ace0a83c0c Allow forcebuy to also buy more when trade is already open. 2021-12-23 11:57:53 +02:00
Matthias 40036bc710 Force dry-run for webserver backtest mode
closes #6094
2021-12-20 19:41:33 +01:00
Aezo Teo ea418bc9ac added stats for long short 2021-12-19 23:24:46 +08:00
Matthias ea38b58081 Add base_currency to allowed webhook fields
closes #6075
2021-12-16 20:18:01 +01: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
Matthias b90c5e56fb Fix webserver schema bug when running in webserver mode 2021-12-11 19:46:35 +01:00
Matthias 8fdef2900e Increment API version to let clients know this is now available 2021-12-11 19:41:30 +01:00
Matthias 857f4ec125 Remove exception-handlers which catch exceptions that are never raised 2021-12-11 16:20:09 +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 edd80c3006 Merge branch 'develop' into feat/short 2021-12-09 06:34:07 +01:00