alleyway / add-tradingview-alerts-tool

Automated entry of TradingView alerts for bot trading tools such as 3Commas, Alertatron, CryptoHopper, etc.
MIT License
636 stars 141 forks source link

npm run fetch:binance:btc does not work #3

Closed lfr79 closed 3 years ago

lfr79 commented 3 years ago

Hello, it seems that fetch:binance:btc does not work as it runs tsc && env QUOTE_ASSET=BTC node lib/fetch-binance-pairs.js > binance_btc_pairs.csv instead of tsc && cross-env as in fetch usdt pairs

"env" is not recognized as an internal program 2020-11-13T19_01_37_316Z-debug.log . npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @alleyway/add-tradingview-alerts-tool@1.1.0 fetch:binance:btc: tsc && env QUOTE_ASSET=BTC node lib/fetch-binance-pairs.js > binance_btc_pairs.csv npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @alleyway/add-tradingview-alerts-tool@1.1.0 fetch:binance:btc script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

I'm not a programmer myself so please forgive me if I'm doing something wrong. I was trying to run the script manually but was not really successful

mlake commented 3 years ago

You are right in making that modification - I've updated the code but haven't tested it since I don't have a windows machine. should work though.

let me know if it does not

lfr79 commented 3 years ago

I confirm that everything is fine with fetch:binance:btc now. Thanks!