unicex 0.14.8__py3-none-any.whl → 0.14.9__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
unicex/bybit/client.py CHANGED
@@ -610,7 +610,7 @@ class Client(BaseClient):
610
610
  close_on_trigger: bool | None = None,
611
611
  smp_type: str | None = None,
612
612
  mmp: bool | None = None,
613
- tpsl_mode: str | None = None,
613
+ tpsl_mode: Literal["Full", "Partial"] | None = None,
614
614
  tp_limit_price: str | None = None,
615
615
  sl_limit_price: str | None = None,
616
616
  tp_order_type: str | None = None,
@@ -666,7 +666,7 @@ class Client(BaseClient):
666
666
  trigger_price: str | None = None,
667
667
  qty: str | None = None,
668
668
  price: str | None = None,
669
- tpsl_mode: str | None = None,
669
+ tpsl_mode: Literal["Full", "Partial"] | None = None,
670
670
  take_profit: str | None = None,
671
671
  stop_loss: str | None = None,
672
672
  tp_trigger_by: str | None = None,
@@ -959,7 +959,7 @@ class Client(BaseClient):
959
959
  close_on_trigger: bool | None = None,
960
960
  smp_type: str | None = None,
961
961
  mmp: bool | None = None,
962
- tpsl_mode: str | None = None,
962
+ tpsl_mode: Literal["Full", "Partial"] | None = None,
963
963
  tp_limit_price: str | None = None,
964
964
  sl_limit_price: str | None = None,
965
965
  tp_order_type: str | None = None,
@@ -1098,7 +1098,7 @@ class Client(BaseClient):
1098
1098
  self,
1099
1099
  category: Literal["linear", "inverse"],
1100
1100
  symbol: str,
1101
- tpsl_mode: str,
1101
+ tpsl_mode: Literal["Full", "Partial"],
1102
1102
  position_idx: int,
1103
1103
  take_profit: str | None = None,
1104
1104
  stop_loss: str | None = None,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unicex
3
- Version: 0.14.8
3
+ Version: 0.14.9
4
4
  Summary: Unified Crypto Exchange API
5
5
  Author-email: LoveBloodAndDiamonds <ayazshakirzyanov27@gmail.com>
6
6
  License: BSD 3-Clause License
@@ -30,7 +30,7 @@ unicex/bitget/user_websocket.py,sha256=tlkv7Rmsw_FSfCJnEMOK_9jRsXRk2Ah_slqG8C-uh
30
30
  unicex/bitget/websocket_manager.py,sha256=2OhH2gKy2gN03oYeCFvf3_l6RA29dDOvpajGhbXI9Zw,9886
31
31
  unicex/bybit/__init__.py,sha256=SrMBh6K5zUt4JheWUpNUYNb1NCDr2ujTFv4IDguaGZI,926
32
32
  unicex/bybit/adapter.py,sha256=U6QP2eGefZqfXq7H4P1G9M23HieAjmylb5FnrHISn5s,8147
33
- unicex/bybit/client.py,sha256=D8ncQjHQi4uadQ9C5Gx8S-pagrCXJwcGAo6sg7sYkL8,61581
33
+ unicex/bybit/client.py,sha256=TB69fwMgvmKmkTFcO9Wf8S_Fe4JJGOM_208AlL4Dh8A,61673
34
34
  unicex/bybit/exchange_info.py,sha256=S5IrN5c-jW0QbuO4LGH5rluO6qo7ib-wL-8LJWNOZgI,2422
35
35
  unicex/bybit/uni_client.py,sha256=0wmIRRgofuJXWvZMB1gHwuIEfoWuPhLJXthmK1f9w40,8382
36
36
  unicex/bybit/uni_websocket_manager.py,sha256=HhgFcGo2yQLT5knU3cFaKN85jJP0Z9EIwZ-zFlMQhDo,10621
@@ -94,8 +94,8 @@ unicex/okx/uni_client.py,sha256=E_Wod0JSGt1K6k1mAIWnOv350pELbv-nic7g1KgOuos,8694
94
94
  unicex/okx/uni_websocket_manager.py,sha256=CR877hj4pKwJbYlmKJvETl1Zlezpd81ZdzHkAMCYIwA,9571
95
95
  unicex/okx/user_websocket.py,sha256=8c9kpm-xVa729pW93OKUGLHaE9MY0uzEpjIgNIFRF80,126
96
96
  unicex/okx/websocket_manager.py,sha256=wROXTUDqKzOE-wDnCtXso_MC4SzfPuPols5aPg_Z3y4,26027
97
- unicex-0.14.8.dist-info/licenses/LICENSE,sha256=lNNK4Vqak9cXm6qVJLhbqS7iR_BMj6k7fd7XQ6l1k54,1507
98
- unicex-0.14.8.dist-info/METADATA,sha256=xpWLWihQSYz-6kU2zFQ_XDLHaFsRUzXFAKWQko33Ddw,11858
99
- unicex-0.14.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
100
- unicex-0.14.8.dist-info/top_level.txt,sha256=_7rar-0OENIg4KRy6cgjWiebFYAJhjKEcMggAocGWG4,7
101
- unicex-0.14.8.dist-info/RECORD,,
97
+ unicex-0.14.9.dist-info/licenses/LICENSE,sha256=lNNK4Vqak9cXm6qVJLhbqS7iR_BMj6k7fd7XQ6l1k54,1507
98
+ unicex-0.14.9.dist-info/METADATA,sha256=Wqf247BCSlw5Gd61MECuCR3xDi160VTfc32pMSK9tmk,11858
99
+ unicex-0.14.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
100
+ unicex-0.14.9.dist-info/top_level.txt,sha256=_7rar-0OENIg4KRy6cgjWiebFYAJhjKEcMggAocGWG4,7
101
+ unicex-0.14.9.dist-info/RECORD,,