@yuants/exchange 0.8.24 → 0.8.25
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 +1 -1
- package/dist/index.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +5 -5
- package/temp/build/typescript/ts_ji-pb6h_.json +1 -1
- package/temp/exchange.api.json +2 -2
- package/temp/exchange.api.md +1 -1
- package/temp/package-deps.json +5 -5
- package/temp/test/jest/haste-map-f50e7cc8db739b6ac2b07d506eb6fdee-b0f299de6a65bcc22988084da157f170-c4011bd9f6a16ae7503ec572fe00f1e3 +0 -0
- package/temp/test/jest/perf-cache-f50e7cc8db739b6ac2b07d506eb6fdee-da39a3ee5e6b4b0d3255bfef95601890 +1 -1
package/temp/exchange.api.json
CHANGED
|
@@ -889,7 +889,7 @@
|
|
|
889
889
|
"excerptTokens": [
|
|
890
890
|
{
|
|
891
891
|
"kind": "Content",
|
|
892
|
-
"text": "getOrderByOrderId
|
|
892
|
+
"text": "getOrderByOrderId(credential: "
|
|
893
893
|
},
|
|
894
894
|
{
|
|
895
895
|
"kind": "Content",
|
|
@@ -926,7 +926,7 @@
|
|
|
926
926
|
"text": ";"
|
|
927
927
|
}
|
|
928
928
|
],
|
|
929
|
-
"isOptional":
|
|
929
|
+
"isOptional": false,
|
|
930
930
|
"returnTypeTokenRange": {
|
|
931
931
|
"startIndex": 6,
|
|
932
932
|
"endIndex": 8
|
package/temp/exchange.api.md
CHANGED
|
@@ -52,7 +52,7 @@ export interface IExchange<T = any> {
|
|
|
52
52
|
cancelOrder(credential: T, order: IOrder): Promise<void>;
|
|
53
53
|
credentialSchema: JSONSchema7;
|
|
54
54
|
getCredentialId(credential: T): Promise<string>;
|
|
55
|
-
getOrderByOrderId
|
|
55
|
+
getOrderByOrderId(credential: T, params: Record<string, unknown>): Promise<any>;
|
|
56
56
|
getOrders(credential: T): Promise<IOrder[]>;
|
|
57
57
|
getOrdersByProductId(credential: T, product_id: string): Promise<IOrder[]>;
|
|
58
58
|
getPositions(credential: T): Promise<IPosition[]>;
|
package/temp/package-deps.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
"libraries/exchange/CHANGELOG.json": "
|
|
3
|
-
"libraries/exchange/CHANGELOG.md": "
|
|
2
|
+
"libraries/exchange/CHANGELOG.json": "3dca0a254cb2d957b0ff6b36384bc9538b9f3702",
|
|
3
|
+
"libraries/exchange/CHANGELOG.md": "f4defa60817c5cc0bad4a8d2cfc87b50c6ccb91b",
|
|
4
4
|
"libraries/exchange/config/api-extractor.json": "62f4fd324425b9a235f0c117975967aab09ced0c",
|
|
5
5
|
"libraries/exchange/config/jest.config.json": "4bb17bde3ee911163a3edb36a6eb71491d80b1bd",
|
|
6
6
|
"libraries/exchange/config/rig.json": "f6c7b5537dc77a3170ba9f008bae3b6c3ee11956",
|
|
7
7
|
"libraries/exchange/config/typescript.json": "854907e8a821f2050f6533368db160c649c25348",
|
|
8
|
-
"libraries/exchange/etc/exchange.api.md": "
|
|
9
|
-
"libraries/exchange/package.json": "
|
|
10
|
-
"libraries/exchange/src/index.ts": "
|
|
8
|
+
"libraries/exchange/etc/exchange.api.md": "6e3e73065adb85ede583f432d76ac2261dafea16",
|
|
9
|
+
"libraries/exchange/package.json": "a41183fa2e26f9d6d1dc41c2b219fae9dafc48b8",
|
|
10
|
+
"libraries/exchange/src/index.ts": "47ced091d021ee96992e45c9b526ef0602c7a08c",
|
|
11
11
|
"libraries/exchange/src/interest_rate.test.ts": "9197fe2ace778d3dd6ef6043926d776abf21ab89",
|
|
12
12
|
"libraries/exchange/src/interest_rate.ts": "4a0a0ade0a5508fd5660af96a3ade416c97f5436",
|
|
13
13
|
"libraries/exchange/src/ohlc.test.ts": "975b880372c2c608d09944a37e294244bd6e488b",
|
|
Binary file
|
package/temp/test/jest/perf-cache-f50e7cc8db739b6ac2b07d506eb6fdee-da39a3ee5e6b4b0d3255bfef95601890
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"/home/runner/work/Yuan/Yuan/libraries/exchange/lib/
|
|
1
|
+
{"/home/runner/work/Yuan/Yuan/libraries/exchange/lib/interest_rate.test.js":[1,923],"/home/runner/work/Yuan/Yuan/libraries/exchange/lib/ohlc.test.js":[1,947],"/home/runner/work/Yuan/Yuan/libraries/exchange/lib/quote.test.js":[1,955]}
|