Package: laevitas-sdk
API-SDKFirst version:
120 endpointsRequirements.Python 3.7+Installation & Usagepip installpipinstalllaevitas-sdkThen import the package:fromlaevitasimportsdkGetting StartedPlease follow the procedure and then run the following:fromlaevitasimportsdk# create an instance of the API classresp=sdk.api()# Configure your api keyresp.configure('your-api-key')response=resp.historical.move.total_oi(currency="btc",start="2022-06-07",end="2022-06-14",limit="10",page="2")print(response)Documentation for available API EndpointsClassSub-classMethodDescriptionrealtimeoptionsget_atm(market, currency)At the money Implied Volatility Term Structurerealtimeoptionsgex_date_all(market, currency)Gamma Exposure All Expirationsrealtimeoptionsmaturities(market, currency)Active Expirationsrealtimeoptionsoi_expiry(market, currency)Open Interest By Expirationrealtimeoptionsoi_strike_all(market, currency)Open Interest By Strike All Expirationsrealtimeoptionsoi_type(market, currency)Open Interest By Typerealtimeoptionstop_traded_option(market, currency)Top Traded Instrumentrealtimeoptionsv_expiry(market, currency,)Volume By Expiryrealtimeoptionsv_strike_all(market, currency,)Volume By Strike All Expirationsrealtimeoptionsvolume_buy_sell_all(market, currency,)Buy/Sell Volume Last 24h All Expirationsrealtimeoptionsiv_strike(market, currency,strike)IV Term Structure By Strikerealtimeoptionsoi_strike(market, currency,maturity)Open Interest By Strikerealtimeoptionsoi_net_change_all(market, currency,hours)Open Interest Change All Expirationsrealtimeoptionstop_instrument_oi_change(market, currency,hours)Top Instrument OI Changerealtimeoptionsvolume_buy_sell(market, currency,maturity)Buy/Sell Volume Last 24hrealtimeoptionsv_strike(market, currency,maturity)Volume By Strikerealtimeoptionssummary_trades(market, currency,hours)Summary tradesrealtimeoptionsv_strike(market, currency,maturity)Volume By Strikerealtimeoptionsoi_net_change_all(market, currency,hours)Open Interest Change All Expirationsrealtimeoptionsgex_date(market, currency, maturity)Gamma Exposure by Expirationrealtimeoptionsgreeks(market, currency, maturity, optiontype)Greeksrealtimeoptionsiv_all(market, currency, maturity, type)Implied Volatility Skewrealtimeoptionsiv_table(market, currency)Implied volatility tablerealtimeoptionsoi_net_change(market, currency, maturity, hour)Open Interest Change By Expirationrealtimeoptionssnapshot(market, currency)Snapshotrealtimeoptionsoi_breakdown()Open Interest breakdownrealtimeoptionsvolume_breakdown()Volume breakdownrealtimeoptionsoi_breakdown_by_currency()Open Interest breakdown by currencyrealtimeoptionsvolume_breakdown_by_currency()Volume breakdown by currencyrealtimefuturesinstruments()available futures instrumentsrealtimefuturesalt_currency ()available futures currencyrealtimefuturesperpetual_funding(currency)Perpetual Fundingrealtimefuturesfutures_yield(currency)Futures Yieldrealtimefuturesfutures_basis(currency)Futures Basisrealtimefuturesvolume_breakdown(currency)Volume Breakdownrealtimefuturesoi_breakdown(currency)Open Interest Breakdownrealtimefuturesfutures_curve(currency, market(opt))futures term structurerealtimefuturesmarkets_oi_gainers_and_losers(currency, option, hour)Futures Open interest Changerealtimefuturessnapshot(market)snapshotrealtimemoveoi_group()Open Interest grouprealtimemoveoi_expiry()Open Interest expiryrealtimemovevolume_expiry()Volume expiryrealtimemovevolume_group()Volume grouprealtimemovevolume_expiry_buy_sell()Volume expiry buy sellrealtimemovevolume_contract_buy_sell()Volume contract buy sellrealtimemovevolume_top_contract()volume top contractrealtimemovevolume_type_buy_sell ()volume type buy/sellrealtimemoveoi_top_contract()Open Interest top contractrealtimemovebig_trades()Big tradesrealtimemovecontract_name()Contract namesrealtimemoveexpirations()Expirationsrealtimemoveftx_vs_deribit()Ftx vs deribitrealtimemovelive()Liverealtimedefidovs()dovsrealtimedefiribbon()ribbonrealtimedefifriktion()friktionrealtimedefisqueeth()squeethrealtimedefithetanuts()thetanutsrealtimederivsfutures(market, currency, maturity)futuresrealtimederivsperpetuals(market, currency)perpetualsrealtimederivssummary(currency)summaryrealtimederivsoi_gainers(market, oitype, period)oi gainersrealtimederivsprice_gainers(market, oitype, period)price gainersrealtimederivstop_funding(market )top_fundingrealtimederivstop_gainers_losers(change, type)top gainers losershistoricaloptionsoption(market, instrument, start(opt), end(opt), limit(opt), page(opt)optionshistoricaloptionsiv(market, instrument, start(opt), end(opt), limit(opt), page(opt)Instrument Historical Implied Volatilityhistoricaloptionsprice(market, instrument, start(opt), end(opt), limit(opt), page(opt)Instrument Historical Pricehistoricaloptionsoi_volume(market, instrument, start(opt), end(opt), limit(opt), page(opt)Instrument Historical Open Interest & Volumehistoricaloptionsunderlying_price(market, instrument, start(opt), end(opt), limit(opt), page(opt)Instrument Historical Underlying Pricehistoricaloptionsoi_strike(market,currency, maturity ,date)Historical Open Interest By Strikehistoricaloptionsvolume_strike(market,currency, maturity ,date)Historical Volume By Strikehistoricaloptionsvolume_pc_ratio(market, currency, start(opt), end(opt), limit(opt), page(opt)Volume Put/Call Ratiohistoricaloptionsgex_index(market, currency, start(opt), end(opt), limit(opt), page(opt)Gamma Exposure Indexhistoricaloptionsmax_pain(market, currency, start(opt), end(opt), limit(opt), page(opt)Max Pain Monthly Expirationhistoricaloptionsatm_iv(market, currency, start(opt), end(opt), limit(opt), page(opt)At the money Implied Volatility (Rolling Maturity)historicaloptionsvolume_total(market, currency, start(opt), end(opt), limit(opt), page(opt)Volume totalhistoricaloptionsoi_pc_ratio(market, currency, start(opt), end(opt), limit(opt), page(opt)Open Interest Put/Call Ratiohistoricaloptionsoi_total(market, currency, start(opt), end(opt), limit(opt), page(opt)Instrument Historical Implied Volatilityhistoricaloptionsvix(market, currency, start(opt), end(opt), limit(opt), page(opt)Vol Indexhistoricaloptionsdvol(market, currency, start(opt), end(opt), limit(opt), page(opt)Deribit Volatility Index (DVOL)historicaloptionsatm_iv_model(market, currency, type, start(opt), end(opt), limit(opt), page(opt)At the money Implied Volatility modelhistoricaloptionsbutterfly(market, currency, type, start(opt), end(opt), limit(opt), page(opt)Butterflyhistoricaloptionsbutterfly_model(market, currency, type, start(opt), end(opt), limit(opt), page(opt)Butterfly modelhistoricaloptionsrealized_vol(market, currency, start(opt), end(opt), limit(opt), page(opt)realized volhistoricaloptionsskew(market, currency, type, start(opt), end(opt), limit(opt), page(opt)Skewhistoricaloptionsskew_model(market, currency, type, start(opt), end(opt), limit(opt), page(opt)Skew modelhistoricaloptionsrisk_reversal(market, currency, type, start(opt), end(opt), limit(opt), page(opt)Risk Reversalhistoricaloptionsrisk_reversal_model(market, currency, type, start(opt), end(opt), limit(opt), page(opt)Risk Reversal modelhistoricaloptionsgamma_bands(market, currency, type, start(opt), end(opt), limit(opt), page(opt)Gamma Bandshistoricaloptionstotal_oi(market, currency, maturiy, start(opt), end(opt), limit(opt), page(opt)Total open interesthistoricaloptionsiv_bid_ask(market, currency, type, start(opt), end(opt), limit(opt), page(opt)iv bid/askhistoricaloptionstotal_volume(market, currency, maturity, start(opt), end(opt), limit(opt), page(opt)total volumehistoricaloptionsvolumeOiByExchange(currency, maturity, start(opt), end(opt), limit(opt), page(opt)Volume open interest exchangehistoricalfuturesoi_weighted_funding(currency, start(opt), end(opt), limit(opt), page(opt)Open interest weighted fundinghistoricalfuturesoi_weighted_volume_funding(currency, start(opt), end(opt), limit(opt), page(opt)Open interest weighted volumehistoricalfuturesoi_weighted_basis(currency, start(opt), end(opt), limit(opt), page(opt)Open interest weighted basishistoricalfuturestotal_oi(currency, start(opt), end(opt), limit(opt), page(opt)Total open interesthistoricalfuturestotal_oi_by_margin(currency, start(opt), end(opt), limit(opt), page(opt)Total open interest by marginhistoricalfuturestotal_volume(currency, start(opt), end(opt), limit(opt), page(opt)Total volumehistoricalfuturestotal_volume_by_margin(currency, start(opt), end(opt), limit(opt), page(opt)Total volume by marginhistoricalfuturesrealized_volatility(currency, start(opt), end(opt), limit(opt), page(opt)Realized volatilityhistoricalfuturesalt_summary(currency, start(opt), end(opt), limit(opt), page(opt)Alt summaryhistoricalfuturesalt_markets(currency, start(opt), end(opt), limit(opt), page(opt)Alt marketshistoricalfuturesmarket_index(currency, start(opt), end(opt), limit(opt), page(opt)Market indexhistoricalfuturesindices_price(currency, start(opt), end(opt), limit(opt), page(opt)Indices pricehistoricalfuturesfutures_annualized_basis(currency, option, start(opt), end(opt), limit(opt), page(opt)Futures annualized basishistoricalfuturesperpetual_funding_exchange(currency,option, start(opt), end(opt), limit(opt), page(opt)Perpetual funding exchangehistoricalfuturestotal_oi_by_exchange(currency, option, start(opt), end(opt), limit(opt), page(opt)Total oi by exchangehistoricalfuturestotal_volume_by_exchange(currency, option, start(opt), end(opt), limit(opt), page(opt)Total volume by exchangehistoricalfuturesperpetual_yield(market, currency, start(opt), end(opt), limit(opt), page(opt)Perpetual yieldhistoricalfuturesperpetual_funding(market, currency, start(opt), end(opt), limit(opt), page(opt)Perpetual fundinghistoricalmovetotal_oi(market, currency, start(opt), end(opt), limit(opt), page(opt)total open interestshistoricalmovevolume_buy_sell(market, currency, start(opt), end(opt), limit(opt), page(opt)volume buy sellhistoricalmoveiv_type(market, currency, type, start(opt), end(opt), limit(opt), page(opt)iv typehistoricalmoveiv_historical_open_future(market, currency, is_open, start(opt), end(opt), limit(opt), page(opt)iv historical open futurehistoricalmovetotal_volume(market, currency, start(opt), end(opt), limit(opt), page(opt)total volumehistoricalmovehistorical_iv(contract_name, market, start(opt), end(opt), limit(opt), page(opt)historical ivhistoricalmovehistorical_oi(contract_name, market, start(opt), end(opt), limit(opt), page(opt)historical oihistoricalmovehistorical_price(contract_name, market, start(opt), end(opt), limit(opt), page(opt)historical pricehistoricalmovehistorical_volume(contract_name, market, start(opt), end(opt), limit(opt), page(opt)historical volumehistoricalmoveopen_future(contract_type)open futurehistoricaldefidovs_auctions(protocol, start(opt), end(opt), currency(opt), limit(opt), page(opt))dov auctionshistoricalderivsperpetuals(market, symbol, start(opt), end(opt), limit(opt), page(opt) )perpetualshistoricalderivsfutures(market, symbol, date)futureshistoricalderivssummary(currency, start(opt), end(opt), limit(opt), page(opt) )summary