stockmanager

Stock Manager


License
MIT
Install
pip install stockmanager==0.1.0

Documentation

stockmanager

Manager, Analyze, Stimulate stock information.

https://travis-ci.com/wiccy46/stockmanager.svg?branch=master

Installation

Using pip:

pip install stockmanager

Example

Load a stock info:

from stockmanager import Ticker

mystock = Ticker(symbol='MSFT')  # Give a ticker string

# result is a pandas DataFrame
info_pd = mystock.get_price(start='2020-03-01', end='2020-03-19')

# Or use period and interval
# valid period: 1d,5d,1mo,3mo,6mo,1y,2y,5y,10y,ytd,max
# valid interval: 1m,2m,5m,15m,30m,60m,90m,1h,1d,5d,1wk,1mo,3mo
info_pd = mystock.get_price(period='1mo', interval='1d')

earnings = mystock.get_earings(freq='yearly')
cashflow = mystock.get_cashflow(freq='quarterly')
balancesheet = mystock.get_balancesheet()

Other attributes: institutional_holders, major_holders, mutual_fund_holders, sustainability, company_information,

Description

Initial commit, currently on have method to get stock info, recent roadmap:

  • File saver for your personal stock
  • Stocks class based on StockBase for multiple tickers
  • Keep track of trades, report profit
  • Analysis of stocks, visualization
  • Trading simulation... to be decided.
  • and more...

Note

This project has been set up using PyScaffold 3.2.3. For details and usage information on PyScaffold see https://pyscaffold.org/.