# 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 stock
- `type`: Type of the data (usually "ticker")
- `symbol`: Stock symbol
- `name`: Full name of the company
- `followersCount`: Number of followers on Seeking Alpha
- `exchange`: Stock exchange where the stock is listed
- `analysis`: Number of analysis articles
- `related_analysis`: Number of related analysis articles
- `transcripts`: Number of earnings call transcripts
- `earning_slides`: Number of earning slides available
- `news`: Number of news articles
- `partnerNews`: Number of partner news articles
- `pressReleases`: Number of press releases
- `bulls_say`: Number of bullish opinions
- `bears_say`: Number of bearish opinions
- `market_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 from `analysis`)
- `news_count`: Another count of news articles (may differ from `news`)
- `transcripts_count`: Another count of transcripts (may differ from `transcripts`)
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:
```python
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](LICENSE) file for details.
Raw data
{
"_id": null,
"home_page": "https://github.com/yourusername/stock_data_loader",
"name": "stock-data-loader",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Your Name",
"author_email": "your.email@example.com",
"download_url": "https://files.pythonhosted.org/packages/b8/a0/35bd2fa17a706de4244cbeefd2b7baf56cafd2e3a71ef4bc5cb3599d5c88/stock_data_loader-0.1.2.tar.gz",
"platform": null,
"description": "# Stock Data Loader\n\nA Python library for loading stock data from the Seeking Alpha API.\n\n## Installation\n\nYou can install the Stock Data Loader using pip:\n\n```\npip install stock-data-loader\n```\n\n## How to Use StockDataLoader\n\n[Previous usage instructions remain the same]\n\n## Output Columns\n\nThe `load_symbol_data` method returns a pandas DataFrame with the following columns:\n\n- `id`: Unique identifier for the stock\n- `type`: Type of the data (usually \"ticker\")\n- `symbol`: Stock symbol\n- `name`: Full name of the company\n- `followersCount`: Number of followers on Seeking Alpha\n- `exchange`: Stock exchange where the stock is listed\n- `analysis`: Number of analysis articles\n- `related_analysis`: Number of related analysis articles\n- `transcripts`: Number of earnings call transcripts\n- `earning_slides`: Number of earning slides available\n- `news`: Number of news articles\n- `partnerNews`: Number of partner news articles\n- `pressReleases`: Number of press releases\n- `bulls_say`: Number of bullish opinions\n- `bears_say`: Number of bearish opinions\n- `market_open`: Market open status (may be empty)\n- `market_open_time`: Market open time (may be empty)\n- `analysis_count`: Another count of analysis articles (may differ from `analysis`)\n- `news_count`: Another count of news articles (may differ from `news`)\n- `transcripts_count`: Another count of transcripts (may differ from `transcripts`)\n\nNote: Some columns may be empty or have different values than expected due to variations in the API response.\n\n## Example Output\n\nHere's a sample of what the output might look like:\n\n```python\nprint(result_df.head())\n```\n\n```\n id type symbol name followersCount exchange analysis related_analysis transcripts earning_slides news partnerNews pressReleases bulls_say bears_say\n0 146 ticker AAPL AAPL 2713202 NASDAQ 10037 27710 81 0 10753 13829 242 3 3\n1 16123 ticker TSLA TSLA 1151910 NASDAQ 5929 8495 85 20 5737 16194 322 3 3\n2 148893 ticker GOOGL GOOGL 459787 NASDAQ 1974 10468 33 1 4592 4273 97 3 1\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n",
"bugtrack_url": null,
"license": null,
"summary": "A library for loading stock data from Seeking Alpha API",
"version": "0.1.2",
"project_urls": {
"Homepage": "https://github.com/yourusername/stock_data_loader"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f1a36d6624c8255e8ba33e4e44157c47c5375656ec0f72892e249e373c9b8fc5",
"md5": "a9297c0db2f9a4f48bd773b0ce04f98f",
"sha256": "d9374d6ad6de23c21a3a6da57585f53a838ee7409ab1f2d0c06521063794453a"
},
"downloads": -1,
"filename": "stock_data_loader-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a9297c0db2f9a4f48bd773b0ce04f98f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 5283,
"upload_time": "2024-08-23T09:32:10",
"upload_time_iso_8601": "2024-08-23T09:32:10.663906Z",
"url": "https://files.pythonhosted.org/packages/f1/a3/6d6624c8255e8ba33e4e44157c47c5375656ec0f72892e249e373c9b8fc5/stock_data_loader-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b8a035bd2fa17a706de4244cbeefd2b7baf56cafd2e3a71ef4bc5cb3599d5c88",
"md5": "b0f32352de3da843567d55beb91222cb",
"sha256": "87e6b3f1760709a85f26cfaacffe9903a7668017eb81ff36459c6ebce13c513f"
},
"downloads": -1,
"filename": "stock_data_loader-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "b0f32352de3da843567d55beb91222cb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 4081,
"upload_time": "2024-08-23T09:32:11",
"upload_time_iso_8601": "2024-08-23T09:32:11.850430Z",
"url": "https://files.pythonhosted.org/packages/b8/a0/35bd2fa17a706de4244cbeefd2b7baf56cafd2e3a71ef4bc5cb3599d5c88/stock_data_loader-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-23 09:32:11",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yourusername",
"github_project": "stock_data_loader",
"github_not_found": true,
"lcname": "stock-data-loader"
}