Matthias
65a516e229
Move tests out of freqtrade module
2019-09-08 19:05:22 +02:00
Matthias
13932f55f5
Fix random test failures
2019-09-08 14:02:32 +02:00
hroff-1902
3d028f512e
Merge pull request #2235 from hroff-1902/eliminate_import_strategy
...
Allow --strategy for hyperopt
2019-09-08 12:23:48 +03:00
hroff-1902
865e0d3af9
Adjust tests: removed tests for/with import_strategy()
2019-09-08 03:30:15 +03:00
hroff-1902
45cfdbbda7
Make flake happy
2019-09-08 03:10:01 +03:00
hroff-1902
2b00a5d90a
Get rid of import_strategy()
2019-09-08 02:43:02 +03:00
Matthias
bd2ecf8ce3
Add testdatadir to missed test
2019-09-07 21:13:05 +02:00
Matthias
972b8a1726
Remove defaulting to test_data folder when no datadir is present
2019-09-07 21:06:20 +02:00
Matthias
fe631ffd04
Use fixture to determine test_data_dir
2019-09-07 20:56:03 +02:00
Matthias
bde82e9654
Move make_testdata_path to conftest
2019-09-07 20:34:25 +02:00
hroff-1902
df481eb642
Merge pull request #2227 from freqtrade/fix/balance_failure
...
Fix RPC /balance failure
2019-09-07 00:27:20 +03:00
hroff-1902
4fdf8a75cd
Adjust hyperopt tests after the merge with develop
2019-09-06 16:46:44 +03:00
hroff-1902
2e49125e87
Merge branch 'develop' into hyperopt-simplified-interface
2019-09-06 15:11:06 +03:00
hroff-1902
7e56704767
Parametrize tests for hyperopt simplified failed
2019-09-06 15:08:44 +03:00
Matthias
7af445adf3
Merge pull request #2137 from hroff-1902/hyperopt-adaptive-roi-space
...
Hyperopt: adaptive roi_space
2019-09-06 06:26:52 +02:00
Matthias
48ac37a1b8
BLock kraken trading - it's not working at the moment
2019-09-05 20:16:09 +02:00
Matthias
e8f37666ea
Fix Problem when ccxt reports None as values
2019-09-05 20:02:18 +02:00
Matthias
e2e0015119
Don't rename dict ... we can use it as is
2019-09-05 20:02:01 +02:00
hroff-1902
3343b34725
Add tests for simplified hyperopt interface
2019-09-05 00:38:15 +03:00
Matthias
e107290230
Validate plot arguments
2019-09-04 19:21:58 +02:00
Matthias
1b66f01ec0
Always use config.json if it's available
2019-09-04 19:21:58 +02:00
Matthias
5ce63cd54a
Remove no_config_ argument from Arguments
2019-09-04 16:39:23 +02:00
Matthias
03f3d0dc8b
Remove desc from Arguments header
2019-09-04 16:38:33 +02:00
hroff-1902
74578b8752
Merge pull request #2211 from freqtrade/dependabot/pip/develop/python-telegram-bot-12.0.0
...
Bump python-telegram-bot from 11.1.0 to 12.0.0
2019-09-04 10:44:11 +03:00
hroff-1902
caec5ac941
Merge pull request #2206 from freqtrade/sloe_handling
...
Improve stoploss on exchange handling
2019-09-04 10:00:53 +03:00
hroff-1902
9a6a89c238
allow simplified hyperopt interface
2019-09-03 19:54:28 +03:00
Matthias
dc9fda76f3
Fix tests to adapt to new telegram-bot interface
2019-09-02 20:42:39 +02:00
Matthias
3b15cce07a
Handle arguments uniformly (by using context.args)
2019-09-02 20:17:47 +02:00
Matthias
8cad90f9e6
Adapt to new api
2019-09-02 20:17:23 +02:00
Matthias
9c60ab796d
Adapt telegram api to new interface of telegram-bot-12.0.0
2019-09-02 20:14:41 +02:00
hroff-1902
08b090c707
Merge pull request #2176 from freqtrade/plot_commands
...
Move Plot scripts to freqtrade subcommands
2019-09-02 08:08:51 +03:00
Matthias
aae9c3194f
Reenable stoploss_on_exchange for dry-run
2019-09-01 17:48:06 +02:00
Matthias
20c9c93b3e
Improve docstring
2019-09-01 10:25:05 +02:00
Matthias
771519e311
Don't show stacktrace in case of invalidorder Error
...
This is handled gracefully by emergency-selling
2019-09-01 10:19:18 +02:00
Matthias
f91557f549
Add space to exception message
2019-09-01 10:17:17 +02:00
Matthias
9d7ebc65e7
Move return statement to correct intend
2019-09-01 09:21:45 +02:00
Matthias
6aab3fe25a
Add test for stoploss order handling behaviour
2019-09-01 09:18:15 +02:00
Matthias
7c0a49a6f9
_notify_sell needs ordertype seperately
2019-09-01 09:17:58 +02:00
Matthias
292df115e8
Support selling via emergencysell
2019-09-01 09:09:07 +02:00
Matthias
9f53e9f5dd
Raise InvalidOrder error when stoploss-creation fails
2019-09-01 09:08:35 +02:00
Matthias
ee808abfea
Add emergency_sell as sell reason
2019-09-01 09:07:09 +02:00
Matthias
7fc156648a
simplify stoploss_oe code
2019-08-31 16:15:39 +02:00
Matthias
f0c0f5618b
Abstract creating stoploss-orders from stoploss-logic
2019-08-31 16:11:04 +02:00
Matthias
736deaae32
Add test with plot command without configuration
2019-08-31 15:26:34 +02:00
Matthias
c9e15c2f86
Add test for new check_exchange branch
2019-08-31 15:19:59 +02:00
Matthias
d48f03c32e
check_exchange is not required for plotting
2019-08-31 15:19:53 +02:00
Matthias
1760a8dfbc
Use subparser-name to exclude from config requires
2019-08-31 15:15:10 +02:00
Matthias
f278fcfc3f
Use plot-runmode for plot scripts
2019-08-31 15:14:57 +02:00
Matthias
816d942ded
Merge branch 'develop' into plot_commands
2019-08-30 20:42:58 +02:00
Matthias
423805c9ca
Small documentation improvements
2019-08-30 20:42:14 +02:00
Matthias
d060d27745
Add test for all messagetypes
2019-08-30 07:05:22 +02:00
Matthias
75dc174c76
support all messagetypes in webhook
2019-08-30 07:02:57 +02:00
Matthias
d977695d48
Catch NotImplementedError when sending messages
...
(RPC should not crash your bot!)
2019-08-30 07:02:26 +02:00
Matthias
b6b7dcd61c
Test NotImplemented is cought correctly
2019-08-30 07:00:29 +02:00
Matthias
cabe291006
Fix test-leakage by not copying config correctly
2019-08-29 06:54:28 +02:00
Matthias
6b3d25b54b
Fix datadir init when used wiht --exchange
2019-08-29 06:45:20 +02:00
Matthias
68adfc6607
Init exchange before datadir ...
2019-08-29 06:42:56 +02:00
Matthias
50b572a657
Merge branch 'develop' into strategy_version
2019-08-28 19:29:53 +02:00
Matthias
c38f3a2b9a
Apply dynamic versioning to develop
2019-08-28 07:05:48 +02:00
Matthias
c6bb68bd30
Merge pull request #2192 from freqtrade/rename_teststrat
...
Rename testStrategy to sample_strategy
2019-08-28 06:28:19 +02:00
Matthias
51fbeed71f
Rename TestStrategy to SampleStrategy
2019-08-27 06:42:10 +02:00
Matthias
40df303122
Merge pull request #2184 from hroff-1902/backtesting-minor-cleanup2
...
minor: Backtesting cleanup
2019-08-27 06:14:02 +02:00
hroff-1902
d9c2b7d460
fix fetching ticker_interval from strategy
2019-08-26 22:31:24 +03:00
Matthias
0e62b8bd85
Update strategy_version to INTERFACE_VERSION
2019-08-26 20:16:03 +02:00
Matthias
b5789203f2
Merge branch 'develop' into timeframe_use_ccxt
2019-08-26 19:48:58 +02:00
Matthias
92011f8294
Introduce strategy_version variable
2019-08-26 19:44:33 +02:00
Matthias
4fcfb1eaca
Merge pull request #2180 from freqtrade/refactor_download
...
[Refactor] Logic for download-data to history
2019-08-26 06:13:19 +02:00
hroff-1902
bfc68ec792
minor cleanup in Backtesting
2019-08-25 23:36:42 +03:00
Matthias
513e84880e
Don't escape ticks where it's not needed
2019-08-25 20:38:51 +02:00
Matthias
da7da2ce52
Change tests to split function
2019-08-25 15:06:47 +02:00
Matthias
3232251fea
Refactor downloading ohlcv from utils to history
2019-08-25 15:01:27 +02:00
Matthias
e603cca7a5
Testing with now() should not pass in date/time
2019-08-25 10:53:56 +02:00
Matthias
565a543b7b
Use ccxt base methods to round timeframe
2019-08-25 10:34:56 +02:00
Matthias
5e12b05424
Improve test coverage
2019-08-25 10:18:55 +02:00
Matthias
a4c8b5bf5d
Move binance-specific test to test_binance.py
2019-08-25 10:08:06 +02:00
Matthias
cbf09b5ad9
Improve docstring for Exception
2019-08-25 10:07:47 +02:00
Matthias
2c66b33fd1
Adapt some tests to use Binance subclass for stoplosslimit
2019-08-25 09:57:21 +02:00
Matthias
067c122bf3
Adapt test to use Binance class
2019-08-25 09:52:21 +02:00
Matthias
defa1c027d
Move stoploss_limit to binance subclass
2019-08-25 09:50:37 +02:00
Matthias
ea179a8e38
stoploss_limit shall not use create_order()
...
It needs to handle exceptions differently
2019-08-25 09:43:10 +02:00
Matthias
8a17615b5a
move exceptionhandling from create_order() to calling functions
2019-08-25 09:42:02 +02:00
Matthias
365b9c3e9c
Add test to correctly handle unsuccessfull ordercreation
2019-08-24 18:06:33 +02:00
Matthias
3f6eeda3f0
Reset stoploss_order_id when recreating fails
2019-08-24 18:06:14 +02:00
Matthias
3121206afe
correct wrongly named test
2019-08-24 15:35:43 +02:00
Matthias
240936eb19
Small fixes
2019-08-24 15:26:42 +02:00
Matthias
fb498795ad
Improve profit-plot styling
2019-08-24 15:11:31 +02:00
Matthias
2ae398913d
Fix bug in bt-analysis when multiple trades sell at the same time
2019-08-24 15:11:31 +02:00
Matthias
d711b8c0e9
Plot-profit should have subtitles per subplot
2019-08-24 15:11:31 +02:00
Matthias
395414ccde
Refactor init_plotscript a bit (strategy is not needed for plot_profit)
2019-08-24 15:11:31 +02:00
Matthias
9f29ad77bd
fix test after plot_dataframe change
2019-08-24 15:11:31 +02:00
Matthias
545e5c5bc6
simplify load_trades call
2019-08-24 15:11:31 +02:00
Matthias
f8ddb10607
switch indicators to nargs argument type
2019-08-24 15:11:31 +02:00
Matthias
0ef13be577
Test plot_profit
2019-08-24 15:11:31 +02:00
Matthias
c559f95703
Add test for plot-profit
2019-08-24 15:11:31 +02:00
Matthias
f7cb75ff93
Add plot-profit command
2019-08-24 15:11:31 +02:00
Matthias
29076acc69
Add test for analyse_and_plot
2019-08-24 15:11:31 +02:00
Matthias
99b2be90fd
Cleanup plotting (if you have backtest results, no need to download
...
data!)
2019-08-24 15:11:31 +02:00
Matthias
f8c72feea8
Add some initial tests for plot_dataframe
2019-08-24 15:11:31 +02:00
Matthias
69c2b12879
Move plot_dataframe as freqtrade submodule
2019-08-24 15:11:31 +02:00
Matthias
3820a38e79
Merge pull request #2175 from hroff-1902/hyperopt-split-backtesting
...
Hyperopt redesign
2019-08-24 14:39:46 +02:00
Matthias
60bc9f4f5e
Merge pull request #2173 from freqtrade/improve/trailing_validation
...
improve stoploss validation
2019-08-24 09:15:43 +02:00
Matthias
a8842f38ca
Fix wrong exception message
2019-08-24 09:08:08 +02:00
hroff-1902
667a623310
adjust tests
2019-08-24 00:10:55 +03:00
hroff-1902
067208bc9d
make backtesting an attribute of Hyperopt
2019-08-24 00:10:35 +03:00
Matthias
70ebd09de4
Add checks verifying that stoploss is not 0 (and positive-stoploss is
...
also not 0).
2019-08-22 20:04:44 +02:00
Matthias
782f4112cd
Add test checking stoploss == 0 values
2019-08-22 19:49:30 +02:00
hroff-1902
d19b11a00f
exchange cosmetics
2019-08-22 20:01:41 +03:00
Matthias
91b0394433
Merge pull request #2156 from freqtrade/remove_live
...
Remove deprecated option live - deprecate -r
2019-08-22 15:33:39 +02:00
Matthias
aaeeb9c0c6
Merge branch 'develop' into align_userdata
2019-08-21 19:41:10 +02:00
Matthias
13ffb39245
Adjust tests to fixed loading method
2019-08-21 06:59:07 +02:00
Matthias
75b2db4424
FIx loading pairs-list
2019-08-21 06:58:56 +02:00
hroff-1902
fcb0ff1b60
do not round values in the debug message
2019-08-20 23:42:44 +03:00
hroff-1902
31669fde03
test adjusted
2019-08-20 23:28:16 +03:00
hroff-1902
17b3f01b28
Merge branch 'develop' into hyperopt-adaptive-roi-space
2019-08-20 23:00:23 +03:00
hroff-1902
cadf573170
round printed stoploss value as well
2019-08-20 22:24:59 +03:00
hroff-1902
a12876da92
fine printing for floats in the roi tables (round to 5 digits after the decimal point)
2019-08-20 22:17:21 +03:00
Matthias
f02adf2a45
Deprecate --refresh-pairs-cached
2019-08-20 07:00:43 +02:00
Matthias
9e24992835
Remove calls to load_data using live=
2019-08-20 07:00:43 +02:00
Matthias
e9e2a83436
remove --live
references
2019-08-20 07:00:43 +02:00
Matthias
e8ee087e9d
Merge branch 'develop' into download_module
2019-08-20 06:49:18 +02:00
Matthias
c63856dac4
Merge pull request #2158 from freqtrade/config_consistency
...
Config consistency checking improvements
2019-08-20 06:44:41 +02:00
Matthias
9e8ca8d4bf
Merge pull request #2138 from freqtrade/history_docstrings
...
Refactorings to history
2019-08-20 06:35:54 +02:00
Matthias
dc35a8022b
Merge pull request #2157 from freqtrade/fix/create_order_crash
...
create market order crash if exchange raises an exception
2019-08-20 06:22:43 +02:00
Matthias
042e47543c
Merge pull request #2159 from freqtrade/fix/pairlist_logging
...
Fix pairlist logging
2019-08-19 09:48:42 +02:00
Matthias
a4ede02ced
Gracefully handle problems with dry-run orders
2019-08-18 19:38:23 +02:00
Matthias
ea4db0ffb6
Pass object-name to loader to fix logging
2019-08-18 18:11:34 +02:00
Matthias
d785d76370
make VolumePairlist less verbose
...
no need to print the full whitelist on every iteration
2019-08-18 18:11:24 +02:00
Matthias
b6462cd51f
Add explaining comment
2019-08-18 16:22:18 +02:00
Matthias
611850bf91
Add edge/dynamic_whitelist validation
2019-08-18 16:19:24 +02:00
Matthias
ddfadbb69e
Validate configuration consistency after loading strategy
2019-08-18 16:10:10 +02:00
Matthias
045ac1019e
Split test for buy-orders too
2019-08-18 15:58:53 +02:00
Matthias
ee7ba96e85
Don't do calculations in exception handlers when one element can be None
...
fixes #2011
2019-08-18 15:46:38 +02:00
Matthias
8e96ac8765
Split exception tests for create_order
2019-08-18 15:45:30 +02:00
Matthias
acf1e734ec
Adapt lg_has calls to new standard
2019-08-18 15:09:44 +02:00
Matthias
0a478bc0dc
Merge branch 'develop' into align_userdata
2019-08-18 15:00:12 +02:00
hroff-1902
d300964691
code formatting in test_dataprovider.py
2019-08-18 13:06:21 +03:00
hroff-1902
407a3bca62
implementation of ohlcv optimized
2019-08-18 13:00:37 +03:00
hroff-1902
310e438706
logging message improved
2019-08-18 12:55:31 +03:00
hroff-1902
8a2a8ab8b5
docstring for ohlcv improved
2019-08-18 12:47:19 +03:00
hroff-1902
cda912bd8c
test added
2019-08-17 13:05:13 +03:00
hroff-1902
84a0f9ea42
get_pair_dataframe helper method added
2019-08-17 12:57:44 +03:00
Matthias
08fa5136e1
use copy of minimal_config ...
2019-08-17 07:19:46 +02:00
Matthias
7a79b292e4
Fix bug in pairs fallback resolving
2019-08-17 07:05:42 +02:00
Matthias
a53e9e3a98
improve tests for download_module
2019-08-17 07:01:20 +02:00
Matthias
f7d5280f47
Replace ARGS_DOWNLOADER with ARGS_DOWNLOAD_DATA
2019-08-17 06:48:34 +02:00
Matthias
c9207bcc00
Remove blank line at end
2019-08-16 16:01:30 +02:00
Matthias
132f28ad44
Add tests to correctly load / override pair-lists
2019-08-16 15:52:59 +02:00
Matthias
b2c215029d
Add tests for download_data entrypoint
2019-08-16 15:28:11 +02:00
Matthias
89257832d7
Don't use internal _API methods
2019-08-16 15:27:59 +02:00
Matthias
219d0b7fb0
Adjust documentation to removed download-script
2019-08-16 15:27:48 +02:00
Matthias
4e308a1a3e
Resolve pairlist in configuration
2019-08-16 14:56:57 +02:00
Matthias
3c15e3ebdd
Default load minimal config
2019-08-16 14:56:38 +02:00
Matthias
8655e521d7
Adapt some tests
2019-08-16 14:53:46 +02:00
Matthias
05deb9e09b
Migrate download-script logic to utils.py
2019-08-16 14:42:44 +02:00
Matthias
91886120a7
use nargs for --pairs argument
2019-08-16 14:39:29 +02:00
Matthias
09286d4918
file_dump_json accepts Path - so we should feed it that
2019-08-16 13:04:48 +02:00
Matthias
161db08745
Merge pull request #2142 from hroff-1902/hyperopt-print-json
...
Hyperopt: --print-json option
2019-08-16 11:08:54 +02:00
hroff-1902
b94f3e80c4
tests fixed
2019-08-16 04:20:12 +03:00
hroff-1902
2a842778e3
tests added
2019-08-16 01:05:34 +03:00
hroff-1902
e525275d10
make flake and mypy happy
2019-08-15 23:13:46 +03:00
hroff-1902
4fa92ec0fa
hyperopt: --print-json option added
2019-08-15 21:39:04 +03:00
Matthias
69eff89049
Improve comment in test_history to explain what is tested
2019-08-15 20:28:32 +02:00
Matthias
12677f2d42
Adjust docstring to match functioning of load_cached_data
2019-08-15 20:13:19 +02:00
Matthias
a94a89086f
Don't forward timerange to load_ticker_file
...
when loading cached data for updating.
We always want to get all data, not just a fraction (we would end up
overwriting the non-loaded part of the data).
2019-08-15 20:09:00 +02:00
Matthias
80a71323cc
Merge pull request #2141 from ahonnecke/fstring-runtime
...
f the string
2019-08-15 19:33:57 +02:00
Ashton Honnecke
fd77f699df
f the string
2019-08-15 10:41:02 -06:00
Matthias
93cf2cd19b
Merge pull request #2135 from freqtrade/ohlcv_docstring
...
[minor] Improve docstring for some downloading methods
2019-08-15 16:23:42 +02:00
Matthias
f5e437d8c7
Change create_trade to create_trades for new test
2019-08-15 06:59:45 +02:00
Matthias
14c4854987
Merge branch 'develop' into lock_pairs
2019-08-15 06:56:39 +02:00
Matthias
9f26c4ebdc
Merge branch 'develop' into fix/sell_order_hanging
2019-08-15 06:46:12 +02:00
Matthias
11790fbf01
Fix typos in docstrings
2019-08-15 06:37:26 +02:00
Matthias
f3e6bcb20c
Avoid using negative indexes
2019-08-15 06:35:50 +02:00
Matthias
b2a22f1afb
Fix samll errors
2019-08-14 21:39:53 +02:00
Matthias
9d3322df8c
Adapt history-tests to new load_cached_data header
2019-08-14 20:49:13 +02:00
Matthias
91d1061c73
Abstract tickerdata storing
2019-08-14 20:49:06 +02:00
Matthias
0ffb184eba
Change some docstrings and formatting from history
2019-08-14 20:45:24 +02:00
hroff-1902
5b9711c002
adaptive roi_space
2019-08-14 13:25:49 +03:00
Matthias
096a6426db
Override equality operator
2019-08-14 10:22:54 +02:00
Matthias
84baef922c
Rename get_history to get_historic_ohlcv
2019-08-14 10:14:54 +02:00
Matthias
51c3a31bb5
Correct imports and calls to parse_timerange
2019-08-14 10:07:32 +02:00
Matthias
06fa07e73e
Move parse_timerange to TimeRange class
2019-08-14 10:07:14 +02:00
Matthias
4da2bfefb7
Improve docstring for some downloading methods
2019-08-14 09:37:17 +02:00
Matthias
3b30aab8a7
Merge pull request #2132 from freqtrade/process_return_value
...
allow create_trade() to create multiple trades per iteration
2019-08-14 07:23:05 +02:00
Matthias
c2e9685e04
Merge pull request #2121 from hroff-1902/config-allow-comments
...
Allow comments in config files
2019-08-14 06:37:33 +02:00
Matthias
d6f5f6b7ba
Add test with preexisting trades
2019-08-14 06:21:15 +02:00
Matthias
a4ab42560f
improve docstring for create_trades
2019-08-14 06:16:59 +02:00
Matthias
a76136c010
Rename create_trade to create_trades
2019-08-14 06:16:43 +02:00
Matthias
e35a349229
Fix spelling of interface.py docstring
2019-08-14 06:07:03 +02:00
Matthias
c0784b7c33
Merge pull request #2089 from hroff-1902/hyperopt-print-colorized
...
Hyperopt print colorized results
2019-08-13 19:36:06 +02:00
Matthias
9d476b5ab2
Also check 0 open trades
2019-08-13 10:34:27 +02:00
Matthias
0a07dfc5cf
Add test verifying that multiple trades are opened in one iteration
2019-08-13 10:20:32 +02:00
Matthias
d69f7ae471
Adapt final tests to support multi-trade creation
2019-08-13 10:15:31 +02:00
Matthias
974d899b33
Adapt some more tests
2019-08-13 10:12:12 +02:00
Matthias
6948e0ba84
Handle orderbook_depth check correctly
2019-08-13 10:12:02 +02:00
Matthias
a325f1ce2b
adapt some tests
...
since create_trade() can now buy multiple times, we need to use
execute_buy() to create a single trade
2019-08-13 10:01:43 +02:00
Matthias
997eb7574a
Support creating multiple trades in one iteration
2019-08-13 10:01:29 +02:00
Matthias
8873e0072c
process_maybe_execute_buy does not need to return bool
2019-08-13 09:42:22 +02:00
Matthias
c29389f5f3
Remove process() checks from tests
2019-08-13 09:38:21 +02:00
Matthias
4b8eaaf7aa
freqtradebot.process() does not need to return anything
2019-08-13 09:37:56 +02:00
Matthias
8d813fa728
Remove return-value for _process
2019-08-13 09:36:52 +02:00