Skip to content

Commit

Permalink
[Update] Update Version 1.2.2.4
Browse files Browse the repository at this point in the history
Refactoring source codes
uJhin committed Jan 13, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 2bb083b commit 200c8f3
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion upbit/authentication.py
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@
class APIKeyAuthenticator(Authenticator):

MAPPER = "swg_mapper.json"
QUERY_PARAMS = tuple("uuids", "txids", "identifiers", "states")
QUERY_PARAMS = ("uuids", "txids", "identifiers", "states")


def __init__(
6 changes: 3 additions & 3 deletions upbit/pkginfo.py
Original file line number Diff line number Diff line change
@@ -26,10 +26,10 @@ def _get_versions(package_name):
return sorted(versions, key=LooseVersion, reverse=True)


PACKAGE_NAME = 'upbit-client'
PACKAGE_NAME = "upbit-client"

OPEN_API_VERSION = '1.2.2'
CURRENT_VERSION = OPEN_API_VERSION+'.3'
OPEN_API_VERSION = "1.2.2"
CURRENT_VERSION = OPEN_API_VERSION+".4"

RELEASED_VERSION = _get_versions(PACKAGE_NAME)
LATEST_VERSION = RELEASED_VERSION[0]
4 changes: 2 additions & 2 deletions upbit/websocket.py
Original file line number Diff line number Diff line change
@@ -21,8 +21,8 @@ class UpbitWebSocket:
"""

WEBSOCKET_URI = "wss://api.upbit.com/websocket/v1"
FIELD_TYPES = tuple("ticker", "trade", "orderbook")
FIELD_FORMATS = tuple("SIMPLE", "DEFAULT")
FIELD_TYPES = ("ticker", "trade", "orderbook")
FIELD_FORMATS = ("SIMPLE", "DEFAULT")


def __init__(

0 comments on commit 200c8f3

Please sign in to comment.