Coder Social home page Coder Social logo

trellixvulnteam / whatsappstockbot_u9w4 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elyserobinson/whatsappstockbot

0.0 0.0 0.0 40.89 MB

WhatsApp Stock Market Bot

Home Page: https://newsin.it

Shell 0.01% JavaScript 0.02% Ruby 0.01% Python 99.65% C 0.23% PowerShell 0.01% CSS 0.05% Batchfile 0.01% Roff 0.03% Xonsh 0.01%

whatsappstockbot_u9w4's Introduction

whatsappstockbot

WhatsApp Stock Market Bot

About

Conversational chatbots are the trend of the modern world. Virtual assistants are as relevant these days as human assistants.

Whether it's:

  1. Ordering a Pizza or Ordering new clothes
  2. Playing music or a new movie
  3. Switching off lights or making coffee
  4. Checking stock price or a new bitcoin alert

Chatbots are everywhere.

This is a working WhatsApp conversational chatbot. This conversational chatbot uses Twilio, Python, and MarketStack. A conversational chatbot on WhatsApp which acts just like your personal finance assistant.

Technologies Used

  1. Twilio API to send messages to the subscribed bot users
  2. Marketstack API which provides stock data of 70+ stock exchanges across the world
  3. Python to program the backend processing of the messages using Python and integration of Twilio API and MarketStack API
  4. Flask app running on local machine
  5. NGROK to create a tunnel to the app from an HTTPS public endpoint

Python Dependencies Installed

pip install certifi
pip install chardet
pip install click
pip install Flask
pip install idna
pip install itsdangerous
pip install Jinja2
pip install MarkupSafe
pip install PyJWT
pip install pytz
pip install requests
pip install six
pip install twilio
pip install urllib3
pip install Werkzeug

Commands for Windows Terminal

  1. cd ~/Desktop/bot_stock/bot
  2. virtualenv bot
  3. Set-ExecutionPolicy Unrestricted
  4. bot\scripts\activate
  5. SET FLASK_APP=app.py
  6. $env:TWILIO_ACCOUNT="-----"
  7. $env:TWILIO_TOKEN="-----"
  8. $env:MARKETSTACK_KEY="-----"
  9. Flask run

Demo of Bot

WhatsApp Stock Market Bot Demo

Creator

Programmed by Elyse Y. Robinson

whatsappstockbot_u9w4's People

Contributors

bdawud avatar elyserobinson avatar trellixvulnteam avatar

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.