Skip to content

Commit 9567b2b

Browse files
committed
update to vue.js 3
1 parent c9cf1a7 commit 9567b2b

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

web/static/js/trades.vue

-36
Original file line numberDiff line numberDiff line change
@@ -158,42 +158,6 @@ export default {
158158
this.positions = data.positions || [];
159159
this.orders = data.orders || [];
160160
161-
this.positions = [
162-
{
163-
'currency': 12.12,
164-
'currencyProfit': 12,
165-
'exchange': 'binance',
166-
'position': {
167-
'type': 'long',
168-
'amount': 12.12,
169-
'profit': 12,
170-
'entry': 13.23,
171-
'updatedAt' : new Date(),
172-
'createdAt': new Date(),
173-
}
174-
}
175-
]
176-
177-
this.orders = [
178-
{
179-
'currency': 12.12,
180-
'currencyProfit': 12,
181-
'exchange': 'binance',
182-
'order': {
183-
'type': 'ggg',
184-
'id': 'aaa',
185-
'price': 12.12,
186-
'percent_to_price': 4,
187-
'ourId': '12',
188-
'entry': 13.23,
189-
'side': 'buy',
190-
'updatedAt': new Date(),
191-
'createdAt': new Date(),
192-
'status': 'aaaa',
193-
}
194-
}
195-
];
196-
197161
this.positionsUpdatedAt = new Date().toLocaleTimeString();
198162
this.ordersUpdatedAt = new Date().toLocaleTimeString();
199163
},

0 commit comments

Comments
 (0)