Skip to content

Commit 7e10554

Browse files
committed
Update version
1 parent fef338f commit 7e10554

2 files changed

Lines changed: 39 additions & 7 deletions

File tree

README.md

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,53 @@
11
# bitkub-python
22
A Python client for Bitkub API
33

4-
## Caution! : This is not an official Bitkub library. Use at your own risk.
4+
## ⚠️ Disclaimer: This is not an official Bitkub library. Use at your own risk.
5+
- This library is not guaranteed to be up-to-date with the latest Bitkub API.
6+
- Before using the library, please check the [API documentation](https://github.com/bitkub/bitkub-official-api-docs) to be informed about the latest updated or possible bugs.
57

68

7-
## Installation
9+
## Features
10+
- Trading support
11+
- General market data and account information
12+
- Handling of authentication
13+
- Deposit and withdrawal of funds
14+
15+
16+
17+
18+
19+
## Getting Started
20+
21+
[Generate an API Key](https://www.bitkub.com/en/api-management) and assign permissions.
22+
23+
### Installation
824
```bash
925
pip install bitkub-python
1026
```
1127

1228

13-
## Usage
29+
### Usage
1430
```python
1531
from bitkub import Client
1632
client = Client("apikey" , "apisecret")
33+
34+
orderbooks = client.fetch_depth(symbol='THB_ETH', limit=10)
35+
36+
# create order
37+
order = client.create_order_buy(symbol='USDT_THB', amount=10, rate=30)
38+
39+
# cancel order
40+
client.cancel_order(order_id=order['id'])
41+
42+
# fetch open orders
43+
client.fetch_open_orders(symbol='BTC_THB')
44+
1745
```
1846

1947

20-
Ref :
21-
[text](https://github.com/bitkub/bitkub-official-api-docs)
48+
## Buy me a coffee ☕
49+
if you find this library useful, please consider buying me a coffee.
50+
- [Buy me a coffee ☕](https://www.buymeacoffee.com/xbklairith)
51+
52+
Ref :
53+
- [bitkub-official-api-doc](https://github.com/bitkub/bitkub-official-api-docs)

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[project]
22
name = "bitkub-python"
3-
version = "0.0.1"
3+
version = "0.1.0"
44
authors = [{ name = "Praphan Klairith", email = "p.klairith@gmail.com" }]
55
description = "A Python library for Bitkub API"
6-
requires-python = ">=3.7"
6+
requires-python = ">=3.8"
77
readme = "README.md"
88
classifiers = [
99
"Programming Language :: Python :: 3",

0 commit comments

Comments
 (0)