Matthias 
							
						 
					 
					
						
						
							
						
						aad37bb8f3 
					 
					
						
						
							
							Merge pull request  #5924  from freqtrade/feat/leverage  
						
						... 
						
						
						
						call leverage methods 
						
						
					 
					
						2021-11-21 19:30:27 +01:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						63d94aa585 
					 
					
						
						
							
							short should be allowed for all non-spot modes  
						
						
						
						
					 
					
						2021-11-21 19:29:08 +01:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						fb519a5b39 
					 
					
						
						
							
							Add comment with reasoning to ignore leverage in min_amount calculation  
						
						
						
						
					 
					
						2021-11-21 10:28:40 +01:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						192ac88314 
					 
					
						
						
							
							Update optimize-reports to enter_tag wording  
						
						
						
						
					 
					
						2021-11-21 10:20:09 +01:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						36deced00b 
					 
					
						
						
							
							Remove more buy_tag references  
						
						
						
						
					 
					
						2021-11-21 09:55:10 +01:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						6247608cc6 
					 
					
						
						
							
							top/bottom cap leverage  
						
						
						
						
					 
					
						2021-11-19 07:11:19 +01:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						021d1b518c 
					 
					
						
						
							
							Call "leverage" to determine leverage to be used.  
						
						
						
						
					 
					
						2021-11-18 20:55:45 +01:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						5a8824171c 
					 
					
						
						
							
							Add short/long metrics to backtest result  
						
						
						
						
					 
					
						2021-11-18 20:42:43 +01:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						0a50017c84 
					 
					
						
						
							
							Add long/short support to backtesting  
						
						
						
						
					 
					
						2021-11-18 20:34:59 +01:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						f40221dd9f 
					 
					
						
						
							
							Merge branch 'develop' into feat/short  
						
						
						
						
					 
					
						2021-11-18 20:20:01 +01:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						8638e6fe47 
					 
					
						
						
							
							Simplify tradingmode parsing  
						
						
						
						
					 
					
						2021-11-18 19:58:44 +01:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						e0fd880c11 
					 
					
						
						
							
							Improve some more pct formattings  
						
						
						
						
					 
					
						2021-11-11 16:12:23 +01:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						4eb9038358 
					 
					
						
						
							
							Some more fixes to % formatting  
						
						
						
						
					 
					
						2021-11-11 15:06:16 +01:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						23a566b478 
					 
					
						
						
							
							validate_stake_amount should not be a private method  
						
						
						
						
					 
					
						2021-11-10 06:38:24 +01:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						e4cca63163 
					 
					
						
						
							
							Align sell_reason assignment location  
						
						... 
						
						
						
						trade mode sets it after "exit confirmation" - so should backtesting
