Skip to main content

Upbit OPEN API Client

Project description

https://raw.githubusercontent.com/uJhin/upbit-client/main/logo/logo.png

Upbit OPEN API Client

Install

  • pip command

pip install upbit-client
  • git command

git clone https://github.com/uJhin/python-upbit-client.git

Simple Examples

  • Check Your API Keys

# /v1/api_keys

from upbit.client import Upbit

access_key = "Your Access Key"
secret_key = "Your Secret Key"

client = Upbit(access_key, secret_key)
print(client.APIKey.APIKey_info().result())
  • Buy Currency

# /v1/orders

from upbit.client import Upbit

access_key = "Your Access Key"
secret_key = "Your Secret Key"

client = Upbit(access_key, secret_key)
order = client.Order.Order_new(
    market='KRW-BTC',
    side='bid',
    volume='0.1',
    price='3000000',
    ord_type='limit'
).result()
print(order)
  • Sell Currency

# /v1/orders

from upbit.client import Upbit

access_key = "Your Access Key"
secret_key = "Your Secret Key"

client = Upbit(access_key, secret_key)
order = client.Order.Order_new(
    market='KRW-BTC',
    side='ask',
    volume='0.1',
    price='3000000',
    ord_type='limit'
).result()
print(order)

Donation

  • BTC: 3NVw2seiTQddGQwc1apqudKxuTqebpyL3s

  • ETH: 0x60dd373f59862d9df776596889b997e24bee42eb

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

upbit_client-1.1.6.16.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

upbit_client-1.1.6.16-py2.py3-none-any.whl (5.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file upbit_client-1.1.6.16.tar.gz.

File metadata

  • Download URL: upbit_client-1.1.6.16.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for upbit_client-1.1.6.16.tar.gz
Algorithm Hash digest
SHA256 e80f506a21da47d8fffba3960ce89dbf68f4c4edfe9bbd4e17bbb7a9466c6e60
MD5 aea700e0db06cfe9cb48ef215ec2baca
BLAKE2b-256 267b57696e9b17106d44d6a357b9f698d94540a319568f46535ff37b1278dd77

See more details on using hashes here.

Provenance

File details

Details for the file upbit_client-1.1.6.16-py2.py3-none-any.whl.

File metadata

  • Download URL: upbit_client-1.1.6.16-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for upbit_client-1.1.6.16-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 41307d0a8e5dc5d03a0818f34706e8bad4258552d8dd02f010ed7bedf9007f06
MD5 8d61b9ed4787903084ab8918c45fb5f1
BLAKE2b-256 be4eb015a89732878628cd74b709d38ffb44e6a5d2713dbb610972a93aec6c3a

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page