Don't sell with 0 profit in samplestrategy
This commit is contained in:
parent
790e6146f5
commit
a320d4ccba
@ -34,9 +34,8 @@ class SampleStrategy(IStrategy):
|
|||||||
# Minimal ROI designed for the strategy.
|
# Minimal ROI designed for the strategy.
|
||||||
# This attribute will be overridden if the config file contains "minimal_roi".
|
# This attribute will be overridden if the config file contains "minimal_roi".
|
||||||
minimal_roi = {
|
minimal_roi = {
|
||||||
"40": 0.0,
|
"60": 0.01,
|
||||||
"30": 0.01,
|
"30": 0.02,
|
||||||
"20": 0.02,
|
|
||||||
"0": 0.04
|
"0": 0.04
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user