Skip to content

Commit

Permalink
update to vue.js 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Haehnchen committed Aug 13, 2024
1 parent c9cf1a7 commit 9567b2b
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions web/static/js/trades.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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();
},
Expand Down

0 comments on commit 9567b2b

Please sign in to comment.