Matthias
ab88217186
Improve /balance output to include starting balance and percentual change
...
closes #5503
2021-09-19 13:17:34 +02:00
Matthias
66c2034c3f
Merge pull request #5387 from samgermain/lev-exchange
...
Lev exchange
2021-09-19 13:00:38 +02:00
Sam Germain
fa74b95a01
reduced amount of code for leverage_brackets test
2021-09-19 02:33:28 -06:00
Sam Germain
ddc203ca69
remove %s in test_exchange unix time
2021-09-19 02:26:59 -06:00
Sam Germain
2b6d134294
Merge branch 'feat/short' into lev-exchange
2021-09-19 01:57:30 -06:00
Arunavo Ray
c54259b4c5
Added ftx interest formula tests
2021-09-19 11:35:29 +05:30
Sam Germain
cee4ed541b
parametrized test_update_trade_state_withorderdict
2021-09-18 19:46:46 -06:00
Sam Germain
ec9dbc550e
parametrized test_create_trade_minimal_amount
2021-09-18 19:19:53 -06:00
Rokas Kupstys
eab7f8f694
[SQUASH] Doh.
2021-09-18 15:44:21 +03:00
Sam Germain
518a59ad41
parametrized test_edge_overrides_stoploss
2021-09-18 03:20:00 -06:00
Sam Germain
42a2fdc1c5
parametrized test_order_dict
2021-09-18 03:01:08 -06:00
Sam Germain
216f75bbb9
parametrized test_sell_profit_only , test__safe_exit_amount, test_order_book_bid_strategy1
2021-09-18 02:53:34 -06:00
Rokas Kupstys
e4ca42faec
[SQUASH] Update stoploss_from_absolute to behave more like stoploss_from_open and add a test for it.
2021-09-18 10:48:53 +03:00
Rokas Kupstys
7e6aa9390a
[SQUASH] Unconditionally include quote currency when asset is explicitly specified. Added docs suggesting to use string formatting to make strategy independent of configured stake currency.
2021-09-18 10:48:53 +03:00
Rokas Kupstys
5dc78a0c66
[SQUASH] Get rid of _initialize() and fix informatives for dynamic pairlists.
2021-09-18 10:48:53 +03:00
Rokas Kupstys
dfa61b7ad2
[SQUASH] Fix informatives for each pair not being created because dataprovider was not available.
...
Fix not being able to have informative dataframe of a pair in whitelist.
2021-09-18 10:48:53 +03:00
Rokas Kupstys
1fdb656334
Add a decorator which can be used to declare populate_indicators() functions for informative pairs.
2021-09-18 10:48:18 +03:00
Matthias
11f08b0053
Merge pull request #5582 from sergeykhliustin/develop
...
Added days parameter to PerformanceFilter
2021-09-18 09:24:14 +02:00
Matthias
56fb25c5e5
Add test for PerformanceFilter lookback
2021-09-18 09:10:37 +02:00
Sam Germain
2c21bbfa0c
Fixed create order margin call count tests and made _ccxt_config a computed property
2021-09-17 16:45:02 -06:00
Matthias
4d558879e9
Merge branch 'feat/short' into pr/samgermain/5378
2021-09-17 19:33:35 +02:00
Matthias
d680fdf33a
Merge branch 'develop' into feat/short
2021-09-17 11:16:37 +02:00
Sam Germain
2e8d00e877
temp commit message
2021-09-17 01:15:21 -06:00
Sam Germain
32e52cd460
Added leverage brackets dry run test
2021-09-17 00:41:00 -06:00
Sam Germain
798a0c9827
Tried to add call count to test_create_order
2021-09-17 00:10:53 -06:00
Sam Germain
0628790da9
merged lev-freqtradebot with feat/short
2021-09-16 23:49:43 -06:00
Sam Germain
8123579442
added trading mode to persistence tests
2021-09-16 23:47:44 -06:00
Sam Germain
e78f38c7b6
Merge branch 'feat/short' into funding-fee
2021-09-16 23:32:44 -06:00
Sam Germain
e7b6f3bfd1
removed changes to test_persistence
2021-09-16 23:32:23 -06:00
Sam Germain
ff5b402f58
Merge branch 'feat/short' into lev-exchange
2021-09-16 23:27:44 -06:00
Sam Germain
dced167ea2
fixed some stuff in the leverage brackets binance test
2021-09-16 23:23:36 -06:00
Sam Germain
57c7926515
leverage updates on exchange classes
2021-09-16 23:05:13 -06:00
Sam Germain
0ced05890a
removed space between @ and pytest
2021-09-16 16:28:23 -06:00
Sam Germain
dec2f377ff
Removed utils, moved get_sides to conftest
2021-09-16 16:25:02 -06:00
Sam Germain
a8657bb1ce
Removed backtesting funding-fee code
2021-09-16 03:50:01 -06:00
Sam Germain
4c91126c49
some short freqtradebot parametrized tests
2021-09-16 03:23:45 -06:00
Matthias
994c3c3a4c
Add some errorhandling for custom estimator
2021-09-16 07:13:25 +02:00
Sam Germain
98b00e8daf
merged with feat/short
2021-09-15 22:28:10 -06:00
Sam Germain
cbaf477bec
changed kraken set lev implementation
2021-09-15 21:55:19 -06:00
Sam Germain
5fcb69a0b5
Parametrized test_persistence
2021-09-15 18:29:17 -06:00
Matthias
e4ec5679a1
Merge pull request #5574 from freqtrade/agefilter_cache
...
Agefilter cache
2021-09-15 06:33:36 +02:00
Sam Germain
d604757056
Added is_short to conf tests
2021-09-14 21:10:38 -06:00
Sam Germain
d3ab2f887f
merged with feat/short
2021-09-14 18:32:08 -06:00
Sam Germain
47677ccd91
Merge branch 'feat/short' into lev-exchange
2021-09-14 18:27:51 -06:00
Sam Germain
d77ab337bf
merged with develop
2021-09-14 18:26:46 -06:00
Sam Germain
5f6384a961
Added tests to freqtradebot
2021-09-14 17:18:57 -06:00
Matthias
4e2b1764b8
ccxt_compat_tests must run with dry-run=False
2021-09-14 20:24:44 +02:00
Matthias
315ea1e116
Merge pull request #5566 from freqtrade/remove_hyperopt
...
Remove legacy hyperopt
2021-09-14 19:20:58 +02:00
Matthias
35eda8c8c7
Improve agefilter test
2021-09-14 07:07:20 +02:00
Matthias
3ce5197e8d
Add Tests for AgeFilter caching
...
closes #5552
2021-09-14 06:45:26 +02:00
Sam Germain
7e0eb0adcf
merged with feat/short
2021-09-13 14:14:54 -06:00
Sam Germain
5225bd4a5b
Merge branch 'develop' into feat/short
2021-09-13 14:02:23 -06:00
Matthias
a12c3ecc9b
Remove credentials whenever dry-run is set from within the exchange
2021-09-13 20:27:32 +02:00
Matthias
3cdd06f562
Add PeriodicCache
2021-09-13 19:32:51 +02:00
Sam Germain
49acfc887f
merged with lev-exchange
2021-09-13 00:00:22 -06:00
Sam Germain
2aaf60205e
Merge branch 'feat/short' into lev-exchange
2021-09-12 23:41:34 -06:00
Sam Germain
1d7a8f667a
Merge branch 'lev-exchange' into lev-freqtradebot
2021-09-12 03:15:32 -06:00
Sam Germain
e070bdd161
set leverage more thorough tests
2021-09-12 03:09:51 -06:00
Sam Germain
ad44048e29
customized set_leverage for different exchanges
2021-09-12 02:42:13 -06:00
Sam Germain
0c1e5afc91
Added set leverage to create_order
2021-09-12 02:02:10 -06:00
Sam Germain
09418938fe
Updated kraken fill leverage brackets and set_leverage
2021-09-12 01:51:09 -06:00
Sam Germain
1344c9f7fc
_apply_leverage_to_min_stake_amount
2021-09-12 01:31:15 -06:00
Matthias
3675df8344
Update documentation regarding Legacy Hyperopt
2021-09-12 08:18:17 +02:00
Matthias
fd6bf591f8
Update some tests to remove explicit hyperopt interface
2021-09-12 08:18:13 +02:00
Matthias
ebb0b8aa3f
Remove new-hyperopt command
2021-09-12 08:18:13 +02:00
Sam Germain
5b84298e03
kraken._apply_leverage_to_stake_amount
2021-09-12 00:03:02 -06:00
Matthias
a5f90a409c
Small updates to async_history_fetch
2021-09-11 08:18:32 +02:00
Sam Germain
b1067cee6c
minor changes
2021-09-11 00:03:01 -06:00
Sam Germain
02521b4010
Merge branch 'lev-exchange' into lev-freqtradebot
2021-09-10 23:59:45 -06:00
Sam Germain
694460c8e0
merged with feat/short
2021-09-10 23:16:12 -06:00
Sam Germain
b0e05b92d3
Added minor changes from lev-exchange review
2021-09-10 13:39:42 -06:00
Matthias
4c4604f837
Add explicit test for get_historic_ohlcv
2021-09-10 19:47:56 +02:00
Sam Germain
cb155764eb
Short side options in freqtradebot
2021-09-10 11:47:27 -06:00
Matthias
7251a3ab19
Merge pull request #5544 from freqtrade/new_pair_download
...
New pair download improvement
2021-09-10 19:36:45 +02:00
Sam Germain
83bd674ba7
Added side to execute_trade_exit
2021-09-10 03:25:54 -06:00
Sam Germain
d582ccd2e6
merged with lev-exchange
2021-09-10 03:05:13 -06:00
Sam Germain
6486b904b5
merged with feat/short
2021-09-10 02:57:17 -06:00
Sam Germain
77aa372909
Fixed test_ftx patch
2021-09-10 02:09:27 -06:00
Sam Germain
77fc21a16b
Patched test_fill_leverage_brackets_ftx so that exchange._leverage_brackets doesn't retain the values from binance
2021-09-09 23:58:10 -06:00
Sam Germain
063861ada3
Added todos for short stoploss
2021-09-09 15:47:49 -06:00
Sam Germain
2c7cf794f5
Test for short exchange.stoploss exchange.stoploss_adjust
2021-09-09 15:47:49 -06:00
Sam Germain
785b71aec1
formatting
2021-09-09 15:47:49 -06:00
Sam Germain
9f96b977f6
removed interest method from exchange, will create a separate interest PR
2021-09-09 15:47:49 -06:00
Sam Germain
93da13212c
test_fill_leverage_brackets_kraken and test_get_max_leverage_binance now pass but test_fill_leverage_brackets_ftx does not if called after test_get_max_leverage_binance
2021-09-09 15:47:49 -06:00
Sam Germain
9e73d02663
Added validating checks for trading_mode and collateral on each exchange
2021-09-09 15:47:49 -06:00
Sam Germain
619ecc9728
Added exceptions to exchange.interest_rate
2021-09-09 15:47:49 -06:00
Sam Germain
97d1306e34
Added retrier to exchange functions and reduced failing tests down to 2
2021-09-09 15:47:49 -06:00
Sam Germain
cd33f69c7e
Wrote failing test_fill_leverage_brackets_binance
2021-09-09 15:47:49 -06:00
Sam Germain
2b7d94a855
Rearranged tests at end of ftx to match other exchanges
2021-09-09 15:47:49 -06:00
Sam Germain
0232f0fa18
Added failing fill_leverage_brackets test to test_kraken
2021-09-09 15:47:49 -06:00
Sam Germain
8d74233aa5
ftx.fill_leverage_brackets test
2021-09-09 15:47:49 -06:00
Sam Germain
8264cc546d
Wrote dummy tests for exchange.get_interest_rate
2021-09-09 15:47:49 -06:00
Sam Germain
607e403eb2
split test_get_max_leverage into separate exchange files
2021-09-09 15:47:49 -06:00
Sam Germain
5708fee0e6
Wrote failing tests for exchange.set_leverage and exchange.set_margin_mode
2021-09-09 15:47:49 -06:00
Sam Germain
3a4d247b64
Changed stoploss side on some tests
2021-09-09 15:47:49 -06:00
Sam Germain
f950f039a8
added tests for min stake amount with leverage
2021-09-09 15:47:49 -06:00
Sam Germain
134a7ec59b
Implemented fill_leverage_brackets get_max_leverage and set_leverage for binance, kraken and ftx. Wrote tests test_apply_leverage_to_stake_amount and test_get_max_leverage
2021-09-09 15:47:49 -06:00
Sam Germain
455bcf5389
Added TODOs to test files
2021-09-09 15:47:49 -06:00
Sam Germain
f4e26a616f
Exchange stoploss function takes side
2021-09-09 15:47:49 -06:00
Sam Germain
1f38088d7b
Merged with develop
2021-09-09 13:56:46 -06:00
Sam Germain
e1a749a91e
removed unnecessary caplog
2021-09-09 13:19:43 -06:00
Matthias
5844f5a7fa
Merge pull request #5546 from samgermain/clear-caplog-freqtradebot
...
freqtradebot-tests-caplog-clears
2021-09-09 21:18:54 +02:00
Sam Germain
366247dff3
removed caplog.clears at end of functions in test_freqtradebot
2021-09-09 02:17:41 -06:00
Sam Germain
dfb9937436
Added tests and docstring to exchange funding_fee methods, removed utils
2021-09-09 01:43:55 -06:00
Sam Germain
d54117990b
Added funding_fee method headers to exchange, and implemented some of the methods
2021-09-09 01:19:34 -06:00
Sam Germain
2f4b566d99
reverted back exchange.get_funding_fees method
2021-09-08 13:46:52 -06:00
Sam Germain
695a8fc73b
comment updates, formatting, TODOs
2021-09-08 03:09:39 -06:00
Sam Germain
1379ec7402
Updated log messages for freqtradebot
2021-09-08 03:04:01 -06:00
Sam Germain
b2f289e404
Fixed freqtradebot failing tests
2021-09-08 02:16:25 -06:00
Sam Germain
362dc20406
notify_buy -> notify_enter, notify_sell -> notify_exit
2021-09-08 02:06:01 -06:00
Sam Germain
e0092a85e9
handle_cancel_buy/sell -> handle_cancel_enter/exit
2021-09-08 02:04:20 -06:00
Sam Germain
be93c75e44
reupdate_buy_order_fees -> reupdate_enter_order_fees
2021-09-08 02:03:40 -06:00
Sam Germain
aac05029e1
safe_sell_amount -> safe_exit_amount
2021-09-08 02:03:24 -06:00
Sam Germain
53006db2b7
Updated log messages for freqtradebot
2021-09-08 01:48:22 -06:00
Sam Germain
f1a8b81896
sorted test interfac
2021-09-08 01:27:08 -06:00
Sam Germain
786dcb50eb
safe_sell_amount -> safe_exit_amount
2021-09-08 01:20:52 -06:00
Sam Germain
8ad53e99ce
reupdate_buy_order_fees -> reupdate_enter_order_fees
2021-09-08 01:14:16 -06:00
Sam Germain
88a5a30a50
handle_cancel_buy/sell -> handle_cancel_enter/exit
2021-09-08 00:53:09 -06:00
Sam Germain
8f38d6276f
notify_buy -> notify_enter, notify_sell -> notify_exit
2021-09-08 00:45:55 -06:00
Sam Germain
f8248f3771
comments, formatting
2021-09-08 00:19:21 -06:00
Sam Germain
e13b0414d8
Merge branch 'lev-strat' into lev-freqtradebot
2021-09-08 00:00:53 -06:00
Sam Germain
dc83e04f9b
Merge branch 'feat/short' into lev-exchange
2021-09-07 22:13:20 -06:00
Sam Germain
ff790e8fd3
merged with caplog-clear-freqtradebot
2021-09-07 22:12:49 -06:00
Sam Germain
93fcaac19f
Merge branch 'develop' into clear-caplog-freqtradebot
2021-09-07 21:55:00 -06:00
Sam Germain
79ca6135a2
added caplog clears to freqtradebot tests
2021-09-07 21:53:38 -06:00
Matthias
2d66987ac7
Add test for "pair-startdate" detection
2021-09-07 20:27:49 +02:00
Sam Germain
f5248be043
Changed funding fee tracking method, need to get funding_rate and open prices at multiple candles
2021-09-06 15:47:24 -06:00
Sam Germain
8822b73f9c
test_fill_leverage_brackets_kraken and test_get_max_leverage_binance now pass but test_fill_leverage_brackets_ftx does not if called after test_get_max_leverage_binance
2021-09-05 22:27:14 -06:00
Matthias
a8f28ffb11
Increase test coverage
2021-09-05 15:34:57 +02:00
Matthias
49350f2a8e
Fix backtesting test
2021-09-05 08:36:22 +02:00
Sam Germain
23ba49fec2
Added validating checks for trading_mode and collateral on each exchange
2021-09-04 22:02:08 -06:00
Sam Germain
7eab855476
Merge branch 'feat/short' into lev-exchange
2021-09-04 20:15:36 -06:00
Sam Germain
6ec2e40736
Added exceptions to exchange.interest_rate
2021-09-04 19:47:04 -06:00
Sam Germain
61fdf74ad9
Added retrier to exchange functions and reduced failing tests down to 2
2021-09-04 19:16:17 -06:00
Sam Germain
92e630eb69
Added get_funding_fees method to exchange
2021-09-04 16:40:53 -06:00
Sam Germain
d6d5bae2a1
New funding fee methods
2021-09-04 16:33:06 -06:00
Sam Germain
b854350e8d
Changed funding fee implementation
2021-09-04 16:31:09 -06:00
Sam Germain
b7891485b3
Created FundingFee class and added funding_fee to LocalTrade and freqtradebot
2021-09-04 16:20:07 -06:00
Matthias
2e50948699
Fix some tests
2021-09-04 20:23:51 +02:00
Matthias
ca44d2e092
Merge branch 'feat/short' into pr/samgermain/5378
2021-09-04 19:54:34 +02:00
Sam Germain
aac1094078
Wrote failing test_fill_leverage_brackets_binance
2021-09-03 20:30:52 -06:00
Sam Germain
95bd0721ae
Rearranged tests at end of ftx to match other exchanges
2021-09-03 20:30:19 -06:00
Sam Germain
c5d97d07a8
Added failing fill_leverage_brackets test to test_kraken
2021-09-03 20:29:46 -06:00
Sam Germain
01263663be
ftx.fill_leverage_brackets test
2021-09-03 19:56:53 -06:00
Sam Germain
9d398924c6
Wrote dummy tests for exchange.get_interest_rate
2021-09-03 19:56:13 -06:00
Sam Germain
9b953f6e60
split test_get_max_leverage into separate exchange files
2021-09-03 19:25:16 -06:00
Sam Germain
1b20b4f3c7
Wrote failing tests for exchange.set_leverage and exchange.set_margin_mode
2021-09-03 19:00:04 -06:00
Matthias
93c1dff71b
Allow adding new additional headers
2021-09-02 21:02:45 +02:00
Matthias
5184cc7749
Merge branch 'develop' into feat/short
2021-09-02 07:03:14 +02:00
Matthias
b0c4f079c2
Merge branch 'develop' into feat/backtest_detail
2021-08-31 20:16:42 +02:00
Matthias
1895230afe
Clarify exception on load when markets could not be loaded
...
closes #5498
2021-08-29 09:18:46 +02:00
Matthias
2ce458810b
rename default_hyperopt_loss file
2021-08-26 19:39:57 +02:00
Matthias
07d71f014f
Rename defaultStrategy file
2021-08-26 19:38:41 +02:00
Matthias
6d96b11279
Rename DefaultStrategy
2021-08-26 07:25:53 +02:00
Matthias
df1c0540ab
Rename Hyperopt Test Class
2021-08-26 07:20:05 +02:00
Matthias
0d8e105a33
Rename legacystrategy file
2021-08-26 07:14:49 +02:00
Matthias
58ecb34a66
Allow DefaultHyperopts as hyperopt name
2021-08-26 07:13:18 +02:00
Matthias
fbf8eb4526
Rename test-legacy strategy
2021-08-26 07:04:33 +02:00
Matthias
1f3ccc2587
DefaultStrategy does not need to be limited
2021-08-26 07:00:15 +02:00
Matthias
c4be52d1c3
rename execute_sell to execute_trade_exit
2021-08-26 06:53:42 +02:00
Matthias
63844d39f6
Rename execute_buy to execute_entry
2021-08-26 06:48:26 +02:00
Matthias
b61735937c
Replace Patch_get_signal with proper calls
2021-08-25 21:05:55 +02:00
Matthias
053d6d8ee1
Merge branch 'feat/short' into pr/samgermain/5378
2021-08-25 20:34:52 +02:00
Matthias
e1c3b7fd8c
Merge branch 'develop' into feat/short
2021-08-25 20:31:40 +02:00
Matthias
4b36276e4f
Improve has_space test
2021-08-25 19:54:26 +02:00
Matthias
8a9407bac9
Don't hard-fail when fetch_ticker doesn't return a value
...
closes #5477
2021-08-25 07:13:59 +02:00
Matthias
6b93c71d15
Small refactorings, use only enter_long columns
2021-08-25 06:49:06 +02:00
Matthias
b951f59f89
Fix patch_get_signal
2021-08-24 21:03:13 +02:00
Matthias
c004942588
Merge branch 'feat/short' into pr/samgermain/5378
2021-08-24 20:53:45 +02:00
Matthias
f4242106d9
Merge branch 'develop' into feat/short
2021-08-24 20:53:21 +02:00
Matthias
60b476611c
Simplify a number of tests by relying on default arguments
2021-08-24 20:51:59 +02:00
Matthias
f9f32a15bb
Update plotting tests for new strategy interface
2021-08-24 20:30:42 +02:00
Matthias
b40f985b13
Add short-exit logic to backtesting
2021-08-24 20:02:40 +02:00
Matthias
11bd8e912e
Fix some tests
2021-08-24 06:52:28 +02:00
Matthias
7a977a8eaf
Merge branch 'feat/short' into pr/samgermain/5378
2021-08-24 06:28:16 +02:00
Matthias
957551ea97
Merge branch 'develop' into feat/short
2021-08-24 06:25:06 +02:00
Matthias
faf5cfa66d
Update some tests for updated backtest interface
2021-08-23 21:35:28 +02:00
Sam Germain
317a454c0e
Removed shorting from tests/optimize/hyperopts/default_hyperopt.py and created another tests/optimize/hyperopts/short_hyperopt.py with long and shorting
2021-08-23 00:24:49 -06:00
Sam Germain
0afeb269ad
Removed unnecessary TODOs
2021-08-23 00:15:35 -06:00
Sam Germain
e5b2b64a3f
Changed stoploss side on some tests
2021-08-22 23:36:36 -06:00
Sam Germain
0a624e70ee
added tests for min stake amount with leverage
2021-08-22 23:28:03 -06:00
Sam Germain
8644449c33
Removed changes from tests/strategy/strats that hyperopted short parameters, because these are supposed to be legacy tests
2021-08-22 21:47:02 -06:00
Sam Germain
5ca3f49cb5
merged with feat/short after feat/short added styling and comment changes PR
2021-08-22 21:37:20 -06:00
Sam Germain
488d729574
Merge branch 'feat/short' into lev-exchange
2021-08-22 20:59:33 -06:00
Sam Germain
97bb555d41
Implemented fill_leverage_brackets get_max_leverage and set_leverage for binance, kraken and ftx. Wrote tests test_apply_leverage_to_stake_amount and test_get_max_leverage
2021-08-20 18:23:21 -06:00
Masoud Azizi
127f470bc3
.* ADDED
2021-08-20 19:29:33 +02:00
Masoud Azizi
40ad451019
Download-data log process added
...
Download-data log process added
pytest assert solved
2021-08-20 14:52:56 +00:00
Matthias
ba5abb20bd
Run compat ci for gate.io
2021-08-20 06:30:27 +02:00
Sam Germain
092780df9d
condensed strategy methods down to 2
2021-08-18 16:52:34 -06:00
Sam Germain
d4a7d2d444
Added short and exit_short to strategy
2021-08-18 16:52:20 -06:00
Sam Germain
e2d5299116
Name changes for strategy
2021-08-18 13:22:54 -06:00
Matthias
f7087feeb1
Merge pull request #5347 from Axel-CH/custom_order_price
...
Custom order price
2021-08-18 20:59:40 +02:00
Matthias
9951f51079
Update test to ensure direction of movement is correct
2021-08-18 20:24:19 +02:00
axel
2fb9f6e2f4
rename custom price max distance option in config, update formula and test associated
2021-08-18 05:07:37 -04:00
Matthias
acb00cd072
Use realistic threshold for "get_fee" test
2021-08-18 06:25:52 +02:00
Matthias
4164f93853
Simplify fiat_convert and handle multi-mappings
2021-08-17 20:50:52 +02:00
Matthias
f471915828
Add test for refresh_latest_ohlcv caching
2021-08-17 06:44:36 +02:00
axel
6ab99369f2
Merge branch 'develop' of https://github.com/freqtrade/freqtrade into custom_order_price
2021-08-16 23:26:29 -04:00
axel
faff40577a
fix test_execute_buy In case of custom entry price
2021-08-16 15:33:05 -04:00
axel
3ea4b2ba00
add custom_price_max_distance_percent security to get_valid_price, update tests
2021-08-16 15:18:57 -04:00
Matthias
0264d77d86
Fix test for fixed typo
2021-08-16 20:02:25 +02:00
slowy07
f24a951ec5
fix: typo spelling grammar
2021-08-16 19:16:24 +07:00
Matthias
6b2ef36a56
Prevent directory traversal in UI Serving
...
Checking for directory base
closes #5427
2021-08-16 06:47:53 +02:00
Matthias
abddb3ef25
Add test for directory traversal
2021-08-16 06:45:23 +02:00
Matthias
fa4ec9f83e
Add explicit test for get_sell_trade_entry
2021-08-15 14:52:24 +02:00
Matthias
3406b889b6
First test
2021-08-14 17:06:28 +02:00
Matthias
c456cfc312
Merge branch 'develop' into pr/Axel-CH/5347
2021-08-14 09:13:30 +02:00
axel
20cc60bfde
update get_valid_price function and test cases to handle inputs with try catch
2021-08-13 11:06:15 -04:00
axel
dbf7f34ecb
add unit test to function get_valid_price
2021-08-12 15:30:49 -04:00
axel
ae11be3970
manage None or string value returned by custom_entry_price and add unit test for those cases
2021-08-12 14:47:01 -04:00
Matthias
e03784d98d
Fix filled exception
...
closes #5404
2021-08-12 05:02:56 +00:00
Matthias
bfc3968ab3
Merge pull request #5400 from freqtrade/limit_dry_market_slippage
...
Add max-slippage limiting for dry-run orders to avoid insane market o…
2021-08-12 06:54:55 +02:00
Rokas Kupstys
f6267c7514
Fix buy_tag not being saved to trade object.
...
Column is mistakenly excluded because advise_buy() creating this column runs after code detecting presence of buy_tag column.
2021-08-11 15:21:23 +03:00
Matthias
61c076563f
Add max-slippage limiting for dry-run orders to avoid insane market order fills
2021-08-11 12:11:29 +02:00
Sam Germain
180d92f879
Merge branch 'feat/short' into lev-exchange
2021-08-11 01:46:41 -06:00
Matthias
0b6aedbc4c
Merge pull request #5395 from freqtrade/fix/hyperopt-show
...
Stream hyperopt-result in small batches
2021-08-10 19:54:02 +02:00
Matthias
039d6384ed
Stream hyperopt-result in small batches
...
Avoiding memory-exhaustion on huge hyperopt results
closes #5305
closes #5149
2021-08-10 10:12:57 +02:00
Matthias
3f160c7144
Cache dataframe before cutting the first candle
...
This allows providing the "current closed" candle in all cases.
2021-08-10 09:14:29 +02:00
Matthias
cf27968b97
Properly preserve trade's low during backtesting
2021-08-09 19:38:56 +02:00
Matthias
895b912c71
Fix recently introduced lookahead bias in backtesting
...
closes #5388
2021-08-09 14:54:47 +02:00
Matthias
a5f796bc97
refactor ohlcvdata_to_dataframe to advise_all_indicators
2021-08-09 14:53:18 +02:00
Matthias
599ae15460
Parametrize tests
2021-08-09 11:35:27 +02:00
Matthias
f17942b68f
Fix random test failure
2021-08-09 11:18:18 +02:00
Sam Germain
de4b0d1f7c
Merged with feat/short
2021-08-09 00:24:25 -06:00
Sam Germain
06206335d9
Added tests for interest_function
2021-08-09 00:00:50 -06:00
Sam Germain
0733d69cda
Added TODOs to test files
2021-08-08 23:24:38 -06:00
Sam Germain
2c0077abc7
Exchange stoploss function takes side
2021-08-08 23:24:03 -06:00
Sam Germain
b48b768757
Added get_interest template method in exchange
2021-08-08 23:24:03 -06:00
Matthias
47f641d12f
Remove hyperopt-pickle result support
2021-08-09 07:04:18 +02:00
Sam Germain
8e941e6836
Changed interest implementation
2021-08-08 17:09:17 -06:00
Sam Germain
0545a0ed3c
Replaced the term margin with leverage when it should say leverage
2021-08-08 17:04:24 -06:00
Matthias
756112c84d
Merge pull request #5374 from freqtrade/rem_legacy_hyperopt
...
Remove legacy hyperopt
2021-08-08 12:42:52 +02:00
Matthias
be240566ba
Fix random test failure
2021-08-08 10:57:20 +02:00
Matthias
faf16a64e5
Remove legacy hyperopt file support
2021-08-08 10:22:45 +02:00
Matthias
92ed7c0bf8
Merge branch 'develop' into feat/short
2021-08-07 09:42:25 +02:00
Matthias
6532aba765
Merge pull request #5360 from freqtrade/hyperopt_protections
...
Hyperopt protections and Boolean parameter
2021-08-07 09:42:05 +02:00
Sam Germain
b9356a5564
Autopep8 formatting
2021-08-06 16:35:39 -06:00
axel
0aeebc9d53
add test for custom exit price
2021-08-05 17:57:45 -04:00
axel
2cf781f3dd
add freqtradebot execute_buy test in custom entry price case
2021-08-04 18:32:39 -04:00
Matthias
ad0e4a8567
Add BooleanParameter
2021-08-04 20:52:56 +02:00
Matthias
b73768acd1
Fix bug in property overwriting prevention
2021-08-04 20:21:56 +02:00
Matthias
3c41223333
Add test for protections-hyperopt
2021-08-04 20:01:28 +02:00
Matthias
a661e0db6e
Deprecate protections from config
2021-08-04 19:43:16 +02:00
Matthias
091bf7c4d2
Output protection space
2021-08-04 06:50:14 +02:00
axel
bc3e6deb1c
remove specific test for buy with custom entry
2021-08-03 17:09:52 -04:00
axel
b3dafb378e
remove use_custom_entry_price as a config option
2021-08-03 16:54:28 -04:00
axel
00939b63f2
flake 8 fixes
2021-08-03 16:25:18 -04:00
axel
d9c9b7d7fc
restore interface test file
2021-08-03 16:02:10 -04:00
axel
3d8c3ffd38
fix syntax error in unit test
2021-08-03 15:57:23 -04:00
axel
f11f5d17e9
add feature custom entry price for live
2021-08-03 15:57:23 -04:00
Sam Germain
d88e2ae603
Merge branch 'develop' into margin-db
2021-08-02 23:58:44 -06:00
Matthias
adb33e763b
Merge pull request #5350 from freqtrade/environment_vars
...
Add environment variable support
2021-08-02 20:48:23 +02:00
Matthias
c981641441
Don't fail if strategy doesn't contain sell signal
2021-08-02 20:30:46 +02:00
Matthias
d8d8261f1b
Merge pull request #5318 from samgermain/combined_exchange_buy_sell
...
combined exchange.buy and exchange.sell
2021-08-02 20:11:09 +02:00
Matthias
3c5f06d5c0
Update tests/exchange/test_exchange.py
2021-08-02 08:31:33 +02:00
Matthias
5ead95b06b
Merge pull request #5245 from sauces1313/RangeStabilityFilterMax
...
Range stability filter max
2021-08-02 08:06:36 +02:00
Matthias
b63eda3a2b
Some minor cleanup and improved test coverage
2021-08-02 07:15:09 +02:00
Sam Germain
047df0c212
Removed leverage references
2021-08-01 03:01:47 -06:00
Sam Germain
90a61b1765
Changed tests in tests/test_persistence.py to use usdt prices
2021-07-31 20:44:49 -06:00
Matthias
6f8519d0a3
Add environment variable support
2021-07-31 19:26:56 +02:00
Matthias
c5e3348b89
Migrations for indexes should run in a seperate session
...
closes #5349
2021-07-31 16:36:28 +02:00
Sam Germain
bc42516f68
test_update_limit_order has both a buy and sell leverage short order
2021-07-31 01:05:37 -06:00
Matthias
6abd352c0f
Add test for backtesting dataframe cache
2021-07-31 08:44:09 +02:00
Sam Germain
26be620f71
Removed LocalTrade.set_is_short
2021-07-31 00:20:25 -06:00
Sam Germain
fadb0de7c7
Removed excess modes stop_loss method, removed models.is_opening_side models.is_closing_side
2021-07-31 00:12:53 -06:00
Matthias
35bf2a59a8
Improve test reliability (fix fluky test)
2021-07-30 21:02:55 +02:00
Matthias
138b126d03
Merge pull request #5299 from kevinjulian/feat/kevinjulian/add-buy-signal-name
...
Add buy signal name
2021-07-30 08:23:11 +02:00
Matthias
71838dc51a
Merge pull request #5285 from freqtrade/backtest_startup_afte_populates
...
Remove startup-candles after populating buy/sell signals
2021-07-30 07:01:26 +02:00
Matthias
cf4d1875dd
Use prohibitedIn instead of isRestricted
2021-07-29 06:56:37 +02:00
Sam Germain
25c527ee67
combined exchange.buy and exchange.sell, Adding dummy mock to create_order in tests in test_freqtradebot
2021-07-28 14:55:06 -06:00
Sam Germain
3fb7f983f8
Added is_short and leverage to __repr__
2021-07-28 12:25:56 -06:00
Sam Germain
195badeb80
Changed liquidation_price to isolated_liq
2021-07-28 12:25:56 -06:00
Sam Germain
6ad9b535a9
persistence all to one test file, use more regular values like 2.0 for persistence tests
2021-07-28 12:25:56 -06:00
Sam Germain
a900570f1a
Added enter_side and exit_side computed variables to persistence
2021-07-28 12:25:56 -06:00
Sam Germain
b801eaaa54
Changed the name of a test to match it's equivelent
...
Removed test-analysis-lev
2021-07-28 12:25:56 -06:00
Sam Germain
af8875574c
updated mkdocs and leverage docs
...
Added tests for set_liquidation_price and set_stop_loss
updated params in interestmode enum
2021-07-28 12:25:56 -06:00
Sam Germain
256160740e
Updated interest and ratio calculations to correct functions
2021-07-28 12:25:56 -06:00
Sam Germain
8e52a3a29c
updated ratio_calc_profit function
2021-07-28 12:25:55 -06:00
Sam Germain
b0476ebd3e
All persistence margin tests pass
...
Flake8 compliant, passed mypy, ran isort .
2021-07-28 12:25:55 -06:00
Sam Germain
60572c9e0d
Took liquidation price out of order completely
2021-07-28 12:25:55 -06:00
Sam Germain
0fc9d6b6ac
Moved leverage and is_short variables out of trade constructors and into conftest
2021-07-28 12:25:55 -06:00
Sam Germain
b7b6d87c27
Pass all but one test, because sqalchemy messes up
2021-07-28 12:25:55 -06:00
Sam Germain
b1098f0120
Added liquidation_price check to test_stoploss_reinitialization_short
2021-07-28 12:25:55 -06:00
Sam Germain
811cea288d
Added checks for making sure stop_loss doesn't go below liquidation_price
2021-07-28 12:25:55 -06:00
Sam Germain
0bd71f87d0
made leveraged test names unique
...
test_adjust_stop_loss_short, test_update_market_order_shortpasses
2021-07-28 12:25:55 -06:00
Sam Germain
286427c04a
Moved interest calculation to an enum
2021-07-28 12:25:55 -06:00
Sam Germain
be3a9390fe
Switched migrations.py check for stake_currency back to open_rate, because stake_currency is no longer a variable
2021-07-28 12:25:55 -06:00
Sam Germain
a4403c0814
fixed rpc_apiserver test fails, changed test_persistence_long to test_persistence_leverage
2021-07-28 12:25:55 -06:00
Sam Germain
0ffc85fed9
Set default leverage to 1.0
2021-07-28 12:25:55 -06:00
Sam Germain
78708b27f2
Updated tests to new persistence
2021-07-28 12:25:55 -06:00
Matthias
e0d42d2eb7
Fix migrations, revert some parts related to amount properties
2021-07-28 12:25:55 -06:00
Sam Germain
e4d4d1d1f1
Wrote all tests for shorting
2021-07-28 12:25:55 -06:00
Sam Germain
f194673001
Updated ratio calculation, updated short tests
2021-07-28 12:25:55 -06:00
Sam Germain
5ac03762f0
Kraken interest test comes really close to passing
...
Added more trades to conftest_trades
2021-07-28 12:25:55 -06:00
Sam Germain
68d3699c19
Turned amount into a computed property
2021-07-28 12:25:55 -06:00
Sam Germain
efcc2adacf
About 15 margin tests pass
2021-07-28 12:25:55 -06:00
Sam Germain
f5d7deedf4
added exception checks to LocalTrade.leverage and LocalTrade.borrowed
2021-07-28 12:25:55 -06:00
Sam Germain
d07fe1586c
Set leverage and borowed to computed properties
2021-07-28 12:25:55 -06:00
Sam Germain
c24ec89dc4
Started some pytests for short and leverage
...
1 short test passes
2021-07-28 12:25:55 -06:00
Sam Germain
000932eed0
Adding templates for leverage/short tests
...
All previous pytests pass
2021-07-28 12:25:55 -06:00
sauces1313
4675d85b90
Merge branch 'freqtrade:develop' into RangeStabilityFilterMax
2021-07-25 02:37:56 -05:00
sauces1313
34c8a5afaf
remove second filter, add max option
2021-07-25 07:24:55 +00:00
kevinjulian
0fcbe097c0
remove blankspace
2021-07-23 21:06:38 +07:00
kevinjulian
7a0cb95ffb
fix testcase
2021-07-23 20:43:27 +07:00
kevinjulian
b9c2489b73
remove SN
2021-07-23 18:41:29 +07:00
kevinjulian
ba0fa1120a
revert rename naming
2021-07-23 18:39:18 +07:00
kevinjulian
acfaa39e54
revert back test_rpc_api_server
2021-07-23 18:34:18 +07:00
kevinjulian
8032257fdf
revert test_pairlist
2021-07-23 18:30:25 +07:00
kevinjulian
aea5da0c73
changes testcase
2021-07-23 11:42:43 +07:00
kevinjulian
b01daa8bbc
expose buy_tag to api
2021-07-22 13:09:05 +07:00
kevinjulian
46f2a20a98
run flake8
2021-07-22 02:00:51 +07:00
kevinjulian
235c1afd09
add buy_tag on telegram
2021-07-22 01:53:15 +07:00
kevinjulian
49886874aa
rename to buy_tag
2021-07-21 20:05:35 +07:00
kevinjulian
66a7070170
run linter
2021-07-20 23:56:03 +07:00
kevinjulian
5d04d6ffa7
fix edge testcase
2021-07-20 23:40:32 +07:00
kevinjulian
cbfedf8b29
fix backtest testcase
2021-07-20 23:25:00 +07:00
kevinjulian
3d8b2d601d
fix test persistance
2021-07-20 20:23:47 +07:00
Kevin Julian
edf9c08f06
Merge branch 'develop' into feat/kevinjulian/add-buy-signal-name
2021-07-20 19:19:46 +07:00
kevinjulian
ed30c023cd
fix some testcase
2021-07-20 19:08:14 +07:00
kevinjulian
ec526b3f96
fix testcase
2021-07-20 16:22:04 +07:00
kevinjulian
7d04005218
add test and migration
2021-07-20 16:14:48 +07:00
Matthias
e4b42b2b5b
Merge pull request #5284 from samgermain/merge_get_buy_sell_rate
...
Merge get_buy_rate and get_sell_rate
2021-07-20 06:54:47 +02:00
Matthias
365479f5e0
Remove startup-candles after populating buy/sell signals
...
closes #5242
2021-07-18 11:06:41 +02:00
Matthias
adef5d89f3
Fix failing test after webserver merge
2021-07-18 11:06:14 +02:00
Matthias
7b7d9c02d7
Merge pull request #5243 from freqtrade/feat/webservermode_progress
...
Introduce webserver mode subcommand
2021-07-18 10:48:55 +02:00
Sam Germain
7c27525bd8
Merge get_buy_rate and get_sell_rate
2021-07-17 22:51:20 -06:00
Matthias
4899b06b31
Merge pull request #5273 from freqtrade/fix/profit_calc
...
fix calculation logic for /profit
2021-07-16 19:19:28 +02:00
Sam Germain
804bc8134f
Merge branch 'develop' into example_json_filename_extensions
2021-07-16 02:05:08 -06:00
Sam Germain
b7dc2989e7
flake8 adjustments
2021-07-16 02:03:25 -06:00
Matthias
2e95df4d8d
Update docs for /profit output
2021-07-15 20:12:44 +02:00
Matthias
697bf92f6f
Add test for get_starting_balance method
2021-07-14 21:10:25 +02:00
Matthias
02d716a8be
Fix api test
2021-07-14 21:03:57 +02:00
Matthias
3451687135
Merge pull request #5255 from freqtrade/improve_dynamic_stake
...
Improve dynamic stake with multiple bots on the same exchange
2021-07-14 06:45:48 +02:00
Sam Germain
362436f7d2
Renamed example config files so they are .json so that syntax highlighting is all correct. Explicitly listed each one in .gitignore to prevent a real config file from being uploaded accidently
2021-07-13 19:39:23 -06:00
anasyusef
91e5562ae0
style: apply flake8 formatting
2021-07-12 13:22:36 +00:00
anasyusef
313cf6a013
test: add test for parsing db uri
2021-07-12 12:28:34 +00:00
Matthias
6a8e8875a2
Test new behaviour
2021-07-12 06:54:06 +02:00
Matthias
b41c234440
Extract Closed profit calculation to trade object
2021-07-12 06:54:06 +02:00
Matthias
ed77889d6b
Add explicit tests for _validate_stake_amount
2021-07-12 06:52:59 +02:00
Matthias
7ea0a74c53
Default to proposed stake
2021-07-11 14:11:41 +02:00
Rokas Kupstys
0e4466ca1e
Implement strategy-controlled stake sizes. Expose self.wallet
to a strategy.
2021-07-11 12:38:58 +03:00
Matthias
72a103f32d
Properly test webserver startup in standalone mode
2021-07-10 10:21:25 +02:00
Matthias
225522762b
Merge pull request #5231 from nightshift2k/enhancement/range-based-volumefilter
...
Range based VolumeFilter
2021-07-08 07:22:37 +02:00
Matthias
76e51cddba
Merge pull request #5246 from nightshift2k/feature/offsetfilter
...
new filter OffsetFilter for offsetting incoming pairlists
2021-07-07 21:06:23 +02:00
Matthias
682f880630
Slightly simplify if statement, add additional test
2021-07-07 20:05:56 +02:00
nightshift2k
c44e87cd30
added tests for `OffsetFilter
...
to `test_pairlist.py`
2021-07-07 12:06:55 +02:00
nightshift2k
f30e300f18
adjusted test_pairlist.py
for fixed rolling sum
2021-07-07 11:28:35 +02:00
Matthias
b7a9853d9a
Increase test coverage
2021-07-06 21:04:52 +02:00
Matthias
a4bd862323
Fix fluky test
2021-07-06 20:29:04 +02:00
Matthias
005da97183
extract backtesting abort functionality
2021-07-06 19:48:28 +02:00
Matthias
5474d5ee64
Move webserver start command to seperate file
2021-07-06 19:48:28 +02:00
Matthias
b44d215b90
Add test for backtest via APII
2021-07-06 19:48:28 +02:00
Matthias
8566306010
Add test for start_websever
2021-07-06 19:48:28 +02:00
Matthias
edb8c4f0e5
Fix tests for webserver mode
2021-07-06 19:48:28 +02:00
Kevin Julian
0f3d34eaf4
Merge branch 'develop' into agefilter-max-days-listed
2021-07-06 19:47:18 +07:00
kevinjulian
502c69dce3
change short desc
2021-07-06 19:36:42 +07:00
Matthias
dec523eef0
Display verison of installed FreqUI
2021-07-06 07:20:05 +02:00
nightshift2k
1e87225e91
added test_VolumePairList_range
to test_pairlist.py
2021-07-05 20:59:27 +02:00
Matthias
eb3ead4930
Merge pull request #5229 from kevinjulian/telegram-balance
...
compact low balance currencies
2021-07-05 06:56:35 +02: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
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
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
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
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
barbarius
a0f28f4a15
Added max open trades to strategy summary first line
2021-06-28 17:05:12 +02:00
barbarius
c99ae3b419
Added timerange above multiple strategy backtest result summary table
2021-06-28 10:20:34 +02: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
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
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
Matthias
901d984ee3
Tests should write to tmpdir, not testdir
2021-05-30 16:26:24 +02:00
Matthias
08f96df3ac
Don't write to testdir, but to tempdir
2021-05-30 08:43:14 +02:00
Matthias
d7fdc2114a
allow list-strategies to show if params are hyperoptable
2021-05-29 13:27:08 +02:00
Matthias
313567d07d
Support having numbers in custom keyboard
2021-05-29 08:12:25 +02:00
Matthias
8a56af9192
Update onlyprofit loss should use absolute profit
...
closes #4934
2021-05-28 08:38:46 +02:00
Matthias
7bfe935e37
Merge pull request #4838 from Antreasgr/fix-encoding-issue
...
Fix bug in running hyperopt in windows 10
2021-05-27 14:57:36 +01:00
Matthias
a89364aa98
Merge branch 'develop' into pr/Antreasgr/4838
2021-05-27 14:59:39 +02:00
Matthias
3014bc3467
Don't use Sum sign in hyperopt to avoid compatibility problems
2021-05-27 14:22:11 +02:00
Matthias
b82f7a2dfd
Update orders-migrations to work with new sqlalchemy syntax
2021-05-27 11:38:28 +02:00
Matthias
a01d05997e
Add Trade.commit method for easy use
2021-05-27 11:38:28 +02:00
Matthias
c31cb67118
Further changes for sqlalchemy 1.4
2021-05-27 11:38:28 +02:00
Matthias
8bef7217ec
Forgot to save :O
2021-05-27 11:24:01 +02:00
Matthias
a6cd353655
Address random ci failure
2021-05-27 11:22:22 +02:00
Matthias
f760b4a789
Merge branch 'develop' into pr/gmatheu/4746
2021-05-23 16:03:11 +02:00
Matthias
77302ea178
Update documentation for forcebuy query
2021-05-23 16:01:49 +02:00
Matthias
a39860e0de
Add tests for rejected signals
2021-05-23 14:15:02 +02:00
Matthias
02faeb60a3
Merge pull request #4943 from rokups/rk/statistics
...
Extra statistics
2021-05-23 08:38:27 +01:00
Matthias
916ece6a29
More realistic testcase for results
2021-05-23 09:15:36 +02:00
Matthias
765c824bfc
isort
2021-05-22 17:25:23 +02:00
Rokas Kupstys
25cc4eae96
Fix tests that broke after table formatting changed.
2021-05-22 15:25:37 +02:00
A. Schueler
be13856171
Fix flake8 error in test_fiat_convert
2021-05-22 13:43:48 +02:00
A. Schueler
e4ca944597
Add tests for coingecko backoff
2021-05-22 12:04:24 +02:00
Matthias
df0928c8b5
Merge pull request #4992 from freqtrade/buy_partial_fill
...
Don't cancel low partial filled buy
2021-05-22 09:17:04 +01:00
Matthias
44bbc0718e
CLosing bracket
2021-05-21 20:54:18 +02:00
Matthias
a7216e6279
SQLite does not know drop column
2021-05-21 20:53:38 +02:00
Matthias
41e3233bab
Fix failing test
2021-05-21 20:44:11 +02:00
Matthias
6acb2eb2b6
Add average column to orders table
2021-05-21 20:35:39 +02:00
Matthias
4e94d3d3e5
Add test for too small buy check
2021-05-21 19:49:36 +02:00
Rokas Kupstys
e1dc1357ce
Add drawdown column to strategy summary table.
2021-05-21 11:36:23 +03:00
Matthias
ccd705bfda
Merge pull request #4962 from eschava/total_row
...
Total row for telegram "/status table" command
2021-05-21 08:02:30 +02:00
Matthias
586f2a699d
Merge pull request #4953 from freqtrade/value_filter
...
max-value change filter
2021-05-20 06:35:34 +02:00
Matthias
ef4d1c24d7
Merge pull request #4941 from brookmiles/fix-stoploss-above-candle
...
prevent backtest stoploss trade price being set above candle high
2021-05-19 06:20:35 +02:00
Matthias
7a9853bfe1
Fix "Too many open Files" exception
2021-05-18 20:39:55 +02:00
Matthias
2565f91bc2
Adjust tests to reflect new stoploss behaviour
2021-05-18 19:33:17 +02:00
Matthias
6aa574fa2b
Convert ROI result to proper json object
...
closes #4952
2021-05-17 20:58:50 +02:00
Matthias
6659a07079
Add tests for max-value filter
2021-05-17 19:47:57 +02:00
Matthias
369f19df6b
Add valuefilter to Pricefilters
2021-05-17 19:44:36 +02:00
Eugene Schava
459fae6d80
Total row for telegram "/status table" command
...
fixes
2021-05-17 16:22:48 +03:00
Eugene Schava
3ad8fa2f38
Total row for telegram "/status table" command
...
moved sum calculation to API
2021-05-17 15:59:03 +03:00
Matthias
37b71b8cfd
Fix PerformanceFilter failing in test-pairlist mode
2021-05-16 19:55:13 +02:00
Matthias
c9ac67e985
Fix some typos
2021-05-16 14:50:25 +02:00
Matthias
8f8d5dbff5
Add tests for sl_order_with_result
2021-05-16 14:41:50 +02:00
Matthias
6f38976470
Introduce cancel_stoploss_with_result
2021-05-16 14:15:24 +02:00
Matthias
0b1dd0d203
Use correct order_id for ftx
...
closes #4511
2021-05-16 09:15:25 +02:00
Matthias
2d7735ba04
Update telegram to sort performance by absolute performance
2021-05-15 19:49:21 +02:00
Matthias
6b2a38ccfb
Add absolute Profit to apiserver
2021-05-15 19:39:46 +02:00
Matthias
4f968b4a6f
Merge pull request #4926 from rokups/rk/misc-fixes
...
Two fixes
2021-05-15 15:11:07 +02:00
Rokas Kupstys
2d5f465f1b
Fix protections being loaded multiple times for first strategy when backtesting.
2021-05-15 13:37:03 +03:00
Matthias
e1447f955c
/locks should always respond, even if there's no locks
...
closes #4942
2021-05-15 10:50:00 +02:00
Matthias
a6c644161d
Merge pull request #4930 from freqtrade/hyperopt_memory
...
Hyperopt memory problems
2021-05-15 07:12:57 +02:00
Matthias
09756e3007
Subplots should always be included in responses
2021-05-14 06:36:50 +02:00
Matthias
5f5597b93f
Better test hyperopt writing and reading
2021-05-12 19:06:09 +02:00
Matthias
06bf1aa274
Store epochs as json per line
2021-05-12 05:58:25 +02:00
Matthias
7398ea88e0
Change optimize_reports to convert dates to string earlier
2021-05-11 20:37:49 +02:00
Matthias
b81f24d9c6
Merge pull request #4851 from rokups/rk/backtest-dataprovider
...
Data provider support in backtesting
2021-05-10 19:11:05 +02:00
Matthias
1c408c0404
Add small tests for backtest mode
2021-05-09 19:47:37 +02:00
Matthias
2157923aee
have edge send multiple messages if necessary
...
closes #4519
2021-05-08 19:45:34 +02:00
Matthias
4b6cd69c81
Add test for no-exchange dataprovider
2021-05-08 10:29:47 +03:00
Rokas Kupstys
cdfa6adbe5
Store pair datafrmes in dataprovider for backtesting.
2021-05-08 10:29:47 +03:00
Rokas Kupstys
dc6e702fec
Pass current_time to confirm_trade_entry/confirm_trade_exit.
2021-05-08 10:29:47 +03:00
Rokas Kupstys
d34da3f981
Revert "Add dataframe parameter to custom_stoploss() and custom_sell() methods."
...
This reverts commit 595b8735f8
.
# Conflicts:
# freqtrade/optimize/backtesting.py
# freqtrade/strategy/interface.py
2021-05-08 10:29:47 +03:00
Matthias
513be11fd9
Fix hyperopt output
...
closes #4892
2021-05-07 20:23:11 +02:00
Matthias
554f5f14b6
Raise exception if no data is left
2021-05-07 06:41:15 +02:00
Matthias
a710b7dc01
Update tests to match new behaviour
2021-05-05 19:58:45 +02:00
Matthias
da47f4e1a4
Fix Kraken balance update error
...
closes #4873
2021-05-05 06:47:26 +02:00
Matthias
da574e4e69
Small style fixes
2021-05-03 06:30:41 +02:00
Matthias
6d7096dc66
Use both old and new fixtures for test
2021-05-02 20:42:01 +02:00
Matthias
fc110ea418
Support csv export for new and old versions
2021-05-02 20:41:45 +02:00
Matthias
ef9dd0676c
Rename hyperoptresult fixture to avoid naming collision
2021-05-02 20:06:47 +02:00
Matthias
d069ad43d8
Small reformatting in hyperopt
2021-05-02 11:01:26 +02:00
Matthias
9049d6b779
Reformat hyper to cache parameters
2021-05-02 10:45:21 +02:00
Matthias
46f0f66039
Keep dimensions stored in hyperopt class
...
There is no point in regenerating them and it will cause some
overhead as all space classes will be recreated for every epoch.
2021-05-02 09:48:37 +02:00
Matthias
ced5cc7ce2
Don't recalculate min/max date - they won't change between epochs
2021-05-02 09:46:27 +02:00
Matthias
97478abb9d
Move format explanation string to HyperoptTools
2021-05-02 09:46:27 +02:00
Matthias
4c00d4496d
Update tests to reflect new backtest returns
2021-05-02 09:46:27 +02:00
Matthias
f2e182002d
Simplify calling backtesting by returning the proper result
2021-05-02 09:46:27 +02:00
Matthias
e2e1d34828
Extract stake_currency param from hyperopt-explanationstring
2021-05-02 09:46:27 +02:00
Matthias
852f125347
Fix tests
2021-05-02 09:46:27 +02:00
Matthias
545cba7fd8
Refactor optimize_report
...
we should not calculate non-daily statistics in the daily stats method
2021-05-02 09:46:27 +02:00
Matthias
b125c975c7
Rename strategy_comparison method
2021-05-02 09:46:27 +02:00
Matthias
c45204a2c4
Fix failing mocks
2021-05-02 08:59:21 +02:00
Matthias
30da307d13
Remove encode/decode for hyperopt
2021-05-01 17:01:52 +02:00
Matthias
555262b6e1
Only calculate additional indicators if the space is selected
2021-05-01 16:40:29 +02:00
Matthias
e381df9098
extract has_space to Hyperopt-Tools
2021-05-01 16:36:35 +02:00
Matthias
a3d2e68312
Merge pull request #4750 from rokups/rk/custom_sell
...
Add IStrategy.custom_sell method which allows per-trade sell signal evaluation
2021-04-29 06:50:56 +02:00
Matthias
aab020c9a2
Merge pull request #4818 from freqtrade/cleanup_models
...
Move static Trade functions to right class
2021-04-28 21:18:55 +02:00
Matthias
63c28b6519
Remove obsolete get_balance method
2021-04-28 16:00:12 +02:00
Matthias
6eb947ae09
Move static Trade functions to right class
2021-04-28 06:37:40 +02:00
Matthias
cc916ab2e9
Add test for custom_sell
2021-04-26 20:26:14 +02:00
Matthias
6f0a585bd0
Fix random test failure due to ttl 0 issue
2021-04-26 11:53:44 +02:00
Matthias
bb7ef2f804
Cache pairlist in pairlist, not globally
...
closes #4797 closes #4689
2021-04-25 20:10:47 +02:00
Matthias
fd3afdc230
plot-profit should use absolute values
2021-04-25 10:10:09 +02:00
Rokas Kupstys
595b8735f8
Add dataframe parameter to custom_stoploss() and custom_sell() methods.
2021-04-25 09:48:40 +03:00
Rokas Kupstys
961b38636f
Remove explicit sell_flag parameter from SellCheckTuple.
2021-04-25 09:48:40 +03:00
Rokas Kupstys
bfad4e82ad
Make execute_sell() use SellCheckTuple for sell reason.
2021-04-25 09:48:40 +03:00
Matthias
4636b3970b
Fix failed test due to exchange downtime
2021-04-25 08:25:12 +02:00
Matthias
f12e002686
Merge pull request #4775 from freqtrade/fix_wallet_unlimited
...
Fix wallet unlimited
2021-04-24 15:54:06 +02:00
Matthias
5c7f278c8a
add tests for IntParameter.range
2021-04-24 07:18:35 +02:00
Matthias
4005708f85
Handle edge with volumepairlist and empty pair_whitelist
...
closes #4779
2021-04-23 06:50:39 +02:00
Matthias
4693cba10d
Merge pull request #4769 from freqtrade/trades_pagination
...
Trades pagination
2021-04-22 19:13:19 +02:00
Matthias
7e2e196643
improve sell_message by using sell rate
2021-04-22 17:13:22 +02:00
Matthias
92a2e254af
Fix backtesting test
2021-04-21 20:17:30 +02:00
Matthias
d8c8a8d8c2
Remvoe pointless arguments from get_trade_stake_amount
2021-04-21 20:01:10 +02:00
Matthias
9f6f3e0862
Address ZeroDivisionExceptiond
...
closes #4764 closes #4617
2021-04-20 21:41:49 +02:00
Matthias
05ce3acc46
Improve tests for api_trades
2021-04-20 21:29:16 +02:00
Matthias
bd92ce938c
trade_history should paginate through results
...
this avoids huge results
2021-04-20 21:04:44 +02:00
Matthias
f821ef5aec
Final finetunings of rpc_fill messages
2021-04-20 19:36:30 +02:00
Matthias
efbe0843be
Add documentation for fill messages
2021-04-20 19:23:29 +02:00
Matthias
0341ac5a55
rename RPC message types
2021-04-20 19:23:28 +02:00
Matthias
8800a09770
Don't send double-notifications for stoploss fills
2021-04-20 19:22:14 +02:00
Matthias
fecd5c582b
Add buy and sell fill notifications
...
closes #3542
2021-04-20 19:22:14 +02:00
Matthias
71b017e7c3
Simplify webhook test
2021-04-20 19:22:14 +02:00
Matthias
1936dd1ee8
Add test-case verifying "changing" wallet
...
with unlimited amount
2021-04-20 15:45:07 +02:00
Matthias
2254f65fa7
use binance intests instead of bittrex
2021-04-20 12:59:15 +02:00
Matthias
bd7e535e42
Use "human" amounts in stake_amount tests
2021-04-20 11:58:47 +02:00
Matthias
c9e901cf32
Move wallet tasks to test_wallets
2021-04-20 11:31:37 +02:00
Matthias
44bfb53668
Don't use current rate for closed trades
2021-04-17 19:29:34 +02:00
Matthias
c8d3d449a3
Add quick test for pair_whitelist overwrite
2021-04-17 10:51:02 +02:00
Matthias
c52edcff4d
Merge pull request #4677 from mads03dk/get_trade
...
Add API endpoint for getting a specific trade
2021-04-16 19:57:58 +02:00
Matthias
9f2b6ee9a5
Merge pull request #4740 from freqtrade/decimal_stoploss_Hyperopt
...
stoploss and roi skdecimal spaces hyperopt
2021-04-16 19:46:07 +02:00
Matthias
aeb81f90ff
Implement errorhandling for /trade endpoint
2021-04-16 19:35:56 +02:00
Gonzalo Matheu
e3c5a4b3fc
telegram: Formatting imports
2021-04-15 21:51:16 -03:00
Gonzalo Matheu
5fae4ea2fd
telegram: Formatting code
2021-04-15 21:51:16 -03:00
Gonzalo Matheu
50bdae8eb2
telegram: Adding forcebuy inline keyboard
2021-04-15 21:51:16 -03:00
grillzoo
5e51ba6258
fix flake8
2021-04-15 21:38:00 +01:00
Théo Martin
ce23d9dfee
Fix test min stake amount
2021-04-15 01:38:08 +01:00
Théo Martin
885096f2b3
Update tests for get_min_pair_stake_amount
2021-04-15 01:22:52 +01:00
Matthias
e820814809
Default-stoploss-hyperopt should use decimal space, nto real
2021-04-14 20:32:34 +02:00
Matthias
ba38e398e4
Add type hint
2021-04-13 22:17:42 +02:00
Matthias
c316531c49
make tests 3.7 compatible
2021-04-13 22:07:01 +02:00
Matthias
c2f35ce416
/balance should use cached tickers when possible
2021-04-13 20:21:03 +02:00
Matthias
e4bb6b1582
Add kucoin exchange subclass
...
Kucoin has some specific orderbook restrictions
closes #4723
2021-04-13 12:28:07 +02:00
Matthias
59cfbbee17
Merge pull request #4724 from csteeg/develop
...
Fixes FTX stoploss on echange throwing an error
2021-04-13 08:41:52 +02:00
Matthias
99e7ee1273
Fix ftx stoploss creation test
2021-04-13 08:26:41 +02:00
Matthias
f1cf56cc42
Update current_whitelist test
2021-04-13 06:57:21 +02:00
Matthias
9a58a85347
Don't export "hum" date versions for trade objects.
...
They are not used and have a rather high performance penalty due to
using arrow.get
2021-04-13 06:17:11 +02:00
Matthias
cb60db01b1
Merge pull request #4703 from freqtrade/decimal_space
...
Add SKDecimal Space
2021-04-12 19:18:10 +02:00
Matthias
aaf9872ef3
Simplify webserver test
2021-04-10 19:53:00 +02:00
Matthias
be0dc737dc
Merge pull request #4706 from freqtrade/simplify_fiat_convert
...
Simplify fiat convert and fix USD coingecko problem
2021-04-10 14:57:34 +02:00
Matthias
4820b4b314
Fix test failure
2021-04-10 14:52:34 +02:00
Matthias
579e68f31e
Reduce log verbosity when buying
2021-04-10 14:40:44 +02:00
Matthias
14e8574235
fetch_balance is never called in dry-run
2021-04-10 14:17:43 +02:00
Matthias
37c2e037f1
Rename dry_run_order to create_dry_run_order
2021-04-10 13:50:56 +02:00
Matthias
ebbe47f38d
Simplify fiat convert and fix USD coingecko problem
2021-04-10 13:36:16 +02:00
Matthias
4996bd443e
Merge pull request #4697 from freqtrade/docker_user
...
Docker as user
2021-04-10 08:19:25 +02:00
Matthias
34e47db18d
Test SKDecimal space
2021-04-09 22:15:24 +02:00
Matthias
fedff1a75a
Fix failing test
2021-04-09 22:10:20 +02:00
Matthias
898c24949b
Add chown method to support docker
2021-04-08 20:17:07 +02:00
Matthias
8cd3c05c39
Merge pull request #4686 from gerrito333/develop
...
Add Pairlist Handler for Volatility
2021-04-08 20:00:41 +02:00
Matthias
4d30c32ad2
Improve resiliancy of a test
2021-04-07 17:10:20 +02:00
Matthias
c36051be56
Merge pull request #4685 from freqtrade/ft_has
...
Use ccxt's has to check which exchanges can work with freqtrade
2021-04-07 10:47:56 +02:00
gbojen
17508efbbc
resolves freqtrade/freqtrade#4650
2021-04-07 08:59:44 +02:00
gbojen
9772a93634
resolves freqtrade/freqtrade#4650
2021-04-06 23:11:40 +02:00
gbojen
187cf6dcd5
VolatilityFilter resolves freqtrade/freqtrade#4650
2021-04-06 22:41:15 +02:00
Matthias
a3b4667f7c
Update exchange validation to use "validate_exchange".
2021-04-06 20:16:29 +02:00
Matthias
c40b811f19
flush after creating mock trades
2021-04-06 19:35:28 +02:00
Matthias
56ef3af424
Allow comments in pairs files
2021-04-06 13:29:22 +02:00
Matthias
ddabfe0206
adjust tests to match new exchangelist output
2021-04-06 07:58:45 +02:00
Matthias
431f0a3db4
Merge pull request #4671 from freqtrade/fix/sqlalchemy
...
sqlalchemy database locked bug
2021-04-05 14:09:35 +02:00
Matthias
dc406fe19f
Fail in case of name and explicit space name collisions
2021-04-05 10:53:00 +02:00
Matthias
7132aefd60
Rename Trade.session to Trade._session
2021-04-05 08:46:12 +02:00
Matthias
ea0b47a7f9
Replace test occurances of Trade.session with Trade.query.session
2021-04-05 07:38:07 +02:00
Matthias
41cb2a6451
Merge branch 'develop' into pr/rokups/4596
2021-04-03 17:00:37 +02:00
Matthias
6555454bd2
Remove more ticker_interval occurances
2021-04-03 16:54:47 +02:00
Rokas Kupstys
ea43d5ba85
Implement DecimalParameter and rename FloatParameter to RealParameter.
2021-04-02 17:08:16 +03:00
Mads Sørensen
ede26091b9
Add validation in the right places...
2021-04-02 14:35:19 +02:00
Mads Sørensen
2c0079b00b
Add profit_fiat to tests, use ANY, as price changes...
2021-04-02 13:16:52 +02:00
Matthias
d64295ba24
Adapt test strategy to new parameters
2021-04-01 06:55:25 +02:00
Matthias
2869d5368d
Allow edge to use dynamic pairlists
...
closes #4298
2021-03-30 20:20:24 +02:00
Matthias
50fcb3f330
Reduce verbosity of missing data if less than 1% of data is missing
2021-03-30 07:26:39 +02:00
Matthias
89bbfd2324
Remove candle_count from dataframe before backtesting
...
closes #3754
2021-03-29 20:26:54 +02:00
Matthias
6954a1e029
MOre tests for ParameterHyperopt
2021-03-29 19:49:22 +02:00
Matthias
f6211bc00e
new-config should include API config
2021-03-28 20:23:57 +02:00
Matthias
929f329607
more tests
2021-03-28 19:49:20 +02:00
Matthias
20f7e9b4b7
Make BaseParameter get_space abstract
2021-03-28 19:31:54 +02:00
Matthias
4fd7bedcb2
Sort imports ...
2021-03-27 11:32:51 +01:00
Matthias
71e2134694
Add some simple tests for hyperoptParameters
2021-03-27 11:26:26 +01:00
Matthias
7adfa0cfd9
Merge pull request #4592 from freqtrade/dependabot/pip/develop/sqlalchemy-1.4.2
...
Bump sqlalchemy from 1.3.23 to 1.4.2
2021-03-22 20:00:13 +01:00
Matthias
b7702a1e9f
Improve tests to work with new sqlalchemy version
2021-03-22 19:39:06 +01:00
Matthias
e39cff522d
Remove duplicate dict keys in test
2021-03-22 17:30:16 +01:00
Matthias
43d7f9ac67
Add bid_last_balance parameter
...
to interpolate sell prices
closes #3270
2021-03-20 14:38:26 +01:00
Matthias
f4e71c1f14
get_buy_rate tests should be sensible
2021-03-20 14:02:13 +01:00
Matthias
73876b61b4
Show potential errors when loading markets
2021-03-20 13:34:33 +01:00
Matthias
16a54b3616
Don't require non-mandatory arguments
2021-03-20 13:08:02 +01:00
Matthias
fe7f3d9c37
Add price side validation for market orders
2021-03-20 11:48:39 +01:00
Matthias
7ffe1fd36a
Fix calculation error for min-trade-stake
2021-03-20 07:21:22 +01:00
Matthias
0d5833ed91
Use OperationalException for TimeRange errors
2021-03-19 06:40:04 +01:00
Patrick Brunier
4d52732d30
Added a small snippet to give users a descent error message,
...
when their start date is afer the stop date.
Also updated the tests.
2021-03-18 22:38:54 +01:00
Matthias
84ca9bd2c7
Merge pull request #4543 from brookmiles/fix-math-custom-stoploss-docs
...
correct math used in examples and clarify some terminology regarding …
2021-03-18 19:32:30 +01:00
Matthias
76ca3c219f
extract result-printing from hyperopt class
2021-03-17 20:45:15 +01:00
Matthias
6597055a24
Ensure ccxt tests run without dry-run
...
closes #4566
2021-03-17 19:36:11 +01:00
Brook Miles
ce1ed76269
complete stoploss_from_open and associated test
2021-03-17 22:44:10 +09:00
Matthias
79d4585dad
Add check to ensure close_profit_abs is filled on closed trades
...
Technically, this should not be possible, but #4554 shows it is.
closes #4554
2021-03-16 19:24:03 +01:00
Matthias
0b35c0571f
Allow custom fee to be used during dry-run
...
closes #3696
2021-03-14 19:37:57 +01:00
Jackson Law
618bae23a6
fix: Use now() to match timezone of download data
2021-03-13 11:14:36 -08:00
Matthias
3b99f04a78
Merge pull request #4535 from freqtrade/fix/backtestperformance
...
Improve backtest performance after enabling compounding
2021-03-13 16:51:00 +01:00
Matthias
6389e86ed6
Add test for uvloop fix
2021-03-13 16:09:07 +01:00
Matthias
0320c8dc92
Improve tests for trades_proxy
2021-03-13 15:51:27 +01:00
Matthias
d1acc8092c
Improve backtest performance
2021-03-13 10:17:14 +01:00
Matthias
333ad02605
Fix random test failure
2021-03-10 10:39:38 +01:00
Matthias
0db5c9746f
Merge pull request #4454 from freqtrade/backtest_compound_speed
...
Backtest compound, wallet, ...
2021-03-10 10:07:40 +01:00
Matthias
a1902f226d
Make trade-close sequence clear for mock trades
2021-03-09 19:29:00 +01:00
Th0masL
37e6006169
Fix order_by in trades command
2021-03-08 23:21:56 +02:00
Th0masL
ad0e60b5b6
Add trade_id to Cancel messages and reduced lines length
2021-03-06 15:07:47 +02:00
Th0masL
2472f52874
Add trade_id to tests
2021-03-06 01:07:37 +02:00
Matthias
5196306407
Remove deprecated profit return value
2021-03-05 20:03:49 +01:00
raoulus
0968ecc1af
added "Median profit" column to hyperopt -> export-csv
2021-03-04 17:27:04 +01:00
Matthias
007ac7abb5
Add telegram pair unlocking
2021-03-01 20:09:40 +01:00
Matthias
6640156ac7
Support deleting locks via API
2021-03-01 19:50:39 +01:00
Matthias
3d65ba2dcb
Add rpc method to delete locks
2021-03-01 07:51:33 +01:00
Matthias
a13dc3cdde
Use sensible defaults for balance_dust_level
2021-02-28 09:57:52 +01:00
Matthias
f65092459a
Fix optimize_reports test
2021-02-27 10:14:25 +01:00
Matthias
fb489c11c9
Improve test-coverage of pairlocks
2021-02-27 10:07:02 +01:00
Matthias
98f3142b30
Improve handling of backtesting params
2021-02-27 09:33:00 +01:00
Matthias
86f9409fd2
fix --stake-amount parameter
2021-02-27 09:33:00 +01:00
Matthias
fc256749af
Add test for backtesting _enter_trade
2021-02-27 09:33:00 +01:00
Matthias
60db6ccf45
Add test for subclassing
2021-02-27 09:33:00 +01:00
Matthias
53a57f2c81
Change some types
...
Fix types of new model object
2021-02-27 09:33:00 +01:00
Matthias
52acacbed5
Check min-trade-stake in backtesting
2021-02-27 09:33:00 +01:00
Matthias
37d7d2afd5
Wallets should not recalculate close_profit for closed trades
2021-02-27 09:33:00 +01:00
Matthias
aed23d55c2
Add starting balance to profit cumsum calculation
2021-02-27 09:33:00 +01:00
Matthias
0d2f877e77
Use absolute drawdown calc
2021-02-27 09:32:59 +01:00
Matthias
72f21fc5ec
Add trade-volume metric
2021-02-27 09:32:59 +01:00
Matthias
35e6a9ab3a
Backtest-reports should calculate total gains based on starting capital
2021-02-27 09:32:59 +01:00
Matthias
8d61a26382
Allow dynamic stake for backtesting and hyperopt
2021-02-27 09:32:59 +01:00
Matthias
e4abe902fc
Enable compounding for backtesting
2021-02-27 09:32:59 +01:00
Matthias
0754a7a78f
total_open_trades_stake should support no-db mode
2021-02-27 09:32:59 +01:00
Matthias
712d503e6c
Use sell-reason value in backtesting, not the enum object
2021-02-27 09:32:59 +01:00
Xanders
efa50be145
Fix blank lines rule at test_rpc_webhook.py
2021-02-26 21:32:41 +03:00
Xanders
52641aaa31
Add test for webhook JSON format
2021-02-26 18:12:10 +03:00
Matthias
228e51b60b
Fix #4405
2021-02-22 13:34:52 +01:00
Matthias
5e4730b73b
Add test confirming #4405
2021-02-22 11:44:39 +01:00
Matthias
3629892fc3
Stoploss-guard should use the trade_limit or more
...
fix #4404
2021-02-20 19:38:44 +01:00
Matthias
fedbb5c0c4
Remove last flask occurance from setup.py
...
fixes #4390
2021-02-17 20:47:11 +01:00
Matthias
1a3e7191ed
Merge pull request #4116 from squat0001/develop-squat
...
Develop squat
2021-02-15 07:15:11 +01:00
Matthias
1a166f639d
Add test for calcuate_csum
2021-02-14 19:44:13 +01:00
Matthias
ee74bc1f52
timeframe is mandatory, no need to use .get()
2021-02-14 11:01:12 +01:00
Matthias
ffca09bbcb
Test ohlcv_candle_limit explicitly
2021-02-14 10:38:49 +01:00
Matthias
5622bb3247
Make candle_limit optionally timeframe dependent
2021-02-14 10:29:45 +01:00
Matthias
e7acee7904
Improve coin value output by rounding coin specific
2021-02-13 16:05:56 +01:00
Matthias
072abde9b7
Introduce round_coin_value to simplify coin rounding
2021-02-13 16:05:35 +01:00
Matthias
aa79574c0c
Position-size should NEVER be over available_capital
...
Part of #4353
2021-02-11 17:09:31 +01:00
Matthias
3110d2dbb1
Add small test cases
2021-02-09 20:09:10 +01:00
Matthias
427d762746
Improve tests for cancel_order to be more realistic
2021-02-08 19:37:24 +01:00
Matthias
c5ab3a80a5
Check if order is a dict before parsing
...
closes #4331
2021-02-08 19:35:22 +01:00
Matthias
de727645ab
FIx random test failure if certain files exist
2021-02-08 19:21:33 +01:00
Matthias
d5cf837c0f
Parse regular cancel_order call to update orders table
2021-02-06 09:23:10 +01:00
Matthias
0806202d47
ccxt version bump to 1.41.62
2021-02-05 20:02:55 +01:00
Matthias
2c71b3b118
Merge pull request #4309 from freqtrade/extract_stake_amount
...
Move get_trade_stake_amount to wallets
2021-02-05 19:47:30 +01:00
Matthias
024849d844
Merge pull request #4285 from freqtrade/ui_deploy
...
Deploy FreqUI into webserver
2021-02-03 20:09:31 +01:00
Matthias
b8cb39462c
Move get_trade_stake_amount to wallets
...
this way it can be easier used by other functions
2021-02-03 20:00:33 +01:00
Matthias
cfd0bb8964
Extract min stake amount from bot to exchange class
2021-02-02 19:47:21 +01:00
Matthias
fa8156b321
Merge pull request #4282 from pan-long/patch-1
...
Fix a bug when compare sell_profit_offset
2021-02-02 08:22:38 +01:00
Matthias
3d9b4034e6
Use already calculated current_profit for sell_profit_offset comparison
2021-02-02 08:06:19 +01:00
Matthias
130a9b4db3
Add test to call verify_pairlist multiple times
2021-02-01 19:39:55 +01:00
Matthias
cd5c58fd37
Properly patch exchange for plot_profit test
2021-02-01 12:58:18 +01:00
Matthias
4facf662de
Fix random test-failure caused by un-clean hyperopt shutdown
...
pytest --random-order-seed=415781
2021-02-01 11:00:55 +01:00
Matthias
2c80388b40
Fix valueerror in case of empty array files
2021-02-01 06:28:49 +01:00
Matthias
06e2bc94c3
Deploy to subdirectory
2021-01-31 16:01:00 +01:00
Matthias
e4a085027b
Add test for UI methods
2021-01-31 15:27:00 +01:00
Matthias
7b3d99819f
Fix bug with not cleaning UI folder
2021-01-31 14:50:54 +01:00
Matthias
944d674eeb
Store freqUI version and read it again
2021-01-31 14:50:54 +01:00
Matthias
2af1d2d639
Extract last FreqUI version from api response
2021-01-31 14:50:54 +01:00
Matthias
f05f2c45e8
Allow deleting of UI only
2021-01-31 14:50:54 +01:00
Matthias
ddc99553bd
Add test case for get_ui_download_url
2021-01-31 14:50:54 +01:00
Matthias
a1a35115ad
Extract get_ui_download_url
2021-01-31 14:50:54 +01:00
Matthias
87ed2d7502
Write some tests for UI Downloading
2021-01-31 14:50:54 +01:00
Matthias
27970b424d
Add webUI serving to api-server
2021-01-31 14:50:54 +01:00
Matthias
79087ba166
Fix intermitted test failure
2021-01-31 14:50:39 +01:00
Matthias
5724371a4f
Fix types for numpy 1.20.0 upgrade
2021-01-31 11:21:23 +01:00
Matthias
16dad8b6d4
Allow custom_stoploss to cooperate with stoploss on exchange
2021-01-30 20:11:18 +01:00
Matthias
406682c3bb
Fix random api failure in slow cases
2021-01-30 10:20:40 +01:00
Matthias
ea0ffbae73
use profit_ratio in calculate_cum_profit
2021-01-29 19:06:57 +01:00
Matthias
5cdd9dd445
Cache markets in the exchange object
2021-01-28 19:47:32 +01:00
Matthias
65459086a3
Merge pull request #4268 from freqtrade/backtest_trade_object
...
Backtest trade object
2021-01-27 19:10:21 +01:00
Matthias
4d7f3e570b
Add test for spreadfilter division exception
2021-01-26 17:18:51 +01:00
Matthias
13ad6dd461
Fix documentation
2021-01-25 19:56:40 +01:00
Matthias
c659150d9f
Also print trade_duration in seconds to json
2021-01-25 19:42:34 +01:00
Matthias
789a980a30
Fix tests for new export format
2021-01-24 19:42:32 +01:00
Matthias
deb8432d33
Streamline trade to dataframe conversion
2021-01-24 08:58:41 +01:00
Matthias
8ee264bc59
Don't use profit_percent for backtesting results anymore
2021-01-24 08:58:41 +01:00
Matthias
48977493bb
Backtesting does not need to convert to BacktestResult object
2021-01-24 08:58:41 +01:00
Matthias
3b51545d23
Add trade_duration to to_json
2021-01-24 08:58:41 +01:00
Matthias
16f9675356
Fix whitelist expansion problem
2021-01-23 20:40:27 +01:00
Matthias
31e0b09643
Rename config.json.example
...
it's really the config dedicated to bittrex,
so the name should reflect this in beeing config_bittrex.json.example
2021-01-22 19:18:34 +01:00
Matthias
c42241986e
further investigate random test failure
2021-01-21 19:20:38 +01:00
Matthias
7c99e6f0e6
Avoid random test failure
2021-01-19 20:49:28 +01:00
Matthias
20591b539a
Merge pull request #4228 from baartch/develop
...
Extending the Telegram Bot command /status with the possibility to query specific trade_ids
2021-01-19 20:08:49 +01:00
Matthias
cd8d4da466
Add test for /status <tradeids> functionality
2021-01-19 19:45:13 +01:00
Matthias
a8bae3a381
Don't update trade fees for dry-run orders
2021-01-17 20:31:27 +01:00
Matthias
53c208197d
Add bot_name setting
...
allows naming the bot to simply differentiate when running different
bots.
2021-01-16 16:19:49 +01:00
Matthias
572f5f9186
Fix fstring syntax error
2021-01-16 10:05:47 +01:00
Matthias
9f338ba6ed
Debug random test failure in CI
2021-01-16 10:01:31 +01:00
Matthias
3fefb6f1c8
Merge pull request #4215 from freqtrade/refactor/backtest
...
Small backtest refactor, introduce calling `bot_loop_start` in backtesting
2021-01-16 09:32:19 +01:00
Matthias
baef8b4f79
Merge pull request #4197 from nas-/develop
...
Added support for regex in whitelist
2021-01-15 07:34:49 +01:00
Matthias
bf5868c96d
Add testcase for nonexisting pairs on whitelist
2021-01-15 07:10:17 +01:00
nas-
f72d53351c
Added ability to keep invalid pairs while expanding expand_pairlist
2021-01-15 06:37:57 +01:00
Matthias
0b65fe6afe
Capture backtest start / end time
2021-01-14 19:09:25 +01:00
Matthias
9147106259
call bot_loop_start() in backtesting to allow setup-code to run
2021-01-14 19:09:25 +01:00
Matthias
6d1fba1409
Remove unnecessary log output tests
2021-01-14 19:04:42 +01:00
Matthias
adb3fb123e
Fix typo
2021-01-12 19:35:02 +01:00
Matthias
ac43591c44
Fix failing api when max_open_trades is unlimited
2021-01-12 19:24:37 +01:00
Matthias
6007d5182a
Merge pull request #4147 from hoeckxer/ignore_expired_candle
...
Ignoring candles that have expired within timeframe
2021-01-12 19:04:16 +01:00
hoeckxer
e328182bd7
Changed workings so it only needs to timing-parameter, instead of also requiring a boolean value
2021-01-12 07:30:39 +01:00
nas-
4d7ffa8c81
Added suppoort for regex in whitelist
2021-01-12 01:13:58 +01:00
Matthias
b062b836cc
Add test for sell_profit_offset
2021-01-11 19:42:44 +01:00
Matthias
5102dfd6df
Merge pull request #4144 from freqtrade/improve_informativepair
...
Improve merge_informative_pairs to properly merge correct timeframes
2021-01-09 10:15:59 +01:00
Matthias
61d225a575
Merge pull request #4170 from freqtrade/dependabot/pip/develop/pyjwt-2.0.0
...
Bump pyjwt from 1.7.1 to 2.0.0
2021-01-08 19:48:04 +01:00
Matthias
8631a54514
Fix test due to pyjwt2.0
2021-01-08 19:34:01 +01:00
Matthias
378a252ad1
Fix #4161 - by not using the problematic method for windows
2021-01-08 13:46:43 +01:00
Matthias
4f126bea35
Change trades-test2 to better test correct behaviour
2021-01-07 20:06:26 +01:00
Matthias
bf182dc01e
Fix wrong key usage in trade_history_timebased
2021-01-07 20:03:34 +01:00
Matthias
b43ef474ad
Fix expired candle implementation
...
Improve and simplify test by passing the current time to the function
2021-01-07 07:51:49 +01:00
Matthias
e69dac2704
Fix bug in RPC history mode when no data is found
2021-01-06 15:38:46 +01:00
Matthias
91f8667881
DOn't update open orders in dry-run mode
2021-01-06 09:57:36 +01:00
hoeckxer
c0f170fdb9
Merge branch 'develop' into ignore_expired_candle
2021-01-05 21:00:08 +01:00
hoeckxer
573de1cf08
Fixed flake8 warnings
2021-01-05 15:30:29 +01:00
hoeckxer
e3f3f36298
Changes based on review comments
2021-01-05 14:49:35 +01:00
hoeckxer
844df96ec7
Making changes so the build checks are satisified (imports & flake8)
...
Signed-off-by: hoeckxer <hawkeyenl@yahoo.com>
2021-01-05 07:06:53 +01:00
hoeckxer
614a996597
First commit about ignoring expired candle
...
Signed-off-by: hoeckxer <hawkeyenl@yahoo.com>
2021-01-04 20:49:24 +01:00
Matthias
07bc0c3fce
Improve merge_informative_pairs to properly merge correct timeframes
...
explanation in #4073 , closes #4073
2021-01-04 13:49:38 +01:00
Matthias
84ced92002
Fix mock-tests missing some fields
2021-01-03 06:49:07 +01:00
Matthias
29f4dd1dcd
Enhance some response models
2021-01-03 06:49:07 +01:00
Matthias
b2ab553a31
Rename api_server2 module to apiserver
2021-01-03 06:49:04 +01:00
Matthias
eb20f6e7d0
Align auth token to flask version to prevent user-logout
2021-01-03 06:49:04 +01:00
Matthias
1717121f10
Properly use JWT secret key
2021-01-03 06:49:04 +01:00
Matthias
790f833653
Some more tests around api_auth
2021-01-03 06:49:04 +01:00
Matthias
29ce323649
Fix wrong hyperoptlosstest
2021-01-03 06:49:04 +01:00
Matthias
776ce57f55
Remove api_server
2021-01-03 06:49:04 +01:00
Matthias
54a50b1fb4
Fix some tests
2021-01-03 06:49:04 +01:00
Matthias
9f873305eb
Improve response models
2021-01-03 06:49:04 +01:00
Matthias
9350f505bc
Implement missing methods
2021-01-03 06:49:04 +01:00
Matthias
e23898d17b
Improve some tests
2021-01-03 06:49:04 +01:00
Matthias
9ee1d88355
Implement more endpoints
2021-01-03 06:49:04 +01:00
Matthias
a18d66e108
Add more endpoints to fastapi
2021-01-03 06:49:04 +01:00
Matthias
f37ea4ba24
Fix some initial tests towards fastAPI
2021-01-03 06:49:04 +01:00
Matthias
9e3224ccc0
Merge pull request #4089 from freqtrade/feat/stoploss_custom
...
introduce custom stoploss
2020-12-31 10:33:33 +01:00
Matthias
0affacd39a
Support invalid regex blacklist from config
2020-12-30 10:14:22 +01:00
Matthias
9feabe707f
Fix RPC methods to allow wildcards (and validate wildcards)
2020-12-30 09:57:31 +01:00
Matthias
704cf14383
Add expand_pairlist method
2020-12-30 09:55:44 +01:00
Matthias
2fdda8e448
plot-profit should fail gracefully if no trade is within the selected timerange
...
closes #4119
2020-12-30 08:30:41 +01:00
Matthias
238e9aabb1
Add test showing wrong behaviour
2020-12-29 20:05:07 +01:00
Matthias
0d4cf32086
Slightly adapt to pandas incompatibility
2020-12-28 09:50:48 +01:00
Matthias
8cf3dbb682
Merge pull request #4110 from freqtrade/test/exchange_ccxt
...
add tests to verify exchange compatibility with ccxt
2020-12-26 16:32:25 +01:00
Matthias
a87c273903
Refactor RPC modules so handlers don't inherit RPC directly
2020-12-24 09:09:23 +01:00
Matthias
1508e08ea5
Move fiatconvert init to RPC class
2020-12-24 08:39:00 +01:00
Matthias
5bf739b917
Simplify more telegram tests
2020-12-24 07:39:46 +01:00
Matthias
be4a4be7a3
Further simplify test_telegram
2020-12-24 07:29:26 +01:00
Matthias
4cbbb80bc3
Refactor test_telegram to simplify tests
2020-12-24 07:10:01 +01:00
Matthias
67193bca3d
Move pairlists to be a plugin submodule
2020-12-23 16:54:35 +01:00
Matthias
7cef5ac217
Merge pull request #4092 from MrKrautee/telegram
...
Telegram: specify custom keyboard in config
2020-12-23 16:25:37 +01:00
Matthias
1713841d0b
Initialize markets at startup for ccxt tests
2020-12-23 16:20:25 +01:00
Matthias
721d0fb2a8
Improve wording of developer docs
2020-12-23 16:00:26 +01:00
Christof
74bcd82c3d
Exception msg
2020-12-23 16:00:01 +01:00
Matthias
5599490aa2
Adjust ohlcv test after rebase
2020-12-23 15:50:24 +01:00
Matthias
b39de171c8
Don't run longrun regularily
2020-12-23 15:46:08 +01:00
Matthias
0981287c62
Improve test syntax for ccxt_compat tests
2020-12-23 15:41:59 +01:00
Matthias
2016eea212
Fix some test-errors in ccxt_compat
2020-12-23 15:41:59 +01:00
Matthias
a6e6ce16b1
Fix test failures
2020-12-23 15:41:59 +01:00
Matthias
b7d4ff9c21
Add test for fetch_ohlcv (against exchange)
2020-12-23 15:41:59 +01:00
Matthias
7833d9935c
Add dummy test for fetch_ohlcv
2020-12-23 15:41:59 +01:00
Matthias
79ed89e487
Add test for fee calculation
2020-12-23 15:41:59 +01:00
Matthias
38af1b2a5d
Improve compat tests
2020-12-23 15:41:59 +01:00
Matthias
36d60fa8a8
First small compat test
2020-12-23 15:41:59 +01:00
Christof
b1fe5940fa
check for Exception and log msgs
2020-12-22 13:01:01 +01:00
Matthias
39579b6e5d
Merge pull request #4093 from freqtrade/ohlcv_limit
...
set ohlcv limit on ccxt calls
2020-12-21 19:34:50 +01:00
Christof
277f3ff47b
tests: cleaup
2020-12-21 09:52:10 +01:00
Christof
f39dde121a
moved keyboard config validation to __inti__
2020-12-20 22:36:56 +01:00
Christof
3cb559994e
some more test
2020-12-20 21:31:01 +01:00
Christof
fabb31e1bc
imports order
2020-12-20 21:31:01 +01:00
Christof
f24626e139
removed too many blank lines
2020-12-20 21:31:01 +01:00
Christof
43091a26ce
simple tests
2020-12-20 21:28:57 +01:00
Christof
6b44545d37
sort order imports
2020-12-20 21:06:45 +01:00
Christof
799e6be2eb
fix tests
2020-12-20 21:06:45 +01:00
Christof
621105df9a
renaming shortcut_btns to keyboard
2020-12-20 21:06:45 +01:00
Christof
bf92099486
test for custom keyboard
2020-12-20 21:06:45 +01:00
Matthias
bd0af1b300
Fix test warning
2020-12-20 19:38:12 +01:00
Matthias
9d5961e224
Rename method to custom_stoploss
2020-12-20 11:17:50 +01:00
Matthias
277342f167
Rename flag to "use_custom_stoposs"
2020-12-20 11:12:22 +01:00
Matthias
f8639fe938
Add more tests for custom_loss
2020-12-19 20:36:19 +01:00
Matthias
5f8610b28f
Add explicit test for stop_loss_reached
2020-12-19 20:08:03 +01:00
Matthias
22d64553c9
Rename test file
2020-12-19 18:00:44 +01:00
Matthias
ea4238e860
cleanup some tests
2020-12-19 17:59:49 +01:00
Matthias
4e7f914e92
Improve test for AgeFilter, fix bug in Agefilter
2020-12-17 13:34:53 +01:00
Matthias
266031a6be
Disallow PerformanceFilter for backtesting
...
closes #4072
2020-12-16 19:24:47 +01:00
Matthias
d1fda28d2e
Fix typehints
2020-12-15 20:59:58 +01:00
Matthias
011ba1d9ae
Adapt tests to use async methods
2020-12-15 20:49:46 +01:00
Matthias
39fec25ae0
add optional Cache arguments to refresh_pairs method
2020-12-15 09:23:27 +01:00
Matthias
9cd1be8f93
Update usage of open_trade_price to open_trade_value
2020-12-13 10:33:45 +01:00
Matthias
7eab33de08
Merge branch 'develop' into plugins/protections_backtest
2020-12-13 10:31:33 +01:00
Matthias
14647fb5f0
Add tests for update fee
2020-12-12 11:49:52 +01:00
Matthias
3ee7fe64ba
Clean up some tests
2020-12-12 11:25:56 +01:00
Matthias
c784e5780e
Merge pull request #4054 from freqtrade/models_open_price
...
Models open price
2020-12-11 06:31:02 +01:00
Matthias
95fd3824da
Finish renamal of open_trade_price to open_value
2020-12-10 19:36:52 +01:00
Matthias
201cc67e05
Rename open_trade_price to "open_trade_value"
2020-12-10 19:21:20 +01:00
Matthias
33f330256b
Reorder commands on telegram init
2020-12-09 20:36:30 +01:00
Matthias
de2cc9708d
Fix test leakage
2020-12-07 16:01:29 +01:00
Matthias
f047297995
Improve wording, fix bug
2020-12-07 15:48:06 +01:00
Matthias
3ab5514697
Add API endpoint for /stats
2020-12-07 15:07:08 +01:00
Matthias
effc96e92b
Improve tests for backtest protections
2020-12-07 11:39:01 +01:00
Matthias
57a4044eb0
Enhance test verifying that locks are not replaced
2020-12-07 11:39:01 +01:00
Matthias
75a5161650
Support multis-strategy backtests with protections
2020-12-07 11:39:01 +01:00
Matthias
0e2a43ab4d
Add duration_explanation functions
2020-12-07 11:12:09 +01:00
Matthias
c993831a04
Add protections to startup messages
2020-12-07 10:57:01 +01:00
Matthias
d4799e6aa3
Implement *candle definitions
2020-12-07 10:54:26 +01:00
Matthias
a93bb6853b
Document *candles settings, implement validations
2020-12-07 10:47:13 +01:00
Matthias
f06b58dc91
Test MaxDrawdown desc
2020-12-07 08:23:10 +01:00
Matthias
9d6f3a89ef
Improve docs and fix typos
2020-12-07 08:23:10 +01:00
Matthias
6d0f16920f
Get Longest lock logic
2020-12-07 08:23:10 +01:00
Matthias
dce2364672
Add stoploss per pair support
2020-12-07 08:23:10 +01:00
Matthias
dcdf4a0503
Improve tests
2020-12-07 08:23:10 +01:00
Matthias
32cde1cb7d
Improve test for lowprofitpairs
2020-12-07 08:23:10 +01:00
Matthias
8f958ef723
Improve login-mixin structure
2020-12-07 08:23:10 +01:00
Matthias
8ebd6ad200
Rename login-mixin log method
2020-12-07 08:23:10 +01:00
Matthias
9484ee6690
Test for low_profit_pairs
2020-12-07 08:23:10 +01:00
Matthias
8dbef6bbea
Add test for cooldown period
2020-12-07 08:23:10 +01:00
Matthias
ff7ba23477
Simplify enter_positions and add global pairlock check
2020-12-07 08:23:10 +01:00
Matthias
56975db2ed
Add more tests
2020-12-07 08:23:10 +01:00
Matthias
2b85e7eac3
Add initial tests for StoplossGuard protection
2020-12-07 08:23:10 +01:00
Matthias
04878c3ce1
Rename test directory for pairlist
2020-12-07 08:23:10 +01:00
Matthias
245c19f5e9
Add simple test for /stats call
2020-12-05 14:48:56 +01:00
Matthias
8f61b68b2a
Merge branch 'develop' into pr/imxuwang/3799
2020-12-05 14:06:23 +01:00
Matthias
058d40a72c
Fix telegram /daily command without arguments
2020-12-05 08:16:40 +01:00
Matthias
2fbbeb970b
Gracefully handle cases where no buy price was found
...
closes #4030
2020-12-04 07:42:16 +01:00
Matthias
22595e6f92
Merge pull request #3929 from radwayne/roi_trailing_backtest
...
change backtesting behaviour if roi and trailing-stop happen at the same time
2020-12-03 19:40:46 +01:00
Matthias
c09c23eab1
Make sure non-int telegram values don't crash the bot
2020-12-02 07:51:59 +01:00
Matthias
5dfa1807a3
Fix tests after small updates
2020-12-01 19:57:43 +01:00
Matthias
dda5bcbc8d
Merge pull request #4009 from mrsegen/patch-4
...
[Pairlist] Add PerformanceFilter
2020-11-30 07:48:15 +01:00
Leif Segen
b7de18608d
Trigger CI
2020-11-29 10:30:43 -06:00
Leif Segen
99abe52043
Trigger CI
2020-11-29 10:30:02 -06:00
Leif Segen
90070f0dc5
Force test rerun
2020-11-28 17:17:40 -06:00
Leif Segen
1791495475
Trigger another run of tests
2020-11-28 16:50:44 -06:00
Leif Segen
4b6f5b92b5
Remove non-pertinent test case
2020-11-28 12:47:36 -06:00
Leif Segen
d6c9391924
Restoring expectation
2020-11-28 12:18:23 -06:00
Leif Segen
323c0657f8
Sort by profit after sort by count/pair
2020-11-28 12:17:03 -06:00
Leif Segen
6a74c57c3d
Pair name-based sorting.
...
Attempt at more rational string sorting. Change test to show not working as expected.
2020-11-28 11:33:25 -06:00
Leif Segen
03c5714399
Use explicit merge without depending on library detail. Add no trades case.
2020-11-28 09:45:17 -06:00
Matthias
4cb331b5ad
Remove non-needed parameters from tests
2020-11-28 10:24:44 +01:00
Leif Segen
f448564073
Lint
2020-11-28 01:49:46 -06:00
Leif Segen
ecce5265f5
Linting
2020-11-28 01:43:19 -06:00
Leif Segen
fefa500963
More lint
2020-11-28 01:34:40 -06:00
Leif Segen
966c6b308f
Satisfy linter.
2020-11-28 01:34:18 -06:00
Leif Segen
cfbd1c4c43
Merge branch 'develop' into patch-4
2020-11-28 01:17:34 -06:00
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
Matthias
d444182829
Reinstate wrongly removed pairlist test
2020-09-01 10:31:11 +02:00
Matthias
3bc6cb36c6
Remove deprectead volumepairlist options
2020-09-01 08:04:02 +02:00
Matthias
d6d3a02a23
Merge branch 'develop' into db_keep_orders
2020-09-01 07:51:16 +02:00
Matthias
38c52c7eee
Merge pull request #3626 from freqtrade/feat/hdf5
...
Introduce HDF5 Datahandler
2020-08-31 16:10:24 +02:00
Matthias
24df8d6bf5
Sort imports
2020-08-31 15:46:31 +02:00
Matthias
842eff95eb
Add simple verification to ensure pairlists is iitialized
2020-08-30 10:07:58 +02:00
Matthias
2ae04af694
Improve some doc wording
2020-08-29 10:26:26 +02:00
Matthias
a595d23bf1
Improve comment in test
2020-08-29 10:14:49 +02:00
Matthias
289425a434
Add test for dry-run-cancel order
2020-08-29 10:07:02 +02:00
Matthias
9c20d488a9
Merge branch 'develop' into fix/3084
2020-08-28 15:43:24 +02:00
Matthias
a9e7ee8113
Merge pull request #3683 from freqtrade/logging_endpoints
...
Logging endpoints
2020-08-27 15:11:17 +02:00
Matthias
b2373fccfd
Adjust tests as send_msg is only called once
2020-08-27 06:35:28 +02:00
Matthias
9c0a3fffd7
Avoid double notifications in case of partially filled buy orders
2020-08-26 22:17:43 +02:00
Matthias
5e75caa917
Adjust tests to new forcesell
2020-08-26 21:55:31 +02:00
Matthias
309ea1246a
Update config to use single quotes
2020-08-26 20:52:09 +02:00
Matthias
9d4ecb625a
Allow numpy numbers as comparisons, too
2020-08-26 07:16:29 +02:00
Matthias
21f4aba4e3
Merge pull request #3055 from yazeed/verify_date_on_new_candle_on_get_signal
...
Verify date on last candle before producing signal
2020-08-25 20:22:48 +02:00
Matthias
605ed90567
Merge pull request #3592 from freqtrade/stoploss_distance
...
Add stoploss-distance (to current price) to /status output
2020-08-25 19:56:23 +02:00
Matthias
c272944834
Lock pair until a new candle arrives
2020-08-24 11:09:09 +02:00
Matthias
8b767eedfd
Merge branch 'develop' into pr/yazeed/3055
2020-08-24 07:21:48 +02:00
Matthias
311b55fc24
Merge branch 'develop' into db_keep_orders
2020-08-23 19:31:59 +02:00
Matthias
a55dd8444d
Fix loglevel of using_cached-rate
2020-08-23 19:31:35 +02:00
Matthias
4ecb67d1d1
Merge branch 'develop' into db_keep_orders
2020-08-23 10:36:56 +02:00
Matthias
674b510d23
Parametrize fetch_order retry counts
2020-08-22 17:35:42 +02:00
Matthias
f2b390a271
Add fetch_order_or_stoploss wrapper
2020-08-22 09:28:36 +02:00
Matthias
fc42d552ab
Convert logs to fstrings
2020-08-22 08:59:50 +02:00
Matthias
0b6014fae3
update_trade_state should take the order id directly - not from the trade object
2020-08-21 07:17:52 +02:00
Matthias
838985f6a0
Don't reset open-order-id just yet
...
it's needed to get the fees
2020-08-21 07:13:13 +02:00
Matthias
4f1179d85c
Test for empty case
2020-08-20 20:11:58 +02:00
Matthias
42273ae042
Merge pull request #3695 from freqtrade/fix_daily_rpc
...
Fix daily rpc for webservice
2020-08-19 14:16:24 +02:00
Matthias
3d515ed5bf
Merge pull request #3558 from freqtrade/bt_add_maxdrawdown
...
Revise backtesting export format, add some metrics
2020-08-19 06:39:47 +02:00
Matthias
e206cc9c21
Adjust tests
2020-08-18 20:15:41 +02:00
Matthias
4eb17b4daf
Remove unneeded function
2020-08-18 15:20:37 +02:00
Matthias
1f153f51ee
Merge pull request #3660 from freqtrade/hyperopt_default_tests
...
Move DefaultHyperopt to tests
2020-08-17 06:49:55 +02:00
Matthias
56ca37fd8b
Also provide stacktrace via log endpoints
2020-08-15 20:15:02 +02:00
Matthias
142f87b68c
Adjust tests to new wordings
2020-08-15 09:11:46 +02:00
Matthias
1cb10d8f8e
Merge branch 'develop' into pr/hroff-1902/3619
2020-08-15 09:08:59 +02:00
Matthias
89b9a8cb1f
Merge pull request #3396 from freqtrade/fix/broken_getpairs
...
Use dict for symbol_is_pair
2020-08-15 08:58:53 +02:00
Matthias
f3d4b114bb
Skip windows test failure
2020-08-15 08:47:09 +02:00
Matthias
9659e516c8
Remove queue import
...
Improve tests
2020-08-14 20:35:15 +02:00
Matthias
c4f78203ab
Initialize streamhandler early to have it apply to all logs
2020-08-14 20:08:55 +02:00
Matthias
251eb5aa96
Test for bufferingHandler too
2020-08-14 19:51:50 +02:00
Matthias
122c0e8ddc
Readd accidentally dropped StreamHandler
2020-08-14 19:50:56 +02:00
Matthias
9ad8e74247
Add tests for log-endpoints
2020-08-14 19:41:27 +02:00
Matthias
5f79caa307
Implement /logs endpoints in telegram and restAPI
2020-08-14 15:44:36 +02:00
Matthias
1a305ea8b0
Fix migrations to use unique key
2020-08-14 09:52:46 +02:00
Matthias
2ca6547baf
Update tests to have unique ordernumbers
2020-08-14 09:52:46 +02:00
Matthias
ebd755e36a
Improve order handling
2020-08-14 09:52:46 +02:00
Matthias
0af9e913d4
Timestamps are in ms
2020-08-14 09:52:46 +02:00
Matthias
73182bb2dd
Update migrations to populate Orders table for open orders
2020-08-14 09:52:46 +02:00
Matthias
4924d8487e
Extract "update order from ccxt" to it's onw function
2020-08-14 09:52:46 +02:00
Matthias
ee7b235cdc
Improve tests to use open_order mock where applicable
2020-08-14 09:52:46 +02:00
Matthias
420a8c2b1c
Improve tests for rpc/forcebuy
2020-08-14 09:52:46 +02:00
Matthias
a66a3d047f
Remove unneeded mocks
2020-08-14 09:52:46 +02:00
Matthias
044df880e6
Move persistence into it's own submodule
2020-08-14 09:52:46 +02:00
Matthias
93717cfef1
Merge pull request #3008 from yazeed/more_info_hyperopt_fixed
...
Wins/draws/losses/median profit in hyperopt output
2020-08-14 09:25:12 +02:00
Matthias
b98107375e
Improve formatting of result string to be a bit conciser
2020-08-14 07:31:14 +02:00
Matthias
d76ee43246
Show wins / draws / losses in hyperopt table
2020-08-14 07:14:10 +02:00
Matthias
22f6e884ed
Merge pull request #3676 from freqtrade/stoploss_remove_unused_argument
...
[minor] Cleanup and exception hierarchy documentation
2020-08-14 07:11:56 +02:00
Matthias
05bd099f51
Merge branch 'develop' into pr/yazeed/3008
2020-08-14 06:58:09 +02:00
Matthias
e45e41adb4
Improve docs test to catch !!! errors
2020-08-13 08:05:05 +02:00
Matthias
c6741ea6c3
Merge branch 'develop' into fix/broken_getpairs
2020-08-12 20:13:06 +02:00
Matthias
3afd5b631e
Remove erroneous import
2020-08-12 15:34:29 +02:00
Matthias
9999d0ffb5
Merge branch 'develop' into fix/3579
2020-08-12 15:28:51 +02:00
Matthias
faa2bbb555
Document exception hierarchy
2020-08-12 14:29:14 +02:00
Matthias
1f1a819b29
Remove unused 3rd argument to create_stoploss call
2020-08-12 11:21:00 +02:00
Matthias
f51c03aa86
Revert changes to color using --no-color
2020-08-11 20:29:47 +02:00
Matthias
77541935a8
Fix small merge mistake
2020-08-11 20:18:49 +02:00
Matthias
688d657fe2
Merge branch 'develop' into pr/yazeed/3091
2020-08-11 20:04:43 +02:00
Matthias
064928a0eb
Merge branch 'develop' into improve_cancel_order_handling
2020-08-11 15:25:47 +02:00
Matthias
2663aede24
Update test to reflect new column naming
2020-08-09 10:28:11 +02:00
Matthias
b576e1d463
Merge branch 'develop' into bt_add_maxdrawdown
2020-08-09 10:25:57 +02:00
Matthias
87e4a82041
Merge branch 'develop' into bt_add_maxdrawdown
2020-08-09 08:34:36 +02:00
Matthias
3670be5dd2
Merge pull request #3641 from freqtrade/fix/edgeremovebumps
...
Fix edge with removebumps enabled
2020-08-08 17:33:08 +02:00
Matthias
d01070dba8
Increase coverage of edge_cli
2020-08-06 09:22:41 +02:00
Matthias
59370672b8
Fix more tests
2020-08-06 09:00:28 +02:00
Matthias
081625c5dc
Have hyperopt tests use new hyperopt location
2020-08-06 08:51:01 +02:00
Matthias
8b6d10daf1
Move DefaultHyperopt to test folder (aligned to strategy)
2020-08-06 08:50:41 +02:00
Matthias
075c73b9e3
Improve formatting of telegram message
2020-08-04 19:56:49 +02:00
Matthias
817f5289db
/delete should Cancel open orders (and stoploss orders)
2020-08-04 19:43:22 +02:00
Matthias
9163c7f3d3
Improve api response
2020-08-04 19:43:05 +02:00
Matthias
4b0164770c
Add test for /delete
2020-08-04 14:49:59 +02:00
Matthias
26c7341b7d
Add test for api-server DELETE trade
2020-08-04 14:41:38 +02:00
Matthias
c0083c4244
Merge branch 'develop' into pr/thopd88/3611
2020-08-04 07:00:54 +02:00
Matthias
a33346c6b6
Fix testing errors - which surfaced with pytest 6.0.1
2020-08-03 19:22:07 +02:00
Matthias
3915101d2d
Add more backoff to fetch_order endpoint
2020-08-02 10:32:17 +02:00
Matthias
6c77feee85
Improve some exchange logs
2020-08-02 10:18:19 +02:00
Matthias
99bfa839eb
Improve logging for sell exception
2020-08-02 10:12:15 +02:00
Matthias
071e82043a
Better handle cancelled buy orders
2020-08-01 15:59:50 +02:00
Matthias
14cb29aae1
Add test for remove_pumps in edge
2020-07-28 08:16:55 +02:00
Matthias
db8f3a9e9b
Merge pull request #3609 from thopd88/develop
...
Add telegram /trades command
2020-07-25 16:45:09 +02:00
Matthias
edb582e522
Add more tests
2020-07-24 20:40:07 +02:00
Matthias
ae1c99bdd0
more tests
2020-07-24 20:36:30 +02:00
Matthias
ed33d4781d
Add more hdf5 tests
2020-07-24 20:19:34 +02:00
Matthias
d9b339ee18
Add some more tests for hdf5
2020-07-24 20:09:59 +02:00
Matthias
0a28818b46
Add some tests for hdf5
2020-07-24 19:37:37 +02:00
Matthias
e26e658f99
Improve a few tests
2020-07-24 19:33:27 +02:00
Matthias
6a0c84b649
Add tests for hdf5
2020-07-24 19:23:56 +02:00
Matthias
fdc84eef59
/trades shall only return closed trades
2020-07-23 07:50:45 +02:00
Matthias
8300eb59d4
Extend create_mock_trades to create 4 trades
...
2 closed, and 2 open trades
2020-07-23 07:50:28 +02:00
Matthias
0f18b2a0d4
Add test and fix case where no trades were closed yet
2020-07-23 07:12:14 +02:00
hroff-1902
f48250b414
Make flake happy
2020-07-22 22:56:24 +03:00
hroff-1902
50767cd569
Adjust tests for AgeFilter
2020-07-22 22:48:29 +03:00
hroff-1902
5c2481082e
Add tests for PriceFilter
2020-07-22 22:46:30 +03:00
Matthias
7e980037a4
Merge pull request #3554 from jblestang/Fix_#3544
...
Adding a dataprovider to the strategy before plotting
2020-07-22 15:56:16 +02:00
Matthias
f5f529cace
Use correct initialization of DataProvider
2020-07-22 15:17:45 +02:00
Matthias
939f91734f
Test confirming 0 division ...
2020-07-21 20:34:19 +02:00
Matthias
21dcef1134
Add trade_id to webhooks
...
allowing for easier corelation of different messages
2020-07-20 19:57:05 +02:00
Matthias
4c97527b04
FIx failing test
2020-07-20 19:11:15 +02:00
hroff-1902
b7c6f868b2
Merge pull request #3478 from hroff-1902/exchange-cosmetics-5
...
Minor: Exchange cosmetics
2020-07-20 18:58:46 +03:00
Matthias
ea1ddeb87d
Merge pull request #3570 from gambcl/develop
...
Added range checks to min_days_listed in AgeFilter
2020-07-19 09:37:17 +02:00
Matthias
de46744aa9
Use filled before amount for order data
...
closes #3579
2020-07-15 21:08:16 +02:00
Matthias
98f2e79f27
Adjust tests to use correctly trimmed amount
2020-07-15 20:55:33 +02:00
Matthias
c1c018d8fe
Fix tests that require amount_requested
2020-07-15 20:27:00 +02:00
Matthias
c826f7a707
Add amount_requested to database
2020-07-15 20:15:29 +02:00
Matthias
d13cb4c055
Introduce safe_value_fallback_2
2020-07-15 19:50:09 +02:00
Matthias
5cebc9f39d
Move stoploss_on_exchange_limit_ratio to configuration schema
2020-07-15 19:28:40 +02:00
Matthias
c1191400a4
Allow 0 fee value by correctly checking for None
2020-07-15 19:20:20 +02:00
gambcl
1051ab917a
Replaced logging with OperationalException when AgeFilter given invalid parameters
2020-07-15 12:40:54 +01:00
Matthias
82c68f07cd
Add stoploss-distance (to current price) to /status output
2020-07-14 20:16:18 +02:00
hroff-1902
0f4fc67b83
Merge pull request #3582 from freqtrade/data/list
...
List available backtesting data
2020-07-14 19:38:32 +03:00
Matthias
62c55b1863
Enhance formatting, Add pair filter
2020-07-14 06:55:34 +02:00
Matthias
01f325a9e4
Send timeframe min and ms in show_config response
2020-07-13 21:15:33 +02:00
Matthias
6ee6e51ab4
Merge branch 'develop' into pr/hroff-1902/3478
2020-07-13 07:22:43 +02:00
Matthias
5bb81abce2
Add test for start_list_data
2020-07-12 10:01:51 +02:00
Matthias
d4fc52d2d5
Add tests for ohlcv_get_available_data
2020-07-12 09:56:46 +02:00
Matthias
40bdc93653
Add test for short_desc of priceFilter
2020-07-10 20:28:29 +02:00
gambcl
14eab9be04
Added min_price, max_price to PriceFilter
2020-07-08 22:02:04 +01:00
gambcl
091285ba43
Fix flake8 error in test_pairlist.py
2020-07-08 18:32:14 +01:00
gambcl
2e45859aef
Added range checks to min_days_listed in AgeFilter
2020-07-08 18:06:30 +01:00
hroff-1902
839b3340e6
Merge pull request #3497 from freqtrade/keep_dataframe_noapi
...
Analyze dataframe and keep it until the next analysis
2020-07-05 13:46:02 +03:00
Matthias
0d15a87af8
Remove old store_backtest method
2020-07-03 20:21:32 +02:00
Matthias
523437d970
Add tst for daily stats
2020-07-03 20:03:33 +02:00
Matthias
d999fa2a7e
Test autogetting result filename
2020-07-03 06:58:27 +02:00
Matthias
2ed808da1f
Extract .last_result.json to constant
2020-07-03 06:58:27 +02:00
Matthias
59e0ca0aaa
Add pairlist to backtest-result
2020-07-03 06:58:27 +02:00
Matthias
59ac4b9c9a
Test writing statistics
2020-07-03 06:58:27 +02:00
Matthias
5b1a7ba00f
Test multistrat loading
2020-07-03 06:58:27 +02:00
Matthias
f952f74bf1
Add test for new format
2020-07-03 06:58:27 +02:00
Matthias
573502d972
Update test for load_trades_from_db
2020-07-03 06:58:27 +02:00
Matthias
afefe92523
Add multi-strategy loading logic
2020-07-03 06:58:27 +02:00
Matthias
1339479882
Have sell_type stringify correctly
2020-07-03 06:58:27 +02:00
Matthias
04eaf2c39c
Add test for get_last_backtest_Result
2020-07-03 06:58:27 +02:00
Matthias
7727292861
Rename duration to trade_duration
2020-07-03 06:58:27 +02:00
Matthias
f368aabcc7
Add amount to backtest-result
2020-07-03 06:58:27 +02:00
Matthias
6e94734678
Add fee to backtestresult
2020-07-03 06:58:27 +02:00
Matthias
03ab61959b
Add test for generate_backtest_stats
2020-07-03 06:58:27 +02:00
Matthias
0fa56be9d2
remove openIndex and closeIndex from backtest-report
2020-07-03 06:58:27 +02:00
Matthias
2881718733
Adapt tests for new column names
2020-07-03 06:58:27 +02:00
Matthias
5fce7f3b22
Add market Change
...
closes #2524 and #3518
2020-07-03 06:58:27 +02:00
Matthias
cf044d166e
Tests should use new Datetime format too
2020-07-03 06:58:27 +02:00
Theagainmen
f32e522bd7
Update API test, removed 'ANY'
2020-07-02 20:03:15 +02:00
Theagainmen
39fa589735
Update API test, currently just with 'ANY'
2020-07-02 13:39:02 +02:00
Theagainmen
db965332b9
Update tests for AgeFilter message
2020-07-02 11:38:38 +02:00
Matthias
cf1bbb1afb
Merge pull request #3517 from freqtrade/rpc/winlossratio
...
Show winning vs. losing trades
2020-06-30 07:48:18 +02:00
Matthias
cf26ab1dd8
Merge pull request #3527 from Theagainmen/Warning_message2
...
Warning message bot is stopped and left open trades
2020-06-30 07:48:02 +02:00
Matthias
c2a6f70b4c
Merge branch 'develop' into keep_dataframe_noapi
2020-06-30 07:46:52 +02:00
Matthias
efd6e4a875
Add test for check_for_open_trades
2020-06-30 07:16:27 +02:00
hroff-1902
8a2f631ddd
Merge pull request #3531 from freqtrade/exchange_errorhandling
...
Improve exchange errorhandling and API backoff
2020-06-30 07:53:09 +03:00
hroff-1902
02c0488d45
Merge pull request #3453 from freqtrade/fix/3363
...
Backtesting should load pairlists after the strategy
2020-06-29 21:53:33 +03:00
Matthias
4d9ecf137b
Fix failing test in python 3.7
...
can't use Magicmock in 3.7 (works in 3.8 though).
2020-06-28 20:38:28 +02:00
Matthias
c6124180fe
Fix bug when fetching orders fails
2020-06-28 19:45:42 +02:00
Matthias
6362bfc36e
Fix calculate_backoff implementation
2020-06-28 19:41:21 +02:00
Matthias
cbcbb4bdb5
Rename get_stoploss_order to fetch_stoploss_order (align with fetch_order)
2020-06-28 16:30:24 +02:00
Matthias
92c70fb903
Rename get_order to fetch_order (to align to ccxt naming)
2020-06-28 16:27:35 +02:00
Matthias
e040c518ca
Dynamic backoff on DDos errors
2020-06-28 16:19:12 +02:00
Matthias
29d3ff1bc9
Adjust tests to work with ExchangeError
2020-06-28 16:04:04 +02:00
Matthias
5bd4798ed0
Add retrier to stoploss calls (but without retrying)
2020-06-28 11:56:29 +02:00
Matthias
2c45114a64
Implement DDos backoff (1s)
2020-06-28 11:17:06 +02:00
Matthias
865b73a456
Merge pull request #3520 from freqtrade/rpc/cors_setting
...
Fix RPC Cors
2020-06-27 15:38:40 +02:00
hroff-1902
cc24f44636
Merge pull request #3519 from freqtrade/fix/trades_download_older
...
dl-trades should also support increasing download span
2020-06-27 00:08:10 +03:00
gambcl
ab7f5a2bcf
Added pairslist AgeFilter
2020-06-24 23:58:12 +01:00
Matthias
5423d8588e
Test for cors settings
2020-06-24 20:32:35 +02:00
Matthias
676006b99c
--dl-trades should also support increasing download span
...
(by downloading the whole dataset again to avoid missing data in the
middle).
2020-06-24 17:40:23 +02:00
Matthias
0509b9a8fc
Show winning vs. losing trades
2020-06-24 06:43:19 +02:00
Matthias
45ffb26910
Merge branch 'develop' into pr/hroff-1902/3478
2020-06-18 19:54:46 +02:00
Matthias
eef3c01da7
Fix function header formatting
2020-06-18 19:49:05 +02:00
Matthias
f1993fb2f4
Pass analyzed dataframe to get_signal
2020-06-18 08:09:52 +02:00
Matthias
f2a778d294
Combine tests for empty dataframe
2020-06-18 07:03:30 +02:00
Matthias
ab9382434f
Add test for get_analyzed_dataframe
2020-06-18 06:50:06 +02:00
Matthias
8b186dbe0e
Add additional test scenarios
2020-06-18 06:50:06 +02:00
Matthias
1c1a7150ae
ensure confirm_trade_entry is called and has the desired effect
2020-06-18 06:50:06 +02:00
Matthias
7c3fb111f2
Confirm execute_sell calls confirm_trade_exit
2020-06-18 06:50:06 +02:00
Matthias
6d6e7196f4
Test trade entry / exit is called correctly
2020-06-18 06:50:06 +02:00
Matthias
dea7e3db01
Use supress_errors in strategy wrapper - ensure it's called once
2020-06-18 06:50:06 +02:00
Matthias
c047e48a47
Add errorsupression to safe wrapper
2020-06-18 06:50:06 +02:00
Matthias
bc821c7c20
Add documentation for bot_loop_start
2020-06-18 06:50:06 +02:00
Matthias
7da955556d
Add test for empty pair case
2020-06-18 06:50:06 +02:00
Matthias
55fa514ec9
Adapt most tests
2020-06-18 06:50:05 +02:00
Matthias
273aaaff12
Introduce .analyze() function for Strategy
...
Fixing a few tests along the way
2020-06-18 06:50:05 +02:00
Matthias
e2465f979b
Correctly mock out async_reload
2020-06-17 08:33:53 +02:00
Matthias
d4fb5af456
Also reload async markets
...
fixes #2876 - Logs and Empty ticker history for new pair
2020-06-17 07:23:20 +02:00
Matthias
3517c86fa2
Fail if both ticker_interval and timeframe are present in a
...
configuration
Otherwise the wrong might be used, as it's unclear which one the intend
of the user is
2020-06-16 16:02:38 +02:00
Matthias
a3506f4d8e
Merge branch 'develop' into timeframe
2020-06-15 06:35:55 +02:00
Matthias
d337fb6c6a
Update some comments
2020-06-15 06:35:31 +02:00
Matthias
f80b5f9410
Merge pull request #3438 from freqtrade/ftx_stoploss
...
Ftx stoploss
2020-06-14 07:02:15 +02:00
Matthias
534c242d1b
Apply typography to test too
2020-06-14 06:33:08 +02:00
hroff-1902
4660909e95
Validate stoploss_on_exchange_limit_ratio at startup time
2020-06-14 01:07:00 +03:00
hroff-1902
1bf333d320
Minor: fix test
2020-06-14 00:57:13 +03:00
Matthias
d52198d15e
Merge pull request #3468 from hroff-1902/cleanup_async_markets
...
Cleanup async markets
2020-06-13 17:28:11 +02:00
hroff-1902
37bc2d28ad
Revert "Remove _load_async_markets"
...
This reverts commit 6744f8f052
.
2020-06-13 13:34:29 +03:00
hroff-1902
12d3a234c1
Merge pull request #3471 from freqtrade/fix/3465
...
Fix exception with stacktrace in test-pairlist
2020-06-12 07:57:37 +03:00
Matthias
c66ca957d9
Add test verifying this behaviour
2020-06-10 19:57:47 +02:00
Theagainmen
4f643f8481
Fix Flake8 error: line too long
2020-06-10 19:28:02 +02:00
Theagainmen
8c9dea988c
Now supports both commands & fixed test
2020-06-10 19:28:02 +02:00
Theagainmen
04fa597695
Test with multiple commands in one line
2020-06-10 19:28:02 +02:00
Theagainmen
ac92834693
reload_conf & reload_config now both accepted, code is more consistent now
2020-06-10 19:28:02 +02:00
hroff-1902
7d451638a8
Make _reload_markets() public
2020-06-10 01:39:23 +03:00
hroff-1902
6744f8f052
Remove _load_async_markets
2020-06-10 01:22:55 +03:00
Matthias
ab0003f565
fix #3463 by explicitly failing if no stoploss is defined
2020-06-09 14:33:57 +02:00
Matthias
72ae4b1500
Load pairlist after strategy to use strategy-config
...
fail in certain conditions when using strategy-list
Fix #3363
2020-06-07 16:15:26 +02:00
Matthias
54226b45b1
Add test verifying failure
2020-06-07 16:02:54 +02:00
Matthias
0f373e6bb9
Update unrelated tests
2020-06-07 15:39:59 +02:00
Matthias
3f9ab0846d
Rename profitperc to profit_percent
2020-06-07 15:39:59 +02:00
Matthias
070913f327
Rename text_table generation
2020-06-07 11:35:02 +02:00
Matthias
499c6772d1
Rename tabulate methods
...
they don't "generate" anything
2020-06-07 11:31:33 +02:00
Matthias
8d8cf5a2fd
Improve code formatting of telegram
2020-06-06 17:28:00 +02:00
Matthias
ed1268cf39
Merge branch 'develop' into ask_strategy_verbosity
2020-06-06 17:23:19 +02:00
Matthias
6aed16c146
Merge pull request #3448 from Theagainmen/Telegram_emojis_V2
...
Added emoji's to the Telegram RPC
2020-06-06 17:22:56 +02:00
Theagainmen
d20762aa01
Fixed typo 'emoij' in test file too
2020-06-06 17:11:47 +02:00
Matthias
b2316cdd00
Extract sell_smoij logic into it's own function
2020-06-06 17:11:47 +02:00
hroff-1902
a86863c032
Merge pull request #3440 from freqtrade/rpc_status_fields
...
Rpc status fields
2020-06-05 23:59:01 +03:00
Matthias
8c32d691c7
Add information about bid and ask strategy to /showconfig
2020-06-05 20:31:40 +02:00
Theagainmen
6694ac5077
Splitted a line that was too long, resulting in flake8 error
2020-06-05 20:10:52 +02:00
Theagainmen
08b9abed3a
Removed '.encode', unecessary
2020-06-05 20:05:55 +02:00
Theagainmen
ff289a7177
Updated tests to work with Telegram emojis
2020-06-05 19:08:54 +02:00
Matthias
6a88eb603b
Update failing test
2020-06-04 07:20:50 +02:00
Matthias
7bd55aa2f1
Use correct calcuation for "locked in profit"
2020-06-04 07:04:32 +02:00
Matthias
412b50dac5
Add current stoploss calculations
2020-06-04 06:59:48 +02:00
Matthias
5c5dc6fffe
Update test to reflect real trade after one cycle
2020-06-04 06:56:30 +02:00
Matthias
6997524a04
Fix tests for additional info
2020-06-03 19:40:49 +02:00
Matthias
f0eb0bc350
Support limit orders
2020-06-03 06:11:34 +02:00
Matthias
77a62b845a
Fix some comments
2020-06-03 06:11:34 +02:00
Matthias
3174f37b41
adapt tests to use stoploss_* methods
2020-06-03 06:11:34 +02:00
Matthias
cf50c1cb7b
Add tests for new exchange methods
2020-06-03 06:11:34 +02:00
Matthias
d90d6ed5d0
Add ftx to tested exchanges
2020-06-03 06:11:34 +02:00
Matthias
78dea19ffb
Implement first version of FTX stop
2020-06-03 06:11:34 +02:00
Matthias
ad61673d6f
Fix missing key in test order
2020-06-02 21:10:12 +02:00
Matthias
ea954b4338
Add failing test with testcase from incident
...
Full problem in #3431
2020-06-02 20:54:14 +02:00
Matthias
08049d23b4
Use "market_is_tradable" for whitelist validation
2020-06-02 20:41:29 +02:00
Matthias
b74a3addc6
Update tests
2020-06-02 20:30:31 +02:00
Matthias
02fca141a0
Readd ticker_interval to trade api response
2020-06-02 19:43:15 +02:00
Matthias
1a5dba9a79
Revert "Fix tests after merge"
...
This reverts commit edf8e39bc1
.
2020-06-02 19:39:17 +02:00
hroff-1902
edf8e39bc1
Fix tests after merge
2020-06-02 17:57:45 +03:00
hroff-1902
64881a94e2
Merge branch 'develop' into timeframe
2020-06-02 15:56:34 +03:00
hroff-1902
4c82f127b3
Merge pull request #3419 from freqtrade/api_trade_response
...
Api trade response
2020-06-02 15:53:58 +03:00
hroff-1902
2cc47f651d
Merge pull request #3408 from freqtrade/apiserver_logging
...
Apiserver logging
2020-06-02 14:32:44 +03:00
Matthias
b106c88630
Add test case for strategy overwriting
2020-06-02 13:08:21 +02:00
Matthias
8e1a664a48
Add test for deprecation updating
2020-06-02 10:11:50 +02:00
Matthias
f9bb1a7f22
Update more occurances of ticker_interval
2020-06-02 10:02:55 +02:00
Matthias
af0f29e6b7
Update persistence to use timeframe
2020-06-02 10:02:36 +02:00
Matthias
09fe3c6f5e
create compatibility code
2020-06-02 09:52:30 +02:00
Matthias
3e895ae74a
Some more replacements of ticker_interval
2020-06-02 09:41:42 +02:00
Matthias
947903a4ac
Use timeframe from within strategy
2020-06-02 09:36:04 +02:00
hroff-1902
aff80d7331
Merge pull request #3417 from freqtrade/bt_result_store_metrics
...
Refactor result store metrics
2020-06-02 04:31:37 +03:00
hroff-1902
5435df84bd
Merge pull request #3387 from freqtrade/rpc_blacklist
...
Improve RPC Blacklist by adding feedback
2020-06-02 04:10:33 +03:00
hroff-1902
7b9bb5ba3d
Merge pull request #3425 from freqtrade/sell_rate_raise_empty
...
Verify sell-rate returns a value.
2020-06-02 02:22:56 +03:00
Matthias
cadc50ce9b
Replace more occurances of ticker_interval with timeframe
2020-06-01 20:49:40 +02:00
Matthias
950f358982
Replace occurances in test files
2020-06-01 20:47:27 +02:00
Matthias
b2c241e607
Replace ticker_interval in all rpc files
2020-06-01 20:43:20 +02:00
Matthias
898def7f6c
Remove ticker_interval from exchange
2020-06-01 20:39:01 +02:00
Matthias
009ea0639f
Exchange some occurances of ticker_interval
2020-06-01 20:33:26 +02:00
Matthias
3139343946
Remove capital_available_percentage and raise instead
2020-06-01 19:58:28 +02:00
Matthias
f6f75072ba
Fix linelength
2020-06-01 19:54:05 +02:00
Matthias
c35f9f8d39
Verify sell-rate got a value - otherwise downstream code does not work.
...
Using PricingException here will cease operation for this pair for this
iteration - postponing handling to the next iteration - where hopefully
a price is again present.
2020-06-01 19:45:37 +02:00
Matthias
d2b7016dff
Add stop_loss_abs ...
2020-06-01 11:05:37 +02:00
Matthias
6dec508c5e
Add new fields to tests
2020-06-01 10:57:29 +02:00
Matthias
091693308a
Correctly call show_backtest_results
2020-06-01 09:25:26 +02:00
Matthias
4087161d2b
fix broken test
2020-05-31 10:16:56 +02:00
Matthias
dc7f0f1187
Add api-server to default config samples
2020-05-31 09:57:31 +02:00
hroff-1902
84c50bf16c
Merge pull request #3390 from freqtrade/rpc/profit
...
improve /profit to not raise an exception if no trade is closed
2020-05-30 22:06:22 +03:00
hroff-1902
a162b911b6
Merge pull request #3398 from freqtrade/ccxt_config_combine
...
combine CCXT configurations ...
2020-05-30 21:49:44 +03:00
Matthias
cc90e7b413
Show "No trades yet." when no trade happened yet
2020-05-30 19:49:16 +02:00
Matthias
91f84f1a43
Fix typo in close trade message
2020-05-30 19:28:30 +02:00
hroff-1902
36c7089a03
Merge pull request #3394 from freqtrade/disable_dataframechecks
...
Allow changing severity of strategy-validations to log only.
2020-05-30 19:28:38 +03:00
Matthias
97905f86be
Add missing fields to to_json output of trade
2020-05-30 11:34:39 +02:00
Matthias
f187753f8f
Add ccxt_sync_config to simplify ccxt configuration
2020-05-30 10:45:50 +02:00
Matthias
7ea59b6d8e
Update comment
...
(to trigger CI)
2020-05-30 09:43:50 +02:00
Matthias
ea5daee505
Allow changing severity of strategy-validations to log only.
2020-05-29 19:37:18 +02:00
Matthias
9f8b21de4a
Merge pull request #3358 from hroff-1902/refactor_generate_pairlist
...
Split the pairlist generation logic and filtering
2020-05-29 14:16:15 +02:00
hroff-1902
a4cf9ba85b
Move check for position for StaticPairList to init
2020-05-29 12:40:05 +03:00
Matthias
1d6e3fea85
Update /profit telegram message to support non-closed trades
2020-05-29 09:38:12 +02:00
Matthias
6261aef314
Return /profit even if no trade is closed
2020-05-29 09:03:48 +02:00
Matthias
7399c7e70c
Provide blacklist feedback to telegram
2020-05-28 07:04:06 +02:00
Matthias
0e8f95effd
Improve blacklist adding with proper feedback
2020-05-28 06:51:53 +02:00