detected in #5828  
						
						
					 
					
						2021-11-08 19:32:13 +01:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						ebc38159b8 
					 
					
						
						
							
							Merge branch 'develop' into feat/short  
						
						
						
						
					 
					
						2021-11-06 15:24:52 +01:00 
						 
				 
			
				
					
						
							
							
								raphael 
							
						 
					 
					
						
						
							
						
						ae2343db93 
					 
					
						
						
							
							Update optimize_reports  
						
						... 
						
						
						
						Update show_backtest_reults() to preserve backwards compatibility by fixing KeyError: 'results_per_buy_tag' for older hyperopt result files. 
						
						
					 
					
						2021-11-04 10:25:13 -04:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						431b96de98 
					 
					
						
						
							
							Merge branch 'develop' into pr/theluxaz/5710  
						
						
						
						
					 
					
						2021-11-03 19:43:36 +01:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						4249fcefba 
					 
					
						
						
							
							Merge pull request  #5150  from cryptomeisternox/backtesting-filter  
						
						... 
						
						
						
						Adding command for Filtering and print trades 
						
						
					 
					
						2021-11-01 09:43:49 +01:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						c094ac5762 
					 
					
						
						
							
							Merge branch 'develop' into feat/short  
						
						
						
						
					 
					
						2021-10-30 19:45:19 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						20904f1ca4 
					 
					
						
						
							
							Add tests for new command  
						
						
						
						
					 
					
						2021-10-30 19:43:42 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						72ecb45d86 
					 
					
						
						
							
							Add test for backtest_show logic  
						
						
						
						
					 
					
						2021-10-30 16:53:48 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						d60001e886 
					 
					
						
						
							
							Stoploss cannot be below candle low  
						
						... 
						
						
						
						fix  #5816  
					
						2021-10-30 16:14:13 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						f472709438 
					 
					
						
						
							
							Add option to show sorted pairlist  
						
						... 
						
						
						
						Allows easy copy/pasting of the pairlist to a configuration 
						
						
					 
					
						2021-10-30 10:50:40 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						6f1e719216 
					 
					
						
						
							
							Merge branch 'develop' into pr/cryptomeisternox/5150  
						
						
						
						
					 
					
						2021-10-30 10:26:05 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						201fe108bc 
					 
					
						
						
							
							Merge pull request  #5607  from TreborNamor/develop  
						
						... 
						
						
						
						a new hyperopt loss created that uses calmar ratio 
						
						
					 
					
						2021-10-29 09:20:44 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						5cdae2ce3f 
					 
					
						
						
							
							Remove CalmarDaily hyperopt loss  
						
						
						
						
					 
					
						2021-10-29 06:53:40 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						20a61e03da 
					 
					
						
						
							
							Merge pull request  #5786  from SimonEbner/clean_up_file_handles  
						
						... 
						
						
						
						Clean up file handles 
						
						
					 
					
						2021-10-25 19:49:07 +02:00 
						 
				 
			
				
					
						
							
							
								Robert Roman 
							
						 
					 
					
						
						
							
						
						88b96d5d1b 
					 
					
						
						
							
							Update hyperopt_loss_calmar.py  
						
						
						
						
					 
					
						2021-10-25 00:45:10 -05:00 
						 
				 
			
				
					
						
							
							
								Simon Ebner 
							
						 
					 
					
						
						
							
						
						f7926083ca 
					 
					
						
						
							
							Clean up unclosed file handles  
						
						... 
						
						
						
						Close all file handles that are left dangling to avoid warnings such as
```
ResourceWarning: unclosed file <_io.TextIOWrapper
name='...' mode='r' encoding='UTF-8'> params = json_load(filename.open('r'))
``` 
						
						
					 
					
						2021-10-24 23:15:05 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Ebner 
							
						 
					 
					
						
						
							
						
						df033d92ef 
					 
					
						
						
							
							Improve performance of decimalspace.py  
						
						... 
						
						
						
						decimalspace.py is heavily used in the hyperoptimization. The following
