LeviathanLevi / Coinbase-Pro-Crypto-Trading-Bot-CrypFinder

This is a crypto trading bot made in NodeJS that uses the coinbase pro API.
157 stars 55 forks source link

[cr] fixes comparison value for triggering stop-loss #26

Closed jewbetcha closed 3 years ago

jewbetcha commented 3 years ago

Small change to use the correct comparison value for triggering stop loss. Previously it was comparing the price of the asset with the total cost spent on the last buy.