Commit Graph

12183 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
7ab8c1d1fd fixed rpc_apiserver test fails, changed test_persistence_long to test_persistence_leverage 2021-07-04 23:32:55 -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
500fa64084 Wrote all tests for shorting 2021-07-02 20:12:07 -06:00
Sam Germain
ef585a6e13 Wrote all tests for shorting 2021-07-02 03:01:33 -06:00
Sam Germain
78f2987f88 Added get open trades test 2021-07-02 02:48:30 -06:00
Sam Germain
17d562cbc8 Updated ratio calculation, updated short tests 2021-07-02 02:02:00 -06:00
Sam Germain
b2afe72dd2 conftest_trades 2021-06-30 21:42:18 -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
f4975db0d0 Added short test_stoploss_reinitialization, it's slightly off and I don't know why 2021-06-28 05:40:53 -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
9cb2bdec29 Added test for is_opening_trade, is_closing_trade 2021-06-28 02:43:25 -06:00
Sam Germain
562f4309db test_calc_profit on shorts 2021-06-28 02:31:25 -06:00
Sam Germain
820944e5cd shorting test_calc_close_trade_price 2021-06-28 01:10:51 -06:00
Sam Germain
c5add66fda test_update_open_order and test_calc_open_trade_value for shorts 2021-06-28 00:02:54 -06:00
Sam Germain
3376b80cf4 test_update_open_order for shorts 2021-06-27 23:54:02 -06:00
Sam Germain
c41f6554f7 margin test_calc_close_trade_price_exception 2021-06-27 23:51:37 -06:00
Sam Germain
c98b9ab768 margin test_trade_close 2021-06-27 23:46:22 -06:00
Sam Germain
9a53aeec10 Third test passes 2021-06-27 07:30:23 -06:00
Sam Germain
5d280b70cb Put the first 2 margin tests back in 2021-06-27 05:05:24 -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
e030620566 Created a third test,this one throws the time error 2021-06-27 04:12:42 -06:00
Sam Germain
be2a004a5e Updated comments for test_update_with_binance on margin 2021-06-27 03:58:18 -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
5518ca3a98 Merge branch 'develop' into margin-db 2021-06-22 22:38:37 -06:00
Sam Germain
e00a93a92b Started some pytests for short and leverage 2021-06-22 22:26:10 -06:00
Sam Germain
c6a818eb17 Created interest function 2021-06-22 21:17:14 -06:00
Matthias
dce01b0542
Merge pull request #5159 from freqtrade/dependabot/pip/develop/scipy-1.7.0
Bump scipy from 1.6.3 to 1.7.0
2021-06-22 19:46:48 +02:00
Matthias
74b9be82a2
Merge pull request #5152 from robcaulk/patch-2
Fix errors during ubuntu install
2021-06-22 15:56:02 +02:00
Robert Caulk
10e94350e9
Update installation.md 2021-06-22 14:59:43 +02:00
Sam Germain
16ba8a284f Merge branch 'develop' of https://github.com/freqtrade/freqtrade into margin-db 2021-06-22 03:07:48 -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
5bc3aaf96f Merge branch 'margin-db' of https://github.com/samgermain/freqtrade into margin-db 2021-06-21 21:42:26 -06:00
Sam Germain
bbf1240170 merged 2021-06-21 21:41:32 -06:00
Sam Germain
5c97e47cbd merged 2021-06-21 21:35:44 -06:00