| Crates.io | borsa-alphavantage |
| lib.rs | borsa-alphavantage |
| version | 0.2.0 |
| created_at | 2025-10-23 14:39:07.906173+00 |
| updated_at | 2025-10-23 14:39:07.906173+00 |
| description | Alpha Vantage API connector for the borsa ecosystem. |
| homepage | https://github.com/borsaorg/borsa |
| repository | https://github.com/borsaorg/borsa |
| max_upload_size | |
| id | 1897200 |
| size | 168,451 |
Alpha Vantage connector for the borsa financial data ecosystem.
borsa-alphavantage implements the BorsaConnector trait using the Alpha Vantage API to provide quotes, historical data, and fundamentals.
This connector is experimental and lightly tested due to API key requirements. Maintenance is best‑effort: I review PRs and may update when time allows, so it may lag behind breaking borsa releases. Treat it as a proof of concept and validate for your workloads before relying on it in production.
[dependencies]
borsa-alphavantage = "0.2.0"
borsa-core = "0.2.0"
Refer to the main borsa crate for how to register connectors. This crate implements BorsaConnector and can be added to a borsa client builder.
Feature flag: Closure-based adapter helpers (for dependency-free tests) live behind the optional
test-adaptersfeature. Enable it inCargo.tomlor viacargo test --features borsa-alphavantage/test-adapterswhenever you depend on the mocks.
Run a local example that loads your Alpha Vantage API key from a .env file.
Create a .env file at the repo root with:
ALPHAVANTAGE_API_KEY=your_api_key_here
Run the showcase example:
cargo run --example showcase
This will demonstrate quotes, history, search, earnings, and a simple forex request using AvConnector.
See CONTRIBUTING.md. Please also read our Code of Conduct.
This project is licensed under the MIT License - see the LICENSE file for details.