hroff-1902
6139239b86
Address points stated in comments
2020-02-15 20:43:11 +03:00
hroff-1902
ddea4b9300
Fix test
2020-02-15 06:54:18 +03:00
hroff-1902
1cf19133f4
Added missing failing strategy
2020-02-15 05:41:58 +03:00
hroff-1902
29d9b6a46a
Add test for enum failed
2020-02-15 04:32:10 +03:00
hroff-1902
93f9ff1b63
Fix existing test
2020-02-15 04:22:21 +03:00
Matthias
f024cc40d3
Fix windows test failure
2020-02-14 20:21:09 +01:00
Matthias
ecca7164d9
Fix small issue
2020-02-14 20:13:36 +01:00
Matthias
5efbdd25a7
Properly default to user_data/config.json if it exists
2020-02-14 20:04:05 +01:00
hroff-1902
4cdcf00ddc
Merge branch 'develop' into rpc_notification_fixes
2020-02-14 00:10:50 +03:00
Yazeed Al Oyoun
007cc94474
fixed tests to send refresh, since its no longer defaulted
2020-02-12 22:03:56 +01:00
Matthias
9a22ce69bd
Merge pull request #2908 from hroff-1902/tests_load_default_strategy
...
Do not instantiate directly DefaultStrategy in tests
2020-02-12 06:37:19 +01:00
hroff-1902
4f3376e2a1
Do not instantiate directly DefaultStrategy in tests
2020-02-12 01:39:15 +03:00
hroff-1902
e73dac8d91
Merge pull request #2905 from Fredrik81/hyperopt-more-filters
...
Adding --min-trades, --max-trades, --max-avg-profit, --max-total-profit for hyperopt-list
2020-02-11 23:46:48 +03:00
Fredrik Rydin
539343b20d
Adding 2 more filter options for completeness
2020-02-11 21:29:55 +01:00
Yazeed Al Oyoun
899de8b27c
modified tests for double partial call
2020-02-11 16:50:18 +01:00
Yazeed Al Oyoun
5f4c209fca
fixed one more occurence of executed buy, and test
2020-02-11 16:14:49 +01:00
Fredrik Rydin
5b4d8d69ef
Adding --min-trades and --max-trades for hyperopt-list
2020-02-11 16:02:08 +01:00
Yazeed Al Oyoun
fc29564974
Fixed messages and readability
2020-02-11 15:58:40 +01:00
Matthias
59a576ef3e
Merge pull request #2903 from hroff-1902/fix/tests_history-2
...
Minor: Fix tests_history.py
2020-02-11 07:14:13 +01:00
Matthias
81997cba8a
Merge pull request #2902 from hroff-1902/fix/tests_hyperopt_loss
...
Minor: Fix tests for hyperopt_loss
2020-02-11 07:13:29 +01:00
Matthias
57fcca9696
Merge pull request #2904 from hroff-1902/fix/tests_backtesting_container
...
Minor: Fix usage of an item from BTContainer in tests
2020-02-11 07:02:28 +01:00
hroff-1902
29f7c5071b
Fix usage of an item from BTContainer in tests
2020-02-11 04:17:10 +03:00
hroff-1902
62bcb3d766
Fix tests in test_history.py
2020-02-11 03:43:20 +03:00
hroff-1902
2bcce33f23
Merge pull request #2888 from Fredrik81/hyperopt-filters
...
Added filter options to "hyperopt-list" in order to easier find epochs.
2020-02-10 23:59:40 +03:00
hroff-1902
d07c69809d
Fix tests for hyperopt_loss
2020-02-10 18:32:41 +03:00
Matthias
83644ce5d8
Fix mypy type errors in tests
2020-02-10 10:35:48 +01:00
hroff-1902
0ba8d13de9
Merge pull request #2831 from xmatthias/feat/new_config
...
introduce new-config subcommand
2020-02-09 22:11:37 +03:00
Matthias
d65a06947d
Merge branch 'develop' into data_handler
2020-02-09 15:16:43 +01:00
Fredrik Rydin
eb3783dc00
Fixed a blank line issue :-(
2020-02-09 14:30:29 +01:00
Fredrik Rydin
c648ec7c0c
Added test cases and fixed a minor bug
2020-02-09 14:18:56 +01:00
Yazeed Al Oyoun
2796d3d8a0
added missing tests to increase coverage
2020-02-09 00:11:58 +01:00
Yazeed Al Oyoun
f3b1161640
wide notifications fixes
2020-02-08 21:02:52 +01:00
Matthias
abf10aec98
Merge branch 'develop' into feat/new_config
2020-02-07 17:02:14 +01:00
Yazeed Al Oyoun
6b279f297c
fixed test
2020-02-07 16:45:07 +03:00
Yazeed Al Oyoun
a46b7bcd6d
more fixes...
2020-02-07 16:44:43 +03:00
Yazeed Al Oyoun
951a19fb00
added tests for both sortino methods
2020-02-07 16:44:30 +03:00
Yazeed Al Oyoun
aa2cb937b1
flake8 :)
2020-02-07 03:54:47 +01:00
Yazeed Al Oyoun
ff819386e1
added draws to backtesting tables, reduced len of some labels to help fit this without increasing total width
2020-02-07 03:51:50 +01:00
Matthias
97e48080e8
Merge pull request #2839 from hroff-1902/list-hyperopts-2
...
Add list-hyperopts subcommand
2020-02-06 07:06:36 +01:00
Yazeed Al Oyoun
5b00eaa42d
Updated Strategy Summary table to match other backtesting tables ( #2864 )
2020-02-06 06:58:58 +01:00
Yazeed Al Oyoun
9639ffb140
added daily sharpe ratio hyperopt loss method, ty @djacky ( #2826 )
...
* more consistent backtesting tables and labels
* added rounding to Tot Profit % on Sell Reasosn table to be consistent with other percentiles on table.
* added daily sharpe ratio hyperopt loss method, ty @djacky
* removed commented code
* removed unused profit_abs
* added proper slippage to each trade
* replaced use of old value total_profit
* Align quotes in same area
* added daily sharpe ratio test and modified hyperopt_loss_sharpe_daily
* fixed some more line alignments
* updated docs to include SharpeHyperOptLossDaily
* Update dockerfile to 3.8.1
* Run tests against 3.8
* added daily sharpe ratio hyperopt loss method, ty @djacky
* removed commented code
* removed unused profit_abs
* added proper slippage to each trade
* replaced use of old value total_profit
* added daily sharpe ratio test and modified hyperopt_loss_sharpe_daily
* updated docs to include SharpeHyperOptLossDaily
* docs fixes
* missed one fix
* fixed standard deviation line
* fixed to bracket notation
* fixed to bracket notation
* fixed syntax error
* better readability, kept np.sqrt(365) which results in annualized sharpe ratio
* fixed method arguments indentation
* updated commented out debug print line
* renamed after slippage profit_percent so it wont affect _calculate_results_metrics()
* Reworked to fill leading and trailing days
* No need for np; make flake happy
* Fix risk free rate
Co-authored-by: Matthias <xmatthias@outlook.com>
Co-authored-by: hroff-1902 <47309513+hroff-1902@users.noreply.github.com>
2020-02-06 06:49:08 +01:00
hroff-1902
d2cac1d8fd
Merge branch 'develop' into spreadfilter
2020-02-04 16:54:46 +03:00
untoreh
aa54fd2251
- added spread filter
...
- minimum value to volume pairlist
2020-02-04 14:49:59 +01:00
Matthias
54303880d3
Merge pull request #2849 from freqtrade/dependabot/pip/develop/pandas-1.0.0
...
Bump pandas from 0.25.3 to 1.0.0
2020-02-03 20:34:17 +01:00
Matthias
cbabc295c7
Don't convert to datetime - but convert to datetime64 instead
2020-02-03 20:25:43 +01:00
hroff-1902
64f04845b6
Merge pull request #2850 from freqtrade/try_fix_randoM-test
...
make sure asyncio_loop is not initialized within ccxt code
2020-02-03 17:45:49 +03:00
Matthias
f6c09160ab
make sure asyncio_loop is not initialized within ccxt code
2020-02-03 15:17:36 +01:00
Matthias
2b69e7830d
Fix failing CI test
2020-02-02 20:08:50 +01:00
hroff-1902
d12e03e50d
Fix test inconsistency in test_freqtradebot.py
2020-02-02 20:01:25 +03:00
hroff-1902
cd0534efcc
Add test
2020-02-02 19:41:22 +03:00
hroff-1902
e8c1abc509
Merge pull request #2799 from freqtrade/fix_stoploss_recreated
...
Fix stoploss recreated
2020-02-02 16:59:45 +03:00
hroff-1902
6594679e52
Merge pull request #2779 from freqtrade/stoploss_market
...
Stoploss on exchange for Kraken
2020-02-02 14:48:45 +03:00
Matthias
12317b1c53
Add some rudimentary tests for questions
2020-02-01 14:46:43 +01:00
Matthias
d1a3a2d000
Add tests for build_config
2020-02-01 14:22:40 +01:00
Matthias
cfa6a3e3d3
Don't overwrite files
2020-02-01 14:12:21 +01:00
Yazeed Al Oyoun
e2b3907df5
more consistent backtesting tables and labels
2020-01-31 04:39:18 +01:00
Matthias
83baa6ee2e
Add test stub
2020-01-29 22:47:15 +01:00
Matthias
2f0775fa1b
Extract build-config tests to new file
2020-01-29 21:31:09 +01:00
Matthias
940bfbee96
Move start_config out of build_commands file
2020-01-29 21:28:01 +01:00
Matthias
49c9258a08
enhance test
2020-01-29 20:43:10 +01:00
Matthias
dd83cb1b95
Extract selection generation to a seperate method
2020-01-29 20:27:38 +01:00
hroff-1902
68771a7861
Remove state attr from Worker
2020-01-29 17:08:36 +03:00
Matthias
1ef148317d
Merge branch 'develop' into stoploss_market
2020-01-26 20:33:41 +01:00
Matthias
1b9af9d2d8
Merge branch 'develop' into data_handler
2020-01-26 20:31:13 +01:00
Matthias
02563019fc
move setup_utils_config to configuration module
2020-01-26 14:15:53 +01:00
Matthias
a3e9d04383
Adjust imports to new place for arguments
2020-01-26 13:46:01 +01:00
Matthias
f347e5934a
Small adjustments for moved commands
2020-01-26 13:46:01 +01:00
Matthias
b254bdfea3
Move plot_utils to plot_commands
2020-01-26 13:46:01 +01:00
Matthias
70a0346b0a
Move data-stuff to data-commands
2020-01-26 13:46:01 +01:00
Matthias
7e23304187
Adjust tests to new paths
2020-01-26 13:46:01 +01:00
Matthias
6e85280467
Adjust imports
2020-01-26 13:46:01 +01:00
Matthias
a3ac05cc16
Fix missed mock
2020-01-25 13:38:13 +01:00
hroff-1902
52f0ed5310
Adjust tests
2020-01-25 12:49:37 +01:00
Matthias
72c273aaed
Add test for closed trade case
2020-01-23 21:07:21 +01:00
Matthias
70b9bd9c0e
Verify if trade is closed before acting on Stoploss_on_exchange
2020-01-23 20:36:48 +01:00
Matthias
f5a44e4fc4
open_order_id should be None when handling stoploss orders
2020-01-23 19:38:35 +01:00
Matthias
1d141cd406
Merge branch 'develop' into stoploss_market
2020-01-23 19:35:05 +01:00
Matthias
bc4c469797
Merge branch 'develop' into stoploss_market
2020-01-22 20:51:52 +01:00
Matthias
f36bc80ad1
Add parametrized tests for get_buy_rate
2020-01-22 19:43:02 +01:00
Matthias
8a940eb0c1
Align price finding function name on buy side with get_sell_rate
2020-01-22 14:46:28 +01:00
Matthias
fc2970f41b
Merge branch 'develop' into data_handler
2020-01-21 06:58:48 +01:00
hroff-1902
66415d48d4
Merge pull request #2787 from freqtrade/dry_run_optional
...
remove default value calls for dry_run
2020-01-20 23:08:17 +03:00
Matthias
1bf475fa1a
Remove .get calls for dry_run - it's a mandatory property
2020-01-20 20:24:40 +01:00
Matthias
6e3336cb30
Adapt test to verify behaviour of stoploss_on_exchange in dry-run
2020-01-20 20:10:06 +01:00
Matthias
10d9db72a8
Adjust tests slightly
2020-01-19 20:06:04 +01:00
Matthias
cf9331919f
move exchange-specific order-parsing to exchange class
...
Related to stoploss_on_exchange in combination with trailing stoploss.
Binance contains stopPrice in the info, while kraken returns the same
value as "price".
2020-01-19 19:54:30 +01:00
Matthias
f1629c907a
Implement stoploss for kraken
2020-01-19 14:40:09 +01:00
Matthias
e6f1912443
Use named arguments for stoploss create_order call
2020-01-19 14:40:09 +01:00
Matthias
16b34e11ca
Complete rename of stoploss_limit to stoploss
2020-01-19 14:40:09 +01:00
Matthias
256fc2e78c
Rename stoploss_limit to stoploss
2020-01-19 13:30:56 +01:00
Matthias
da0af489a2
Adjust tests to pass in order_types instead of rate
2020-01-19 13:25:41 +01:00
hroff-1902
2f82122fc4
Merge pull request #2763 from freqtrade/fix/precision_rounding
...
Fix/precision rounding
2020-01-17 01:25:30 +03:00
Matthias
fa1e9dd70d
Adjust tests to allow updating within safe_sell_amount
2020-01-15 21:53:04 +01:00
Matthias
90ed4c665b
Cover equal case via test
2020-01-15 19:59:08 +01:00
Matthias
c8806a16a1
Allow wallet update from /balance
2020-01-15 06:43:41 +01:00
Matthias
1e58cd70ad
Adapt tests to round price up
2020-01-14 20:16:47 +01:00
Matthias
d7957bd791
add advanced tests for price_to_precision
2020-01-14 16:04:39 +01:00
Matthias
425ec53b28
Combine amount_to_precision tests into one
2020-01-14 16:01:35 +01:00
Matthias
797dc8a4da
Add more detailed tests for amount_to_precision
2020-01-14 15:54:53 +01:00
Matthias
d12a2a5888
Merge pull request #2752 from freqtrade/plotting/indicator_strategy
...
Allow enhanced plot-dataframe configuration
2020-01-13 19:53:15 +01:00
Matthias
5fcab1eee8
Align method names to internal ccxt names
...
These methods are reimplemented from ccxt so we can test their behaviour.
2020-01-12 14:55:05 +01:00
Matthias
b60d7ad42f
Use ccxt.decimal_to_precision instead of our own calculation
2020-01-12 14:41:09 +01:00
Matthias
fa1f9bcdbd
expose precisionMode from exchange class
2020-01-12 14:37:45 +01:00
Matthias
3519cebf66
Add test for failing stake_validation
2020-01-11 13:14:19 +01:00
Matthias
60b47b6eec
Add tests for get_quote_currencies
2020-01-11 12:01:34 +01:00
Matthias
ca2880537d
Modify tests to skip stake_currency validations
2020-01-11 11:54:11 +01:00
Matthias
13274964a9
Implement validation for valid stake currency
2020-01-11 11:54:00 +01:00
Matthias
235a10ab86
Don't suppport <1m timeframes
2020-01-11 11:36:28 +01:00
Matthias
90a9052377
Merge pull request #2734 from freqtrade/relative_stake
...
Relative stake maximum tradable amount
2020-01-11 08:18:35 +01:00
Matthias
fab19ae3a7
Implement last_stake_amount_min_ratio
2020-01-10 06:36:28 +01:00
Matthias
785cd2a640
Rename test module
2020-01-09 06:53:51 +01:00
Matthias
c475729c13
Extract edge reporting to optimize_reports
2020-01-09 06:52:34 +01:00
Matthias
989ab646a9
Add profit % to sell_reason table
2020-01-09 06:46:39 +01:00
Matthias
b25f28d1ad
Merge pull request #2730 from freqtrade/extract_bt_reporting
...
Extract backtest reporting
2020-01-09 06:09:05 +01:00
Matthias
888ea58df2
Add tests for new behaviour
2020-01-05 19:51:12 +01:00
Matthias
ca054799d0
Add tests for amend_last_stake_amount
2020-01-05 13:25:21 +01:00
Matthias
a75420f75f
Merge branch 'develop' into relative_stake
2020-01-05 12:55:55 +01:00
Matthias
7daa5bc338
Don't return None from unlimited_stake - 0 handles this just as well
2020-01-05 12:50:44 +01:00
Matthias
4eaaec9d1a
Implement pair_to_filename to datahandler
...
includes tests - taken from #2744 and modified to adapt to new structure
2020-01-05 10:36:08 +01:00
Matthias
53499e01de
Clearly differentiate trade buys sells (positive and negative)
...
* Swap trade buys to cyan circles
* Show sell-reason description on buy too
* Green positive sells - red negative / 0 sells
2020-01-04 20:27:27 +01:00
Matthias
2409261cb7
Merge branch 'develop' into data_handler
2020-01-04 11:36:27 +01:00
Matthias
b5a806dec7
Fix typo and add tests for create_plotconfig
2020-01-04 11:30:21 +01:00
Matthias
4628024de6
Adapt tests to new add_indicator methodology
2020-01-04 11:18:51 +01:00
hroff-1902
3798f94d4c
Merge pull request #2732 from freqtrade/config_validation_split
...
Config validation split
2020-01-03 23:41:44 +03:00
Matthias
7e7c82cf4a
Small adjustments to relative_stake PR
2020-01-03 11:34:17 +01:00
Matthias
f3beaa3374
Deprecate capital_available_percentage
2020-01-03 10:58:31 +01:00
Matthias
6d01653bfe
Adapt test to test more cases with reduced tradable_balance
2020-01-03 10:41:34 +01:00
Matthias
455838648d
Apply get_available_balance logic to regular trades, too
2020-01-03 10:41:10 +01:00
Matthias
a8d56b2850
IMplement check for unlimited settings
...
verifying that either max_open_trades or stake_amount is set for
operations without edge
2020-01-03 07:07:59 +01:00
hroff-1902
b24d359a27
Merge pull request #2737 from freqtrade/plotting_percent
...
show percent in sell hover message.
2020-01-02 22:04:34 +03:00
Matthias
90744ff5ab
show percent instead of ratio (!)
2020-01-02 19:36:31 +01:00
Matthias
94afb7cb1d
Improve integration test with a few additional tests
2020-01-02 13:45:03 +01:00
Matthias
bfef3cf497
Add additional test case for lower balance ratios
2020-01-02 13:38:08 +01:00
Matthias
64db1f6736
Prepare tests to valiate reduced full amount.
2020-01-02 13:16:18 +01:00
Matthias
9325880fe5
Split config-validation requires
2020-01-02 10:39:32 +01:00
Matthias
2c8e8d8ef6
Align columns for btanalysis loading
2020-01-02 09:51:47 +01:00
Matthias
8cc48cf4b0
Fix tests where mocks fail now
2020-01-02 09:31:53 +01:00
Matthias
10ee23622a
Extract tests for backtest_reports to their own test module
2020-01-02 09:31:53 +01:00
Matthias
904e1647e1
Extract generate_text_table_strategy to seperate module
2020-01-02 09:31:53 +01:00
Matthias
caec345c0b
Extract generate_text_table_sell_reason from backtesting class
2020-01-02 09:31:53 +01:00
Matthias
18a53f4467
Extract generate_text_table from backtesting class
2020-01-02 09:31:47 +01:00
Matthias
3327ebf2b1
Merge pull request #2720 from hroff-1902/refactor-create-trades
...
Refactor create trades
2019-12-31 15:34:12 +01:00
Matthias
26a2395aeb
Include Pair name in exception log message
2019-12-31 07:11:09 +01:00
Matthias
9d518b9d29
Add comment and don't hardcode 4 in test
2019-12-31 07:05:21 +01:00
Matthias
6ebb9017c7
Improve test enter_positions
2019-12-31 07:03:57 +01:00
Matthias
a88464de3a
Improve some test code
2019-12-31 07:01:58 +01:00
hroff-1902
fd7af587da
Rename process_maybe_execute_buys() --> enter_positions()
2019-12-30 22:50:56 +03:00
hroff-1902
84918ad424
Rename process_maybe_execute_sells() --> exit_positions()
2019-12-30 22:08:36 +03:00
Matthias
699c0d6bc3
Merge branch 'develop' into data_handler
2019-12-30 19:40:43 +01:00
Matthias
2537b8cb0c
Merge pull request #2725 from freqtrade/minor_fix
...
[Minor] Edge-cli should use exchangeresolver
2019-12-30 19:27:40 +01:00