Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

xbklairith/bitkub-python

Open more actions menu

Repository files navigation

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 :

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.