-
Notifications
You must be signed in to change notification settings - Fork 22
/
alertmodel.txt
96 lines (96 loc) · 3.03 KB
/
alertmodel.txt
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
{
"tradingview" : {
"ticker" : "{{ticker}}",
"exchange" : "{{exchange}}",
"time" : "{{timenow}}",
"action" : "{{strategy.order.action}}",
"price" : {{strategy.order.price}},
"message" : "{{strategy.order.alert_message}}", // entry, exit, ...breakeven
"short SL" : {{plot("Short SL")}},
"short TP" : {{plot("Short TP")}},
"long SL" : {{plot("Long SL")}},
"long TP" : {{plot("Long TP")}},
"passphrase" : "abcdefg",
"subaccount": "Testing"
},
"tv response": {
"ticker": "BTCPERP",
"exchange": "FTX",
"time": "2021-05-20T20:36:22Z",
"action": "sell",
"price": 35800,
"message": "exit",
"short SL": 37200.00,
"short TP": 0,
"long SL": 38000.00,
"long TP": 40000.00,
"passphrase": "abcdefg",
"subaccount": "Testing"
},
"tv multiple tps" : {
"subaccount": "Testing",
"time" : "{{timenow}}",
"action" : "{{strategy.order.action}}",
"message" : "{{strategy.order.alert_message}}",
"price" : {{strategy.order.price}},
"ticker" : "{{ticker}}",
"exchange" : "{{exchange}}",
"tp Close" : {{plot("TP Close")}},
"tp1 Mult" : {{plot("TP1 Mult")}},
"tp2 Mult" : {{plot("TP2 Mult")}},
"tp3 Mult" : {{plot("TP3 Mult")}},
"short SL" : {{plot("Short SL")}},
"short TP" : {{plot("Short TP")}},
"short Breakeven" : {{plot("Short Breakeven")}},
"long SL" : {{plot("Long SL")}},
"long TP" : {{plot("Long TP")}},
"long Breakeven" : {{plot("Long Breakeven")}},
"passphrase" : "abcdefg"
},
"tv multiple tps response" : {
"subaccount": "Testing",
"time" : "2021-06-15T23:31:22Z",
"action" : "buy",
"message" : "entry",
"price" : 40000,
"ticker" : "BTCPERP",
"exchange" : "FTX",
"tp Close" : 20,
"tp1 Mult" : 0.6,
"tp2 Mult" : 1.0,
"tp3 Mult" : 1.5,
"short SL" : 40200,
"short TP" : 39000,
"short Breakeven" : 39000,
"long SL" : 39800,
"long TP" : 41000,
"long Breakeven" : 40100,
"passphrase" : "abcdefg"
},
"study alert" : {
"ticker": {{ticker}},
"exchange": {{exchange}},
"action": "buy",
"type": "limit",
"price": {{close}},
"message": "entry",
"long SL": {{plot("Long SL")}},
"long TP": {{plot("Long TP")}},
"passphrase": "abcdefg",
"subaccount": "Testing",
"chart_url" : "https://www.tradingview.com/chart/jbSLq0oe"
},
"study alert response" : {
"ticker": "BTCPERP",
"exchange": "FTX",
"action": "buy",
"type": "limit",
"price": 38000,
"message": "entry",
"long SL": 37000,
"long TP": 41000,
"passphrase": "abcdefg",
"subaccount": "Testing",
"chart_url" : "https://www.tradingview.com/chart/jbSLq0oe"
}
}