Skip to main content

Gets the live stocks and cryto. Can also graph.

Project description

Live Stocks

This package can get the current price and graph cryto and stocks.

This package includes functions to get the current price of popular crypto and stocks.

To get the current price of a crypto that is not present in the pre-defined functions, use get_crypto_price(symbol=...)

To get the current price of a stock that is not present in the pre-defined functions, use get_stock_price(symbol=...)

To draw the graph for a crypto that is not present in the pre-defined functions, use draw_graph(price_func=lambda: get_crypto_price(symbol=...), stock_name=..., max_points=..., update_time=..., show_timestamps=...)

To draw the graph for a stock that is not present in the pre-defined functions, use draw_graph(price_func=lambda: get_stock_price(symbol=...), stock_name=..., max_points=..., update_time=..., show_timestamps=...)

Version 0.0.1: Base code with primary functions added. (Latest) Version 0.0.2: Documentation for crypto functions added and more parameters for draw_graph. Version 0.0.3: Documentation for stock functions added.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

live_stocks-0.0.2.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

live_stocks-0.0.2-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file live_stocks-0.0.2.tar.gz.

File metadata

  • Download URL: live_stocks-0.0.2.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for live_stocks-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4caef59333e7fa0d95fdc6b457ecb0c04cdfc03d0a849396b56f5c0f2b724f8f
MD5 0d1ec2b5d62355a529ec788a49e29ff6
BLAKE2b-256 5e9e27ca6b2014ed105d86239eab349b8d8298424c4783c5d91a5c54ba4074c2

See more details on using hashes here.

File details

Details for the file live_stocks-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: live_stocks-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for live_stocks-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 afbd3fac5c909c3de8b0e45c289b534a8665f1b4d6181fd9c6256f2f62706388
MD5 c0f734b4c3b0fc541318c26eac4d8214
BLAKE2b-256 58e562d5066d9f675704added52103857b32fef851c17528c6751b923402b37f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page