정홍주

Complete Kimchi -premium function

Showing 1 changed file with 4 additions and 0 deletions
......@@ -111,6 +111,10 @@ function compare_price(replyToken, message, upbitPrice){
{
"type":"text",
"text":"Upbit : "+String(upbitPrice)+"원"
},
{
"type":"text",
"text":"김치프리미엄 : "+String(((upbitPrice-binancePrice)/upbitPrice*100).toFixed(2))+"%"
}
]
}
......