Skip to content

Commit

Permalink
Update Version 1.1.6.13
Browse files Browse the repository at this point in the history
Update Version 1.1.6.13
  • Loading branch information
uJhin authored Jan 11, 2021
1 parent 11a94e6 commit 36cd965
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 8 deletions.
78 changes: 78 additions & 0 deletions client/python/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
![logo](https://raw.githubusercontent.com/uJhin/upbit-client/main/logo/logo.png)

[Base Repository](https://github.com/uJhin/upbit-client/)

# Upbit OPEN API Client
- @Author: [ujhin](https://github.com/uJhin)
- @GitHub: https://github.com/uJhin/upbit-client/
- @Official Documents: https://ujhin.github.io/upbit-client-docs/

## Install
- `pip` command
```console
pip install upbit-client
```

- `git` command
```console
git clone https://github.com/uJhin/upbit-client.git
```

## Simple Examples

- Check Your API Keys
```python
# /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
```python
# /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
```python
# /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
16 changes: 8 additions & 8 deletions client/python/setup.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
from setuptools import setup
from setuptools import find_packages

long_description = '''
Upbit OPEN API Client\n
@Author: ujhin\n
@GitHub: https://github.com/uJhin/upbit-client\n
@Official Documents: https://ujhin.github.io/upbit-client-docs\n
'''

with open('README.md') as readme:
long_description = readme.read()

setup(
name='upbit_client',
version='1.1.6.12',
version='1.1.6.13',
packages=find_packages(),
install_requires=[
'bravado>=11.0.2',
'PyJWT>=2.0'
],
extras_require={
'fido': ['fido>=4.2.1']
'fido': [
'fido>=4.2.1'
]
},
python_requires='>=3.8',
keywords=[
Expand All @@ -29,6 +28,7 @@
'upbit'
],
url='https://github.com/uJhin/upbit-client',
download_url='https://github.com/uJhin/upbit-client/releases',
license='MIT License',
author='ujhin',
author_email='[email protected]',
Expand Down

0 comments on commit 36cd965

Please sign in to comment.