bitcoinvsalts / node-binance-trader

💰 Cryptocurrency Trading Strategy & Portfolio Management Development Framework for Binance. 🤖
https://bitcoinvsalts.com
MIT License
1.16k stars 381 forks source link

Postgres connect error #112

Closed thangphamnd123 closed 3 years ago

thangphamnd123 commented 3 years ago

I got this error when tried "npm start" locally. Do I have to install Postgres locally on my server? Thanks

ERROR 8665 User Unknown #921 double check your BvA key (node:11636) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:5432 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1129:14) (node:11636) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing ins ide of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejectio n id: 2) (node:11636) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejection s that are not handled will terminate the Node.js process with a non-zero exit code.

Terminate batch job (Y/N)? Y

dargmuesli commented 3 years ago

Yes, you do.