Commit Graph

117 Commits

Author SHA1 Message Date
Matthias 1da091dea3 ProtectionManager should return the lock just created 2021-09-19 19:41:19 +02:00
Matthias 564e0b9a1a Switch performanceFilter to use Minutes lookback resolution
closes #5060
2021-09-18 09:10:25 +02:00
Matthias 12c12d42df Add documentation for days parameter in PerformanceFilter 2021-09-18 08:30:44 +02:00
sergeykhliustin 982deeedf0
Update freqtrade/persistence/models.py
Co-authored-by: Matthias <xmatthias@outlook.com>
2021-09-17 18:23:13 +03:00
Sergey Khliustin 54ef36a497 Updates after review to PerformanceFilter days param 2021-09-17 13:45:44 +03:00
Sergey Khliustin 457e738b4a Added days parameter to PerformanceFilter 2021-09-16 14:48:02 +03:00
Matthias ef9c1addcf Add expired to list of canceled statuses 2021-08-27 19:54:53 +02:00
Matthias e03784d98d Fix filled exception
closes #5404
2021-08-12 05:02:56 +00:00
Matthias cf27968b97 Properly preserve trade's low during backtesting 2021-08-09 19:38:56 +02:00
Matthias c5e3348b89 Migrations for indexes should run in a seperate session
closes #5349
2021-07-31 16:36:28 +02:00
Matthias aa34889c04 Don't run migrations twice 2021-07-30 07:14:35 +02:00
kevinjulian dd809f756b run mypy 2021-07-22 02:34:20 +07:00
kevinjulian 49886874aa rename to buy_tag 2021-07-21 20:05:35 +07:00
kevinjulian c558fc0b17 fix feedback 2021-07-20 20:40:32 +07:00
Kevin Julian edf9c08f06
Merge branch 'develop' into feat/kevinjulian/add-buy-signal-name 2021-07-20 19:19:46 +07:00
kevinjulian 7d04005218 add test and migration 2021-07-20 16:14:48 +07:00
kevinjulian 9e63bdbac9 feat: add buy signal name 2021-07-20 04:58:20 +07:00
Matthias b41c234440 Extract Closed profit calculation to trade object 2021-07-12 06:54:06 +02:00
Eugene Schava d54de72471 "/profit N" command should print best pair for the same period of time, not for all trades 2021-06-28 23:42:09 +03:00
Matthias c65b4e5d3b Small fix to models 2021-06-13 11:20:22 +02:00
Matthias 756904f985 Set sell_reason to stoploss when closing the trade as stoploss
closes #5101
2021-06-08 21:21:29 +02:00
Matthias 66de5df1d1 Update sqlite init method 2021-05-27 11:38:28 +02:00
Matthias b82f7a2dfd Update orders-migrations to work with new sqlalchemy syntax 2021-05-27 11:38:28 +02:00
Matthias a01d05997e Add Trade.commit method for easy use 2021-05-27 11:38:28 +02:00
Matthias 6fb32c3594 Use commit instead of .flush() 2021-05-27 11:38:28 +02:00
Matthias eaa47ff335 Don't use autocommit 2021-05-27 11:38:28 +02:00
Matthias c31cb67118 Further changes for sqlalchemy 1.4 2021-05-27 11:38:28 +02:00
Matthias 2f79958acb Move declarative_base import to import from .orm 2021-05-27 11:38:28 +02:00
Matthias cc064f1574 String columns should have a max-length defined
otherwise MySql will not work.
2021-05-22 10:12:23 +02:00
Matthias 6acb2eb2b6 Add average column to orders table 2021-05-21 20:35:39 +02:00
Matthias 6b2a38ccfb Add absolute Profit to apiserver 2021-05-15 19:39:46 +02:00
Matthias 6eb947ae09 Move static Trade functions to right class 2021-04-28 06:37:40 +02:00
Matthias 9f6f3e0862 Address ZeroDivisionExceptiond
closes #4764 closes #4617
2021-04-20 21:41:49 +02:00
Matthias 37c8fd6ad7 Remove arrow from models.py 2021-04-13 11:55:03 +02:00
Matthias 9a58a85347 Don't export "hum" date versions for trade objects.
They are not used and have a rather high performance penalty due to
using arrow.get
2021-04-13 06:17:11 +02:00
Matthias 7132aefd60 Rename Trade.session to Trade._session 2021-04-05 08:46:12 +02:00
Matthias 0407bf755f Use .query.session to make sure the scoped session is used properly 2021-04-05 07:28:51 +02:00
shubhendra 537ad059bc
Remove unnecessary use of comprehension
Signed-off-by: shubhendra <withshubh@gmail.com>
2021-03-21 17:14:46 +05:30
Matthias 3b99f04a78
Merge pull request #4535 from freqtrade/fix/backtestperformance
Improve backtest performance after enabling compounding
2021-03-13 16:51:00 +01:00
Matthias 0320c8dc92 Improve tests for trades_proxy 2021-03-13 15:51:27 +01:00
Matthias d1acc8092c Improve backtest performance 2021-03-13 10:17:14 +01:00
Matthias 441d3fad39
Merge pull request #4513 from freqtrade/fix/4511
Fix stoploss order problem with FTX
2021-03-11 19:39:44 +01:00
Matthias 0db5c9746f
Merge pull request #4454 from freqtrade/backtest_compound_speed
Backtest compound, wallet, ...
2021-03-10 10:07:40 +01:00
Matthias 99583bbd0c Fix problem with FTX
where cancelled orders are "cancelled", not "canceled"
2021-03-09 20:21:08 +01:00
Matthias 3d65ba2dcb Add rpc method to delete locks 2021-03-01 07:51:33 +01:00
Matthias b2e9295d7f Small stylistic fixes 2021-02-27 19:57:42 +01:00
Matthias 60db6ccf45 Add test for subclassing 2021-02-27 09:33:00 +01:00
Matthias 03eb23a4ce 2 levels of Trade models, one with and one without sqlalchemy
Fixes a performance issue when backtesting with sqlalchemy, as that
uses descriptors for all properties.
2021-02-27 09:33:00 +01:00
Matthias 0754a7a78f total_open_trades_stake should support no-db mode 2021-02-27 09:32:59 +01:00
Matthias 20455de2a9 Small enhancements to docs 2021-02-27 09:32:59 +01:00