GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - CITIZENDOT/Stocks-with-Python: Get SMS Notifications of changes in Stock Market with Python

This repository was archived by the owner on May 30, 2024. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
main.py
main.py
 
 

Repository files navigation

Trade Stocks with the help of Python CodeFactor

Stocks-with-Python

Introduction

Ever Thought of Buying Shares of your Dream Company, When their share price got down? But It is not that simple, to keep looking at stock prices all the time for the whole Business Week. Right?

And Also, If that particular company is reliable, Then that Low price wouldn't last long enough(atleast even for 1 day)

So, You want to get notified very fastly, whenever the stock is lowered down than a particular value.(Threshold)

This script helps you exacty in that situation.

Regarding Sources of the Script

  • This Script gives the share price according to MoneyControl Website.

  • This Script uses FAST2SMS API to send SMS to your Mobile Phone. FAST2SMS is not a free SMS service, But still It had attractive features for new subscribers. It gives ₹55 as bonus credit. And It charges as less as 20 paise for each SMS. So, I recommend to use this API.

Code Construction

Install bs4 from pip package.

pip3 install bs4

url

Open MoneyControl Website and search for your desired company. Now change the value of "url" variable(in the code) to URL of the page.

API_KEY

Change the "API_KEY" variable to your FAST2SMS API Key.

It can be found here Only If you logged in.

mobile_no

Change this variable to your Mobile Number to recieve SMS Notifications.

threshold

Remember that Threshold in Introduction? Change it with that value.


You are ready to go!

Run this program on a mobile phone or server continuously to monitor stocks realtime. The program will do the work for you.

You can get rid of print statements by commenting them.

python3 main.py

Screenshots

Example:

Company: Reliance Industries Threshold: ₹1000

On Working Days(Monday to Friday): Normal Working Day

Consider It has reached less than or equal to threshold Value: I am changing Threshold to ₹1600

Recieved the Message

And, Here is the Message

Message

On Weekends(Saturday and Sunday):

On Holdays

Don't Forget to star this repository.

About

Get SMS Notifications of changes in Stock Market with Python

Topics

moneycontrolpythonpython3share-pricesmssms-apistockstocksstocks-apithreshold

Resources

Readme
Activity

Stars

9 stars

Watchers

1 watching

Forks

4 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.