zklighter-perps 1.0.120 → 1.0.122
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.
- package/.openapi-generator/FILES +10 -0
- package/apis/AccountApi.ts +231 -8
- package/apis/BridgeApi.ts +12 -16
- package/apis/NotificationApi.ts +6 -8
- package/apis/OrderApi.ts +17 -16
- package/apis/ReferralApi.ts +18 -24
- package/apis/TransactionApi.ts +17 -16
- package/models/AccountMetadata.ts +11 -11
- package/models/AccountMetadatas.ts +9 -9
- package/models/DetailedAccount.ts +11 -11
- package/models/L1Metadata.ts +79 -0
- package/models/LiqTrade.ts +88 -0
- package/models/Liquidation.ts +56 -23
- package/models/LiquidationInfo.ts +107 -0
- package/models/LiquidationInfos.ts +93 -0
- package/models/PublicPool.ts +11 -11
- package/models/ReqGetAccountActiveOrders.ts +3 -4
- package/models/ReqGetAccountInactiveOrders.ts +3 -4
- package/models/ReqGetAccountLimits.ts +3 -4
- package/models/ReqGetDepositHistory.ts +3 -4
- package/models/ReqGetFastWithdrawInfo.ts +3 -4
- package/models/ReqGetL1Metadata.ts +69 -0
- package/models/ReqGetLiquidationInfos.ts +94 -0
- package/models/ReqGetReferralCode.ts +3 -4
- package/models/ReqGetReferralPoints.ts +3 -4
- package/models/ReqGetWithdrawHistory.ts +3 -4
- package/models/RiskInfo.ts +97 -0
- package/models/index.ts +10 -0
- package/openapi.json +616 -57
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -103,6 +103,13 @@
|
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
105
|
"parameters": [
|
|
106
|
+
{
|
|
107
|
+
"name": "authorization",
|
|
108
|
+
"description": " make required after integ is done",
|
|
109
|
+
"in": "header",
|
|
110
|
+
"required": false,
|
|
111
|
+
"type": "string"
|
|
112
|
+
},
|
|
106
113
|
{
|
|
107
114
|
"name": "account_index",
|
|
108
115
|
"in": "query",
|
|
@@ -119,8 +126,9 @@
|
|
|
119
126
|
},
|
|
120
127
|
{
|
|
121
128
|
"name": "auth",
|
|
129
|
+
"description": " made optional to support header auth clients",
|
|
122
130
|
"in": "query",
|
|
123
|
-
"required":
|
|
131
|
+
"required": false,
|
|
124
132
|
"type": "string"
|
|
125
133
|
}
|
|
126
134
|
],
|
|
@@ -152,10 +160,18 @@
|
|
|
152
160
|
}
|
|
153
161
|
},
|
|
154
162
|
"parameters": [
|
|
163
|
+
{
|
|
164
|
+
"name": "authorization",
|
|
165
|
+
"description": " make required after integ is done",
|
|
166
|
+
"in": "header",
|
|
167
|
+
"required": false,
|
|
168
|
+
"type": "string"
|
|
169
|
+
},
|
|
155
170
|
{
|
|
156
171
|
"name": "auth",
|
|
172
|
+
"description": " made optional to support header auth clients",
|
|
157
173
|
"in": "query",
|
|
158
|
-
"required":
|
|
174
|
+
"required": false,
|
|
159
175
|
"type": "string"
|
|
160
176
|
},
|
|
161
177
|
{
|
|
@@ -231,6 +247,13 @@
|
|
|
231
247
|
}
|
|
232
248
|
},
|
|
233
249
|
"parameters": [
|
|
250
|
+
{
|
|
251
|
+
"name": "authorization",
|
|
252
|
+
"description": " make required after integ is done",
|
|
253
|
+
"in": "header",
|
|
254
|
+
"required": false,
|
|
255
|
+
"type": "string"
|
|
256
|
+
},
|
|
234
257
|
{
|
|
235
258
|
"name": "account_index",
|
|
236
259
|
"in": "query",
|
|
@@ -240,8 +263,9 @@
|
|
|
240
263
|
},
|
|
241
264
|
{
|
|
242
265
|
"name": "auth",
|
|
266
|
+
"description": " made optional to support header auth clients",
|
|
243
267
|
"in": "query",
|
|
244
|
-
"required":
|
|
268
|
+
"required": false,
|
|
245
269
|
"type": "string"
|
|
246
270
|
}
|
|
247
271
|
],
|
|
@@ -254,6 +278,63 @@
|
|
|
254
278
|
"description": "Get account limits"
|
|
255
279
|
}
|
|
256
280
|
},
|
|
281
|
+
"/api/v1/accountMetadata": {
|
|
282
|
+
"get": {
|
|
283
|
+
"summary": "accountMetadata",
|
|
284
|
+
"operationId": "accountMetadata",
|
|
285
|
+
"responses": {
|
|
286
|
+
"200": {
|
|
287
|
+
"description": "A successful response.",
|
|
288
|
+
"schema": {
|
|
289
|
+
"$ref": "#/definitions/AccountMetadatas"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"400": {
|
|
293
|
+
"description": "Bad request",
|
|
294
|
+
"schema": {
|
|
295
|
+
"$ref": "#/definitions/ResultCode"
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"parameters": [
|
|
300
|
+
{
|
|
301
|
+
"name": "authorization",
|
|
302
|
+
"in": "header",
|
|
303
|
+
"required": false,
|
|
304
|
+
"type": "string"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"name": "by",
|
|
308
|
+
"in": "query",
|
|
309
|
+
"required": true,
|
|
310
|
+
"type": "string",
|
|
311
|
+
"enum": [
|
|
312
|
+
"index",
|
|
313
|
+
"l1_address"
|
|
314
|
+
]
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"name": "value",
|
|
318
|
+
"in": "query",
|
|
319
|
+
"required": true,
|
|
320
|
+
"type": "string"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"name": "auth",
|
|
324
|
+
"in": "query",
|
|
325
|
+
"required": false,
|
|
326
|
+
"type": "string"
|
|
327
|
+
}
|
|
328
|
+
],
|
|
329
|
+
"tags": [
|
|
330
|
+
"account"
|
|
331
|
+
],
|
|
332
|
+
"consumes": [
|
|
333
|
+
"multipart/form-data"
|
|
334
|
+
],
|
|
335
|
+
"description": "Get account metadatas"
|
|
336
|
+
}
|
|
337
|
+
},
|
|
257
338
|
"/api/v1/accountPendingTxs": {
|
|
258
339
|
"get": {
|
|
259
340
|
"summary": "accountPendingTxs",
|
|
@@ -827,6 +908,13 @@
|
|
|
827
908
|
}
|
|
828
909
|
},
|
|
829
910
|
"parameters": [
|
|
911
|
+
{
|
|
912
|
+
"name": "authorization",
|
|
913
|
+
"description": " make required after integ is done",
|
|
914
|
+
"in": "header",
|
|
915
|
+
"required": false,
|
|
916
|
+
"type": "string"
|
|
917
|
+
},
|
|
830
918
|
{
|
|
831
919
|
"name": "account_index",
|
|
832
920
|
"in": "query",
|
|
@@ -836,8 +924,9 @@
|
|
|
836
924
|
},
|
|
837
925
|
{
|
|
838
926
|
"name": "auth",
|
|
927
|
+
"description": " made optional to support header auth clients",
|
|
839
928
|
"in": "query",
|
|
840
|
-
"required":
|
|
929
|
+
"required": false,
|
|
841
930
|
"type": "string"
|
|
842
931
|
},
|
|
843
932
|
{
|
|
@@ -999,6 +1088,13 @@
|
|
|
999
1088
|
}
|
|
1000
1089
|
},
|
|
1001
1090
|
"parameters": [
|
|
1091
|
+
{
|
|
1092
|
+
"name": "authorization",
|
|
1093
|
+
"description": " make required after integ is done",
|
|
1094
|
+
"in": "header",
|
|
1095
|
+
"required": false,
|
|
1096
|
+
"type": "string"
|
|
1097
|
+
},
|
|
1002
1098
|
{
|
|
1003
1099
|
"name": "body",
|
|
1004
1100
|
"in": "body",
|
|
@@ -1036,6 +1132,13 @@
|
|
|
1036
1132
|
}
|
|
1037
1133
|
},
|
|
1038
1134
|
"parameters": [
|
|
1135
|
+
{
|
|
1136
|
+
"name": "authorization",
|
|
1137
|
+
"description": " make required after integ is done",
|
|
1138
|
+
"in": "header",
|
|
1139
|
+
"required": false,
|
|
1140
|
+
"type": "string"
|
|
1141
|
+
},
|
|
1039
1142
|
{
|
|
1040
1143
|
"name": "account_index",
|
|
1041
1144
|
"in": "query",
|
|
@@ -1045,8 +1148,9 @@
|
|
|
1045
1148
|
},
|
|
1046
1149
|
{
|
|
1047
1150
|
"name": "auth",
|
|
1151
|
+
"description": " made optional to support header auth clients",
|
|
1048
1152
|
"in": "query",
|
|
1049
|
-
"required":
|
|
1153
|
+
"required": false,
|
|
1050
1154
|
"type": "string"
|
|
1051
1155
|
}
|
|
1052
1156
|
],
|
|
@@ -1223,6 +1327,55 @@
|
|
|
1223
1327
|
"description": "Get is account whitelisted"
|
|
1224
1328
|
}
|
|
1225
1329
|
},
|
|
1330
|
+
"/api/v1/l1Metadata": {
|
|
1331
|
+
"get": {
|
|
1332
|
+
"summary": "l1Metadata",
|
|
1333
|
+
"operationId": "l1Metadata",
|
|
1334
|
+
"responses": {
|
|
1335
|
+
"200": {
|
|
1336
|
+
"description": "A successful response.",
|
|
1337
|
+
"schema": {
|
|
1338
|
+
"$ref": "#/definitions/L1Metadata"
|
|
1339
|
+
}
|
|
1340
|
+
},
|
|
1341
|
+
"400": {
|
|
1342
|
+
"description": "Bad request",
|
|
1343
|
+
"schema": {
|
|
1344
|
+
"$ref": "#/definitions/ResultCode"
|
|
1345
|
+
}
|
|
1346
|
+
}
|
|
1347
|
+
},
|
|
1348
|
+
"parameters": [
|
|
1349
|
+
{
|
|
1350
|
+
"name": "authorization",
|
|
1351
|
+
"description": " make required after integ is done",
|
|
1352
|
+
"in": "header",
|
|
1353
|
+
"required": false,
|
|
1354
|
+
"type": "string"
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
"name": "auth",
|
|
1358
|
+
"description": " made optional to support header auth clients",
|
|
1359
|
+
"in": "query",
|
|
1360
|
+
"required": false,
|
|
1361
|
+
"type": "string"
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
"name": "l1_address",
|
|
1365
|
+
"in": "query",
|
|
1366
|
+
"required": true,
|
|
1367
|
+
"type": "string"
|
|
1368
|
+
}
|
|
1369
|
+
],
|
|
1370
|
+
"tags": [
|
|
1371
|
+
"account"
|
|
1372
|
+
],
|
|
1373
|
+
"consumes": [
|
|
1374
|
+
"multipart/form-data"
|
|
1375
|
+
],
|
|
1376
|
+
"description": "Get L1 metadata"
|
|
1377
|
+
}
|
|
1378
|
+
},
|
|
1226
1379
|
"/api/v1/layer1BasicInfo": {
|
|
1227
1380
|
"get": {
|
|
1228
1381
|
"summary": "layer1BasicInfo",
|
|
@@ -1292,6 +1445,78 @@
|
|
|
1292
1445
|
"description": "Get points leaderboard"
|
|
1293
1446
|
}
|
|
1294
1447
|
},
|
|
1448
|
+
"/api/v1/liquidations": {
|
|
1449
|
+
"get": {
|
|
1450
|
+
"summary": "liquidations",
|
|
1451
|
+
"operationId": "liquidations",
|
|
1452
|
+
"responses": {
|
|
1453
|
+
"200": {
|
|
1454
|
+
"description": "A successful response.",
|
|
1455
|
+
"schema": {
|
|
1456
|
+
"$ref": "#/definitions/LiquidationInfos"
|
|
1457
|
+
}
|
|
1458
|
+
},
|
|
1459
|
+
"400": {
|
|
1460
|
+
"description": "Bad request",
|
|
1461
|
+
"schema": {
|
|
1462
|
+
"$ref": "#/definitions/ResultCode"
|
|
1463
|
+
}
|
|
1464
|
+
}
|
|
1465
|
+
},
|
|
1466
|
+
"parameters": [
|
|
1467
|
+
{
|
|
1468
|
+
"name": "authorization",
|
|
1469
|
+
"description": " make required after integ is done",
|
|
1470
|
+
"in": "header",
|
|
1471
|
+
"required": false,
|
|
1472
|
+
"type": "string"
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
"name": "auth",
|
|
1476
|
+
"description": " made optional to support header auth clients",
|
|
1477
|
+
"in": "query",
|
|
1478
|
+
"required": false,
|
|
1479
|
+
"type": "string"
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
"name": "account_index",
|
|
1483
|
+
"in": "query",
|
|
1484
|
+
"required": true,
|
|
1485
|
+
"type": "integer",
|
|
1486
|
+
"format": "int64"
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"name": "market_id",
|
|
1490
|
+
"in": "query",
|
|
1491
|
+
"required": false,
|
|
1492
|
+
"type": "integer",
|
|
1493
|
+
"format": "uint8"
|
|
1494
|
+
},
|
|
1495
|
+
{
|
|
1496
|
+
"name": "cursor",
|
|
1497
|
+
"in": "query",
|
|
1498
|
+
"required": false,
|
|
1499
|
+
"type": "string"
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
"name": "limit",
|
|
1503
|
+
"in": "query",
|
|
1504
|
+
"required": true,
|
|
1505
|
+
"type": "integer",
|
|
1506
|
+
"format": "int64",
|
|
1507
|
+
"minimum": 1,
|
|
1508
|
+
"maximum": 100
|
|
1509
|
+
}
|
|
1510
|
+
],
|
|
1511
|
+
"tags": [
|
|
1512
|
+
"account"
|
|
1513
|
+
],
|
|
1514
|
+
"consumes": [
|
|
1515
|
+
"multipart/form-data"
|
|
1516
|
+
],
|
|
1517
|
+
"description": "Get liquidation infos"
|
|
1518
|
+
}
|
|
1519
|
+
},
|
|
1295
1520
|
"/api/v1/nextNonce": {
|
|
1296
1521
|
"get": {
|
|
1297
1522
|
"summary": "nextNonce",
|
|
@@ -1354,6 +1579,13 @@
|
|
|
1354
1579
|
}
|
|
1355
1580
|
},
|
|
1356
1581
|
"parameters": [
|
|
1582
|
+
{
|
|
1583
|
+
"name": "authorization",
|
|
1584
|
+
"description": " make required after integ is done",
|
|
1585
|
+
"in": "header",
|
|
1586
|
+
"required": false,
|
|
1587
|
+
"type": "string"
|
|
1588
|
+
},
|
|
1357
1589
|
{
|
|
1358
1590
|
"name": "body",
|
|
1359
1591
|
"in": "body",
|
|
@@ -1555,6 +1787,12 @@
|
|
|
1555
1787
|
}
|
|
1556
1788
|
},
|
|
1557
1789
|
"parameters": [
|
|
1790
|
+
{
|
|
1791
|
+
"name": "authorization",
|
|
1792
|
+
"in": "header",
|
|
1793
|
+
"required": false,
|
|
1794
|
+
"type": "string"
|
|
1795
|
+
},
|
|
1558
1796
|
{
|
|
1559
1797
|
"name": "auth",
|
|
1560
1798
|
"in": "query",
|
|
@@ -1652,6 +1890,12 @@
|
|
|
1652
1890
|
}
|
|
1653
1891
|
},
|
|
1654
1892
|
"parameters": [
|
|
1893
|
+
{
|
|
1894
|
+
"name": "authorization",
|
|
1895
|
+
"in": "header",
|
|
1896
|
+
"required": false,
|
|
1897
|
+
"type": "string"
|
|
1898
|
+
},
|
|
1655
1899
|
{
|
|
1656
1900
|
"name": "auth",
|
|
1657
1901
|
"in": "query",
|
|
@@ -1729,6 +1973,12 @@
|
|
|
1729
1973
|
}
|
|
1730
1974
|
},
|
|
1731
1975
|
"parameters": [
|
|
1976
|
+
{
|
|
1977
|
+
"name": "authorization",
|
|
1978
|
+
"in": "header",
|
|
1979
|
+
"required": false,
|
|
1980
|
+
"type": "string"
|
|
1981
|
+
},
|
|
1732
1982
|
{
|
|
1733
1983
|
"name": "auth",
|
|
1734
1984
|
"in": "query",
|
|
@@ -1844,6 +2094,13 @@
|
|
|
1844
2094
|
}
|
|
1845
2095
|
},
|
|
1846
2096
|
"parameters": [
|
|
2097
|
+
{
|
|
2098
|
+
"name": "authorization",
|
|
2099
|
+
"description": " make required after integ is done",
|
|
2100
|
+
"in": "header",
|
|
2101
|
+
"required": false,
|
|
2102
|
+
"type": "string"
|
|
2103
|
+
},
|
|
1847
2104
|
{
|
|
1848
2105
|
"name": "body",
|
|
1849
2106
|
"in": "body",
|
|
@@ -1881,10 +2138,18 @@
|
|
|
1881
2138
|
}
|
|
1882
2139
|
},
|
|
1883
2140
|
"parameters": [
|
|
2141
|
+
{
|
|
2142
|
+
"name": "authorization",
|
|
2143
|
+
"description": " make required after integ is done",
|
|
2144
|
+
"in": "header",
|
|
2145
|
+
"required": false,
|
|
2146
|
+
"type": "string"
|
|
2147
|
+
},
|
|
1884
2148
|
{
|
|
1885
2149
|
"name": "auth",
|
|
2150
|
+
"description": " made optional to support header auth clients",
|
|
1886
2151
|
"in": "query",
|
|
1887
|
-
"required":
|
|
2152
|
+
"required": false,
|
|
1888
2153
|
"type": "string"
|
|
1889
2154
|
},
|
|
1890
2155
|
{
|
|
@@ -1923,10 +2188,18 @@
|
|
|
1923
2188
|
}
|
|
1924
2189
|
},
|
|
1925
2190
|
"parameters": [
|
|
2191
|
+
{
|
|
2192
|
+
"name": "authorization",
|
|
2193
|
+
"description": " make required after integ is done",
|
|
2194
|
+
"in": "header",
|
|
2195
|
+
"required": false,
|
|
2196
|
+
"type": "string"
|
|
2197
|
+
},
|
|
1926
2198
|
{
|
|
1927
2199
|
"name": "auth",
|
|
2200
|
+
"description": " made optional to support header auth clients",
|
|
1928
2201
|
"in": "query",
|
|
1929
|
-
"required":
|
|
2202
|
+
"required": false,
|
|
1930
2203
|
"type": "string"
|
|
1931
2204
|
},
|
|
1932
2205
|
{
|
|
@@ -2076,6 +2349,13 @@
|
|
|
2076
2349
|
}
|
|
2077
2350
|
},
|
|
2078
2351
|
"parameters": [
|
|
2352
|
+
{
|
|
2353
|
+
"name": "authorization",
|
|
2354
|
+
"description": " make required after integ is done",
|
|
2355
|
+
"in": "header",
|
|
2356
|
+
"required": false,
|
|
2357
|
+
"type": "string"
|
|
2358
|
+
},
|
|
2079
2359
|
{
|
|
2080
2360
|
"name": "body",
|
|
2081
2361
|
"in": "body",
|
|
@@ -2113,6 +2393,12 @@
|
|
|
2113
2393
|
}
|
|
2114
2394
|
},
|
|
2115
2395
|
"parameters": [
|
|
2396
|
+
{
|
|
2397
|
+
"name": "authorization",
|
|
2398
|
+
"in": "header",
|
|
2399
|
+
"required": false,
|
|
2400
|
+
"type": "string"
|
|
2401
|
+
},
|
|
2116
2402
|
{
|
|
2117
2403
|
"name": "auth",
|
|
2118
2404
|
"in": "query",
|
|
@@ -2348,6 +2634,13 @@
|
|
|
2348
2634
|
}
|
|
2349
2635
|
},
|
|
2350
2636
|
"parameters": [
|
|
2637
|
+
{
|
|
2638
|
+
"name": "authorizatio",
|
|
2639
|
+
"description": " make required after integ is done",
|
|
2640
|
+
"in": "header",
|
|
2641
|
+
"required": false,
|
|
2642
|
+
"type": "string"
|
|
2643
|
+
},
|
|
2351
2644
|
{
|
|
2352
2645
|
"name": "account_index",
|
|
2353
2646
|
"in": "query",
|
|
@@ -2357,8 +2650,9 @@
|
|
|
2357
2650
|
},
|
|
2358
2651
|
{
|
|
2359
2652
|
"name": "auth",
|
|
2653
|
+
"description": " made optional to support header auth clients",
|
|
2360
2654
|
"in": "query",
|
|
2361
|
-
"required":
|
|
2655
|
+
"required": false,
|
|
2362
2656
|
"type": "string"
|
|
2363
2657
|
},
|
|
2364
2658
|
{
|
|
@@ -2613,6 +2907,10 @@
|
|
|
2613
2907
|
"AccountMetadata": {
|
|
2614
2908
|
"type": "object",
|
|
2615
2909
|
"properties": {
|
|
2910
|
+
"account_index": {
|
|
2911
|
+
"type": "integer",
|
|
2912
|
+
"format": "int64"
|
|
2913
|
+
},
|
|
2616
2914
|
"name": {
|
|
2617
2915
|
"type": "string"
|
|
2618
2916
|
},
|
|
@@ -2621,23 +2919,45 @@
|
|
|
2621
2919
|
},
|
|
2622
2920
|
"can_invite": {
|
|
2623
2921
|
"type": "boolean",
|
|
2624
|
-
"format": "boolean"
|
|
2922
|
+
"format": "boolean",
|
|
2923
|
+
"description": " Remove After FE uses L1 meta endpoint"
|
|
2625
2924
|
},
|
|
2626
2925
|
"referral_points_percentage": {
|
|
2627
|
-
"type": "string"
|
|
2628
|
-
|
|
2629
|
-
"max_referral_usage_limit": {
|
|
2630
|
-
"type": "integer",
|
|
2631
|
-
"format": "int32"
|
|
2926
|
+
"type": "string",
|
|
2927
|
+
"description": " Remove After FE uses L1 meta endpoint"
|
|
2632
2928
|
}
|
|
2633
2929
|
},
|
|
2634
2930
|
"title": "AccountMetadata",
|
|
2635
2931
|
"required": [
|
|
2932
|
+
"account_index",
|
|
2636
2933
|
"name",
|
|
2637
2934
|
"description",
|
|
2638
2935
|
"can_invite",
|
|
2639
|
-
"referral_points_percentage"
|
|
2640
|
-
|
|
2936
|
+
"referral_points_percentage"
|
|
2937
|
+
]
|
|
2938
|
+
},
|
|
2939
|
+
"AccountMetadatas": {
|
|
2940
|
+
"type": "object",
|
|
2941
|
+
"properties": {
|
|
2942
|
+
"code": {
|
|
2943
|
+
"type": "integer",
|
|
2944
|
+
"format": "int32",
|
|
2945
|
+
"example": "200"
|
|
2946
|
+
},
|
|
2947
|
+
"message": {
|
|
2948
|
+
"type": "string"
|
|
2949
|
+
},
|
|
2950
|
+
"account_metadatas": {
|
|
2951
|
+
"type": "array",
|
|
2952
|
+
"items": {
|
|
2953
|
+
"$ref": "#/definitions/AccountMetadata"
|
|
2954
|
+
}
|
|
2955
|
+
}
|
|
2956
|
+
},
|
|
2957
|
+
"title": "AccountMetadatas",
|
|
2958
|
+
"required": [
|
|
2959
|
+
"code",
|
|
2960
|
+
"account_metadatas"
|
|
2641
2961
|
]
|
|
2642
2962
|
},
|
|
2643
2963
|
"AccountPnL": {
|
|
@@ -3428,6 +3748,10 @@
|
|
|
3428
3748
|
"type": "string",
|
|
3429
3749
|
"example": "46342"
|
|
3430
3750
|
},
|
|
3751
|
+
"account_index": {
|
|
3752
|
+
"type": "integer",
|
|
3753
|
+
"format": "int64"
|
|
3754
|
+
},
|
|
3431
3755
|
"name": {
|
|
3432
3756
|
"type": "string"
|
|
3433
3757
|
},
|
|
@@ -3436,14 +3760,12 @@
|
|
|
3436
3760
|
},
|
|
3437
3761
|
"can_invite": {
|
|
3438
3762
|
"type": "boolean",
|
|
3439
|
-
"format": "boolean"
|
|
3763
|
+
"format": "boolean",
|
|
3764
|
+
"description": " Remove After FE uses L1 meta endpoint"
|
|
3440
3765
|
},
|
|
3441
3766
|
"referral_points_percentage": {
|
|
3442
|
-
"type": "string"
|
|
3443
|
-
|
|
3444
|
-
"max_referral_usage_limit": {
|
|
3445
|
-
"type": "integer",
|
|
3446
|
-
"format": "int32"
|
|
3767
|
+
"type": "string",
|
|
3768
|
+
"description": " Remove After FE uses L1 meta endpoint"
|
|
3447
3769
|
},
|
|
3448
3770
|
"positions": {
|
|
3449
3771
|
"type": "array",
|
|
@@ -3476,11 +3798,11 @@
|
|
|
3476
3798
|
"pending_order_count",
|
|
3477
3799
|
"status",
|
|
3478
3800
|
"collateral",
|
|
3801
|
+
"account_index",
|
|
3479
3802
|
"name",
|
|
3480
3803
|
"description",
|
|
3481
3804
|
"can_invite",
|
|
3482
3805
|
"referral_points_percentage",
|
|
3483
|
-
"max_referral_usage_limit",
|
|
3484
3806
|
"positions",
|
|
3485
3807
|
"total_asset_value",
|
|
3486
3808
|
"pool_info",
|
|
@@ -3878,6 +4200,27 @@
|
|
|
3878
4200
|
"deposit_amount_left"
|
|
3879
4201
|
]
|
|
3880
4202
|
},
|
|
4203
|
+
"L1Metadata": {
|
|
4204
|
+
"type": "object",
|
|
4205
|
+
"properties": {
|
|
4206
|
+
"l1_address": {
|
|
4207
|
+
"type": "string"
|
|
4208
|
+
},
|
|
4209
|
+
"can_invite": {
|
|
4210
|
+
"type": "boolean",
|
|
4211
|
+
"format": "boolean"
|
|
4212
|
+
},
|
|
4213
|
+
"referral_points_percentage": {
|
|
4214
|
+
"type": "string"
|
|
4215
|
+
}
|
|
4216
|
+
},
|
|
4217
|
+
"title": "L1Metadata",
|
|
4218
|
+
"required": [
|
|
4219
|
+
"l1_address",
|
|
4220
|
+
"can_invite",
|
|
4221
|
+
"referral_points_percentage"
|
|
4222
|
+
]
|
|
4223
|
+
},
|
|
3881
4224
|
"L1ProviderInfo": {
|
|
3882
4225
|
"type": "object",
|
|
3883
4226
|
"properties": {
|
|
@@ -4016,6 +4359,122 @@
|
|
|
4016
4359
|
"entryId"
|
|
4017
4360
|
]
|
|
4018
4361
|
},
|
|
4362
|
+
"LiqTrade": {
|
|
4363
|
+
"type": "object",
|
|
4364
|
+
"properties": {
|
|
4365
|
+
"price": {
|
|
4366
|
+
"type": "string"
|
|
4367
|
+
},
|
|
4368
|
+
"size": {
|
|
4369
|
+
"type": "string"
|
|
4370
|
+
},
|
|
4371
|
+
"taker_fee": {
|
|
4372
|
+
"type": "integer",
|
|
4373
|
+
"format": "int32"
|
|
4374
|
+
},
|
|
4375
|
+
"maker_fee": {
|
|
4376
|
+
"type": "integer",
|
|
4377
|
+
"format": "int32"
|
|
4378
|
+
}
|
|
4379
|
+
},
|
|
4380
|
+
"title": "LiqTrade",
|
|
4381
|
+
"required": [
|
|
4382
|
+
"price",
|
|
4383
|
+
"size",
|
|
4384
|
+
"taker_fee",
|
|
4385
|
+
"maker_fee"
|
|
4386
|
+
]
|
|
4387
|
+
},
|
|
4388
|
+
"Liquidation": {
|
|
4389
|
+
"type": "object",
|
|
4390
|
+
"properties": {
|
|
4391
|
+
"id": {
|
|
4392
|
+
"type": "integer",
|
|
4393
|
+
"format": "int64"
|
|
4394
|
+
},
|
|
4395
|
+
"market_id": {
|
|
4396
|
+
"type": "integer",
|
|
4397
|
+
"format": "uint8"
|
|
4398
|
+
},
|
|
4399
|
+
"type": {
|
|
4400
|
+
"type": "string",
|
|
4401
|
+
"enum": [
|
|
4402
|
+
"partial",
|
|
4403
|
+
"deleverage"
|
|
4404
|
+
]
|
|
4405
|
+
},
|
|
4406
|
+
"trade": {
|
|
4407
|
+
"$ref": "#/definitions/LiqTrade"
|
|
4408
|
+
},
|
|
4409
|
+
"info": {
|
|
4410
|
+
"$ref": "#/definitions/LiquidationInfo"
|
|
4411
|
+
},
|
|
4412
|
+
"executed_at": {
|
|
4413
|
+
"type": "integer",
|
|
4414
|
+
"format": "int64"
|
|
4415
|
+
}
|
|
4416
|
+
},
|
|
4417
|
+
"title": "Liquidation",
|
|
4418
|
+
"required": [
|
|
4419
|
+
"id",
|
|
4420
|
+
"market_id",
|
|
4421
|
+
"type",
|
|
4422
|
+
"trade",
|
|
4423
|
+
"info",
|
|
4424
|
+
"executed_at"
|
|
4425
|
+
]
|
|
4426
|
+
},
|
|
4427
|
+
"LiquidationInfo": {
|
|
4428
|
+
"type": "object",
|
|
4429
|
+
"properties": {
|
|
4430
|
+
"positions": {
|
|
4431
|
+
"$ref": "#/definitions/mapuint8AccountPosition"
|
|
4432
|
+
},
|
|
4433
|
+
"risk_info_before": {
|
|
4434
|
+
"$ref": "#/definitions/RiskInfo"
|
|
4435
|
+
},
|
|
4436
|
+
"risk_info_after": {
|
|
4437
|
+
"$ref": "#/definitions/RiskInfo"
|
|
4438
|
+
},
|
|
4439
|
+
"mark_prices": {
|
|
4440
|
+
"$ref": "#/definitions/mapuint8uint32"
|
|
4441
|
+
}
|
|
4442
|
+
},
|
|
4443
|
+
"title": "LiquidationInfo",
|
|
4444
|
+
"required": [
|
|
4445
|
+
"positions",
|
|
4446
|
+
"risk_info_before",
|
|
4447
|
+
"risk_info_after",
|
|
4448
|
+
"mark_prices"
|
|
4449
|
+
]
|
|
4450
|
+
},
|
|
4451
|
+
"LiquidationInfos": {
|
|
4452
|
+
"type": "object",
|
|
4453
|
+
"properties": {
|
|
4454
|
+
"code": {
|
|
4455
|
+
"type": "integer",
|
|
4456
|
+
"format": "int32",
|
|
4457
|
+
"example": "200"
|
|
4458
|
+
},
|
|
4459
|
+
"message": {
|
|
4460
|
+
"type": "string"
|
|
4461
|
+
},
|
|
4462
|
+
"liquidations": {
|
|
4463
|
+
"type": "array",
|
|
4464
|
+
"items": {
|
|
4465
|
+
"$ref": "#/definitions/Liquidation"
|
|
4466
|
+
}
|
|
4467
|
+
},
|
|
4468
|
+
"next_cursor": {
|
|
4469
|
+
"type": "string"
|
|
4470
|
+
}
|
|
4471
|
+
},
|
|
4472
|
+
"title": "LiquidationInfos",
|
|
4473
|
+
"required": [
|
|
4474
|
+
"code",
|
|
4475
|
+
"liquidations"
|
|
4476
|
+
]
|
|
4477
|
+
},
|
|
4019
4478
|
"MarketInfo": {
|
|
4020
4479
|
"type": "object",
|
|
4021
4480
|
"properties": {
|
|
@@ -4966,6 +5425,10 @@
|
|
|
4966
5425
|
"type": "string",
|
|
4967
5426
|
"example": "46342"
|
|
4968
5427
|
},
|
|
5428
|
+
"account_index": {
|
|
5429
|
+
"type": "integer",
|
|
5430
|
+
"format": "int64"
|
|
5431
|
+
},
|
|
4969
5432
|
"name": {
|
|
4970
5433
|
"type": "string"
|
|
4971
5434
|
},
|
|
@@ -4974,14 +5437,12 @@
|
|
|
4974
5437
|
},
|
|
4975
5438
|
"can_invite": {
|
|
4976
5439
|
"type": "boolean",
|
|
4977
|
-
"format": "boolean"
|
|
5440
|
+
"format": "boolean",
|
|
5441
|
+
"description": " Remove After FE uses L1 meta endpoint"
|
|
4978
5442
|
},
|
|
4979
5443
|
"referral_points_percentage": {
|
|
4980
|
-
"type": "string"
|
|
4981
|
-
|
|
4982
|
-
"max_referral_usage_limit": {
|
|
4983
|
-
"type": "integer",
|
|
4984
|
-
"format": "int32"
|
|
5444
|
+
"type": "string",
|
|
5445
|
+
"description": " Remove After FE uses L1 meta endpoint"
|
|
4985
5446
|
},
|
|
4986
5447
|
"total_asset_value": {
|
|
4987
5448
|
"type": "string",
|
|
@@ -5005,11 +5466,11 @@
|
|
|
5005
5466
|
"pending_order_count",
|
|
5006
5467
|
"status",
|
|
5007
5468
|
"collateral",
|
|
5469
|
+
"account_index",
|
|
5008
5470
|
"name",
|
|
5009
5471
|
"description",
|
|
5010
5472
|
"can_invite",
|
|
5011
5473
|
"referral_points_percentage",
|
|
5012
|
-
"max_referral_usage_limit",
|
|
5013
5474
|
"total_asset_value",
|
|
5014
5475
|
"pool_info"
|
|
5015
5476
|
]
|
|
@@ -5269,7 +5730,8 @@
|
|
|
5269
5730
|
"example": "'liq:17:5898'"
|
|
5270
5731
|
},
|
|
5271
5732
|
"auth": {
|
|
5272
|
-
"type": "string"
|
|
5733
|
+
"type": "string",
|
|
5734
|
+
"description": " made optional to support header auth clients"
|
|
5273
5735
|
},
|
|
5274
5736
|
"account_index": {
|
|
5275
5737
|
"type": "integer",
|
|
@@ -5279,7 +5741,6 @@
|
|
|
5279
5741
|
"title": "ReqAckNotif",
|
|
5280
5742
|
"required": [
|
|
5281
5743
|
"notif_id",
|
|
5282
|
-
"auth",
|
|
5283
5744
|
"account_index"
|
|
5284
5745
|
]
|
|
5285
5746
|
},
|
|
@@ -5327,7 +5788,8 @@
|
|
|
5327
5788
|
"type": "object",
|
|
5328
5789
|
"properties": {
|
|
5329
5790
|
"auth": {
|
|
5330
|
-
"type": "string"
|
|
5791
|
+
"type": "string",
|
|
5792
|
+
"description": " made optional to support header auth clients"
|
|
5331
5793
|
},
|
|
5332
5794
|
"account_index": {
|
|
5333
5795
|
"type": "integer",
|
|
@@ -5336,7 +5798,6 @@
|
|
|
5336
5798
|
},
|
|
5337
5799
|
"title": "ReqCreateReferralCode",
|
|
5338
5800
|
"required": [
|
|
5339
|
-
"auth",
|
|
5340
5801
|
"account_index"
|
|
5341
5802
|
]
|
|
5342
5803
|
},
|
|
@@ -5362,14 +5823,14 @@
|
|
|
5362
5823
|
"type": "string"
|
|
5363
5824
|
},
|
|
5364
5825
|
"auth": {
|
|
5365
|
-
"type": "string"
|
|
5826
|
+
"type": "string",
|
|
5827
|
+
"description": " made optional to support header auth clients"
|
|
5366
5828
|
}
|
|
5367
5829
|
},
|
|
5368
5830
|
"title": "ReqFastwithdraw",
|
|
5369
5831
|
"required": [
|
|
5370
5832
|
"tx_info",
|
|
5371
|
-
"to_address"
|
|
5372
|
-
"auth"
|
|
5833
|
+
"to_address"
|
|
5373
5834
|
]
|
|
5374
5835
|
},
|
|
5375
5836
|
"ReqGetAccount": {
|
|
@@ -5404,14 +5865,14 @@
|
|
|
5404
5865
|
"format": "uint8"
|
|
5405
5866
|
},
|
|
5406
5867
|
"auth": {
|
|
5407
|
-
"type": "string"
|
|
5868
|
+
"type": "string",
|
|
5869
|
+
"description": " made optional to support header auth clients"
|
|
5408
5870
|
}
|
|
5409
5871
|
},
|
|
5410
5872
|
"title": "ReqGetAccountActiveOrders",
|
|
5411
5873
|
"required": [
|
|
5412
5874
|
"account_index",
|
|
5413
|
-
"market_id"
|
|
5414
|
-
"auth"
|
|
5875
|
+
"market_id"
|
|
5415
5876
|
]
|
|
5416
5877
|
},
|
|
5417
5878
|
"ReqGetAccountApiKeys": {
|
|
@@ -5448,7 +5909,8 @@
|
|
|
5448
5909
|
"type": "object",
|
|
5449
5910
|
"properties": {
|
|
5450
5911
|
"auth": {
|
|
5451
|
-
"type": "string"
|
|
5912
|
+
"type": "string",
|
|
5913
|
+
"description": " made optional to support header auth clients"
|
|
5452
5914
|
},
|
|
5453
5915
|
"account_index": {
|
|
5454
5916
|
"type": "integer",
|
|
@@ -5479,7 +5941,6 @@
|
|
|
5479
5941
|
},
|
|
5480
5942
|
"title": "ReqGetAccountInactiveOrders",
|
|
5481
5943
|
"required": [
|
|
5482
|
-
"auth",
|
|
5483
5944
|
"account_index",
|
|
5484
5945
|
"limit"
|
|
5485
5946
|
]
|
|
@@ -5492,13 +5953,36 @@
|
|
|
5492
5953
|
"format": "int64"
|
|
5493
5954
|
},
|
|
5494
5955
|
"auth": {
|
|
5495
|
-
"type": "string"
|
|
5956
|
+
"type": "string",
|
|
5957
|
+
"description": " made optional to support header auth clients"
|
|
5496
5958
|
}
|
|
5497
5959
|
},
|
|
5498
5960
|
"title": "ReqGetAccountLimits",
|
|
5499
5961
|
"required": [
|
|
5500
|
-
"account_index"
|
|
5501
|
-
|
|
5962
|
+
"account_index"
|
|
5963
|
+
]
|
|
5964
|
+
},
|
|
5965
|
+
"ReqGetAccountMetadata": {
|
|
5966
|
+
"type": "object",
|
|
5967
|
+
"properties": {
|
|
5968
|
+
"by": {
|
|
5969
|
+
"type": "string",
|
|
5970
|
+
"enum": [
|
|
5971
|
+
"index",
|
|
5972
|
+
"l1_address"
|
|
5973
|
+
]
|
|
5974
|
+
},
|
|
5975
|
+
"value": {
|
|
5976
|
+
"type": "string"
|
|
5977
|
+
},
|
|
5978
|
+
"auth": {
|
|
5979
|
+
"type": "string"
|
|
5980
|
+
}
|
|
5981
|
+
},
|
|
5982
|
+
"title": "ReqGetAccountMetadata",
|
|
5983
|
+
"required": [
|
|
5984
|
+
"by",
|
|
5985
|
+
"value"
|
|
5502
5986
|
]
|
|
5503
5987
|
},
|
|
5504
5988
|
"ReqGetAccountPendingTxs": {
|
|
@@ -5725,7 +6209,8 @@
|
|
|
5725
6209
|
"format": "int64"
|
|
5726
6210
|
},
|
|
5727
6211
|
"auth": {
|
|
5728
|
-
"type": "string"
|
|
6212
|
+
"type": "string",
|
|
6213
|
+
"description": " made optional to support header auth clients"
|
|
5729
6214
|
},
|
|
5730
6215
|
"l1_address": {
|
|
5731
6216
|
"type": "string"
|
|
@@ -5745,7 +6230,6 @@
|
|
|
5745
6230
|
"title": "ReqGetDepositHistory",
|
|
5746
6231
|
"required": [
|
|
5747
6232
|
"account_index",
|
|
5748
|
-
"auth",
|
|
5749
6233
|
"l1_address"
|
|
5750
6234
|
]
|
|
5751
6235
|
},
|
|
@@ -5761,13 +6245,13 @@
|
|
|
5761
6245
|
"format": "int64"
|
|
5762
6246
|
},
|
|
5763
6247
|
"auth": {
|
|
5764
|
-
"type": "string"
|
|
6248
|
+
"type": "string",
|
|
6249
|
+
"description": " made optional to support header auth clients"
|
|
5765
6250
|
}
|
|
5766
6251
|
},
|
|
5767
6252
|
"title": "ReqGetFastWithdrawInfo",
|
|
5768
6253
|
"required": [
|
|
5769
|
-
"account_index"
|
|
5770
|
-
"auth"
|
|
6254
|
+
"account_index"
|
|
5771
6255
|
]
|
|
5772
6256
|
},
|
|
5773
6257
|
"ReqGetFundings": {
|
|
@@ -5807,6 +6291,22 @@
|
|
|
5807
6291
|
"count_back"
|
|
5808
6292
|
]
|
|
5809
6293
|
},
|
|
6294
|
+
"ReqGetL1Metadata": {
|
|
6295
|
+
"type": "object",
|
|
6296
|
+
"properties": {
|
|
6297
|
+
"auth": {
|
|
6298
|
+
"type": "string",
|
|
6299
|
+
"description": " made optional to support header auth clients"
|
|
6300
|
+
},
|
|
6301
|
+
"l1_address": {
|
|
6302
|
+
"type": "string"
|
|
6303
|
+
}
|
|
6304
|
+
},
|
|
6305
|
+
"title": "ReqGetL1Metadata",
|
|
6306
|
+
"required": [
|
|
6307
|
+
"l1_address"
|
|
6308
|
+
]
|
|
6309
|
+
},
|
|
5810
6310
|
"ReqGetL1Tx": {
|
|
5811
6311
|
"type": "object",
|
|
5812
6312
|
"properties": {
|
|
@@ -5850,6 +6350,37 @@
|
|
|
5850
6350
|
"type"
|
|
5851
6351
|
]
|
|
5852
6352
|
},
|
|
6353
|
+
"ReqGetLiquidationInfos": {
|
|
6354
|
+
"type": "object",
|
|
6355
|
+
"properties": {
|
|
6356
|
+
"auth": {
|
|
6357
|
+
"type": "string",
|
|
6358
|
+
"description": " made optional to support header auth clients"
|
|
6359
|
+
},
|
|
6360
|
+
"account_index": {
|
|
6361
|
+
"type": "integer",
|
|
6362
|
+
"format": "int64"
|
|
6363
|
+
},
|
|
6364
|
+
"market_id": {
|
|
6365
|
+
"type": "integer",
|
|
6366
|
+
"format": "uint8"
|
|
6367
|
+
},
|
|
6368
|
+
"cursor": {
|
|
6369
|
+
"type": "string"
|
|
6370
|
+
},
|
|
6371
|
+
"limit": {
|
|
6372
|
+
"type": "integer",
|
|
6373
|
+
"format": "int64",
|
|
6374
|
+
"maximum": 100,
|
|
6375
|
+
"minimum": 1
|
|
6376
|
+
}
|
|
6377
|
+
},
|
|
6378
|
+
"title": "ReqGetLiquidationInfos",
|
|
6379
|
+
"required": [
|
|
6380
|
+
"account_index",
|
|
6381
|
+
"limit"
|
|
6382
|
+
]
|
|
6383
|
+
},
|
|
5853
6384
|
"ReqGetNextNonce": {
|
|
5854
6385
|
"type": "object",
|
|
5855
6386
|
"properties": {
|
|
@@ -6071,7 +6602,8 @@
|
|
|
6071
6602
|
"type": "object",
|
|
6072
6603
|
"properties": {
|
|
6073
6604
|
"auth": {
|
|
6074
|
-
"type": "string"
|
|
6605
|
+
"type": "string",
|
|
6606
|
+
"description": " made optional to support header auth clients"
|
|
6075
6607
|
},
|
|
6076
6608
|
"account_index": {
|
|
6077
6609
|
"type": "integer",
|
|
@@ -6080,7 +6612,6 @@
|
|
|
6080
6612
|
},
|
|
6081
6613
|
"title": "ReqGetReferralCode",
|
|
6082
6614
|
"required": [
|
|
6083
|
-
"auth",
|
|
6084
6615
|
"account_index"
|
|
6085
6616
|
]
|
|
6086
6617
|
},
|
|
@@ -6088,7 +6619,8 @@
|
|
|
6088
6619
|
"type": "object",
|
|
6089
6620
|
"properties": {
|
|
6090
6621
|
"auth": {
|
|
6091
|
-
"type": "string"
|
|
6622
|
+
"type": "string",
|
|
6623
|
+
"description": " made optional to support header auth clients"
|
|
6092
6624
|
},
|
|
6093
6625
|
"account_index": {
|
|
6094
6626
|
"type": "integer",
|
|
@@ -6097,7 +6629,6 @@
|
|
|
6097
6629
|
},
|
|
6098
6630
|
"title": "ReqGetReferralPoints",
|
|
6099
6631
|
"required": [
|
|
6100
|
-
"auth",
|
|
6101
6632
|
"account_index"
|
|
6102
6633
|
]
|
|
6103
6634
|
},
|
|
@@ -6190,7 +6721,8 @@
|
|
|
6190
6721
|
"format": "int64"
|
|
6191
6722
|
},
|
|
6192
6723
|
"auth": {
|
|
6193
|
-
"type": "string"
|
|
6724
|
+
"type": "string",
|
|
6725
|
+
"description": " made optional to support header auth clients"
|
|
6194
6726
|
},
|
|
6195
6727
|
"cursor": {
|
|
6196
6728
|
"type": "string"
|
|
@@ -6206,8 +6738,7 @@
|
|
|
6206
6738
|
},
|
|
6207
6739
|
"title": "ReqGetWithdrawHistory",
|
|
6208
6740
|
"required": [
|
|
6209
|
-
"account_index"
|
|
6210
|
-
"auth"
|
|
6741
|
+
"account_index"
|
|
6211
6742
|
]
|
|
6212
6743
|
},
|
|
6213
6744
|
"ReqIsWhitelisted": {
|
|
@@ -6385,6 +6916,34 @@
|
|
|
6385
6916
|
"code"
|
|
6386
6917
|
]
|
|
6387
6918
|
},
|
|
6919
|
+
"RiskInfo": {
|
|
6920
|
+
"type": "object",
|
|
6921
|
+
"properties": {
|
|
6922
|
+
"collateral": {
|
|
6923
|
+
"type": "string"
|
|
6924
|
+
},
|
|
6925
|
+
"total_account_value": {
|
|
6926
|
+
"type": "string"
|
|
6927
|
+
},
|
|
6928
|
+
"initial_margin_req": {
|
|
6929
|
+
"type": "string"
|
|
6930
|
+
},
|
|
6931
|
+
"maintenance_margin_req": {
|
|
6932
|
+
"type": "string"
|
|
6933
|
+
},
|
|
6934
|
+
"close_out_margin_req": {
|
|
6935
|
+
"type": "string"
|
|
6936
|
+
}
|
|
6937
|
+
},
|
|
6938
|
+
"title": "RiskInfo",
|
|
6939
|
+
"required": [
|
|
6940
|
+
"collateral",
|
|
6941
|
+
"total_account_value",
|
|
6942
|
+
"initial_margin_req",
|
|
6943
|
+
"maintenance_margin_req",
|
|
6944
|
+
"close_out_margin_req"
|
|
6945
|
+
]
|
|
6946
|
+
},
|
|
6388
6947
|
"SimpleOrder": {
|
|
6389
6948
|
"type": "object",
|
|
6390
6949
|
"properties": {
|