One stop solution for all your python stock market projects
Project description
stockmarkettools is a one stop shop for all your stock market needs. It can give past data of stock, make graphs comparing two stocks, give information of a company including description, logo, assests, etc.
Documentation
Replace infosys
or wipro
with the stock names where ever applicable.
get_stock_all
is the main python class which users will be accessing.
Makes graph of the performance of the company
get_stock_all('infosys',time='1y',sure='True').make_graph()
Returns dictionary with the information of the company.
micr=get_stock_all('infosys',time='1d').info
print(micr)
Returns the stocks it found for the input in differnt stock exchanges along with their yahoo codes
micr=get_stock_all('infosys',time='1d',sure='True').stocklist
print(micr)
Returns the previous prices of the stock
micr=get_stock_all('infosys',time='1d',sure='True').history
print(micr)
Makes Graph comparing two stocks
get_stock_all.make_graph_two('infosys','wipro','1y')
Returns the infomation of the company in the form of a pandas Dataframe
micr=get_stock_all('infosys',time='1d',sure='True').table
print(micr)
Adding sure='True'
will bypass confirming if stock exchange and stock is right or not.
By default the code will provide you a table and confirm if desired stock actually matches.
Add time='time_period_you_want'
as an argument in the code to retrieve information for the provided time period.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file stockmarkettools-0.2.4.tar.gz
.
File metadata
- Download URL: stockmarkettools-0.2.4.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | faf3ca23273074c717f32002b371351a4f96c20e5cbb246f2c5e62cf7f6c3dd5 |
|
MD5 | f306311574977adc3debac939054f978 |
|
BLAKE2b-256 | a220f996ee8c4961c313b32838df2dafa9797736236d908ca63bf8b456a01945 |