@yuants/exchange 0.8.9 → 0.8.11
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/dist/exchange.d.ts +25 -2
- package/dist/index.js.map +1 -1
- package/dist/interest_rate.js +77 -0
- package/dist/interest_rate.js.map +1 -1
- package/dist/ohlc.js.map +1 -1
- package/dist/quote.js.map +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/interest_rate.d.ts +21 -1
- package/lib/interest_rate.d.ts.map +1 -1
- package/lib/interest_rate.js +79 -1
- package/lib/interest_rate.js.map +1 -1
- package/lib/ohlc.d.ts.map +1 -1
- package/lib/ohlc.js.map +1 -1
- package/lib/quote.d.ts +2 -2
- package/lib/quote.d.ts.map +1 -1
- package/lib/quote.js.map +1 -1
- package/lib/tsdoc-metadata.json +1 -1
- package/lib/types.d.ts +3 -3
- package/lib/types.d.ts.map +1 -1
- package/package.json +41 -41
- package/temp/build/typescript/ts_ji-pb6h_.json +1 -0
- package/temp/exchange.api.json +879 -203
- package/temp/exchange.api.md +13 -2
- package/temp/package-deps.json +18 -18
- package/temp/test/jest/haste-map-f50e7cc8db739b6ac2b07d506eb6fdee-b0f299de6a65bcc22988084da157f170-c4011bd9f6a16ae7503ec572fe00f1e3 +0 -0
- package/temp/test/jest/jest-transform-cache-f50e7cc8db739b6ac2b07d506eb6fdee-79ef2876fae7ca75eedb2aa53dc48338/64/data_646d968f228ac350ab7086f0a8e34c7d +14 -0
- package/temp/test/jest/jest-transform-cache-f50e7cc8db739b6ac2b07d506eb6fdee-79ef2876fae7ca75eedb2aa53dc48338/8c/jsonschemadraft07_8c0583f31edfd62dc5c9123ea57b176d +152 -0
- package/temp/test/jest/perf-cache-f50e7cc8db739b6ac2b07d506eb6fdee-da39a3ee5e6b4b0d3255bfef95601890 +1 -0
package/temp/exchange.api.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"metadata": {
|
|
3
3
|
"toolPackage": "@microsoft/api-extractor",
|
|
4
|
-
"toolVersion": "7.
|
|
5
|
-
"schemaVersion":
|
|
4
|
+
"toolVersion": "7.55.2",
|
|
5
|
+
"schemaVersion": 1011,
|
|
6
6
|
"oldestForwardsCompatibleVersion": 1001,
|
|
7
7
|
"tsdocConfig": {
|
|
8
8
|
"$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
|
|
@@ -114,6 +114,22 @@
|
|
|
114
114
|
"tagName": "@virtual",
|
|
115
115
|
"syntaxKind": "modifier"
|
|
116
116
|
},
|
|
117
|
+
{
|
|
118
|
+
"tagName": "@jsx",
|
|
119
|
+
"syntaxKind": "block"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"tagName": "@jsxRuntime",
|
|
123
|
+
"syntaxKind": "block"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"tagName": "@jsxFrag",
|
|
127
|
+
"syntaxKind": "block"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"tagName": "@jsxImportSource",
|
|
131
|
+
"syntaxKind": "block"
|
|
132
|
+
},
|
|
117
133
|
{
|
|
118
134
|
"tagName": "@betaDocumentation",
|
|
119
135
|
"syntaxKind": "modifier"
|
|
@@ -173,17 +189,13 @@
|
|
|
173
189
|
"preserveMemberOrder": false,
|
|
174
190
|
"members": [
|
|
175
191
|
{
|
|
176
|
-
"kind": "
|
|
177
|
-
"canonicalReference": "@yuants/exchange!cancelOrder:
|
|
192
|
+
"kind": "Function",
|
|
193
|
+
"canonicalReference": "@yuants/exchange!cancelOrder:function(1)",
|
|
178
194
|
"docComment": "/**\n * Cancel order\n *\n * @public\n */\n",
|
|
179
195
|
"excerptTokens": [
|
|
180
196
|
{
|
|
181
197
|
"kind": "Content",
|
|
182
|
-
"text": "cancelOrder: "
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"kind": "Content",
|
|
186
|
-
"text": "<T>(terminal: "
|
|
198
|
+
"text": "cancelOrder: <T>(terminal: "
|
|
187
199
|
},
|
|
188
200
|
{
|
|
189
201
|
"kind": "Reference",
|
|
@@ -192,7 +204,15 @@
|
|
|
192
204
|
},
|
|
193
205
|
{
|
|
194
206
|
"kind": "Content",
|
|
195
|
-
"text": ", credential:
|
|
207
|
+
"text": ", credential: "
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"kind": "Content",
|
|
211
|
+
"text": "{\n type: string;\n payload: T;\n}"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"kind": "Content",
|
|
215
|
+
"text": ", order: "
|
|
196
216
|
},
|
|
197
217
|
{
|
|
198
218
|
"kind": "Reference",
|
|
@@ -222,26 +242,62 @@
|
|
|
222
242
|
"text": "<void>>"
|
|
223
243
|
}
|
|
224
244
|
],
|
|
225
|
-
"
|
|
245
|
+
"fileUrlPath": "src/index.ts",
|
|
246
|
+
"returnTypeTokenRange": {
|
|
247
|
+
"startIndex": 7,
|
|
248
|
+
"endIndex": 11
|
|
249
|
+
},
|
|
226
250
|
"releaseTag": "Public",
|
|
227
|
-
"
|
|
228
|
-
"
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
251
|
+
"overloadIndex": 1,
|
|
252
|
+
"parameters": [
|
|
253
|
+
{
|
|
254
|
+
"parameterName": "terminal",
|
|
255
|
+
"parameterTypeTokenRange": {
|
|
256
|
+
"startIndex": 1,
|
|
257
|
+
"endIndex": 2
|
|
258
|
+
},
|
|
259
|
+
"isOptional": false
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"parameterName": "credential",
|
|
263
|
+
"parameterTypeTokenRange": {
|
|
264
|
+
"startIndex": 3,
|
|
265
|
+
"endIndex": 4
|
|
266
|
+
},
|
|
267
|
+
"isOptional": false
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"parameterName": "order",
|
|
271
|
+
"parameterTypeTokenRange": {
|
|
272
|
+
"startIndex": 5,
|
|
273
|
+
"endIndex": 6
|
|
274
|
+
},
|
|
275
|
+
"isOptional": false
|
|
276
|
+
}
|
|
277
|
+
],
|
|
278
|
+
"typeParameters": [
|
|
279
|
+
{
|
|
280
|
+
"typeParameterName": "T",
|
|
281
|
+
"constraintTokenRange": {
|
|
282
|
+
"startIndex": 0,
|
|
283
|
+
"endIndex": 0
|
|
284
|
+
},
|
|
285
|
+
"defaultTypeTokenRange": {
|
|
286
|
+
"startIndex": 0,
|
|
287
|
+
"endIndex": 0
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
],
|
|
291
|
+
"name": "cancelOrder"
|
|
232
292
|
},
|
|
233
293
|
{
|
|
234
|
-
"kind": "
|
|
235
|
-
"canonicalReference": "@yuants/exchange!getCredentialId:
|
|
294
|
+
"kind": "Function",
|
|
295
|
+
"canonicalReference": "@yuants/exchange!getCredentialId:function(1)",
|
|
236
296
|
"docComment": "/**\n * Get credential ID\n *\n * @public\n */\n",
|
|
237
297
|
"excerptTokens": [
|
|
238
298
|
{
|
|
239
299
|
"kind": "Content",
|
|
240
|
-
"text": "getCredentialId: "
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"kind": "Content",
|
|
244
|
-
"text": "<T>(terminal: "
|
|
300
|
+
"text": "getCredentialId: <T>(terminal: "
|
|
245
301
|
},
|
|
246
302
|
{
|
|
247
303
|
"kind": "Reference",
|
|
@@ -250,7 +306,15 @@
|
|
|
250
306
|
},
|
|
251
307
|
{
|
|
252
308
|
"kind": "Content",
|
|
253
|
-
"text": ", credential:
|
|
309
|
+
"text": ", credential: "
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"kind": "Content",
|
|
313
|
+
"text": "{\n type: string;\n payload: T;\n}"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"kind": "Content",
|
|
317
|
+
"text": ") => "
|
|
254
318
|
},
|
|
255
319
|
{
|
|
256
320
|
"kind": "Reference",
|
|
@@ -271,26 +335,54 @@
|
|
|
271
335
|
"text": "<string>>"
|
|
272
336
|
}
|
|
273
337
|
],
|
|
274
|
-
"
|
|
338
|
+
"fileUrlPath": "src/index.ts",
|
|
339
|
+
"returnTypeTokenRange": {
|
|
340
|
+
"startIndex": 5,
|
|
341
|
+
"endIndex": 9
|
|
342
|
+
},
|
|
275
343
|
"releaseTag": "Public",
|
|
276
|
-
"
|
|
277
|
-
"
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
344
|
+
"overloadIndex": 1,
|
|
345
|
+
"parameters": [
|
|
346
|
+
{
|
|
347
|
+
"parameterName": "terminal",
|
|
348
|
+
"parameterTypeTokenRange": {
|
|
349
|
+
"startIndex": 1,
|
|
350
|
+
"endIndex": 2
|
|
351
|
+
},
|
|
352
|
+
"isOptional": false
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"parameterName": "credential",
|
|
356
|
+
"parameterTypeTokenRange": {
|
|
357
|
+
"startIndex": 3,
|
|
358
|
+
"endIndex": 4
|
|
359
|
+
},
|
|
360
|
+
"isOptional": false
|
|
361
|
+
}
|
|
362
|
+
],
|
|
363
|
+
"typeParameters": [
|
|
364
|
+
{
|
|
365
|
+
"typeParameterName": "T",
|
|
366
|
+
"constraintTokenRange": {
|
|
367
|
+
"startIndex": 0,
|
|
368
|
+
"endIndex": 0
|
|
369
|
+
},
|
|
370
|
+
"defaultTypeTokenRange": {
|
|
371
|
+
"startIndex": 0,
|
|
372
|
+
"endIndex": 0
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
],
|
|
376
|
+
"name": "getCredentialId"
|
|
281
377
|
},
|
|
282
378
|
{
|
|
283
|
-
"kind": "
|
|
284
|
-
"canonicalReference": "@yuants/exchange!getOrders:
|
|
379
|
+
"kind": "Function",
|
|
380
|
+
"canonicalReference": "@yuants/exchange!getOrders:function(1)",
|
|
285
381
|
"docComment": "/**\n * Get orders\n *\n * @public\n */\n",
|
|
286
382
|
"excerptTokens": [
|
|
287
383
|
{
|
|
288
384
|
"kind": "Content",
|
|
289
|
-
"text": "getOrders: "
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
"kind": "Content",
|
|
293
|
-
"text": "<T>(terminal: "
|
|
385
|
+
"text": "getOrders: <T>(terminal: "
|
|
294
386
|
},
|
|
295
387
|
{
|
|
296
388
|
"kind": "Reference",
|
|
@@ -299,7 +391,23 @@
|
|
|
299
391
|
},
|
|
300
392
|
{
|
|
301
393
|
"kind": "Content",
|
|
302
|
-
"text": ", credential:
|
|
394
|
+
"text": ", credential: "
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"kind": "Content",
|
|
398
|
+
"text": "{\n type: string;\n payload: T;\n}"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"kind": "Content",
|
|
402
|
+
"text": ", product_id?: "
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"kind": "Content",
|
|
406
|
+
"text": "string"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"kind": "Content",
|
|
410
|
+
"text": ") => "
|
|
303
411
|
},
|
|
304
412
|
{
|
|
305
413
|
"kind": "Reference",
|
|
@@ -329,26 +437,62 @@
|
|
|
329
437
|
"text": "[]>>"
|
|
330
438
|
}
|
|
331
439
|
],
|
|
332
|
-
"
|
|
440
|
+
"fileUrlPath": "src/index.ts",
|
|
441
|
+
"returnTypeTokenRange": {
|
|
442
|
+
"startIndex": 7,
|
|
443
|
+
"endIndex": 13
|
|
444
|
+
},
|
|
333
445
|
"releaseTag": "Public",
|
|
334
|
-
"
|
|
335
|
-
"
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
446
|
+
"overloadIndex": 1,
|
|
447
|
+
"parameters": [
|
|
448
|
+
{
|
|
449
|
+
"parameterName": "terminal",
|
|
450
|
+
"parameterTypeTokenRange": {
|
|
451
|
+
"startIndex": 1,
|
|
452
|
+
"endIndex": 2
|
|
453
|
+
},
|
|
454
|
+
"isOptional": false
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"parameterName": "credential",
|
|
458
|
+
"parameterTypeTokenRange": {
|
|
459
|
+
"startIndex": 3,
|
|
460
|
+
"endIndex": 4
|
|
461
|
+
},
|
|
462
|
+
"isOptional": false
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"parameterName": "product_id",
|
|
466
|
+
"parameterTypeTokenRange": {
|
|
467
|
+
"startIndex": 5,
|
|
468
|
+
"endIndex": 6
|
|
469
|
+
},
|
|
470
|
+
"isOptional": true
|
|
471
|
+
}
|
|
472
|
+
],
|
|
473
|
+
"typeParameters": [
|
|
474
|
+
{
|
|
475
|
+
"typeParameterName": "T",
|
|
476
|
+
"constraintTokenRange": {
|
|
477
|
+
"startIndex": 0,
|
|
478
|
+
"endIndex": 0
|
|
479
|
+
},
|
|
480
|
+
"defaultTypeTokenRange": {
|
|
481
|
+
"startIndex": 0,
|
|
482
|
+
"endIndex": 0
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
],
|
|
486
|
+
"name": "getOrders"
|
|
339
487
|
},
|
|
340
488
|
{
|
|
341
|
-
"kind": "
|
|
342
|
-
"canonicalReference": "@yuants/exchange!getPositions:
|
|
489
|
+
"kind": "Function",
|
|
490
|
+
"canonicalReference": "@yuants/exchange!getPositions:function(1)",
|
|
343
491
|
"docComment": "/**\n * Get positions\n *\n * @public\n */\n",
|
|
344
492
|
"excerptTokens": [
|
|
345
493
|
{
|
|
346
494
|
"kind": "Content",
|
|
347
|
-
"text": "getPositions: "
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
"kind": "Content",
|
|
351
|
-
"text": "<T>(terminal: "
|
|
495
|
+
"text": "getPositions: <T>(terminal: "
|
|
352
496
|
},
|
|
353
497
|
{
|
|
354
498
|
"kind": "Reference",
|
|
@@ -357,7 +501,23 @@
|
|
|
357
501
|
},
|
|
358
502
|
{
|
|
359
503
|
"kind": "Content",
|
|
360
|
-
"text": ", credential:
|
|
504
|
+
"text": ", credential: "
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"kind": "Content",
|
|
508
|
+
"text": "{\n type: string;\n payload: T;\n}"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"kind": "Content",
|
|
512
|
+
"text": ", product_id?: "
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"kind": "Content",
|
|
516
|
+
"text": "string"
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"kind": "Content",
|
|
520
|
+
"text": ") => "
|
|
361
521
|
},
|
|
362
522
|
{
|
|
363
523
|
"kind": "Reference",
|
|
@@ -387,13 +547,53 @@
|
|
|
387
547
|
"text": "[]>>"
|
|
388
548
|
}
|
|
389
549
|
],
|
|
390
|
-
"
|
|
550
|
+
"fileUrlPath": "src/index.ts",
|
|
551
|
+
"returnTypeTokenRange": {
|
|
552
|
+
"startIndex": 7,
|
|
553
|
+
"endIndex": 13
|
|
554
|
+
},
|
|
391
555
|
"releaseTag": "Public",
|
|
392
|
-
"
|
|
393
|
-
"
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
556
|
+
"overloadIndex": 1,
|
|
557
|
+
"parameters": [
|
|
558
|
+
{
|
|
559
|
+
"parameterName": "terminal",
|
|
560
|
+
"parameterTypeTokenRange": {
|
|
561
|
+
"startIndex": 1,
|
|
562
|
+
"endIndex": 2
|
|
563
|
+
},
|
|
564
|
+
"isOptional": false
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"parameterName": "credential",
|
|
568
|
+
"parameterTypeTokenRange": {
|
|
569
|
+
"startIndex": 3,
|
|
570
|
+
"endIndex": 4
|
|
571
|
+
},
|
|
572
|
+
"isOptional": false
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"parameterName": "product_id",
|
|
576
|
+
"parameterTypeTokenRange": {
|
|
577
|
+
"startIndex": 5,
|
|
578
|
+
"endIndex": 6
|
|
579
|
+
},
|
|
580
|
+
"isOptional": true
|
|
581
|
+
}
|
|
582
|
+
],
|
|
583
|
+
"typeParameters": [
|
|
584
|
+
{
|
|
585
|
+
"typeParameterName": "T",
|
|
586
|
+
"constraintTokenRange": {
|
|
587
|
+
"startIndex": 0,
|
|
588
|
+
"endIndex": 0
|
|
589
|
+
},
|
|
590
|
+
"defaultTypeTokenRange": {
|
|
591
|
+
"startIndex": 0,
|
|
592
|
+
"endIndex": 0
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
],
|
|
596
|
+
"name": "getPositions"
|
|
397
597
|
},
|
|
398
598
|
{
|
|
399
599
|
"kind": "Interface",
|
|
@@ -413,6 +613,7 @@
|
|
|
413
613
|
"text": "> "
|
|
414
614
|
}
|
|
415
615
|
],
|
|
616
|
+
"fileUrlPath": "src/index.ts",
|
|
416
617
|
"releaseTag": "Public",
|
|
417
618
|
"typeParameters": [
|
|
418
619
|
{
|
|
@@ -1059,6 +1260,7 @@
|
|
|
1059
1260
|
"text": "export interface IIngestInterestRateRequest "
|
|
1060
1261
|
}
|
|
1061
1262
|
],
|
|
1263
|
+
"fileUrlPath": "src/interest_rate.ts",
|
|
1062
1264
|
"releaseTag": "Public",
|
|
1063
1265
|
"name": "IIngestInterestRateRequest",
|
|
1064
1266
|
"preserveMemberOrder": false,
|
|
@@ -1158,6 +1360,7 @@
|
|
|
1158
1360
|
"text": "export interface IIngestOHLCRequest "
|
|
1159
1361
|
}
|
|
1160
1362
|
],
|
|
1363
|
+
"fileUrlPath": "src/ohlc.ts",
|
|
1161
1364
|
"releaseTag": "Public",
|
|
1162
1365
|
"name": "IIngestOHLCRequest",
|
|
1163
1366
|
"preserveMemberOrder": false,
|
|
@@ -1284,6 +1487,7 @@
|
|
|
1284
1487
|
"text": "export interface IInterestRateServiceMetadata "
|
|
1285
1488
|
}
|
|
1286
1489
|
],
|
|
1490
|
+
"fileUrlPath": "src/interest_rate.ts",
|
|
1287
1491
|
"releaseTag": "Public",
|
|
1288
1492
|
"name": "IInterestRateServiceMetadata",
|
|
1289
1493
|
"preserveMemberOrder": false,
|
|
@@ -1356,6 +1560,7 @@
|
|
|
1356
1560
|
"text": "export interface IOHLCServiceMetadata "
|
|
1357
1561
|
}
|
|
1358
1562
|
],
|
|
1563
|
+
"fileUrlPath": "src/ohlc.ts",
|
|
1359
1564
|
"releaseTag": "Public",
|
|
1360
1565
|
"name": "IOHLCServiceMetadata",
|
|
1361
1566
|
"preserveMemberOrder": false,
|
|
@@ -1452,7 +1657,7 @@
|
|
|
1452
1657
|
"excerptTokens": [
|
|
1453
1658
|
{
|
|
1454
1659
|
"kind": "Content",
|
|
1455
|
-
"text": "export
|
|
1660
|
+
"text": "export type IQuoteField = "
|
|
1456
1661
|
},
|
|
1457
1662
|
{
|
|
1458
1663
|
"kind": "Reference",
|
|
@@ -1477,6 +1682,7 @@
|
|
|
1477
1682
|
"text": ";"
|
|
1478
1683
|
}
|
|
1479
1684
|
],
|
|
1685
|
+
"fileUrlPath": "src/types.ts",
|
|
1480
1686
|
"releaseTag": "Public",
|
|
1481
1687
|
"name": "IQuoteField",
|
|
1482
1688
|
"typeTokenRange": {
|
|
@@ -1512,6 +1718,7 @@
|
|
|
1512
1718
|
"text": "> "
|
|
1513
1719
|
}
|
|
1514
1720
|
],
|
|
1721
|
+
"fileUrlPath": "src/types.ts",
|
|
1515
1722
|
"releaseTag": "Public",
|
|
1516
1723
|
"typeParameters": [
|
|
1517
1724
|
{
|
|
@@ -1623,6 +1830,7 @@
|
|
|
1623
1830
|
"text": "export interface IQuoteServiceRequestByVEX "
|
|
1624
1831
|
}
|
|
1625
1832
|
],
|
|
1833
|
+
"fileUrlPath": "src/types.ts",
|
|
1626
1834
|
"releaseTag": "Public",
|
|
1627
1835
|
"name": "IQuoteServiceRequestByVEX",
|
|
1628
1836
|
"preserveMemberOrder": false,
|
|
@@ -1696,7 +1904,7 @@
|
|
|
1696
1904
|
"excerptTokens": [
|
|
1697
1905
|
{
|
|
1698
1906
|
"kind": "Content",
|
|
1699
|
-
"text": "export
|
|
1907
|
+
"text": "export type IQuoteUpdateAction<K extends "
|
|
1700
1908
|
},
|
|
1701
1909
|
{
|
|
1702
1910
|
"kind": "Reference",
|
|
@@ -1748,6 +1956,7 @@
|
|
|
1748
1956
|
"text": ";"
|
|
1749
1957
|
}
|
|
1750
1958
|
],
|
|
1959
|
+
"fileUrlPath": "src/types.ts",
|
|
1751
1960
|
"releaseTag": "Public",
|
|
1752
1961
|
"name": "IQuoteUpdateAction",
|
|
1753
1962
|
"typeParameters": [
|
|
@@ -1778,6 +1987,7 @@
|
|
|
1778
1987
|
"text": "export interface ISeriesIngestResult "
|
|
1779
1988
|
}
|
|
1780
1989
|
],
|
|
1990
|
+
"fileUrlPath": "src/types.ts",
|
|
1781
1991
|
"releaseTag": "Public",
|
|
1782
1992
|
"name": "ISeriesIngestResult",
|
|
1783
1993
|
"preserveMemberOrder": false,
|
|
@@ -1840,17 +2050,13 @@
|
|
|
1840
2050
|
"extendsTokenRanges": []
|
|
1841
2051
|
},
|
|
1842
2052
|
{
|
|
1843
|
-
"kind": "
|
|
1844
|
-
"canonicalReference": "@yuants/exchange!listProducts:
|
|
2053
|
+
"kind": "Function",
|
|
2054
|
+
"canonicalReference": "@yuants/exchange!listProducts:function(1)",
|
|
1845
2055
|
"docComment": "/**\n * List products\n *\n * @public\n */\n",
|
|
1846
2056
|
"excerptTokens": [
|
|
1847
2057
|
{
|
|
1848
2058
|
"kind": "Content",
|
|
1849
|
-
"text": "listProducts: "
|
|
1850
|
-
},
|
|
1851
|
-
{
|
|
1852
|
-
"kind": "Content",
|
|
1853
|
-
"text": "(terminal: "
|
|
2059
|
+
"text": "listProducts: (terminal: "
|
|
1854
2060
|
},
|
|
1855
2061
|
{
|
|
1856
2062
|
"kind": "Reference",
|
|
@@ -1859,7 +2065,15 @@
|
|
|
1859
2065
|
},
|
|
1860
2066
|
{
|
|
1861
2067
|
"kind": "Content",
|
|
1862
|
-
"text": ", type:
|
|
2068
|
+
"text": ", type: "
|
|
2069
|
+
},
|
|
2070
|
+
{
|
|
2071
|
+
"kind": "Content",
|
|
2072
|
+
"text": "string"
|
|
2073
|
+
},
|
|
2074
|
+
{
|
|
2075
|
+
"kind": "Content",
|
|
2076
|
+
"text": ") => "
|
|
1863
2077
|
},
|
|
1864
2078
|
{
|
|
1865
2079
|
"kind": "Reference",
|
|
@@ -1889,26 +2103,41 @@
|
|
|
1889
2103
|
"text": "[]>>"
|
|
1890
2104
|
}
|
|
1891
2105
|
],
|
|
1892
|
-
"
|
|
2106
|
+
"fileUrlPath": "src/index.ts",
|
|
2107
|
+
"returnTypeTokenRange": {
|
|
2108
|
+
"startIndex": 5,
|
|
2109
|
+
"endIndex": 11
|
|
2110
|
+
},
|
|
1893
2111
|
"releaseTag": "Public",
|
|
1894
|
-
"
|
|
1895
|
-
"
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
2112
|
+
"overloadIndex": 1,
|
|
2113
|
+
"parameters": [
|
|
2114
|
+
{
|
|
2115
|
+
"parameterName": "terminal",
|
|
2116
|
+
"parameterTypeTokenRange": {
|
|
2117
|
+
"startIndex": 1,
|
|
2118
|
+
"endIndex": 2
|
|
2119
|
+
},
|
|
2120
|
+
"isOptional": false
|
|
2121
|
+
},
|
|
2122
|
+
{
|
|
2123
|
+
"parameterName": "type",
|
|
2124
|
+
"parameterTypeTokenRange": {
|
|
2125
|
+
"startIndex": 3,
|
|
2126
|
+
"endIndex": 4
|
|
2127
|
+
},
|
|
2128
|
+
"isOptional": false
|
|
2129
|
+
}
|
|
2130
|
+
],
|
|
2131
|
+
"name": "listProducts"
|
|
1899
2132
|
},
|
|
1900
2133
|
{
|
|
1901
|
-
"kind": "
|
|
1902
|
-
"canonicalReference": "@yuants/exchange!modifyOrder:
|
|
2134
|
+
"kind": "Function",
|
|
2135
|
+
"canonicalReference": "@yuants/exchange!modifyOrder:function(1)",
|
|
1903
2136
|
"docComment": "/**\n * Modify order\n *\n * @public\n */\n",
|
|
1904
2137
|
"excerptTokens": [
|
|
1905
2138
|
{
|
|
1906
2139
|
"kind": "Content",
|
|
1907
|
-
"text": "modifyOrder: "
|
|
1908
|
-
},
|
|
1909
|
-
{
|
|
1910
|
-
"kind": "Content",
|
|
1911
|
-
"text": "<T>(terminal: "
|
|
2140
|
+
"text": "modifyOrder: <T>(terminal: "
|
|
1912
2141
|
},
|
|
1913
2142
|
{
|
|
1914
2143
|
"kind": "Reference",
|
|
@@ -1917,7 +2146,15 @@
|
|
|
1917
2146
|
},
|
|
1918
2147
|
{
|
|
1919
2148
|
"kind": "Content",
|
|
1920
|
-
"text": ", credential:
|
|
2149
|
+
"text": ", credential: "
|
|
2150
|
+
},
|
|
2151
|
+
{
|
|
2152
|
+
"kind": "Content",
|
|
2153
|
+
"text": "{\n type: string;\n payload: T;\n}"
|
|
2154
|
+
},
|
|
2155
|
+
{
|
|
2156
|
+
"kind": "Content",
|
|
2157
|
+
"text": ", order: "
|
|
1921
2158
|
},
|
|
1922
2159
|
{
|
|
1923
2160
|
"kind": "Reference",
|
|
@@ -1947,53 +2184,112 @@
|
|
|
1947
2184
|
"text": "<void>>"
|
|
1948
2185
|
}
|
|
1949
2186
|
],
|
|
1950
|
-
"
|
|
2187
|
+
"fileUrlPath": "src/index.ts",
|
|
2188
|
+
"returnTypeTokenRange": {
|
|
2189
|
+
"startIndex": 7,
|
|
2190
|
+
"endIndex": 11
|
|
2191
|
+
},
|
|
1951
2192
|
"releaseTag": "Public",
|
|
1952
|
-
"
|
|
1953
|
-
"
|
|
1954
|
-
"startIndex": 1,
|
|
1955
|
-
"endIndex": 10
|
|
1956
|
-
}
|
|
1957
|
-
},
|
|
1958
|
-
{
|
|
1959
|
-
"kind": "Variable",
|
|
1960
|
-
"canonicalReference": "@yuants/exchange!parseInterestRateServiceMetadataFromSchema:var",
|
|
1961
|
-
"docComment": "/**\n * @public\n */\n",
|
|
1962
|
-
"excerptTokens": [
|
|
2193
|
+
"overloadIndex": 1,
|
|
2194
|
+
"parameters": [
|
|
1963
2195
|
{
|
|
1964
|
-
"
|
|
1965
|
-
"
|
|
2196
|
+
"parameterName": "terminal",
|
|
2197
|
+
"parameterTypeTokenRange": {
|
|
2198
|
+
"startIndex": 1,
|
|
2199
|
+
"endIndex": 2
|
|
2200
|
+
},
|
|
2201
|
+
"isOptional": false
|
|
1966
2202
|
},
|
|
1967
2203
|
{
|
|
1968
|
-
"
|
|
1969
|
-
"
|
|
2204
|
+
"parameterName": "credential",
|
|
2205
|
+
"parameterTypeTokenRange": {
|
|
2206
|
+
"startIndex": 3,
|
|
2207
|
+
"endIndex": 4
|
|
2208
|
+
},
|
|
2209
|
+
"isOptional": false
|
|
1970
2210
|
},
|
|
1971
2211
|
{
|
|
1972
|
-
"
|
|
1973
|
-
"
|
|
1974
|
-
|
|
2212
|
+
"parameterName": "order",
|
|
2213
|
+
"parameterTypeTokenRange": {
|
|
2214
|
+
"startIndex": 5,
|
|
2215
|
+
"endIndex": 6
|
|
2216
|
+
},
|
|
2217
|
+
"isOptional": false
|
|
1975
2218
|
}
|
|
1976
2219
|
],
|
|
1977
|
-
"
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
2220
|
+
"typeParameters": [
|
|
2221
|
+
{
|
|
2222
|
+
"typeParameterName": "T",
|
|
2223
|
+
"constraintTokenRange": {
|
|
2224
|
+
"startIndex": 0,
|
|
2225
|
+
"endIndex": 0
|
|
2226
|
+
},
|
|
2227
|
+
"defaultTypeTokenRange": {
|
|
2228
|
+
"startIndex": 0,
|
|
2229
|
+
"endIndex": 0
|
|
2230
|
+
}
|
|
2231
|
+
}
|
|
2232
|
+
],
|
|
2233
|
+
"name": "modifyOrder"
|
|
1984
2234
|
},
|
|
1985
2235
|
{
|
|
1986
|
-
"kind": "
|
|
1987
|
-
"canonicalReference": "@yuants/exchange!
|
|
2236
|
+
"kind": "Function",
|
|
2237
|
+
"canonicalReference": "@yuants/exchange!parseInterestRateServiceMetadataFromSchema:function(1)",
|
|
1988
2238
|
"docComment": "/**\n * @public\n */\n",
|
|
1989
2239
|
"excerptTokens": [
|
|
1990
2240
|
{
|
|
1991
2241
|
"kind": "Content",
|
|
1992
|
-
"text": "
|
|
2242
|
+
"text": "parseInterestRateServiceMetadataFromSchema: (schema: "
|
|
2243
|
+
},
|
|
2244
|
+
{
|
|
2245
|
+
"kind": "Content",
|
|
2246
|
+
"text": "any"
|
|
1993
2247
|
},
|
|
1994
2248
|
{
|
|
1995
2249
|
"kind": "Content",
|
|
1996
|
-
"text": "
|
|
2250
|
+
"text": ") => "
|
|
2251
|
+
},
|
|
2252
|
+
{
|
|
2253
|
+
"kind": "Reference",
|
|
2254
|
+
"text": "IInterestRateServiceMetadata",
|
|
2255
|
+
"canonicalReference": "@yuants/exchange!IInterestRateServiceMetadata:interface"
|
|
2256
|
+
}
|
|
2257
|
+
],
|
|
2258
|
+
"fileUrlPath": "src/interest_rate.ts",
|
|
2259
|
+
"returnTypeTokenRange": {
|
|
2260
|
+
"startIndex": 3,
|
|
2261
|
+
"endIndex": 4
|
|
2262
|
+
},
|
|
2263
|
+
"releaseTag": "Public",
|
|
2264
|
+
"overloadIndex": 1,
|
|
2265
|
+
"parameters": [
|
|
2266
|
+
{
|
|
2267
|
+
"parameterName": "schema",
|
|
2268
|
+
"parameterTypeTokenRange": {
|
|
2269
|
+
"startIndex": 1,
|
|
2270
|
+
"endIndex": 2
|
|
2271
|
+
},
|
|
2272
|
+
"isOptional": false
|
|
2273
|
+
}
|
|
2274
|
+
],
|
|
2275
|
+
"name": "parseInterestRateServiceMetadataFromSchema"
|
|
2276
|
+
},
|
|
2277
|
+
{
|
|
2278
|
+
"kind": "Function",
|
|
2279
|
+
"canonicalReference": "@yuants/exchange!parseOHLCServiceMetadataFromSchema:function(1)",
|
|
2280
|
+
"docComment": "/**\n * @public\n */\n",
|
|
2281
|
+
"excerptTokens": [
|
|
2282
|
+
{
|
|
2283
|
+
"kind": "Content",
|
|
2284
|
+
"text": "parseOHLCServiceMetadataFromSchema: (schema: "
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
"kind": "Content",
|
|
2288
|
+
"text": "any"
|
|
2289
|
+
},
|
|
2290
|
+
{
|
|
2291
|
+
"kind": "Content",
|
|
2292
|
+
"text": ") => "
|
|
1997
2293
|
},
|
|
1998
2294
|
{
|
|
1999
2295
|
"kind": "Reference",
|
|
@@ -2001,26 +2297,41 @@
|
|
|
2001
2297
|
"canonicalReference": "@yuants/exchange!IOHLCServiceMetadata:interface"
|
|
2002
2298
|
}
|
|
2003
2299
|
],
|
|
2004
|
-
"
|
|
2300
|
+
"fileUrlPath": "src/ohlc.ts",
|
|
2301
|
+
"returnTypeTokenRange": {
|
|
2302
|
+
"startIndex": 3,
|
|
2303
|
+
"endIndex": 4
|
|
2304
|
+
},
|
|
2005
2305
|
"releaseTag": "Public",
|
|
2006
|
-
"
|
|
2007
|
-
"
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2306
|
+
"overloadIndex": 1,
|
|
2307
|
+
"parameters": [
|
|
2308
|
+
{
|
|
2309
|
+
"parameterName": "schema",
|
|
2310
|
+
"parameterTypeTokenRange": {
|
|
2311
|
+
"startIndex": 1,
|
|
2312
|
+
"endIndex": 2
|
|
2313
|
+
},
|
|
2314
|
+
"isOptional": false
|
|
2315
|
+
}
|
|
2316
|
+
],
|
|
2317
|
+
"name": "parseOHLCServiceMetadataFromSchema"
|
|
2011
2318
|
},
|
|
2012
2319
|
{
|
|
2013
|
-
"kind": "
|
|
2014
|
-
"canonicalReference": "@yuants/exchange!parseQuoteServiceMetadataFromSchema:
|
|
2320
|
+
"kind": "Function",
|
|
2321
|
+
"canonicalReference": "@yuants/exchange!parseQuoteServiceMetadataFromSchema:function(1)",
|
|
2015
2322
|
"docComment": "/**\n * Extract Quote Service Metadata from JSON Schema\n *\n * @public\n */\n",
|
|
2016
2323
|
"excerptTokens": [
|
|
2017
2324
|
{
|
|
2018
2325
|
"kind": "Content",
|
|
2019
|
-
"text": "parseQuoteServiceMetadataFromSchema: "
|
|
2326
|
+
"text": "parseQuoteServiceMetadataFromSchema: (schema: "
|
|
2020
2327
|
},
|
|
2021
2328
|
{
|
|
2022
2329
|
"kind": "Content",
|
|
2023
|
-
"text": "
|
|
2330
|
+
"text": "any"
|
|
2331
|
+
},
|
|
2332
|
+
{
|
|
2333
|
+
"kind": "Content",
|
|
2334
|
+
"text": ") => "
|
|
2024
2335
|
},
|
|
2025
2336
|
{
|
|
2026
2337
|
"kind": "Reference",
|
|
@@ -2028,26 +2339,33 @@
|
|
|
2028
2339
|
"canonicalReference": "@yuants/exchange!IQuoteServiceMetadata:interface"
|
|
2029
2340
|
}
|
|
2030
2341
|
],
|
|
2031
|
-
"
|
|
2342
|
+
"fileUrlPath": "src/quote.ts",
|
|
2343
|
+
"returnTypeTokenRange": {
|
|
2344
|
+
"startIndex": 3,
|
|
2345
|
+
"endIndex": 4
|
|
2346
|
+
},
|
|
2032
2347
|
"releaseTag": "Public",
|
|
2033
|
-
"
|
|
2034
|
-
"
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2348
|
+
"overloadIndex": 1,
|
|
2349
|
+
"parameters": [
|
|
2350
|
+
{
|
|
2351
|
+
"parameterName": "schema",
|
|
2352
|
+
"parameterTypeTokenRange": {
|
|
2353
|
+
"startIndex": 1,
|
|
2354
|
+
"endIndex": 2
|
|
2355
|
+
},
|
|
2356
|
+
"isOptional": false
|
|
2357
|
+
}
|
|
2358
|
+
],
|
|
2359
|
+
"name": "parseQuoteServiceMetadataFromSchema"
|
|
2038
2360
|
},
|
|
2039
2361
|
{
|
|
2040
|
-
"kind": "
|
|
2041
|
-
"canonicalReference": "@yuants/exchange!provideExchangeServices:
|
|
2362
|
+
"kind": "Function",
|
|
2363
|
+
"canonicalReference": "@yuants/exchange!provideExchangeServices:function(1)",
|
|
2042
2364
|
"docComment": "/**\n * Provide exchange services\n *\n * @public\n */\n",
|
|
2043
2365
|
"excerptTokens": [
|
|
2044
2366
|
{
|
|
2045
2367
|
"kind": "Content",
|
|
2046
|
-
"text": "provideExchangeServices: "
|
|
2047
|
-
},
|
|
2048
|
-
{
|
|
2049
|
-
"kind": "Content",
|
|
2050
|
-
"text": "<T>(terminal: "
|
|
2368
|
+
"text": "provideExchangeServices: <T>(terminal: "
|
|
2051
2369
|
},
|
|
2052
2370
|
{
|
|
2053
2371
|
"kind": "Reference",
|
|
@@ -2065,29 +2383,183 @@
|
|
|
2065
2383
|
},
|
|
2066
2384
|
{
|
|
2067
2385
|
"kind": "Content",
|
|
2068
|
-
"text": "<T>
|
|
2386
|
+
"text": "<T>"
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
"kind": "Content",
|
|
2390
|
+
"text": ") => "
|
|
2391
|
+
},
|
|
2392
|
+
{
|
|
2393
|
+
"kind": "Content",
|
|
2394
|
+
"text": "void"
|
|
2069
2395
|
}
|
|
2070
2396
|
],
|
|
2071
|
-
"
|
|
2397
|
+
"fileUrlPath": "src/index.ts",
|
|
2398
|
+
"returnTypeTokenRange": {
|
|
2399
|
+
"startIndex": 6,
|
|
2400
|
+
"endIndex": 7
|
|
2401
|
+
},
|
|
2072
2402
|
"releaseTag": "Public",
|
|
2073
|
-
"
|
|
2074
|
-
"
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2403
|
+
"overloadIndex": 1,
|
|
2404
|
+
"parameters": [
|
|
2405
|
+
{
|
|
2406
|
+
"parameterName": "terminal",
|
|
2407
|
+
"parameterTypeTokenRange": {
|
|
2408
|
+
"startIndex": 1,
|
|
2409
|
+
"endIndex": 2
|
|
2410
|
+
},
|
|
2411
|
+
"isOptional": false
|
|
2412
|
+
},
|
|
2413
|
+
{
|
|
2414
|
+
"parameterName": "exchange",
|
|
2415
|
+
"parameterTypeTokenRange": {
|
|
2416
|
+
"startIndex": 3,
|
|
2417
|
+
"endIndex": 5
|
|
2418
|
+
},
|
|
2419
|
+
"isOptional": false
|
|
2420
|
+
}
|
|
2421
|
+
],
|
|
2422
|
+
"typeParameters": [
|
|
2423
|
+
{
|
|
2424
|
+
"typeParameterName": "T",
|
|
2425
|
+
"constraintTokenRange": {
|
|
2426
|
+
"startIndex": 0,
|
|
2427
|
+
"endIndex": 0
|
|
2428
|
+
},
|
|
2429
|
+
"defaultTypeTokenRange": {
|
|
2430
|
+
"startIndex": 0,
|
|
2431
|
+
"endIndex": 0
|
|
2432
|
+
}
|
|
2433
|
+
}
|
|
2434
|
+
],
|
|
2435
|
+
"name": "provideExchangeServices"
|
|
2078
2436
|
},
|
|
2079
2437
|
{
|
|
2080
|
-
"kind": "
|
|
2081
|
-
"canonicalReference": "@yuants/exchange!
|
|
2438
|
+
"kind": "Function",
|
|
2439
|
+
"canonicalReference": "@yuants/exchange!provideInterestLedgerService:function(1)",
|
|
2082
2440
|
"docComment": "/**\n * @public\n */\n",
|
|
2083
2441
|
"excerptTokens": [
|
|
2084
2442
|
{
|
|
2085
2443
|
"kind": "Content",
|
|
2086
|
-
"text": "
|
|
2444
|
+
"text": "provideInterestLedgerService: (terminal: "
|
|
2445
|
+
},
|
|
2446
|
+
{
|
|
2447
|
+
"kind": "Reference",
|
|
2448
|
+
"text": "Terminal",
|
|
2449
|
+
"canonicalReference": "@yuants/protocol!Terminal:class"
|
|
2087
2450
|
},
|
|
2088
2451
|
{
|
|
2089
2452
|
"kind": "Content",
|
|
2090
|
-
"text": "
|
|
2453
|
+
"text": ", metadata: "
|
|
2454
|
+
},
|
|
2455
|
+
{
|
|
2456
|
+
"kind": "Content",
|
|
2457
|
+
"text": "{\n direction: string;\n type: string;\n}"
|
|
2458
|
+
},
|
|
2459
|
+
{
|
|
2460
|
+
"kind": "Content",
|
|
2461
|
+
"text": ", fetchPage: "
|
|
2462
|
+
},
|
|
2463
|
+
{
|
|
2464
|
+
"kind": "Content",
|
|
2465
|
+
"text": "(request: "
|
|
2466
|
+
},
|
|
2467
|
+
{
|
|
2468
|
+
"kind": "Reference",
|
|
2469
|
+
"text": "IIngestInterestLedgerRequest",
|
|
2470
|
+
"canonicalReference": "@yuants/exchange!~IIngestInterestLedgerRequest:interface"
|
|
2471
|
+
},
|
|
2472
|
+
{
|
|
2473
|
+
"kind": "Content",
|
|
2474
|
+
"text": ") => "
|
|
2475
|
+
},
|
|
2476
|
+
{
|
|
2477
|
+
"kind": "Reference",
|
|
2478
|
+
"text": "Promise",
|
|
2479
|
+
"canonicalReference": "!Promise:interface"
|
|
2480
|
+
},
|
|
2481
|
+
{
|
|
2482
|
+
"kind": "Content",
|
|
2483
|
+
"text": "<"
|
|
2484
|
+
},
|
|
2485
|
+
{
|
|
2486
|
+
"kind": "Reference",
|
|
2487
|
+
"text": "IInterestLedger",
|
|
2488
|
+
"canonicalReference": "@yuants/data-interest-rate!IInterestLedger:interface"
|
|
2489
|
+
},
|
|
2490
|
+
{
|
|
2491
|
+
"kind": "Content",
|
|
2492
|
+
"text": "[]>"
|
|
2493
|
+
},
|
|
2494
|
+
{
|
|
2495
|
+
"kind": "Content",
|
|
2496
|
+
"text": ", serviceOptions?: "
|
|
2497
|
+
},
|
|
2498
|
+
{
|
|
2499
|
+
"kind": "Reference",
|
|
2500
|
+
"text": "IServiceOptions",
|
|
2501
|
+
"canonicalReference": "@yuants/protocol!IServiceOptions:interface"
|
|
2502
|
+
},
|
|
2503
|
+
{
|
|
2504
|
+
"kind": "Content",
|
|
2505
|
+
"text": ") => "
|
|
2506
|
+
},
|
|
2507
|
+
{
|
|
2508
|
+
"kind": "Content",
|
|
2509
|
+
"text": "{\n dispose: () => void;\n}"
|
|
2510
|
+
}
|
|
2511
|
+
],
|
|
2512
|
+
"fileUrlPath": "src/interest_rate.ts",
|
|
2513
|
+
"returnTypeTokenRange": {
|
|
2514
|
+
"startIndex": 15,
|
|
2515
|
+
"endIndex": 16
|
|
2516
|
+
},
|
|
2517
|
+
"releaseTag": "Public",
|
|
2518
|
+
"overloadIndex": 1,
|
|
2519
|
+
"parameters": [
|
|
2520
|
+
{
|
|
2521
|
+
"parameterName": "terminal",
|
|
2522
|
+
"parameterTypeTokenRange": {
|
|
2523
|
+
"startIndex": 1,
|
|
2524
|
+
"endIndex": 2
|
|
2525
|
+
},
|
|
2526
|
+
"isOptional": false
|
|
2527
|
+
},
|
|
2528
|
+
{
|
|
2529
|
+
"parameterName": "metadata",
|
|
2530
|
+
"parameterTypeTokenRange": {
|
|
2531
|
+
"startIndex": 3,
|
|
2532
|
+
"endIndex": 4
|
|
2533
|
+
},
|
|
2534
|
+
"isOptional": false
|
|
2535
|
+
},
|
|
2536
|
+
{
|
|
2537
|
+
"parameterName": "fetchPage",
|
|
2538
|
+
"parameterTypeTokenRange": {
|
|
2539
|
+
"startIndex": 5,
|
|
2540
|
+
"endIndex": 12
|
|
2541
|
+
},
|
|
2542
|
+
"isOptional": false
|
|
2543
|
+
},
|
|
2544
|
+
{
|
|
2545
|
+
"parameterName": "serviceOptions",
|
|
2546
|
+
"parameterTypeTokenRange": {
|
|
2547
|
+
"startIndex": 13,
|
|
2548
|
+
"endIndex": 14
|
|
2549
|
+
},
|
|
2550
|
+
"isOptional": true
|
|
2551
|
+
}
|
|
2552
|
+
],
|
|
2553
|
+
"name": "provideInterestLedgerService"
|
|
2554
|
+
},
|
|
2555
|
+
{
|
|
2556
|
+
"kind": "Function",
|
|
2557
|
+
"canonicalReference": "@yuants/exchange!provideInterestRateService:function(1)",
|
|
2558
|
+
"docComment": "/**\n * @public\n */\n",
|
|
2559
|
+
"excerptTokens": [
|
|
2560
|
+
{
|
|
2561
|
+
"kind": "Content",
|
|
2562
|
+
"text": "provideInterestRateService: (terminal: "
|
|
2091
2563
|
},
|
|
2092
2564
|
{
|
|
2093
2565
|
"kind": "Reference",
|
|
@@ -2105,7 +2577,11 @@
|
|
|
2105
2577
|
},
|
|
2106
2578
|
{
|
|
2107
2579
|
"kind": "Content",
|
|
2108
|
-
"text": ", fetchPage:
|
|
2580
|
+
"text": ", fetchPage: "
|
|
2581
|
+
},
|
|
2582
|
+
{
|
|
2583
|
+
"kind": "Content",
|
|
2584
|
+
"text": "(request: "
|
|
2109
2585
|
},
|
|
2110
2586
|
{
|
|
2111
2587
|
"kind": "Reference",
|
|
@@ -2132,7 +2608,11 @@
|
|
|
2132
2608
|
},
|
|
2133
2609
|
{
|
|
2134
2610
|
"kind": "Content",
|
|
2135
|
-
"text": "[]
|
|
2611
|
+
"text": "[]>"
|
|
2612
|
+
},
|
|
2613
|
+
{
|
|
2614
|
+
"kind": "Content",
|
|
2615
|
+
"text": ", serviceOptions?: "
|
|
2136
2616
|
},
|
|
2137
2617
|
{
|
|
2138
2618
|
"kind": "Reference",
|
|
@@ -2141,29 +2621,64 @@
|
|
|
2141
2621
|
},
|
|
2142
2622
|
{
|
|
2143
2623
|
"kind": "Content",
|
|
2144
|
-
"text": ") =>
|
|
2624
|
+
"text": ") => "
|
|
2625
|
+
},
|
|
2626
|
+
{
|
|
2627
|
+
"kind": "Content",
|
|
2628
|
+
"text": "{\n dispose: () => void;\n}"
|
|
2145
2629
|
}
|
|
2146
2630
|
],
|
|
2147
|
-
"
|
|
2631
|
+
"fileUrlPath": "src/interest_rate.ts",
|
|
2632
|
+
"returnTypeTokenRange": {
|
|
2633
|
+
"startIndex": 15,
|
|
2634
|
+
"endIndex": 16
|
|
2635
|
+
},
|
|
2148
2636
|
"releaseTag": "Public",
|
|
2149
|
-
"
|
|
2150
|
-
"
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2637
|
+
"overloadIndex": 1,
|
|
2638
|
+
"parameters": [
|
|
2639
|
+
{
|
|
2640
|
+
"parameterName": "terminal",
|
|
2641
|
+
"parameterTypeTokenRange": {
|
|
2642
|
+
"startIndex": 1,
|
|
2643
|
+
"endIndex": 2
|
|
2644
|
+
},
|
|
2645
|
+
"isOptional": false
|
|
2646
|
+
},
|
|
2647
|
+
{
|
|
2648
|
+
"parameterName": "metadata",
|
|
2649
|
+
"parameterTypeTokenRange": {
|
|
2650
|
+
"startIndex": 3,
|
|
2651
|
+
"endIndex": 4
|
|
2652
|
+
},
|
|
2653
|
+
"isOptional": false
|
|
2654
|
+
},
|
|
2655
|
+
{
|
|
2656
|
+
"parameterName": "fetchPage",
|
|
2657
|
+
"parameterTypeTokenRange": {
|
|
2658
|
+
"startIndex": 5,
|
|
2659
|
+
"endIndex": 12
|
|
2660
|
+
},
|
|
2661
|
+
"isOptional": false
|
|
2662
|
+
},
|
|
2663
|
+
{
|
|
2664
|
+
"parameterName": "serviceOptions",
|
|
2665
|
+
"parameterTypeTokenRange": {
|
|
2666
|
+
"startIndex": 13,
|
|
2667
|
+
"endIndex": 14
|
|
2668
|
+
},
|
|
2669
|
+
"isOptional": true
|
|
2670
|
+
}
|
|
2671
|
+
],
|
|
2672
|
+
"name": "provideInterestRateService"
|
|
2154
2673
|
},
|
|
2155
2674
|
{
|
|
2156
|
-
"kind": "
|
|
2157
|
-
"canonicalReference": "@yuants/exchange!provideOHLCService:
|
|
2675
|
+
"kind": "Function",
|
|
2676
|
+
"canonicalReference": "@yuants/exchange!provideOHLCService:function(1)",
|
|
2158
2677
|
"docComment": "/**\n * @public\n */\n",
|
|
2159
2678
|
"excerptTokens": [
|
|
2160
2679
|
{
|
|
2161
2680
|
"kind": "Content",
|
|
2162
|
-
"text": "provideOHLCService: "
|
|
2163
|
-
},
|
|
2164
|
-
{
|
|
2165
|
-
"kind": "Content",
|
|
2166
|
-
"text": "(terminal: "
|
|
2681
|
+
"text": "provideOHLCService: (terminal: "
|
|
2167
2682
|
},
|
|
2168
2683
|
{
|
|
2169
2684
|
"kind": "Reference",
|
|
@@ -2181,7 +2696,11 @@
|
|
|
2181
2696
|
},
|
|
2182
2697
|
{
|
|
2183
2698
|
"kind": "Content",
|
|
2184
|
-
"text": ", fetchPage:
|
|
2699
|
+
"text": ", fetchPage: "
|
|
2700
|
+
},
|
|
2701
|
+
{
|
|
2702
|
+
"kind": "Content",
|
|
2703
|
+
"text": "(request: "
|
|
2185
2704
|
},
|
|
2186
2705
|
{
|
|
2187
2706
|
"kind": "Reference",
|
|
@@ -2208,7 +2727,11 @@
|
|
|
2208
2727
|
},
|
|
2209
2728
|
{
|
|
2210
2729
|
"kind": "Content",
|
|
2211
|
-
"text": "[]
|
|
2730
|
+
"text": "[]>"
|
|
2731
|
+
},
|
|
2732
|
+
{
|
|
2733
|
+
"kind": "Content",
|
|
2734
|
+
"text": ", serviceOptions?: "
|
|
2212
2735
|
},
|
|
2213
2736
|
{
|
|
2214
2737
|
"kind": "Reference",
|
|
@@ -2217,29 +2740,64 @@
|
|
|
2217
2740
|
},
|
|
2218
2741
|
{
|
|
2219
2742
|
"kind": "Content",
|
|
2220
|
-
"text": ") =>
|
|
2743
|
+
"text": ") => "
|
|
2744
|
+
},
|
|
2745
|
+
{
|
|
2746
|
+
"kind": "Content",
|
|
2747
|
+
"text": "{\n dispose: () => void;\n}"
|
|
2221
2748
|
}
|
|
2222
2749
|
],
|
|
2223
|
-
"
|
|
2750
|
+
"fileUrlPath": "src/ohlc.ts",
|
|
2751
|
+
"returnTypeTokenRange": {
|
|
2752
|
+
"startIndex": 15,
|
|
2753
|
+
"endIndex": 16
|
|
2754
|
+
},
|
|
2224
2755
|
"releaseTag": "Public",
|
|
2225
|
-
"
|
|
2226
|
-
"
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2756
|
+
"overloadIndex": 1,
|
|
2757
|
+
"parameters": [
|
|
2758
|
+
{
|
|
2759
|
+
"parameterName": "terminal",
|
|
2760
|
+
"parameterTypeTokenRange": {
|
|
2761
|
+
"startIndex": 1,
|
|
2762
|
+
"endIndex": 2
|
|
2763
|
+
},
|
|
2764
|
+
"isOptional": false
|
|
2765
|
+
},
|
|
2766
|
+
{
|
|
2767
|
+
"parameterName": "metadata",
|
|
2768
|
+
"parameterTypeTokenRange": {
|
|
2769
|
+
"startIndex": 3,
|
|
2770
|
+
"endIndex": 4
|
|
2771
|
+
},
|
|
2772
|
+
"isOptional": false
|
|
2773
|
+
},
|
|
2774
|
+
{
|
|
2775
|
+
"parameterName": "fetchPage",
|
|
2776
|
+
"parameterTypeTokenRange": {
|
|
2777
|
+
"startIndex": 5,
|
|
2778
|
+
"endIndex": 12
|
|
2779
|
+
},
|
|
2780
|
+
"isOptional": false
|
|
2781
|
+
},
|
|
2782
|
+
{
|
|
2783
|
+
"parameterName": "serviceOptions",
|
|
2784
|
+
"parameterTypeTokenRange": {
|
|
2785
|
+
"startIndex": 13,
|
|
2786
|
+
"endIndex": 14
|
|
2787
|
+
},
|
|
2788
|
+
"isOptional": true
|
|
2789
|
+
}
|
|
2790
|
+
],
|
|
2791
|
+
"name": "provideOHLCService"
|
|
2230
2792
|
},
|
|
2231
2793
|
{
|
|
2232
|
-
"kind": "
|
|
2233
|
-
"canonicalReference": "@yuants/exchange!provideQuoteService:
|
|
2794
|
+
"kind": "Function",
|
|
2795
|
+
"canonicalReference": "@yuants/exchange!provideQuoteService:function(1)",
|
|
2234
2796
|
"docComment": "/**\n * Provide Quote Service\n *\n * @public\n */\n",
|
|
2235
2797
|
"excerptTokens": [
|
|
2236
2798
|
{
|
|
2237
2799
|
"kind": "Content",
|
|
2238
|
-
"text": "provideQuoteService: "
|
|
2239
|
-
},
|
|
2240
|
-
{
|
|
2241
|
-
"kind": "Content",
|
|
2242
|
-
"text": "<K extends "
|
|
2800
|
+
"text": "provideQuoteService: <K extends "
|
|
2243
2801
|
},
|
|
2244
2802
|
{
|
|
2245
2803
|
"kind": "Reference",
|
|
@@ -2266,7 +2824,15 @@
|
|
|
2266
2824
|
},
|
|
2267
2825
|
{
|
|
2268
2826
|
"kind": "Content",
|
|
2269
|
-
"text": "<K
|
|
2827
|
+
"text": "<K>"
|
|
2828
|
+
},
|
|
2829
|
+
{
|
|
2830
|
+
"kind": "Content",
|
|
2831
|
+
"text": ", requestFunc: "
|
|
2832
|
+
},
|
|
2833
|
+
{
|
|
2834
|
+
"kind": "Content",
|
|
2835
|
+
"text": "(request: "
|
|
2270
2836
|
},
|
|
2271
2837
|
{
|
|
2272
2838
|
"kind": "Reference",
|
|
@@ -2284,7 +2850,16 @@
|
|
|
2284
2850
|
},
|
|
2285
2851
|
{
|
|
2286
2852
|
"kind": "Content",
|
|
2287
|
-
"text": "<
|
|
2853
|
+
"text": "<"
|
|
2854
|
+
},
|
|
2855
|
+
{
|
|
2856
|
+
"kind": "Reference",
|
|
2857
|
+
"text": "Array",
|
|
2858
|
+
"canonicalReference": "!Array:interface"
|
|
2859
|
+
},
|
|
2860
|
+
{
|
|
2861
|
+
"kind": "Content",
|
|
2862
|
+
"text": "<"
|
|
2288
2863
|
},
|
|
2289
2864
|
{
|
|
2290
2865
|
"kind": "Reference",
|
|
@@ -2302,7 +2877,11 @@
|
|
|
2302
2877
|
},
|
|
2303
2878
|
{
|
|
2304
2879
|
"kind": "Content",
|
|
2305
|
-
"text": ", K> & {\n product_id: string;\n updated_at: number;\n}
|
|
2880
|
+
"text": ", K> & {\n product_id: string;\n updated_at: number;\n}>>"
|
|
2881
|
+
},
|
|
2882
|
+
{
|
|
2883
|
+
"kind": "Content",
|
|
2884
|
+
"text": ", serviceOptions?: "
|
|
2306
2885
|
},
|
|
2307
2886
|
{
|
|
2308
2887
|
"kind": "Reference",
|
|
@@ -2311,16 +2890,68 @@
|
|
|
2311
2890
|
},
|
|
2312
2891
|
{
|
|
2313
2892
|
"kind": "Content",
|
|
2314
|
-
"text": ") =>
|
|
2893
|
+
"text": ") => "
|
|
2894
|
+
},
|
|
2895
|
+
{
|
|
2896
|
+
"kind": "Content",
|
|
2897
|
+
"text": "{\n dispose: () => void;\n}"
|
|
2315
2898
|
}
|
|
2316
2899
|
],
|
|
2317
|
-
"
|
|
2900
|
+
"fileUrlPath": "src/quote.ts",
|
|
2901
|
+
"returnTypeTokenRange": {
|
|
2902
|
+
"startIndex": 22,
|
|
2903
|
+
"endIndex": 23
|
|
2904
|
+
},
|
|
2318
2905
|
"releaseTag": "Public",
|
|
2319
|
-
"
|
|
2320
|
-
"
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2906
|
+
"overloadIndex": 1,
|
|
2907
|
+
"parameters": [
|
|
2908
|
+
{
|
|
2909
|
+
"parameterName": "terminal",
|
|
2910
|
+
"parameterTypeTokenRange": {
|
|
2911
|
+
"startIndex": 3,
|
|
2912
|
+
"endIndex": 4
|
|
2913
|
+
},
|
|
2914
|
+
"isOptional": false
|
|
2915
|
+
},
|
|
2916
|
+
{
|
|
2917
|
+
"parameterName": "metadata",
|
|
2918
|
+
"parameterTypeTokenRange": {
|
|
2919
|
+
"startIndex": 5,
|
|
2920
|
+
"endIndex": 7
|
|
2921
|
+
},
|
|
2922
|
+
"isOptional": false
|
|
2923
|
+
},
|
|
2924
|
+
{
|
|
2925
|
+
"parameterName": "requestFunc",
|
|
2926
|
+
"parameterTypeTokenRange": {
|
|
2927
|
+
"startIndex": 8,
|
|
2928
|
+
"endIndex": 19
|
|
2929
|
+
},
|
|
2930
|
+
"isOptional": false
|
|
2931
|
+
},
|
|
2932
|
+
{
|
|
2933
|
+
"parameterName": "serviceOptions",
|
|
2934
|
+
"parameterTypeTokenRange": {
|
|
2935
|
+
"startIndex": 20,
|
|
2936
|
+
"endIndex": 21
|
|
2937
|
+
},
|
|
2938
|
+
"isOptional": true
|
|
2939
|
+
}
|
|
2940
|
+
],
|
|
2941
|
+
"typeParameters": [
|
|
2942
|
+
{
|
|
2943
|
+
"typeParameterName": "K",
|
|
2944
|
+
"constraintTokenRange": {
|
|
2945
|
+
"startIndex": 1,
|
|
2946
|
+
"endIndex": 2
|
|
2947
|
+
},
|
|
2948
|
+
"defaultTypeTokenRange": {
|
|
2949
|
+
"startIndex": 0,
|
|
2950
|
+
"endIndex": 0
|
|
2951
|
+
}
|
|
2952
|
+
}
|
|
2953
|
+
],
|
|
2954
|
+
"name": "provideQuoteService"
|
|
2324
2955
|
},
|
|
2325
2956
|
{
|
|
2326
2957
|
"kind": "TypeAlias",
|
|
@@ -2329,7 +2960,7 @@
|
|
|
2329
2960
|
"excerptTokens": [
|
|
2330
2961
|
{
|
|
2331
2962
|
"kind": "Content",
|
|
2332
|
-
"text": "export
|
|
2963
|
+
"text": "export type SeriesFetchDirection = "
|
|
2333
2964
|
},
|
|
2334
2965
|
{
|
|
2335
2966
|
"kind": "Content",
|
|
@@ -2340,6 +2971,7 @@
|
|
|
2340
2971
|
"text": ";"
|
|
2341
2972
|
}
|
|
2342
2973
|
],
|
|
2974
|
+
"fileUrlPath": "src/types.ts",
|
|
2343
2975
|
"releaseTag": "Public",
|
|
2344
2976
|
"name": "SeriesFetchDirection",
|
|
2345
2977
|
"typeTokenRange": {
|
|
@@ -2348,17 +2980,13 @@
|
|
|
2348
2980
|
}
|
|
2349
2981
|
},
|
|
2350
2982
|
{
|
|
2351
|
-
"kind": "
|
|
2352
|
-
"canonicalReference": "@yuants/exchange!submitOrder:
|
|
2983
|
+
"kind": "Function",
|
|
2984
|
+
"canonicalReference": "@yuants/exchange!submitOrder:function(1)",
|
|
2353
2985
|
"docComment": "/**\n * Submit order\n *\n * @public\n */\n",
|
|
2354
2986
|
"excerptTokens": [
|
|
2355
2987
|
{
|
|
2356
2988
|
"kind": "Content",
|
|
2357
|
-
"text": "submitOrder: "
|
|
2358
|
-
},
|
|
2359
|
-
{
|
|
2360
|
-
"kind": "Content",
|
|
2361
|
-
"text": "<T>(terminal: "
|
|
2989
|
+
"text": "submitOrder: <T>(terminal: "
|
|
2362
2990
|
},
|
|
2363
2991
|
{
|
|
2364
2992
|
"kind": "Reference",
|
|
@@ -2367,7 +2995,15 @@
|
|
|
2367
2995
|
},
|
|
2368
2996
|
{
|
|
2369
2997
|
"kind": "Content",
|
|
2370
|
-
"text": ", credential:
|
|
2998
|
+
"text": ", credential: "
|
|
2999
|
+
},
|
|
3000
|
+
{
|
|
3001
|
+
"kind": "Content",
|
|
3002
|
+
"text": "{\n type: string;\n payload: T;\n}"
|
|
3003
|
+
},
|
|
3004
|
+
{
|
|
3005
|
+
"kind": "Content",
|
|
3006
|
+
"text": ", order: "
|
|
2371
3007
|
},
|
|
2372
3008
|
{
|
|
2373
3009
|
"kind": "Reference",
|
|
@@ -2397,13 +3033,53 @@
|
|
|
2397
3033
|
"text": "<{\n order_id: string;\n}>>"
|
|
2398
3034
|
}
|
|
2399
3035
|
],
|
|
2400
|
-
"
|
|
3036
|
+
"fileUrlPath": "src/index.ts",
|
|
3037
|
+
"returnTypeTokenRange": {
|
|
3038
|
+
"startIndex": 7,
|
|
3039
|
+
"endIndex": 11
|
|
3040
|
+
},
|
|
2401
3041
|
"releaseTag": "Public",
|
|
2402
|
-
"
|
|
2403
|
-
"
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
3042
|
+
"overloadIndex": 1,
|
|
3043
|
+
"parameters": [
|
|
3044
|
+
{
|
|
3045
|
+
"parameterName": "terminal",
|
|
3046
|
+
"parameterTypeTokenRange": {
|
|
3047
|
+
"startIndex": 1,
|
|
3048
|
+
"endIndex": 2
|
|
3049
|
+
},
|
|
3050
|
+
"isOptional": false
|
|
3051
|
+
},
|
|
3052
|
+
{
|
|
3053
|
+
"parameterName": "credential",
|
|
3054
|
+
"parameterTypeTokenRange": {
|
|
3055
|
+
"startIndex": 3,
|
|
3056
|
+
"endIndex": 4
|
|
3057
|
+
},
|
|
3058
|
+
"isOptional": false
|
|
3059
|
+
},
|
|
3060
|
+
{
|
|
3061
|
+
"parameterName": "order",
|
|
3062
|
+
"parameterTypeTokenRange": {
|
|
3063
|
+
"startIndex": 5,
|
|
3064
|
+
"endIndex": 6
|
|
3065
|
+
},
|
|
3066
|
+
"isOptional": false
|
|
3067
|
+
}
|
|
3068
|
+
],
|
|
3069
|
+
"typeParameters": [
|
|
3070
|
+
{
|
|
3071
|
+
"typeParameterName": "T",
|
|
3072
|
+
"constraintTokenRange": {
|
|
3073
|
+
"startIndex": 0,
|
|
3074
|
+
"endIndex": 0
|
|
3075
|
+
},
|
|
3076
|
+
"defaultTypeTokenRange": {
|
|
3077
|
+
"startIndex": 0,
|
|
3078
|
+
"endIndex": 0
|
|
3079
|
+
}
|
|
3080
|
+
}
|
|
3081
|
+
],
|
|
3082
|
+
"name": "submitOrder"
|
|
2407
3083
|
}
|
|
2408
3084
|
]
|
|
2409
3085
|
}
|