repo.or.cz
/
cryptoalert.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add message support
[cryptoalert.git]
/
sample.hjson
blob
82783bd4a7af32370a9da379772e3eacb8c9f75f
1
// This is an example of script input.
2
3
key: 1234-5678-abcd
4
watch: [
5
// Use symbols from coinmarketcap.com.
6
7
{
8
symbol: ETH
9
when: >2000
10
msg: See, Ethereum is more than you wanted.
11
}
12
{
13
symbol: ETH
14
when: <100
15
}
16
{
17
symbol: BTC
18
when: >15000
19
msg: You're rich.....
20
}
21
{
22
symbol: ZEC
23
when: >60
24
}
25
26
// I don't believe in USDT.
27
{
28
symbol: USDT
29
when: <0.9
30
msg: Oh no, who expected!?
31
}
32
{
33
symbol: USDT
34
when: >1.1
35
}
36
]