Code Monkey home page Code Monkey logo

stock-prediction's Introduction

stock-prediction

This program will ask the client or a stock they would like to predict over the short term, and provide help in deciding whether to buy or sell in the matter of minutes or hours.

To execute this program, you will need the following depencies:

• You must be using python 3.6 or above, and Anaconda To download Anaconda, visit https://www.anaconda.com/products/individual

• You must have yahoo finance installed on your machine. Run "pip install yfinance" if you do not have this installed

• For text messaging, this program uses Twilio. You must download Twilio, create an account to generate a phone number, Authentification code, and SID to hard code into the program. To do all of this, follow the steps: ** NOTE: These steps are taken directly from the Twilio Docs. For more information and troubleshooting, visit https://www.twilio.com/docs/sms/quickstart/python

1.) Create a Twilio trial account here: https://www.twilio.com/try-twilio
    A trial account will only let you send to a single phone number. If you wish to send to more phone numbers, 
    consider upgrading your account

2.) Execute the following commands:

    MAC: You will need homebrew installed. If you need to install homebrew, visit https://brew.sh/

        Run the commands:
            brew tap twilio/brew && brew install twilio

            twilio login
            **After running this command, enter your account SID and Authentification token found on your Twilio account console

            pip install twilio

    WINDOWS: You will need Node.js, to install visit https://nodejs.org/en/download/

            Run the commands:
                PS C:\Windows\system32> Set-ExecutionPolicy Bypass -Scope Process

                Enter 'Y'

                npm install twilio-cli -g
    
                twilio login
                **After running this command, enter your account SID and Authentification token found on your Twilio account console

                pip install twilio


    LINUX: Before we can install, we need to make sure you have Node.js installed (version 10.12 or above). Even if you already         installed Node yourself, the CLI works best when you install it using nvm. Here's how to get nvm installed on most Linux systems:

        Run the commands:
            curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash

            nvm install --lts
            nvm use <insert version reported from above>

            **Depending on your distribution, you will need to run one of the following commands:
                Debian/Ubuntu: sudo apt-get install libsecret-1-dev
                Red Hat-based: sudo yum install libsecret-devel
                Arch Linux: sudo pacman -S libsecret

            npm install twilio-cli -g

            twilio login
            **After running this command, enter your account SID and Authentification token found on your Twilio account console

            pip install twilio

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.