zklighter-perps 1.0.182 → 1.0.184
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 +1 -0
- package/apis/index.ts +1 -0
- package/models/Account.ts +9 -0
- package/models/DetailedAccount.ts +9 -0
- package/models/EnrichedTx.ts +9 -0
- package/models/PublicPoolInfo.ts +9 -0
- package/models/PublicPoolMetadata.ts +18 -0
- package/models/TransferHistoryItem.ts +9 -0
- package/models/Tx.ts +9 -0
- package/openapi.json +71 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
package/apis/index.ts
CHANGED
package/models/Account.ts
CHANGED
|
@@ -61,6 +61,12 @@ export interface Account {
|
|
|
61
61
|
* @memberof Account
|
|
62
62
|
*/
|
|
63
63
|
total_order_count: number;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof Account
|
|
68
|
+
*/
|
|
69
|
+
total_isolated_order_count: number;
|
|
64
70
|
/**
|
|
65
71
|
*
|
|
66
72
|
* @type {number}
|
|
@@ -97,6 +103,7 @@ export function instanceOfAccount(value: object): value is Account {
|
|
|
97
103
|
if (!('l1_address' in value) || value['l1_address'] === undefined) return false;
|
|
98
104
|
if (!('cancel_all_time' in value) || value['cancel_all_time'] === undefined) return false;
|
|
99
105
|
if (!('total_order_count' in value) || value['total_order_count'] === undefined) return false;
|
|
106
|
+
if (!('total_isolated_order_count' in value) || value['total_isolated_order_count'] === undefined) return false;
|
|
100
107
|
if (!('pending_order_count' in value) || value['pending_order_count'] === undefined) return false;
|
|
101
108
|
if (!('available_balance' in value) || value['available_balance'] === undefined) return false;
|
|
102
109
|
if (!('status' in value) || value['status'] === undefined) return false;
|
|
@@ -121,6 +128,7 @@ export function AccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): A
|
|
|
121
128
|
'l1_address': json['l1_address'],
|
|
122
129
|
'cancel_all_time': json['cancel_all_time'],
|
|
123
130
|
'total_order_count': json['total_order_count'],
|
|
131
|
+
'total_isolated_order_count': json['total_isolated_order_count'],
|
|
124
132
|
'pending_order_count': json['pending_order_count'],
|
|
125
133
|
'available_balance': json['available_balance'],
|
|
126
134
|
'status': json['status'],
|
|
@@ -141,6 +149,7 @@ export function AccountToJSON(value?: Account | null): any {
|
|
|
141
149
|
'l1_address': value['l1_address'],
|
|
142
150
|
'cancel_all_time': value['cancel_all_time'],
|
|
143
151
|
'total_order_count': value['total_order_count'],
|
|
152
|
+
'total_isolated_order_count': value['total_isolated_order_count'],
|
|
144
153
|
'pending_order_count': value['pending_order_count'],
|
|
145
154
|
'available_balance': value['available_balance'],
|
|
146
155
|
'status': value['status'],
|
|
@@ -86,6 +86,12 @@ export interface DetailedAccount {
|
|
|
86
86
|
* @memberof DetailedAccount
|
|
87
87
|
*/
|
|
88
88
|
total_order_count: number;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {number}
|
|
92
|
+
* @memberof DetailedAccount
|
|
93
|
+
*/
|
|
94
|
+
total_isolated_order_count: number;
|
|
89
95
|
/**
|
|
90
96
|
*
|
|
91
97
|
* @type {number}
|
|
@@ -188,6 +194,7 @@ export function instanceOfDetailedAccount(value: object): value is DetailedAccou
|
|
|
188
194
|
if (!('l1_address' in value) || value['l1_address'] === undefined) return false;
|
|
189
195
|
if (!('cancel_all_time' in value) || value['cancel_all_time'] === undefined) return false;
|
|
190
196
|
if (!('total_order_count' in value) || value['total_order_count'] === undefined) return false;
|
|
197
|
+
if (!('total_isolated_order_count' in value) || value['total_isolated_order_count'] === undefined) return false;
|
|
191
198
|
if (!('pending_order_count' in value) || value['pending_order_count'] === undefined) return false;
|
|
192
199
|
if (!('available_balance' in value) || value['available_balance'] === undefined) return false;
|
|
193
200
|
if (!('status' in value) || value['status'] === undefined) return false;
|
|
@@ -223,6 +230,7 @@ export function DetailedAccountFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
223
230
|
'l1_address': json['l1_address'],
|
|
224
231
|
'cancel_all_time': json['cancel_all_time'],
|
|
225
232
|
'total_order_count': json['total_order_count'],
|
|
233
|
+
'total_isolated_order_count': json['total_isolated_order_count'],
|
|
226
234
|
'pending_order_count': json['pending_order_count'],
|
|
227
235
|
'available_balance': json['available_balance'],
|
|
228
236
|
'status': json['status'],
|
|
@@ -254,6 +262,7 @@ export function DetailedAccountToJSON(value?: DetailedAccount | null): any {
|
|
|
254
262
|
'l1_address': value['l1_address'],
|
|
255
263
|
'cancel_all_time': value['cancel_all_time'],
|
|
256
264
|
'total_order_count': value['total_order_count'],
|
|
265
|
+
'total_isolated_order_count': value['total_isolated_order_count'],
|
|
257
266
|
'pending_order_count': value['pending_order_count'],
|
|
258
267
|
'available_balance': value['available_balance'],
|
|
259
268
|
'status': value['status'],
|
package/models/EnrichedTx.ts
CHANGED
|
@@ -121,6 +121,12 @@ export interface EnrichedTx {
|
|
|
121
121
|
* @memberof EnrichedTx
|
|
122
122
|
*/
|
|
123
123
|
parent_hash: string;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {number}
|
|
127
|
+
* @memberof EnrichedTx
|
|
128
|
+
*/
|
|
129
|
+
api_key_index: number;
|
|
124
130
|
/**
|
|
125
131
|
*
|
|
126
132
|
* @type {number}
|
|
@@ -155,6 +161,7 @@ export function instanceOfEnrichedTx(value: object): value is EnrichedTx {
|
|
|
155
161
|
if (!('executed_at' in value) || value['executed_at'] === undefined) return false;
|
|
156
162
|
if (!('sequence_index' in value) || value['sequence_index'] === undefined) return false;
|
|
157
163
|
if (!('parent_hash' in value) || value['parent_hash'] === undefined) return false;
|
|
164
|
+
if (!('api_key_index' in value) || value['api_key_index'] === undefined) return false;
|
|
158
165
|
if (!('committed_at' in value) || value['committed_at'] === undefined) return false;
|
|
159
166
|
if (!('verified_at' in value) || value['verified_at'] === undefined) return false;
|
|
160
167
|
return true;
|
|
@@ -187,6 +194,7 @@ export function EnrichedTxFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
187
194
|
'executed_at': json['executed_at'],
|
|
188
195
|
'sequence_index': json['sequence_index'],
|
|
189
196
|
'parent_hash': json['parent_hash'],
|
|
197
|
+
'api_key_index': json['api_key_index'],
|
|
190
198
|
'committed_at': json['committed_at'],
|
|
191
199
|
'verified_at': json['verified_at'],
|
|
192
200
|
};
|
|
@@ -215,6 +223,7 @@ export function EnrichedTxToJSON(value?: EnrichedTx | null): any {
|
|
|
215
223
|
'executed_at': value['executed_at'],
|
|
216
224
|
'sequence_index': value['sequence_index'],
|
|
217
225
|
'parent_hash': value['parent_hash'],
|
|
226
|
+
'api_key_index': value['api_key_index'],
|
|
218
227
|
'committed_at': value['committed_at'],
|
|
219
228
|
'verified_at': value['verified_at'],
|
|
220
229
|
};
|
package/models/PublicPoolInfo.ts
CHANGED
|
@@ -68,6 +68,12 @@ export interface PublicPoolInfo {
|
|
|
68
68
|
* @memberof PublicPoolInfo
|
|
69
69
|
*/
|
|
70
70
|
annual_percentage_yield: number;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {number}
|
|
74
|
+
* @memberof PublicPoolInfo
|
|
75
|
+
*/
|
|
76
|
+
sharpe_ratio: number;
|
|
71
77
|
/**
|
|
72
78
|
*
|
|
73
79
|
* @type {Array<DailyReturn>}
|
|
@@ -92,6 +98,7 @@ export function instanceOfPublicPoolInfo(value: object): value is PublicPoolInfo
|
|
|
92
98
|
if (!('total_shares' in value) || value['total_shares'] === undefined) return false;
|
|
93
99
|
if (!('operator_shares' in value) || value['operator_shares'] === undefined) return false;
|
|
94
100
|
if (!('annual_percentage_yield' in value) || value['annual_percentage_yield'] === undefined) return false;
|
|
101
|
+
if (!('sharpe_ratio' in value) || value['sharpe_ratio'] === undefined) return false;
|
|
95
102
|
if (!('daily_returns' in value) || value['daily_returns'] === undefined) return false;
|
|
96
103
|
if (!('share_prices' in value) || value['share_prices'] === undefined) return false;
|
|
97
104
|
return true;
|
|
@@ -113,6 +120,7 @@ export function PublicPoolInfoFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
113
120
|
'total_shares': json['total_shares'],
|
|
114
121
|
'operator_shares': json['operator_shares'],
|
|
115
122
|
'annual_percentage_yield': json['annual_percentage_yield'],
|
|
123
|
+
'sharpe_ratio': json['sharpe_ratio'],
|
|
116
124
|
'daily_returns': ((json['daily_returns'] as Array<any>).map(DailyReturnFromJSON)),
|
|
117
125
|
'share_prices': ((json['share_prices'] as Array<any>).map(SharePriceFromJSON)),
|
|
118
126
|
};
|
|
@@ -130,6 +138,7 @@ export function PublicPoolInfoToJSON(value?: PublicPoolInfo | null): any {
|
|
|
130
138
|
'total_shares': value['total_shares'],
|
|
131
139
|
'operator_shares': value['operator_shares'],
|
|
132
140
|
'annual_percentage_yield': value['annual_percentage_yield'],
|
|
141
|
+
'sharpe_ratio': value['sharpe_ratio'],
|
|
133
142
|
'daily_returns': ((value['daily_returns'] as Array<any>).map(DailyReturnToJSON)),
|
|
134
143
|
'share_prices': ((value['share_prices'] as Array<any>).map(SharePriceToJSON)),
|
|
135
144
|
};
|
|
@@ -44,6 +44,12 @@ export interface PublicPoolMetadata {
|
|
|
44
44
|
* @memberof PublicPoolMetadata
|
|
45
45
|
*/
|
|
46
46
|
account_index: number;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof PublicPoolMetadata
|
|
51
|
+
*/
|
|
52
|
+
created_at: number;
|
|
47
53
|
/**
|
|
48
54
|
*
|
|
49
55
|
* @type {number}
|
|
@@ -74,6 +80,12 @@ export interface PublicPoolMetadata {
|
|
|
74
80
|
* @memberof PublicPoolMetadata
|
|
75
81
|
*/
|
|
76
82
|
annual_percentage_yield: number;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {number}
|
|
86
|
+
* @memberof PublicPoolMetadata
|
|
87
|
+
*/
|
|
88
|
+
sharpe_ratio: number;
|
|
77
89
|
/**
|
|
78
90
|
*
|
|
79
91
|
* @type {number}
|
|
@@ -112,11 +124,13 @@ export interface PublicPoolMetadata {
|
|
|
112
124
|
export function instanceOfPublicPoolMetadata(value: object): value is PublicPoolMetadata {
|
|
113
125
|
if (!('code' in value) || value['code'] === undefined) return false;
|
|
114
126
|
if (!('account_index' in value) || value['account_index'] === undefined) return false;
|
|
127
|
+
if (!('created_at' in value) || value['created_at'] === undefined) return false;
|
|
115
128
|
if (!('master_account_index' in value) || value['master_account_index'] === undefined) return false;
|
|
116
129
|
if (!('account_type' in value) || value['account_type'] === undefined) return false;
|
|
117
130
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
118
131
|
if (!('l1_address' in value) || value['l1_address'] === undefined) return false;
|
|
119
132
|
if (!('annual_percentage_yield' in value) || value['annual_percentage_yield'] === undefined) return false;
|
|
133
|
+
if (!('sharpe_ratio' in value) || value['sharpe_ratio'] === undefined) return false;
|
|
120
134
|
if (!('status' in value) || value['status'] === undefined) return false;
|
|
121
135
|
if (!('operator_fee' in value) || value['operator_fee'] === undefined) return false;
|
|
122
136
|
if (!('total_asset_value' in value) || value['total_asset_value'] === undefined) return false;
|
|
@@ -137,11 +151,13 @@ export function PublicPoolMetadataFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
137
151
|
'code': json['code'],
|
|
138
152
|
'message': json['message'] == null ? undefined : json['message'],
|
|
139
153
|
'account_index': json['account_index'],
|
|
154
|
+
'created_at': json['created_at'],
|
|
140
155
|
'master_account_index': json['master_account_index'],
|
|
141
156
|
'account_type': json['account_type'],
|
|
142
157
|
'name': json['name'],
|
|
143
158
|
'l1_address': json['l1_address'],
|
|
144
159
|
'annual_percentage_yield': json['annual_percentage_yield'],
|
|
160
|
+
'sharpe_ratio': json['sharpe_ratio'],
|
|
145
161
|
'status': json['status'],
|
|
146
162
|
'operator_fee': json['operator_fee'],
|
|
147
163
|
'total_asset_value': json['total_asset_value'],
|
|
@@ -159,11 +175,13 @@ export function PublicPoolMetadataToJSON(value?: PublicPoolMetadata | null): any
|
|
|
159
175
|
'code': value['code'],
|
|
160
176
|
'message': value['message'],
|
|
161
177
|
'account_index': value['account_index'],
|
|
178
|
+
'created_at': value['created_at'],
|
|
162
179
|
'master_account_index': value['master_account_index'],
|
|
163
180
|
'account_type': value['account_type'],
|
|
164
181
|
'name': value['name'],
|
|
165
182
|
'l1_address': value['l1_address'],
|
|
166
183
|
'annual_percentage_yield': value['annual_percentage_yield'],
|
|
184
|
+
'sharpe_ratio': value['sharpe_ratio'],
|
|
167
185
|
'status': value['status'],
|
|
168
186
|
'operator_fee': value['operator_fee'],
|
|
169
187
|
'total_asset_value': value['total_asset_value'],
|
|
@@ -37,6 +37,12 @@ export interface TransferHistoryItem {
|
|
|
37
37
|
* @memberof TransferHistoryItem
|
|
38
38
|
*/
|
|
39
39
|
amount: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof TransferHistoryItem
|
|
44
|
+
*/
|
|
45
|
+
fee: string;
|
|
40
46
|
/**
|
|
41
47
|
*
|
|
42
48
|
* @type {number}
|
|
@@ -134,6 +140,7 @@ export function instanceOfTransferHistoryItem(value: object): value is TransferH
|
|
|
134
140
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
135
141
|
if (!('asset_id' in value) || value['asset_id'] === undefined) return false;
|
|
136
142
|
if (!('amount' in value) || value['amount'] === undefined) return false;
|
|
143
|
+
if (!('fee' in value) || value['fee'] === undefined) return false;
|
|
137
144
|
if (!('timestamp' in value) || value['timestamp'] === undefined) return false;
|
|
138
145
|
if (!('type' in value) || value['type'] === undefined) return false;
|
|
139
146
|
if (!('from_l1_address' in value) || value['from_l1_address'] === undefined) return false;
|
|
@@ -159,6 +166,7 @@ export function TransferHistoryItemFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
159
166
|
'id': json['id'],
|
|
160
167
|
'asset_id': json['asset_id'],
|
|
161
168
|
'amount': json['amount'],
|
|
169
|
+
'fee': json['fee'],
|
|
162
170
|
'timestamp': json['timestamp'],
|
|
163
171
|
'type': json['type'],
|
|
164
172
|
'from_l1_address': json['from_l1_address'],
|
|
@@ -180,6 +188,7 @@ export function TransferHistoryItemToJSON(value?: TransferHistoryItem | null): a
|
|
|
180
188
|
'id': value['id'],
|
|
181
189
|
'asset_id': value['asset_id'],
|
|
182
190
|
'amount': value['amount'],
|
|
191
|
+
'fee': value['fee'],
|
|
183
192
|
'timestamp': value['timestamp'],
|
|
184
193
|
'type': value['type'],
|
|
185
194
|
'from_l1_address': value['from_l1_address'],
|
package/models/Tx.ts
CHANGED
|
@@ -109,6 +109,12 @@ export interface Tx {
|
|
|
109
109
|
* @memberof Tx
|
|
110
110
|
*/
|
|
111
111
|
parent_hash: string;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {number}
|
|
115
|
+
* @memberof Tx
|
|
116
|
+
*/
|
|
117
|
+
api_key_index: number;
|
|
112
118
|
}
|
|
113
119
|
|
|
114
120
|
/**
|
|
@@ -130,6 +136,7 @@ export function instanceOfTx(value: object): value is Tx {
|
|
|
130
136
|
if (!('executed_at' in value) || value['executed_at'] === undefined) return false;
|
|
131
137
|
if (!('sequence_index' in value) || value['sequence_index'] === undefined) return false;
|
|
132
138
|
if (!('parent_hash' in value) || value['parent_hash'] === undefined) return false;
|
|
139
|
+
if (!('api_key_index' in value) || value['api_key_index'] === undefined) return false;
|
|
133
140
|
return true;
|
|
134
141
|
}
|
|
135
142
|
|
|
@@ -158,6 +165,7 @@ export function TxFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tx {
|
|
|
158
165
|
'executed_at': json['executed_at'],
|
|
159
166
|
'sequence_index': json['sequence_index'],
|
|
160
167
|
'parent_hash': json['parent_hash'],
|
|
168
|
+
'api_key_index': json['api_key_index'],
|
|
161
169
|
};
|
|
162
170
|
}
|
|
163
171
|
|
|
@@ -182,6 +190,7 @@ export function TxToJSON(value?: Tx | null): any {
|
|
|
182
190
|
'executed_at': value['executed_at'],
|
|
183
191
|
'sequence_index': value['sequence_index'],
|
|
184
192
|
'parent_hash': value['parent_hash'],
|
|
193
|
+
'api_key_index': value['api_key_index'],
|
|
185
194
|
};
|
|
186
195
|
}
|
|
187
196
|
|
package/openapi.json
CHANGED
|
@@ -1516,6 +1516,30 @@
|
|
|
1516
1516
|
"description": "Coin Gecko Orderbook"
|
|
1517
1517
|
}
|
|
1518
1518
|
},
|
|
1519
|
+
"/api/v1/geoLocation": {
|
|
1520
|
+
"get": {
|
|
1521
|
+
"summary": "geoLocation",
|
|
1522
|
+
"operationId": "geoLocation",
|
|
1523
|
+
"responses": {
|
|
1524
|
+
"200": {
|
|
1525
|
+
"description": "A successful response.",
|
|
1526
|
+
"schema": {
|
|
1527
|
+
"$ref": "#/definitions/ResultCode"
|
|
1528
|
+
}
|
|
1529
|
+
},
|
|
1530
|
+
"400": {
|
|
1531
|
+
"description": "Bad request",
|
|
1532
|
+
"schema": {
|
|
1533
|
+
"$ref": "#/definitions/ResultCode"
|
|
1534
|
+
}
|
|
1535
|
+
}
|
|
1536
|
+
},
|
|
1537
|
+
"tags": [
|
|
1538
|
+
"geo"
|
|
1539
|
+
],
|
|
1540
|
+
"description": "Get geo location"
|
|
1541
|
+
}
|
|
1542
|
+
},
|
|
1519
1543
|
"/api/v1/isWhitelisted": {
|
|
1520
1544
|
"get": {
|
|
1521
1545
|
"summary": "isWhitelisted",
|
|
@@ -3231,6 +3255,11 @@
|
|
|
3231
3255
|
"format": "int64",
|
|
3232
3256
|
"example": "100"
|
|
3233
3257
|
},
|
|
3258
|
+
"total_isolated_order_count": {
|
|
3259
|
+
"type": "integer",
|
|
3260
|
+
"format": "int64",
|
|
3261
|
+
"example": "100"
|
|
3262
|
+
},
|
|
3234
3263
|
"pending_order_count": {
|
|
3235
3264
|
"type": "integer",
|
|
3236
3265
|
"format": "int64",
|
|
@@ -3258,6 +3287,7 @@
|
|
|
3258
3287
|
"l1_address",
|
|
3259
3288
|
"cancel_all_time",
|
|
3260
3289
|
"total_order_count",
|
|
3290
|
+
"total_isolated_order_count",
|
|
3261
3291
|
"pending_order_count",
|
|
3262
3292
|
"available_balance",
|
|
3263
3293
|
"status",
|
|
@@ -4545,6 +4575,11 @@
|
|
|
4545
4575
|
"format": "int64",
|
|
4546
4576
|
"example": "100"
|
|
4547
4577
|
},
|
|
4578
|
+
"total_isolated_order_count": {
|
|
4579
|
+
"type": "integer",
|
|
4580
|
+
"format": "int64",
|
|
4581
|
+
"example": "100"
|
|
4582
|
+
},
|
|
4548
4583
|
"pending_order_count": {
|
|
4549
4584
|
"type": "integer",
|
|
4550
4585
|
"format": "int64",
|
|
@@ -4620,6 +4655,7 @@
|
|
|
4620
4655
|
"l1_address",
|
|
4621
4656
|
"cancel_all_time",
|
|
4622
4657
|
"total_order_count",
|
|
4658
|
+
"total_isolated_order_count",
|
|
4623
4659
|
"pending_order_count",
|
|
4624
4660
|
"available_balance",
|
|
4625
4661
|
"status",
|
|
@@ -4836,6 +4872,11 @@
|
|
|
4836
4872
|
"type": "string",
|
|
4837
4873
|
"example": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
|
|
4838
4874
|
},
|
|
4875
|
+
"api_key_index": {
|
|
4876
|
+
"type": "integer",
|
|
4877
|
+
"format": "uint8",
|
|
4878
|
+
"example": "0"
|
|
4879
|
+
},
|
|
4839
4880
|
"committed_at": {
|
|
4840
4881
|
"type": "integer",
|
|
4841
4882
|
"format": "int64",
|
|
@@ -4865,6 +4906,7 @@
|
|
|
4865
4906
|
"executed_at",
|
|
4866
4907
|
"sequence_index",
|
|
4867
4908
|
"parent_hash",
|
|
4909
|
+
"api_key_index",
|
|
4868
4910
|
"committed_at",
|
|
4869
4911
|
"verified_at"
|
|
4870
4912
|
]
|
|
@@ -6623,6 +6665,11 @@
|
|
|
6623
6665
|
"format": "double",
|
|
6624
6666
|
"example": "20.5000"
|
|
6625
6667
|
},
|
|
6668
|
+
"sharpe_ratio": {
|
|
6669
|
+
"type": "number",
|
|
6670
|
+
"format": "double",
|
|
6671
|
+
"example": "1.5"
|
|
6672
|
+
},
|
|
6626
6673
|
"daily_returns": {
|
|
6627
6674
|
"type": "array",
|
|
6628
6675
|
"items": {
|
|
@@ -6644,6 +6691,7 @@
|
|
|
6644
6691
|
"total_shares",
|
|
6645
6692
|
"operator_shares",
|
|
6646
6693
|
"annual_percentage_yield",
|
|
6694
|
+
"sharpe_ratio",
|
|
6647
6695
|
"daily_returns",
|
|
6648
6696
|
"share_prices"
|
|
6649
6697
|
]
|
|
@@ -6664,6 +6712,10 @@
|
|
|
6664
6712
|
"format": "int64",
|
|
6665
6713
|
"example": "3"
|
|
6666
6714
|
},
|
|
6715
|
+
"created_at": {
|
|
6716
|
+
"type": "integer",
|
|
6717
|
+
"format": "int64"
|
|
6718
|
+
},
|
|
6667
6719
|
"master_account_index": {
|
|
6668
6720
|
"type": "integer",
|
|
6669
6721
|
"format": "int64",
|
|
@@ -6686,6 +6738,11 @@
|
|
|
6686
6738
|
"format": "double",
|
|
6687
6739
|
"example": "20.5000"
|
|
6688
6740
|
},
|
|
6741
|
+
"sharpe_ratio": {
|
|
6742
|
+
"type": "number",
|
|
6743
|
+
"format": "double",
|
|
6744
|
+
"example": "1.5"
|
|
6745
|
+
},
|
|
6689
6746
|
"status": {
|
|
6690
6747
|
"type": "integer",
|
|
6691
6748
|
"format": "uint8",
|
|
@@ -6712,11 +6769,13 @@
|
|
|
6712
6769
|
"required": [
|
|
6713
6770
|
"code",
|
|
6714
6771
|
"account_index",
|
|
6772
|
+
"created_at",
|
|
6715
6773
|
"master_account_index",
|
|
6716
6774
|
"account_type",
|
|
6717
6775
|
"name",
|
|
6718
6776
|
"l1_address",
|
|
6719
6777
|
"annual_percentage_yield",
|
|
6778
|
+
"sharpe_ratio",
|
|
6720
6779
|
"status",
|
|
6721
6780
|
"operator_fee",
|
|
6722
6781
|
"total_asset_value",
|
|
@@ -9146,6 +9205,10 @@
|
|
|
9146
9205
|
"type": "string",
|
|
9147
9206
|
"example": "0.1"
|
|
9148
9207
|
},
|
|
9208
|
+
"fee": {
|
|
9209
|
+
"type": "string",
|
|
9210
|
+
"example": "3"
|
|
9211
|
+
},
|
|
9149
9212
|
"timestamp": {
|
|
9150
9213
|
"type": "integer",
|
|
9151
9214
|
"format": "int64",
|
|
@@ -9205,6 +9268,7 @@
|
|
|
9205
9268
|
"id",
|
|
9206
9269
|
"asset_id",
|
|
9207
9270
|
"amount",
|
|
9271
|
+
"fee",
|
|
9208
9272
|
"timestamp",
|
|
9209
9273
|
"type",
|
|
9210
9274
|
"from_l1_address",
|
|
@@ -9290,6 +9354,11 @@
|
|
|
9290
9354
|
"parent_hash": {
|
|
9291
9355
|
"type": "string",
|
|
9292
9356
|
"example": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
|
|
9357
|
+
},
|
|
9358
|
+
"api_key_index": {
|
|
9359
|
+
"type": "integer",
|
|
9360
|
+
"format": "uint8",
|
|
9361
|
+
"example": "0"
|
|
9293
9362
|
}
|
|
9294
9363
|
},
|
|
9295
9364
|
"title": "Tx",
|
|
@@ -9308,7 +9377,8 @@
|
|
|
9308
9377
|
"queued_at",
|
|
9309
9378
|
"executed_at",
|
|
9310
9379
|
"sequence_index",
|
|
9311
|
-
"parent_hash"
|
|
9380
|
+
"parent_hash",
|
|
9381
|
+
"api_key_index"
|
|
9312
9382
|
]
|
|
9313
9383
|
},
|
|
9314
9384
|
"TxHash": {
|