Skip to main content

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
  • Companies' Wikipedia page views
  • Discussion on Reddit's /r/WallStreetBets

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 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 data on WallStreetBets discussion of Virgin Galactic
dfWSB_Virgin = quiver.wallstreetbets("SPCE")

#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 Wikipedia page views
dfWiki = quiver.wikipedia()

#Get data on Wikipedia page views of Microsoft
dfWiki_Microsoft = quiver.wikipedia("MSFT")

Release files for quiverquant 0.1.22

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quiverquant 0.1.22
File Size Uploaded
quiverquant-0.1.22.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quiverquant 0.1.22
File Interpreter ABI Platform
quiverquant-0.1.22-py3-none-any.whl Python 3 none any Details

Total release size: 7.0 kB

Release files / quiverquant-0.1.22.tar.gz

Download URL quiverquant-0.1.22.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8b69f9039a5a28e5f5570a967181e7d385086bfa1e3925f82dfd7cd9898a8f11
BLAKE2b-256 checksum
How to use checksums
5bb5758a88f3b5ce2ff4b7ad1f612a49b8ae0f28afc266824cf47b4fb72a5a27
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.22-py3-none-any.whl

Download URL quiverquant-0.1.22-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
baf92dafc9cbc4c80d468a34713897a11d70a1f0b1b6a25d4881244124369a69
BLAKE2b-256 checksum
How to use checksums
e346c6ea0e5f5c53afa44e444d1b664f64722459b78e0aea4088ef206121b8b9
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 history Release notifications | RSS feed

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.52

2 release files

0.1.51

2 release files

0.1.49

2 release files

0.1.48

2 release files

0.1.47

2 release files

0.1.38

2 release files

0.1.37

2 release files

0.1.36

2 release files

0.1.35

2 release files

0.1.34

2 release files

0.1.33

2 release files

0.1.23

2 release files

This release

0.1.22 This release

2 release files

0.1.21

2 release files

0.1.20

2 release files

0.1.19

2 release files

0.1.18

2 release files

0.1.17

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page