Python API wrapper library for Convex Value API

Overview

convex-value-python

Python API wrapper library for Convex Value API.

Further Links:

Authentication

Grab your API key from Convex Value terminal. This will be used when instantiating a CVObject.

To avoid hardcoding your token in, set it as an environment variable if you'd like: export CV_API_KEY=

Using

# import the library
from convexvalue.core import CVObject

# instantiate a CV Object
cvx = CVObject('
   

Supported methods

Method Name Description Object Method Parameters
getFlowTableParams gets the available parameters for usage in fields and filters CVObject.getFlowTableParams() None
getChain gets the options chain for a symbol CVObject.getChain(sym: str, otm: str, stks: int, exp: str, fields: str) sym: symbol of the stock ticker, e.g. AAPl
otm: out-of-the-money, e.g. True
stks: e.g. 5
exp: expiration dates, e.g. 1,2,3
fields: fields to bring into chart, e.g. vol,delta,gamma
tasQuery gets database result CVObject.tasQuery(lim: int, filters: str, root: str, dir: str, orderby: str) lim: limit of data, e.g. 100
filters: query filters, e.g. size>100
root: symbol of stock, e.g. AAPL
dir: direction, e.g. desc
orderby: field to order by, e.g. size
getSeries gets simple series data for a symbol CVObject.getSeries(sym: str) sym: symbol of the stock ticker, e.g. AAPl
activeOptionsQuery gets the options database result CVObject.activeOptionsQuery(lim: int, filters: str, dir: str, orderby: str) lim: limit of data, e.g. 100
filters: query filters, e.g. volm>100,delta<0.05,delta>0.05
dir: direction, e.g. desc
orderby: field to order by, e.g. dayVolume
getFlowTable gets the options flow table CVObject.getFlowTable(lim: int, fields: str, cat: str, list: str, page: int, minprem: int, maxprem: int) lim: limit of data, e.g. 100
fields: fields to bring into chart, e.g. value,price,volatility
cat: direction, e.g. ALL
list: field to order by, e.g. ALL
page: pagination marker, e.g. 1
minprem: minium premium filter, e.g. 0
maxprem: maximum premium filter, e.g. 0
getFlowRep gets the options flow rep CVObject.getFlowRep() None
You might also like...
Async ready API wrapper for Revolt API written in Python.

Mutiny Async ready API wrapper for Revolt API written in Python. Installation Python 3.9 or higher is required To install the library, you can just ru

A Python API wrapper for the Twitter API!

PyTweet PyTweet is an api wrapper made for twitter using twitter's api version 2! Installation Windows py3 -m pip install PyTweet Linux python -m pip

YARSAW is an Async Python API Wrapper for the Random Stuff API.

Yet Another Random Stuff API Wrapper - YARSAW YARSAW is an Async Python API Wrapper for the Random Stuff API. This module makes it simpler for you to

EpikCord.py - This is an API Wrapper for Discord's API for Python

EpikCord.py - This is an API Wrapper for Discord's API for Python! We've decided not to fork discord.py and start completely from scratch for a new, better structuring system!

A simple Python API wrapper for Cloudflare Stream's API.

python-cloudflare-stream A basic Python API wrapper for working with Cloudflare Stream. Arbington.com started off using Cloudflare Stream. We used the

An API wrapper around the pythonanywhere's API.

pyaww An API wrapper around the pythonanywhere's API. The name stands for pythonanywherewrapper. 100% api coverage most of the codebase is documented

An API Wrapper for Gofile API

Gofile2 from gofile2 import Gofile g_a = Gofile() print(g_a.upload(file="/home/itz-fork/photo.png")) An API Wrapper for Gofile API. About API Gofile

A simple API wrapper for the Tenor API

Gifpy A simple API wrapper for the Tenor API Installation Python 3.9 or higher is recommended python3 -m pip install gifpy Clone repository: $ git cl

An API wrapper around Discord API.

NeoCord This project is work in progress not for production use. An asynchronous API wrapper around Discord API written in Python. Features Modern API

Owner
Aaron DeVera
former ex-hacker. founder @backchannelre. member @labacdotdev, @nycyberabusetaskforce.
Aaron DeVera
Aws-lambda-requests-wrapper - Request/Response wrapper for AWS Lambda with API Gateway

AWS Lambda Requests Wrapper Request/Response wrapper for AWS Lambda with API Gat

null 1 May 20, 2022
This an API wrapper library for the OpenSea API written in Python 3.

OpenSea NFT API Python 3 wrapper This an API wrapper library for the OpenSea API written in Python 3. The library provides a simplified interface to f

Attila Tóth 159 Dec 26, 2022
Discord-Wrapper - Discord Websocket Wrapper in python

This does not currently work and is in development Discord Websocket Wrapper in

null 3 Oct 25, 2022
A wrapper for slurm especially on Taiwania2 (HPC CLI)A wrapper for slurm especially on Taiwania2 (HPC CLI)

TWCC-slurm-wrapper A wrapper for slurm especially on Taiwania2 (HPC CLI). For Taiwania2 (HPC CLI) usage, please refer to here. (中文) How to Install? gi

Chi-Liang, Liu 5 Oct 7, 2022
This is simply code for bitcoin fair value.

About The Project This is a code for bitcoin fair value, its simply exclude bubble data using RANSAC method, and then plot the results. Check youtube

BitcoinRaven 4 Mar 26, 2022
Python wrapper library for World Weather Online API

pywwo Python wrapper library for World Weather Online API using lxml.objectify How to use from pywwo import * setKey('<your_key>', 'free') w=LocalWeat

World Weather Online 20 Dec 19, 2022
Python library for RetroMMO related stuff, including API wrapper

python library for RetroMMO related stuff, including API wrapper.

null 1 Nov 25, 2021
PRAW, an acronym for "Python Reddit API Wrapper", is a python package that allows for simple access to Reddit's API.

PRAW: The Python Reddit API Wrapper PRAW, an acronym for "Python Reddit API Wrapper", is a Python package that allows for simple access to Reddit's AP

Python Reddit API Wrapper Development 3k Dec 29, 2022
PRAW, an acronym for "Python Reddit API Wrapper", is a python package that allows for simple access to Reddit's API.

PRAW: The Python Reddit API Wrapper PRAW, an acronym for "Python Reddit API Wrapper", is a Python package that allows for simple access to Reddit's AP

Python Reddit API Wrapper Development 3k Dec 29, 2022
Python API wrapper around Trello's API

A wrapper around the Trello API written in Python. Each Trello object is represented by a corresponding Python object. The attributes of these objects

Richard Kolkovich 904 Jan 2, 2023