wiz-trader 0.5.0__py3-none-any.whl → 0.6.0__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.
wiz_trader/__init__.py CHANGED
@@ -3,6 +3,6 @@
3
3
  from .quotes import QuotesClient
4
4
  from .apis import WizzerClient
5
5
 
6
- __version__ = "0.5.0"
6
+ __version__ = "0.6.0"
7
7
 
8
8
  __all__ = ["QuotesClient", "WizzerClient"]
wiz_trader/apis/client.py CHANGED
@@ -273,6 +273,21 @@ class WizzerClient:
273
273
  logger.debug("Cancelling order: %s", order_id)
274
274
  return self._make_request("DELETE", endpoint)
275
275
 
276
+ def get_order(self, order_id: str) -> Dict[str, Any]:
277
+ """
278
+ Get details of a specific order by ID.
279
+
280
+ Args:
281
+ order_id (str): ID of the order to retrieve.
282
+
283
+ Returns:
284
+ Dict[str, Any]: Order details.
285
+ """
286
+ endpoint = f"/orders/{order_id}"
287
+
288
+ logger.debug("Fetching order: %s", order_id)
289
+ return self._make_request("GET", endpoint)
290
+
276
291
  def get_positions(self) -> List[Dict[str, Any]]:
277
292
  """
278
293
  Get current portfolio positions.
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: wiz_trader
3
- Version: 0.5.0
3
+ Version: 0.6.0
4
4
  Summary: A Python SDK for connecting to the Wizzer.
5
5
  Home-page: https://bitbucket.org/wizzer-tech/quotes_sdk.git
6
6
  Author: Pawan Wagh
@@ -0,0 +1,9 @@
1
+ wiz_trader/__init__.py,sha256=JiaZxkGCn6_xuj984d1Z7fReHmjs9gJllHXGcdo-gk8,181
2
+ wiz_trader/apis/__init__.py,sha256=ItWKMOl4omiW0g2f-M7WRW3v-dss_ULd9vYnFyIIT9o,132
3
+ wiz_trader/apis/client.py,sha256=M4n86Z5Niv7TRvYkChHlq3puJdHt0Ej8fIM7lgrrT84,19514
4
+ wiz_trader/quotes/__init__.py,sha256=RF9g9CNP6bVWlmCh_ad8krm3-EWOIuVfLp0-H9fAeEM,108
5
+ wiz_trader/quotes/client.py,sha256=fUHTMGDauGF9cjsFsVAzoOwqSgD555_TLoNqmnFhLdQ,6203
6
+ wiz_trader-0.6.0.dist-info/METADATA,sha256=3JNh3TblqfCNrFGgA6RoxauExKyGPDOyYaBQ-cRTHYY,4281
7
+ wiz_trader-0.6.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
8
+ wiz_trader-0.6.0.dist-info/top_level.txt,sha256=lnYS_g8LlA6ryKYnvY8xIQ6K2K-xzOsd-99AWgnW6VY,11
9
+ wiz_trader-0.6.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (76.0.0)
2
+ Generator: setuptools (78.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,9 +0,0 @@
1
- wiz_trader/__init__.py,sha256=_X0Mp5qJUiQ5GyZsECsIXaZ-IjzF2L2Hmpxkn4zLHXI,181
2
- wiz_trader/apis/__init__.py,sha256=ItWKMOl4omiW0g2f-M7WRW3v-dss_ULd9vYnFyIIT9o,132
3
- wiz_trader/apis/client.py,sha256=EfBLHI-4cfWdrVhtKdL3rzeKheIIxGKwSFrjUE_hfWU,19131
4
- wiz_trader/quotes/__init__.py,sha256=RF9g9CNP6bVWlmCh_ad8krm3-EWOIuVfLp0-H9fAeEM,108
5
- wiz_trader/quotes/client.py,sha256=fUHTMGDauGF9cjsFsVAzoOwqSgD555_TLoNqmnFhLdQ,6203
6
- wiz_trader-0.5.0.dist-info/METADATA,sha256=35gVWkB7nVy-u1n0vrAgKJQvsaxz4hgfRdymJ4yxLjc,4281
7
- wiz_trader-0.5.0.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
8
- wiz_trader-0.5.0.dist-info/top_level.txt,sha256=lnYS_g8LlA6ryKYnvY8xIQ6K2K-xzOsd-99AWgnW6VY,11
9
- wiz_trader-0.5.0.dist-info/RECORD,,