pyqqq 0.12.174__py3-none-any.whl → 0.12.175__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.

Potentially problematic release.


This version of pyqqq might be problematic. Click here for more details.

pyqqq/data/realtime.py CHANGED
@@ -54,9 +54,9 @@ def get_all_last_trades(codes: List[str] = None, exchange: str = "KRX"):
54
54
 
55
55
  """
56
56
 
57
- params = None
57
+ params = {"exchange": exchange}
58
58
  if codes:
59
- params = {"codes": ",".join(codes) if isinstance(codes, list) else codes, "exchange": exchange}
59
+ params["codes"] = ",".join(codes) if isinstance(codes, list) else codes
60
60
 
61
61
  r = send_request("GET", f"{c.PYQQQ_API_URL}/domestic-stock/trades", params=params)
62
62
  raise_for_status(r)
@@ -147,10 +147,7 @@ class TickEventListener:
147
147
  """
148
148
  틱데이터 이벤트 리스너를 시작합니다
149
149
  """
150
- self.tasks = [
151
- asyncio.create_task(self.connect_ws()),
152
- asyncio.create_task(self.health_ping())
153
- ]
150
+ self.tasks = [asyncio.create_task(self.connect_ws()), asyncio.create_task(self.health_ping())]
154
151
 
155
152
  async def stop(self):
156
153
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyqqq
3
- Version: 0.12.174
3
+ Version: 0.12.175
4
4
  Summary: Package for quantitative strategy development on the PyQQQ platform
5
5
  License: MIT
6
6
  Author: PyQQQ team
@@ -35,7 +35,7 @@ pyqqq/data/domestic.py,sha256=2FOYxDGw2W7DGwY61p3uGFb4IWqWUKiNdR3RlewjkCU,30352
35
35
  pyqqq/data/index.py,sha256=d5b-8a7IXu7yNJWt1tIe1Mj83NW0ZnQq8nsj2Sl3Gx8,6988
36
36
  pyqqq/data/minutes.py,sha256=b-bqThP39t7V5io5dzI953bi1oWrUH3uie8GsFS7HUY,14727
37
37
  pyqqq/data/overseas.py,sha256=yx7tCZHW8AvjIbtrP4dqIeC6wseRSzbg5ag3dm6H0LY,1234
38
- pyqqq/data/realtime.py,sha256=Kjb0fK2mtQgluS165quAdGcxtdxfiEmBLp2B0i-5f44,15105
38
+ pyqqq/data/realtime.py,sha256=yK51V-CtMRAEEwRpbWaI5LA0MNb7LloBWG4IEOLbkU8,15065
39
39
  pyqqq/data/ticks.py,sha256=DXioiKBsGTzwXyvEH0lpm8t5g-1nHIOLKMXoSrE1Rko,4127
40
40
  pyqqq/data/us_stocks.py,sha256=jXR9dQEVigrwTLEpX1aX1_AQvOlBopW265gwx8Nq8OA,12959
41
41
  pyqqq/datatypes.py,sha256=KnanWzat6w5w0vNvKHsWt9VOBwf9gh0njdt36PJBgXc,8370
@@ -58,6 +58,6 @@ pyqqq/utils/mock_api.py,sha256=7EsaVQ9mOVZQAqtQW24isPnk9QTbJII7x3guhFyEMAE,10569
58
58
  pyqqq/utils/position_classifier.py,sha256=EaomByAWM2lVuYow5OFdJNrN64Fpukhj-lhFkjYpjeo,14908
59
59
  pyqqq/utils/retry.py,sha256=4mw9MQvgSBC8bTLvDauaCEI5N9tL8upHCk8rSfaVRG8,2066
60
60
  pyqqq/utils/singleton.py,sha256=m6NZ8fwVDpI6U-gUUihMPgVK_NkDh-Z1NSAtjisrpjY,810
61
- pyqqq-0.12.174.dist-info/METADATA,sha256=sTI7AlxejSDkDJbrG2_53m1nOa0jj13xchKVLjtB7Uk,1664
62
- pyqqq-0.12.174.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
63
- pyqqq-0.12.174.dist-info/RECORD,,
61
+ pyqqq-0.12.175.dist-info/METADATA,sha256=Y7g2F0GQsWw9490TuDnEn8XUEMxwqj7k9-tg-NW5phU,1664
62
+ pyqqq-0.12.175.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
63
+ pyqqq-0.12.175.dist-info/RECORD,,