adjust roi settings for faster trades

This commit is contained in:
Janne Sinivirta 2017-10-15 16:58:23 +03:00
parent bf6f563df2
commit c9741cb291
3 changed files with 12 additions and 13 deletions

View File

@ -30,11 +30,10 @@ in minutes and the value is the minimum ROI in percent.
See the example below:
```
"minimal_roi": {
"2880": 0.005, # Sell after 48 hours if there is at least 0.5% profit
"1440": 0.01, # Sell after 24 hours if there is at least 1% profit
"720": 0.02, # Sell after 12 hours if there is at least 2% profit
"360": 0.02, # Sell after 6 hours if there is at least 2% profit
"0": 0.025 # Sell immediately if there is at least 2.5% profit
"50": 0.0, # Sell after 30 minutes if the profit is not negative
"40": 0.01, # Sell after 25 minutes if there is at least 1% profit
"30": 0.02, # Sell after 15 minutes if there is at least 2% profit
"0": 0.045 # Sell immediately if there is at least 4.5% profit
},
```

View File

@ -4,10 +4,10 @@
"stake_amount": 0.05,
"dry_run": false,
"minimal_roi": {
"60": 0.0,
"50": 0.0,
"40": 0.01,
"20": 0.02,
"0": 0.03
"30": 0.02,
"0": 0.045
},
"stoploss": -0.40,
"bid_strategy": {

View File

@ -18,7 +18,7 @@ def print_results(results):
len(results.index),
results.profit.mean() * 100.0,
results.profit.sum(),
results.duration.mean()*5
results.duration.mean() * 5
))
@pytest.fixture
@ -30,10 +30,10 @@ def pairs():
def conf():
return {
"minimal_roi": {
"60": 0.0,
"50": 0.0,
"40": 0.01,
"20": 0.02,
"0": 0.03
"30": 0.02,
"0": 0.045
},
"stoploss": -0.40
}