Skip to main content

This SDK provides interface that helps making trading operations within the Ultrade network easier

Project description

ultrade-python-sdk

Sources:

Quick start

from algosdk.v2client import algod
from ultrade.sdk_client import Client

algod_token = ""    # Your algod token here, for public node usage pass an empty string
algod_address = "https://testnet-api.algonode.cloud"    # Your algod node address.

# create algod client
algod_client = algod.AlgodClient(algod_token, algod_address)


options = {
    "network": "testnet",
    "algo_sdk_client": algod_client,
    "api_url": None,
    }

credentials = {"mnemonic": 'alpha bravo charlie delta...'}

# create ultrade-sdk client
client = Client(credentials, options)

Testing:

To run tests, type:

pytest -n auto tests

Generating Documentation:

To generate .md documentation, run:

gendocs --config mkgendocs.yml

Docs will be located in the docs/ directory.

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

ultrade-sdk-0.1.1.tar.gz (13.6 kB view hashes)

Uploaded Source

Built Distribution

ultrade_sdk-0.1.1-py3-none-any.whl (14.8 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