Matthias
2147bd8847
Fix problem when no experimental dict is available
2019-01-06 13:29:14 +01:00
Misagh
26a77e193e
Merge pull request #1454 from freqtrade/feat/interpolate_missing
...
interpolate missing candles
2019-01-04 22:33:53 +01:00
Matthias
a54d8f0e16
Create datadir when not exists
2019-01-01 14:07:40 +01:00
Matthias
fae875f588
Implement missing_data_fillup to tests and operations
2018-12-31 19:15:49 +01:00
Matthias
429f846ad1
Switch load_data to kwargs
2018-12-15 20:31:05 +01:00
Matthias
d0c9791ca6
Fix tests to support load_data with dataframe
2018-12-15 15:38:40 +01:00
Matthias
17a820e5c0
Move tests from test_optimize to test_history
2018-12-14 06:32:49 +01:00
Matthias
92c800d925
Adjust tests to data.history
2018-12-14 06:32:49 +01:00
Matthias
d6ba4f0e81
Fix last 2 tests to use DF as data container
2018-12-12 19:17:09 +01:00
Matthias
7a533de1a8
Use list ticker history for backtesting
2018-12-12 19:17:09 +01:00
Matthias
0ab8ac1c1d
Add test to verify downloading history does not modify
...
_pairs_last_refresh_time
2018-12-11 19:18:28 +01:00
Matthias
bb828c308f
Remove unnecessary test-file
2018-12-02 16:03:34 +01:00
Matthias
3ac2106a16
Merge pull request #1290 from freqtrade/fix/backtest_toomanyopen
...
fix backtesting not respecting max_open_trades
2018-11-30 19:17:09 +01:00
Matthias
21a093bcdb
extract resolvers to IResolvers and it's own package
2018-11-24 20:00:02 +01:00
Matthias
805f509498
Merge branch 'develop' into fix/backtest_toomanyopen
2018-11-24 10:39:16 +01:00
Matthias
1810fc9efa
Merge pull request #1346 from mishaker/fix_python_beginner_mistake
...
Refactoring a bit ...
2018-11-22 06:02:15 +01:00
misagh
eb53281434
python beginner problem resolved
2018-11-22 00:04:20 +01:00
Matthias
64028647a0
Merge pull request #571 from stephendade/userhyper
...
Separated out custom hyperopts
2018-11-21 19:14:30 +01:00
Matthias
de57da3249
Merge pull request #1328 from mishaker/edge_cli
...
Edge cli
2018-11-15 20:14:03 +01:00
Matthias
98df3c8103
Fix missing mock in backtesting
2018-11-15 20:02:48 +01:00
misagh
f666d1596b
renaming edge to edge_cli for command line version
2018-11-15 10:31:56 +01:00
misagh
523a9a603c
fix tests
2018-11-10 17:20:11 +01:00
misagh
12e735e831
1) extracting edge_conf to a fixture
...
2) test cased adjusted to Backtesting
3) Formatted backtesting_details a bit
2018-11-09 20:51:15 +01:00
Matthias
59cd4fe0ef
Remove boilerplate comments
2018-11-09 19:34:46 +01:00
Matthias
292962d64d
Fix tests
2018-11-09 19:34:18 +01:00
Matthias
5c5fe4c13a
Fix test
2018-11-09 07:14:43 +01:00
Matthias
272ff51d51
correctly patch exchange
2018-11-09 07:13:20 +01:00
Matthias
56dcf080a9
Add explicit test for parallel trades
2018-11-09 07:13:20 +01:00
Matthias
9cd2ed5a16
fix hyperopt get_timeframe mock
2018-11-09 07:13:20 +01:00
Matthias
fa4c199aa6
fix some mismatches after rebase
2018-11-09 07:13:20 +01:00
Matthias
2371d1e696
Fix backtest test (don't use 8m file if we use 1m tickers)
2018-11-09 07:13:20 +01:00
Matthias
83a8d79115
Fix alternate buy/sell (this should respect the sell signal!)
2018-11-09 07:13:20 +01:00
Matthias
db17ccef2b
Adapt backtesting-tests to new backtest-logic
2018-11-09 07:13:20 +01:00
Matthias
03cda8e23e
remove meaningless backtesting test
2018-11-09 07:12:41 +01:00
Matthias
6729dfa6d3
Add get_timeframe mock for hyperopt
2018-11-09 07:12:41 +01:00
Stephen Dade
469db0d434
Decoupled custom hyperopts from hyperopt.py
2018-11-07 06:26:16 +01:00
Matthias
8316acfa78
Add column description to test-cases
2018-11-01 13:16:10 +01:00
Matthias
95d271ca5d
Fix ROI close-rate calculation to work with fees - adjust tests
2018-11-01 13:14:59 +01:00
Matthias
a321d0a820
Short descriptors
2018-10-30 20:49:12 +01:00
Matthias
daa9863d0b
Try adding headers
2018-10-30 20:45:32 +01:00
Matthias
79d1d63e6f
Align data (by halfing all data)
2018-10-30 20:42:34 +01:00
Matthias
fe2c158e59
Adjust sell-rate to new backtesting (respects roi/stoploss)
2018-10-30 20:13:56 +01:00
Matthias
9e921d4410
refactor General bt-utils out of detailed backtest file
2018-10-30 20:02:01 +01:00
Matthias
e442e22a20
refactorign
2018-10-30 19:58:06 +01:00
Matthias
9798e881cb
refactor sell_r to sell_reason
2018-10-30 19:44:31 +01:00
Matthias
fc3f8b436d
some more cleanup
2018-10-30 19:36:19 +01:00
Matthias
b383113d6c
Test open / close time - small refactorings
2018-10-30 19:33:32 +01:00
Matthias
9065e79f53
Cleanup and add some comments on what's happening in the sample snippets
2018-10-29 20:33:27 +01:00
Matthias
6096f3ca47
Simplify functional tests
2018-10-29 20:17:15 +01:00
Matthias
233c442af9
Adjust backtest so sell uses stop-loss or roi value as closerate
2018-10-29 19:27:23 +01:00
Matthias
a0e8bfbd77
shift buy-signal to one earlier (backtest shifts it forward to avoid
...
lookahead)
2018-10-29 19:27:23 +01:00
Matthias
409465ac8e
adapt functional tests for new version after rebase
2018-10-29 19:27:23 +01:00
Matthias
30a6e684a6
update with new comments and new data for tc5
2018-10-29 19:27:23 +01:00
Matthias
b8f78cb187
Refactor tests, implement @creslinux's data
2018-10-29 19:27:23 +01:00
Matthias
e0fda7a5dd
Add tests validating backtest details
2018-10-29 19:27:23 +01:00
Matthias
db9a85f4a2
Merge pull request #1282 from freqtrade/feat/add_missingdata_warning
...
Show warning if part of backtest data is missing
2018-10-27 11:16:10 -04:00
Matthias
7e1a30f9bf
Merge pull request #1287 from freqtrade/backtest_data_validation
...
Backtest data validation
2018-10-26 07:21:24 -04:00
Matthias
202b1d1f0b
fix #1289 - we should not modify decimal context
2018-10-21 09:21:32 +02:00
Matthias
3c6d10f03e
Print missing value count too
2018-10-18 20:05:57 +02:00
Matthias
bc356c4d65
Return true/false for validation function
2018-10-18 19:48:54 +02:00
Matthias
518dcf5209
Cleanup some tests 8m is not a valid ticker value
...
not in constants.TICKER_INTERVAL_MINUTES map
2018-10-18 19:43:04 +02:00
Matthias
fb52d32296
Add validate_backtest_data function
2018-10-18 19:42:54 +02:00
Matthias
d7459bbbf3
refactor get_timeframe out of backtesting class
2018-10-17 19:59:33 +02:00
Matthias
8a3272e7c5
don't copy tickerdata_to_dataframe into backtesting
...
it's used only once, so this does not make sense and hides the origin of
the function
2018-10-17 19:47:19 +02:00
Matthias
631ba464f3
Show warning if part of backtest data is missing
2018-10-14 14:40:03 +02:00
Matthias
a541d0a931
convert tests to packages
...
source: https://docs.pytest.org/en/latest/goodpractices.html
If you need to have test modules with the same name, you might add __init__.py files to your tests folder and subfolders, changing them to packages:
2018-10-09 21:13:43 +02:00
Matthias
1b290ffb5d
Update hyperopt to show errors if non-supported variables are used
2018-09-29 13:49:38 +02:00
Matthias
6d1c82a5fa
Remove last refreence to get_candle_history
2018-08-19 19:50:14 +02:00
Matthias
9403248e4d
have plot-script use async ticker-refresh
2018-08-19 19:48:24 +02:00
Matthias
88e85e8d33
fix tests - move load_async_markets call to validate_pairs
2018-08-10 13:11:04 +02:00
Janne Sinivirta
e282d57a91
fix broken test
2018-08-02 12:57:47 +03:00
Janne Sinivirta
3a5b435dfa
Merge pull request #1089 from freqtrade/feat/backtest_multi_strat
...
Allow multi strategy backtest without data reload
2018-08-02 12:35:47 +03:00
creslin
a741f1144a
missing __init__.py
2018-08-02 08:58:04 +00:00
Matthias
40ee86b357
Adapt after rebase
2018-07-31 21:08:03 +02:00
Matthias
765d1c769c
Add test for stratgy summary table
2018-07-31 21:04:03 +02:00
Matthias
a8b55b8989
Add test for strategy-name injection
2018-07-31 21:04:03 +02:00
Matthias
bd3563df67
Add test for new functionality
2018-07-31 21:04:03 +02:00
Janne Sinivirta
f85cc422a3
Merge branch 'develop' into cleaner-tests
2018-07-30 21:08:55 +03:00
Janne Sinivirta
8b8d3f3b75
default_conf is function-scoped fixture, no need to deepcopy it
2018-07-30 15:41:02 +03:00
Janne Sinivirta
3083e5d2be
use pytest fixture properly in test_hyperopt
2018-07-30 13:26:54 +03:00
Janne Sinivirta
e242842805
remove more useless docstrings from tests
2018-07-30 12:09:07 +03:00
Matthias
2401fa15d2
Change missed calls to advise_* functions
2018-07-29 21:07:21 +02:00
Matthias
f12167f0dc
Fix backtesting test
2018-07-29 20:55:37 +02:00
Gert Wohlgemuth
921f645623
fixing tests...
2018-07-29 20:55:06 +02:00
Gert Wohlgemuth
3dd7d209e9
more test fixes
2018-07-29 20:55:06 +02:00
xmatthias
2e6e5029ba
fix mypy and tests
2018-07-29 20:55:06 +02:00
Janne Sinivirta
f832edf5bc
remove useless docstrings from tests
2018-07-29 17:09:44 +03:00
Janne Sinivirta
0b3190552e
Merge pull request #1018 from freqtrade/feat/sell_reason
...
Record sell reason
2018-07-24 09:09:45 +03:00
Matthias
506aa0e3d3
Add print_sales table and test
2018-07-19 19:34:14 +02:00
Matthias
2a61629014
Export sell_reason from backtest
2018-07-19 19:29:31 +02:00
Matthias
cbffd3650b
add sell_reason to backtesting
2018-07-19 19:29:31 +02:00
Janne Sinivirta
0cc1b66ae7
Merge pull request #1037 from freqtrade/fix/backtest-comment
...
replace --realistic with 2 separate flags
2018-07-19 17:33:19 +03:00
Janne Sinivirta
6070d819b8
Merge pull request #1040 from freqtrade/xmatthias_backtest_duration
...
Fix backtest duration calculation
2018-07-19 17:32:11 +03:00
Matthias
79b1030435
output duration in a more readable way
2018-07-18 20:08:55 +02:00
Matthias
c82276ecbe
add --disable-max-market-positions
2018-07-17 21:05:03 +02:00
Matthias
e17618407b
Rename --realistic-simulation to --enable-position-stacking
2018-07-17 20:26:59 +02:00
Janne Sinivirta
aeb4102bcb
refactor Analyze class methods to base Strategy class
2018-07-16 08:23:39 +03:00
Janne Sinivirta
a74147c472
move strategy initialization outside Analyze
2018-07-16 08:23:39 +03:00
Janne Sinivirta
aa2366346a
Merge pull request #1001 from xmatthias/feat/backtest_cum_profit
...
Add cumulative profit to backtest result table
2018-07-11 07:21:28 +03:00
Matthias
750d737b7d
Add tests for change to open_rate
2018-07-08 20:18:34 +02:00