Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
0.3.1: minor function desc updates and optional arg updates from API
Browse files Browse the repository at this point in the history
  • Loading branch information
nicelgueta committed Sep 19, 2022
1 parent fff8d92 commit 9710c85
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
6 changes: 3 additions & 3 deletions pyokx/Earn.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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 = {
Expand Down Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion pyokx/Funding.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand All @@ -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
"""
Expand Down
1 change: 1 addition & 0 deletions pyokx/Publicdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions pyokx/Trade.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
"""
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion pyokx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from .base import OKXClient


__version__ = "0.3.0"
__version__ = "0.3.1"


def change_log_level(level: str = "INFO"):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 9710c85

Please sign in to comment.