n8n-nodes-bitget 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/COMMERCIAL_LICENSE.md +31 -0
- package/LICENSE +46 -0
- package/LICENSING_FAQ.md +18 -0
- package/README.md +356 -0
- package/dist/credentials/BitgetApi.credentials.d.ts +8 -0
- package/dist/credentials/BitgetApi.credentials.d.ts.map +1 -0
- package/dist/credentials/BitgetApi.credentials.js +67 -0
- package/dist/credentials/BitgetApi.credentials.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +26 -0
- package/dist/index.js.map +1 -0
- package/dist/nodes/Bitget/Bitget.node.d.ts +6 -0
- package/dist/nodes/Bitget/Bitget.node.d.ts.map +1 -0
- package/dist/nodes/Bitget/Bitget.node.js +994 -0
- package/dist/nodes/Bitget/Bitget.node.js.map +1 -0
- package/dist/nodes/Bitget/BitgetTrigger.node.d.ts +6 -0
- package/dist/nodes/Bitget/BitgetTrigger.node.d.ts.map +1 -0
- package/dist/nodes/Bitget/BitgetTrigger.node.js +576 -0
- package/dist/nodes/Bitget/BitgetTrigger.node.js.map +1 -0
- package/dist/nodes/Bitget/actions/copyTrading/index.d.ts +4 -0
- package/dist/nodes/Bitget/actions/copyTrading/index.d.ts.map +1 -0
- package/dist/nodes/Bitget/actions/copyTrading/index.js +519 -0
- package/dist/nodes/Bitget/actions/copyTrading/index.js.map +1 -0
- package/dist/nodes/Bitget/actions/earn/index.d.ts +4 -0
- package/dist/nodes/Bitget/actions/earn/index.d.ts.map +1 -0
- package/dist/nodes/Bitget/actions/earn/index.js +326 -0
- package/dist/nodes/Bitget/actions/earn/index.js.map +1 -0
- package/dist/nodes/Bitget/actions/futuresAccount/index.d.ts +4 -0
- package/dist/nodes/Bitget/actions/futuresAccount/index.d.ts.map +1 -0
- package/dist/nodes/Bitget/actions/futuresAccount/index.js +335 -0
- package/dist/nodes/Bitget/actions/futuresAccount/index.js.map +1 -0
- package/dist/nodes/Bitget/actions/futuresTrading/index.d.ts +4 -0
- package/dist/nodes/Bitget/actions/futuresTrading/index.d.ts.map +1 -0
- package/dist/nodes/Bitget/actions/futuresTrading/index.js +933 -0
- package/dist/nodes/Bitget/actions/futuresTrading/index.js.map +1 -0
- package/dist/nodes/Bitget/actions/marketData/index.d.ts +4 -0
- package/dist/nodes/Bitget/actions/marketData/index.d.ts.map +1 -0
- package/dist/nodes/Bitget/actions/marketData/index.js +303 -0
- package/dist/nodes/Bitget/actions/marketData/index.js.map +1 -0
- package/dist/nodes/Bitget/actions/spotAccount/index.d.ts +4 -0
- package/dist/nodes/Bitget/actions/spotAccount/index.d.ts.map +1 -0
- package/dist/nodes/Bitget/actions/spotAccount/index.js +314 -0
- package/dist/nodes/Bitget/actions/spotAccount/index.js.map +1 -0
- package/dist/nodes/Bitget/actions/spotTrading/index.d.ts +4 -0
- package/dist/nodes/Bitget/actions/spotTrading/index.d.ts.map +1 -0
- package/dist/nodes/Bitget/actions/spotTrading/index.js +575 -0
- package/dist/nodes/Bitget/actions/spotTrading/index.js.map +1 -0
- package/dist/nodes/Bitget/bitget.svg +11 -0
- package/dist/nodes/Bitget/constants/index.d.ts +90 -0
- package/dist/nodes/Bitget/constants/index.d.ts.map +1 -0
- package/dist/nodes/Bitget/constants/index.js +127 -0
- package/dist/nodes/Bitget/constants/index.js.map +1 -0
- package/dist/nodes/Bitget/transport/index.d.ts +22 -0
- package/dist/nodes/Bitget/transport/index.d.ts.map +1 -0
- package/dist/nodes/Bitget/transport/index.js +267 -0
- package/dist/nodes/Bitget/transport/index.js.map +1 -0
- package/dist/nodes/Bitget/types/BitgetTypes.d.ts +396 -0
- package/dist/nodes/Bitget/types/BitgetTypes.d.ts.map +1 -0
- package/dist/nodes/Bitget/types/BitgetTypes.js +74 -0
- package/dist/nodes/Bitget/types/BitgetTypes.js.map +1 -0
- package/dist/nodes/Bitget/utils/index.d.ts +76 -0
- package/dist/nodes/Bitget/utils/index.d.ts.map +1 -0
- package/dist/nodes/Bitget/utils/index.js +210 -0
- package/dist/nodes/Bitget/utils/index.js.map +1 -0
- package/package.json +92 -0
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Velocity BPA, LLC
|
|
4
|
+
* Licensed under the Business Source License 1.1
|
|
5
|
+
* Commercial use requires a separate commercial license.
|
|
6
|
+
* See LICENSE file for details.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.earnFields = exports.earnOperations = void 0;
|
|
10
|
+
exports.earnOperations = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'Operation',
|
|
13
|
+
name: 'operation',
|
|
14
|
+
type: 'options',
|
|
15
|
+
noDataExpression: true,
|
|
16
|
+
displayOptions: {
|
|
17
|
+
show: {
|
|
18
|
+
resource: ['earn'],
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
options: [
|
|
22
|
+
{
|
|
23
|
+
name: 'Get Products',
|
|
24
|
+
value: 'getProducts',
|
|
25
|
+
description: 'List available earn products',
|
|
26
|
+
action: 'Get earn products',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: 'Subscribe',
|
|
30
|
+
value: 'subscribe',
|
|
31
|
+
description: 'Subscribe to an earn product',
|
|
32
|
+
action: 'Subscribe to earn product',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'Redeem',
|
|
36
|
+
value: 'redeem',
|
|
37
|
+
description: 'Redeem from an earn product',
|
|
38
|
+
action: 'Redeem from earn product',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'Get Subscriptions',
|
|
42
|
+
value: 'getSubscriptions',
|
|
43
|
+
description: 'Get active subscriptions/assets',
|
|
44
|
+
action: 'Get active subscriptions',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'Get History',
|
|
48
|
+
value: 'getHistory',
|
|
49
|
+
description: 'Get subscription history',
|
|
50
|
+
action: 'Get subscription history',
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
default: 'getProducts',
|
|
54
|
+
},
|
|
55
|
+
];
|
|
56
|
+
exports.earnFields = [
|
|
57
|
+
// Get Products fields
|
|
58
|
+
{
|
|
59
|
+
displayName: 'Coin',
|
|
60
|
+
name: 'coin',
|
|
61
|
+
type: 'string',
|
|
62
|
+
default: '',
|
|
63
|
+
placeholder: 'USDT',
|
|
64
|
+
description: 'Filter by currency (optional)',
|
|
65
|
+
displayOptions: {
|
|
66
|
+
show: {
|
|
67
|
+
resource: ['earn'],
|
|
68
|
+
operation: ['getProducts'],
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
displayName: 'Period Type',
|
|
74
|
+
name: 'periodType',
|
|
75
|
+
type: 'options',
|
|
76
|
+
options: [
|
|
77
|
+
{ name: 'All', value: '' },
|
|
78
|
+
{ name: 'Flexible', value: 'flexible' },
|
|
79
|
+
{ name: 'Fixed', value: 'fixed' },
|
|
80
|
+
],
|
|
81
|
+
default: '',
|
|
82
|
+
description: 'Filter by period type',
|
|
83
|
+
displayOptions: {
|
|
84
|
+
show: {
|
|
85
|
+
resource: ['earn'],
|
|
86
|
+
operation: ['getProducts'],
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
displayName: 'Additional Options',
|
|
92
|
+
name: 'additionalOptions',
|
|
93
|
+
type: 'collection',
|
|
94
|
+
placeholder: 'Add Option',
|
|
95
|
+
default: {},
|
|
96
|
+
displayOptions: {
|
|
97
|
+
show: {
|
|
98
|
+
resource: ['earn'],
|
|
99
|
+
operation: ['getProducts'],
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
options: [
|
|
103
|
+
{
|
|
104
|
+
displayName: 'Page Number',
|
|
105
|
+
name: 'pageNo',
|
|
106
|
+
type: 'number',
|
|
107
|
+
typeOptions: {
|
|
108
|
+
minValue: 1,
|
|
109
|
+
},
|
|
110
|
+
default: 1,
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
displayName: 'Page Size',
|
|
114
|
+
name: 'pageSize',
|
|
115
|
+
type: 'number',
|
|
116
|
+
typeOptions: {
|
|
117
|
+
minValue: 1,
|
|
118
|
+
maxValue: 100,
|
|
119
|
+
},
|
|
120
|
+
default: 20,
|
|
121
|
+
},
|
|
122
|
+
],
|
|
123
|
+
},
|
|
124
|
+
// Subscribe fields
|
|
125
|
+
{
|
|
126
|
+
displayName: 'Product ID',
|
|
127
|
+
name: 'productId',
|
|
128
|
+
type: 'string',
|
|
129
|
+
default: '',
|
|
130
|
+
required: true,
|
|
131
|
+
description: 'Earn product ID to subscribe to',
|
|
132
|
+
displayOptions: {
|
|
133
|
+
show: {
|
|
134
|
+
resource: ['earn'],
|
|
135
|
+
operation: ['subscribe'],
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
displayName: 'Coin',
|
|
141
|
+
name: 'coin',
|
|
142
|
+
type: 'string',
|
|
143
|
+
default: 'USDT',
|
|
144
|
+
required: true,
|
|
145
|
+
description: 'Currency to subscribe with',
|
|
146
|
+
displayOptions: {
|
|
147
|
+
show: {
|
|
148
|
+
resource: ['earn'],
|
|
149
|
+
operation: ['subscribe'],
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
displayName: 'Amount',
|
|
155
|
+
name: 'amount',
|
|
156
|
+
type: 'string',
|
|
157
|
+
default: '',
|
|
158
|
+
required: true,
|
|
159
|
+
description: 'Amount to subscribe',
|
|
160
|
+
displayOptions: {
|
|
161
|
+
show: {
|
|
162
|
+
resource: ['earn'],
|
|
163
|
+
operation: ['subscribe'],
|
|
164
|
+
},
|
|
165
|
+
},
|
|
166
|
+
},
|
|
167
|
+
// Redeem fields
|
|
168
|
+
{
|
|
169
|
+
displayName: 'Product ID',
|
|
170
|
+
name: 'productId',
|
|
171
|
+
type: 'string',
|
|
172
|
+
default: '',
|
|
173
|
+
required: true,
|
|
174
|
+
description: 'Earn product ID to redeem from',
|
|
175
|
+
displayOptions: {
|
|
176
|
+
show: {
|
|
177
|
+
resource: ['earn'],
|
|
178
|
+
operation: ['redeem'],
|
|
179
|
+
},
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
displayName: 'Coin',
|
|
184
|
+
name: 'coin',
|
|
185
|
+
type: 'string',
|
|
186
|
+
default: 'USDT',
|
|
187
|
+
required: true,
|
|
188
|
+
description: 'Currency to redeem',
|
|
189
|
+
displayOptions: {
|
|
190
|
+
show: {
|
|
191
|
+
resource: ['earn'],
|
|
192
|
+
operation: ['redeem'],
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
displayName: 'Amount',
|
|
198
|
+
name: 'amount',
|
|
199
|
+
type: 'string',
|
|
200
|
+
default: '',
|
|
201
|
+
required: true,
|
|
202
|
+
description: 'Amount to redeem',
|
|
203
|
+
displayOptions: {
|
|
204
|
+
show: {
|
|
205
|
+
resource: ['earn'],
|
|
206
|
+
operation: ['redeem'],
|
|
207
|
+
},
|
|
208
|
+
},
|
|
209
|
+
},
|
|
210
|
+
// Get Subscriptions fields
|
|
211
|
+
{
|
|
212
|
+
displayName: 'Coin',
|
|
213
|
+
name: 'coin',
|
|
214
|
+
type: 'string',
|
|
215
|
+
default: '',
|
|
216
|
+
placeholder: 'USDT',
|
|
217
|
+
description: 'Filter by currency (optional)',
|
|
218
|
+
displayOptions: {
|
|
219
|
+
show: {
|
|
220
|
+
resource: ['earn'],
|
|
221
|
+
operation: ['getSubscriptions'],
|
|
222
|
+
},
|
|
223
|
+
},
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
displayName: 'Period Type',
|
|
227
|
+
name: 'periodType',
|
|
228
|
+
type: 'options',
|
|
229
|
+
options: [
|
|
230
|
+
{ name: 'All', value: '' },
|
|
231
|
+
{ name: 'Flexible', value: 'flexible' },
|
|
232
|
+
{ name: 'Fixed', value: 'fixed' },
|
|
233
|
+
],
|
|
234
|
+
default: '',
|
|
235
|
+
description: 'Filter by period type',
|
|
236
|
+
displayOptions: {
|
|
237
|
+
show: {
|
|
238
|
+
resource: ['earn'],
|
|
239
|
+
operation: ['getSubscriptions'],
|
|
240
|
+
},
|
|
241
|
+
},
|
|
242
|
+
},
|
|
243
|
+
// Get History fields
|
|
244
|
+
{
|
|
245
|
+
displayName: 'Coin',
|
|
246
|
+
name: 'coin',
|
|
247
|
+
type: 'string',
|
|
248
|
+
default: '',
|
|
249
|
+
placeholder: 'USDT',
|
|
250
|
+
description: 'Filter by currency (optional)',
|
|
251
|
+
displayOptions: {
|
|
252
|
+
show: {
|
|
253
|
+
resource: ['earn'],
|
|
254
|
+
operation: ['getHistory'],
|
|
255
|
+
},
|
|
256
|
+
},
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
displayName: 'Operation Type',
|
|
260
|
+
name: 'operationType',
|
|
261
|
+
type: 'options',
|
|
262
|
+
options: [
|
|
263
|
+
{ name: 'All', value: '' },
|
|
264
|
+
{ name: 'Subscribe', value: 'subscribe' },
|
|
265
|
+
{ name: 'Redeem', value: 'redeem' },
|
|
266
|
+
{ name: 'Interest', value: 'interest' },
|
|
267
|
+
],
|
|
268
|
+
default: '',
|
|
269
|
+
description: 'Filter by operation type',
|
|
270
|
+
displayOptions: {
|
|
271
|
+
show: {
|
|
272
|
+
resource: ['earn'],
|
|
273
|
+
operation: ['getHistory'],
|
|
274
|
+
},
|
|
275
|
+
},
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
displayName: 'Additional Options',
|
|
279
|
+
name: 'additionalOptions',
|
|
280
|
+
type: 'collection',
|
|
281
|
+
placeholder: 'Add Option',
|
|
282
|
+
default: {},
|
|
283
|
+
displayOptions: {
|
|
284
|
+
show: {
|
|
285
|
+
resource: ['earn'],
|
|
286
|
+
operation: ['getHistory'],
|
|
287
|
+
},
|
|
288
|
+
},
|
|
289
|
+
options: [
|
|
290
|
+
{
|
|
291
|
+
displayName: 'Start Time',
|
|
292
|
+
name: 'startTime',
|
|
293
|
+
type: 'dateTime',
|
|
294
|
+
default: '',
|
|
295
|
+
description: 'Start time for the query',
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
displayName: 'End Time',
|
|
299
|
+
name: 'endTime',
|
|
300
|
+
type: 'dateTime',
|
|
301
|
+
default: '',
|
|
302
|
+
description: 'End time for the query',
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
displayName: 'Page Number',
|
|
306
|
+
name: 'pageNo',
|
|
307
|
+
type: 'number',
|
|
308
|
+
typeOptions: {
|
|
309
|
+
minValue: 1,
|
|
310
|
+
},
|
|
311
|
+
default: 1,
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
displayName: 'Page Size',
|
|
315
|
+
name: 'pageSize',
|
|
316
|
+
type: 'number',
|
|
317
|
+
typeOptions: {
|
|
318
|
+
minValue: 1,
|
|
319
|
+
maxValue: 100,
|
|
320
|
+
},
|
|
321
|
+
default: 20,
|
|
322
|
+
},
|
|
323
|
+
],
|
|
324
|
+
},
|
|
325
|
+
];
|
|
326
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Bitget/actions/earn/index.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAIU,QAAA,cAAc,GAAsB;IAC/C;QACE,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,MAAM,CAAC;aACnB;SACF;QACD,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,cAAc;gBACpB,KAAK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|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../nodes/Bitget/actions/futuresAccount/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,eAAO,MAAM,wBAAwB,EAAE,eAAe,EAmDrD,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,eAAe,EAsRjD,CAAC"}
|
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Velocity BPA, LLC
|
|
4
|
+
* Licensed under the Business Source License 1.1
|
|
5
|
+
* Commercial use requires a separate commercial license.
|
|
6
|
+
* See LICENSE file for details.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.futuresAccountFields = exports.futuresAccountOperations = void 0;
|
|
10
|
+
exports.futuresAccountOperations = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'Operation',
|
|
13
|
+
name: 'operation',
|
|
14
|
+
type: 'options',
|
|
15
|
+
noDataExpression: true,
|
|
16
|
+
displayOptions: {
|
|
17
|
+
show: {
|
|
18
|
+
resource: ['futuresAccount'],
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
options: [
|
|
22
|
+
{
|
|
23
|
+
name: 'Get Account',
|
|
24
|
+
value: 'getAccount',
|
|
25
|
+
description: 'Get futures account information',
|
|
26
|
+
action: 'Get futures account',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: 'Get Positions',
|
|
30
|
+
value: 'getPositions',
|
|
31
|
+
description: 'Get all open positions',
|
|
32
|
+
action: 'Get all futures positions',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'Get Single Position',
|
|
36
|
+
value: 'getSinglePosition',
|
|
37
|
+
description: 'Get a specific position',
|
|
38
|
+
action: 'Get single futures position',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'Set Leverage',
|
|
42
|
+
value: 'setLeverage',
|
|
43
|
+
description: 'Adjust leverage for a symbol',
|
|
44
|
+
action: 'Set leverage',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'Set Margin Mode',
|
|
48
|
+
value: 'setMarginMode',
|
|
49
|
+
description: 'Set cross or isolated margin mode',
|
|
50
|
+
action: 'Set margin mode',
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: 'Get Bills',
|
|
54
|
+
value: 'getBills',
|
|
55
|
+
description: 'Get futures account bills',
|
|
56
|
+
action: 'Get futures account bills',
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
default: 'getAccount',
|
|
60
|
+
},
|
|
61
|
+
];
|
|
62
|
+
exports.futuresAccountFields = [
|
|
63
|
+
// Product Type field (common for most operations)
|
|
64
|
+
{
|
|
65
|
+
displayName: 'Product Type',
|
|
66
|
+
name: 'productType',
|
|
67
|
+
type: 'options',
|
|
68
|
+
options: [
|
|
69
|
+
{ name: 'USDT Futures', value: 'USDT-FUTURES' },
|
|
70
|
+
{ name: 'USDC Futures', value: 'USDC-FUTURES' },
|
|
71
|
+
{ name: 'Coin Futures', value: 'COIN-FUTURES' },
|
|
72
|
+
],
|
|
73
|
+
default: 'USDT-FUTURES',
|
|
74
|
+
required: true,
|
|
75
|
+
description: 'Futures product type',
|
|
76
|
+
displayOptions: {
|
|
77
|
+
show: {
|
|
78
|
+
resource: ['futuresAccount'],
|
|
79
|
+
operation: ['getAccount', 'getPositions', 'getSinglePosition', 'setLeverage', 'setMarginMode', 'getBills'],
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
// Get Account fields
|
|
84
|
+
{
|
|
85
|
+
displayName: 'Margin Coin',
|
|
86
|
+
name: 'marginCoin',
|
|
87
|
+
type: 'string',
|
|
88
|
+
default: 'USDT',
|
|
89
|
+
required: true,
|
|
90
|
+
description: 'Margin currency (e.g., USDT, USDC, BTC)',
|
|
91
|
+
displayOptions: {
|
|
92
|
+
show: {
|
|
93
|
+
resource: ['futuresAccount'],
|
|
94
|
+
operation: ['getAccount'],
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
// Get Positions fields
|
|
99
|
+
{
|
|
100
|
+
displayName: 'Margin Coin',
|
|
101
|
+
name: 'marginCoin',
|
|
102
|
+
type: 'string',
|
|
103
|
+
default: '',
|
|
104
|
+
placeholder: 'USDT (optional)',
|
|
105
|
+
description: 'Filter by margin currency (leave empty for all)',
|
|
106
|
+
displayOptions: {
|
|
107
|
+
show: {
|
|
108
|
+
resource: ['futuresAccount'],
|
|
109
|
+
operation: ['getPositions'],
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
// Get Single Position fields
|
|
114
|
+
{
|
|
115
|
+
displayName: 'Symbol',
|
|
116
|
+
name: 'symbol',
|
|
117
|
+
type: 'string',
|
|
118
|
+
default: 'BTCUSDT',
|
|
119
|
+
required: true,
|
|
120
|
+
placeholder: 'BTCUSDT',
|
|
121
|
+
description: 'Contract symbol',
|
|
122
|
+
displayOptions: {
|
|
123
|
+
show: {
|
|
124
|
+
resource: ['futuresAccount'],
|
|
125
|
+
operation: ['getSinglePosition'],
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
displayName: 'Margin Coin',
|
|
131
|
+
name: 'marginCoin',
|
|
132
|
+
type: 'string',
|
|
133
|
+
default: 'USDT',
|
|
134
|
+
required: true,
|
|
135
|
+
description: 'Margin currency',
|
|
136
|
+
displayOptions: {
|
|
137
|
+
show: {
|
|
138
|
+
resource: ['futuresAccount'],
|
|
139
|
+
operation: ['getSinglePosition'],
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
// Set Leverage fields
|
|
144
|
+
{
|
|
145
|
+
displayName: 'Symbol',
|
|
146
|
+
name: 'symbol',
|
|
147
|
+
type: 'string',
|
|
148
|
+
default: 'BTCUSDT',
|
|
149
|
+
required: true,
|
|
150
|
+
description: 'Contract symbol',
|
|
151
|
+
displayOptions: {
|
|
152
|
+
show: {
|
|
153
|
+
resource: ['futuresAccount'],
|
|
154
|
+
operation: ['setLeverage'],
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
displayName: 'Margin Coin',
|
|
160
|
+
name: 'marginCoin',
|
|
161
|
+
type: 'string',
|
|
162
|
+
default: 'USDT',
|
|
163
|
+
required: true,
|
|
164
|
+
description: 'Margin currency',
|
|
165
|
+
displayOptions: {
|
|
166
|
+
show: {
|
|
167
|
+
resource: ['futuresAccount'],
|
|
168
|
+
operation: ['setLeverage'],
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
displayName: 'Leverage',
|
|
174
|
+
name: 'leverage',
|
|
175
|
+
type: 'number',
|
|
176
|
+
typeOptions: {
|
|
177
|
+
minValue: 1,
|
|
178
|
+
maxValue: 125,
|
|
179
|
+
},
|
|
180
|
+
default: 10,
|
|
181
|
+
required: true,
|
|
182
|
+
description: 'Leverage multiplier (1-125, varies by pair)',
|
|
183
|
+
displayOptions: {
|
|
184
|
+
show: {
|
|
185
|
+
resource: ['futuresAccount'],
|
|
186
|
+
operation: ['setLeverage'],
|
|
187
|
+
},
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
displayName: 'Hold Side',
|
|
192
|
+
name: 'holdSide',
|
|
193
|
+
type: 'options',
|
|
194
|
+
options: [
|
|
195
|
+
{ name: 'Long', value: 'long' },
|
|
196
|
+
{ name: 'Short', value: 'short' },
|
|
197
|
+
],
|
|
198
|
+
default: 'long',
|
|
199
|
+
description: 'Position side for leverage (in hedge mode)',
|
|
200
|
+
displayOptions: {
|
|
201
|
+
show: {
|
|
202
|
+
resource: ['futuresAccount'],
|
|
203
|
+
operation: ['setLeverage'],
|
|
204
|
+
},
|
|
205
|
+
},
|
|
206
|
+
},
|
|
207
|
+
// Set Margin Mode fields
|
|
208
|
+
{
|
|
209
|
+
displayName: 'Symbol',
|
|
210
|
+
name: 'symbol',
|
|
211
|
+
type: 'string',
|
|
212
|
+
default: 'BTCUSDT',
|
|
213
|
+
required: true,
|
|
214
|
+
description: 'Contract symbol',
|
|
215
|
+
displayOptions: {
|
|
216
|
+
show: {
|
|
217
|
+
resource: ['futuresAccount'],
|
|
218
|
+
operation: ['setMarginMode'],
|
|
219
|
+
},
|
|
220
|
+
},
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
displayName: 'Margin Coin',
|
|
224
|
+
name: 'marginCoin',
|
|
225
|
+
type: 'string',
|
|
226
|
+
default: 'USDT',
|
|
227
|
+
required: true,
|
|
228
|
+
description: 'Margin currency',
|
|
229
|
+
displayOptions: {
|
|
230
|
+
show: {
|
|
231
|
+
resource: ['futuresAccount'],
|
|
232
|
+
operation: ['setMarginMode'],
|
|
233
|
+
},
|
|
234
|
+
},
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
displayName: 'Margin Mode',
|
|
238
|
+
name: 'marginMode',
|
|
239
|
+
type: 'options',
|
|
240
|
+
options: [
|
|
241
|
+
{ name: 'Crossed (Cross Margin)', value: 'crossed' },
|
|
242
|
+
{ name: 'Isolated', value: 'isolated' },
|
|
243
|
+
],
|
|
244
|
+
default: 'crossed',
|
|
245
|
+
required: true,
|
|
246
|
+
description: 'Margin mode to set',
|
|
247
|
+
displayOptions: {
|
|
248
|
+
show: {
|
|
249
|
+
resource: ['futuresAccount'],
|
|
250
|
+
operation: ['setMarginMode'],
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
// Get Bills fields
|
|
255
|
+
{
|
|
256
|
+
displayName: 'Additional Options',
|
|
257
|
+
name: 'additionalOptions',
|
|
258
|
+
type: 'collection',
|
|
259
|
+
placeholder: 'Add Option',
|
|
260
|
+
default: {},
|
|
261
|
+
displayOptions: {
|
|
262
|
+
show: {
|
|
263
|
+
resource: ['futuresAccount'],
|
|
264
|
+
operation: ['getBills'],
|
|
265
|
+
},
|
|
266
|
+
},
|
|
267
|
+
options: [
|
|
268
|
+
{
|
|
269
|
+
displayName: 'Symbol',
|
|
270
|
+
name: 'symbol',
|
|
271
|
+
type: 'string',
|
|
272
|
+
default: '',
|
|
273
|
+
description: 'Filter by contract symbol',
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
displayName: 'Margin Coin',
|
|
277
|
+
name: 'marginCoin',
|
|
278
|
+
type: 'string',
|
|
279
|
+
default: '',
|
|
280
|
+
description: 'Filter by margin currency',
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
displayName: 'Business Type',
|
|
284
|
+
name: 'businessType',
|
|
285
|
+
type: 'options',
|
|
286
|
+
options: [
|
|
287
|
+
{ name: 'All', value: '' },
|
|
288
|
+
{ name: 'Open Long', value: 'open_long' },
|
|
289
|
+
{ name: 'Open Short', value: 'open_short' },
|
|
290
|
+
{ name: 'Close Long', value: 'close_long' },
|
|
291
|
+
{ name: 'Close Short', value: 'close_short' },
|
|
292
|
+
{ name: 'Trans In', value: 'trans_in' },
|
|
293
|
+
{ name: 'Trans Out', value: 'trans_out' },
|
|
294
|
+
{ name: 'Funding Fee', value: 'funding_fee' },
|
|
295
|
+
{ name: 'Liquidation', value: 'burst_long_loss_query' },
|
|
296
|
+
],
|
|
297
|
+
default: '',
|
|
298
|
+
description: 'Filter by business type',
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
displayName: 'Start Time',
|
|
302
|
+
name: 'startTime',
|
|
303
|
+
type: 'dateTime',
|
|
304
|
+
default: '',
|
|
305
|
+
description: 'Start time for the query',
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
displayName: 'End Time',
|
|
309
|
+
name: 'endTime',
|
|
310
|
+
type: 'dateTime',
|
|
311
|
+
default: '',
|
|
312
|
+
description: 'End time for the query',
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
displayName: 'Limit',
|
|
316
|
+
name: 'limit',
|
|
317
|
+
type: 'number',
|
|
318
|
+
typeOptions: {
|
|
319
|
+
minValue: 1,
|
|
320
|
+
maxValue: 500,
|
|
321
|
+
},
|
|
322
|
+
default: 100,
|
|
323
|
+
description: 'Maximum number of records to return',
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
displayName: 'ID Less Than',
|
|
327
|
+
name: 'idLessThan',
|
|
328
|
+
type: 'string',
|
|
329
|
+
default: '',
|
|
330
|
+
description: 'Pagination cursor',
|
|
331
|
+
},
|
|
332
|
+
],
|
|
333
|
+
},
|
|
334
|
+
];
|
|
335
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Bitget/actions/futuresAccount/index.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAIU,QAAA,wBAAwB,GAAsB;IACzD;QACE,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,gBAAgB,CAAC;aAC7B;SACF;QACD,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,aAAa;gBACnB,KAAK,EAAE,YAAY;gBACnB,WAAW,EAAE,iCAAiC;gBAC9C,MAAM,EAAE,qBAAqB;aAC9B;YACD;gBACE,IAAI,EAAE,eAAe;gBACrB,KAAK,EAAE,cAAc;gBACrB,WAAW,EAAE,wBAAwB;gBACrC,MAAM,EAAE,2BAA2B;aACpC;YACD;gBACE,IAAI,EAAE,qBAAqB;gBAC3B,KAAK,EAAE,mBAAmB;gBAC1B,WAAW,EAAE,yBAAyB;gBACtC,MAAM,EAAE,6BAA6B;aACtC;YACD;gBACE,IAAI,EAAE,cAAc;gBACpB,KAAK,EAAE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