@riocrypto/common-server 1.0.2261 → 1.0.2263

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.
@@ -20,8 +20,14 @@ interface ArbitrageSessionAttrs {
20
20
  status: ArbitrageProviderStatus;
21
21
  amountWithdrawn: number;
22
22
  avgPrice?: number;
23
- externalTradeIds: string[];
24
- runningExternalTradeIds: string[];
23
+ externalTradeIds: {
24
+ id: string;
25
+ retryCount?: number;
26
+ }[];
27
+ runningExternalTradeIds: {
28
+ id: string;
29
+ retryCount?: number;
30
+ }[];
25
31
  externalTradingAlgorithmId?: string;
26
32
  providerOptions?: {
27
33
  emarkets?: {
@@ -61,8 +67,14 @@ interface ArbitrageSessionAttrs {
61
67
  status: ArbitrageProviderStatus;
62
68
  amountWithdrawn: number;
63
69
  avgPrice?: number;
64
- externalTradeIds: string[];
65
- runningExternalTradeIds: string[];
70
+ externalTradeIds: {
71
+ id: string;
72
+ retryCount?: number;
73
+ }[];
74
+ runningExternalTradeIds: {
75
+ id: string;
76
+ retryCount?: number;
77
+ }[];
66
78
  externalTradingAlgorithmId?: string;
67
79
  providerOptions?: {
68
80
  emarkets?: {
@@ -97,8 +109,14 @@ interface ArbitrageSessionDoc extends Document {
97
109
  amountRemaining: number;
98
110
  amountWithdrawn: number;
99
111
  avgPrice?: number;
100
- externalTradeIds: string[];
101
- runningExternalTradeIds: string[];
112
+ externalTradeIds: {
113
+ id: string;
114
+ retryCount?: number;
115
+ }[];
116
+ runningExternalTradeIds: {
117
+ id: string;
118
+ retryCount?: number;
119
+ }[];
102
120
  externalTradingAlgorithmId?: string;
103
121
  providerOptions?: {
104
122
  emarkets?: {
@@ -139,8 +157,14 @@ interface ArbitrageSessionDoc extends Document {
139
157
  amountRemaining: number;
140
158
  amountWithdrawn: number;
141
159
  avgPrice?: number;
142
- externalTradeIds: string[];
143
- runningExternalTradeIds: string[];
160
+ externalTradeIds: {
161
+ id: string;
162
+ retryCount?: number;
163
+ }[];
164
+ runningExternalTradeIds: {
165
+ id: string;
166
+ retryCount?: number;
167
+ }[];
144
168
  externalTradingAlgorithmId?: string;
145
169
  providerOptions?: {
146
170
  emarkets?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2261",
3
+ "version": "1.0.2263",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",