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.3.17.tar.gz
(17.9 kB
view hashes)
Built Distribution
Close
Hashes for Py_Trading-0.3.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca9b93d03349770341057dc549ae9928264884f6ba16c88eed0792252a2ab6c0 |
|
MD5 | c5d5018689b7b13e1e9320285bd77d91 |
|
BLAKE2b-256 | 8ad452e975a5028568b6e14c97d16837fcd89290b0bbecdcc110ee46f719e62b |