Metadata-Version: 2.4
Name: live_stocks
Version: 0.0.3
Summary: Gets the live stocks and cryto. Can also graph.
Project-URL: Homepage, https://github.com/gootyboy/live_stocks
Project-URL: Issues, https://github.com/gootyboy/live_stocks/issues
Author-email: Gautam Pulugurta <gootyboy@icloud.com>
License-Expression: MIT
License-File: LICENSE
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.5
Description-Content-Type: text/markdown

# 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
