okx-api 3.0.7 → 3.0.9
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.
|
@@ -14,6 +14,12 @@ export interface WithdrawRequest {
|
|
|
14
14
|
amt: string;
|
|
15
15
|
dest: '3' | '4';
|
|
16
16
|
toAddr: string;
|
|
17
|
+
/**
|
|
18
|
+
* Address type:
|
|
19
|
+
* - 1: wallet address, email, phone, or login account name
|
|
20
|
+
* - 2: UID (only for whitelisted users; applicable only when dest=3)
|
|
21
|
+
*/
|
|
22
|
+
toAddrType?: '1' | '2';
|
|
17
23
|
chain?: string;
|
|
18
24
|
areaCode?: string;
|
|
19
25
|
clientId?: string;
|
|
@@ -63,7 +63,15 @@ export interface AlgoOrderRequest {
|
|
|
63
63
|
timeInterval?: string;
|
|
64
64
|
quickMgnType?: string;
|
|
65
65
|
closeFraction?: numberInString;
|
|
66
|
-
attachAlgoOrds?:
|
|
66
|
+
attachAlgoOrds?: {
|
|
67
|
+
attachAlgoClOrdId?: string;
|
|
68
|
+
tpTriggerPx?: string;
|
|
69
|
+
tpOrdPx?: string;
|
|
70
|
+
slTriggerPx?: string;
|
|
71
|
+
slOrdPx?: string;
|
|
72
|
+
tpTriggerPxType?: string;
|
|
73
|
+
slTriggerPxType?: string;
|
|
74
|
+
}[];
|
|
67
75
|
}
|
|
68
76
|
export interface AmendOrderRequest {
|
|
69
77
|
instId: string;
|
|
@@ -14,6 +14,12 @@ export interface WithdrawRequest {
|
|
|
14
14
|
amt: string;
|
|
15
15
|
dest: '3' | '4';
|
|
16
16
|
toAddr: string;
|
|
17
|
+
/**
|
|
18
|
+
* Address type:
|
|
19
|
+
* - 1: wallet address, email, phone, or login account name
|
|
20
|
+
* - 2: UID (only for whitelisted users; applicable only when dest=3)
|
|
21
|
+
*/
|
|
22
|
+
toAddrType?: '1' | '2';
|
|
17
23
|
chain?: string;
|
|
18
24
|
areaCode?: string;
|
|
19
25
|
clientId?: string;
|
|
@@ -63,7 +63,15 @@ export interface AlgoOrderRequest {
|
|
|
63
63
|
timeInterval?: string;
|
|
64
64
|
quickMgnType?: string;
|
|
65
65
|
closeFraction?: numberInString;
|
|
66
|
-
attachAlgoOrds?:
|
|
66
|
+
attachAlgoOrds?: {
|
|
67
|
+
attachAlgoClOrdId?: string;
|
|
68
|
+
tpTriggerPx?: string;
|
|
69
|
+
tpOrdPx?: string;
|
|
70
|
+
slTriggerPx?: string;
|
|
71
|
+
slOrdPx?: string;
|
|
72
|
+
tpTriggerPxType?: string;
|
|
73
|
+
slTriggerPxType?: string;
|
|
74
|
+
}[];
|
|
67
75
|
}
|
|
68
76
|
export interface AmendOrderRequest {
|
|
69
77
|
instId: string;
|