A Lambda function which polls the stock values and pushes the same into provided Chime webhook.
- Create an AWS Lambda function
- Pull this package and run
npm install
- Run
npm run release
to push this code into your Lambda function - Dont forget to configure your event details/data in following format
{ "webhookId": "your chime webhook id here", "stocksToPoll": [ "AAPL", "AMZN", "BABA", "MSFT" ], "alphavantageKey": "Your alphavantage key" }
Refer stock.js for all the info.