A repository of code that interacts with the Polygon API by pssolanki111
The websocket files send data to a Redis list, which is then consumed through the listener script - saving the data in chunks to a postgres database.
This script streams aggregated minutely bars for all crypto pairs available on Polygon. This data is fed to a Redis list to be consumed by the listener script.
This script streams options trades for all options available on Polygon. This data is fed to a Redis list to be consumed by the listener script.
This script streams aggregated seconds for all stocks available on Polygon. This data is fed to a Redis list to be consumed by the listener script.
This script listens and consumes the Redis lists created by the streaming scripts.