Skip to main content

A Python library for Bitkub API

Project description

bitkub-python

A Python client for Bitkub API

⚠️ Disclaimer: This is not an official Bitkub library. Use at your own risk.

  • This library is not guaranteed to be up-to-date with the latest Bitkub API.
  • Before using the library, please check the API documentation to be informed about the latest updated or possible bugs.

Features

  • Trading support
  • General market data and account information
  • Handling of authentication
  • Deposit and withdrawal of funds

Getting Started

Generate an API Key and assign permissions.

Installation

pip install bitkub-python

Usage

from bitkub import Client
client = Client("apikey" , "apisecret")

orderbooks = client.fetch_depth(symbol='THB_ETH', limit=10)

# create order
order = client.create_order_buy(symbol='USDT_THB', amount=10, rate=30)

# cancel order
client.cancel_order(order_id=order['id'])

# fetch open orders
client.fetch_open_orders(symbol='BTC_THB')

Buy me a coffee ☕

if you find this library useful, please consider buying me a coffee.

Ref :

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

bitkub_python-0.2.0.tar.gz (30.5 kB view details)

Uploaded Source

Built Distribution

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

bitkub_python-0.2.0-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file bitkub_python-0.2.0.tar.gz.

File metadata

  • Download URL: bitkub_python-0.2.0.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.24.2 CPython/3.11.2 Darwin/24.4.0

File hashes

Hashes for bitkub_python-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e8e955490dac7fa8a5ef6c9ff0cd80623927bef2e738efe77e6ebb77fb5e0eec
MD5 56c4b432776f8617b740a2c433b60910
BLAKE2b-256 4df169171d1e64bf1f479b71ffc49781fdecad2621c5d31fd41bb08662a3f2ee

See more details on using hashes here.

File details

Details for the file bitkub_python-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: bitkub_python-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.24.2 CPython/3.11.2 Darwin/24.4.0

File hashes

Hashes for bitkub_python-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 858fd8f527a8d189bf0a6aec713810b48c1635f46181aa5b4e8f3d94c5c42b54
MD5 c4e04a944f63789ef4f23641e0186642
BLAKE2b-256 14135f90702bd476824ba35ed88a08c06e2d0213d1fafd23998c865ff8be608f

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