generated from alexk111/node-red-node-typescript-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
kraken-adding-orders.json
105 lines (105 loc) · 1.91 KB
/
kraken-adding-orders.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[
{
"id": "5a5c6081.d41cf",
"type": "kraken-api",
"z": "1cb4cf41.7bd001",
"client": "",
"method": "private/AddOrder",
"name": "",
"x": 720,
"y": 260,
"wires": [["12c4a06b.eef2e"]]
},
{
"id": "6ca2a5ad.7dadec",
"type": "inject",
"z": "1cb4cf41.7bd001",
"name": "Add Order",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{}",
"payloadType": "json",
"x": 300,
"y": 260,
"wires": [["afd1db29.edd878"]]
},
{
"id": "12c4a06b.eef2e",
"type": "debug",
"z": "1cb4cf41.7bd001",
"name": "Order Confirmation",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 930,
"y": 260,
"wires": []
},
{
"id": "afd1db29.edd878",
"type": "change",
"z": "1cb4cf41.7bd001",
"name": "🔨 Order params",
"rules": [
{
"t": "set",
"p": "payload.pair",
"pt": "msg",
"to": "BTCUSD",
"tot": "str"
},
{
"t": "set",
"p": "payload.type",
"pt": "msg",
"to": "buy",
"tot": "str"
},
{
"t": "set",
"p": "payload.ordertype",
"pt": "msg",
"to": "market",
"tot": "str"
},
{
"t": "set",
"p": "payload.volume",
"pt": "msg",
"to": "0.001",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 510,
"y": 260,
"wires": [["5a5c6081.d41cf"]]
},
{
"id": "8081b7e1.0799b8",
"type": "comment",
"z": "1cb4cf41.7bd001",
"name": "Adding Orders",
"info": "",
"x": 310,
"y": 200,
"wires": []
}
]