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
kevinjulian
3d9f3eeb07
feat(agefilter): add max_days_listed
2021-07-03 23:58:04 +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
barbarius
a0f28f4a15
Added max open trades to strategy summary first line
2021-06-28 17:05:12 +02: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
barbarius
c99ae3b419
Added timerange above multiple strategy backtest result summary table
2021-06-28 10:20:34 +02: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
4bd8a1b595
Set leverage and borowed to computed properties
2021-06-26 21:10:50 -06:00
Matthias
158cb415a9
Add settings interface to have types available
2021-06-26 17:28:37 +02:00
Matthias
ce69abc06e
Update docs and tests for newly deprectated settings
2021-06-26 17:11:15 +02:00
Matthias
b7f01a08f3
Update sequence of process_deprecated_setting parameters
2021-06-26 17:03:51 +02:00
Matthias
0235868c66
Update tests for new config structure
2021-06-26 16:39:01 +02: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
Matthias
59a33d0fa9
Add test for ask_orderbook validation
2021-06-25 20:52:34 +02:00
Matthias
8c542e4028
Update tests for removed order_book_max option
2021-06-25 20:45:53 +02:00
Matthias
40545e62af
Merge pull request #5082 from freqtrade/dry_run_order
...
Dry run order filling
2021-06-25 18:26:01 +02:00
Sam Germain
e00a93a92b
Started some pytests for short and leverage
2021-06-22 22:26:10 -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
bbf1240170
merged
2021-06-21 21:41:32 -06:00
Sam Germain
a9bd0700ed
Adding templates for leverage/short tests
2021-06-21 21:26:31 -06:00
Matthias
347eceeda5
Try fix fluky test
2021-06-19 20:30:51 +02: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
96fbb226c5
Implement better strategy checks
...
part of #2696
2021-06-19 19:32:29 +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
e1010ff592
Don't load protections from config if strategy defines a property
2021-06-18 19:55:53 +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
Matthias
a49ca9cbf7
Change log-level "Executing handler" msg to debug
...
closes #5143
2021-06-17 06:57:35 +02:00
Rokas Kupstys
6d5fc96714
Implement most pessimistic handling of trailing stoploss.
2021-06-15 09:05:36 +03:00
Matthias
cf7394d01c
Export backtesting results by default
...
closes #4977
2021-06-14 19:57:24 +02:00
Matthias
d32508aa75
Merge branch 'develop' into pr/eatrisno/4308
2021-06-13 20:04:24 +02:00
Matthias
fb4dd6c2ac
Update test to cover this scenario
2021-06-13 11:34:44 +02:00
Matthias
d54ee0eb04
Refactor hyperopt_tools naming
2021-06-13 11:24:24 +02:00
Matthias
d35b2e3b8f
Update ftx stoploss logic to properly detect correct trades
...
closes #5045
2021-06-13 11:06:34 +02:00
Matthias
a05e38dbd3
Require timeframe for plot-profit
...
must be set in config or via --timeframe
2021-06-12 09:03:55 +02:00
Matthias
d4dfdf04fc
Move RPCMessageType to enums
2021-06-09 20:23:17 +02:00
Matthias
9c34304cb9
Move state enums to enums package
2021-06-08 21:20:35 +02:00
Matthias
89b9915c12
Update imports for SellType in tests
2021-06-08 21:07:16 +02:00
Matthias
b9cf950bbf
Add test for bad argument on /profit
2021-06-08 20:35:25 +02:00
Matthias
e71d965e32
Merge pull request #4982 from eschava/profit_day_week
...
day/week options for Telegram '/profit' command
2021-06-08 19:26:57 +01:00
Matthias
c389d44e9a
Improve filling logic
2021-06-05 15:22:52 +02:00
Matthias
db03a24109
Add tests for fill methods
2021-06-05 09:09:39 +02:00
Matthias
1e988c97ad
Update dry-run order handling to use realistic fill prices
...
closes #3389
2021-06-05 09:09:39 +02:00
Matthias
8e44de7f83
Merge pull request #5071 from janoskut/plot-profit-make-open-html-optional
...
plot-profit: Make "auto-open" HTML result optional
2021-06-03 05:40:38 +01:00
Janos
812eb229df
plot-profit: Make "auto-open" HTML result optional
...
Adding an "--auto-open" argument.
This improves tool processing of the results, while still allowing to open the HTML file for easy use.
2021-06-02 21:33:26 +02:00
Janos
80af6e43e4
test-pairlist: remove non-JSON headline from JSON output
2021-06-02 21:02:21 +02:00
Matthias
387f3bbc5d
Adjust missed tests
2021-06-02 11:43:47 +02:00
Matthias
bd1984386e
Move get_sell_rate to exchange class
2021-06-02 11:41:13 +02:00
Matthias
12916243ec
Move get_buy_rate to exchange class
2021-06-02 11:30:19 +02:00
Eugene Schava
79552a93fe
telegram: move the most important information to the top of sell message
...
fixed tests
2021-06-01 20:17:11 +03:00
Matthias
f920c26802
fix Hyperopt-list avg-time filters
...
These should use a numeric field (which currently isn't available).
closes #5061
2021-05-31 20:01:40 +02:00
Matthias
2d7ccaeb3d
Add test for load_config
2021-05-30 20:14:54 +02:00
Matthias
06b59551b0
Improve test coverage
2021-05-30 20:14:54 +02:00
Matthias
e17e35f0ef
Merge pull request #5046 from freqtrade/list_strategy_hyperopt
...
allow list-strategies to show if params are hyperoptable
2021-05-30 16:36:31 +01:00