Commit Graph

5473 Commits

Author SHA1 Message Date
Daniel Goller 2640dfee93 Revert "Added ConstPairList handler to skip validation of pairs if you want to backtest a pair that's not live any more, e.g. expiring contracts."
This reverts commit 13da8f9368.
2020-11-12 11:27:30 +00:00
Daniel Goller 916776bb53 Option to skip exchange validation, required to backtest pairs that are not live on the exchange any more. 2020-11-09 08:37:38 +00:00
Daniel Goller 13da8f9368 Added ConstPairList handler to skip validation of pairs if you want to backtest a pair that's not live any more, e.g. expiring contracts. 2020-11-09 08:34:40 +00:00
Matthias 2af1c80fd5 Convert _rpc_show_config to static method 2020-11-08 11:26:02 +01:00
Matthias b58d6d38b5 Use correct fields in telegram 2020-11-03 08:59:11 +01:00
Matthias d1dab23283 Remove deprecated api fields 2020-11-03 08:59:11 +01:00
Matthias cf89a773da Standardize trade api outputs
there should be no difference between current_profit and close_profit
 it's always profit, and the information if it's a closed trade is available elsewhere
2020-11-03 08:58:57 +01:00
Matthias 887d78171c
Merge pull request #3857 from freqtrade/arrow_deprecation_timestamp
Convert timestamp to int_timestamp for all arrow occurances
2020-11-02 16:40:43 +01:00
Matthias e73203acb8 FIx bug with dmmp 2020-11-01 10:51:07 +01:00
Matthias Spiller 78874fa865 informative_pairs does not honor dataformat 2020-10-31 10:53:51 +00:00
Matthias f4d39f2a12 Improve test coverage of deploy_commands 2020-10-29 07:44:03 +01:00
Matthias 19fcbc92a7 Remove stake-currency for download-data - it's not needed 2020-10-29 07:43:40 +01:00
Matthias 5cb3735a57 Improve error when hyperopt-loss-function is missing 2020-10-28 07:58:55 +01:00
Matthias 72f61f4682 Remove optional, now is not optional 2020-10-27 10:08:24 +01:00
Matthias 5c8779b155 Sort imports 2020-10-27 08:11:57 +01:00
Matthias 6c913fa617 Fix locking - should round before storing to have a consistent picture 2020-10-27 08:01:31 +01:00
Matthias e602ac3406 Introduce Pairlocks middleware 2020-10-27 07:06:06 +01:00
Matthias b8c12f6576 Test if return value is an exception when downloading historic data 2020-10-23 07:50:40 +02:00
Matthias 9999017953 Fix small bug in case of duplicate locks 2020-10-22 08:04:48 +02:00
Matthias cf1a726198 Rename table to be inline with other table naming 2020-10-22 07:35:59 +02:00
Matthias a143f7bc43 Improve pairlock docstrings 2020-10-21 19:35:57 +02:00
Matthias fd6018f67a Fix dependency sorting 2020-10-21 06:21:13 +02:00
Matthias adffd402ea Replace some pointless occurances of arrow 2020-10-20 20:11:38 +02:00
Matthias 7a092271c5 Merge branch 'develop' into arrow_deprecation_timestamp 2020-10-20 20:01:54 +02:00
Matthias 5f63fdd8ad Use better lock message 2020-10-20 19:40:39 +02:00
Matthias 64e680d7ee Document new api method 2020-10-20 19:30:00 +02:00
Matthias 1156f5e686 Use constant for times 2020-10-20 19:21:13 +02:00
Matthias 0daf77f313 Don't check for lock start date 2020-10-20 19:21:13 +02:00
Matthias cd2866eaec Add rest endpoint for /locks 2020-10-20 19:21:13 +02:00
Matthias 7a9768ffa6 Add /locks Telegram endpoint 2020-10-20 19:21:13 +02:00
Matthias 7caa6cfe31 Add tests for pairlock 2020-10-20 19:21:13 +02:00
Matthias e513871fd5 Persist pairlocks
closes #3034
2020-10-20 19:21:13 +02:00
Matthias 6eab20e337 Use constant to format datetime 2020-10-20 19:21:13 +02:00
Matthias 2d04c2dd4f Fix small bug when cancel-order does not contain id
happens with kraken ...
2020-10-20 06:24:46 +02:00
Matthias cf2ae788d7 Convert backtesting rows to Tuples for performance gains 2020-10-18 17:16:57 +02:00
Matthias 5d3a67d324 Don't debug-log during backtesting.
Even though log-messages are surpressed, calling "debug" will always
have to do something.
2020-10-18 16:38:16 +02:00
Matthias b80a219d03 Improve typehints for backtesting 2020-10-18 16:35:23 +02:00
Matthias 380e6628e0 Merge branch 'develop' into feat/backtest_speedup_serialize 2020-10-18 16:19:04 +02:00
Matthias 2591a34db4 Don't use arrow objects for backtesting 2020-10-18 16:18:52 +02:00
Matthias 8cdc795a44 Rename persistence.init to init_db 2020-10-16 08:15:18 +02:00
Matthias ec713ff5ae Convert _rpc_analysed_history_full to static method 2020-10-16 06:26:57 +02:00
Matthias 07da21e633 Fix problem when limit is > max allowed limit 2020-10-13 20:38:02 +02:00
Matthias 8165cc11df Change get_next_limit_in_list to use list comprehension 2020-10-13 20:30:35 +02:00
Matthias 8962b6d5c9 Add Bittrex subclass to correctly handle L2 orderbook 2020-10-13 20:09:43 +02:00
Matthias 077374ac42 Implement generic solution for l2 limited limit 2020-10-13 20:02:47 +02:00
Matthias ecddaa663b Convert timestamp to int_timestamp for all arrow occurances 2020-10-13 06:24:01 +02:00
Matthias 44e374878c Fix mypy errors due to new version 2020-10-12 19:28:14 +02:00
Matthias 23bad8fd9f Rename DefahltHyperoptLoss function to ShortTradeDurHyperOptLoss 2020-10-10 14:22:29 +02:00
Matthias f676156ec7 Implement division/0 checks for win and loss columns in edge
closes #3839
2020-10-09 06:39:13 +02:00
Matthias 23278e52db remove obsolete logging statements 2020-10-08 20:22:59 +02:00
Matthias e8f2c09f08 Extract handling of left open trades to seperate method 2020-10-08 20:11:45 +02:00
Matthias 52502193c4 Backtesting should not double-loop for sell signals 2020-10-07 20:59:05 +02:00
Matthias 8c2f763193 Add test to ensure --hyperopt-loss is mandatory 2020-10-05 20:36:16 +02:00
Matthias 378b214a56 Remove hyperopt-loss default option
Force users to make a concious choice on a hyperopt-loss function
2020-10-05 19:27:28 +02:00
Matthias 584d095295
Merge pull request #3835 from freqtrade/hyperopt_trailing_output
Fix Hyperopt trailing output
2020-10-05 19:09:02 +02:00
Matthias b86a602ad4 Update typehint 2020-10-05 16:17:37 +02:00
Matthias 40b61bbfe3 Adjust trailing-stop to be python compliant 2020-10-05 07:44:12 +02:00
Matthias 301598bac9
Merge pull request #3818 from freqtrade/rpc/candlehistory
Rpc/candlehistory
2020-10-04 09:34:25 +02:00
Matthias c9b3766fa3 Remove rest_dump
it's just a wrapper around jsonify with no benefits
2020-10-04 09:14:46 +02:00
Matthias 63e1cba597 fix some typos 2020-10-04 09:12:52 +02:00
Matthias cb74c9bcde Fix hyperopt output 2020-10-03 13:27:06 +02:00
Matthias 176006da29 Sort imports 2020-10-02 07:00:45 +02:00
Matthias 66b77d2f53 Fix some types 2020-10-02 06:52:43 +02:00
Matthias 62110dc2fc Add buy / sell signal count to dataframe interface 2020-09-29 06:35:47 +02:00
Matthias 350fcc071e Don't use __code__
__code__ is a special method name used by python already
source:
https://docs.python.org/3/reference/datamodel.html#special-method-names
2020-09-29 06:35:47 +02:00
Matthias b38f68b3b0 Add 404 when strategy is not found 2020-09-29 06:35:47 +02:00
Matthias becccca3d1 Add test for __code__ loading 2020-09-29 06:35:47 +02:00
Matthias ba10bd7756 Add strategy code to __code__ 2020-09-29 06:35:47 +02:00
Matthias 4b6b7f8343 Add timeframe to candle return values 2020-09-29 06:35:47 +02:00
Matthias f82d39e1b0 Enhance restclient and add tests for new api methods 2020-09-29 06:35:47 +02:00
Matthias bb4993dc20 Add new endpoints to the documentation 2020-09-29 06:35:47 +02:00
Matthias c0654f3caf Add resiliancy against not having a analyzed dataframe yet 2020-09-29 06:35:47 +02:00
Matthias c59a1be154 show_config should not use freqtrade object 2020-09-29 06:35:47 +02:00
Matthias 1de248fe38 add list_available_pairs endpoint 2020-09-29 06:35:47 +02:00
Matthias 6a59740f83 Strategies should be a nested object 2020-09-29 06:35:47 +02:00
Matthias 32e6ea314c Return strategy with analyzed data 2020-09-29 06:35:47 +02:00
Matthias 18bbfdd341 Add /strategies endpoint 2020-09-29 06:35:47 +02:00
Matthias f227f6a755 Use passed in config object to allow this to work in webserver mode 2020-09-29 06:35:47 +02:00
Matthias bf0e75e2a5 Include data start and end date in dataframe api 2020-09-29 06:35:47 +02:00
Matthias b93ad8840a Return date column unmodified 2020-09-29 06:35:47 +02:00
Matthias 482f1faa88 Don't fail if no buy-signal is present 2020-09-29 06:35:46 +02:00
Matthias f5dc10e4ae Add pair_history endpoint 2020-09-29 06:35:46 +02:00
Matthias 677078350f Add plot_config endpoint 2020-09-29 06:35:46 +02:00
Matthias 133ca9c770 Convert types to support valid json 2020-09-29 06:35:46 +02:00
Matthias a38b33cd9c Support limiting analyzed history 2020-09-29 06:35:46 +02:00
Matthias 9dfbc1a7ff Add analyzed_history endpoint 2020-09-29 06:35:46 +02:00
Matthias 6977ffdbf9 Merge branch 'develop' into isort_config 2020-09-28 20:21:55 +02:00
Matthias 253b7b763e Apply isort to freqtrade codebase 2020-09-28 19:40:46 +02:00
Matthias 6e70ae6e95 Improve code quality 2020-09-27 19:40:55 +02:00
Matthias 8de9c46110 Document hyperopt-filename usage 2020-09-27 17:09:33 +02:00
Matthias 3cb1a9a5a9 Support loading results from a specific hyperopt history file 2020-09-27 17:03:30 +02:00
Matthias c42a924df8 Load latest file 2020-09-27 16:50:42 +02:00
Matthias ff96cf154c Keep hyperopt result history 2020-09-27 16:33:26 +02:00
Matthias b736691e0e Remove hyperopt --continue 2020-09-27 16:18:28 +02:00
Matthias bb27b236ce Remove unused arguments 2020-09-26 14:55:12 +02:00
Matthias ff3e2641ae generate_backtest_stats must take config options from the strategy
config

as a strategy can override certain options.
2020-09-25 20:47:37 +02:00
Matthias 378f03a5b1 Add relevant parameters to stored backtest result 2020-09-25 06:37:40 +02:00
Matthias fa18274e9a
Merge pull request #3798 from freqtrade/fix/wallets_dont_reset
Fix wallets dont reset
2020-09-24 19:22:14 +02:00
Matthias 66ca596e7c
Merge pull request #3787 from freqtrade/rpc/telegram_settings
Allow Notification finetuning for telegram messages
2020-09-23 10:20:43 +02:00
Matthias 6b46a35b19 Fix bug of balances not disappearing 2020-09-22 19:37:31 +02:00