A convenient Python module for stock information.
Project description
Pytrading
This package contains modules with functions that assist day and swing traders by aiding them in keeping track of their positions and trending stocks.
Installation
pip install py-trading
Usage
import py_trading as pytrd
my_portfolio = pytrd.Portfolio(['AAPL', 'TSLA', 'F', 'COKE'])
for stock in my_portfolio:
stock.update_stock()
print(stock.get_month_data())
print(stock.daily_change_percentage())
print(stock.get_last_updated())
print(stock.daily_high_change_percentage())
print(stock.daily_stats())
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
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
Py-Trading-0.4.1.tar.gz
(19.0 kB
view hashes)
Built Distribution
Py_Trading-0.4.1-py3-none-any.whl
(30.1 kB
view hashes)
Close
Hashes for Py_Trading-0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6339988870072caeaaf7ecb8e6e76c9bdf9e611c4cce4ccd8e0c0982615e51bc |
|
MD5 | 785963d1e769074268d06cd80a455612 |
|
BLAKE2b-256 | b5944b91e666e404a0497324e7c459a0a77a1e6d1414b01ef23eab36c1d80580 |