Not getting polygon Data properly

I’m following the documentation from https://github.com/alpacahq/alpaca-trade-api-js and I can get one second data from polygon nothing else. What is the issue?