Quiver Quantitative Alternative Data
This package allows you to access several alternative data sources which are updated daily and mapped to tickers. These include:
- Trading by US congressmen
- Corporate Lobbying
- Government Contracts
- Patents
- Off-exchange short volume
- Companies' Wikipedia page views
- Discussion on Reddit's r/wallstreetbets
- Discussion on Reddit's r/SPACs
- Companies' Twitter followings
- Flights by corporate private jets
- Political Beta
This data can be used for backtesting and implementing trading strategies.
Receiving API Token
You can sign up for a Quiver API token here.
The pricing starts at $10/month, please e-mail me if that is an issue and I may be able to help cover.
Getting Started
Prerequisites
- Python version 3 installed locally
- Pip installed locally
Installation
The package can easily be installed in your terminal by entering
pip install quiverquant
Usage
#Import the package
import quiverquant
#Connect to the API using your token
#Replace <TOKEN> with your token
quiver = quiverquant.quiver("<TOKEN>")
#Get data on WallStreetBets discussion
dfWSB = quiver.wallstreetbets()
#Get data on WallStreetBets discussion of GameStop
dfWSB_GameStop = quiver.wallstreetbets("GME")
#Get recent trades by members of U.S. Congress
dfCongress = quiver.congress_trading()
#Get trades of a Tesla by members of congress
dfCongress_Tesla = quiver.congress_trading("TSLA")
#Get trades made by U.S. Senator Richard Burr
dfCongress_Burr = quiver.congress_trading("Richard Burr", politician=True)
#Get recent corporate lobbying
dfLobbying = quiver.lobbying()
#Get corporate lobbying by Apple
dfLobbying_Apple = quiver.lobbying("AAPL")
#Get data on government contracts
dfContracts = quiver.gov_contracts()
#Get data on government contracts to Lockheed Martin
dfContracts_Lockheed = quiver.gov_contracts("LMT")
#Get data on off-exchange short volume
dfOTC = quiver.offexchange()
#Get data on off-exchange short volume for AMC
dfOTC_AMC = quiver.offexchange("AMC")
#Get data on Wikipedia page views
dfWiki = quiver.wikipedia()
#Get data on Wikipedia page views of Microsoft
dfWiki_Microsoft = quiver.wikipedia("MSFT")
#Get data on companies' Twitter following
dfTwitter = quiver.twitter()
#Get data on GE's Twitter following
dfTwitter_GE = quiver.twitter("GE")
#Get data on r/SPACs discussion
dfSPACs = quiver.spacs()
#Get data on r/SPACs discussion of CCIV
dfSPACs_CCIV = quiver.spacs("CCIV")
#Get data on recent corporate private jet flights
dfFlights = quiver.flights()
#Get data on private jet flights by Target
dfFlights_Target = quiver.flights("TGT")
#Get data on patents by Apple
dfPatents_Apple = quiver.patents("AAPL")
Metadata
Release files for quiverquant 0.1.46
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quiverquant-0.1.46.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quiverquant-0.1.46-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / quiverquant-0.1.46.tar.gz
| Download URL | quiverquant-0.1.46.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb0076e63196ff18eede866322ae6a0d0b0ebd38f60ecd6bc99bab48c9ee7dbd
|
|
BLAKE2b-256 checksum How to use checksums |
b5a8e996be0cf55ee6cc9270da7d2d537db0c7ec96542ec302e6e3c141bbd237
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|
Release files / quiverquant-0.1.46-py3-none-any.whl
| Download URL | quiverquant-0.1.46-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b4f98229d0437b727cf5fe510a8fed5bedcd594cfa6634bca7600da9ee6b1e1
|
|
BLAKE2b-256 checksum How to use checksums |
0206d5b1d9f5b50481270a276a36ad258d370000354dbe3f4d6e52c2a436f6e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|