Skip to main content

Quiver Quantitative Alternative Data

Project description

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
  • Insider Transactions

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 $30/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")

#Get data on recent insider transactions
dfInsiders = quiver.insiders()

#Get data on recent insider transactions by Tesla insiders
dfInsiders_Tesla = quiver.insiders("TSLA")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quiverquant-0.2.3.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quiverquant-0.2.3-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file quiverquant-0.2.3.tar.gz.

File metadata

  • Download URL: quiverquant-0.2.3.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.31.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.7.6

File hashes

Hashes for quiverquant-0.2.3.tar.gz
Algorithm Hash digest
SHA256 c0a9bc4d0bddc442f02ece728bf328292df6b8deb142503b4e35b1ab969408ac
MD5 4c9c119268f25279d866d8d033ea68f5
BLAKE2b-256 9e69559029562e3929351be937fa5a19dd972014747193e72303e70a8ddde1e7

See more details on using hashes here.

File details

Details for the file quiverquant-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: quiverquant-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.31.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.7.6

File hashes

Hashes for quiverquant-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 307770bdee99f4b6d0dfcd5808137cfacf0a37585d62d07f7f086a31d5692c4a
MD5 2270e019cb7eafe8abe9edb2f2a63a4c
BLAKE2b-256 11fc1c0d957c06dcb9fdc47ed4f0c2f7d57a95d76373b58a73471a549c66263a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page