Commit Graph

7600 Commits

Author SHA1 Message Date
Matthias 6e85280467 Adjust imports 2020-01-26 13:46:01 +01:00
Matthias 80ed1c3e14 Move utils to commands 2020-01-26 13:46:01 +01:00
hroff-1902 1ae3fb4d2f
Merge pull request #2803 from freqtrade/edge_no__init__
Move edge-module out of __init__.py
2020-01-26 15:21:21 +03:00
Matthias 3f2542fcbc Move edge-module out of __init__.py 2020-01-26 10:44:42 +01:00
hroff-1902 f6278da23f
Merge pull request #2802 from freqtrade/try_fixrandomfailure
Fix missed mock
2020-01-25 16:05:22 +03:00
Matthias a3ac05cc16 Fix missed mock 2020-01-25 13:38:13 +01:00
Matthias a97bb10877
Merge pull request #2801 from freqtrade/backtest_arguments_2
Backtest arguments instead of dictionary
2020-01-25 13:11:23 +01:00
Matthias bd4dd8403b Fix type-errors with stake_amount 2020-01-25 12:49:37 +01:00
hroff-1902 52f0ed5310 Adjust tests 2020-01-25 12:49:37 +01:00
hroff-1902 f4c7edf551 No args for backtest(), use arguments 2020-01-25 12:49:37 +01:00
Yazeed Al Oyoun f8db7f1709 added ask price, bid price, immediate ask quantity, and immediate bid quantity to check_depth_of_market_buy. also added a line that mentions if delta condition was satisfied or not. 2020-01-25 04:17:41 +01:00
Matthias 72c273aaed Add test for closed trade case 2020-01-23 21:07:21 +01:00
Matthias 70b9bd9c0e Verify if trade is closed before acting on Stoploss_on_exchange 2020-01-23 20:36:48 +01:00
Matthias ea5ac1efb5 Don't handle stoploss if there is an open regular order 2020-01-23 20:24:23 +01:00
Matthias a83de241e4 Check for closed stoploss-orders first 2020-01-23 19:40:31 +01:00
Matthias f5a44e4fc4 open_order_id should be None when handling stoploss orders 2020-01-23 19:38:35 +01:00
Matthias 1d141cd406 Merge branch 'develop' into stoploss_market 2020-01-23 19:35:05 +01:00
hroff-1902 82797e768f
Merge pull request #2796 from freqtrade/update_wallets_after_foresell
update wallets after forcesell
2020-01-23 00:10:47 +03:00
hroff-1902 9176064047
Merge pull request #2795 from freqtrade/tests_buy_rate
Add parametrized tests for get_buy_rate
2020-01-23 00:05:40 +03:00
Matthias bc4c469797 Merge branch 'develop' into stoploss_market 2020-01-22 20:51:52 +01:00
Matthias aad10ceee3 Add threading lock object for /forcesell
Protects against stoploss_on_exchange order recreation
in case of /forcesell (it's a timing issue, so may or may not happen).
2020-01-22 20:50:09 +01:00
Matthias 58ceda4b90 update wallets after forcesell 2020-01-22 19:54:55 +01:00
Matthias f36bc80ad1 Add parametrized tests for get_buy_rate 2020-01-22 19:43:02 +01:00
hroff-1902 2b4d821d30
Merge pull request #2794 from freqtrade/rename_get_target_bid
rename get_target_bid
2020-01-22 17:19:04 +03:00
Matthias 8a940eb0c1 Align price finding function name on buy side with get_sell_rate 2020-01-22 14:46:28 +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
hroff-1902 055f3fd1fd
Merge pull request #2790 from freqtrade/backtest_optimize
Fix typo in sell-reason table generation
2020-01-22 12:29:20 +03:00
hroff-1902 40843566d0
Merge pull request #2791 from freqtrade/windows_ci_fix
upgrade pip in windows environment
2020-01-22 12:16:04 +03:00
Matthias e13045b599 upgrade pip in windows environment 2020-01-22 06:17:13 +01:00
Matthias 7d2d0235a0 Fix typo in sell-reason table generation 2020-01-22 06:08:34 +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
hroff-1902 66415d48d4
Merge pull request #2787 from freqtrade/dry_run_optional
remove default value calls for dry_run
2020-01-20 23:08:17 +03:00
hroff-1902 d54b1dade3
Merge pull request #2786 from freqtrade/fix/stoploss_on_exchange_dryrun
Fix/stoploss on exchange dryrun
2020-01-20 22:50:38 +03:00
Matthias 1bf475fa1a Remove .get calls for dry_run - it's a mandatory property 2020-01-20 20:24:40 +01:00
Matthias 099bbc5c7f Fix bug when stoploss_on_exchange in combination with dry-run
does not sell orders
2020-01-20 20:14:40 +01:00
Matthias 6e3336cb30 Adapt test to verify behaviour of stoploss_on_exchange in dry-run 2020-01-20 20:10:06 +01:00
Matthias eb6c7f8595
Merge pull request #2781 from freqtrade/dependabot/pip/develop/ccxt-1.21.76
Bump ccxt from 1.21.56 to 1.21.76
2020-01-20 14:44:11 +01:00
Matthias 10a706851a
Merge pull request #2782 from freqtrade/dependabot/pip/develop/pytest-5.3.3
Bump pytest from 5.3.2 to 5.3.3
2020-01-20 11:40:57 +01:00
dependabot-preview[bot] 8d4515935a
Bump pytest from 5.3.2 to 5.3.3
Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.3.2 to 5.3.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/5.3.2...5.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 07:49:18 +00:00
dependabot-preview[bot] 9474cb1792
Bump ccxt from 1.21.56 to 1.21.76
Bumps [ccxt](https://github.com/ccxt/ccxt) from 1.21.56 to 1.21.76.
- [Release notes](https://github.com/ccxt/ccxt/releases)
- [Changelog](https://github.com/ccxt/ccxt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ccxt/ccxt/compare/1.21.56...1.21.76)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 07:48:46 +00:00
Matthias 10d9db72a8 Adjust tests slightly 2020-01-19 20:06:04 +01:00
Matthias cf9331919f move exchange-specific order-parsing to exchange class
Related to stoploss_on_exchange in combination with trailing stoploss.

Binance contains stopPrice in the info, while kraken returns the same
value as "price".
2020-01-19 19:54:30 +01:00
Matthias 7a22aaa111 UPdate documentation to reflect that stoploss-on-exchange is also
available for kraken
2020-01-19 14:40:09 +01:00
Matthias f1629c907a Implement stoploss for kraken 2020-01-19 14:40:09 +01:00
Matthias e6f1912443 Use named arguments for stoploss create_order call 2020-01-19 14:40:09 +01:00
Matthias 16b34e11ca Complete rename of stoploss_limit to stoploss 2020-01-19 14:40:09 +01:00
Matthias 256fc2e78c Rename stoploss_limit to stoploss 2020-01-19 13:30:56 +01:00
Matthias da0af489a2 Adjust tests to pass in order_types instead of rate 2020-01-19 13:25:41 +01:00
Matthias 8d2e0bfd62 Move rate-calcuation for stoploss-limit order to exchange 2020-01-19 13:13:09 +01:00