diff --git a/pyokx/Earn.py b/pyokx/Earn.py index a1b068a..9fe3596 100644 --- a/pyokx/Earn.py +++ b/pyokx/Earn.py @@ -12,7 +12,7 @@ def get_offers( ) -> APIReturn: """ Get offers - Rate Limit: 6 requests per second + Rate Limit: 3 requests per second Rate limit rule: UserID """ kwargs = { @@ -114,7 +114,7 @@ def get_active_orders( ) -> APIReturn: """ Get active orders - Rate Limit: 6 requests per second + Rate Limit: 3 requests per second Rate limit rule: UserID """ kwargs = { @@ -142,7 +142,7 @@ def get_order_history( ) -> APIReturn: """ Get order history - Rate Limit: 6 requests per second + Rate Limit: 3 requests per second Rate limit rule: UserID """ kwargs = { diff --git a/pyokx/Funding.py b/pyokx/Funding.py index 479072f..30c4294 100644 --- a/pyokx/Funding.py +++ b/pyokx/Funding.py @@ -358,7 +358,6 @@ def small_assets_convert(self, ccy: list, use_proxy: bool = False) -> APIReturn: def get_saving_balance(self, ccy: str = None, use_proxy: bool = False) -> APIReturn: """ Get saving balance - Only the assets in the funding account can be used for saving. Rate Limit: 6 requests per second Rate limit rule: UserID """ @@ -380,6 +379,7 @@ def savings_purchase_redemption( ) -> APIReturn: """ Savings purchase/redemption + Only the assets in the funding account can be used for saving. Rate Limit: 6 requests per second Rate limit rule: UserID """ diff --git a/pyokx/Publicdata.py b/pyokx/Publicdata.py index 2a07d5f..cdba53f 100644 --- a/pyokx/Publicdata.py +++ b/pyokx/Publicdata.py @@ -302,6 +302,7 @@ def get_position_tiers( tdMode: str, uly: str = None, instId: str = None, + ccy: str = None, tier: str = None, use_proxy: bool = False, ) -> APIReturn: diff --git a/pyokx/Trade.py b/pyokx/Trade.py index 59f5534..46016fa 100644 --- a/pyokx/Trade.py +++ b/pyokx/Trade.py @@ -431,6 +431,7 @@ def place_algo_order( tag: str = None, reduceOnly: bool = None, tgtCcy: str = None, + clOrdId: str = None, use_proxy: bool = False, ) -> APIReturn: """ @@ -503,6 +504,7 @@ def get_algo_order_list( self, ordType: str, algoId: str = None, + clOrdId: str = None, instType: str = None, instId: str = None, after: str = None, diff --git a/pyokx/__init__.py b/pyokx/__init__.py index 0d88323..04369a6 100644 --- a/pyokx/__init__.py +++ b/pyokx/__init__.py @@ -15,7 +15,7 @@ from .base import OKXClient -__version__ = "0.3.0" +__version__ = "0.3.1" def change_log_level(level: str = "INFO"): diff --git a/pyproject.toml b/pyproject.toml index d60244e..16c4ed3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pyokx" -version = "0.3.0" +version = "0.3.1" description = "Unofficial python wrapper for the OKX V5 API" authors = ["nicelgueta"] license = "MIT"