Sam Germain
6083568d56
Updated interest and ratio calculations to correct functions
2021-07-10 20:44:57 -06:00
Sam Germain
2bcfaabcf8
test prsistence leverage passes with new ratio calc
2021-07-08 05:59:13 -06:00
Sam Germain
c753bd0ddc
updated ratio_calc_profit function
2021-07-08 05:37:54 -06:00
Sam Germain
963bb89087
ran isort .
2021-07-08 00:12:39 -06:00
Sam Germain
8f5150e831
Flake8 compliant
2021-07-07 22:24:30 -06:00
Sam Germain
03595bf951
Took liquidation price out of order
2021-07-07 20:21:02 -06:00
Sam Germain
0d6210c837
Moved leverage and is_short variables out of trade constructors and into conftest
2021-07-07 01:06:51 -06:00
Sam Germain
26ee6470f4
Pass all but one test, because sqalchemy messes up
2021-07-07 00:43:06 -06:00
Sam Germain
d73473d45c
updated todos
2021-07-06 00:11:43 -06:00
Sam Germain
2fedbfbcd2
Added checks for making sure stop_loss doesn't go below liquidation_price
2021-07-06 00:07:14 -06:00
Sam Germain
f607920ad6
test_adjust_stop_loss_short passes
2021-07-05 22:43:51 -06:00
Sam Germain
0f2952e90c
made leveraged test names unique
2021-07-05 22:11:52 -06:00
Sam Germain
9ca588c780
test_update_market_order for shorts passes
2021-07-05 22:01:46 -06:00
Sam Germain
116eeb050f
Moved interest calculation to an enum
2021-07-05 21:48:56 -06:00
Sam Germain
4984595ddf
Merge branch 'develop' into margin-db
2021-07-05 01:04:21 -06:00
Sam Germain
23d236878d
uncommented a test, switched last short test to be more correct
2021-07-05 00:53:58 -06:00
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
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
Matthias
eb3ead4930
Merge pull request #5229 from kevinjulian/telegram-balance
...
compact low balance currencies
2021-07-05 06:56:35 +02:00
Sam Germain
d84534cd96
Long tests passing
2021-07-04 22:14:00 -06:00
kevinjulian
9e548657e0
fix testcase
2021-07-04 21:08:46 +07:00
Matthias
898bef1837
Merge pull request #5219 from freqtrade/hyperopt_paramfile
...
automatic Hyperopt paramfile
2021-07-04 13:56:52 +02: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
kevinjulian
b722e12350
compact low balance currencies
2021-07-04 02:44:48 +07:00
Matthias
e358860a69
Fix migrations, revert some parts related to amount properties
2021-07-03 17:03:12 +02:00
Matthias
dc8abd77df
Fix import order
2021-07-03 15:45:00 +02:00
Rokas Kupstys
3686efa08a
Add range property to CategoricalParameter and DecimalParameter, add their tests.
...
At the moment we can keep a single code path when using IntParameter, but we have to make a special hyperopt case for CategoricalParameter/DecimalParameter. Range property solves this.
2021-07-03 16:02:45 +03:00
Sam Germain
76693800d9
all tests written for margin-db, but a lot fail
2021-07-03 03:09:43 -06:00
Matthias
9d6860337f
Merge pull request #5212 from rokups/rk/trailing-stop-2
...
Trailing stoploss in backtesting v2
2021-07-03 08:39:30 +02:00
Matthias
3503fdb4ec
Improve tests for newly added methods
2021-07-03 08:38:55 +02: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
Matthias
e034f11dcc
Improve test for hyperopt_show
2021-06-30 20:21:33 +02:00
Rokas Kupstys
bc0742ae67
Fix extremely optimistic results when using a combination of custom_stoploss and trailing_stop.
2021-06-30 09:10:50 +03:00
Matthias
645da51b5f
Add test for parameter loading
2021-06-30 06:55:10 +02:00
Matthias
dcf53ac3ff
Add test for try_eport_params
2021-06-30 06:33:40 +02:00
Matthias
ff61b8a2e7
Disable parameter export from tests
2021-06-29 20:57:16 +02:00
Matthias
8ca0076332
Fix small typos
2021-06-29 06:50:47 +02:00
Matthias
a7e9e362b7
Simplify printing logic for non-optimized parameters
2021-06-29 06:50:47 +02:00
Matthias
8b7010fc9a
Update pprint name
2021-06-29 06:50:47 +02:00
Matthias
ef14359d31
Add some tests for paramfile writing
2021-06-29 06:50:47 +02:00
Matthias
e97de4643f
Move tests to hyperopttools test file
2021-06-29 06:50:47 +02:00
Matthias
750c780293
Support loading parameters from json file
2021-06-29 06:50:47 +02:00
Sam Germain
bf68fbe109
Kraken interest test comes really close to passing
2021-06-28 10:01:18 -06:00