nado-protocol 0.1.5__py3-none-any.whl → 0.1.6__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.
- nado_protocol/engine_client/types/query.py +10 -0
- nado_protocol/indexer_client/types/models.py +1 -0
- nado_protocol/indexer_client/types/query.py +3 -1
- {nado_protocol-0.1.5.dist-info → nado_protocol-0.1.6.dist-info}/METADATA +1 -1
- {nado_protocol-0.1.5.dist-info → nado_protocol-0.1.6.dist-info}/RECORD +7 -7
- {nado_protocol-0.1.5.dist-info → nado_protocol-0.1.6.dist-info}/WHEEL +0 -0
- {nado_protocol-0.1.5.dist-info → nado_protocol-0.1.6.dist-info}/entry_points.txt +0 -0
|
@@ -179,11 +179,21 @@ class QueryMaxOrderSizeParams(SpotLeverageSerializerMixin):
|
|
|
179
179
|
product_id: int
|
|
180
180
|
price_x18: str
|
|
181
181
|
direction: MaxOrderSizeDirection
|
|
182
|
+
reduce_only: Optional[bool]
|
|
183
|
+
isolated: Optional[bool]
|
|
182
184
|
|
|
183
185
|
@validator("direction")
|
|
184
186
|
def direction_to_str(cls, v: MaxOrderSizeDirection) -> str:
|
|
185
187
|
return v.value
|
|
186
188
|
|
|
189
|
+
@validator("reduce_only")
|
|
190
|
+
def reduce_only_to_str(cls, v: Optional[bool]) -> Optional[str]:
|
|
191
|
+
return str(v).lower() if v is not None else v
|
|
192
|
+
|
|
193
|
+
@validator("isolated")
|
|
194
|
+
def isolated_to_str(cls, v: Optional[bool]) -> Optional[str]:
|
|
195
|
+
return str(v).lower() if v is not None else v
|
|
196
|
+
|
|
187
197
|
|
|
188
198
|
class QueryMaxWithdrawableParams(SpotLeverageSerializerMixin):
|
|
189
199
|
"""
|
|
@@ -75,6 +75,7 @@ class IndexerSubaccountHistoricalOrdersParams(IndexerBaseParams):
|
|
|
75
75
|
|
|
76
76
|
subaccount: str
|
|
77
77
|
product_ids: Optional[list[int]]
|
|
78
|
+
trigger_types: Optional[list[str]]
|
|
78
79
|
isolated: Optional[bool]
|
|
79
80
|
|
|
80
81
|
|
|
@@ -133,7 +134,8 @@ class IndexerSubaccountSummaryParams(NadoBaseModel):
|
|
|
133
134
|
"""
|
|
134
135
|
|
|
135
136
|
subaccount: str
|
|
136
|
-
timestamp: Optional[int]
|
|
137
|
+
timestamp: Optional[int] = None
|
|
138
|
+
active: Optional[bool] = None
|
|
137
139
|
|
|
138
140
|
|
|
139
141
|
class IndexerProductSnapshotsParams(IndexerBaseParams):
|
|
@@ -44,13 +44,13 @@ nado_protocol/engine_client/query.py,sha256=zCBLeBOY1wkRM42EMsluBRtVw2TuaqJHp4Uu
|
|
|
44
44
|
nado_protocol/engine_client/types/__init__.py,sha256=pPjKLDJHclcbqROhU8B8OoxUjZkJI9a2qq5fUCVK7j4,2721
|
|
45
45
|
nado_protocol/engine_client/types/execute.py,sha256=prlArTgTCGmnw1JozRP3Sa50brfXwTkTKt6v_n3bwv8,18731
|
|
46
46
|
nado_protocol/engine_client/types/models.py,sha256=hf9HD8rct2XZIqPznfydBq7jqKiJ3vcdrL44GCjtnGQ,3873
|
|
47
|
-
nado_protocol/engine_client/types/query.py,sha256=
|
|
47
|
+
nado_protocol/engine_client/types/query.py,sha256=N6kPuWSUowMeZnUKpxF9NnMKZBKKe-0Q_B9ccFZkjQA,12185
|
|
48
48
|
nado_protocol/engine_client/types/stream.py,sha256=F_AKqU4pClzUcM6D9Dc79f6RmraahJzj2-hQSXtQ0vQ,159
|
|
49
49
|
nado_protocol/indexer_client/__init__.py,sha256=ea2exePtguCxJsBlisOQPtnFk8hRmFugeQAuSAaPhoc,922
|
|
50
50
|
nado_protocol/indexer_client/query.py,sha256=onhEAoKtBIB_fPJcNLKJg8PnEiQ5qLtTGDwHRryLXhE,16124
|
|
51
51
|
nado_protocol/indexer_client/types/__init__.py,sha256=r3-jxMjrFNbA1nMRSGZjsE3qypmyWab6k20_gasdwL4,3548
|
|
52
|
-
nado_protocol/indexer_client/types/models.py,sha256=
|
|
53
|
-
nado_protocol/indexer_client/types/query.py,sha256=
|
|
52
|
+
nado_protocol/indexer_client/types/models.py,sha256=sh65JwaOeV8r2lENaVHopnoyP3-9VeqUa0qF4k84Tes,7527
|
|
53
|
+
nado_protocol/indexer_client/types/query.py,sha256=WX7CzVzh239wbv4tQdPBKVal5wH6JPOEN0Bd_DPvzdI,18939
|
|
54
54
|
nado_protocol/trigger_client/__init__.py,sha256=kD_WJWGOCDwX7GvGF5VGZibWR2uPYRcWpIWht31PYR4,545
|
|
55
55
|
nado_protocol/trigger_client/execute.py,sha256=VkVla3SF6MX-ZJC_wZG72em41MPAKX-jv1_Lh4ydezU,15089
|
|
56
56
|
nado_protocol/trigger_client/query.py,sha256=7M7opYEddNo0Wf9VQ7rha-WaoFQVv5F5OI-YLSRWrpk,2705
|
|
@@ -73,7 +73,7 @@ nado_protocol/utils/order.py,sha256=7Tul8pxg1Soxj9tI3HEgZV4bz-bW_b3CGARJKqu3_NM,
|
|
|
73
73
|
nado_protocol/utils/subaccount.py,sha256=WJ7lgU2RekuzJAZH-hhCTbIBlRsl2oHozBm7OEMRV74,495
|
|
74
74
|
nado_protocol/utils/time.py,sha256=tEwmrkc5VdzKLlgkJIAq2ce-nhrduJZNtVPydrrnTHs,360
|
|
75
75
|
nado_protocol/utils/twap.py,sha256=hfBVK0CBa8m4uBArxTnNRoJr3o1rJucyopR_8_9gkOo,6197
|
|
76
|
-
nado_protocol-0.1.
|
|
77
|
-
nado_protocol-0.1.
|
|
78
|
-
nado_protocol-0.1.
|
|
79
|
-
nado_protocol-0.1.
|
|
76
|
+
nado_protocol-0.1.6.dist-info/METADATA,sha256=-6aOZgk4baWDEyXErPbGPBxBareZZ6X571RiZBuA9i0,9558
|
|
77
|
+
nado_protocol-0.1.6.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
78
|
+
nado_protocol-0.1.6.dist-info/entry_points.txt,sha256=7xMbwQYtf2zfvzWdBaw5d5hp5TTv5Xia5WPsqxkvKuU,300
|
|
79
|
+
nado_protocol-0.1.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|