@yuants/exchange 0.7.1 → 0.8.0
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 +90 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/interest_rate.js +129 -0
- package/dist/interest_rate.js.map +1 -0
- package/dist/interest_rate.test.js +24 -0
- package/dist/interest_rate.test.js.map +1 -0
- package/dist/ohlc.js +152 -0
- package/dist/ohlc.js.map +1 -0
- package/dist/ohlc.test.js +26 -0
- package/dist/ohlc.test.js.map +1 -0
- package/dist/quote.test.js +31 -0
- package/dist/quote.test.js.map +1 -0
- package/dist/types.js.map +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -1
- package/lib/interest_rate.d.ts +34 -0
- package/lib/interest_rate.d.ts.map +1 -0
- package/lib/interest_rate.js +134 -0
- package/lib/interest_rate.js.map +1 -0
- package/lib/interest_rate.test.d.ts +2 -0
- package/lib/interest_rate.test.d.ts.map +1 -0
- package/lib/interest_rate.test.js +26 -0
- package/lib/interest_rate.test.js.map +1 -0
- package/lib/ohlc.d.ts +36 -0
- package/lib/ohlc.d.ts.map +1 -0
- package/lib/ohlc.js +157 -0
- package/lib/ohlc.js.map +1 -0
- package/lib/ohlc.test.d.ts +2 -0
- package/lib/ohlc.test.d.ts.map +1 -0
- package/lib/ohlc.test.js +28 -0
- package/lib/ohlc.test.js.map +1 -0
- package/lib/quote.test.d.ts +2 -0
- package/lib/quote.test.d.ts.map +1 -0
- package/lib/quote.test.js +33 -0
- package/lib/quote.test.js.map +1 -0
- package/lib/types.d.ts +16 -0
- package/lib/types.d.ts.map +1 -1
- package/lib/types.js.map +1 -1
- package/package.json +3 -1
- package/temp/exchange.api.json +752 -0
- package/temp/exchange.api.md +80 -0
- package/temp/package-deps.json +14 -7
package/temp/exchange.api.json
CHANGED
|
@@ -1049,6 +1049,456 @@
|
|
|
1049
1049
|
],
|
|
1050
1050
|
"extendsTokenRanges": []
|
|
1051
1051
|
},
|
|
1052
|
+
{
|
|
1053
|
+
"kind": "Interface",
|
|
1054
|
+
"canonicalReference": "@yuants/exchange!IIngestInterestRateRequest:interface",
|
|
1055
|
+
"docComment": "/**\n * Interest Rate Service Request from VEX to Vendor\n *\n * @public\n */\n",
|
|
1056
|
+
"excerptTokens": [
|
|
1057
|
+
{
|
|
1058
|
+
"kind": "Content",
|
|
1059
|
+
"text": "export interface IIngestInterestRateRequest "
|
|
1060
|
+
}
|
|
1061
|
+
],
|
|
1062
|
+
"releaseTag": "Public",
|
|
1063
|
+
"name": "IIngestInterestRateRequest",
|
|
1064
|
+
"preserveMemberOrder": false,
|
|
1065
|
+
"members": [
|
|
1066
|
+
{
|
|
1067
|
+
"kind": "PropertySignature",
|
|
1068
|
+
"canonicalReference": "@yuants/exchange!IIngestInterestRateRequest#direction:member",
|
|
1069
|
+
"docComment": "",
|
|
1070
|
+
"excerptTokens": [
|
|
1071
|
+
{
|
|
1072
|
+
"kind": "Content",
|
|
1073
|
+
"text": "direction: "
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
"kind": "Reference",
|
|
1077
|
+
"text": "SeriesFetchDirection",
|
|
1078
|
+
"canonicalReference": "@yuants/exchange!SeriesFetchDirection:type"
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"kind": "Content",
|
|
1082
|
+
"text": ";"
|
|
1083
|
+
}
|
|
1084
|
+
],
|
|
1085
|
+
"isReadonly": false,
|
|
1086
|
+
"isOptional": false,
|
|
1087
|
+
"releaseTag": "Public",
|
|
1088
|
+
"name": "direction",
|
|
1089
|
+
"propertyTypeTokenRange": {
|
|
1090
|
+
"startIndex": 1,
|
|
1091
|
+
"endIndex": 2
|
|
1092
|
+
}
|
|
1093
|
+
},
|
|
1094
|
+
{
|
|
1095
|
+
"kind": "PropertySignature",
|
|
1096
|
+
"canonicalReference": "@yuants/exchange!IIngestInterestRateRequest#limit:member",
|
|
1097
|
+
"docComment": "",
|
|
1098
|
+
"excerptTokens": [
|
|
1099
|
+
{
|
|
1100
|
+
"kind": "Content",
|
|
1101
|
+
"text": "limit?: "
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
"kind": "Content",
|
|
1105
|
+
"text": "number"
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"kind": "Content",
|
|
1109
|
+
"text": ";"
|
|
1110
|
+
}
|
|
1111
|
+
],
|
|
1112
|
+
"isReadonly": false,
|
|
1113
|
+
"isOptional": true,
|
|
1114
|
+
"releaseTag": "Public",
|
|
1115
|
+
"name": "limit",
|
|
1116
|
+
"propertyTypeTokenRange": {
|
|
1117
|
+
"startIndex": 1,
|
|
1118
|
+
"endIndex": 2
|
|
1119
|
+
}
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
"kind": "PropertySignature",
|
|
1123
|
+
"canonicalReference": "@yuants/exchange!IIngestInterestRateRequest#product_id:member",
|
|
1124
|
+
"docComment": "",
|
|
1125
|
+
"excerptTokens": [
|
|
1126
|
+
{
|
|
1127
|
+
"kind": "Content",
|
|
1128
|
+
"text": "product_id: "
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
"kind": "Content",
|
|
1132
|
+
"text": "string"
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
"kind": "Content",
|
|
1136
|
+
"text": ";"
|
|
1137
|
+
}
|
|
1138
|
+
],
|
|
1139
|
+
"isReadonly": false,
|
|
1140
|
+
"isOptional": false,
|
|
1141
|
+
"releaseTag": "Public",
|
|
1142
|
+
"name": "product_id",
|
|
1143
|
+
"propertyTypeTokenRange": {
|
|
1144
|
+
"startIndex": 1,
|
|
1145
|
+
"endIndex": 2
|
|
1146
|
+
}
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
"kind": "PropertySignature",
|
|
1150
|
+
"canonicalReference": "@yuants/exchange!IIngestInterestRateRequest#time:member",
|
|
1151
|
+
"docComment": "",
|
|
1152
|
+
"excerptTokens": [
|
|
1153
|
+
{
|
|
1154
|
+
"kind": "Content",
|
|
1155
|
+
"text": "time: "
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
"kind": "Content",
|
|
1159
|
+
"text": "string"
|
|
1160
|
+
},
|
|
1161
|
+
{
|
|
1162
|
+
"kind": "Content",
|
|
1163
|
+
"text": ";"
|
|
1164
|
+
}
|
|
1165
|
+
],
|
|
1166
|
+
"isReadonly": false,
|
|
1167
|
+
"isOptional": false,
|
|
1168
|
+
"releaseTag": "Public",
|
|
1169
|
+
"name": "time",
|
|
1170
|
+
"propertyTypeTokenRange": {
|
|
1171
|
+
"startIndex": 1,
|
|
1172
|
+
"endIndex": 2
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
],
|
|
1176
|
+
"extendsTokenRanges": []
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
"kind": "Interface",
|
|
1180
|
+
"canonicalReference": "@yuants/exchange!IIngestOHLCRequest:interface",
|
|
1181
|
+
"docComment": "/**\n * OHLC Service Request from VEX to Vendor\n *\n * @public\n */\n",
|
|
1182
|
+
"excerptTokens": [
|
|
1183
|
+
{
|
|
1184
|
+
"kind": "Content",
|
|
1185
|
+
"text": "export interface IIngestOHLCRequest "
|
|
1186
|
+
}
|
|
1187
|
+
],
|
|
1188
|
+
"releaseTag": "Public",
|
|
1189
|
+
"name": "IIngestOHLCRequest",
|
|
1190
|
+
"preserveMemberOrder": false,
|
|
1191
|
+
"members": [
|
|
1192
|
+
{
|
|
1193
|
+
"kind": "PropertySignature",
|
|
1194
|
+
"canonicalReference": "@yuants/exchange!IIngestOHLCRequest#direction:member",
|
|
1195
|
+
"docComment": "",
|
|
1196
|
+
"excerptTokens": [
|
|
1197
|
+
{
|
|
1198
|
+
"kind": "Content",
|
|
1199
|
+
"text": "direction: "
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
"kind": "Reference",
|
|
1203
|
+
"text": "SeriesFetchDirection",
|
|
1204
|
+
"canonicalReference": "@yuants/exchange!SeriesFetchDirection:type"
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
"kind": "Content",
|
|
1208
|
+
"text": ";"
|
|
1209
|
+
}
|
|
1210
|
+
],
|
|
1211
|
+
"isReadonly": false,
|
|
1212
|
+
"isOptional": false,
|
|
1213
|
+
"releaseTag": "Public",
|
|
1214
|
+
"name": "direction",
|
|
1215
|
+
"propertyTypeTokenRange": {
|
|
1216
|
+
"startIndex": 1,
|
|
1217
|
+
"endIndex": 2
|
|
1218
|
+
}
|
|
1219
|
+
},
|
|
1220
|
+
{
|
|
1221
|
+
"kind": "PropertySignature",
|
|
1222
|
+
"canonicalReference": "@yuants/exchange!IIngestOHLCRequest#duration:member",
|
|
1223
|
+
"docComment": "",
|
|
1224
|
+
"excerptTokens": [
|
|
1225
|
+
{
|
|
1226
|
+
"kind": "Content",
|
|
1227
|
+
"text": "duration: "
|
|
1228
|
+
},
|
|
1229
|
+
{
|
|
1230
|
+
"kind": "Content",
|
|
1231
|
+
"text": "string"
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
"kind": "Content",
|
|
1235
|
+
"text": ";"
|
|
1236
|
+
}
|
|
1237
|
+
],
|
|
1238
|
+
"isReadonly": false,
|
|
1239
|
+
"isOptional": false,
|
|
1240
|
+
"releaseTag": "Public",
|
|
1241
|
+
"name": "duration",
|
|
1242
|
+
"propertyTypeTokenRange": {
|
|
1243
|
+
"startIndex": 1,
|
|
1244
|
+
"endIndex": 2
|
|
1245
|
+
}
|
|
1246
|
+
},
|
|
1247
|
+
{
|
|
1248
|
+
"kind": "PropertySignature",
|
|
1249
|
+
"canonicalReference": "@yuants/exchange!IIngestOHLCRequest#limit:member",
|
|
1250
|
+
"docComment": "",
|
|
1251
|
+
"excerptTokens": [
|
|
1252
|
+
{
|
|
1253
|
+
"kind": "Content",
|
|
1254
|
+
"text": "limit?: "
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
"kind": "Content",
|
|
1258
|
+
"text": "number"
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
"kind": "Content",
|
|
1262
|
+
"text": ";"
|
|
1263
|
+
}
|
|
1264
|
+
],
|
|
1265
|
+
"isReadonly": false,
|
|
1266
|
+
"isOptional": true,
|
|
1267
|
+
"releaseTag": "Public",
|
|
1268
|
+
"name": "limit",
|
|
1269
|
+
"propertyTypeTokenRange": {
|
|
1270
|
+
"startIndex": 1,
|
|
1271
|
+
"endIndex": 2
|
|
1272
|
+
}
|
|
1273
|
+
},
|
|
1274
|
+
{
|
|
1275
|
+
"kind": "PropertySignature",
|
|
1276
|
+
"canonicalReference": "@yuants/exchange!IIngestOHLCRequest#product_id:member",
|
|
1277
|
+
"docComment": "",
|
|
1278
|
+
"excerptTokens": [
|
|
1279
|
+
{
|
|
1280
|
+
"kind": "Content",
|
|
1281
|
+
"text": "product_id: "
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
"kind": "Content",
|
|
1285
|
+
"text": "string"
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
"kind": "Content",
|
|
1289
|
+
"text": ";"
|
|
1290
|
+
}
|
|
1291
|
+
],
|
|
1292
|
+
"isReadonly": false,
|
|
1293
|
+
"isOptional": false,
|
|
1294
|
+
"releaseTag": "Public",
|
|
1295
|
+
"name": "product_id",
|
|
1296
|
+
"propertyTypeTokenRange": {
|
|
1297
|
+
"startIndex": 1,
|
|
1298
|
+
"endIndex": 2
|
|
1299
|
+
}
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
"kind": "PropertySignature",
|
|
1303
|
+
"canonicalReference": "@yuants/exchange!IIngestOHLCRequest#time:member",
|
|
1304
|
+
"docComment": "",
|
|
1305
|
+
"excerptTokens": [
|
|
1306
|
+
{
|
|
1307
|
+
"kind": "Content",
|
|
1308
|
+
"text": "time: "
|
|
1309
|
+
},
|
|
1310
|
+
{
|
|
1311
|
+
"kind": "Content",
|
|
1312
|
+
"text": "string"
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
"kind": "Content",
|
|
1316
|
+
"text": ";"
|
|
1317
|
+
}
|
|
1318
|
+
],
|
|
1319
|
+
"isReadonly": false,
|
|
1320
|
+
"isOptional": false,
|
|
1321
|
+
"releaseTag": "Public",
|
|
1322
|
+
"name": "time",
|
|
1323
|
+
"propertyTypeTokenRange": {
|
|
1324
|
+
"startIndex": 1,
|
|
1325
|
+
"endIndex": 2
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1328
|
+
],
|
|
1329
|
+
"extendsTokenRanges": []
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
"kind": "Interface",
|
|
1333
|
+
"canonicalReference": "@yuants/exchange!IInterestRateServiceMetadata:interface",
|
|
1334
|
+
"docComment": "/**\n * Interest Rate Service Metadata\n *\n * @public\n */\n",
|
|
1335
|
+
"excerptTokens": [
|
|
1336
|
+
{
|
|
1337
|
+
"kind": "Content",
|
|
1338
|
+
"text": "export interface IInterestRateServiceMetadata "
|
|
1339
|
+
}
|
|
1340
|
+
],
|
|
1341
|
+
"releaseTag": "Public",
|
|
1342
|
+
"name": "IInterestRateServiceMetadata",
|
|
1343
|
+
"preserveMemberOrder": false,
|
|
1344
|
+
"members": [
|
|
1345
|
+
{
|
|
1346
|
+
"kind": "PropertySignature",
|
|
1347
|
+
"canonicalReference": "@yuants/exchange!IInterestRateServiceMetadata#direction:member",
|
|
1348
|
+
"docComment": "",
|
|
1349
|
+
"excerptTokens": [
|
|
1350
|
+
{
|
|
1351
|
+
"kind": "Content",
|
|
1352
|
+
"text": "direction: "
|
|
1353
|
+
},
|
|
1354
|
+
{
|
|
1355
|
+
"kind": "Reference",
|
|
1356
|
+
"text": "SeriesFetchDirection",
|
|
1357
|
+
"canonicalReference": "@yuants/exchange!SeriesFetchDirection:type"
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
"kind": "Content",
|
|
1361
|
+
"text": ";"
|
|
1362
|
+
}
|
|
1363
|
+
],
|
|
1364
|
+
"isReadonly": false,
|
|
1365
|
+
"isOptional": false,
|
|
1366
|
+
"releaseTag": "Public",
|
|
1367
|
+
"name": "direction",
|
|
1368
|
+
"propertyTypeTokenRange": {
|
|
1369
|
+
"startIndex": 1,
|
|
1370
|
+
"endIndex": 2
|
|
1371
|
+
}
|
|
1372
|
+
},
|
|
1373
|
+
{
|
|
1374
|
+
"kind": "PropertySignature",
|
|
1375
|
+
"canonicalReference": "@yuants/exchange!IInterestRateServiceMetadata#product_id_prefix:member",
|
|
1376
|
+
"docComment": "",
|
|
1377
|
+
"excerptTokens": [
|
|
1378
|
+
{
|
|
1379
|
+
"kind": "Content",
|
|
1380
|
+
"text": "product_id_prefix: "
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
"kind": "Content",
|
|
1384
|
+
"text": "string"
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
"kind": "Content",
|
|
1388
|
+
"text": ";"
|
|
1389
|
+
}
|
|
1390
|
+
],
|
|
1391
|
+
"isReadonly": false,
|
|
1392
|
+
"isOptional": false,
|
|
1393
|
+
"releaseTag": "Public",
|
|
1394
|
+
"name": "product_id_prefix",
|
|
1395
|
+
"propertyTypeTokenRange": {
|
|
1396
|
+
"startIndex": 1,
|
|
1397
|
+
"endIndex": 2
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
],
|
|
1401
|
+
"extendsTokenRanges": []
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
"kind": "Interface",
|
|
1405
|
+
"canonicalReference": "@yuants/exchange!IOHLCServiceMetadata:interface",
|
|
1406
|
+
"docComment": "/**\n * OHLC Service Metadata\n *\n * @public\n */\n",
|
|
1407
|
+
"excerptTokens": [
|
|
1408
|
+
{
|
|
1409
|
+
"kind": "Content",
|
|
1410
|
+
"text": "export interface IOHLCServiceMetadata "
|
|
1411
|
+
}
|
|
1412
|
+
],
|
|
1413
|
+
"releaseTag": "Public",
|
|
1414
|
+
"name": "IOHLCServiceMetadata",
|
|
1415
|
+
"preserveMemberOrder": false,
|
|
1416
|
+
"members": [
|
|
1417
|
+
{
|
|
1418
|
+
"kind": "PropertySignature",
|
|
1419
|
+
"canonicalReference": "@yuants/exchange!IOHLCServiceMetadata#direction:member",
|
|
1420
|
+
"docComment": "",
|
|
1421
|
+
"excerptTokens": [
|
|
1422
|
+
{
|
|
1423
|
+
"kind": "Content",
|
|
1424
|
+
"text": "direction: "
|
|
1425
|
+
},
|
|
1426
|
+
{
|
|
1427
|
+
"kind": "Reference",
|
|
1428
|
+
"text": "SeriesFetchDirection",
|
|
1429
|
+
"canonicalReference": "@yuants/exchange!SeriesFetchDirection:type"
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
"kind": "Content",
|
|
1433
|
+
"text": ";"
|
|
1434
|
+
}
|
|
1435
|
+
],
|
|
1436
|
+
"isReadonly": false,
|
|
1437
|
+
"isOptional": false,
|
|
1438
|
+
"releaseTag": "Public",
|
|
1439
|
+
"name": "direction",
|
|
1440
|
+
"propertyTypeTokenRange": {
|
|
1441
|
+
"startIndex": 1,
|
|
1442
|
+
"endIndex": 2
|
|
1443
|
+
}
|
|
1444
|
+
},
|
|
1445
|
+
{
|
|
1446
|
+
"kind": "PropertySignature",
|
|
1447
|
+
"canonicalReference": "@yuants/exchange!IOHLCServiceMetadata#duration_list:member",
|
|
1448
|
+
"docComment": "",
|
|
1449
|
+
"excerptTokens": [
|
|
1450
|
+
{
|
|
1451
|
+
"kind": "Content",
|
|
1452
|
+
"text": "duration_list: "
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
"kind": "Content",
|
|
1456
|
+
"text": "string[]"
|
|
1457
|
+
},
|
|
1458
|
+
{
|
|
1459
|
+
"kind": "Content",
|
|
1460
|
+
"text": ";"
|
|
1461
|
+
}
|
|
1462
|
+
],
|
|
1463
|
+
"isReadonly": false,
|
|
1464
|
+
"isOptional": false,
|
|
1465
|
+
"releaseTag": "Public",
|
|
1466
|
+
"name": "duration_list",
|
|
1467
|
+
"propertyTypeTokenRange": {
|
|
1468
|
+
"startIndex": 1,
|
|
1469
|
+
"endIndex": 2
|
|
1470
|
+
}
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"kind": "PropertySignature",
|
|
1474
|
+
"canonicalReference": "@yuants/exchange!IOHLCServiceMetadata#product_id_prefix:member",
|
|
1475
|
+
"docComment": "",
|
|
1476
|
+
"excerptTokens": [
|
|
1477
|
+
{
|
|
1478
|
+
"kind": "Content",
|
|
1479
|
+
"text": "product_id_prefix: "
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
"kind": "Content",
|
|
1483
|
+
"text": "string"
|
|
1484
|
+
},
|
|
1485
|
+
{
|
|
1486
|
+
"kind": "Content",
|
|
1487
|
+
"text": ";"
|
|
1488
|
+
}
|
|
1489
|
+
],
|
|
1490
|
+
"isReadonly": false,
|
|
1491
|
+
"isOptional": false,
|
|
1492
|
+
"releaseTag": "Public",
|
|
1493
|
+
"name": "product_id_prefix",
|
|
1494
|
+
"propertyTypeTokenRange": {
|
|
1495
|
+
"startIndex": 1,
|
|
1496
|
+
"endIndex": 2
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
],
|
|
1500
|
+
"extendsTokenRanges": []
|
|
1501
|
+
},
|
|
1052
1502
|
{
|
|
1053
1503
|
"kind": "TypeAlias",
|
|
1054
1504
|
"canonicalReference": "@yuants/exchange!IQuoteField:type",
|
|
@@ -1372,6 +1822,77 @@
|
|
|
1372
1822
|
"endIndex": 11
|
|
1373
1823
|
}
|
|
1374
1824
|
},
|
|
1825
|
+
{
|
|
1826
|
+
"kind": "Interface",
|
|
1827
|
+
"canonicalReference": "@yuants/exchange!ISeriesIngestResult:interface",
|
|
1828
|
+
"docComment": "/**\n * 历史数据写库结果(不返回数据本体)\n *\n * @public\n */\n",
|
|
1829
|
+
"excerptTokens": [
|
|
1830
|
+
{
|
|
1831
|
+
"kind": "Content",
|
|
1832
|
+
"text": "export interface ISeriesIngestResult "
|
|
1833
|
+
}
|
|
1834
|
+
],
|
|
1835
|
+
"releaseTag": "Public",
|
|
1836
|
+
"name": "ISeriesIngestResult",
|
|
1837
|
+
"preserveMemberOrder": false,
|
|
1838
|
+
"members": [
|
|
1839
|
+
{
|
|
1840
|
+
"kind": "PropertySignature",
|
|
1841
|
+
"canonicalReference": "@yuants/exchange!ISeriesIngestResult#range:member",
|
|
1842
|
+
"docComment": "",
|
|
1843
|
+
"excerptTokens": [
|
|
1844
|
+
{
|
|
1845
|
+
"kind": "Content",
|
|
1846
|
+
"text": "range?: "
|
|
1847
|
+
},
|
|
1848
|
+
{
|
|
1849
|
+
"kind": "Content",
|
|
1850
|
+
"text": "{\n start_time: string;\n end_time: string;\n }"
|
|
1851
|
+
},
|
|
1852
|
+
{
|
|
1853
|
+
"kind": "Content",
|
|
1854
|
+
"text": ";"
|
|
1855
|
+
}
|
|
1856
|
+
],
|
|
1857
|
+
"isReadonly": false,
|
|
1858
|
+
"isOptional": true,
|
|
1859
|
+
"releaseTag": "Public",
|
|
1860
|
+
"name": "range",
|
|
1861
|
+
"propertyTypeTokenRange": {
|
|
1862
|
+
"startIndex": 1,
|
|
1863
|
+
"endIndex": 2
|
|
1864
|
+
}
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
"kind": "PropertySignature",
|
|
1868
|
+
"canonicalReference": "@yuants/exchange!ISeriesIngestResult#wrote_count:member",
|
|
1869
|
+
"docComment": "",
|
|
1870
|
+
"excerptTokens": [
|
|
1871
|
+
{
|
|
1872
|
+
"kind": "Content",
|
|
1873
|
+
"text": "wrote_count: "
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
"kind": "Content",
|
|
1877
|
+
"text": "number"
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
"kind": "Content",
|
|
1881
|
+
"text": ";"
|
|
1882
|
+
}
|
|
1883
|
+
],
|
|
1884
|
+
"isReadonly": false,
|
|
1885
|
+
"isOptional": false,
|
|
1886
|
+
"releaseTag": "Public",
|
|
1887
|
+
"name": "wrote_count",
|
|
1888
|
+
"propertyTypeTokenRange": {
|
|
1889
|
+
"startIndex": 1,
|
|
1890
|
+
"endIndex": 2
|
|
1891
|
+
}
|
|
1892
|
+
}
|
|
1893
|
+
],
|
|
1894
|
+
"extendsTokenRanges": []
|
|
1895
|
+
},
|
|
1375
1896
|
{
|
|
1376
1897
|
"kind": "Variable",
|
|
1377
1898
|
"canonicalReference": "@yuants/exchange!listProducts:var",
|
|
@@ -1488,6 +2009,60 @@
|
|
|
1488
2009
|
"endIndex": 10
|
|
1489
2010
|
}
|
|
1490
2011
|
},
|
|
2012
|
+
{
|
|
2013
|
+
"kind": "Variable",
|
|
2014
|
+
"canonicalReference": "@yuants/exchange!parseInterestRateServiceMetadataFromSchema:var",
|
|
2015
|
+
"docComment": "/**\n * @public\n */\n",
|
|
2016
|
+
"excerptTokens": [
|
|
2017
|
+
{
|
|
2018
|
+
"kind": "Content",
|
|
2019
|
+
"text": "parseInterestRateServiceMetadataFromSchema: "
|
|
2020
|
+
},
|
|
2021
|
+
{
|
|
2022
|
+
"kind": "Content",
|
|
2023
|
+
"text": "(schema: any) => "
|
|
2024
|
+
},
|
|
2025
|
+
{
|
|
2026
|
+
"kind": "Reference",
|
|
2027
|
+
"text": "IInterestRateServiceMetadata",
|
|
2028
|
+
"canonicalReference": "@yuants/exchange!IInterestRateServiceMetadata:interface"
|
|
2029
|
+
}
|
|
2030
|
+
],
|
|
2031
|
+
"isReadonly": true,
|
|
2032
|
+
"releaseTag": "Public",
|
|
2033
|
+
"name": "parseInterestRateServiceMetadataFromSchema",
|
|
2034
|
+
"variableTypeTokenRange": {
|
|
2035
|
+
"startIndex": 1,
|
|
2036
|
+
"endIndex": 3
|
|
2037
|
+
}
|
|
2038
|
+
},
|
|
2039
|
+
{
|
|
2040
|
+
"kind": "Variable",
|
|
2041
|
+
"canonicalReference": "@yuants/exchange!parseOHLCServiceMetadataFromSchema:var",
|
|
2042
|
+
"docComment": "/**\n * @public\n */\n",
|
|
2043
|
+
"excerptTokens": [
|
|
2044
|
+
{
|
|
2045
|
+
"kind": "Content",
|
|
2046
|
+
"text": "parseOHLCServiceMetadataFromSchema: "
|
|
2047
|
+
},
|
|
2048
|
+
{
|
|
2049
|
+
"kind": "Content",
|
|
2050
|
+
"text": "(schema: any) => "
|
|
2051
|
+
},
|
|
2052
|
+
{
|
|
2053
|
+
"kind": "Reference",
|
|
2054
|
+
"text": "IOHLCServiceMetadata",
|
|
2055
|
+
"canonicalReference": "@yuants/exchange!IOHLCServiceMetadata:interface"
|
|
2056
|
+
}
|
|
2057
|
+
],
|
|
2058
|
+
"isReadonly": true,
|
|
2059
|
+
"releaseTag": "Public",
|
|
2060
|
+
"name": "parseOHLCServiceMetadataFromSchema",
|
|
2061
|
+
"variableTypeTokenRange": {
|
|
2062
|
+
"startIndex": 1,
|
|
2063
|
+
"endIndex": 3
|
|
2064
|
+
}
|
|
2065
|
+
},
|
|
1491
2066
|
{
|
|
1492
2067
|
"kind": "Variable",
|
|
1493
2068
|
"canonicalReference": "@yuants/exchange!parseQuoteServiceMetadataFromSchema:var",
|
|
@@ -1555,6 +2130,158 @@
|
|
|
1555
2130
|
"endIndex": 6
|
|
1556
2131
|
}
|
|
1557
2132
|
},
|
|
2133
|
+
{
|
|
2134
|
+
"kind": "Variable",
|
|
2135
|
+
"canonicalReference": "@yuants/exchange!provideInterestRateService:var",
|
|
2136
|
+
"docComment": "/**\n * @public\n */\n",
|
|
2137
|
+
"excerptTokens": [
|
|
2138
|
+
{
|
|
2139
|
+
"kind": "Content",
|
|
2140
|
+
"text": "provideInterestRateService: "
|
|
2141
|
+
},
|
|
2142
|
+
{
|
|
2143
|
+
"kind": "Content",
|
|
2144
|
+
"text": "(terminal: "
|
|
2145
|
+
},
|
|
2146
|
+
{
|
|
2147
|
+
"kind": "Reference",
|
|
2148
|
+
"text": "Terminal",
|
|
2149
|
+
"canonicalReference": "@yuants/protocol!Terminal:class"
|
|
2150
|
+
},
|
|
2151
|
+
{
|
|
2152
|
+
"kind": "Content",
|
|
2153
|
+
"text": ", metadata: "
|
|
2154
|
+
},
|
|
2155
|
+
{
|
|
2156
|
+
"kind": "Reference",
|
|
2157
|
+
"text": "IInterestRateServiceMetadata",
|
|
2158
|
+
"canonicalReference": "@yuants/exchange!IInterestRateServiceMetadata:interface"
|
|
2159
|
+
},
|
|
2160
|
+
{
|
|
2161
|
+
"kind": "Content",
|
|
2162
|
+
"text": ", fetchPage: (request: "
|
|
2163
|
+
},
|
|
2164
|
+
{
|
|
2165
|
+
"kind": "Reference",
|
|
2166
|
+
"text": "IIngestInterestRateRequest",
|
|
2167
|
+
"canonicalReference": "@yuants/exchange!IIngestInterestRateRequest:interface"
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
"kind": "Content",
|
|
2171
|
+
"text": " & {\n series_id: string;\n}) => "
|
|
2172
|
+
},
|
|
2173
|
+
{
|
|
2174
|
+
"kind": "Reference",
|
|
2175
|
+
"text": "Promise",
|
|
2176
|
+
"canonicalReference": "!Promise:interface"
|
|
2177
|
+
},
|
|
2178
|
+
{
|
|
2179
|
+
"kind": "Content",
|
|
2180
|
+
"text": "<"
|
|
2181
|
+
},
|
|
2182
|
+
{
|
|
2183
|
+
"kind": "Reference",
|
|
2184
|
+
"text": "IInterestRate",
|
|
2185
|
+
"canonicalReference": "@yuants/data-interest-rate!IInterestRate:interface"
|
|
2186
|
+
},
|
|
2187
|
+
{
|
|
2188
|
+
"kind": "Content",
|
|
2189
|
+
"text": "[]>, serviceOptions?: "
|
|
2190
|
+
},
|
|
2191
|
+
{
|
|
2192
|
+
"kind": "Reference",
|
|
2193
|
+
"text": "IServiceOptions",
|
|
2194
|
+
"canonicalReference": "@yuants/protocol!IServiceOptions:interface"
|
|
2195
|
+
},
|
|
2196
|
+
{
|
|
2197
|
+
"kind": "Content",
|
|
2198
|
+
"text": ") => {\n dispose: () => void;\n}"
|
|
2199
|
+
}
|
|
2200
|
+
],
|
|
2201
|
+
"isReadonly": true,
|
|
2202
|
+
"releaseTag": "Public",
|
|
2203
|
+
"name": "provideInterestRateService",
|
|
2204
|
+
"variableTypeTokenRange": {
|
|
2205
|
+
"startIndex": 1,
|
|
2206
|
+
"endIndex": 14
|
|
2207
|
+
}
|
|
2208
|
+
},
|
|
2209
|
+
{
|
|
2210
|
+
"kind": "Variable",
|
|
2211
|
+
"canonicalReference": "@yuants/exchange!provideOHLCService:var",
|
|
2212
|
+
"docComment": "/**\n * @public\n */\n",
|
|
2213
|
+
"excerptTokens": [
|
|
2214
|
+
{
|
|
2215
|
+
"kind": "Content",
|
|
2216
|
+
"text": "provideOHLCService: "
|
|
2217
|
+
},
|
|
2218
|
+
{
|
|
2219
|
+
"kind": "Content",
|
|
2220
|
+
"text": "(terminal: "
|
|
2221
|
+
},
|
|
2222
|
+
{
|
|
2223
|
+
"kind": "Reference",
|
|
2224
|
+
"text": "Terminal",
|
|
2225
|
+
"canonicalReference": "@yuants/protocol!Terminal:class"
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
"kind": "Content",
|
|
2229
|
+
"text": ", metadata: "
|
|
2230
|
+
},
|
|
2231
|
+
{
|
|
2232
|
+
"kind": "Reference",
|
|
2233
|
+
"text": "IOHLCServiceMetadata",
|
|
2234
|
+
"canonicalReference": "@yuants/exchange!IOHLCServiceMetadata:interface"
|
|
2235
|
+
},
|
|
2236
|
+
{
|
|
2237
|
+
"kind": "Content",
|
|
2238
|
+
"text": ", fetchPage: (request: "
|
|
2239
|
+
},
|
|
2240
|
+
{
|
|
2241
|
+
"kind": "Reference",
|
|
2242
|
+
"text": "IIngestOHLCRequest",
|
|
2243
|
+
"canonicalReference": "@yuants/exchange!IIngestOHLCRequest:interface"
|
|
2244
|
+
},
|
|
2245
|
+
{
|
|
2246
|
+
"kind": "Content",
|
|
2247
|
+
"text": " & {\n series_id: string;\n}) => "
|
|
2248
|
+
},
|
|
2249
|
+
{
|
|
2250
|
+
"kind": "Reference",
|
|
2251
|
+
"text": "Promise",
|
|
2252
|
+
"canonicalReference": "!Promise:interface"
|
|
2253
|
+
},
|
|
2254
|
+
{
|
|
2255
|
+
"kind": "Content",
|
|
2256
|
+
"text": "<"
|
|
2257
|
+
},
|
|
2258
|
+
{
|
|
2259
|
+
"kind": "Reference",
|
|
2260
|
+
"text": "IOHLC",
|
|
2261
|
+
"canonicalReference": "@yuants/data-ohlc!IOHLC:interface"
|
|
2262
|
+
},
|
|
2263
|
+
{
|
|
2264
|
+
"kind": "Content",
|
|
2265
|
+
"text": "[]>, serviceOptions?: "
|
|
2266
|
+
},
|
|
2267
|
+
{
|
|
2268
|
+
"kind": "Reference",
|
|
2269
|
+
"text": "IServiceOptions",
|
|
2270
|
+
"canonicalReference": "@yuants/protocol!IServiceOptions:interface"
|
|
2271
|
+
},
|
|
2272
|
+
{
|
|
2273
|
+
"kind": "Content",
|
|
2274
|
+
"text": ") => {\n dispose: () => void;\n}"
|
|
2275
|
+
}
|
|
2276
|
+
],
|
|
2277
|
+
"isReadonly": true,
|
|
2278
|
+
"releaseTag": "Public",
|
|
2279
|
+
"name": "provideOHLCService",
|
|
2280
|
+
"variableTypeTokenRange": {
|
|
2281
|
+
"startIndex": 1,
|
|
2282
|
+
"endIndex": 14
|
|
2283
|
+
}
|
|
2284
|
+
},
|
|
1558
2285
|
{
|
|
1559
2286
|
"kind": "Variable",
|
|
1560
2287
|
"canonicalReference": "@yuants/exchange!provideQuoteService:var",
|
|
@@ -1649,6 +2376,31 @@
|
|
|
1649
2376
|
"endIndex": 18
|
|
1650
2377
|
}
|
|
1651
2378
|
},
|
|
2379
|
+
{
|
|
2380
|
+
"kind": "TypeAlias",
|
|
2381
|
+
"canonicalReference": "@yuants/exchange!SeriesFetchDirection:type",
|
|
2382
|
+
"docComment": "/**\n * 历史数据翻页方向\n *\n * @public\n */\n",
|
|
2383
|
+
"excerptTokens": [
|
|
2384
|
+
{
|
|
2385
|
+
"kind": "Content",
|
|
2386
|
+
"text": "export declare type SeriesFetchDirection = "
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
"kind": "Content",
|
|
2390
|
+
"text": "'backward' | 'forward'"
|
|
2391
|
+
},
|
|
2392
|
+
{
|
|
2393
|
+
"kind": "Content",
|
|
2394
|
+
"text": ";"
|
|
2395
|
+
}
|
|
2396
|
+
],
|
|
2397
|
+
"releaseTag": "Public",
|
|
2398
|
+
"name": "SeriesFetchDirection",
|
|
2399
|
+
"typeTokenRange": {
|
|
2400
|
+
"startIndex": 1,
|
|
2401
|
+
"endIndex": 2
|
|
2402
|
+
}
|
|
2403
|
+
},
|
|
1652
2404
|
{
|
|
1653
2405
|
"kind": "Variable",
|
|
1654
2406
|
"canonicalReference": "@yuants/exchange!submitOrder:var",
|