Skip to main content

Variational Reference SDK

Project description

Variational SDK for Python

Documentation

https://docs.variational.io/for-developers/api

Quickstart

1. Create API credentials

Navigate to the API section at https://testnet.variational.io/app/settings

Variational / Settings / API

Create your key and make sure to save the secret part as it's only displayed once.

2. Install Python SDK

pip install variational

3. Make some calls!

from variational import Client, TESTNET, paginate

client = Client(API_KEY, API_SECRET, base_url=TESTNET)
# if you have a lot of trades in the account, this might make multiple requests to fetch all of them
trades = list(paginate(client.get_portfolio_trades))

4. Explore

Visit Endpoint Reference to learn which API calls are supported.

Read about the Pagination mechanism used by Variational API.

Learn how Rate Limits and Authentication are applied to your calls.

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

variational-0.1.1.tar.gz (7.7 kB view hashes)

Uploaded Source

Built Distribution

variational-0.1.1-py3-none-any.whl (9.2 kB view hashes)

Uploaded Python 3

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