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
  • 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 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 GameStop
dfWSB_GameStop = quiver.wallstreetbets("GME")

#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")

#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")

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.1.24.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

quiverquant-0.1.24-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quiverquant-0.1.24.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for quiverquant-0.1.24.tar.gz
Algorithm Hash digest
SHA256 419215aa7d35348eba0fe7c69f9f5f92667f5127a127ca96bda5c6d848ee6289
MD5 20def74acb4511955e92b32627a4c8fa
BLAKE2b-256 ab74a6f0f8e12e276502fd54ef5a561961d2fbf6a1dee7c155c6e0b8d63493c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quiverquant-0.1.24-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for quiverquant-0.1.24-py3-none-any.whl
Algorithm Hash digest
SHA256 89b36ee397ae2c407d257cb0000c6771f36c1841059c74e8f7c8c61029b7a329
MD5 9aae3b18b50469378085c1e8664d5ec9
BLAKE2b-256 d52c6edf2fa4af65b5503f2ea75b703f46fbf5f83fde971722f773463a3ab1ec

See more details on using hashes here.

Supported by

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