Skip to main content

SDK

Project description

API-SDK

2.0.0a

Requirements.

Python 3.7+

Installation & Usage

pip install

pip install SDK-Laevitas

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')
# try different endpoints , endpoints return json format
top_traded_option = sdk.analytics.options.top_traded_option(market="DERIBIT",currency="BTC")
instrument_volume_buy_sell = sdk.historical.options.instrument_volume_buy_sell(market="DERIBIT",instrument="BTC-28JUN24-70000-C",start="2023-07-13",end="2023-07-20")
trades = sdk.historical.options.trades(currency="ETH",market="OKEX",date="2023-07-13")             

Documentation for available API Endpoints

https://api.laevitas.ch/swagger/#/

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-2.0.0.tar.gz (23.3 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