adjust roi and stop loss for backtesting

This commit is contained in:
Janne Sinivirta 2017-09-29 09:33:40 +03:00
parent 44cdf3e0c2
commit c9226a329c

View File

@ -22,11 +22,12 @@ class TestMain(unittest.TestCase):
pairs = ['btc-neo', 'btc-eth', 'btc-omg', 'btc-edg', 'btc-pay', 'btc-pivx', 'btc-qtum', 'btc-mtl', 'btc-etc', 'btc-ltc'] pairs = ['btc-neo', 'btc-eth', 'btc-omg', 'btc-edg', 'btc-pay', 'btc-pivx', 'btc-qtum', 'btc-mtl', 'btc-etc', 'btc-ltc']
conf = { conf = {
"minimal_roi": { "minimal_roi": {
"2880": 0.005, "60": 0.0,
"720": 0.01, "40": 0.01,
"0": 0.02 "20": 0.02,
"0": 0.03
}, },
"stoploss": -0.10 "stoploss": -0.40
} }
@classmethod @classmethod