tradingview-api-adapter
tradingview-api-adapter copied to clipboard
Unable to close ws connection
Even after calling pause(), netstat shows that node has a connection open. Also, node process doesn't exit.
Context: https://github.com/plq/seker/blob/ef15ce43028b8fe6372d2460da6710b434b5a236/main.js#L102
To test:
git clone https://github.com/plq/seker
cd seker
./install.sh
node main.js cmd '!tview BTCUSD'
observe that the process stays up.
Any suggestions?
Disclaimer: this is my first node project ever
PS: Also, any suggestions about auto-filling the symbol => source mapping here: https://github.com/plq/seker/blob/ef15ce43028b8fe6372d2460da6710b434b5a236/main.js#L94 ?