Skip to main content

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

MIT

Metadata

Release files for Py-Trading 0.4.9.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Py-Trading 0.4.9.11
File Size Uploaded Provenance
Py-Trading-0.4.9.11.tar.gz 17.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for Py-Trading 0.4.9.11
File Interpreter ABI Platform
Py_Trading-0.4.9.11-py3-none-any.whl Python 3 none any Details

Total release size: 45.6 kB

Release files / Py-Trading-0.4.9.11.tar.gz

Download URL Py-Trading-0.4.9.11.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fc7b2c2bf9cd6e5ce939bddc3c355526c34668fc895f070a492a881aa0990587
BLAKE2b-256 checksum
How to use checksums
8853f4c3f063e53fc72b548b4627c9aa40977621592e4eff5f71892b32d03788
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release files / Py_Trading-0.4.9.11-py3-none-any.whl

Download URL Py_Trading-0.4.9.11-py3-none-any.whl
Size 28.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7e3cce480cea5969e76caf4005fe793ea9191a8937e3fae948e83cb0dc88072a
BLAKE2b-256 checksum
How to use checksums
50024f9e245f9318c9cf36b9d9b0979bb6123e9243af164a225ce8c087761103
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Security for Py-Trading 0.4.9.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4.9.11 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page