Commit Graph

4070 Commits

Author SHA1 Message Date
Matthias 6688a2c112 Merge branch 'develop' into doc/pricing_reasons 2019-12-24 06:33:51 +01:00
Matthias f487dac047 FIx bug in dry-run wallets causing balances to stay there after trades
are sold
2019-12-24 06:27:11 +01:00
Matthias 0ac5e5035c Remove unused import 2019-12-23 20:43:31 +01:00
Matthias c6b9c8eca0 Forgot to save 2019-12-23 19:32:31 +01:00
Matthias ecbb77c17f Add forgotten option 2019-12-23 15:13:55 +01:00
Matthias bb8acc61db Convert datadir within config to Path
(it's used as Path all the time!)
2019-12-23 15:11:29 +01:00
Matthias c6d2233978 Convert StrategyLoader to static loader 2019-12-23 10:23:48 +01:00
Matthias 6d5aca4f32 Convert hyperoptloss resolver to static loader 2019-12-23 10:09:08 +01:00
Matthias 248ef5a0ea Convert HyperoptResolver to static loader 2019-12-23 10:06:19 +01:00
Matthias 560acb7cea Convert ExchangeResolver to static loader class 2019-12-23 10:03:18 +01:00
Matthias 5fefa9e97c Convert PairlistResolver to static loader 2019-12-23 09:56:12 +01:00
Matthias 1c5f8070e5 Refactor build_paths to staticmethod 2019-12-23 09:53:55 +01:00
hroff-1902 98eed4f2ed
Merge pull request #2695 from freqtrade/custom_pairlock
Improve pairlocking mechanism to allow usage from within strategy
2019-12-22 15:03:24 +03:00
hroff-1902 4f88857442
Merge pull request #2694 from freqtrade/unfilled_strategy
Add unfilledtimeout to strategy overrides
2019-12-22 14:34:25 +03:00
Matthias ffd7034c00 Persist dry-run trade per default 2019-12-22 10:16:16 +01:00
Matthias 9835312033 Improve pair_lock handling 2019-12-22 09:46:00 +01:00
Matthias 1ff0d0f1fa Add unfilledtimeout to strategy overrides 2019-12-22 09:35:06 +01:00
hroff-1902 95bd9e8e0b No underscores in cli options 2019-12-22 00:17:51 +03:00
Matthias fc5764f9df Edge small cleanup 2019-12-19 19:55:21 +01:00
Matthias 6507a26cc1 Fix some tests after merge 2019-12-18 20:16:53 +01:00
Matthias e72c6a0d94 use only first part of the currency to get wallet-amount (!!) 2019-12-18 20:02:15 +01:00
Matthias 834a0ed620 Merge branch 'develop' into safe_sell_amount 2019-12-18 19:45:31 +01:00
Matthias 21622ac313 Rename get_ticker to fetch_ticker 2019-12-18 16:34:30 +01:00
hroff-1902 cf4c3642ce Minor improvements in data.history 2019-12-18 01:06:03 +03:00
hroff-1902 021fa1ca1a
Merge pull request #2678 from hroff-1902/dataprovider-history-split-refresh
Dataprovider history: split refresh part
2019-12-18 00:30:47 +03:00
hroff-1902 3a542bce62
Merge pull request #2674 from freqtrade/bt_trade_open_price
Pre-calculate open_trade_price
2019-12-17 21:51:13 +03:00
Matthias c5e6a34f25 Remove unnecessary parenteses 2019-12-17 19:30:04 +01:00
hroff-1902 1537389617 Remove startup_candles argument in refresh_data 2019-12-17 18:23:31 +03:00
hroff-1902 b2796f99b6 Remove redundant refresh_pair_history 2019-12-17 14:06:21 +03:00
hroff-1902 60f89c8c01 Split refresh from load_data/load_pair_history 2019-12-17 13:43:42 +03:00
Matthias a2964afd42 Rename profit_percent to profit_ratio to be consistent 2019-12-17 08:53:30 +01:00
Matthias 539b5627fd Fix typo 2019-12-17 08:31:44 +01:00
Matthias 362a40db6f Update docstring 2019-12-17 07:09:56 +01:00
Matthias 861a7834fc Call calc_open_price() whenever necessary 2019-12-17 07:08:36 +01:00
Matthias 307ade6251 Cache open_trade_price 2019-12-17 07:02:02 +01:00
hroff-1902 0277cd82ea Make mypy happy 2019-12-16 23:25:57 +03:00
hroff-1902 a6fc743d85 Align code in _download_*_history() 2019-12-16 22:12:26 +03:00
hroff-1902 fa968996ed Remove useless check 2019-12-16 22:01:26 +03:00
hroff-1902 4cd45b6535 Rename download_*_history as non-public 2019-12-16 21:57:03 +03:00
hroff-1902 2af9ffa7f2 Align refresh_backtest_ to each other 2019-12-16 21:43:33 +03:00
hroff-1902 39197458f4
Merge pull request #2661 from freqtrade/wallet_dry
Introduce Dry-Run Wallet
2019-12-16 14:00:11 +03:00
Matthias ce845ab092 Improve docstring for dry-run wallet method 2019-12-15 11:03:40 +01:00
Matthias 56e13c8919 Enhance documentation for dry-run wallet 2019-12-15 10:55:15 +01:00
Matthias 23d467eb0d Show simulation note also in restserver 2019-12-15 10:41:57 +01:00
Matthias c741b67c3c Adjust tests for dry_run wallet simulation 2019-12-15 10:39:52 +01:00
Matthias 5a5741878c Improve dry-run calculations 2019-12-15 10:26:56 +01:00
Matthias f0bbc75038 Combine dry_run wallet into original Wallets class 2019-12-15 09:48:35 +01:00
Matthias fda8f7e305 Introuce WalletDry - supporting dry-run wallets 2019-12-15 09:38:18 +01:00
Matthias 931d24b5a8 Have dry_run_wallet default to 1000 2019-12-15 09:26:17 +01:00
hroff-1902 26ab108890 Fix mypy errors in develop 2019-12-15 01:10:09 +03:00
hroff-1902 1cc174c007
Merge pull request #2624 from freqtrade/backtest_refactor
handle and document ROI=-1
2019-12-14 23:11:36 +03:00
hroff-1902 e26f563f4b
Merge pull request #2655 from freqtrade/avoid_keyerror_backtest
Use first pair of pairlist to get fee
2019-12-14 23:10:40 +03:00
Matthias f81c49ce6d Fix typo causing a trailing "tic" in /show_config output 2019-12-14 19:53:20 +01:00
Matthias 2f7181e236
Merge pull request #2648 from hroff-1902/hyperopt-random-state
Seed hyperopt random_state if not passed
2019-12-14 15:54:59 +01:00
Matthias 2275a1539e Remove default symbol from get_fee() 2019-12-14 13:22:42 +01:00
hroff-1902 f2266ea9f4
Use shorter range for seeded random-state 2019-12-14 15:17:45 +03:00
Matthias a48c0ad868 Use first pair of pairlist to get fee
Use this instead of hardcoded ETH/BTC - so backtesting works with
exchanges without ETH/BTC pair
2019-12-14 12:55:02 +01:00
Matthias 014c18ead2 Improve output from show_config when trailing_stop is active 2019-12-13 20:27:06 +01:00
hroff-1902 6c4f424887
Merge pull request #2651 from freqtrade/dry_amount
Round amount to precision also for dry-runs
2019-12-13 13:13:20 +03:00
Matthias 04257d8ecc Add tests for safe_sell_amount 2019-12-13 07:06:54 +01:00
Matthias b69f5afaaf Round amount to precision also for dry-runs 2019-12-13 06:59:10 +01:00
Matthias 5db883906a Try to verify available amount on the exchange 2019-12-13 06:52:33 +01:00
Matthias 703924d6c4
Merge pull request #2643 from freqtrade/mins
Remove min (plural) from codebase
2019-12-12 14:27:39 +01:00
Matthias 330b8cf8a1 space before unit ... 2019-12-12 14:08:44 +01:00
hroff-1902 6e778ad710 Seed hyperopt random_state if not passed 2019-12-12 03:12:28 +03:00
Matthias f44e3dc319
Merge pull request #2642 from hroff-1902/fix-hyperopt-trailing
Fix generation of hyperopt trailing params
2019-12-11 19:53:42 +01:00
Matthias d8b2d39f2f
Merge pull request #2628 from freqtrade/rpc/sell_duration
Telegram / sell duration
2019-12-11 07:15:00 +01:00
Matthias 7c7ca1cb90 Remove min (plural) from codebase 2019-12-11 07:12:37 +01:00
Matthias 1058e5fb72 No plural for min 2019-12-11 06:48:40 +01:00
Matthias b2a9b87be3
Merge pull request #2632 from freqtrade/dependabot/pip/develop/scikit-learn-0.22
Bump scikit-learn from 0.21.3 to 0.22
2019-12-10 16:20:39 +01:00
Matthias 3f9f29ba4e Fix Flake8 import error 2019-12-10 16:10:51 +01:00
Matthias 390db9503f Show humanized and minutes version of duration 2019-12-10 15:12:36 +01:00
hroff-1902 3448f86263 Suppress scikit-learn FutureWarnings from skopt imports 2019-12-10 15:46:29 +03:00
hroff-1902 641e3fdf7a Fix generation of hyperopt trailing params 2019-12-10 03:32:43 +03:00
hroff-1902 0e4ef33d6a
Merge pull request #2581 from hroff-1902/hyperopt-list
Add hyperopt-list and hyperopt-show commands
2019-12-10 00:30:26 +03:00
hroff-1902 8431b54b21 Fix index limits handling 2019-12-09 23:50:40 +03:00
hroff-1902 5fc357ee10 Fix typo 2019-12-09 23:43:50 +03:00
Matthias de33ec4250 use sell_row.open also when the active ROI value just changed 2019-12-09 16:52:12 +01:00
hroff-1902 a9f7e9fb7a Fix NO_CONF; fix tests 2019-12-09 12:49:04 +03:00
Matthias e4655c9b07 include trade-duration with sell-notification 2019-12-08 14:07:46 +01:00
hroff-1902 a7d6dc9d3a
Merge pull request #2625 from freqtrade/validate_stakecurrency
Validate stake-currency against pairlist
2019-12-07 22:08:46 +03:00
Matthias ed7207d4c8 Show pairs which are wrong ... 2019-12-07 19:31:15 +01:00
Matthias bb9235c715 Validate stake-currency against pairlist - making sure only correct
pairs are in the whitelist
2019-12-07 15:42:47 +01:00
Matthias 45d12dbc83 Avoid a few calculations during backtesting 2019-12-07 15:28:56 +01:00
Matthias 3163cbdf8a Apply special case for negative ROI 2019-12-07 15:18:12 +01:00
Matthias 3091869115 refactor get_close_rate out of get_sell_trade-entry 2019-12-07 14:30:14 +01:00
hroff-1902 d21ae4edd3 Add fixes for comments in the review 2019-12-05 23:29:31 +03:00
Matthias 4b0a4c936a Fix hyperopt with ticker_interval from strategy 2019-12-05 20:31:02 +01:00
hroff-1902 b61f43835d Make flake happy 2019-12-05 01:11:06 +03:00
hroff-1902 017a94adc1 Merge develop 2019-12-05 01:08:38 +03:00
hroff-1902 54694dd3a4 Manual merge of some conflicts in hyperopt 2019-12-04 23:14:47 +03:00
hroff-1902 8dd9b5c6fb
Merge pull request #2606 from freqtrade/volume_tester
Subcommand: test-pairlist
2019-12-04 18:31:37 +03:00
Matthias 51f074ba4b Don't print quote-currency for -1 2019-12-04 12:25:57 +01:00
Matthias 0ba804d051 Address first part of feedback 2019-12-04 12:14:37 +01:00
Matthias 054484ad73 load_pair_history should not return None, but an empty dataframe if no
data is found
2019-12-04 06:57:44 +01:00
Matthias 298e8b2332 Add testcase for test_pairlist 2019-12-03 15:10:27 +01:00
Matthias 683406b57d correct fallback to stake_currency 2019-12-03 06:36:43 +01:00
hroff-1902 406dfe21f8
Merge pull request #2492 from hroff-1902/hyperopt-trailing-space
Add trailing stoploss hyperspace
2019-12-03 00:23:14 +03:00
Matthias 0b03c6c786 Implement to json 2019-12-02 07:00:38 +01:00
Matthias 150a497cb4 output pairlist after fetching all 2019-12-02 06:56:19 +01:00