min profit 0.4
This commit is contained in:
parent
307bbb1b0c
commit
99904683a1
@ -70,7 +70,7 @@ pub struct TrailingStop {
|
|||||||
|
|
||||||
impl TrailingStop {
|
impl TrailingStop {
|
||||||
const BREAK_EVEN_PERC: f64 = 0.1;
|
const BREAK_EVEN_PERC: f64 = 0.1;
|
||||||
const MIN_PROFIT_PERC: f64 = TrailingStop::BREAK_EVEN_PERC + 0.2;
|
const MIN_PROFIT_PERC: f64 = 0.4;
|
||||||
const GOOD_PROFIT_PERC: f64 = TrailingStop::MIN_PROFIT_PERC * 2.5;
|
const GOOD_PROFIT_PERC: f64 = TrailingStop::MIN_PROFIT_PERC * 2.5;
|
||||||
const MAX_LOSS_PERC: f64 = -1.0;
|
const MAX_LOSS_PERC: f64 = -1.0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user