Commit Graph

733 Commits

Author SHA1 Message Date
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
Matthias c272944834 Lock pair until a new candle arrives 2020-08-24 11:09:09 +02:00
Matthias 26f45c8323 Improve logmessage for trailing stoploss 2020-08-24 06:56:56 +02:00
Matthias 38809acde8 Don't rerun for known closed orders 2020-08-24 06:50:43 +02:00
Matthias c3a367e4f0 Merge branch 'develop' into db_keep_orders 2020-08-23 19:14:57 +02:00
Matthias ec94961437 Reduce loglevel of "using cached rate" 2020-08-23 19:14:28 +02:00
Matthias 9ba9f73706 Improve logging, don't search for buy orders in refind_lost_order 2020-08-23 16:04:32 +02:00
Matthias 3d7e800ff2 Remove test code 2020-08-22 16:08:54 +02:00
Matthias 11e69bdd65 Update open trades too 2020-08-22 15:49:32 +02:00
Matthias fd33282eb1 Add handle_insufficient exception 2020-08-22 15:48:00 +02:00
Matthias 3b4446339e Use fetch_order_or_stoploss order 2020-08-22 09:30:25 +02:00
Matthias 39beb5c837 Add method to update fees on closed trades 2020-08-22 08:59:54 +02:00
Matthias 2d6bcbb454 Fix small error in trades updating 2020-08-21 19:51:31 +02:00
Matthias 357d7714ec Add docstring to update_trade_state 2020-08-21 07:31:22 +02:00
Matthias 3be14933d4 Add comment explaining update_open_orders 2020-08-21 07:24:49 +02:00
Matthias 0b6014fae3 update_trade_state should take the order id directly - not from the trade object 2020-08-21 07:17:52 +02:00
Matthias 838985f6a0 Don't reset open-order-id just yet
it's needed to get the fees
2020-08-21 07:13:13 +02:00
Matthias cfa352ecf2 Disable refind_lost_order for now 2020-08-14 11:25:20 +02:00
Matthias 552aaf7945 add refind order logic 2020-08-14 10:59:55 +02:00
Matthias 8458a380b8 Improve order catchup 2020-08-14 09:52:47 +02:00
Matthias 95efc0d688 Add open_order_updater 2020-08-14 09:52:47 +02:00
Matthias 1a305ea8b0 Fix migrations to use unique key 2020-08-14 09:52:46 +02:00
Matthias 4434a54d59 Add unique key to order-Model 2020-08-14 09:52:46 +02:00
Matthias 0af9e913d4 Timestamps are in ms 2020-08-14 09:52:46 +02:00
Matthias 396e781bf4 Update orders 2020-08-14 09:52:46 +02:00