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.
Version 0.0.2: Documentation for crypto functions added and more parameters for draw_graph.
(Latest) Version 0.0.3: Documentation for stock functions added.
Version 0.0.4: Symbol -> Stock/Crypto name, Stock/Crypto name -> Symbol
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file live_stocks-0.0.3.tar.gz.
File metadata
- Download URL: live_stocks-0.0.3.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0882c24ba760de67f9c4b11acdfad7b329d90619dd97cd9ba31dace5d08a8f3d
|
|
| MD5 |
fa8c89764f9d22e1caf04679f7bf068a
|
|
| BLAKE2b-256 |
be00f74da678f9cff91554d29994832ee7b9c219de119e487c8c230a8ce8d3c9
|
File details
Details for the file live_stocks-0.0.3-py3-none-any.whl.
File metadata
- Download URL: live_stocks-0.0.3-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
866464462ee95adf2b8073bfa99d396c618374335a3c0e6e3f7303d6906525db
|
|
| MD5 |
11f72076090767dd6ec2b218d39dff33
|
|
| BLAKE2b-256 |
3a347f228a51f6f13225e3866d50f03ca7f54d25777ddf894e28806beb143dc5
|