Skip to content

Commit a1f6800

Browse files
committed
Added options ping function
1 parent aa2306b commit a1f6800

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

binance/client.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5855,3 +5855,13 @@ def enable_fast_withdraw_switch(self, **params):
58555855
58565856
"""
58575857
return self._request_margin_api('post', 'enableFastWithdrawSwitch', True, data=params)
5858+
5859+
# Options API
5860+
5861+
def options_ping(self):
5862+
"""Test connectivity to the REST API
5863+
5864+
https://binance-docs.github.io/apidocs/voptions/en/#test-connectivity
5865+
5866+
"""
5867+
return self._request_options_api('get', 'ping')

0 commit comments

Comments
 (0)