xync-client 0.0.105__py3-none-any.whl → 0.0.106__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 xync-client might be problematic. Click here for more details.

@@ -641,7 +641,7 @@ class AgentClient(BaseAgentClient): # Bybit client
641
641
  expiration = datetime.now(timezone.utc) - timedelta(minutes=15)
642
642
  if race.updated_at < expiration:
643
643
  ceils, hp, vmf, zplace = await self.get_ceils(coinex, curex, pmexs, 0.001, True)
644
- race.ceil = ceils[int(taker_side)] * 10**curex.scale
644
+ race.ceil = int(ceils[int(taker_side)] * 10**curex.scale)
645
645
  await race.save()
646
646
  # upd pair race
647
647
  if prace := await models.Race.annotate(pms_count=Count("road__ad__pms")).get_or_none(
@@ -652,7 +652,7 @@ class AgentClient(BaseAgentClient): # Bybit client
652
652
  road__ad__pms__id__in=pm_ids,
653
653
  pms_count=len(pm_ids),
654
654
  ):
655
- prace.ceil = ceils[int(not taker_side)] * 10**curex.scale
655
+ prace.ceil = int(ceils[int(not taker_side)] * 10**curex.scale)
656
656
  await prace.save()
657
657
 
658
658
  last_vol = volume
@@ -1207,7 +1207,7 @@ async def main():
1207
1207
  # await s.curs.add(rub.cur)
1208
1208
 
1209
1209
  # пока порешали рейс-кондишн, очищаем сиротские условия при каждом запуске
1210
- [await c.delete() for c in await Cond.filter(ads__isnull=True)]
1210
+ # [await c.delete() for c in await Cond.filter(ads__isnull=True)]
1211
1211
  cl.all_conds = {
1212
1212
  c.id: (c.raw_txt, {a.maker.exid for a in c.ads}) for c in await Cond.all().prefetch_related("ads__maker")
1213
1213
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xync-client
3
- Version: 0.0.105
3
+ Version: 0.0.106
4
4
  Author-email: Mike Artemiev <mixartemev@gmail.com>
5
5
  Project-URL: Homepage, https://gitlab.com/XyncNet/client
6
6
  Project-URL: Repository, https://gitlab.com/XyncNet/client
@@ -34,7 +34,7 @@ xync_client/BitGet/ex.py,sha256=nAexKRkguIhq4fYP1tkIaou6oBFjjV2xwlajlJ-9DAE,3757
34
34
  xync_client/BitGet/etype/ad.py,sha256=fysSW47wGYjSOPUqY864z857AJz4gjN-nOkI1Jxd27U,1838
35
35
  xync_client/BitPapa/ex.py,sha256=U-RRB_RSOtErfRgxOZYWegZ_td_uZO37YKo3Jxchf_w,912
36
36
  xync_client/Bybit/InAgent.py,sha256=WeBnc5etElWbAThdw7o8Oc9bmsj9nq7vrvgAGw2ASG8,20841
37
- xync_client/Bybit/agent.py,sha256=bB7Uk0d2bUy86uFKYVOA2mT-h0HC3rkco7EXjxOLYas,58789
37
+ xync_client/Bybit/agent.py,sha256=ypo2MXLP5IAjJto1r0WXu1bLYgyON7mXE0XBL95LeDg,58801
38
38
  xync_client/Bybit/ex.py,sha256=DgPOmnjphcSCSsO4ZQjnIlWICNzdtKhNIpVsU93s99k,4707
39
39
  xync_client/Bybit/order.py,sha256=H4UIb8hxFGnw1hZuSbr0yZ4qeaCOIZOMc6jEst0ycBs,1713
40
40
  xync_client/Bybit/web_earn.py,sha256=qjqS10xlFc8r40IhDdPZ0LxA2dFEGbvBGXdsrUUJCMo,3019
@@ -94,7 +94,7 @@ xync_client/TgWallet/order.py,sha256=BOmBx5WWfJv0-_-A8DcR-Xd8utqO_VTmSqSegm0cteQ
94
94
  xync_client/TgWallet/pyd.py,sha256=Ys3E8b3RLuyQ26frWT0F0BorkNxVpxnd18tY4Gp9dik,5636
95
95
  xync_client/TgWallet/pyro.py,sha256=2K7QWdo48k4MbbgQt90gdz_HiPck69Njm4xaMjIVgoo,1440
96
96
  xync_client/TgWallet/web.py,sha256=kDcv9SKKQPe91mw1qJBpbuyKYCAmZdfdHJylHumLBVU,1608
97
- xync_client-0.0.105.dist-info/METADATA,sha256=M41YGcSXFZYPOq2QDYuWpHXsvM-S5RkWxuGX7iohS3w,964
98
- xync_client-0.0.105.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
99
- xync_client-0.0.105.dist-info/top_level.txt,sha256=bmYEVIIrD3v7yFwH-X15pEfRvzhuAdfsAZ2igvNI4O8,12
100
- xync_client-0.0.105.dist-info/RECORD,,
97
+ xync_client-0.0.106.dist-info/METADATA,sha256=TKDjFaA30YolM4mTiC7mK8XJ8PSwxRP9Jhqq9GHG1Lc,964
98
+ xync_client-0.0.106.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
99
+ xync_client-0.0.106.dist-info/top_level.txt,sha256=bmYEVIIrD3v7yFwH-X15pEfRvzhuAdfsAZ2igvNI4O8,12
100
+ xync_client-0.0.106.dist-info/RECORD,,