Commit Graph

757 Commits

Author SHA1 Message Date
Matthias d5cf837c0f Parse regular cancel_order call to update orders table 2021-02-06 09:23:10 +01:00
Matthias aec22c5c3d introduce skip_open_order_update parameter
skips startup-open-order-update
closes #4128
2021-02-05 20:17:53 +01:00
Matthias b8cb39462c Move get_trade_stake_amount to wallets
this way it can be easier used by other functions
2021-02-03 20:00:33 +01:00
Matthias cfd0bb8964 Extract min stake amount from bot to exchange class 2021-02-02 19:47:21 +01:00
Matthias 16dad8b6d4 Allow custom_stoploss to cooperate with stoploss on exchange 2021-01-30 20:11:18 +01:00
Tho Pham (Alex) 8f529f48da
Update freqtrade/freqtradebot.py use is_open.is_(True)
Co-authored-by: Matthias <xmatthias@outlook.com>
2021-01-26 07:38:25 +07:00
Tho Pham (Alex) c22cccb55b
Fix operator does not exist: boolean = integer 2021-01-25 12:24:47 +07:00
Matthias a8bae3a381 Don't update trade fees for dry-run orders 2021-01-17 20:31:27 +01:00
Matthias 91f8667881 DOn't update open orders in dry-run mode 2021-01-06 09:57:36 +01:00
Matthias f11fd2fee1 Sort imports 2020-12-23 17:00:02 +01:00
Matthias 67193bca3d Move pairlists to be a plugin submodule 2020-12-23 16:54:35 +01:00
Matthias 7eab33de08 Merge branch 'develop' into plugins/protections_backtest 2020-12-13 10:31:33 +01:00
Matthias 181b88dc75 Don't accept too high fees, assuming they are erroneous
Forces fallback to "detection from trades"
2020-12-12 10:52:27 +01:00
Matthias c784e5780e
Merge pull request #4054 from freqtrade/models_open_price
Models open price
2020-12-11 06:31:02 +01:00
Matthias 201cc67e05 Rename open_trade_price to "open_trade_value" 2020-12-10 19:21:20 +01:00
Matthias f1af2972e2 Ensure non-defined attributes fail correctly
Remove unnecessary check, as stoploss cannot be none (it's mandatory and
a number)
2020-12-09 07:55:08 +01:00
Matthias c993831a04 Add protections to startup messages 2020-12-07 10:57:01 +01:00
Matthias ad746627b3 Fix lock-loop 2020-12-07 08:23:10 +01:00
Matthias 6d0f16920f Get Longest lock logic 2020-12-07 08:23:10 +01:00
Matthias 8f958ef723 Improve login-mixin structure 2020-12-07 08:23:10 +01:00
Matthias 8d9c66a638 Add LogginMixin to freqtradebot class to avoid over-logging 2020-12-07 08:23:10 +01:00
Matthias 59091ef2b7 Add helper method to calculate protection until 2020-12-07 08:23:10 +01:00
Matthias fe0afb9883 Implement calling of per-pair protection 2020-12-07 08:23:10 +01:00
Matthias ff7ba23477 Simplify enter_positions and add global pairlock check 2020-12-07 08:23:10 +01:00
Matthias f39a534fc0 Implement global stop (First try) 2020-12-07 08:23:10 +01:00
Matthias 2fbbeb970b Gracefully handle cases where no buy price was found
closes #4030
2020-12-04 07:42:16 +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 5f63fdd8ad Use better lock message 2020-10-20 19:40:39 +02:00
Matthias e513871fd5 Persist pairlocks
closes #3034
2020-10-20 19:21:13 +02:00
Matthias 8cdc795a44 Rename persistence.init to init_db 2020-10-16 08:15:18 +02:00
Matthias 44e374878c Fix mypy errors due to new version 2020-10-12 19:28:14 +02:00
Matthias 253b7b763e Apply isort to freqtrade codebase 2020-09-28 19:40:46 +02:00
Matthias 77d0189695 Remove not needed argument in update_trade_state 2020-09-19 09:37:11 +02:00
Matthias 962fed24b0 Readd refind_order logic 2020-09-14 17:34:13 +02:00
Matthias 77c28187a6 Don't run refind order on stoploss 2020-09-11 20:06:05 +02:00
Matthias aa8832f70e Convert select_order to use ft_is_open flag 2020-09-11 07:12:10 +02:00
Matthias 85d90645c7 Remove duplciate check for buy orders 2020-09-10 15:42:34 +02:00
Matthias 25938efee6 Add partial test for refind_order 2020-09-09 07:50:52 +02:00
Matthias f6ebe51314 Add test for update_open_orders 2020-09-06 19:32:00 +02:00
Matthias 5fba446e9a Merge branch 'develop' into db_keep_orders 2020-09-06 15:22:13 +02:00
Matthias b4da36d6e9 Fix small typo and add small testcase 2020-09-06 15:05:47 +02:00
Matthias a78d61150c Deleting must delete orders first 2020-09-06 14:28:24 +02:00
Matthias 43035a3f76
Merge pull request #3724 from freqtrade/fix/3084
Forcesell should use the available methods for handling a trade correctly
2020-09-01 15:11:05 +02:00
Matthias d6d3a02a23 Merge branch 'develop' into db_keep_orders 2020-09-01 07:51:16 +02:00
Matthias a4e3edbcc5 Fix stoploss_last_update beein updated with date object in wrong
timezone
2020-09-01 07:10:48 +02:00
Matthias b2373fccfd Adjust tests as send_msg is only called once 2020-08-27 06:35:28 +02:00
Matthias 9c0a3fffd7 Avoid double notifications in case of partially filled buy orders 2020-08-26 22:17:43 +02:00
Matthias add78414e4 Don't overwrite cancel_reason 2020-08-26 21:24:47 +02:00