Skip to main content

SDK

Project description

API-SDK

test version which includes 13 endpoints:

Requirements.

Python 3.7+

Installation & Usage

pip install

pip install SDK-Laevitas-test

Then import the package:

from Laevitas import SDK 

Getting Started

Please follow the procedure and then run the following:

from Laevitas import SDK

# create an instance of the API class
sdk = SDK.api()

# Configure your api key
sdk.configure('your-api-key')

response = sdk.historical.moves.total_oi(currency="btc", start="2022-06-07", end="2022-06-14", limit="10", page="2")
for i in response.items:
    print(i.v)
                                     

Documentation for available API Endpoints

Class Sub-class Method Description
realtime options get_atm(market, currency) At the money Implied Volatility Term Structure
realtime options gex_date_all(market, currency) Gamma Exposure All Expirations
realtime options maturities(market, currency) Active Expirations
realtime options oi_expiry(market, currency) Open Interest By Expiration
realtime options oi_strike_all(market, currency) Open Interest By Strike All Expirations
realtime options oi_type(market, currency) Open Interest By Type
realtime options top_traded_option(market, currency) Top Traded Instrument
realtime options v_expiry(market, currency,) Volume By Expiry
realtime options gex_date(market, currency, maturity) Gamma Exposure by Expiration
realtime options greeks(market, currency, maturity, optiontype) Greeks
realtime derivs oi_gainers(market, oitype, period) oi gainers
historical options iv(market, instrument, start(opt), end(opt), limit(opt), page(opt) Instrument Historical Implied Volatility
historical move total_oi(currency, start(opt), end(opt), limit(opt), page(opt) total oi

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

SDK-Laevitas-test-1.3.4.tar.gz (9.2 kB view hashes)

Uploaded Source

Supported by

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