Skip to content

Commit c04a833

Browse files
authored
Merge pull request #7 from uJhin/1.2.0
Upbit OPEN API Version 1.2.0
2 parents c653e88 + 3d40e13 commit c04a833

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

upbit/authentication.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from bravado.requests_client import Authenticator
99

1010

11-
QUOTATION_PARAMS = ['uuids', 'txids', 'identifiers']
11+
QUOTATION_PARAMS = ['uuids', 'txids', 'identifiers', 'states']
1212
MAPPER = 'swg_mapper.json'
1313

1414

upbit/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Upbit:
1010
1111
- Base URL: https://api.upbit.com
1212
- Base Path: /v1
13-
- Upbit OPEN API Version: 1.1.7
13+
- Upbit OPEN API Version: 1.2.0
1414
- Author: ujhin
1515
- Email: ujhin942@gmail.com
1616
- GitHub: https://github.com/uJhin

upbit/models.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,15 @@ def Order_info_all(self, **kwargs) -> dict:
412412
413413
## 주문 리스트를 조회한다.
414414
415+
[NOTE] states 파라미터 변경 안내 (2021. 03. 22 ~)
416+
417+
2021년 3월 22일부터 미체결 주문(wait, watch)과 완료 주문(done, cancel)을 혼합하여 조회하실 수 없습니다.
418+
419+
예시1) done, cancel 주문을 한 번에 조회 => 가능
420+
예시2) wait, done 주문을 한 번에 조회 => 불가능 (각각 API 호출 필요)
421+
422+
자세한 내용은 개발자 센터 공지사항을 참조 부탁드립니다.
423+
415424
:param market: 마켓 아이디 (optional)
416425
:type market: str
417426

upbit/pkginfo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Please read the official Upbit Client document.
55
Documents: https://ujhin.github.io/upbit-client-docs/
66
7-
- Upbit OPEN API Version: 1.1.7
7+
- Upbit OPEN API Version: 1.2.0
88
- Author: ujhin
99
- Email: ujhin942@gmail.com
1010
- GitHub: https://github.com/uJhin
@@ -28,8 +28,8 @@ def _get_versions(package_name):
2828

2929
PACKAGE_NAME = 'upbit-client'
3030

31-
OPEN_API_VERSION = '1.1.7'
32-
CURRENT_VERSION = OPEN_API_VERSION+'.6'
31+
OPEN_API_VERSION = '1.2.0'
32+
CURRENT_VERSION = OPEN_API_VERSION+'.0'
3333

3434
RELEASED_VERSION = _get_versions(PACKAGE_NAME)
3535
LATEST_VERSION = RELEASED_VERSION[0]

0 commit comments

Comments
 (0)