rodrigo-brito / ninjabot

A fast trading bot platform for cryptocurrency in Go (Binance)
https://rodrigo-brito.github.io/ninjabot/
MIT License
1.39k stars 172 forks source link

ninjabot command not found #309

Closed qmhlan closed 7 months ago

qmhlan commented 7 months ago

when i use command:ninjabot download --pair BTCUSDT --timeframe 1d --days 30 --output ./btc-1d.csv to execute, it errors : ninjabot command not found , i already exec go install github.com/rodrigo-brito/ninjabot/cmd/ninjabot@latest before, why?

panapol-p commented 7 months ago

Hi, @qmhlan  You should point PATH to $GOPATH/bin (go-install is install app to $GOPATH/bin).

export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
qmhlan commented 7 months ago

thanks