Skip to main content

Python SDK for the Quickex HTTP API

Project description

Quickex SDK

PyPI - Version PyPI - Python Version


Table of Contents

Installation

pip install quickex-sdk

Usage

config = Config(api_url="https://quickex.io", api_public="public", api_secret="secret")
sdk = QuickexSDK(config)

Get instrument

res = InstrumentReq(currencyTitle="USDT", networkTitle="TRC20")
instrument = sdk.get_instrument(res)

Get rate

res = RateReq(
    instrumentFromCurrencyTitle="BTC",
    instrumentFromNetworkTitle="BTC",
    instrumentToCurrencyTitle="USDT",
    instrumentToNetworkTitle="TRC20",
    claimedDepositAmount="10000",
    rateMode="FLOATING",
    claimedDepositAmountCurrency="USDT",
    markup="1.0",
)
rate = sdk.get_rate(res)

License

quickex-sdk is distributed under the terms of the MIT license.

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

quickex_sdk-1.0.5.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quickex_sdk-1.0.5-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file quickex_sdk-1.0.5.tar.gz.

File metadata

  • Download URL: quickex_sdk-1.0.5.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for quickex_sdk-1.0.5.tar.gz
Algorithm Hash digest
SHA256 7eaf93613208256f2fc53a76c142ca40b2edddc56e191aa379bc5f81ee663e45
MD5 2c6223b9d69a006217b8f2282048e1be
BLAKE2b-256 df3d4519138d529d240e86b5d5c551ef60812e2f0abae0652b796550d1b9ad30

See more details on using hashes here.

File details

Details for the file quickex_sdk-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: quickex_sdk-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for quickex_sdk-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bceabaacc0c9b044fec4ea85de7908a67af96e50f4d1d911e4b38922c27d0876
MD5 d8ba4548e0fad017655b98fe0a96b327
BLAKE2b-256 f71e6a78b14f3fc1fa69dfaf7ebb2b6aee29ade96c9f7c4f6edb9ca9bf2eb795

See more details on using hashes here.

Supported by

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