Skip to content

Commit

Permalink
Merge pull request #2 from zb226/main
Browse files Browse the repository at this point in the history
fix minChangeNeg calculation for binance
  • Loading branch information
rleons authored May 11, 2021
2 parents 0fd7647 + 4d85147 commit 13fe12e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion markets-picker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ echo $(date +"%Y/%m/%d %H:%M:%S") "[INFO] 24h Percent Change Between: [ -15.00%
plusLimit=$(echo "15" | bc)
minusLimit=$(echo "-15" | bc)
minChange=$(echo "$minChange*100" | bc)
minChangeNeg=$(echo "-$minChange*100" | bc)
minChangeNeg=$(echo "-$minChange" | bc)
percChange=$(echo "$minChange" | bc)

for market in $markets; do
Expand Down

0 comments on commit 13fe12e

Please sign in to comment.