How to set price alert code in proper format in Pi?