Leif Segen
662ec32073
Add test cases
2020-11-28 01:15:36 -06:00
Leif Segen
26855800a3
Remove unused seed
2020-11-28 00:39:18 -06:00
Leif Segen
4600bb807c
Existing tests pass.
2020-11-28 00:38:06 -06:00
Leif Segen
9538fa1d72
Tweak main parameterized block for PerformanceFilter
...
Remove randomized exception that was geared toward ShuffleFilter. Remove case involvoing seed, also geared toward ShuffleFilter. Mock get_overall_performance().
2020-11-28 00:24:48 -06:00
Leif Segen
91b4c80d35
Remove unused parameters
2020-11-27 22:18:49 -06:00
Leif Segen
afb795b6f5
Remove unnecessary test
...
PerforamnceFilter doesn't use seeds, so no need to provide different ones.
2020-11-27 22:08:23 -06:00
Leif Segen
7cbd89657f
Initial step towards implementing proposed code
2020-11-27 21:24:40 -06:00
Matthias
95c3c45ec9
Remove long deprecated settings that moved from experimental to
...
ask_strategy
2020-11-27 20:24:32 +01:00
Matthias
fefb4b23d0
revise logic in should_sell
2020-11-27 09:24:53 +01:00
Matthias
4aa6ebee04
Add more tests for #2422
2020-11-27 09:17:25 +01:00
Matthias
81d08c4def
Add detailed backtest test verifying the ROI / trailing stop collision
2020-11-27 08:24:56 +01:00
Matthias
53231d94a9
Merge pull request #3975 from freqtrade/volatility_filter
...
RangeStabilityFilter filter - filter for pairs without much movement
2020-11-25 19:17:06 +01:00
Matthias
c14c0f60a1
Add Support for kraken stoploss-limit
2020-11-25 16:27:27 +01:00
Matthias
8f1d2ff070
Renamd volatilityFilter to RangeStabilityFilter
2020-11-25 15:14:29 +01:00
Matthias
46389e343b
Skip filehandler test on windows - as that causes a permission-error
2020-11-25 15:10:17 +01:00
Matthias
b9980330a5
Add explicit test for FileHandler
2020-11-25 14:58:09 +01:00
Matthias
99b67348b2
Add test for double-logging
2020-11-25 14:30:58 +01:00
Matthias
ceb50a7807
use exception handler when downloading data
...
closes #3992
2020-11-25 07:57:27 +01:00
Matthias
006436a18d
Require use_sell_signal to be true for edge
...
Otherwise edge will have strange results, as
edge runs with sell signal, while the bot runs without sell signal,
causing results to be invalid
closes #3900
2020-11-24 07:47:35 +01:00
Matthias
f12a8afd41
Add test for ohlcv_as_df
2020-11-22 10:56:19 +01:00
Matthias
2e1551a2eb
Improve tests of volatilityfilter
2020-11-21 19:57:17 +01:00
Matthias
f8fab5c4f8
Add tests for failure cases
2020-11-21 15:51:39 +01:00
Matthias
191616e4e5
Add first tests for volatilityFilter
2020-11-21 15:39:04 +01:00
Matthias
e8e3ca0c3c
Catch ValueError from trade_conversion
...
closes #3967
2020-11-21 10:57:19 +01:00
Matthias
83861fabde
Fix #3967 , move TradeList type to constants
2020-11-21 10:52:15 +01:00
Matthias
5ed85963a9
Allow forcebuy price to be a string by converting it to float
...
fix #3970
2020-11-21 10:39:49 +01:00
Matthias
7a8b274a44
Merge branch 'develop' into pr/imxuwang/3799
2020-11-19 13:18:03 +01:00
Matthias
52c9a2c37f
Convert np to None when loading hdf5 trades to allow duplicate detection
2020-11-19 07:31:54 +01:00
Matthias
05f0cc787c
Plotting should use startup_candles too
...
closes #3943
2020-11-14 09:28:00 +01:00
Matthias
4eb96cfc4f
Allow locks to be gathered even when the bot is stopped
2020-11-13 06:51:45 +01:00
Matthias
2af1c80fd5
Convert _rpc_show_config to static method
2020-11-08 11:26:02 +01:00
Matthias
b8f6f09de8
Merge pull request #3923 from freqtrade/rpc/combine_profit_fields
...
Rpc/combine profit fields
2020-11-03 19:22:27 +01:00
Matthias
7d2bd00f0c
Update forgotten arrow.timestamp occurance
2020-11-03 09:23:07 +01:00
Matthias
b58d6d38b5
Use correct fields in telegram
2020-11-03 08:59:11 +01:00
Matthias
d1dab23283
Remove deprecated api fields
2020-11-03 08:59:11 +01:00
Matthias
cf89a773da
Standardize trade api outputs
...
there should be no difference between current_profit and close_profit
it's always profit, and the information if it's a closed trade is available elsewhere
2020-11-03 08:58:57 +01:00
Matthias
887d78171c
Merge pull request #3857 from freqtrade/arrow_deprecation_timestamp
...
Convert timestamp to int_timestamp for all arrow occurances
2020-11-02 16:40:43 +01:00
Matthias Spiller
0d11f0bd75
Add unit test for hdf5 dataformat for informative pairs
2020-10-31 11:45:46 +00:00
Matthias
3ca97223f2
Improve test for test_pairlist
2020-10-29 08:09:50 +01:00
Matthias
d8ff79a2fa
Improve tests of list commands
2020-10-29 07:54:42 +01:00
Matthias
f4d39f2a12
Improve test coverage of deploy_commands
2020-10-29 07:44:03 +01:00
Matthias
86725847ed
Add explicit test for check_int_nonzero
2020-10-28 16:58:39 +01:00
Matthias
ffa6797958
Improve test coverage
2020-10-28 16:29:08 +01:00
Matthias
e1e2829ef3
Improve and refactor hyperopt tests
2020-10-28 14:49:25 +01:00
Matthias
28d6c3419b
Fix random test failure in pairlocks
2020-10-27 20:01:23 +01:00
Matthias
6c913fa617
Fix locking - should round before storing to have a consistent picture
2020-10-27 08:01:31 +01:00
Matthias
9c54c9a2bf
Use correct timezone for tests
2020-10-27 07:06:07 +01:00
Matthias
e602ac3406
Introduce Pairlocks middleware
2020-10-27 07:06:06 +01:00
Matthias
69e8da30e5
Ensure times that fall on a candle are also shifted
2020-10-27 07:04:04 +01:00
Matthias
b8c12f6576
Test if return value is an exception when downloading historic data
2020-10-23 07:50:40 +02:00
Matthias
2f91f87ad3
Merge branch 'develop' into pr/imxuwang/3799
2020-10-22 07:55:48 +02:00
Matthias
7a092271c5
Merge branch 'develop' into arrow_deprecation_timestamp
2020-10-20 20:01:54 +02:00
Matthias
5f63fdd8ad
Use better lock message
2020-10-20 19:40:39 +02:00
Matthias
64e680d7ee
Document new api method
2020-10-20 19:30:00 +02:00
Matthias
1156f5e686
Use constant for times
2020-10-20 19:21:13 +02:00
Matthias
cd2866eaec
Add rest endpoint for /locks
2020-10-20 19:21:13 +02:00
Matthias
7a9768ffa6
Add /locks Telegram endpoint
2020-10-20 19:21:13 +02:00
Matthias
7caa6cfe31
Add tests for pairlock
2020-10-20 19:21:13 +02:00
Matthias
e513871fd5
Persist pairlocks
...
closes #3034
2020-10-20 19:21:13 +02:00
Matthias
8cdc795a44
Rename persistence.init to init_db
2020-10-16 08:15:18 +02:00
Matthias
07da21e633
Fix problem when limit is > max allowed limit
2020-10-13 20:38:02 +02:00
Matthias
8165cc11df
Change get_next_limit_in_list to use list comprehension
2020-10-13 20:30:35 +02:00
Matthias
077374ac42
Implement generic solution for l2 limited limit
2020-10-13 20:02:47 +02:00
Matthias
ecddaa663b
Convert timestamp to int_timestamp for all arrow occurances
2020-10-13 06:24:01 +02:00
Matthias
a39898a5b3
Fix mock for telegram update
2020-10-12 19:54:31 +02:00
Matthias
23bad8fd9f
Rename DefahltHyperoptLoss function to ShortTradeDurHyperOptLoss
2020-10-10 14:22:29 +02:00
Matthias
59b00ad662
Add test for only-win scenario
2020-10-09 06:47:02 +02:00
Matthias
8c2f763193
Add test to ensure --hyperopt-loss is mandatory
2020-10-05 20:36:16 +02:00
Matthias
fa1d1679f0
Adapt tests to work without default hyperoptloss
2020-10-05 19:33:50 +02:00
Xu Wang
355afc082e
Add command 'stats' in expected test output.
2020-10-05 10:05:15 +01:00
Matthias
06759234b6
Add test to verify output of roi / trailing stop hyperopt
2020-10-05 08:07:53 +02:00
Matthias
66b77d2f53
Fix some types
2020-10-02 06:52:43 +02:00
Matthias
350fcc071e
Don't use __code__
...
__code__ is a special method name used by python already
source:
https://docs.python.org/3/reference/datamodel.html#special-method-names
2020-09-29 06:35:47 +02:00
Matthias
b38f68b3b0
Add 404 when strategy is not found
2020-09-29 06:35:47 +02:00
Matthias
becccca3d1
Add test for __code__ loading
2020-09-29 06:35:47 +02:00
Matthias
816c8295f1
Add test for pair_history
2020-09-29 06:35:47 +02:00
Matthias
f82d39e1b0
Enhance restclient and add tests for new api methods
2020-09-29 06:35:47 +02:00
Matthias
c0654f3caf
Add resiliancy against not having a analyzed dataframe yet
2020-09-29 06:35:47 +02:00
Matthias
1de248fe38
add list_available_pairs endpoint
2020-09-29 06:35:47 +02:00
Matthias
6a59740f83
Strategies should be a nested object
2020-09-29 06:35:47 +02:00
Matthias
32e6ea314c
Return strategy with analyzed data
2020-09-29 06:35:47 +02:00
Matthias
18bbfdd341
Add /strategies endpoint
2020-09-29 06:35:47 +02:00
Matthias
bf0e75e2a5
Include data start and end date in dataframe api
2020-09-29 06:35:47 +02:00
Matthias
482f1faa88
Don't fail if no buy-signal is present
2020-09-29 06:35:46 +02:00
Matthias
f5dc10e4ae
Add pair_history endpoint
2020-09-29 06:35:46 +02:00
Matthias
677078350f
Add plot_config endpoint
2020-09-29 06:35:46 +02:00
Matthias
d528c44974
Add test for pair_history
2020-09-29 06:35:46 +02:00
Matthias
6977ffdbf9
Merge branch 'develop' into isort_config
2020-09-28 20:21:55 +02:00
Matthias
0ea56548e4
Try fix random test failure
2020-09-28 19:50:22 +02:00
Matthias
9df366d943
Apply isort to tests
2020-09-28 19:43:15 +02:00
Matthias
15bb0af1b3
Add some test-coverage
2020-09-28 00:36:13 +02:00
Matthias
f3de74f817
Mock all occurances of hyperopt.dump
2020-09-27 19:48:11 +02:00
Matthias
5769b9244f
Mock test correctly
2020-09-27 19:34:47 +02:00
Matthias
3cb1a9a5a9
Support loading results from a specific hyperopt history file
2020-09-27 17:03:30 +02:00
Matthias
c42a924df8
Load latest file
2020-09-27 16:50:42 +02:00
Matthias
b736691e0e
Remove hyperopt --continue
2020-09-27 16:18:28 +02:00
Matthias
bb27b236ce
Remove unused arguments
2020-09-26 14:55:12 +02:00
Matthias
c56dd487f2
Fix test failure
2020-09-25 21:00:58 +02:00
Matthias
ff3e2641ae
generate_backtest_stats must take config options from the strategy
...
config
as a strategy can override certain options.
2020-09-25 20:47:37 +02:00
Matthias
378f03a5b1
Add relevant parameters to stored backtest result
2020-09-25 06:37:40 +02:00
Matthias
fa18274e9a
Merge pull request #3798 from freqtrade/fix/wallets_dont_reset
...
Fix wallets dont reset
2020-09-24 19:22:14 +02:00
Matthias
4b06c9e0ae
Add test verifying wrong behaviour
2020-09-22 19:37:18 +02:00
Matthias
2554dc48e4
Add test for notification settings
2020-09-19 20:29:44 +02:00
Matthias
2a7935e35e
Rename custom_notification to startup_notification
2020-09-19 17:51:31 +02:00
Matthias
6674285b12
Merge pull request #3756 from allenday/patch-1
...
prettify hyperopt console output
2020-09-19 17:43:05 +02:00
Matthias
f0d7f18cf9
Pad wins / draws / losses for hyperopt with spaces instead of 0's
2020-09-19 17:32:22 +02:00
Matthias
934abb0094
Merge pull request #3786 from freqtrade/download_data_timerange
...
Download data should support absolute starting point
2020-09-19 17:19:45 +02:00
Matthias
1f086e1466
Modify test loglevel
2020-09-19 09:46:32 +02:00
Matthias
35857b3dde
Datetime should support --timerange too
2020-09-19 09:10:34 +02:00
Matthias
254875e6b3
Add test for new close functionality
...
* Don't updates close_date if the trade was already closed
2020-09-19 08:42:15 +02:00
Matthias
dd87938a5e
Fix bug causing close_date to be set again
2020-09-19 08:34:06 +02:00
Matthias
962fed24b0
Readd refind_order logic
2020-09-14 17:34:13 +02:00
Matthias
77c28187a6
Don't run refind order on stoploss
2020-09-11 20:06:05 +02:00
Matthias
977ccaac16
Merge branch 'develop' into db_keep_orders
2020-09-11 20:01:28 +02:00
Matthias
50f0483d9a
FIx fluky test in test_api_logs
2020-09-11 20:00:36 +02:00
Matthias
aa8832f70e
Convert select_order to use ft_is_open flag
2020-09-11 07:12:10 +02:00
Matthias
b8773de5b0
scoped sessions should be closed after requests
2020-09-11 06:44:20 +02:00
Matthias
4db8c779fc
Fix formatting issues
2020-09-10 08:19:40 +02:00
Matthias
23f569ea38
Add test for sell order refind, improve overall test for this function
2020-09-10 08:03:26 +02:00
Matthias
3c521f55b2
Add 6th mock trade
2020-09-10 07:40:19 +02:00
Matthias
083c358044
Fix wrong sequence in test
2020-09-09 07:57:02 +02:00
Matthias
25938efee6
Add partial test for refind_order
2020-09-09 07:50:52 +02:00
Matthias
98840eef3c
Add 5th mock trade
2020-09-09 07:01:43 +02:00
Matthias
caf0476717
Add test for handle_insufficient_funds
2020-09-09 06:49:29 +02:00
Matthias
8af610b543
Add Test for reupdate_buy_order_fees
2020-09-09 06:42:36 +02:00
Matthias
aa2d1e9cca
Merge pull request #3744 from freqtrade/fix/infomrativesample
...
fix Informative pair documentation
2020-09-08 16:38:08 +02:00
Allen Day
3fe2ed0e18
zero pad in test
2020-09-07 23:38:51 +08:00
Matthias
f3e0370d4d
Stylistic fixes
2020-09-07 07:54:55 +02:00
Matthias
6518e7a789
Add test for update_closed_trades_without_fees
2020-09-07 07:47:38 +02:00
Matthias
26a5cc5959
Add return-type for select_order
2020-09-07 07:41:58 +02:00
Matthias
f113b45036
Refactor test to not duplicate order info
2020-09-07 06:53:11 +02:00
Matthias
da0ceb7d87
Extract orders for mock trades
2020-09-07 06:48:34 +02:00
Matthias
cad0275b32
Extract mock_trade generation to sepearate file
2020-09-07 06:39:48 +02:00
Matthias
f6ebe51314
Add test for update_open_orders
2020-09-06 19:32:00 +02:00
Matthias
a0fd7f4644
Update tests to merged version
2020-09-06 15:27:16 +02:00
Matthias
5fba446e9a
Merge branch 'develop' into db_keep_orders
2020-09-06 15:22:13 +02:00
Matthias
b4da36d6e9
Fix small typo and add small testcase
2020-09-06 15:05:47 +02:00
Matthias
7c1f111ddf
Add insufficient_funds_test
2020-09-06 14:59:43 +02:00
Matthias
cec98ad407
Test stoploss insufficient funds handling
2020-09-06 14:51:48 +02:00
Matthias
68d51a9787
Don't raise OperationalException when orderid's dont' match
2020-09-06 14:33:45 +02:00
Matthias
a78d61150c
Deleting must delete orders first
2020-09-06 14:28:24 +02:00
Matthias
b7662722ba
Add tests for Order object parsing
2020-09-06 14:17:45 +02:00
Matthias
b4c3529135
Add orders to mock_trades fixture
2020-09-06 14:05:15 +02:00
Matthias
c18441f36f
Fix typo in reloading_conf
2020-09-05 16:44:23 +02:00
Matthias
cc684c5141
Correctly handle identical timerame merges
2020-09-04 20:09:02 +02:00
Matthias
7bc8927914
Add documentation for merge_informative_pair helper
2020-09-04 20:02:31 +02:00
Matthias
bd4f3d838a
Implement merge_informative_pairs helper
2020-09-04 19:44:35 +02:00
Matthias
848a94d62e
Merge branch 'develop' into pr/silvavn/3745
2020-09-04 07:56:10 +02:00
Matthias
bc5cc48f67
Adjust windows docs, fix failing doc-test
2020-09-04 07:28:21 +02:00
Matthias
43035a3f76
Merge pull request #3724 from freqtrade/fix/3084
...
Forcesell should use the available methods for handling a trade correctly
2020-09-01 15:11:05 +02:00