@n8n-dev/n8n-nodes-binance 1.0.0
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/README.md +123 -0
- package/dist/credentials/BinanceApi.credentials.d.ts +10 -0
- package/dist/credentials/BinanceApi.credentials.js +56 -0
- package/dist/credentials/BinanceApi.credentials.js.map +1 -0
- package/dist/icons/binance.dark.svg +4 -0
- package/dist/icons/binance.svg +4 -0
- package/dist/nodes/Binance/Binance.node.d.ts +4 -0
- package/dist/nodes/Binance/Binance.node.js +250 -0
- package/dist/nodes/Binance/Binance.node.js.map +1 -0
- package/dist/nodes/Binance/Binance.node.json +20 -0
- package/dist/nodes/Binance/binance.dark.svg +4 -0
- package/dist/nodes/Binance/binance.svg +4 -0
- package/dist/nodes/Binance/resources/auto-invest/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/auto-invest/index.js +3694 -0
- package/dist/nodes/Binance/resources/auto-invest/index.js.map +1 -0
- package/dist/nodes/Binance/resources/blvt/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/blvt/index.js +994 -0
- package/dist/nodes/Binance/resources/blvt/index.js.map +1 -0
- package/dist/nodes/Binance/resources/c-2-c/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/c-2-c/index.js +265 -0
- package/dist/nodes/Binance/resources/c-2-c/index.js.map +1 -0
- package/dist/nodes/Binance/resources/convert/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/convert/index.js +1535 -0
- package/dist/nodes/Binance/resources/convert/index.js.map +1 -0
- package/dist/nodes/Binance/resources/copy-trading/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/copy-trading/index.js +238 -0
- package/dist/nodes/Binance/resources/copy-trading/index.js.map +1 -0
- package/dist/nodes/Binance/resources/crypto-loans/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/crypto-loans/index.js +4599 -0
- package/dist/nodes/Binance/resources/crypto-loans/index.js.map +1 -0
- package/dist/nodes/Binance/resources/dual-investment/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/dual-investment/index.js +988 -0
- package/dist/nodes/Binance/resources/dual-investment/index.js.map +1 -0
- package/dist/nodes/Binance/resources/fiat/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/fiat/index.js +488 -0
- package/dist/nodes/Binance/resources/fiat/index.js.map +1 -0
- package/dist/nodes/Binance/resources/futures/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/futures/index.js +658 -0
- package/dist/nodes/Binance/resources/futures/index.js.map +1 -0
- package/dist/nodes/Binance/resources/futures-algo/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/futures-algo/index.js +1398 -0
- package/dist/nodes/Binance/resources/futures-algo/index.js.map +1 -0
- package/dist/nodes/Binance/resources/gift-card/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/gift-card/index.js +903 -0
- package/dist/nodes/Binance/resources/gift-card/index.js.map +1 -0
- package/dist/nodes/Binance/resources/index.d.ts +29 -0
- package/dist/nodes/Binance/resources/index.js +62 -0
- package/dist/nodes/Binance/resources/index.js.map +1 -0
- package/dist/nodes/Binance/resources/isolated-margin-stream/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/isolated-margin-stream/index.js +165 -0
- package/dist/nodes/Binance/resources/isolated-margin-stream/index.js.map +1 -0
- package/dist/nodes/Binance/resources/margin/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/margin/index.js +10472 -0
- package/dist/nodes/Binance/resources/margin/index.js.map +1 -0
- package/dist/nodes/Binance/resources/margin-stream/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/margin-stream/index.js +165 -0
- package/dist/nodes/Binance/resources/margin-stream/index.js.map +1 -0
- package/dist/nodes/Binance/resources/market/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/market/index.js +1716 -0
- package/dist/nodes/Binance/resources/market/index.js.map +1 -0
- package/dist/nodes/Binance/resources/mining/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/mining/index.js +2444 -0
- package/dist/nodes/Binance/resources/mining/index.js.map +1 -0
- package/dist/nodes/Binance/resources/nft/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/nft/index.js +830 -0
- package/dist/nodes/Binance/resources/nft/index.js.map +1 -0
- package/dist/nodes/Binance/resources/pay/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/pay/index.js +205 -0
- package/dist/nodes/Binance/resources/pay/index.js.map +1 -0
- package/dist/nodes/Binance/resources/portfolio-margin/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/portfolio-margin/index.js +1561 -0
- package/dist/nodes/Binance/resources/portfolio-margin/index.js.map +1 -0
- package/dist/nodes/Binance/resources/rebate/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/rebate/index.js +205 -0
- package/dist/nodes/Binance/resources/rebate/index.js.map +1 -0
- package/dist/nodes/Binance/resources/savings/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/savings/index.js +882 -0
- package/dist/nodes/Binance/resources/savings/index.js.map +1 -0
- package/dist/nodes/Binance/resources/simple-earn/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/simple-earn/index.js +4686 -0
- package/dist/nodes/Binance/resources/simple-earn/index.js.map +1 -0
- package/dist/nodes/Binance/resources/spot-algo/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/spot-algo/index.js +982 -0
- package/dist/nodes/Binance/resources/spot-algo/index.js.map +1 -0
- package/dist/nodes/Binance/resources/staking/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/staking/index.js +2121 -0
- package/dist/nodes/Binance/resources/staking/index.js.map +1 -0
- package/dist/nodes/Binance/resources/stream/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/stream/index.js +165 -0
- package/dist/nodes/Binance/resources/stream/index.js.map +1 -0
- package/dist/nodes/Binance/resources/sub-account/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/sub-account/index.js +8448 -0
- package/dist/nodes/Binance/resources/sub-account/index.js.map +1 -0
- package/dist/nodes/Binance/resources/trade/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/trade/index.js +8198 -0
- package/dist/nodes/Binance/resources/trade/index.js.map +1 -0
- package/dist/nodes/Binance/resources/vip-loans/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/vip-loans/index.js +1883 -0
- package/dist/nodes/Binance/resources/vip-loans/index.js.map +1 -0
- package/dist/nodes/Binance/resources/wallet/index.d.ts +2 -0
- package/dist/nodes/Binance/resources/wallet/index.js +5908 -0
- package/dist/nodes/Binance/resources/wallet/index.js.map +1 -0
- package/dist/package.json +62 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +62 -0
|
@@ -0,0 +1,1398 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.futuresAlgoDescription = void 0;
|
|
4
|
+
exports.futuresAlgoDescription = [
|
|
5
|
+
{
|
|
6
|
+
"displayName": "Operation",
|
|
7
|
+
"name": "operation",
|
|
8
|
+
"type": "options",
|
|
9
|
+
"noDataExpression": true,
|
|
10
|
+
"displayOptions": {
|
|
11
|
+
"show": {
|
|
12
|
+
"resource": [
|
|
13
|
+
"Futures Algo"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"options": [
|
|
18
|
+
{
|
|
19
|
+
"name": "POST Sapi V 1 Algo Futures New Order Vp",
|
|
20
|
+
"value": "POST Sapi V 1 Algo Futures New Order Vp",
|
|
21
|
+
"action": "Volume Participation(VP) New Order (TRADE)",
|
|
22
|
+
"description": "Send in a VP new order. Only support on USDⓈ-M Contracts.\n\n- You need to enable `Futures Trading Permission` for the api key which requests this endpoint.\n- Base URL: https://api.binance.com\n\n- Total Algo open orders max allowed: 10 orders.\n- Leverage of symbols and position mode will be the same as your futures account settings. You can set up through the trading page or fapi.\n- Receiving \"success\": true does not mean that your order will be executed. Please use the query order endpoints(GET sapi/v1/algo/futures/openOrders or GET sapi/v1/algo/futures/historicalOrders) to check the order status. For example: Your futures balance is insufficient, or open position with reduce only or position side is inconsistent with your own setting. In these cases you will receive \"success\": true, but the order status will be expired after we check it.\n\nWeight(UID): 3000",
|
|
23
|
+
"routing": {
|
|
24
|
+
"request": {
|
|
25
|
+
"method": "POST",
|
|
26
|
+
"url": "=/sapi/v1/algo/futures/newOrderVp"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "POST Sapi V 1 Algo Futures New Order Twap",
|
|
32
|
+
"value": "POST Sapi V 1 Algo Futures New Order Twap",
|
|
33
|
+
"action": "Time-Weighted Average Price(Twap) New Order (TRADE)",
|
|
34
|
+
"description": "Send in a Twap new order. Only support on USDⓈ-M Contracts.\n\nYou need to enable Futures Trading Permission for the api key which requests this endpoint.\nBase URL: https://api.binance.com\n\n- Total Algo open orders max allowed: 10 orders.\n- Leverage of symbols and position mode will be the same as your futures account settings. You can set up through the trading page or fapi.\n- Receiving \"success\": true does not mean that your order will be executed. Please use the query order endpoints(GET sapi/v1/algo/futures/openOrders or GET sapi/v1/algo/futures/historicalOrders) to check the order status. For example: Your futures balance is insufficient, or open position with reduce only or position side is inconsistent with your own setting. In these cases you will receive \"success\": true, but the order status will be expired after we check it.\n- quantity * 60 / duration should be larger than minQty\n- duration cannot be less than 5 mins or more than 24 hours.\n- For delivery contracts, TWAP end time should be one hour earlier than the delivery time of the symbol.\n\nWeight(UID): 3000",
|
|
35
|
+
"routing": {
|
|
36
|
+
"request": {
|
|
37
|
+
"method": "POST",
|
|
38
|
+
"url": "=/sapi/v1/algo/futures/newOrderTwap"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "DELETE Sapi V 1 Algo Futures Order",
|
|
44
|
+
"value": "DELETE Sapi V 1 Algo Futures Order",
|
|
45
|
+
"action": "Cancel Algo Order(TRADE)",
|
|
46
|
+
"description": "Cancel an active order.\n- You need to enable Futures Trading Permission for the api key which requests this endpoint.\n- Base URL: https://api.binance.com\n\nWeight(IP): 1",
|
|
47
|
+
"routing": {
|
|
48
|
+
"request": {
|
|
49
|
+
"method": "DELETE",
|
|
50
|
+
"url": "=/sapi/v1/algo/futures/order"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "GET Sapi V 1 Algo Futures Open Orders",
|
|
56
|
+
"value": "GET Sapi V 1 Algo Futures Open Orders",
|
|
57
|
+
"action": "Query Current Algo Open Orders (USER_DATA)",
|
|
58
|
+
"description": "- You need to enable Futures Trading Permission for the api key which requests this endpoint.\n- Base URL: https://api.binance.com\n\nWeight(IP): 1",
|
|
59
|
+
"routing": {
|
|
60
|
+
"request": {
|
|
61
|
+
"method": "GET",
|
|
62
|
+
"url": "=/sapi/v1/algo/futures/openOrders"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "GET Sapi V 1 Algo Futures Historical Orders",
|
|
68
|
+
"value": "GET Sapi V 1 Algo Futures Historical Orders",
|
|
69
|
+
"action": "Query Historical Algo Orders (USER_DATA)",
|
|
70
|
+
"description": "- You need to enable Futures Trading Permission for the api key which requests this endpoint.\n- Base URL: https://api.binance.com\n\nWeight(IP): 1",
|
|
71
|
+
"routing": {
|
|
72
|
+
"request": {
|
|
73
|
+
"method": "GET",
|
|
74
|
+
"url": "=/sapi/v1/algo/futures/historicalOrders"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "GET Sapi V 1 Algo Futures Sub Orders",
|
|
80
|
+
"value": "GET Sapi V 1 Algo Futures Sub Orders",
|
|
81
|
+
"action": "Query Sub Orders (USER_DATA)",
|
|
82
|
+
"description": "- You need to enable Futures Trading Permission for the api key which requests this endpoint.\n- Base URL: https://api.binance.com\n\nWeight(IP): 1",
|
|
83
|
+
"routing": {
|
|
84
|
+
"request": {
|
|
85
|
+
"method": "GET",
|
|
86
|
+
"url": "=/sapi/v1/algo/futures/subOrders"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"default": ""
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"displayName": "POST /sapi/v1/algo/futures/newOrderVp",
|
|
95
|
+
"name": "operation",
|
|
96
|
+
"type": "notice",
|
|
97
|
+
"typeOptions": {
|
|
98
|
+
"theme": "info"
|
|
99
|
+
},
|
|
100
|
+
"default": "",
|
|
101
|
+
"displayOptions": {
|
|
102
|
+
"show": {
|
|
103
|
+
"resource": [
|
|
104
|
+
"Futures Algo"
|
|
105
|
+
],
|
|
106
|
+
"operation": [
|
|
107
|
+
"POST Sapi V 1 Algo Futures New Order Vp"
|
|
108
|
+
]
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"displayName": "Symbol",
|
|
114
|
+
"name": "symbol",
|
|
115
|
+
"required": true,
|
|
116
|
+
"description": "Trading symbol, e.g. BNBUSDT",
|
|
117
|
+
"default": "BNBUSDT",
|
|
118
|
+
"type": "string",
|
|
119
|
+
"routing": {
|
|
120
|
+
"send": {
|
|
121
|
+
"type": "query",
|
|
122
|
+
"property": "symbol",
|
|
123
|
+
"value": "={{ $value }}",
|
|
124
|
+
"propertyInDotNotation": false
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"displayOptions": {
|
|
128
|
+
"show": {
|
|
129
|
+
"resource": [
|
|
130
|
+
"Futures Algo"
|
|
131
|
+
],
|
|
132
|
+
"operation": [
|
|
133
|
+
"POST Sapi V 1 Algo Futures New Order Vp"
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"displayName": "Side",
|
|
140
|
+
"name": "side",
|
|
141
|
+
"required": true,
|
|
142
|
+
"default": "SELL",
|
|
143
|
+
"type": "options",
|
|
144
|
+
"options": [
|
|
145
|
+
{
|
|
146
|
+
"name": "SELL",
|
|
147
|
+
"value": "SELL"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "BUY",
|
|
151
|
+
"value": "BUY"
|
|
152
|
+
}
|
|
153
|
+
],
|
|
154
|
+
"routing": {
|
|
155
|
+
"send": {
|
|
156
|
+
"type": "query",
|
|
157
|
+
"property": "side",
|
|
158
|
+
"value": "={{ $value }}",
|
|
159
|
+
"propertyInDotNotation": false
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"displayOptions": {
|
|
163
|
+
"show": {
|
|
164
|
+
"resource": [
|
|
165
|
+
"Futures Algo"
|
|
166
|
+
],
|
|
167
|
+
"operation": [
|
|
168
|
+
"POST Sapi V 1 Algo Futures New Order Vp"
|
|
169
|
+
]
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"displayName": "Position Side",
|
|
175
|
+
"name": "positionSide",
|
|
176
|
+
"description": "Default BOTH for One-way Mode ; LONG or SHORT for Hedge Mode. It must be sent in Hedge Mode.",
|
|
177
|
+
"default": "BOTH",
|
|
178
|
+
"type": "options",
|
|
179
|
+
"options": [
|
|
180
|
+
{
|
|
181
|
+
"name": "BOTH",
|
|
182
|
+
"value": "BOTH"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "LONG",
|
|
186
|
+
"value": "LONG"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "SHORT",
|
|
190
|
+
"value": "SHORT"
|
|
191
|
+
}
|
|
192
|
+
],
|
|
193
|
+
"routing": {
|
|
194
|
+
"send": {
|
|
195
|
+
"type": "query",
|
|
196
|
+
"property": "positionSide",
|
|
197
|
+
"value": "={{ $value }}",
|
|
198
|
+
"propertyInDotNotation": false
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"displayOptions": {
|
|
202
|
+
"show": {
|
|
203
|
+
"resource": [
|
|
204
|
+
"Futures Algo"
|
|
205
|
+
],
|
|
206
|
+
"operation": [
|
|
207
|
+
"POST Sapi V 1 Algo Futures New Order Vp"
|
|
208
|
+
]
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"displayName": "Quantity",
|
|
214
|
+
"name": "quantity",
|
|
215
|
+
"required": true,
|
|
216
|
+
"description": "Quantity of base asset; The notional (quantity * mark price(base asset)) must be more than the equivalent of 10,000 USDT and less than the equivalent of 1,000,000 USDT",
|
|
217
|
+
"default": 0,
|
|
218
|
+
"type": "number",
|
|
219
|
+
"routing": {
|
|
220
|
+
"send": {
|
|
221
|
+
"type": "query",
|
|
222
|
+
"property": "quantity",
|
|
223
|
+
"value": "={{ $value }}",
|
|
224
|
+
"propertyInDotNotation": false
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
"displayOptions": {
|
|
228
|
+
"show": {
|
|
229
|
+
"resource": [
|
|
230
|
+
"Futures Algo"
|
|
231
|
+
],
|
|
232
|
+
"operation": [
|
|
233
|
+
"POST Sapi V 1 Algo Futures New Order Vp"
|
|
234
|
+
]
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"displayName": "Urgency",
|
|
240
|
+
"name": "urgency",
|
|
241
|
+
"required": true,
|
|
242
|
+
"description": "Represent the relative speed of the current execution; ENUM: LOW, MEDIUM, HIGH",
|
|
243
|
+
"default": "LOW",
|
|
244
|
+
"type": "options",
|
|
245
|
+
"options": [
|
|
246
|
+
{
|
|
247
|
+
"name": "LOW",
|
|
248
|
+
"value": "LOW"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "MEDIUM",
|
|
252
|
+
"value": "MEDIUM"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"name": "HIGH",
|
|
256
|
+
"value": "HIGH"
|
|
257
|
+
}
|
|
258
|
+
],
|
|
259
|
+
"routing": {
|
|
260
|
+
"send": {
|
|
261
|
+
"type": "query",
|
|
262
|
+
"property": "urgency",
|
|
263
|
+
"value": "={{ $value }}",
|
|
264
|
+
"propertyInDotNotation": false
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"displayOptions": {
|
|
268
|
+
"show": {
|
|
269
|
+
"resource": [
|
|
270
|
+
"Futures Algo"
|
|
271
|
+
],
|
|
272
|
+
"operation": [
|
|
273
|
+
"POST Sapi V 1 Algo Futures New Order Vp"
|
|
274
|
+
]
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"displayName": "Client Algo Id",
|
|
280
|
+
"name": "clientAlgoId",
|
|
281
|
+
"description": "A unique id among Algo orders (length should be 32 characters), If it is not sent, we will give default value",
|
|
282
|
+
"default": "00358ce6a268403398bd34eaa36dffe7",
|
|
283
|
+
"type": "string",
|
|
284
|
+
"routing": {
|
|
285
|
+
"send": {
|
|
286
|
+
"type": "query",
|
|
287
|
+
"property": "clientAlgoId",
|
|
288
|
+
"value": "={{ $value }}",
|
|
289
|
+
"propertyInDotNotation": false
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"displayOptions": {
|
|
293
|
+
"show": {
|
|
294
|
+
"resource": [
|
|
295
|
+
"Futures Algo"
|
|
296
|
+
],
|
|
297
|
+
"operation": [
|
|
298
|
+
"POST Sapi V 1 Algo Futures New Order Vp"
|
|
299
|
+
]
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"displayName": "Reduce Only",
|
|
305
|
+
"name": "reduceOnly",
|
|
306
|
+
"description": "'true' or 'false'. Default 'false'; Cannot be sent in Hedge Mode; Cannot be sent when you open a position",
|
|
307
|
+
"default": true,
|
|
308
|
+
"type": "boolean",
|
|
309
|
+
"routing": {
|
|
310
|
+
"send": {
|
|
311
|
+
"type": "query",
|
|
312
|
+
"property": "reduceOnly",
|
|
313
|
+
"value": "={{ $value }}",
|
|
314
|
+
"propertyInDotNotation": false
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
"displayOptions": {
|
|
318
|
+
"show": {
|
|
319
|
+
"resource": [
|
|
320
|
+
"Futures Algo"
|
|
321
|
+
],
|
|
322
|
+
"operation": [
|
|
323
|
+
"POST Sapi V 1 Algo Futures New Order Vp"
|
|
324
|
+
]
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"displayName": "Limit Price",
|
|
330
|
+
"name": "limitPrice",
|
|
331
|
+
"description": "Limit price of the order; If it is not sent, will place order by market price by default",
|
|
332
|
+
"default": 0,
|
|
333
|
+
"type": "number",
|
|
334
|
+
"routing": {
|
|
335
|
+
"send": {
|
|
336
|
+
"type": "query",
|
|
337
|
+
"property": "limitPrice",
|
|
338
|
+
"value": "={{ $value }}",
|
|
339
|
+
"propertyInDotNotation": false
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
"displayOptions": {
|
|
343
|
+
"show": {
|
|
344
|
+
"resource": [
|
|
345
|
+
"Futures Algo"
|
|
346
|
+
],
|
|
347
|
+
"operation": [
|
|
348
|
+
"POST Sapi V 1 Algo Futures New Order Vp"
|
|
349
|
+
]
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"displayName": "Recv Window",
|
|
355
|
+
"name": "recvWindow",
|
|
356
|
+
"description": "The value cannot be greater than 60000",
|
|
357
|
+
"default": 5000,
|
|
358
|
+
"type": "number",
|
|
359
|
+
"routing": {
|
|
360
|
+
"send": {
|
|
361
|
+
"type": "query",
|
|
362
|
+
"property": "recvWindow",
|
|
363
|
+
"value": "={{ $value }}",
|
|
364
|
+
"propertyInDotNotation": false
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"displayOptions": {
|
|
368
|
+
"show": {
|
|
369
|
+
"resource": [
|
|
370
|
+
"Futures Algo"
|
|
371
|
+
],
|
|
372
|
+
"operation": [
|
|
373
|
+
"POST Sapi V 1 Algo Futures New Order Vp"
|
|
374
|
+
]
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"displayName": "Timestamp",
|
|
380
|
+
"name": "timestamp",
|
|
381
|
+
"required": true,
|
|
382
|
+
"description": "UTC timestamp in ms",
|
|
383
|
+
"default": 0,
|
|
384
|
+
"type": "number",
|
|
385
|
+
"routing": {
|
|
386
|
+
"send": {
|
|
387
|
+
"type": "query",
|
|
388
|
+
"property": "timestamp",
|
|
389
|
+
"value": "={{ $value }}",
|
|
390
|
+
"propertyInDotNotation": false
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"displayOptions": {
|
|
394
|
+
"show": {
|
|
395
|
+
"resource": [
|
|
396
|
+
"Futures Algo"
|
|
397
|
+
],
|
|
398
|
+
"operation": [
|
|
399
|
+
"POST Sapi V 1 Algo Futures New Order Vp"
|
|
400
|
+
]
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"displayName": "Signature",
|
|
406
|
+
"name": "signature",
|
|
407
|
+
"required": true,
|
|
408
|
+
"description": "Signature",
|
|
409
|
+
"default": "",
|
|
410
|
+
"type": "string",
|
|
411
|
+
"routing": {
|
|
412
|
+
"send": {
|
|
413
|
+
"type": "query",
|
|
414
|
+
"property": "signature",
|
|
415
|
+
"value": "={{ $value }}",
|
|
416
|
+
"propertyInDotNotation": false
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
"displayOptions": {
|
|
420
|
+
"show": {
|
|
421
|
+
"resource": [
|
|
422
|
+
"Futures Algo"
|
|
423
|
+
],
|
|
424
|
+
"operation": [
|
|
425
|
+
"POST Sapi V 1 Algo Futures New Order Vp"
|
|
426
|
+
]
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"displayName": "POST /sapi/v1/algo/futures/newOrderTwap",
|
|
432
|
+
"name": "operation",
|
|
433
|
+
"type": "notice",
|
|
434
|
+
"typeOptions": {
|
|
435
|
+
"theme": "info"
|
|
436
|
+
},
|
|
437
|
+
"default": "",
|
|
438
|
+
"displayOptions": {
|
|
439
|
+
"show": {
|
|
440
|
+
"resource": [
|
|
441
|
+
"Futures Algo"
|
|
442
|
+
],
|
|
443
|
+
"operation": [
|
|
444
|
+
"POST Sapi V 1 Algo Futures New Order Twap"
|
|
445
|
+
]
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"displayName": "Symbol",
|
|
451
|
+
"name": "symbol",
|
|
452
|
+
"required": true,
|
|
453
|
+
"description": "Trading symbol, e.g. BNBUSDT",
|
|
454
|
+
"default": "BNBUSDT",
|
|
455
|
+
"type": "string",
|
|
456
|
+
"routing": {
|
|
457
|
+
"send": {
|
|
458
|
+
"type": "query",
|
|
459
|
+
"property": "symbol",
|
|
460
|
+
"value": "={{ $value }}",
|
|
461
|
+
"propertyInDotNotation": false
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
"displayOptions": {
|
|
465
|
+
"show": {
|
|
466
|
+
"resource": [
|
|
467
|
+
"Futures Algo"
|
|
468
|
+
],
|
|
469
|
+
"operation": [
|
|
470
|
+
"POST Sapi V 1 Algo Futures New Order Twap"
|
|
471
|
+
]
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"displayName": "Side",
|
|
477
|
+
"name": "side",
|
|
478
|
+
"required": true,
|
|
479
|
+
"default": "SELL",
|
|
480
|
+
"type": "options",
|
|
481
|
+
"options": [
|
|
482
|
+
{
|
|
483
|
+
"name": "SELL",
|
|
484
|
+
"value": "SELL"
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"name": "BUY",
|
|
488
|
+
"value": "BUY"
|
|
489
|
+
}
|
|
490
|
+
],
|
|
491
|
+
"routing": {
|
|
492
|
+
"send": {
|
|
493
|
+
"type": "query",
|
|
494
|
+
"property": "side",
|
|
495
|
+
"value": "={{ $value }}",
|
|
496
|
+
"propertyInDotNotation": false
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
"displayOptions": {
|
|
500
|
+
"show": {
|
|
501
|
+
"resource": [
|
|
502
|
+
"Futures Algo"
|
|
503
|
+
],
|
|
504
|
+
"operation": [
|
|
505
|
+
"POST Sapi V 1 Algo Futures New Order Twap"
|
|
506
|
+
]
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"displayName": "Position Side",
|
|
512
|
+
"name": "positionSide",
|
|
513
|
+
"description": "Default BOTH for One-way Mode ; LONG or SHORT for Hedge Mode. It must be sent in Hedge Mode.",
|
|
514
|
+
"default": "BOTH",
|
|
515
|
+
"type": "options",
|
|
516
|
+
"options": [
|
|
517
|
+
{
|
|
518
|
+
"name": "BOTH",
|
|
519
|
+
"value": "BOTH"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"name": "LONG",
|
|
523
|
+
"value": "LONG"
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"name": "SHORT",
|
|
527
|
+
"value": "SHORT"
|
|
528
|
+
}
|
|
529
|
+
],
|
|
530
|
+
"routing": {
|
|
531
|
+
"send": {
|
|
532
|
+
"type": "query",
|
|
533
|
+
"property": "positionSide",
|
|
534
|
+
"value": "={{ $value }}",
|
|
535
|
+
"propertyInDotNotation": false
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
"displayOptions": {
|
|
539
|
+
"show": {
|
|
540
|
+
"resource": [
|
|
541
|
+
"Futures Algo"
|
|
542
|
+
],
|
|
543
|
+
"operation": [
|
|
544
|
+
"POST Sapi V 1 Algo Futures New Order Twap"
|
|
545
|
+
]
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"displayName": "Quantity",
|
|
551
|
+
"name": "quantity",
|
|
552
|
+
"required": true,
|
|
553
|
+
"description": "Quantity of base asset; The notional (quantity * mark price(base asset)) must be more than the equivalent of 10,000 USDT and less than the equivalent of 1,000,000 USDT",
|
|
554
|
+
"default": 0,
|
|
555
|
+
"type": "number",
|
|
556
|
+
"routing": {
|
|
557
|
+
"send": {
|
|
558
|
+
"type": "query",
|
|
559
|
+
"property": "quantity",
|
|
560
|
+
"value": "={{ $value }}",
|
|
561
|
+
"propertyInDotNotation": false
|
|
562
|
+
}
|
|
563
|
+
},
|
|
564
|
+
"displayOptions": {
|
|
565
|
+
"show": {
|
|
566
|
+
"resource": [
|
|
567
|
+
"Futures Algo"
|
|
568
|
+
],
|
|
569
|
+
"operation": [
|
|
570
|
+
"POST Sapi V 1 Algo Futures New Order Twap"
|
|
571
|
+
]
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"displayName": "Duration",
|
|
577
|
+
"name": "duration",
|
|
578
|
+
"required": true,
|
|
579
|
+
"description": "Duration for TWAP orders in seconds. [300, 86400];Less than 5min => defaults to 5 min; Greater than 24h => defaults to 24h",
|
|
580
|
+
"default": 300,
|
|
581
|
+
"type": "number",
|
|
582
|
+
"routing": {
|
|
583
|
+
"send": {
|
|
584
|
+
"type": "query",
|
|
585
|
+
"property": "duration",
|
|
586
|
+
"value": "={{ $value }}",
|
|
587
|
+
"propertyInDotNotation": false
|
|
588
|
+
}
|
|
589
|
+
},
|
|
590
|
+
"displayOptions": {
|
|
591
|
+
"show": {
|
|
592
|
+
"resource": [
|
|
593
|
+
"Futures Algo"
|
|
594
|
+
],
|
|
595
|
+
"operation": [
|
|
596
|
+
"POST Sapi V 1 Algo Futures New Order Twap"
|
|
597
|
+
]
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"displayName": "Client Algo Id",
|
|
603
|
+
"name": "clientAlgoId",
|
|
604
|
+
"description": "A unique id among Algo orders (length should be 32 characters), If it is not sent, we will give default value",
|
|
605
|
+
"default": "00358ce6a268403398bd34eaa36dffe7",
|
|
606
|
+
"type": "string",
|
|
607
|
+
"routing": {
|
|
608
|
+
"send": {
|
|
609
|
+
"type": "query",
|
|
610
|
+
"property": "clientAlgoId",
|
|
611
|
+
"value": "={{ $value }}",
|
|
612
|
+
"propertyInDotNotation": false
|
|
613
|
+
}
|
|
614
|
+
},
|
|
615
|
+
"displayOptions": {
|
|
616
|
+
"show": {
|
|
617
|
+
"resource": [
|
|
618
|
+
"Futures Algo"
|
|
619
|
+
],
|
|
620
|
+
"operation": [
|
|
621
|
+
"POST Sapi V 1 Algo Futures New Order Twap"
|
|
622
|
+
]
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"displayName": "Reduce Only",
|
|
628
|
+
"name": "reduceOnly",
|
|
629
|
+
"description": "'true' or 'false'. Default 'false'; Cannot be sent in Hedge Mode; Cannot be sent when you open a position",
|
|
630
|
+
"default": true,
|
|
631
|
+
"type": "boolean",
|
|
632
|
+
"routing": {
|
|
633
|
+
"send": {
|
|
634
|
+
"type": "query",
|
|
635
|
+
"property": "reduceOnly",
|
|
636
|
+
"value": "={{ $value }}",
|
|
637
|
+
"propertyInDotNotation": false
|
|
638
|
+
}
|
|
639
|
+
},
|
|
640
|
+
"displayOptions": {
|
|
641
|
+
"show": {
|
|
642
|
+
"resource": [
|
|
643
|
+
"Futures Algo"
|
|
644
|
+
],
|
|
645
|
+
"operation": [
|
|
646
|
+
"POST Sapi V 1 Algo Futures New Order Twap"
|
|
647
|
+
]
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"displayName": "Limit Price",
|
|
653
|
+
"name": "limitPrice",
|
|
654
|
+
"description": "Limit price of the order; If it is not sent, will place order by market price by default",
|
|
655
|
+
"default": 0,
|
|
656
|
+
"type": "number",
|
|
657
|
+
"routing": {
|
|
658
|
+
"send": {
|
|
659
|
+
"type": "query",
|
|
660
|
+
"property": "limitPrice",
|
|
661
|
+
"value": "={{ $value }}",
|
|
662
|
+
"propertyInDotNotation": false
|
|
663
|
+
}
|
|
664
|
+
},
|
|
665
|
+
"displayOptions": {
|
|
666
|
+
"show": {
|
|
667
|
+
"resource": [
|
|
668
|
+
"Futures Algo"
|
|
669
|
+
],
|
|
670
|
+
"operation": [
|
|
671
|
+
"POST Sapi V 1 Algo Futures New Order Twap"
|
|
672
|
+
]
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"displayName": "Recv Window",
|
|
678
|
+
"name": "recvWindow",
|
|
679
|
+
"description": "The value cannot be greater than 60000",
|
|
680
|
+
"default": 5000,
|
|
681
|
+
"type": "number",
|
|
682
|
+
"routing": {
|
|
683
|
+
"send": {
|
|
684
|
+
"type": "query",
|
|
685
|
+
"property": "recvWindow",
|
|
686
|
+
"value": "={{ $value }}",
|
|
687
|
+
"propertyInDotNotation": false
|
|
688
|
+
}
|
|
689
|
+
},
|
|
690
|
+
"displayOptions": {
|
|
691
|
+
"show": {
|
|
692
|
+
"resource": [
|
|
693
|
+
"Futures Algo"
|
|
694
|
+
],
|
|
695
|
+
"operation": [
|
|
696
|
+
"POST Sapi V 1 Algo Futures New Order Twap"
|
|
697
|
+
]
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"displayName": "Timestamp",
|
|
703
|
+
"name": "timestamp",
|
|
704
|
+
"required": true,
|
|
705
|
+
"description": "UTC timestamp in ms",
|
|
706
|
+
"default": 0,
|
|
707
|
+
"type": "number",
|
|
708
|
+
"routing": {
|
|
709
|
+
"send": {
|
|
710
|
+
"type": "query",
|
|
711
|
+
"property": "timestamp",
|
|
712
|
+
"value": "={{ $value }}",
|
|
713
|
+
"propertyInDotNotation": false
|
|
714
|
+
}
|
|
715
|
+
},
|
|
716
|
+
"displayOptions": {
|
|
717
|
+
"show": {
|
|
718
|
+
"resource": [
|
|
719
|
+
"Futures Algo"
|
|
720
|
+
],
|
|
721
|
+
"operation": [
|
|
722
|
+
"POST Sapi V 1 Algo Futures New Order Twap"
|
|
723
|
+
]
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
"displayName": "Signature",
|
|
729
|
+
"name": "signature",
|
|
730
|
+
"required": true,
|
|
731
|
+
"description": "Signature",
|
|
732
|
+
"default": "",
|
|
733
|
+
"type": "string",
|
|
734
|
+
"routing": {
|
|
735
|
+
"send": {
|
|
736
|
+
"type": "query",
|
|
737
|
+
"property": "signature",
|
|
738
|
+
"value": "={{ $value }}",
|
|
739
|
+
"propertyInDotNotation": false
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
"displayOptions": {
|
|
743
|
+
"show": {
|
|
744
|
+
"resource": [
|
|
745
|
+
"Futures Algo"
|
|
746
|
+
],
|
|
747
|
+
"operation": [
|
|
748
|
+
"POST Sapi V 1 Algo Futures New Order Twap"
|
|
749
|
+
]
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
"displayName": "DELETE /sapi/v1/algo/futures/order",
|
|
755
|
+
"name": "operation",
|
|
756
|
+
"type": "notice",
|
|
757
|
+
"typeOptions": {
|
|
758
|
+
"theme": "info"
|
|
759
|
+
},
|
|
760
|
+
"default": "",
|
|
761
|
+
"displayOptions": {
|
|
762
|
+
"show": {
|
|
763
|
+
"resource": [
|
|
764
|
+
"Futures Algo"
|
|
765
|
+
],
|
|
766
|
+
"operation": [
|
|
767
|
+
"DELETE Sapi V 1 Algo Futures Order"
|
|
768
|
+
]
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"displayName": "Algo Id",
|
|
774
|
+
"name": "algoId",
|
|
775
|
+
"required": true,
|
|
776
|
+
"description": "Eg. 14511",
|
|
777
|
+
"default": 0,
|
|
778
|
+
"type": "number",
|
|
779
|
+
"routing": {
|
|
780
|
+
"send": {
|
|
781
|
+
"type": "query",
|
|
782
|
+
"property": "algoId",
|
|
783
|
+
"value": "={{ $value }}",
|
|
784
|
+
"propertyInDotNotation": false
|
|
785
|
+
}
|
|
786
|
+
},
|
|
787
|
+
"displayOptions": {
|
|
788
|
+
"show": {
|
|
789
|
+
"resource": [
|
|
790
|
+
"Futures Algo"
|
|
791
|
+
],
|
|
792
|
+
"operation": [
|
|
793
|
+
"DELETE Sapi V 1 Algo Futures Order"
|
|
794
|
+
]
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
"displayName": "Recv Window",
|
|
800
|
+
"name": "recvWindow",
|
|
801
|
+
"description": "The value cannot be greater than 60000",
|
|
802
|
+
"default": 5000,
|
|
803
|
+
"type": "number",
|
|
804
|
+
"routing": {
|
|
805
|
+
"send": {
|
|
806
|
+
"type": "query",
|
|
807
|
+
"property": "recvWindow",
|
|
808
|
+
"value": "={{ $value }}",
|
|
809
|
+
"propertyInDotNotation": false
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
"displayOptions": {
|
|
813
|
+
"show": {
|
|
814
|
+
"resource": [
|
|
815
|
+
"Futures Algo"
|
|
816
|
+
],
|
|
817
|
+
"operation": [
|
|
818
|
+
"DELETE Sapi V 1 Algo Futures Order"
|
|
819
|
+
]
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"displayName": "Timestamp",
|
|
825
|
+
"name": "timestamp",
|
|
826
|
+
"required": true,
|
|
827
|
+
"description": "UTC timestamp in ms",
|
|
828
|
+
"default": 0,
|
|
829
|
+
"type": "number",
|
|
830
|
+
"routing": {
|
|
831
|
+
"send": {
|
|
832
|
+
"type": "query",
|
|
833
|
+
"property": "timestamp",
|
|
834
|
+
"value": "={{ $value }}",
|
|
835
|
+
"propertyInDotNotation": false
|
|
836
|
+
}
|
|
837
|
+
},
|
|
838
|
+
"displayOptions": {
|
|
839
|
+
"show": {
|
|
840
|
+
"resource": [
|
|
841
|
+
"Futures Algo"
|
|
842
|
+
],
|
|
843
|
+
"operation": [
|
|
844
|
+
"DELETE Sapi V 1 Algo Futures Order"
|
|
845
|
+
]
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"displayName": "Signature",
|
|
851
|
+
"name": "signature",
|
|
852
|
+
"required": true,
|
|
853
|
+
"description": "Signature",
|
|
854
|
+
"default": "",
|
|
855
|
+
"type": "string",
|
|
856
|
+
"routing": {
|
|
857
|
+
"send": {
|
|
858
|
+
"type": "query",
|
|
859
|
+
"property": "signature",
|
|
860
|
+
"value": "={{ $value }}",
|
|
861
|
+
"propertyInDotNotation": false
|
|
862
|
+
}
|
|
863
|
+
},
|
|
864
|
+
"displayOptions": {
|
|
865
|
+
"show": {
|
|
866
|
+
"resource": [
|
|
867
|
+
"Futures Algo"
|
|
868
|
+
],
|
|
869
|
+
"operation": [
|
|
870
|
+
"DELETE Sapi V 1 Algo Futures Order"
|
|
871
|
+
]
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"displayName": "GET /sapi/v1/algo/futures/openOrders",
|
|
877
|
+
"name": "operation",
|
|
878
|
+
"type": "notice",
|
|
879
|
+
"typeOptions": {
|
|
880
|
+
"theme": "info"
|
|
881
|
+
},
|
|
882
|
+
"default": "",
|
|
883
|
+
"displayOptions": {
|
|
884
|
+
"show": {
|
|
885
|
+
"resource": [
|
|
886
|
+
"Futures Algo"
|
|
887
|
+
],
|
|
888
|
+
"operation": [
|
|
889
|
+
"GET Sapi V 1 Algo Futures Open Orders"
|
|
890
|
+
]
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
"displayName": "Recv Window",
|
|
896
|
+
"name": "recvWindow",
|
|
897
|
+
"description": "The value cannot be greater than 60000",
|
|
898
|
+
"default": 5000,
|
|
899
|
+
"type": "number",
|
|
900
|
+
"routing": {
|
|
901
|
+
"send": {
|
|
902
|
+
"type": "query",
|
|
903
|
+
"property": "recvWindow",
|
|
904
|
+
"value": "={{ $value }}",
|
|
905
|
+
"propertyInDotNotation": false
|
|
906
|
+
}
|
|
907
|
+
},
|
|
908
|
+
"displayOptions": {
|
|
909
|
+
"show": {
|
|
910
|
+
"resource": [
|
|
911
|
+
"Futures Algo"
|
|
912
|
+
],
|
|
913
|
+
"operation": [
|
|
914
|
+
"GET Sapi V 1 Algo Futures Open Orders"
|
|
915
|
+
]
|
|
916
|
+
}
|
|
917
|
+
}
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
"displayName": "Timestamp",
|
|
921
|
+
"name": "timestamp",
|
|
922
|
+
"required": true,
|
|
923
|
+
"description": "UTC timestamp in ms",
|
|
924
|
+
"default": 0,
|
|
925
|
+
"type": "number",
|
|
926
|
+
"routing": {
|
|
927
|
+
"send": {
|
|
928
|
+
"type": "query",
|
|
929
|
+
"property": "timestamp",
|
|
930
|
+
"value": "={{ $value }}",
|
|
931
|
+
"propertyInDotNotation": false
|
|
932
|
+
}
|
|
933
|
+
},
|
|
934
|
+
"displayOptions": {
|
|
935
|
+
"show": {
|
|
936
|
+
"resource": [
|
|
937
|
+
"Futures Algo"
|
|
938
|
+
],
|
|
939
|
+
"operation": [
|
|
940
|
+
"GET Sapi V 1 Algo Futures Open Orders"
|
|
941
|
+
]
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
"displayName": "Signature",
|
|
947
|
+
"name": "signature",
|
|
948
|
+
"required": true,
|
|
949
|
+
"description": "Signature",
|
|
950
|
+
"default": "",
|
|
951
|
+
"type": "string",
|
|
952
|
+
"routing": {
|
|
953
|
+
"send": {
|
|
954
|
+
"type": "query",
|
|
955
|
+
"property": "signature",
|
|
956
|
+
"value": "={{ $value }}",
|
|
957
|
+
"propertyInDotNotation": false
|
|
958
|
+
}
|
|
959
|
+
},
|
|
960
|
+
"displayOptions": {
|
|
961
|
+
"show": {
|
|
962
|
+
"resource": [
|
|
963
|
+
"Futures Algo"
|
|
964
|
+
],
|
|
965
|
+
"operation": [
|
|
966
|
+
"GET Sapi V 1 Algo Futures Open Orders"
|
|
967
|
+
]
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
"displayName": "GET /sapi/v1/algo/futures/historicalOrders",
|
|
973
|
+
"name": "operation",
|
|
974
|
+
"type": "notice",
|
|
975
|
+
"typeOptions": {
|
|
976
|
+
"theme": "info"
|
|
977
|
+
},
|
|
978
|
+
"default": "",
|
|
979
|
+
"displayOptions": {
|
|
980
|
+
"show": {
|
|
981
|
+
"resource": [
|
|
982
|
+
"Futures Algo"
|
|
983
|
+
],
|
|
984
|
+
"operation": [
|
|
985
|
+
"GET Sapi V 1 Algo Futures Historical Orders"
|
|
986
|
+
]
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
"displayName": "Symbol",
|
|
992
|
+
"name": "symbol",
|
|
993
|
+
"description": "Trading symbol, e.g. BNBUSDT",
|
|
994
|
+
"default": "BNBUSDT",
|
|
995
|
+
"type": "string",
|
|
996
|
+
"routing": {
|
|
997
|
+
"send": {
|
|
998
|
+
"type": "query",
|
|
999
|
+
"property": "symbol",
|
|
1000
|
+
"value": "={{ $value }}",
|
|
1001
|
+
"propertyInDotNotation": false
|
|
1002
|
+
}
|
|
1003
|
+
},
|
|
1004
|
+
"displayOptions": {
|
|
1005
|
+
"show": {
|
|
1006
|
+
"resource": [
|
|
1007
|
+
"Futures Algo"
|
|
1008
|
+
],
|
|
1009
|
+
"operation": [
|
|
1010
|
+
"GET Sapi V 1 Algo Futures Historical Orders"
|
|
1011
|
+
]
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
"displayName": "Side",
|
|
1017
|
+
"name": "side",
|
|
1018
|
+
"default": "SELL",
|
|
1019
|
+
"type": "options",
|
|
1020
|
+
"options": [
|
|
1021
|
+
{
|
|
1022
|
+
"name": "SELL",
|
|
1023
|
+
"value": "SELL"
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
"name": "BUY",
|
|
1027
|
+
"value": "BUY"
|
|
1028
|
+
}
|
|
1029
|
+
],
|
|
1030
|
+
"routing": {
|
|
1031
|
+
"send": {
|
|
1032
|
+
"type": "query",
|
|
1033
|
+
"property": "side",
|
|
1034
|
+
"value": "={{ $value }}",
|
|
1035
|
+
"propertyInDotNotation": false
|
|
1036
|
+
}
|
|
1037
|
+
},
|
|
1038
|
+
"displayOptions": {
|
|
1039
|
+
"show": {
|
|
1040
|
+
"resource": [
|
|
1041
|
+
"Futures Algo"
|
|
1042
|
+
],
|
|
1043
|
+
"operation": [
|
|
1044
|
+
"GET Sapi V 1 Algo Futures Historical Orders"
|
|
1045
|
+
]
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
"displayName": "Start Time",
|
|
1051
|
+
"name": "startTime",
|
|
1052
|
+
"description": "UTC timestamp in ms",
|
|
1053
|
+
"default": 0,
|
|
1054
|
+
"type": "number",
|
|
1055
|
+
"routing": {
|
|
1056
|
+
"send": {
|
|
1057
|
+
"type": "query",
|
|
1058
|
+
"property": "startTime",
|
|
1059
|
+
"value": "={{ $value }}",
|
|
1060
|
+
"propertyInDotNotation": false
|
|
1061
|
+
}
|
|
1062
|
+
},
|
|
1063
|
+
"displayOptions": {
|
|
1064
|
+
"show": {
|
|
1065
|
+
"resource": [
|
|
1066
|
+
"Futures Algo"
|
|
1067
|
+
],
|
|
1068
|
+
"operation": [
|
|
1069
|
+
"GET Sapi V 1 Algo Futures Historical Orders"
|
|
1070
|
+
]
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"displayName": "End Time",
|
|
1076
|
+
"name": "endTime",
|
|
1077
|
+
"description": "UTC timestamp in ms",
|
|
1078
|
+
"default": 0,
|
|
1079
|
+
"type": "number",
|
|
1080
|
+
"routing": {
|
|
1081
|
+
"send": {
|
|
1082
|
+
"type": "query",
|
|
1083
|
+
"property": "endTime",
|
|
1084
|
+
"value": "={{ $value }}",
|
|
1085
|
+
"propertyInDotNotation": false
|
|
1086
|
+
}
|
|
1087
|
+
},
|
|
1088
|
+
"displayOptions": {
|
|
1089
|
+
"show": {
|
|
1090
|
+
"resource": [
|
|
1091
|
+
"Futures Algo"
|
|
1092
|
+
],
|
|
1093
|
+
"operation": [
|
|
1094
|
+
"GET Sapi V 1 Algo Futures Historical Orders"
|
|
1095
|
+
]
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
"displayName": "Page",
|
|
1101
|
+
"name": "page",
|
|
1102
|
+
"description": "Default 1",
|
|
1103
|
+
"default": 1,
|
|
1104
|
+
"type": "number",
|
|
1105
|
+
"routing": {
|
|
1106
|
+
"send": {
|
|
1107
|
+
"type": "query",
|
|
1108
|
+
"property": "page",
|
|
1109
|
+
"value": "={{ $value }}",
|
|
1110
|
+
"propertyInDotNotation": false
|
|
1111
|
+
}
|
|
1112
|
+
},
|
|
1113
|
+
"displayOptions": {
|
|
1114
|
+
"show": {
|
|
1115
|
+
"resource": [
|
|
1116
|
+
"Futures Algo"
|
|
1117
|
+
],
|
|
1118
|
+
"operation": [
|
|
1119
|
+
"GET Sapi V 1 Algo Futures Historical Orders"
|
|
1120
|
+
]
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
},
|
|
1124
|
+
{
|
|
1125
|
+
"displayName": "Page Size",
|
|
1126
|
+
"name": "pageSize",
|
|
1127
|
+
"description": "MIN 1, MAX 100; Default 100",
|
|
1128
|
+
"default": "",
|
|
1129
|
+
"type": "string",
|
|
1130
|
+
"routing": {
|
|
1131
|
+
"send": {
|
|
1132
|
+
"type": "query",
|
|
1133
|
+
"property": "pageSize",
|
|
1134
|
+
"value": "={{ $value }}",
|
|
1135
|
+
"propertyInDotNotation": false
|
|
1136
|
+
}
|
|
1137
|
+
},
|
|
1138
|
+
"displayOptions": {
|
|
1139
|
+
"show": {
|
|
1140
|
+
"resource": [
|
|
1141
|
+
"Futures Algo"
|
|
1142
|
+
],
|
|
1143
|
+
"operation": [
|
|
1144
|
+
"GET Sapi V 1 Algo Futures Historical Orders"
|
|
1145
|
+
]
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
"displayName": "Recv Window",
|
|
1151
|
+
"name": "recvWindow",
|
|
1152
|
+
"description": "The value cannot be greater than 60000",
|
|
1153
|
+
"default": 5000,
|
|
1154
|
+
"type": "number",
|
|
1155
|
+
"routing": {
|
|
1156
|
+
"send": {
|
|
1157
|
+
"type": "query",
|
|
1158
|
+
"property": "recvWindow",
|
|
1159
|
+
"value": "={{ $value }}",
|
|
1160
|
+
"propertyInDotNotation": false
|
|
1161
|
+
}
|
|
1162
|
+
},
|
|
1163
|
+
"displayOptions": {
|
|
1164
|
+
"show": {
|
|
1165
|
+
"resource": [
|
|
1166
|
+
"Futures Algo"
|
|
1167
|
+
],
|
|
1168
|
+
"operation": [
|
|
1169
|
+
"GET Sapi V 1 Algo Futures Historical Orders"
|
|
1170
|
+
]
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
1173
|
+
},
|
|
1174
|
+
{
|
|
1175
|
+
"displayName": "Timestamp",
|
|
1176
|
+
"name": "timestamp",
|
|
1177
|
+
"required": true,
|
|
1178
|
+
"description": "UTC timestamp in ms",
|
|
1179
|
+
"default": 0,
|
|
1180
|
+
"type": "number",
|
|
1181
|
+
"routing": {
|
|
1182
|
+
"send": {
|
|
1183
|
+
"type": "query",
|
|
1184
|
+
"property": "timestamp",
|
|
1185
|
+
"value": "={{ $value }}",
|
|
1186
|
+
"propertyInDotNotation": false
|
|
1187
|
+
}
|
|
1188
|
+
},
|
|
1189
|
+
"displayOptions": {
|
|
1190
|
+
"show": {
|
|
1191
|
+
"resource": [
|
|
1192
|
+
"Futures Algo"
|
|
1193
|
+
],
|
|
1194
|
+
"operation": [
|
|
1195
|
+
"GET Sapi V 1 Algo Futures Historical Orders"
|
|
1196
|
+
]
|
|
1197
|
+
}
|
|
1198
|
+
}
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
"displayName": "Signature",
|
|
1202
|
+
"name": "signature",
|
|
1203
|
+
"required": true,
|
|
1204
|
+
"description": "Signature",
|
|
1205
|
+
"default": "",
|
|
1206
|
+
"type": "string",
|
|
1207
|
+
"routing": {
|
|
1208
|
+
"send": {
|
|
1209
|
+
"type": "query",
|
|
1210
|
+
"property": "signature",
|
|
1211
|
+
"value": "={{ $value }}",
|
|
1212
|
+
"propertyInDotNotation": false
|
|
1213
|
+
}
|
|
1214
|
+
},
|
|
1215
|
+
"displayOptions": {
|
|
1216
|
+
"show": {
|
|
1217
|
+
"resource": [
|
|
1218
|
+
"Futures Algo"
|
|
1219
|
+
],
|
|
1220
|
+
"operation": [
|
|
1221
|
+
"GET Sapi V 1 Algo Futures Historical Orders"
|
|
1222
|
+
]
|
|
1223
|
+
}
|
|
1224
|
+
}
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
"displayName": "GET /sapi/v1/algo/futures/subOrders",
|
|
1228
|
+
"name": "operation",
|
|
1229
|
+
"type": "notice",
|
|
1230
|
+
"typeOptions": {
|
|
1231
|
+
"theme": "info"
|
|
1232
|
+
},
|
|
1233
|
+
"default": "",
|
|
1234
|
+
"displayOptions": {
|
|
1235
|
+
"show": {
|
|
1236
|
+
"resource": [
|
|
1237
|
+
"Futures Algo"
|
|
1238
|
+
],
|
|
1239
|
+
"operation": [
|
|
1240
|
+
"GET Sapi V 1 Algo Futures Sub Orders"
|
|
1241
|
+
]
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
"displayName": "Algo Id",
|
|
1247
|
+
"name": "algoId",
|
|
1248
|
+
"required": true,
|
|
1249
|
+
"default": 0,
|
|
1250
|
+
"type": "number",
|
|
1251
|
+
"routing": {
|
|
1252
|
+
"send": {
|
|
1253
|
+
"type": "query",
|
|
1254
|
+
"property": "algoId",
|
|
1255
|
+
"value": "={{ $value }}",
|
|
1256
|
+
"propertyInDotNotation": false
|
|
1257
|
+
}
|
|
1258
|
+
},
|
|
1259
|
+
"displayOptions": {
|
|
1260
|
+
"show": {
|
|
1261
|
+
"resource": [
|
|
1262
|
+
"Futures Algo"
|
|
1263
|
+
],
|
|
1264
|
+
"operation": [
|
|
1265
|
+
"GET Sapi V 1 Algo Futures Sub Orders"
|
|
1266
|
+
]
|
|
1267
|
+
}
|
|
1268
|
+
}
|
|
1269
|
+
},
|
|
1270
|
+
{
|
|
1271
|
+
"displayName": "Page",
|
|
1272
|
+
"name": "page",
|
|
1273
|
+
"description": "Default 1",
|
|
1274
|
+
"default": 1,
|
|
1275
|
+
"type": "number",
|
|
1276
|
+
"routing": {
|
|
1277
|
+
"send": {
|
|
1278
|
+
"type": "query",
|
|
1279
|
+
"property": "page",
|
|
1280
|
+
"value": "={{ $value }}",
|
|
1281
|
+
"propertyInDotNotation": false
|
|
1282
|
+
}
|
|
1283
|
+
},
|
|
1284
|
+
"displayOptions": {
|
|
1285
|
+
"show": {
|
|
1286
|
+
"resource": [
|
|
1287
|
+
"Futures Algo"
|
|
1288
|
+
],
|
|
1289
|
+
"operation": [
|
|
1290
|
+
"GET Sapi V 1 Algo Futures Sub Orders"
|
|
1291
|
+
]
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
},
|
|
1295
|
+
{
|
|
1296
|
+
"displayName": "Page Size",
|
|
1297
|
+
"name": "pageSize",
|
|
1298
|
+
"description": "MIN 1, MAX 100; Default 100",
|
|
1299
|
+
"default": "",
|
|
1300
|
+
"type": "string",
|
|
1301
|
+
"routing": {
|
|
1302
|
+
"send": {
|
|
1303
|
+
"type": "query",
|
|
1304
|
+
"property": "pageSize",
|
|
1305
|
+
"value": "={{ $value }}",
|
|
1306
|
+
"propertyInDotNotation": false
|
|
1307
|
+
}
|
|
1308
|
+
},
|
|
1309
|
+
"displayOptions": {
|
|
1310
|
+
"show": {
|
|
1311
|
+
"resource": [
|
|
1312
|
+
"Futures Algo"
|
|
1313
|
+
],
|
|
1314
|
+
"operation": [
|
|
1315
|
+
"GET Sapi V 1 Algo Futures Sub Orders"
|
|
1316
|
+
]
|
|
1317
|
+
}
|
|
1318
|
+
}
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
"displayName": "Recv Window",
|
|
1322
|
+
"name": "recvWindow",
|
|
1323
|
+
"description": "The value cannot be greater than 60000",
|
|
1324
|
+
"default": 5000,
|
|
1325
|
+
"type": "number",
|
|
1326
|
+
"routing": {
|
|
1327
|
+
"send": {
|
|
1328
|
+
"type": "query",
|
|
1329
|
+
"property": "recvWindow",
|
|
1330
|
+
"value": "={{ $value }}",
|
|
1331
|
+
"propertyInDotNotation": false
|
|
1332
|
+
}
|
|
1333
|
+
},
|
|
1334
|
+
"displayOptions": {
|
|
1335
|
+
"show": {
|
|
1336
|
+
"resource": [
|
|
1337
|
+
"Futures Algo"
|
|
1338
|
+
],
|
|
1339
|
+
"operation": [
|
|
1340
|
+
"GET Sapi V 1 Algo Futures Sub Orders"
|
|
1341
|
+
]
|
|
1342
|
+
}
|
|
1343
|
+
}
|
|
1344
|
+
},
|
|
1345
|
+
{
|
|
1346
|
+
"displayName": "Timestamp",
|
|
1347
|
+
"name": "timestamp",
|
|
1348
|
+
"required": true,
|
|
1349
|
+
"description": "UTC timestamp in ms",
|
|
1350
|
+
"default": 0,
|
|
1351
|
+
"type": "number",
|
|
1352
|
+
"routing": {
|
|
1353
|
+
"send": {
|
|
1354
|
+
"type": "query",
|
|
1355
|
+
"property": "timestamp",
|
|
1356
|
+
"value": "={{ $value }}",
|
|
1357
|
+
"propertyInDotNotation": false
|
|
1358
|
+
}
|
|
1359
|
+
},
|
|
1360
|
+
"displayOptions": {
|
|
1361
|
+
"show": {
|
|
1362
|
+
"resource": [
|
|
1363
|
+
"Futures Algo"
|
|
1364
|
+
],
|
|
1365
|
+
"operation": [
|
|
1366
|
+
"GET Sapi V 1 Algo Futures Sub Orders"
|
|
1367
|
+
]
|
|
1368
|
+
}
|
|
1369
|
+
}
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
"displayName": "Signature",
|
|
1373
|
+
"name": "signature",
|
|
1374
|
+
"required": true,
|
|
1375
|
+
"description": "Signature",
|
|
1376
|
+
"default": "",
|
|
1377
|
+
"type": "string",
|
|
1378
|
+
"routing": {
|
|
1379
|
+
"send": {
|
|
1380
|
+
"type": "query",
|
|
1381
|
+
"property": "signature",
|
|
1382
|
+
"value": "={{ $value }}",
|
|
1383
|
+
"propertyInDotNotation": false
|
|
1384
|
+
}
|
|
1385
|
+
},
|
|
1386
|
+
"displayOptions": {
|
|
1387
|
+
"show": {
|
|
1388
|
+
"resource": [
|
|
1389
|
+
"Futures Algo"
|
|
1390
|
+
],
|
|
1391
|
+
"operation": [
|
|
1392
|
+
"GET Sapi V 1 Algo Futures Sub Orders"
|
|
1393
|
+
]
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1396
|
+
},
|
|
1397
|
+
];
|
|
1398
|
+
//# sourceMappingURL=index.js.map
|