A library for loading stock data from Seeking Alpha API
Project description
Stock Data Loader
A Python library for loading stock data from the Seeking Alpha API.
Installation
You can install the Stock Data Loader using pip:
pip install stock-data-loader
How to Use StockDataLoader
[Previous usage instructions remain the same]
Output Columns
The load_symbol_data
method returns a pandas DataFrame with the following columns:
id
: Unique identifier for the stocktype
: Type of the data (usually "ticker")symbol
: Stock symbolname
: Full name of the companyfollowersCount
: Number of followers on Seeking Alphaexchange
: Stock exchange where the stock is listedanalysis
: Number of analysis articlesrelated_analysis
: Number of related analysis articlestranscripts
: Number of earnings call transcriptsearning_slides
: Number of earning slides availablenews
: Number of news articlespartnerNews
: Number of partner news articlespressReleases
: Number of press releasesbulls_say
: Number of bullish opinionsbears_say
: Number of bearish opinionsmarket_open
: Market open status (may be empty)market_open_time
: Market open time (may be empty)analysis_count
: Another count of analysis articles (may differ fromanalysis
)news_count
: Another count of news articles (may differ fromnews
)transcripts_count
: Another count of transcripts (may differ fromtranscripts
)
Note: Some columns may be empty or have different values than expected due to variations in the API response.
Example Output
Here's a sample of what the output might look like:
print(result_df.head())
id type symbol name followersCount exchange analysis related_analysis transcripts earning_slides news partnerNews pressReleases bulls_say bears_say
0 146 ticker AAPL AAPL 2713202 NASDAQ 10037 27710 81 0 10753 13829 242 3 3
1 16123 ticker TSLA TSLA 1151910 NASDAQ 5929 8495 85 20 5737 16194 322 3 3
2 148893 ticker GOOGL GOOGL 459787 NASDAQ 1974 10468 33 1 4592 4273 97 3 1
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
Close
Hashes for stock_data_loader-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9374d6ad6de23c21a3a6da57585f53a838ee7409ab1f2d0c06521063794453a |
|
MD5 | a9297c0db2f9a4f48bd773b0ce04f98f |
|
BLAKE2b-256 | f1a36d6624c8255e8ba33e4e44157c47c5375656ec0f72892e249e373c9b8fc5 |