okx-api 1.3.2 → 1.3.3
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.
|
@@ -57,10 +57,11 @@ export interface AmendOrderRequest {
|
|
|
57
57
|
newSz?: string;
|
|
58
58
|
newPx?: string;
|
|
59
59
|
}
|
|
60
|
-
export
|
|
60
|
+
export type AlgoOrderDetailsRequest = {
|
|
61
61
|
algoId: string;
|
|
62
|
+
} | {
|
|
62
63
|
algoClOrdId: string;
|
|
63
|
-
}
|
|
64
|
+
};
|
|
64
65
|
export interface AmendAlgoOrderRequest {
|
|
65
66
|
instId: string;
|
|
66
67
|
algoId?: string;
|
|
@@ -196,18 +196,19 @@ export interface AlgoOrderDetailsResult {
|
|
|
196
196
|
attachAlgoOrds: any[];
|
|
197
197
|
sz: string;
|
|
198
198
|
closeFraction: string;
|
|
199
|
-
ordType:
|
|
199
|
+
ordType: AlgoOrderType;
|
|
200
200
|
side: string;
|
|
201
|
-
posSide:
|
|
201
|
+
posSide: AlgoPositionSide;
|
|
202
202
|
tdMode: string;
|
|
203
203
|
tgtCcy: string;
|
|
204
|
-
state:
|
|
204
|
+
state: AlgoOrderState;
|
|
205
205
|
lever: string;
|
|
206
206
|
tpTriggerPx: string;
|
|
207
207
|
tpTriggerPxType: string;
|
|
208
208
|
tpOrdPx: string;
|
|
209
209
|
slTriggerPx: string;
|
|
210
210
|
slTriggerPxType: string;
|
|
211
|
+
slOrdPx: string;
|
|
211
212
|
triggerPx: string;
|
|
212
213
|
triggerPxType: string;
|
|
213
214
|
ordPx: string;
|
|
@@ -226,6 +227,7 @@ export interface AlgoOrderDetailsResult {
|
|
|
226
227
|
moveTriggerPx: string;
|
|
227
228
|
reduceOnly: string;
|
|
228
229
|
triggerTime: string;
|
|
230
|
+
quickMgnType: string;
|
|
229
231
|
last: string;
|
|
230
232
|
failCode: string;
|
|
231
233
|
algoClOrdId: string;
|
package/package.json
CHANGED