bitkub.com library python
product = 'THB_XRP'
price = bitkub.getprice(name=product)
print(price)
shbitkub.my_open_orders('symbol')
order_info = bitkub.orderinfo(name='symbol',orderid=106842,side='sell')
shbitkub.my_open_orders('symbol')
from bitkub import bitkub
# API info
'API_HOST = 'https://api.bitkub.com'
API_KEY = 'EDIT'
API_SECRET = b'EDIT' #b = byte Array
bitkub = bitkub(API_HOST=API_HOST,
API_KEY=API_KEY,
API_SECRET=API_SECRET)
'
product = 'THB_XRP'
price = bitkub.getprice(name=product)
print(price).
order = bitkub.createsell(name=product,amount=1,rate=10,ordertype='market')
print(order)
This will create a sell order.
Currency | Address | Deposit Tag |
---|---|---|
Bitcoin | 3Ne8jAQM6koKaNuSkZEJmWBGzNC1gy8NZM | |
Ripple | rpXTzCuXtjiPDFysxq8uNmtZBe9Xo97JbW | 1075605645 |
Stellar | GBS2RTBGEWBT7DJOH7CTA4PDVLIPONCPCIILJPPESWSHDIV4NFZJHRP3 | 1020775332 |
Binance | bnb1g7kg0yl50u5xj5kumga24uudc5204pzgxkgg4u | 1072588774 |