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.6.tar.gz (6.8 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.6-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for quickex_sdk-1.0.6.tar.gz
Algorithm Hash digest
SHA256 17d5ec3ddabd666438d6499dc1ef5568900288dbeba0bb2cd343135acedacc85
MD5 d669df94328898a378832396e7df4b3a
BLAKE2b-256 5981a556e4650f8550717a19a6c353476b363f416271987221a8bbe6b8af66a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quickex_sdk-1.0.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e82645cbd538719e7d9a2e22c34211461288ab876afaf8467a2c63724a2a54ce
MD5 960b36aa6f4f097cc4bbebf3cc0d045b
BLAKE2b-256 e3e4c1c1ae172262ab461a82039f814c02aa35ba15a49fc76f55e3cf706bf9b0

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