A stock package that equips objects with the information required to streamline analysis.
Project description
wxve
A stock package that equips objects with the information required to streamline analysis.
Install
pip install wxve
Subscribe to API
Stock data is provided by the YH Finance API.
Create an account on RapidAPI and subscribe to the right plan for you. The free plan provides 500 requests per month with a rate limit of 5 requests per second.
https://rapidapi.com/apidojo/api/yh-finance/
Tutorial
import wxve.stock as xs
IBM = xs.Stock('IBM', 'YOUR_API_KEY')
IBM.candlestick.show()
print(IBM.div_df)
print(IBM.hist_df)
import wxve.stockset as xss
stock_list = ['IBM', 'INTC', 'NVDA']
ai_chip_makers = xss.StockSet(stock_list, 'YOUR_API_KEY')
ai_chip_makers.stocks['IBM'].candlestick.show()
print(ai_chip_makers.stocks['IBM'].div_df)
print(ai_chip_makers.stocks['IBM'].hist_df)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wxve-0.0.4.tar.gz
(3.4 kB
view hashes)
Built Distribution
wxve-0.0.4-py3-none-any.whl
(3.8 kB
view hashes)