unicex 0.7.0__py3-none-any.whl → 0.8.1__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.
Files changed (44) hide show
  1. unicex/_abc/__init__.py +4 -0
  2. unicex/_abc/decoder.py +18 -0
  3. unicex/_abc/uni_client.py +1 -1
  4. unicex/_base/__init__.py +2 -0
  5. unicex/_base/websocket.py +16 -4
  6. unicex/binance/adapter.py +1 -1
  7. unicex/binance/client.py +2 -2
  8. unicex/bitget/client.py +25 -10
  9. unicex/bybit/adapter.py +1 -1
  10. unicex/bybit/client.py +4 -4
  11. unicex/bybit/uni_client.py +2 -2
  12. unicex/bybit/websocket_manager.py +330 -2
  13. unicex/extra.py +84 -6
  14. unicex/gateio/adapter.py +2 -2
  15. unicex/gateio/client.py +1 -1
  16. unicex/hyperliquid/adapter.py +12 -1
  17. unicex/mexc/_spot_ws_proto/PrivateAccountV3Api_pb2.py +40 -0
  18. unicex/mexc/_spot_ws_proto/PrivateDealsV3Api_pb2.py +40 -0
  19. unicex/mexc/_spot_ws_proto/PrivateOrdersV3Api_pb2.py +40 -0
  20. unicex/mexc/_spot_ws_proto/PublicAggreBookTickerV3Api_pb2.py +40 -0
  21. unicex/mexc/_spot_ws_proto/PublicAggreDealsV3Api_pb2.py +42 -0
  22. unicex/mexc/_spot_ws_proto/PublicAggreDepthsV3Api_pb2.py +42 -0
  23. unicex/mexc/_spot_ws_proto/PublicBookTickerBatchV3Api_pb2.py +40 -0
  24. unicex/mexc/_spot_ws_proto/PublicBookTickerV3Api_pb2.py +40 -0
  25. unicex/mexc/_spot_ws_proto/PublicDealsV3Api_pb2.py +42 -0
  26. unicex/mexc/_spot_ws_proto/PublicFuture_pb2.py +105 -0
  27. unicex/mexc/_spot_ws_proto/PublicIncreaseDepthsBatchV3Api_pb2.py +40 -0
  28. unicex/mexc/_spot_ws_proto/PublicIncreaseDepthsV3Api_pb2.py +42 -0
  29. unicex/mexc/_spot_ws_proto/PublicLimitDepthsV3Api_pb2.py +42 -0
  30. unicex/mexc/_spot_ws_proto/PublicMiniTickerV3Api_pb2.py +40 -0
  31. unicex/mexc/_spot_ws_proto/PublicMiniTickersV3Api_pb2.py +40 -0
  32. unicex/mexc/_spot_ws_proto/PublicSpotKlineV3Api_pb2.py +40 -0
  33. unicex/mexc/_spot_ws_proto/PushDataV3ApiWrapper_pb2.py +40 -0
  34. unicex/mexc/_spot_ws_proto/__init__.py +332 -0
  35. unicex/mexc/adapter.py +2 -2
  36. unicex/mexc/client.py +2 -2
  37. unicex/okx/adapter.py +2 -2
  38. unicex/okx/client.py +2627 -43
  39. unicex/okx/uni_client.py +8 -8
  40. {unicex-0.7.0.dist-info → unicex-0.8.1.dist-info}/METADATA +4 -3
  41. {unicex-0.7.0.dist-info → unicex-0.8.1.dist-info}/RECORD +44 -25
  42. {unicex-0.7.0.dist-info → unicex-0.8.1.dist-info}/WHEEL +0 -0
  43. {unicex-0.7.0.dist-info → unicex-0.8.1.dist-info}/licenses/LICENSE +0 -0
  44. {unicex-0.7.0.dist-info → unicex-0.8.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,105 @@
1
+ # -*- coding: utf-8 -*-
2
+ # type: ignore
3
+ # ruff: noqa
4
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
5
+ # NO CHECKED-IN PROTOBUF GENCODE
6
+ # source: PublicFuture.proto
7
+ # Protobuf Python Version: 6.31.1
8
+ """Generated protocol buffer code."""
9
+
10
+ from google.protobuf import descriptor as _descriptor
11
+ from google.protobuf import descriptor_pool as _descriptor_pool
12
+ from google.protobuf import runtime_version as _runtime_version
13
+ from google.protobuf import symbol_database as _symbol_database
14
+ from google.protobuf.internal import builder as _builder
15
+
16
+ _runtime_version.ValidateProtobufRuntimeVersion(
17
+ _runtime_version.Domain.PUBLIC, 6, 31, 1, "", "PublicFuture.proto"
18
+ )
19
+ # @@protoc_insertion_point(imports)
20
+
21
+ _sym_db = _symbol_database.Default()
22
+
23
+
24
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
25
+ b'\n\x12PublicFuture.proto"\xd3\x0b\n\x0f\x43ontractWrapper\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x0f\n\x07\x63hannel\x18\x02 \x01(\t\x12\n\n\x02ts\x18\x03 \x01(\x03\x12$\n\x0borderChange\x18\xe9\x07 \x01(\x0b\x32\x0c.OrderChangeH\x00\x12$\n\x0b\x61ssetChange\x18\xea\x07 \x01(\x0b\x32\x0c.AssetChangeH\x00\x12$\n\x0b\x62onusNotify\x18\xeb\x07 \x01(\x0b\x32\x0c.BonusNotifyH\x00\x12&\n\x0cleverageMode\x18\xec\x07 \x01(\x0b\x32\r.LeverageModeH\x00\x12(\n\rnotifyGeneric\x18\xed\x07 \x01(\x0b\x32\x0e.NotifyGenericH\x00\x12\x34\n\x13liquidateRiskChange\x18\xee\x07 \x01(\x0b\x32\x14.LiquidateRiskChangeH\x00\x12,\n\x0fmarketOrderDeal\x18\xef\x07 \x01(\x0b\x32\x10.MarketOrderDealH\x00\x12,\n\x0forderDealDetail\x18\xf0\x07 \x01(\x0b\x32\x10.OrderDealDetailH\x00\x12\x30\n\x11\x63ontractPlanOrder\x18\xf1\x07 \x01(\x0b\x32\x12.ContractPlanOrderH\x00\x12\x32\n\x12positionModeResult\x18\xf2\x07 \x01(\x0b\x32\x13.PositionModeResultH\x00\x12*\n\x0epositionChange\x18\xf3\x07 \x01(\x0b\x32\x0f.PositionChangeH\x00\x12\x38\n\x15positionReverseChange\x18\xf4\x07 \x01(\x0b\x32\x16.PositionReverseChangeH\x00\x12*\n\x0euserPreference\x18\xf5\x07 \x01(\x0b\x32\x0f.UserPreferenceH\x00\x12\x30\n\x11\x63ontractStopOrder\x18\xf6\x07 \x01(\x0b\x32\x12.ContractStopOrderH\x00\x12\x38\n\x15\x63ontractUserRiskLimit\x18\xf7\x07 \x01(\x0b\x32\x16.ContractUserRiskLimitH\x00\x12\x38\n\x15\x63ontractStopPlanOrder\x18\xf8\x07 \x01(\x0b\x32\x16.ContractStopPlanOrderH\x00\x12\x32\n\x12\x63ontractTrackOrder\x18\xf9\x07 \x01(\x0b\x32\x13.ContractTrackOrderH\x00\x12"\n\norderChase\x18\xfa\x07 \x01(\x0b\x32\x0b.OrderChaseH\x00\x12"\n\nindexPrice\x18\xd1\x0f \x01(\x0b\x32\x0b.IndexPriceH\x00\x12&\n\x0c\x63ommonConfig\x18\xd2\x0f \x01(\x0b\x32\r.CommonConfigH\x00\x12(\n\rcontractExtra\x18\xd3\x0f \x01(\x0b\x32\x0e.ContractExtraH\x00\x12\x1e\n\x08\x63ontract\x18\xd4\x0f \x01(\x0b\x32\t.ContractH\x00\x12\x16\n\x04\x64\x65\x61l\x18\xd5\x0f \x01(\x0b\x32\x05.DealH\x00\x12\x18\n\x05\x64\x65\x61ls\x18\xd6\x0f \x01(\x0b\x32\x06.DealsH\x00\x12\x32\n\x12marketOrderSetting\x18\xb4\x10 \x01(\x0b\x32\x13.MarketOrderSettingH\x00\x12\x1c\n\x07wsKline\x18\xb5\x10 \x01(\x0b\x32\x08.WsKLineH\x00\x12$\n\x0b\x66undingRate\x18\xb6\x10 \x01(\x0b\x32\x0c.FundingRateH\x00\x12 \n\tfairPrice\x18\xdd\x0f \x01(\x0b\x32\n.FairPriceH\x00\x12(\n\rdepthStepInfo\x18\xde\x0f \x01(\x0b\x32\x0e.DepthStepInfoH\x00\x12 \n\tdepthInfo\x18\xdf\x0f \x01(\x0b\x32\n.DepthInfoH\x00\x12"\n\ndepthMerge\x18\xe0\x0f \x01(\x0b\x32\x0b.DepthMergeH\x00\x12&\n\x0ctickerDetail\x18\xe1\x0f \x01(\x0b\x32\r.TickerDetailH\x00\x12"\n\ntickerList\x18\xe2\x0f \x01(\x0b\x32\x0b.TickerListH\x00\x12\x1e\n\x08tickList\x18\xe3\x0f \x01(\x0b\x32\t.TickListH\x00\x42\t\n\x07payload"M\n\tDepthInfo\x12\x14\n\x04\x62ids\x18\x01 \x03(\x0b\x32\x06.Order\x12\x14\n\x04\x61sks\x18\x02 \x03(\x0b\x32\x06.Order\x12\x14\n\x0clastUpdateId\x18\x03 \x01(\x03"8\n\nDepthMerge\x12\x14\n\x04\x62ids\x18\x01 \x03(\x0b\x32\x06.Order\x12\x14\n\x04\x61sks\x18\x02 \x03(\x0b\x32\x06.Order"(\n\x05Order\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\t"\x99\x03\n\x0cTickerDetail\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x11\n\tlastPrice\x18\x02 \x01(\t\x12\x14\n\x0criseFallRate\x18\x03 \x01(\t\x12\x11\n\tfairPrice\x18\x04 \x01(\t\x12\x12\n\nindexPrice\x18\x05 \x01(\t\x12\x10\n\x08volume24\x18\x06 \x01(\t\x12\x10\n\x08\x61mount24\x18\x07 \x01(\t\x12\x13\n\x0bmaxBidPrice\x18\x08 \x01(\t\x12\x13\n\x0bminAskPrice\x18\t \x01(\t\x12\x14\n\x0clower24Price\x18\n \x01(\t\x12\x13\n\x0bhigh24Price\x18\x0b \x01(\t\x12\x11\n\ttimestamp\x18\x0c \x01(\x03\x12\x0c\n\x04\x62id1\x18\r \x01(\t\x12\x0c\n\x04\x61sk1\x18\x0e \x01(\t\x12\x0f\n\x07holdVol\x18\x0f \x01(\t\x12\x15\n\rriseFallValue\x18\x10 \x01(\t\x12\x13\n\x0b\x66undingRate\x18\x11 \x01(\t\x12\x0c\n\x04zone\x18\x12 \x01(\t\x12\x15\n\rriseFallRates\x18\x13 \x03(\t\x12\x1f\n\x17riseFallRatesOfTimezone\x18\x14 \x03(\t",\n\nTickerList\x12\x1e\n\x07tickers\x18\x01 \x03(\x0b\x32\r.TickerDetail"D\n\x0b\x46undingRate\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x0c\n\x04rate\x18\x02 \x01(\t\x12\x17\n\x0fnextFundingTime\x18\x03 \x01(\x03"+\n\nIndexPrice\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\r\n\x05price\x18\x02 \x01(\t"*\n\tFairPrice\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\r\n\x05price\x18\x02 \x01(\t"O\n\x0bOrderChange\x12\x0f\n\x07orderId\x18\x01 \x01(\t\x12\x0e\n\x06status\x18\x02 \x01(\t\x12\r\n\x05price\x18\x03 \x01(\t\x12\x10\n\x08quantity\x18\x04 \x01(\t"3\n\x0b\x41ssetChange\x12\r\n\x05\x61sset\x18\x01 \x01(\t\x12\x15\n\rbalanceChange\x18\x02 \x01(\t"S\n\x0fMarketOrderDeal\x12\x0e\n\x06\x64\x65\x61lId\x18\x01 \x01(\t\x12\x0f\n\x07orderId\x18\x02 \x01(\t\x12\r\n\x05price\x18\x03 \x01(\t\x12\x10\n\x08quantity\x18\x04 \x01(\t"F\n\x0ePositionChange\x12\x12\n\npositionId\x18\x01 \x01(\t\x12\x0e\n\x06symbol\x18\x02 \x01(\t\x12\x10\n\x08quantity\x18\x03 \x01(\t"\x1d\n\x05\x44\x65\x61ls\x12\x14\n\x05\x64\x65\x61ls\x18\x01 \x03(\x0b\x32\x05.Deal"I\n\x04\x44\x65\x61l\x12\t\n\x01p\x18\x01 \x01(\t\x12\t\n\x01v\x18\x02 \x01(\t\x12\t\n\x01t\x18\x03 \x01(\x05\x12\t\n\x01o\x18\x04 \x01(\x05\x12\t\n\x01m\x18\x05 \x01(\x05\x12\n\n\x02ts\x18\x06 \x01(\x03"L\n\x0b\x42onusNotify\x12\x0f\n\x07\x62onusId\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0e\n\x06\x61mount\x18\x03 \x01(\t\x12\x0e\n\x06status\x18\x04 \x01(\t",\n\x0cLeverageMode\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x0c\n\x04mode\x18\x02 \x01(\t"A\n\rNotifyGeneric\x12\x11\n\tmessageId\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t"L\n\x13LiquidateRiskChange\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x11\n\triskLevel\x18\x02 \x01(\t\x12\x12\n\nmarginCall\x18\x03 \x01(\t"T\n\x0fOrderDealDetail\x12\x0f\n\x07orderId\x18\x01 \x01(\t\x12\x0f\n\x07tradeId\x18\x02 \x01(\t\x12\r\n\x05price\x18\x03 \x01(\t\x12\x10\n\x08quantity\x18\x04 \x01(\t"4\n\x11\x43ontractPlanOrder\x12\x0f\n\x07orderId\x18\x01 \x01(\t\x12\x0e\n\x06status\x18\x02 \x01(\t""\n\x12PositionModeResult\x12\x0c\n\x04mode\x18\x01 \x01(\t"A\n\x15PositionReverseChange\x12\x12\n\npositionId\x18\x01 \x01(\t\x12\x14\n\x0c\x63hangeAmount\x18\x02 \x01(\t"2\n\x0eUserPreference\x12\x0e\n\x06userId\x18\x01 \x01(\t\x12\x10\n\x08settings\x18\x02 \x01(\t"7\n\x11\x43ontractStopOrder\x12\x0f\n\x07orderId\x18\x01 \x01(\t\x12\x11\n\tstopPrice\x18\x02 \x01(\t":\n\x15\x43ontractUserRiskLimit\x12\x0e\n\x06userId\x18\x01 \x01(\t\x12\x11\n\triskLimit\x18\x02 \x01(\t">\n\x15\x43ontractStopPlanOrder\x12\x0f\n\x07orderId\x18\x01 \x01(\t\x12\x14\n\x0ctriggerPrice\x18\x02 \x01(\t"9\n\x12\x43ontractTrackOrder\x12\x0f\n\x07orderId\x18\x01 \x01(\t\x12\x12\n\ntrackPrice\x18\x02 \x01(\t"1\n\nOrderChase\x12\x0f\n\x07orderId\x18\x01 \x01(\t\x12\x12\n\nchasePrice\x18\x02 \x01(\t"*\n\x0c\x43ommonConfig\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t"5\n\rContractExtra\x12\x12\n\ncontractId\x18\x01 \x01(\t\x12\x10\n\x08leverage\x18\x02 \x01(\t".\n\x08\x43ontract\x12\x12\n\ncontractId\x18\x01 \x01(\t\x12\x0e\n\x06symbol\x18\x02 \x01(\t"6\n\x12MarketOrderSetting\x12\x11\n\tsettingId\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t"a\n\x07WsKLine\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\x0c\n\x04open\x18\x02 \x01(\t\x12\x0c\n\x04high\x18\x03 \x01(\t\x12\x0b\n\x03low\x18\x04 \x01(\t\x12\r\n\x05\x63lose\x18\x05 \x01(\t\x12\x0e\n\x06volume\x18\x06 \x01(\t",\n\rDepthStepInfo\x12\x0c\n\x04step\x18\x01 \x01(\t\x12\r\n\x05\x63ount\x18\x02 \x01(\t"(\n\x08TickList\x12\x1c\n\x05ticks\x18\x01 \x03(\x0b\x32\r.TickerDetailb\x06proto3'
26
+ )
27
+
28
+ _globals = globals()
29
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
30
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "PublicFuture_pb2", _globals)
31
+ if not _descriptor._USE_C_DESCRIPTORS:
32
+ DESCRIPTOR._loaded_options = None
33
+ _globals["_CONTRACTWRAPPER"]._serialized_start = 23
34
+ _globals["_CONTRACTWRAPPER"]._serialized_end = 1514
35
+ _globals["_DEPTHINFO"]._serialized_start = 1516
36
+ _globals["_DEPTHINFO"]._serialized_end = 1593
37
+ _globals["_DEPTHMERGE"]._serialized_start = 1595
38
+ _globals["_DEPTHMERGE"]._serialized_end = 1651
39
+ _globals["_ORDER"]._serialized_start = 1653
40
+ _globals["_ORDER"]._serialized_end = 1693
41
+ _globals["_TICKERDETAIL"]._serialized_start = 1696
42
+ _globals["_TICKERDETAIL"]._serialized_end = 2105
43
+ _globals["_TICKERLIST"]._serialized_start = 2107
44
+ _globals["_TICKERLIST"]._serialized_end = 2151
45
+ _globals["_FUNDINGRATE"]._serialized_start = 2153
46
+ _globals["_FUNDINGRATE"]._serialized_end = 2221
47
+ _globals["_INDEXPRICE"]._serialized_start = 2223
48
+ _globals["_INDEXPRICE"]._serialized_end = 2266
49
+ _globals["_FAIRPRICE"]._serialized_start = 2268
50
+ _globals["_FAIRPRICE"]._serialized_end = 2310
51
+ _globals["_ORDERCHANGE"]._serialized_start = 2312
52
+ _globals["_ORDERCHANGE"]._serialized_end = 2391
53
+ _globals["_ASSETCHANGE"]._serialized_start = 2393
54
+ _globals["_ASSETCHANGE"]._serialized_end = 2444
55
+ _globals["_MARKETORDERDEAL"]._serialized_start = 2446
56
+ _globals["_MARKETORDERDEAL"]._serialized_end = 2529
57
+ _globals["_POSITIONCHANGE"]._serialized_start = 2531
58
+ _globals["_POSITIONCHANGE"]._serialized_end = 2601
59
+ _globals["_DEALS"]._serialized_start = 2603
60
+ _globals["_DEALS"]._serialized_end = 2632
61
+ _globals["_DEAL"]._serialized_start = 2634
62
+ _globals["_DEAL"]._serialized_end = 2707
63
+ _globals["_BONUSNOTIFY"]._serialized_start = 2709
64
+ _globals["_BONUSNOTIFY"]._serialized_end = 2785
65
+ _globals["_LEVERAGEMODE"]._serialized_start = 2787
66
+ _globals["_LEVERAGEMODE"]._serialized_end = 2831
67
+ _globals["_NOTIFYGENERIC"]._serialized_start = 2833
68
+ _globals["_NOTIFYGENERIC"]._serialized_end = 2898
69
+ _globals["_LIQUIDATERISKCHANGE"]._serialized_start = 2900
70
+ _globals["_LIQUIDATERISKCHANGE"]._serialized_end = 2976
71
+ _globals["_ORDERDEALDETAIL"]._serialized_start = 2978
72
+ _globals["_ORDERDEALDETAIL"]._serialized_end = 3062
73
+ _globals["_CONTRACTPLANORDER"]._serialized_start = 3064
74
+ _globals["_CONTRACTPLANORDER"]._serialized_end = 3116
75
+ _globals["_POSITIONMODERESULT"]._serialized_start = 3118
76
+ _globals["_POSITIONMODERESULT"]._serialized_end = 3152
77
+ _globals["_POSITIONREVERSECHANGE"]._serialized_start = 3154
78
+ _globals["_POSITIONREVERSECHANGE"]._serialized_end = 3219
79
+ _globals["_USERPREFERENCE"]._serialized_start = 3221
80
+ _globals["_USERPREFERENCE"]._serialized_end = 3271
81
+ _globals["_CONTRACTSTOPORDER"]._serialized_start = 3273
82
+ _globals["_CONTRACTSTOPORDER"]._serialized_end = 3328
83
+ _globals["_CONTRACTUSERRISKLIMIT"]._serialized_start = 3330
84
+ _globals["_CONTRACTUSERRISKLIMIT"]._serialized_end = 3388
85
+ _globals["_CONTRACTSTOPPLANORDER"]._serialized_start = 3390
86
+ _globals["_CONTRACTSTOPPLANORDER"]._serialized_end = 3452
87
+ _globals["_CONTRACTTRACKORDER"]._serialized_start = 3454
88
+ _globals["_CONTRACTTRACKORDER"]._serialized_end = 3511
89
+ _globals["_ORDERCHASE"]._serialized_start = 3513
90
+ _globals["_ORDERCHASE"]._serialized_end = 3562
91
+ _globals["_COMMONCONFIG"]._serialized_start = 3564
92
+ _globals["_COMMONCONFIG"]._serialized_end = 3606
93
+ _globals["_CONTRACTEXTRA"]._serialized_start = 3608
94
+ _globals["_CONTRACTEXTRA"]._serialized_end = 3661
95
+ _globals["_CONTRACT"]._serialized_start = 3663
96
+ _globals["_CONTRACT"]._serialized_end = 3709
97
+ _globals["_MARKETORDERSETTING"]._serialized_start = 3711
98
+ _globals["_MARKETORDERSETTING"]._serialized_end = 3765
99
+ _globals["_WSKLINE"]._serialized_start = 3767
100
+ _globals["_WSKLINE"]._serialized_end = 3864
101
+ _globals["_DEPTHSTEPINFO"]._serialized_start = 3866
102
+ _globals["_DEPTHSTEPINFO"]._serialized_end = 3910
103
+ _globals["_TICKLIST"]._serialized_start = 3912
104
+ _globals["_TICKLIST"]._serialized_end = 3952
105
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,40 @@
1
+ # -*- coding: utf-8 -*-
2
+ # type: ignore
3
+ # ruff: noqa
4
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
5
+ # NO CHECKED-IN PROTOBUF GENCODE
6
+ # source: PublicIncreaseDepthsBatchV3Api.proto
7
+ # Protobuf Python Version: 6.31.1
8
+ """Generated protocol buffer code."""
9
+
10
+ from google.protobuf import descriptor as _descriptor
11
+ from google.protobuf import descriptor_pool as _descriptor_pool
12
+ from google.protobuf import runtime_version as _runtime_version
13
+ from google.protobuf import symbol_database as _symbol_database
14
+ from google.protobuf.internal import builder as _builder
15
+
16
+ _runtime_version.ValidateProtobufRuntimeVersion(
17
+ _runtime_version.Domain.PUBLIC, 6, 31, 1, "", "PublicIncreaseDepthsBatchV3Api.proto"
18
+ )
19
+ # @@protoc_insertion_point(imports)
20
+
21
+ _sym_db = _symbol_database.Default()
22
+
23
+
24
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
25
+ b'\n$PublicIncreaseDepthsBatchV3Api.proto\x1a\x1fPublicIncreaseDepthsV3Api.proto"^\n\x1ePublicIncreaseDepthsBatchV3Api\x12)\n\x05items\x18\x01 \x03(\x0b\x32\x1a.PublicIncreaseDepthsV3Api\x12\x11\n\teventType\x18\x02 \x01(\tBG\n\x1c\x63om.mxc.push.common.protobufB#PublicIncreaseDepthsBatchV3ApiProtoH\x01P\x01\x62\x06proto3'
26
+ )
27
+
28
+ _globals = globals()
29
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
30
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "PublicIncreaseDepthsBatchV3Api_pb2", _globals)
31
+ if not _descriptor._USE_C_DESCRIPTORS:
32
+ _globals["DESCRIPTOR"]._loaded_options = None
33
+ _globals[
34
+ "DESCRIPTOR"
35
+ ]._serialized_options = (
36
+ b"\n\034com.mxc.push.common.protobufB#PublicIncreaseDepthsBatchV3ApiProtoH\001P\001"
37
+ )
38
+ _globals["_PUBLICINCREASEDEPTHSBATCHV3API"]._serialized_start = 73
39
+ _globals["_PUBLICINCREASEDEPTHSBATCHV3API"]._serialized_end = 167
40
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,42 @@
1
+ # -*- coding: utf-8 -*-
2
+ # type: ignore
3
+ # ruff: noqa
4
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
5
+ # NO CHECKED-IN PROTOBUF GENCODE
6
+ # source: PublicIncreaseDepthsV3Api.proto
7
+ # Protobuf Python Version: 6.31.1
8
+ """Generated protocol buffer code."""
9
+
10
+ from google.protobuf import descriptor as _descriptor
11
+ from google.protobuf import descriptor_pool as _descriptor_pool
12
+ from google.protobuf import runtime_version as _runtime_version
13
+ from google.protobuf import symbol_database as _symbol_database
14
+ from google.protobuf.internal import builder as _builder
15
+
16
+ _runtime_version.ValidateProtobufRuntimeVersion(
17
+ _runtime_version.Domain.PUBLIC, 6, 31, 1, "", "PublicIncreaseDepthsV3Api.proto"
18
+ )
19
+ # @@protoc_insertion_point(imports)
20
+
21
+ _sym_db = _symbol_database.Default()
22
+
23
+
24
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
25
+ b'\n\x1fPublicIncreaseDepthsV3Api.proto"\x99\x01\n\x19PublicIncreaseDepthsV3Api\x12+\n\x04\x61sks\x18\x01 \x03(\x0b\x32\x1d.PublicIncreaseDepthV3ApiItem\x12+\n\x04\x62ids\x18\x02 \x03(\x0b\x32\x1d.PublicIncreaseDepthV3ApiItem\x12\x11\n\teventType\x18\x03 \x01(\t\x12\x0f\n\x07version\x18\x04 \x01(\t"?\n\x1cPublicIncreaseDepthV3ApiItem\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\tBB\n\x1c\x63om.mxc.push.common.protobufB\x1ePublicIncreaseDepthsV3ApiProtoH\x01P\x01\x62\x06proto3'
26
+ )
27
+
28
+ _globals = globals()
29
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
30
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "PublicIncreaseDepthsV3Api_pb2", _globals)
31
+ if not _descriptor._USE_C_DESCRIPTORS:
32
+ _globals["DESCRIPTOR"]._loaded_options = None
33
+ _globals[
34
+ "DESCRIPTOR"
35
+ ]._serialized_options = (
36
+ b"\n\034com.mxc.push.common.protobufB\036PublicIncreaseDepthsV3ApiProtoH\001P\001"
37
+ )
38
+ _globals["_PUBLICINCREASEDEPTHSV3API"]._serialized_start = 36
39
+ _globals["_PUBLICINCREASEDEPTHSV3API"]._serialized_end = 189
40
+ _globals["_PUBLICINCREASEDEPTHV3APIITEM"]._serialized_start = 191
41
+ _globals["_PUBLICINCREASEDEPTHV3APIITEM"]._serialized_end = 254
42
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,42 @@
1
+ # -*- coding: utf-8 -*-
2
+ # type: ignore
3
+ # ruff: noqa
4
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
5
+ # NO CHECKED-IN PROTOBUF GENCODE
6
+ # source: PublicLimitDepthsV3Api.proto
7
+ # Protobuf Python Version: 6.31.1
8
+ """Generated protocol buffer code."""
9
+
10
+ from google.protobuf import descriptor as _descriptor
11
+ from google.protobuf import descriptor_pool as _descriptor_pool
12
+ from google.protobuf import runtime_version as _runtime_version
13
+ from google.protobuf import symbol_database as _symbol_database
14
+ from google.protobuf.internal import builder as _builder
15
+
16
+ _runtime_version.ValidateProtobufRuntimeVersion(
17
+ _runtime_version.Domain.PUBLIC, 6, 31, 1, "", "PublicLimitDepthsV3Api.proto"
18
+ )
19
+ # @@protoc_insertion_point(imports)
20
+
21
+ _sym_db = _symbol_database.Default()
22
+
23
+
24
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
25
+ b'\n\x1cPublicLimitDepthsV3Api.proto"\x90\x01\n\x16PublicLimitDepthsV3Api\x12(\n\x04\x61sks\x18\x01 \x03(\x0b\x32\x1a.PublicLimitDepthV3ApiItem\x12(\n\x04\x62ids\x18\x02 \x03(\x0b\x32\x1a.PublicLimitDepthV3ApiItem\x12\x11\n\teventType\x18\x03 \x01(\t\x12\x0f\n\x07version\x18\x04 \x01(\t"<\n\x19PublicLimitDepthV3ApiItem\x12\r\n\x05price\x18\x01 \x01(\t\x12\x10\n\x08quantity\x18\x02 \x01(\tB?\n\x1c\x63om.mxc.push.common.protobufB\x1bPublicLimitDepthsV3ApiProtoH\x01P\x01\x62\x06proto3'
26
+ )
27
+
28
+ _globals = globals()
29
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
30
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "PublicLimitDepthsV3Api_pb2", _globals)
31
+ if not _descriptor._USE_C_DESCRIPTORS:
32
+ _globals["DESCRIPTOR"]._loaded_options = None
33
+ _globals[
34
+ "DESCRIPTOR"
35
+ ]._serialized_options = (
36
+ b"\n\034com.mxc.push.common.protobufB\033PublicLimitDepthsV3ApiProtoH\001P\001"
37
+ )
38
+ _globals["_PUBLICLIMITDEPTHSV3API"]._serialized_start = 33
39
+ _globals["_PUBLICLIMITDEPTHSV3API"]._serialized_end = 177
40
+ _globals["_PUBLICLIMITDEPTHV3APIITEM"]._serialized_start = 179
41
+ _globals["_PUBLICLIMITDEPTHV3APIITEM"]._serialized_end = 239
42
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,40 @@
1
+ # -*- coding: utf-8 -*-
2
+ # type: ignore
3
+ # ruff: noqa
4
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
5
+ # NO CHECKED-IN PROTOBUF GENCODE
6
+ # source: PublicMiniTickerV3Api.proto
7
+ # Protobuf Python Version: 6.31.1
8
+ """Generated protocol buffer code."""
9
+
10
+ from google.protobuf import descriptor as _descriptor
11
+ from google.protobuf import descriptor_pool as _descriptor_pool
12
+ from google.protobuf import runtime_version as _runtime_version
13
+ from google.protobuf import symbol_database as _symbol_database
14
+ from google.protobuf.internal import builder as _builder
15
+
16
+ _runtime_version.ValidateProtobufRuntimeVersion(
17
+ _runtime_version.Domain.PUBLIC, 6, 31, 1, "", "PublicMiniTickerV3Api.proto"
18
+ )
19
+ # @@protoc_insertion_point(imports)
20
+
21
+ _sym_db = _symbol_database.Default()
22
+
23
+
24
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
25
+ b'\n\x1bPublicMiniTickerV3Api.proto"\xf4\x01\n\x15PublicMiniTickerV3Api\x12\x0e\n\x06symbol\x18\x01 \x01(\t\x12\r\n\x05price\x18\x02 \x01(\t\x12\x0c\n\x04rate\x18\x03 \x01(\t\x12\x11\n\tzonedRate\x18\x04 \x01(\t\x12\x0c\n\x04high\x18\x05 \x01(\t\x12\x0b\n\x03low\x18\x06 \x01(\t\x12\x0e\n\x06volume\x18\x07 \x01(\t\x12\x10\n\x08quantity\x18\x08 \x01(\t\x12\x15\n\rlastCloseRate\x18\t \x01(\t\x12\x1a\n\x12lastCloseZonedRate\x18\n \x01(\t\x12\x15\n\rlastCloseHigh\x18\x0b \x01(\t\x12\x14\n\x0clastCloseLow\x18\x0c \x01(\tB>\n\x1c\x63om.mxc.push.common.protobufB\x1aPublicMiniTickerV3ApiProtoH\x01P\x01\x62\x06proto3'
26
+ )
27
+
28
+ _globals = globals()
29
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
30
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "PublicMiniTickerV3Api_pb2", _globals)
31
+ if not _descriptor._USE_C_DESCRIPTORS:
32
+ _globals["DESCRIPTOR"]._loaded_options = None
33
+ _globals[
34
+ "DESCRIPTOR"
35
+ ]._serialized_options = (
36
+ b"\n\034com.mxc.push.common.protobufB\032PublicMiniTickerV3ApiProtoH\001P\001"
37
+ )
38
+ _globals["_PUBLICMINITICKERV3API"]._serialized_start = 32
39
+ _globals["_PUBLICMINITICKERV3API"]._serialized_end = 276
40
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,40 @@
1
+ # -*- coding: utf-8 -*-
2
+ # type: ignore
3
+ # ruff: noqa
4
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
5
+ # NO CHECKED-IN PROTOBUF GENCODE
6
+ # source: PublicMiniTickersV3Api.proto
7
+ # Protobuf Python Version: 6.31.1
8
+ """Generated protocol buffer code."""
9
+
10
+ from google.protobuf import descriptor as _descriptor
11
+ from google.protobuf import descriptor_pool as _descriptor_pool
12
+ from google.protobuf import runtime_version as _runtime_version
13
+ from google.protobuf import symbol_database as _symbol_database
14
+ from google.protobuf.internal import builder as _builder
15
+
16
+ _runtime_version.ValidateProtobufRuntimeVersion(
17
+ _runtime_version.Domain.PUBLIC, 6, 31, 1, "", "PublicMiniTickersV3Api.proto"
18
+ )
19
+ # @@protoc_insertion_point(imports)
20
+
21
+ _sym_db = _symbol_database.Default()
22
+
23
+
24
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
25
+ b'\n\x1cPublicMiniTickersV3Api.proto\x1a\x1bPublicMiniTickerV3Api.proto"?\n\x16PublicMiniTickersV3Api\x12%\n\x05items\x18\x01 \x03(\x0b\x32\x16.PublicMiniTickerV3ApiB?\n\x1c\x63om.mxc.push.common.protobufB\x1bPublicMiniTickersV3ApiProtoH\x01P\x01\x62\x06proto3'
26
+ )
27
+
28
+ _globals = globals()
29
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
30
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "PublicMiniTickersV3Api_pb2", _globals)
31
+ if not _descriptor._USE_C_DESCRIPTORS:
32
+ _globals["DESCRIPTOR"]._loaded_options = None
33
+ _globals[
34
+ "DESCRIPTOR"
35
+ ]._serialized_options = (
36
+ b"\n\034com.mxc.push.common.protobufB\033PublicMiniTickersV3ApiProtoH\001P\001"
37
+ )
38
+ _globals["_PUBLICMINITICKERSV3API"]._serialized_start = 61
39
+ _globals["_PUBLICMINITICKERSV3API"]._serialized_end = 124
40
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,40 @@
1
+ # -*- coding: utf-8 -*-
2
+ # type: ignore
3
+ # ruff: noqa
4
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
5
+ # NO CHECKED-IN PROTOBUF GENCODE
6
+ # source: PublicSpotKlineV3Api.proto
7
+ # Protobuf Python Version: 6.31.1
8
+ """Generated protocol buffer code."""
9
+
10
+ from google.protobuf import descriptor as _descriptor
11
+ from google.protobuf import descriptor_pool as _descriptor_pool
12
+ from google.protobuf import runtime_version as _runtime_version
13
+ from google.protobuf import symbol_database as _symbol_database
14
+ from google.protobuf.internal import builder as _builder
15
+
16
+ _runtime_version.ValidateProtobufRuntimeVersion(
17
+ _runtime_version.Domain.PUBLIC, 6, 31, 1, "", "PublicSpotKlineV3Api.proto"
18
+ )
19
+ # @@protoc_insertion_point(imports)
20
+
21
+ _sym_db = _symbol_database.Default()
22
+
23
+
24
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
25
+ b'\n\x1aPublicSpotKlineV3Api.proto"\xc7\x01\n\x14PublicSpotKlineV3Api\x12\x10\n\x08interval\x18\x01 \x01(\t\x12\x13\n\x0bwindowStart\x18\x02 \x01(\x03\x12\x14\n\x0copeningPrice\x18\x03 \x01(\t\x12\x14\n\x0c\x63losingPrice\x18\x04 \x01(\t\x12\x14\n\x0chighestPrice\x18\x05 \x01(\t\x12\x13\n\x0blowestPrice\x18\x06 \x01(\t\x12\x0e\n\x06volume\x18\x07 \x01(\t\x12\x0e\n\x06\x61mount\x18\x08 \x01(\t\x12\x11\n\twindowEnd\x18\t \x01(\x03\x42=\n\x1c\x63om.mxc.push.common.protobufB\x19PublicSpotKlineV3ApiProtoH\x01P\x01\x62\x06proto3'
26
+ )
27
+
28
+ _globals = globals()
29
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
30
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "PublicSpotKlineV3Api_pb2", _globals)
31
+ if not _descriptor._USE_C_DESCRIPTORS:
32
+ _globals["DESCRIPTOR"]._loaded_options = None
33
+ _globals[
34
+ "DESCRIPTOR"
35
+ ]._serialized_options = (
36
+ b"\n\034com.mxc.push.common.protobufB\031PublicSpotKlineV3ApiProtoH\001P\001"
37
+ )
38
+ _globals["_PUBLICSPOTKLINEV3API"]._serialized_start = 31
39
+ _globals["_PUBLICSPOTKLINEV3API"]._serialized_end = 230
40
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,40 @@
1
+ # -*- coding: utf-8 -*-
2
+ # type: ignore
3
+ # ruff: noqa
4
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
5
+ # NO CHECKED-IN PROTOBUF GENCODE
6
+ # source: PushDataV3ApiWrapper.proto
7
+ # Protobuf Python Version: 6.31.1
8
+ """Generated protocol buffer code."""
9
+
10
+ from google.protobuf import descriptor as _descriptor
11
+ from google.protobuf import descriptor_pool as _descriptor_pool
12
+ from google.protobuf import runtime_version as _runtime_version
13
+ from google.protobuf import symbol_database as _symbol_database
14
+ from google.protobuf.internal import builder as _builder
15
+
16
+ _runtime_version.ValidateProtobufRuntimeVersion(
17
+ _runtime_version.Domain.PUBLIC, 6, 31, 1, "", "PushDataV3ApiWrapper.proto"
18
+ )
19
+ # @@protoc_insertion_point(imports)
20
+
21
+ _sym_db = _symbol_database.Default()
22
+
23
+
24
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
25
+ b'\n\x1aPushDataV3ApiWrapper.proto\x1a\x16PublicDealsV3Api.proto\x1a\x1fPublicIncreaseDepthsV3Api.proto\x1a\x1cPublicLimitDepthsV3Api.proto\x1a\x18PrivateOrdersV3Api.proto\x1a\x1bPublicBookTickerV3Api.proto\x1a\x17PrivateDealsV3Api.proto\x1a\x19PrivateAccountV3Api.proto\x1a\x1aPublicSpotKlineV3Api.proto\x1a\x1bPublicMiniTickerV3Api.proto\x1a\x1cPublicMiniTickersV3Api.proto\x1a PublicBookTickerBatchV3Api.proto\x1a$PublicIncreaseDepthsBatchV3Api.proto\x1a\x1cPublicAggreDepthsV3Api.proto\x1a\x1bPublicAggreDealsV3Api.proto\x1a PublicAggreBookTickerV3Api.proto"\xf0\x07\n\x14PushDataV3ApiWrapper\x12\x0f\n\x07\x63hannel\x18\x01 \x01(\t\x12)\n\x0bpublicDeals\x18\xad\x02 \x01(\x0b\x32\x11.PublicDealsV3ApiH\x00\x12;\n\x14publicIncreaseDepths\x18\xae\x02 \x01(\x0b\x32\x1a.PublicIncreaseDepthsV3ApiH\x00\x12\x35\n\x11publicLimitDepths\x18\xaf\x02 \x01(\x0b\x32\x17.PublicLimitDepthsV3ApiH\x00\x12-\n\rprivateOrders\x18\xb0\x02 \x01(\x0b\x32\x13.PrivateOrdersV3ApiH\x00\x12\x33\n\x10publicBookTicker\x18\xb1\x02 \x01(\x0b\x32\x16.PublicBookTickerV3ApiH\x00\x12+\n\x0cprivateDeals\x18\xb2\x02 \x01(\x0b\x32\x12.PrivateDealsV3ApiH\x00\x12/\n\x0eprivateAccount\x18\xb3\x02 \x01(\x0b\x32\x14.PrivateAccountV3ApiH\x00\x12\x31\n\x0fpublicSpotKline\x18\xb4\x02 \x01(\x0b\x32\x15.PublicSpotKlineV3ApiH\x00\x12\x33\n\x10publicMiniTicker\x18\xb5\x02 \x01(\x0b\x32\x16.PublicMiniTickerV3ApiH\x00\x12\x35\n\x11publicMiniTickers\x18\xb6\x02 \x01(\x0b\x32\x17.PublicMiniTickersV3ApiH\x00\x12=\n\x15publicBookTickerBatch\x18\xb7\x02 \x01(\x0b\x32\x1b.PublicBookTickerBatchV3ApiH\x00\x12\x45\n\x19publicIncreaseDepthsBatch\x18\xb8\x02 \x01(\x0b\x32\x1f.PublicIncreaseDepthsBatchV3ApiH\x00\x12\x35\n\x11publicAggreDepths\x18\xb9\x02 \x01(\x0b\x32\x17.PublicAggreDepthsV3ApiH\x00\x12\x33\n\x10publicAggreDeals\x18\xba\x02 \x01(\x0b\x32\x16.PublicAggreDealsV3ApiH\x00\x12=\n\x15publicAggreBookTicker\x18\xbb\x02 \x01(\x0b\x32\x1b.PublicAggreBookTickerV3ApiH\x00\x12\x13\n\x06symbol\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x15\n\x08symbolId\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x17\n\ncreateTime\x18\x05 \x01(\x03H\x03\x88\x01\x01\x12\x15\n\x08sendTime\x18\x06 \x01(\x03H\x04\x88\x01\x01\x42\x06\n\x04\x62odyB\t\n\x07_symbolB\x0b\n\t_symbolIdB\r\n\x0b_createTimeB\x0b\n\t_sendTimeB=\n\x1c\x63om.mxc.push.common.protobufB\x19PushDataV3ApiWrapperProtoH\x01P\x01\x62\x06proto3'
26
+ )
27
+
28
+ _globals = globals()
29
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
30
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "PushDataV3ApiWrapper_pb2", _globals)
31
+ if not _descriptor._USE_C_DESCRIPTORS:
32
+ _globals["DESCRIPTOR"]._loaded_options = None
33
+ _globals[
34
+ "DESCRIPTOR"
35
+ ]._serialized_options = (
36
+ b"\n\034com.mxc.push.common.protobufB\031PushDataV3ApiWrapperProtoH\001P\001"
37
+ )
38
+ _globals["_PUSHDATAV3APIWRAPPER"]._serialized_start = 477
39
+ _globals["_PUSHDATAV3APIWRAPPER"]._serialized_end = 1485
40
+ # @@protoc_insertion_point(module_scope)