2019102152 김다빈

Modify trading_notice parameter

Showing 1 changed file with 2 additions and 2 deletions
......@@ -174,7 +174,7 @@ async function transaction_coin(coin_name, side, volume, price, ord_type, first
console.log(avg_buy_price);
lookup_order(result.uuid,avg_buy_price,market);
}else{
lookup_order(result.uuid);
lookup_order(result.uuid,0,market);
}
if (side == "bid") {
if (first) {
......@@ -422,7 +422,7 @@ function lookup_order(uuid,avg_buy_price=0,market="") {
})
return;
}
function trading_notice(side, price, funds, volume,yield_data=0,market="") {
function trading_notice(side, price, funds, volume,yield_data=0,market) {
var messages = new Array();
if (side == "bid") {
messages.push({ "type": "text", "text": "매수 주문이 체결되었습니다." });
......