@riocrypto/common-server 1.0.2159 → 1.0.2161
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.
|
@@ -21,6 +21,7 @@ interface ArbitrageSessionAttrs {
|
|
|
21
21
|
amountWithdrawn: number;
|
|
22
22
|
avgPrice?: number;
|
|
23
23
|
externalTradeIds: string[];
|
|
24
|
+
runningExternalTradeIds: string[];
|
|
24
25
|
externalTradingAlgorithmId?: string;
|
|
25
26
|
providerOptions?: {
|
|
26
27
|
emarkets?: {
|
|
@@ -40,6 +41,7 @@ interface ArbitrageSessionAttrs {
|
|
|
40
41
|
amountWithdrawn: number;
|
|
41
42
|
avgPrice?: number;
|
|
42
43
|
externalTradeIds: string[];
|
|
44
|
+
runningExternalTradeIds: string[];
|
|
43
45
|
externalTradingAlgorithmId?: string;
|
|
44
46
|
providerOptions?: {
|
|
45
47
|
emarkets?: {
|
|
@@ -75,6 +77,7 @@ interface ArbitrageSessionDoc extends Document {
|
|
|
75
77
|
amountWithdrawn: number;
|
|
76
78
|
avgPrice?: number;
|
|
77
79
|
externalTradeIds: string[];
|
|
80
|
+
runningExternalTradeIds: string[];
|
|
78
81
|
externalTradingAlgorithmId?: string;
|
|
79
82
|
providerOptions?: {
|
|
80
83
|
emarkets?: {
|
|
@@ -95,6 +98,7 @@ interface ArbitrageSessionDoc extends Document {
|
|
|
95
98
|
amountWithdrawn: number;
|
|
96
99
|
avgPrice?: number;
|
|
97
100
|
externalTradeIds: string[];
|
|
101
|
+
runningExternalTradeIds: string[];
|
|
98
102
|
externalTradingAlgorithmId?: string;
|
|
99
103
|
providerOptions?: {
|
|
100
104
|
emarkets?: {
|
|
@@ -21,6 +21,7 @@ interface ExternalTradeAttrs {
|
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
externalTradingAlgorithmId?: string;
|
|
24
|
+
arbitrageSessionId?: string;
|
|
24
25
|
}
|
|
25
26
|
interface ExternalTradeDoc extends Document {
|
|
26
27
|
createdAt: Date;
|
|
@@ -43,6 +44,7 @@ interface ExternalTradeDoc extends Document {
|
|
|
43
44
|
};
|
|
44
45
|
};
|
|
45
46
|
externalTradingAlgorithmId?: string;
|
|
47
|
+
arbitrageSessionId?: string;
|
|
46
48
|
}
|
|
47
49
|
interface ExternalTradeModel extends Model<ExternalTradeDoc> {
|
|
48
50
|
build(attrs: ExternalTradeAttrs): ExternalTradeDoc;
|
|
@@ -22,6 +22,7 @@ interface ExternalTradingAlgorithmAttrs {
|
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
externalTradeIds: string[];
|
|
25
|
+
arbitrageSessionId?: string;
|
|
25
26
|
}
|
|
26
27
|
interface ExternalTradingAlgorithmDoc extends Document {
|
|
27
28
|
createdAt: Date;
|
|
@@ -45,6 +46,7 @@ interface ExternalTradingAlgorithmDoc extends Document {
|
|
|
45
46
|
};
|
|
46
47
|
};
|
|
47
48
|
externalTradeIds: string[];
|
|
49
|
+
arbitrageSessionId?: string;
|
|
48
50
|
}
|
|
49
51
|
interface ExternalTradingAlgorithmModel extends Model<ExternalTradingAlgorithmDoc> {
|
|
50
52
|
build(attrs: ExternalTradingAlgorithmAttrs): ExternalTradingAlgorithmDoc;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riocrypto/common-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2161",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@google-cloud/secret-manager": "^5.3.0",
|
|
29
29
|
"@google-cloud/storage": "^6.9.5",
|
|
30
30
|
"@hyperdx/node-opentelemetry": "^0.7.0",
|
|
31
|
-
"@riocrypto/common": "^1.0.
|
|
31
|
+
"@riocrypto/common": "^1.0.1913",
|
|
32
32
|
"@types/express": "^4.17.13",
|
|
33
33
|
"axios": "^1.7.4",
|
|
34
34
|
"crypto-js": "^4.2.0",
|