Commit Graph

6343 Commits

Author SHA1 Message Date
Sam Germain
e7612a7eff Switched migrations.py check for stake_currency back to open_rate, because stake_currency is no longer a variable 2021-07-04 23:51:58 -06:00
Sam Germain
42dbb1fb6b Removed exchange file modifications 2021-07-04 23:50:59 -06:00
Sam Germain
20b806528f Set default leverage to 1.0 2021-07-04 23:12:07 -06:00
Sam Germain
d84534cd96 Long tests passing 2021-07-04 22:14:00 -06:00
Sam Germain
356ec4e44a Most of the short tests work again 2021-07-04 04:14:39 -06:00
Sam Germain
6b20a315e3 Updated tests to new persistence 2021-07-04 00:27:54 -06:00
Sam Germain
243173d2be Merge branch 'margin-db' of https://github.com/samgermain/freqtrade into margin-db 2021-07-03 21:24:54 -06:00
Matthias
e358860a69 Fix migrations, revert some parts related to amount properties 2021-07-03 17:03:12 +02:00
Sam Germain
76693800d9 all tests written for margin-db, but a lot fail 2021-07-03 03:09:43 -06:00
Sam Germain
17d562cbc8 Updated ratio calculation, updated short tests 2021-07-02 02:02:00 -06:00
Sam Germain
bf68fbe109 Kraken interest test comes really close to passing 2021-06-28 10:01:18 -06:00
Sam Germain
636de6d629 Made borrowed a computed property 2021-06-28 08:36:47 -06:00
Sam Germain
35a8c7bf53 Turned amount into a computed property 2021-06-28 08:19:20 -06:00
Sam Germain
25b7c7f43b persistence short stoploss test 2021-06-28 05:19:18 -06:00
Sam Germain
1bcab12b8f Added tests for interest and assigning leverage 2021-06-28 03:30:21 -06:00
Sam Germain
562f4309db test_calc_profit on shorts 2021-06-28 02:31:25 -06:00
Sam Germain
c98b9ab768 margin test_trade_close 2021-06-27 23:46:22 -06:00
Sam Germain
26fb904512 Third test should pass, but it's always slightly off 2021-06-27 04:55:30 -06:00
Sam Germain
13ec7610bf Two margin tests pass now, although 3 persistance tests fail due the field in Trade being _leverage instead of leverage 2021-06-27 03:38:56 -06:00
Sam Germain
5667c1ef23 added exception checks to LocalTrade.leverage and LocalTrade.borrowed 2021-06-27 00:19:58 -06:00
Sam Germain
57896e9ee9 Added types to setters 2021-06-26 21:34:58 -06:00
Sam Germain
4bd8a1b595 Set leverage and borowed to computed properties 2021-06-26 21:10:50 -06:00
Sam Germain
b77f39cfcb Wrote 1 test for shorting, not 2 tests, definately not 3 tests, 1 single test 2021-06-26 02:18:00 -06:00
Sam Germain
c6a818eb17 Created interest function 2021-06-22 21:17:14 -06:00
Sam Germain
759f563631 All previous pytests pass 2021-06-22 02:55:53 -06:00
Sam Germain
85632eec05 A lot of the pytests pass now, 1562 pass, 3 fail 2021-06-22 02:22:16 -06:00
Sam Germain
a9bd0700ed Adding templates for leverage/short tests 2021-06-21 21:26:31 -06:00
Sam Germain
9891c6e111 Fixed breaking changes, can run the bot again 2021-06-20 15:34:05 -06:00
Sam Germain
6c7c07d7c6 updated collateral_currency 2021-06-20 15:06:36 -06:00
Sam Germain
62226fe58c Added changes suggested in pull request, except for collateral_currency 2021-06-20 14:49:07 -06:00
Sam Germain
e198d7f3d2 Switched close_reason back to sell_reason 2021-06-20 02:53:59 -06:00
Sam Germain
73dbc7a2f4 Added changed to persistance/migrations 2021-06-20 02:25:22 -06:00
Sam Germain
1dd2a6a895 Merge branch 'develop' into margin-db 2021-06-20 01:31:47 -06:00
Sam Germain
e6a137d5b4 Updated Trade class 2021-06-20 00:58:38 -06:00
Sam Germain
abe0b3e3bd Updated LocalTrade and Order classes 2021-06-19 22:06:51 -06:00
Matthias
204758834d
Merge pull request #4308 from eatrisno/patch-1
Add Refresh / Reload Button on rpc/Telegram
2021-06-19 18:50:59 +01:00
Matthias
122943d835 Don't run filter again for pairlist generator
The generator implicitly runs filter - so it should not be ran again
as that would void generator caching.

closes #5103
2021-06-19 19:37:27 +02:00
Matthias
96fbb226c5 Implement better strategy checks
part of #2696
2021-06-19 19:32:29 +02:00
Matthias
a7f8342171 Add small documentation about reload disabling 2021-06-19 16:49:54 +02:00
Matthias
6e99e3fbbb Implement tests for message updating 2021-06-19 09:31:34 +02:00
Matthias
39b876e37a Log exchange responses if configured 2021-06-19 09:07:42 +02:00
Matthias
e40d481d09
Merge pull request #5014 from Rikj000/hyperopt-show-include-non-optimized-in-json
BugFix - `hyperopt-show --print-json` include non-optimized params
2021-06-19 07:42:15 +01:00
Rik Helsen
656bebd4da 🪲 Included completely non_optimized spaces in json + swapped merge dictionary order 2021-06-18 22:03:04 +02:00
Matthias
e1010ff592 Don't load protections from config if strategy defines a property 2021-06-18 19:55:53 +02:00
Rik Helsen
1567804509 kwargs merge dictionaries instead of using loops 2021-06-17 22:41:49 +02:00
Rik Helsen
546ca01071 ♻️ Fixed flake8 warning 2021-06-17 20:33:21 +02:00
Rik Helsen
90d37f5ec6 🔀 Merged upstream branches and fixed merge conflicts 2021-06-17 20:24:20 +02:00
Matthias
a9f111dca0 Fix some types 2021-06-17 19:50:49 +02:00
Matthias
7ff794cb87 Merge branch 'develop' into pr/eatrisno/4308 2021-06-17 19:46:15 +02:00
Matthias
8bb464bd64
Merge pull request #5108 from rokups/rk/pessimistic-trailing-stoploss
Implement most pessimistic handling of trailing stoploss.
2021-06-17 18:41:00 +01:00