Skip to content

Commit

Permalink
Update res-trend.go
Browse files Browse the repository at this point in the history
  • Loading branch information
cashmen authored Dec 8, 2020
1 parent 126f266 commit f1111d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/character/res-trend.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ func NewResTrend(ftx *exchange.FTX, notifier *Notifier) *ResTrend {
// config
market: "BTC-PERP",
mul: 1,
res: 300, // 15 (for test), 60, 300 or 900
res: 15, // 15 (for test), 60, 300 or 900
mainMul: 2,
mainRes: 3600, // 60 (for test), 3600 or 14400
mainRes: 15, // 60 (for test), 3600 or 14400
period: 3,
warmUpCandleNum: 50,
takeProfit: 100,
stopLoss: 100,
takeProfit: 30,
stopLoss: 30,
useTrailingStop: true,
// data
mainCandle: nil,
Expand Down

0 comments on commit f1111d6

Please sign in to comment.