Commit Graph

352 Commits

Author SHA1 Message Date
Matthias 1c0946833d Fix bug in exit-count detection 2022-03-25 16:06:03 +01:00
Matthias dcfa3e8648 Update SellType to ExitType 2022-03-25 06:55:37 +01:00
Matthias e545ac1978 Revert condition to exploit lazy evaluation 2022-03-23 19:41:57 +01:00
Matthias 4fd0681265 Combine stake_amount recalculation 2022-03-20 20:00:30 +01:00
Matthias cfa9458bcc Merge branch 'develop' into feat/short 2022-03-13 15:38:12 +01:00
Matthias 9107819c95 Fix order migration "forgetting" average 2022-03-13 14:42:15 +01:00
Matthias d2a163e2cf rename column to liquidation_price 2022-03-07 17:16:33 +01:00
Matthias 6360ef029c Simplify and align liquidation price handling 2022-03-06 16:27:55 +01:00
Matthias 667054e1ad Reorder methods in trade object 2022-03-06 15:07:07 +01:00
Matthias 46e17c9762 Fix stoploss_pct set wrongly for short trades 2022-03-06 15:07:04 +01:00
Matthias cc38f0656d Explicitly check for None to determine if initial stoploss was set
closes #6460
2022-03-06 15:06:57 +01:00
Matthias be4bc4955c Explicitly check for None to determine if initial stoploss was set
closes #6460
2022-03-05 14:12:14 +01:00
Matthias 8943d42509 Update telegram notifications to properly detect shorts 2022-03-04 19:42:33 +01:00
Sam Germain 488da9b875 Merge branch 'develop' into feat/short 2022-03-03 13:51:52 -06:00
Matthias e9456cdf15 Update trade response to use a single Order object 2022-03-02 19:58:08 +01:00
Matthias 17c9c3caf3 Enable orders via API 2022-03-02 19:58:08 +01:00
Matthias 1b07ad92cf Merge branch 'feat/short' into pr/samgermain/6467 2022-02-28 20:07:19 +01:00
Matthias 1d27cbd01f Simplify leverage_prep interface 2022-02-28 19:34:10 +01:00
Matthias 33be14e7e2 Update stake_amount calculation with multiple entries when using leverage 2022-02-27 17:09:29 +01:00
Matthias 1b6548c8d8 Don't modify leverage through DCA 2022-02-27 15:44:23 +01:00
Matthias eed516a5c6 Update DCA logic to some extend 2022-02-27 15:44:23 +01:00
Matthias bcfa73d492 Add "nr_of_successfull_entries" 2022-02-27 15:44:23 +01:00
Sam Germain 78194559f4 persistence.adjust_stop_loss accounts for leverage 2022-02-26 13:55:37 -06:00
Matthias 018c620057 Fix 0 Division error on exchanges without average
closes #6461
2022-02-26 08:19:45 +01:00
Matthias 6562511137 add trade_direction to trade object 2022-02-24 20:05:56 +01:00
Matthias fd936e26ae Merge branch 'develop' into feat/short 2022-02-24 19:56:42 +01:00
Matthias 53452c8d64
Merge pull request #6437 from freqtrade/update_trade
Migrate trade updating to use order model
2022-02-23 19:56:02 +01:00
Matthias 8952829adc Merge branch 'develop' into feat/short 2022-02-23 06:28:15 +01:00
Matthias 1f9ed0beff Add test for wal mode 2022-02-22 19:39:55 +01:00
Matthias 02ce0dc02e Set journal mode to wal for sqlite databases
closes #6353
2022-02-22 19:31:58 +01:00
Matthias fddacfedaa Remove returntype 2022-02-20 16:47:02 +01:00
Matthias a24586cd41 Update migrations for new column 2022-02-20 16:32:04 +01:00
Matthias dc7bcf5dda Update failing test 2022-02-20 14:29:26 +01:00
Matthias db540dc990 Orders should also store fee if in receiving currency 2022-02-20 14:24:27 +01:00
Matthias 508e677d70 Fix some tests to call update_trade with order object 2022-02-19 16:43:38 +01:00
Matthias 1b1216fc87 Rename update_trade method 2022-02-19 16:43:38 +01:00
Matthias c13eed2178 use Order object to update trade 2022-02-19 16:43:38 +01:00
Matthias 3785f04be7 Handle empty min stake amount as observed on FTX
(closes #6429)
2022-02-19 06:39:43 +01:00
Matthias e981d644e1 Add toto-lev for order-leverage 2022-02-16 19:24:59 +01:00
Matthias 119d4d5204 select_order should use ft_order_side, not the exchange specific one 2022-02-12 17:06:03 +01:00
Matthias 0c6d92a7a6 Merge branch 'develop' into feat/short 2022-02-11 17:02:04 +01:00
Matthias 9f47853661
Merge pull request #6235 from freqtrade/backtest_order_timeout
Backtest order timeout
2022-02-09 07:12:35 +01:00
Matthias 303b12efd8
Merge pull request #6273 from freqtrade/pg_migrations
Update database migrations for PG and mariadb
2022-02-06 14:39:02 +01:00
Matthias 808cefe526 Update order_selection logic 2022-02-05 16:28:47 +01:00
Matthias 4ea79a32e4 Use Order object for ft_timeout check 2022-02-05 16:28:47 +01:00
Matthias 7ac44380f7 Extract backtest order closing to models class 2022-02-05 16:28:46 +01:00
Matthias f7a1cabe23 Add first version to fill orders "later" in backtesting 2022-02-05 16:28:21 +01:00
Matthias 6ed237a72a
Merge pull request #6272 from stash86/fix-docs
Add more info on Telegram's status message
2022-02-05 16:22:45 +01:00
Sam Germain de557f1386 models.update removed TODO-lev 2022-02-03 17:48:34 -06:00
Sam Germain f58b92bb86 exchange.create_order removed default for leverage 2022-02-03 17:48:08 -06:00