AlphaIQ Python SDK
To get access to the API, sign up here for a free Demo.
Welcome to the AlphaIQ API! We offer Quantitative Linguistic Risk Indicators that enable investors to uncover hidden risks in forward-looking statements from management.
To learn more about AlphaIQ, read our blog.
Review the Privacy Policy and Terms of Service on our website.
Installation
Requirements.
Python 3.9+
Installation via Pip
pip install alphaiq-sdk
Then import the package:
import alphaiq_sdk
Installation via GitHub
pip install git+https://github.com/alphaiq-ai/python-sdk.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/alphaiq-ai/python-sdk.git)
Then import the package:
import alphaiq_sdk
Getting Started
It is advised to setup a .env file the store API key. Documentation can be found here. To use the .env file to store credentials, install the python-dotenv package with pip:
pip install python-dotenv
An example of the contents of the .env file are shown below:
APIKEY=keytoken123
Please follow the installation procedure and then you are ready to get started.
import os
from dotenv import load_dotenv
import alphaiq_sdk
# Load the environment variables from the .env file
load_dotenv()
APIKEY = os.getenv('APIKEY')
client = alphaiq_sdk.client(APIKEY)
## get_quant_linguistics_signals
def get_quant_linguistics_signals():
client = alphaiq_sdk.client(APIKEY)
ticker='TSLA'
signalVariation='CHANGE'
startDate='2023-03-01'
endDate='2023-05-01'
response = client.get_quant_linguistics_signals(signalVariation,startDate,endDate,ticker=ticker)
return response
Documentation for API Endpoints
All URIs are relative to https://data.app.alphaiq.ai/api/v1
| Method | HTTP request | Description |
|---|---|---|
| get_signal_explanations | GET /generative/company/signal_explanation/{ticker} | GetSignalExplanations |
| get_trending_content | GET /generative/company/compass/reportContent/{ticker} | GetTrendingGenerative |
| get_question_answer | GET /generative/company/compass/questionContent/{ticker} | GetQuestionAnswer |
| get_compass_report_pdf | GET /pdf/compass/{ticker} | CompassReportPDF |
| get_quant_linguistics_signals | GET /signals/quantLinguistics | SignalsQuantLinguistics |
| get_bulk_signals_all | GET /bulk/signals/all | BulkFileSignalsAll |
| get_bulk_signals_top_level | GET /bulk/signals/topLevel | BulkFileSignalsTopLevel |
| get_models_corporate_transparency | GET /models/corporateTransparency | ModelsCorporateTransparency |
| get_bulk_model | GET /bulk/models | BulkFileModels |
| get_company_identifiers_map | GET /mapping/companyIdentifierMapping | MappingCompanyIdentifiers |
| get_bulk_mapping | GET /bulk/mapping | BulkFileMapping |
Documentation For Models
- CompanyInfoModel
- CompanyInfoModel1
- FileDownloadModel
- FileDownloadModel1
- FileDownloadModelData
- FileDownloadModelData1
- GenerativeSignalExplanationModel
- GenerativeCompanyCompassReportContentModel
- GenerativeCompanyCompassReportContentModelData
- GenerativeCompanyCompassReportContentModelDataCompassContent
- GenerativeCompanyQuestionAnswerModel
- GenerativeCompanyQuestionAnswerModelData
- GenerativeCompanyQuestionAnswerModelDataQuestionAnswerItems
- MappingCompanyIdentifierMappingModel
- MappingCompanyIdentifierMappingModelDataItems
- ModelsSpindexModel
- ModelsSpindexModelData
- ModelsSpindexModelItems
- SignalsQuantLinguisticsModelData
- SignalsQuantLinguisticsModelRoot
- SignalsQuantLinguisticsSignalsModel2
bearer
Authorization is a bearer token. That bearer token is your API key.
Metadata
Release files for alphaiq-sdk 0.2.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| alphaiq_sdk-0.2.9.tar.gz | 5.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| alphaiq_sdk-0.2.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.4 kB
Release files / alphaiq_sdk-0.2.9.tar.gz
| Download URL | alphaiq_sdk-0.2.9.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1a264862ac73ddcbcf5915a933d917ec9f8a43465a0c4c3fea74741f8120a83
|
|
BLAKE2b-256 checksum How to use checksums |
c8894d4aba6f8d758dbf8e081dc7d5a71e3ed8f11bb16b7e05828b13aa93c7bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.0
|
Release files / alphaiq_sdk-0.2.9-py3-none-any.whl
| Download URL | alphaiq_sdk-0.2.9-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
064314a1a287f5e46e428ca81cd5add70032eca4c19a207dfc43cf2fadd1d4aa
|
|
BLAKE2b-256 checksum How to use checksums |
4c6200678f0109ff941e1a67032b444be4d9365cf18e4447d45d2716ecc6fb93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.0
|
Security for alphaiq-sdk 0.2.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.