Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 918 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 918 Bytes

Python-Trading

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.

API's Used

https://www.alphavantage.co

Authors

  • Joseph Camyre

https://pypi.org/project/Py-Trading/

License

MIT