thats for ```let trade = fromJSON(bytesToString(Me...
# choria
r
thats for
Copy code
let trade = fromJSON(bytesToString(Message.Payload));

if (trade.action == "buy") {
  true
} else if (trade.action == "sell" && trade.high - trade.low <= 100) {
  true
} else {
  false
}
🙂