File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ def _get_versions(package_name):
28
28
29
29
PACKAGE_NAME = 'upbit-client'
30
30
31
- OPEN_API_VERSION = '1.2.0 '
32
- CURRENT_VERSION = OPEN_API_VERSION + '.4 '
31
+ OPEN_API_VERSION = '1.2.2 '
32
+ CURRENT_VERSION = OPEN_API_VERSION + '.0 '
33
33
34
34
RELEASED_VERSION = _get_versions (PACKAGE_NAME )
35
35
LATEST_VERSION = RELEASED_VERSION [0 ]
Original file line number Diff line number Diff line change @@ -75,6 +75,15 @@ def connect(
75
75
ping_timeout = ping_timeout
76
76
)
77
77
78
+ async def ping (self ):
79
+ """
80
+ Client to Server PING
81
+ """
82
+ async with self as conn :
83
+ await conn .send ('PING' )
84
+ recv = await conn .recv ()
85
+ return json .loads (recv )
86
+
78
87
@staticmethod
79
88
def generate_orderbook_codes (
80
89
currencies : Union [List [str ]],
You can’t perform that action at this time.
0 commit comments