Matthias 
							
						 
					 
					
						
						
							
						
						cc5769e900 
					 
					
						
						
							
							Convert np.int64 to proper int  
						
						... 
						
						
						
						closes  #5018  
					
						2021-05-25 19:24:56 +02:00 
						 
				 
			
				
					
						
							
							
								Rikj000 
							
						 
					 
					
						
						
							
						
						bd44deea0d 
					 
					
						
						
							
							BugFix - hyperopt-show --print-json include non-optimized params  
						
						
						
						
					 
					
						2021-05-24 18:51:33 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						af16614bf2 
					 
					
						
						
							
							Fix formatting issue  
						
						
						
						
					 
					
						2021-05-24 07:48:36 +02:00 
						 
				 
			
				
					
						
							
							
								Priveyes 
							
						 
					 
					
						
						
							
						
						6f990c5976 
					 
					
						
						
							
							Fix a rare error in save_result : ValueError: Out of range float values are not JSON compliant  
						
						... 
						
						
						
						freqtrade/freqtrade/optimize/hyperopt.py", line 166, in _save_result
    rapidjson.dump(epoch, f, default=str, number_mode=rapidjson.NM_NATIVE)
ValueError: Out of range float values are not JSON compliant 
						
						
					 
					
						2021-05-23 18:49:07 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						971d5b2ecc 
					 
					
						
						
							
							Merge pull request  #5002  from freqtrade/track_rejected_trades  
						
						... 
						
						
						
						Track rejected trades 
						
						
					 
					
						2021-05-23 14:56:50 +01:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						3f956441fc 
					 
					
						
						
							
							Properly format % of zero_duration_trades  
						
						
						
						
					 
					
						2021-05-23 15:53:54 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						a39860e0de 
					 
					
						
						
							
							Add tests for rejected signals  
						
						
						
						
					 
					
						2021-05-23 14:15:02 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						7f125315b0 
					 
					
						
						
							
							Track Rejected Trades  
						
						... 
						
						
						
						closes  #3423  
					
						2021-05-23 09:42:05 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						02faeb60a3 
					 
					
						
						
							
							Merge pull request  #4943  from rokups/rk/statistics  
						
						... 
						
						
						
						Extra statistics 
						
						
					 
					
						2021-05-23 08:38:27 +01:00 
						 
				 
			
				
					
						
							
							
								Rokas Kupstys 
							
						 
					 
					
						
						
							
						
						db985cbc2e 
					 
					
						
						
							
							Fix hyperopt-show failing to display old results with missing new fields.  
						
						
						
						
					 
					
						2021-05-23 09:45:26 +03:00 
						 
				 
			
				
					
						
							
							
								Rokas Kupstys 
							
						 
					 
					
						
						
							
						
						25cc4eae96 
					 
					
						
						
							
							Fix tests that broke after table formatting changed.  
						
						
						
						
					 
					
						2021-05-22 15:25:37 +02:00 
						 
				 
			
				
					
						
							
							
								Rokas Kupstys 
							
						 
					 
					
						
						
							
						
						981b2df7ca 
					 
					
						
						
							
							Include win:loss ratio in results tables.  
						
						
						
						
					 
					
						2021-05-21 12:18:08 +03:00 
						 
				 
			
				
					
						
							
							
								Rokas Kupstys 
							
						 
					 
					
						
						
							
						
						debd98ad9a 
					 
					
						
						
							
							Make results table more compact by merging win/draw/loss columns and drawdown abs/% into single columns.  
						
						
						
						
					 
					
						2021-05-21 11:36:23 +03:00 
						 
				 
			
				
					
						
							
							
								Rokas Kupstys 
							
						 
					 
					
						
						
							
						
						e1dc1357ce 
					 
					
						
						
							
							Add drawdown column to strategy summary table.  
						
						
						
						
					 
					
						2021-05-21 11:36:23 +03:00 
						 
				 
			
				
					
						
							
							
								Rokas Kupstys 
							
						 
					 
					
						
						
							
						
						edcfa94093 
					 
					
						
						
							
							Include zero duration trades in backtesting report.  
						
						
						
						
					 
					
						2021-05-21 11:36:23 +03:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						f398888865 
					 
					
						
						
							
							Refactor preprocessed trimming to seperate method  
						
						
						
						
					 
					
						2021-05-21 08:26:19 +02:00 
						 
				 
			
				
					
						
							
							
								Kamontat Chantrachirathumrong 
							
						 
					 
					
						
						
							
						
						6172e67fcd 
					 
					
						
						
							
							Update hyperopt.py  
						
						
						
						
					 
					
						2021-05-20 11:56:31 +07:00 
						 
				 
			
				
					
						
							
							
								Kamontat Chantrachirathumrong 
							
						 
					 
					
						
						
							
						
						c2b9da68e1 
					 
					
						
						
							
							fix indent  
						
						
						
						
					 
					
						2021-05-20 11:56:11 +07:00 
						 
				 
			
				
					
						
							
							
								Kamontat Chantrachirathumrong 
							
						 
					 
					
						
						
							
						
						1b3bfb2e7f 
					 
					
						
						
							
							found root cause.  
						
						
						
						
					 
					
						2021-05-20 11:50:15 +07:00 
						 
				 
			
				
					
						
							
							
								Kamontat Chantrachirathumrong 
							
						 
					 
					
						
						
							
						
						48210170e7 
					 
					
						
						
							
							wrap with is not empty  
						
						
						
						
					 
					
						2021-05-20 11:49:25 +07:00 
						 
				 
			
				
					
						
							
							
								Kamontat Chantrachirathumrong 
							
						 
					 
					
						
						
							
						
						082fb11bbe 
					 
					
						
						
							
							Avoid having error cannot set a frame with no defined index and a scalar  
						
						
						
						
					 
					
						2021-05-20 01:54:48 +07: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 
							
						 
					 
					
						
						
							
						
						36eba0f110 
					 
					
						
						
							
							Don't use "r+" memmap, but "r2  
						
						
						
						
					 
					
						2021-05-17 21:05:48 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						6aa574fa2b 
					 
					
						
						
							
							Convert ROI result to proper json object  
						
						... 
						
						
						
						closes  #4952  
					
						2021-05-17 20:58:50 +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 
						 
				 
			
				
					
						
							
							
								Rokas Kupstys 
							
						 
					 
					
						
						
							
						
						29fed37df3 
					 
					
						
						
							
							Fix exception when few pairs with no data do not result in aborting backtest.  
						
						... 
						
						
						
						Exception is triggered by backtesting 20210301-20210501 range with BAKE/USDT pair (binance). Pair data starts on 2021-04-30 12:00:00 and after adjusting for startup candles pair dataframe is empty.
