From 9567b2b013643bb290bea8d6c8397551c7a756af Mon Sep 17 00:00:00 2001 From: Daniel Espendiller Date: Tue, 13 Aug 2024 19:19:16 +0200 Subject: [PATCH] update to vue.js 3 --- web/static/js/trades.vue | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/web/static/js/trades.vue b/web/static/js/trades.vue index e6331f8d..a6b57931 100644 --- a/web/static/js/trades.vue +++ b/web/static/js/trades.vue @@ -158,42 +158,6 @@ export default { this.positions = data.positions || []; this.orders = data.orders || []; - this.positions = [ - { - 'currency': 12.12, - 'currencyProfit': 12, - 'exchange': 'binance', - 'position': { - 'type': 'long', - 'amount': 12.12, - 'profit': 12, - 'entry': 13.23, - 'updatedAt' : new Date(), - 'createdAt': new Date(), - } - } - ] - - this.orders = [ - { - 'currency': 12.12, - 'currencyProfit': 12, - 'exchange': 'binance', - 'order': { - 'type': 'ggg', - 'id': 'aaa', - 'price': 12.12, - 'percent_to_price': 4, - 'ourId': '12', - 'entry': 13.23, - 'side': 'buy', - 'updatedAt': new Date(), - 'createdAt': new Date(), - 'status': 'aaaa', - } - } - ]; - this.positionsUpdatedAt = new Date().toLocaleTimeString(); this.ordersUpdatedAt = new Date().toLocaleTimeString(); },