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 :
Metadata
Release files for bitkub-python 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bitkub_python-0.2.0.tar.gz | 30.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bitkub_python-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 44.2 kB
Release files / bitkub_python-0.2.0.tar.gz
| Download URL | bitkub_python-0.2.0.tar.gz |
|---|---|
| Size | 30.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8e955490dac7fa8a5ef6c9ff0cd80623927bef2e738efe77e6ebb77fb5e0eec
|
|
BLAKE2b-256 checksum How to use checksums |
4df169171d1e64bf1f479b71ffc49781fdecad2621c5d31fd41bb08662a3f2ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.24.2 CPython/3.11.2 Darwin/24.4.0
|
Release files / bitkub_python-0.2.0-py3-none-any.whl
| Download URL | bitkub_python-0.2.0-py3-none-any.whl |
|---|---|
| Size | 13.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
858fd8f527a8d189bf0a6aec713810b48c1635f46181aa5b4e8f3d94c5c42b54
|
|
BLAKE2b-256 checksum How to use checksums |
14135f90702bd476824ba35ed88a08c06e2d0213d1fafd23998c865ff8be608f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.24.2 CPython/3.11.2 Darwin/24.4.0
|