Solution: Since there are other pairs with enough data - skip pairs with no data and issue a warning.
Exception:
```
Traceback (most recent call last):
  File "/home/rk/src/freqtrade/freqtrade/main.py", line 37, in main
    return_code = args['func'](args)
  File "/home/rk/src/freqtrade/freqtrade/commands/optimize_commands.py", line 53, in start_backtesting
    backtesting.start()
  File "/home/rk/src/freqtrade/freqtrade/optimize/backtesting.py", line 502, in start
    min_date, max_date = self.backtest_one_strategy(strat, data, timerange)
  File "/home/rk/src/freqtrade/freqtrade/optimize/backtesting.py", line 474, in backtest_one_strategy
    results = self.backtest(
  File "/home/rk/src/freqtrade/freqtrade/optimize/backtesting.py", line 365, in backtest
    data: Dict = self._get_ohlcv_as_lists(processed)
  File "/home/rk/src/freqtrade/freqtrade/optimize/backtesting.py", line 199, in _get_ohlcv_as_lists
    pair_data.loc[:, 'buy'] = 0  # cleanup from previous run
  File "/home/rk/src/freqtrade/venv/lib/python3.9/site-packages/pandas/core/indexing.py", line 692, in __setitem__
    iloc._setitem_with_indexer(indexer, value, self.name)
  File "/home/rk/src/freqtrade/venv/lib/python3.9/site-packages/pandas/core/indexing.py", line 1587, in _setitem_with_indexer
    raise ValueError(
ValueError: cannot set a frame with no defined index and a scalar
``` 
						
						
					 
					
						2021-05-15 13:37:03 +03:00 
						 
				 
			
				
					
						
							
							
								Brook Miles 
							
						 
					 
					
						
						
							
						
						2eac23a15f 
					 
					
						
						
							
							if stoploss price is above the candle high, set it to candle open instead.  this can occur if stoploss had previously been reached but the sell was prevented by confirm_trade_exit  
						
						
						
						
					 
					
						2021-05-15 15:38:51 +09:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						5e73195b30 
					 
					
						
						
							
							Use linux lineseperator at all times  
						
						
						
						
					 
					
						2021-05-15 07:01:32 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						ecee42f561 
					 
					
						
						
							
							Read pickle file in mmap mode  
						
						
						
						
					 
					
						2021-05-13 20:13:04 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						1055862bc0 
					 
					
						
						
							
							Extract data-load + dump from hyperopt  
						
						... 
						
						
						
						(Reduces memory-usage as the dataframes go out of scope) 
						
						
					 
					
						2021-05-12 21:15:01 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						24a1d5a96f 
					 
					
						
						
							
							Change default hyperopt-name to be shorter  
						
						
						
						
					 
					
						2021-05-12 19:06:13 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						3cbe40875d 
					 
					
						
						
							
							read hyperopt results from pickle or json  
						
						
						
						
					 
					
						2021-05-12 06:06:30 +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 
							
						 
					 
					
						
						
							
						
						92186d89a2 
					 
					
						
						
							
							Add some changes to strategytemplate  
						
						
						
						
					 
					
						2021-05-09 09:56:36 +02:00 
						 
				 
			
				
					
						
							
							
								Rokas Kupstys 
							
						 
					 
					
						
						
							
						
						8d8c782bd0 
					 
					
						
						
							
							Slice dataframe in backtesting, preventing access to rows past current time.  
						
						
						
						
					 
					
						2021-05-08 18:40:49 +03:00 
						 
				 
			
				
					
						
							
							
								Rokas Kupstys 
							
						 
					 
					
						
						
							
						
						f1eb653545 
					 
					
						
						
							
							Fix strategy protections not being loaded in backtesting.  
						
						
						
						
					 
					
						2021-05-08 10:29:47 +03:00 
						 
				 
			
				
					
						
							
							
								Rokas Kupstys 
							
						 
					 
					
						
						
							
						
						1b01ad6f85 
					 
					
						
						
							
							Make exchange parameter optional and do not use it as parameter in backtesting.  
						
						
						
						
					 
					
						2021-05-08 10:29:47 +03:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						4b6cd69c81 
					 
					
						
						
							
							Add test for no-exchange dataprovider  
						
						
						
						
					 
					
						2021-05-08 10:29:47 +03:00 
						 
				 
			
				
					
						
							
							
								Rokas Kupstys 
							
						 
					 
					
						
						
							
						
						d344194b36 
					 
					
						
						
							
							Fix dataprovider in hyperopt.  
						
						
						
						
					 
					
						2021-05-08 10:29:47 +03:00 
						 
				 
			
				
					
						
							
							
								Rokas Kupstys 
							
						 
					 
					
						
						
							
						
						6fb4d83ab3 
					 
					
						
						
							
							Fix dataprovider in hyperopt.  
						
						
						
						
					 
					
						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 
							
						 
					 
					
						
						
							
						
						d34da3f981 
					 
					
						
						
							
							Revert "Add dataframe parameter to custom_stoploss() and custom_sell() methods."  
						
						... 
						
						
						
						This reverts commit 595b8735f8 
						
						
					 
					
						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 
							
						 
					 
					
						
						
							
						
						4f529fe424 
					 
					
						
						
							
							Don't use Arrow to get min/max backtest dates  
						
						
						
						
					 
					
						2021-05-06 19:43:14 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						da574e4e69 
					 
					
						
						
							
							Small style fixes  
						
						
						
						
					 
					
						2021-05-03 06:30:41 +02:00 
						 
				 
			
				
					
						
							
							
								Matthias 
							
						 
					 
					
						
						
							
						
						fc110ea418 
					 
					
						
						
							
							Support csv export for new and old versions  
						
						
						
						
					 
					
						2021-05-02 20:41:45 +02:00