Code Monkey home page Code Monkey logo

buy_the_dip's Introduction

buy_the_dip

This is a lambda function designed to give you an idea of price movements of your securities for the following purposes:

  1. Researching stocks current market value versus their historical highs
  2. Monitoring your portfolio assets versus some historical period
  3. Useful info when seeking to sell at a 'high' and buy at a 'low'

The setup is designed to be deployed on AWS using three services:

  • Lambda with 2 environment variables:
    • SNS_TOPIC: string value of the AWS SNS topic which your email or phone is subscribed to for this function.
    • PERIOD: string value, valid periods: 1d,5d,1mo,3mo,6mo,1y,2y,5y,10y,ytd,max
  • SNS Topic: You will subscribe your email to the SNS Topic.
  • Cloudwatch Event Trigger: This will be how you trigger the function at the close of the NYSE each day. use cron(30 20 ? * MON-FRI *) for a thirty minute buffer.

Simply add or remove assets from the stock_tickers.txt file to adjust which securities you'd like to get updates on.

If you've never built a lambda -> SNS widget before, you can start with a tutorial here.

An example email looks like this: example_photo

Happy Hunting!

buy_the_dip's People

Stargazers

T.J. Connelly, CFA CMT avatar Hutch Herchenbach avatar  avatar Subbaiah Kotha avatar Ryan Bacastow avatar

Watchers

James Cloos avatar Ryan Bacastow avatar

Forkers

sarothama

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.