benchmark code runs an optimization which is taken from optimizing a
real strategy (wtc).
The optimized version takes on my machine approx. 11/12s compared to the
original 32s. Results are equivalent in both cases.
```
import freqtrade.optimize.space
import numpy as np
import skopt
import timeit
def init():
    Decimal = freqtrade.optimize.space.decimalspace.SKDecimal
    Integer = skopt.space.space.Integer
    dimensions = [Decimal(low=-1.0,
        high=1.0,
        decimals=4,
        prior='uniform',
        transform='identity')] * 20
    return skopt.Optimizer(
        dimensions,
        base_estimator="ET",
        acq_optimizer="auto",
        n_initial_points=5,
        acq_optimizer_kwargs={'n_jobs': 96},
        random_state=0,
        model_queue_size=10,
    )
def test():
    opt = init()
    actual = opt.ask(n_points=2)
    expected = [[
        0.7515, -0.4723, -0.6941, -0.7988, 0.0448, 0.8605, -0.108, 0.5399,
        0.763, -0.2948, 0.8345, -0.7683, 0.7077, -0.2478, -0.333, 0.8575,
        0.6108, 0.4514, 0.5982, 0.3506
    ], [
        0.5563, 0.7386, -0.6407, 0.9073, -0.5211, -0.8167, -0.3771,
        -0.0318, 0.2861, 0.1176, 0.0943, -0.6077, -0.9317, -0.5372,
        -0.4934, -0.3637, -0.8035, -0.8627, -0.5399, 0.6036
    ]]
    absdiff = np.max(np.abs(np.asarray(expected) - np.asarray(actual)))
    assert absdiff < 1e-5
def time():
    opt = init()
    print('dt', timeit.timeit("opt.ask(n_points=20)", globals=locals()))
if __name__ == "__main__":
    test()
    time()
``` 
						
						
					 
					
						2021-10-24 18:14:24 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						22dd2ca003 
					 
					
						
						
							
							Fix mypy type errors  
						
						
						
						
					 
					
						2021-10-24 15:18:29 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						17432b2823 
					 
					
						
						
							
							Improve some stylings  
						
						
						
						
					 
					
						2021-10-24 09:15:05 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						dffb4c5d53 
					 
					
						
						
							
							Merge branch 'develop' into pr/TreborNamor/5607  
						
						
						
						
					 
					
						2021-10-24 08:55:10 +02:00 
						 
				 
			
				
					
						
							
							
								Sam Germain 
							
						 
					 
					
						
						
							
						
						aed22f7dad 
					 
					
						
						
							
							Merge branch 'develop' into feat/short  
						
						
						
						
					 
					
						2021-10-22 11:45:27 -06:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						78724e304e 
					 
					
						
						
							
							Merge branch 'develop' into pr/theluxaz/5710  
						
						
						
						
					 
					
						2021-10-21 17:46:39 +02:00 
						 
				 
			
				
					
						
							
							
								theluxaz 
							
						 
					 
					
						
						
							
						
						0e085298e9 
					 
					
						
						
							
							Fixed test failures.  
						
						
						
						
					 
					
						2021-10-21 17:25:38 +03:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						96f99699e0 
					 
					
						
						
							
							Merge pull request  #4606  from rextea/add_days_breakdown_to_backtesting_summary  
						
						... 
						
						
						
						Add days breakdown table to backtesting 
						
						
					 
					
						2021-10-21 13:56:30 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						e458c9867a 
					 
					
						
						
							
							Styling fixes  
						
						
						
						
					 
					
						2021-10-21 07:45:15 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						7b5346b984 
					 
					
						
						
							
							Add test for breakdown-stats  
						
						
						
						
					 
					
						2021-10-21 07:11:39 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						fa028c2134 
					 
					
						
						
							
							Support day/week/month breakdowns  
						
						
						
						
					 
					
						2021-10-21 06:58:40 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						7197f4ce77 
					 
					
						
						
							
							Don't show daily % profit (it's wrong)  
						
						
						
						
					 
					
						2021-10-20 20:01:31 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						de5497c766 
					 
					
						
						
							
							backtest_days cannot be below 1  
						
						
						
						
					 
					
						2021-10-20 19:39:37 +02:00 
						 
				 
			
				
					
						
							
							
								theluxaz 
							
						 
					 
					
						
						
							
						
						905f3a1a50 
					 
					
						
						
							
							Removed exit_tag from Trade objects.  
						
						
						
						
					 
					
						2021-10-20 17:58:50 +03:00 
						 
				 
			
				
					
						
							
							
								Sam Germain 
							
						 
					 
					
						
						
							
						
						3fffc315ac 
					 
					
						
						
							
							Merge branch 'develop' into feat/short  
						
						
						
						
					 
					
						2021-10-20 08:11:53 -06:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						5454460227 
					 
					
						
						
							
							Revert initial_points to 30  
						
						... 
						
						
						
						closes  #5760  
					
						2021-10-20 07:46:15 +02:00 
						 
				 
			
				
					
						
							
							
								theluxaz 
							
						 
					 
					
						
						
							
						
						1fdc4425dd 
					 
					
						
						
							
							Changed exit_tag to be represented as sell_reason  
						
						
						
						
					 
					
						2021-10-20 01:26:15 +03:00 
						 
				 
			
				
					
						
							
							
								GluTbl 
							
						 
					 
					
						
						
							
						
						00406ea7d5 
					 
					
						
						
							
							Update backtesting.py  
						
						... 
						
						
						
						Support for custom entry-prices and exit-prices during backtesting. 
						
						
					 
					
						2021-10-19 17:15:45 +05:30 
						 
				 
			
				
					
						
							
							
								theluxaz 
							
						 
					 
					
						
						
							
						
						5ecdd1d112 
					 
					
						
						
							
							Merge branch 'develop' into freqtrade-development  
						
						
						
						
					 
					
						2021-10-19 00:00:15 +03:00 
						 
				 
			
				
					
						
							
							
								theluxaz 
							
						 
					 
					
						
						
							
						
						69a59cdf37 
					 
					
						
						
							
							Fixed flake 8, changed sell_tag to exit_tag and fixed telegram functions  
						
						
						
						
					 
					
						2021-10-18 23:56:41 +03:00