zklighter-perps 1.0.85 → 1.0.86
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/models/AccountTradeStats.ts +18 -0
- package/openapi.json +13 -1
- package/package.json +1 -1
|
@@ -31,6 +31,18 @@ export interface AccountTradeStats {
|
|
|
31
31
|
* @memberof AccountTradeStats
|
|
32
32
|
*/
|
|
33
33
|
total_volume: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof AccountTradeStats
|
|
38
|
+
*/
|
|
39
|
+
daily_trades_count: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof AccountTradeStats
|
|
44
|
+
*/
|
|
45
|
+
daily_volume: number;
|
|
34
46
|
}
|
|
35
47
|
|
|
36
48
|
/**
|
|
@@ -39,6 +51,8 @@ export interface AccountTradeStats {
|
|
|
39
51
|
export function instanceOfAccountTradeStats(value: object): value is AccountTradeStats {
|
|
40
52
|
if (!('total_trades_count' in value) || value['total_trades_count'] === undefined) return false;
|
|
41
53
|
if (!('total_volume' in value) || value['total_volume'] === undefined) return false;
|
|
54
|
+
if (!('daily_trades_count' in value) || value['daily_trades_count'] === undefined) return false;
|
|
55
|
+
if (!('daily_volume' in value) || value['daily_volume'] === undefined) return false;
|
|
42
56
|
return true;
|
|
43
57
|
}
|
|
44
58
|
|
|
@@ -54,6 +68,8 @@ export function AccountTradeStatsFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
54
68
|
|
|
55
69
|
'total_trades_count': json['total_trades_count'],
|
|
56
70
|
'total_volume': json['total_volume'],
|
|
71
|
+
'daily_trades_count': json['daily_trades_count'],
|
|
72
|
+
'daily_volume': json['daily_volume'],
|
|
57
73
|
};
|
|
58
74
|
}
|
|
59
75
|
|
|
@@ -65,6 +81,8 @@ export function AccountTradeStatsToJSON(value?: AccountTradeStats | null): any {
|
|
|
65
81
|
|
|
66
82
|
'total_trades_count': value['total_trades_count'],
|
|
67
83
|
'total_volume': value['total_volume'],
|
|
84
|
+
'daily_trades_count': value['daily_trades_count'],
|
|
85
|
+
'daily_volume': value['daily_volume'],
|
|
68
86
|
};
|
|
69
87
|
}
|
|
70
88
|
|
package/openapi.json
CHANGED
|
@@ -2466,12 +2466,24 @@
|
|
|
2466
2466
|
"type": "number",
|
|
2467
2467
|
"format": "double",
|
|
2468
2468
|
"example": "235.25"
|
|
2469
|
+
},
|
|
2470
|
+
"daily_trades_count": {
|
|
2471
|
+
"type": "integer",
|
|
2472
|
+
"format": "int64",
|
|
2473
|
+
"example": "68"
|
|
2474
|
+
},
|
|
2475
|
+
"daily_volume": {
|
|
2476
|
+
"type": "number",
|
|
2477
|
+
"format": "double",
|
|
2478
|
+
"example": "235.25"
|
|
2469
2479
|
}
|
|
2470
2480
|
},
|
|
2471
2481
|
"title": "AccountTradeStats",
|
|
2472
2482
|
"required": [
|
|
2473
2483
|
"total_trades_count",
|
|
2474
|
-
"total_volume"
|
|
2484
|
+
"total_volume",
|
|
2485
|
+
"daily_trades_count",
|
|
2486
|
+
"daily_volume"
|
|
2475
2487
|
]
|
|
2476
2488
|
},
|
|
2477
2489
|
"Accounts": {
|