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.2.6.tar.gz
(15.2 kB
view hashes)
Built Distribution
Py_Trading-0.2.6-py3-none-any.whl
(26.7 kB
view hashes)
Close
Hashes for Py_Trading-0.2.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a790228529a19e95443787c661324254d0429e393e9f9103bc59b9dd63ea2f7d |
|
MD5 | 8c6c116143fa6c425739b23a4aa55aa7 |
|
BLAKE2b-256 | 268881cef3dfe735b4e03ce38216f0362d9519e2c030e75a57894a78373f6a68 |