Commit Graph

174 Commits

Author SHA1 Message Date
Matthias 119d4d5204 select_order should use ft_order_side, not the exchange specific one 2022-02-12 17:06:03 +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
Matthias 29879bb415 Update wording to entry/exit 2022-02-03 19:11:35 +01:00
Matthias 7aae9565c7 Only look at buy orders when looking to recalculate trade value 2022-01-30 14:08:42 +01:00
Stefano Ariestasia ed71f777a3 Merge branch 'fix-docs' of https://github.com/stash86/freqtrade into fix-docs 2022-01-26 07:07:00 +00:00
Stefano Ariestasia 1f26709aca changes 2022-01-26 07:06:52 +00:00
Stefano Ariestasia 7c975df42a
Merge branch 'freqtrade:develop' into fix-docs 2022-01-25 10:30:03 +09:00
Reigo Reinmets 6613e3757a Additional fix 2022-01-23 18:09:57 +02:00
Reigo Reinmets 51b94889b2 Just in case also check for closed to avoid counting in canceled orders. 2022-01-23 17:56:41 +02:00
Reigo Reinmets 8c79d55739 Fix issue #6268 2022-01-23 17:44:16 +02:00
Stefano Ariestasia 480ed90a02 create to_json function for Order 2022-01-23 11:33:06 +00:00
Matthias bd4014e1e6 Small cleanup 2022-01-22 15:01:27 +01:00
Stefano Ariestasia 05046b9eef Add more info on status message 2022-01-22 06:54:49 +00:00
Matthias 3d94d7df5c Update migrations for mariadb 2022-01-21 19:31:11 +01:00
Matthias c265f39323 Update sequences for postgres 2022-01-21 17:19:39 +01:00
Matthias 19948a6f89 Try fix sequence migrations 2022-01-21 16:49:08 +01:00
Matthias 5dca183b7b Combine order and Trade migrations to better facilitate migrations in advanced DB systems 2022-01-21 16:49:08 +01:00
Reigo Reinmets 3de843ab2c Add eager-loading for orders. This allows access to trade.orders in all callbacks. 2022-01-17 13:23:37 +02:00
Reigo Reinmets 93adb436f8 Fix flake8 intention issue. 2022-01-14 20:25:29 +02:00
Reigo Reinmets 320c9ccf90 Unify functions and make it easy to get a list of filled buy orders 2022-01-14 20:02:35 +02:00
Reigo Reinmets ffe69535d8 These could be properties. 2022-01-13 20:31:03 +02:00
Reigo Reinmets 30d293bfec Fix bug with None in backtesting. 2022-01-10 20:16:11 +02:00
Reigo Reinmets 813a2cd23b Add useful helper methods for adjust_trade_position implementation 2022-01-08 17:18:37 +02:00
Reigo Reinmets 099dc07baf No longer needed since recalc_trade_from_orders always calls it. 2021-12-26 20:02:20 +02:00
Reigo Reinmets 3aca3a7133 Use parentheses instead of backslash 2021-12-18 18:55:47 +02:00
Reigo Reinmets 462270bc5a Fix a case where the amount was not recalculated. Added additional temporary logging. 2021-12-16 22:57:56 +02:00
Reigo Reinmets 71147d2899 Attempt to support limit orders for position adjustment. 2021-12-11 18:25:05 +02:00
Reigo Reinmets b7bf3247b8 Only adjust stoploss if it's set. 2021-12-10 23:17:12 +02:00
Reigo Reinmets c179951cca Expect stake_amount, not actual amount of pair from strategy for DCA. 2021-12-10 20:42:24 +02:00
Reigo Reinmets 00366c5c88 Additional unit-tests 2021-12-09 20:03:41 +02:00
Reigo Reinmets fde6779873 Some code improvements. Still some bugs. 2021-12-09 14:47:44 +02:00
Matthias 4eb9038358 Some more fixes to % formatting 2021-11-11 15:06:16 +01:00
Matthias f9e5a25b36 Add docstring style to Contributing 2021-11-09 07:48:25 +00:00
Matthias f7dc47b1c8 Add test for exit_timeout_count 2021-11-06 13:10:41 +01:00
Matthias 7a907a7636 Add Emergencyselling after X timeouts have been reached 2021-11-06 11:48:49 +01:00
Matthias 431b96de98 Merge branch 'develop' into pr/theluxaz/5710 2021-11-03 19:43:36 +01:00
Matthias dffe76f109 Don't double-loop to generate profits 2021-10-31 10:49:56 +01:00
Matthias c579fcfc19 Add tests and documentation for unlock_reason 2021-10-30 09:51:09 +02:00
incrementby1 e9d71f26b3 small changes 2021-10-29 00:03:20 +02:00
incrementby1 658006e7ee removed wrong use of map and filter function 2021-10-28 23:29:26 +02:00
incrementby1 02e69e1667 Changes to unlock_reason:
- introducing filter
	- replaced get_all_locks with a query for speed
	. removed logging in backtesting mode for speed
	. replaced for-loop with map-function for speed

Changes to models.py:
	- changed string representation of Pairlock to also contain reason and active-state
2021-10-28 15:16:07 +02:00
incrementby1 c3f3bdaa2a Add "allow_position_stacking" value to config, which allows rebuys of a pair
Add function unlock_reason(str: pair) which removes all PairLocks with reason
Provide demo strategy that allows buying the same pair multiple times
2021-10-26 00:04:40 +02:00
theluxaz b51f946ee0 Fixed models and rpc performance functions, added skeletons for tests. 2021-10-25 23:43:22 +03:00
Matthias 22dd2ca003 Fix mypy type errors 2021-10-24 15:18:29 +02:00