Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Commit

Permalink
Update JTI to work with Jesse, version 0.20.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolay Zlobin committed Mar 16, 2021
1 parent ca2eabb commit 63e8825
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ Read this [documentation](https://docs.jesse.trade/docs/getting-started/docker.h

| Light | Dark |
|:-------------:|:-------------:|
| ![Ligth theme](https://user-images.githubusercontent.com/25667028/106305724-14cf8100-626e-11eb-9a86-3c24f5301719.png) | ![Dark theme](https://user-images.githubusercontent.com/25667028/106305809-34ff4000-626e-11eb-81b6-7ac4a43f576c.png) |
| ![Light theme](https://user-images.githubusercontent.com/25667028/106305724-14cf8100-626e-11eb-9a86-3c24f5301719.png) | ![Dark theme](https://user-images.githubusercontent.com/25667028/106305809-34ff4000-626e-11eb-81b6-7ac4a43f576c.png) |
4 changes: 2 additions & 2 deletions components/OHLC.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ export default {

this.orders = this.orders.map((i) => {
return {
time: i.executed_at / 1000,
time: i.__data__.executed_at / 1000,
position: 'inBar',
color: i.side === 'buy' ? '#28bd14' : '#d43939',
color: i.__data__.side === 'buy' ? '#28bd14' : '#d43939',
shape: 'circle',
text: ''
}
Expand Down
30 changes: 15 additions & 15 deletions components/TradesList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -111,29 +111,29 @@
<tbody>
<tr
v-for="(order, index) in item.orders"
:key="order.id"
:key="order.__data__.id"
:class="{'selected-order': selectedOrder === index}"
class="is-pointer"
@click="getOrderTime(order.executed_at); selectOrder(index)">
<td>{{ order.symbol }}</td>
<td>{{ order.exchange }}</td>
@click="getOrderTime(order.__data__.executed_at); selectOrder(index)">
<td>{{ order.__data__.symbol }}</td>
<td>{{ order.__data__.exchange }}</td>
<td>
<div class="is-vertical-align">
<i
:class="[order.side === 'sell' ? 'is-red' : 'is-green']"
:class="[order.__data__.side === 'sell' ? 'is-red' : 'is-green']"
class="circle">&#9679;</i>
<span class="text-capitalize ml-5">{{ order.side }}</span>
<span class="text-capitalize ml-5">{{ order.__data__.side }}</span>
</div>
</td>
<td>{{ order.role }}</td>
<td>{{ order.type }}</td>
<td><small>{{ order.qty | trailingZeros }}</small></td>
<td><small>{{ order.price | trailingZeros }}</small></td>
<td>{{ order.status }}</td>
<td><small>{{ order.created_at | parseDate }}</small></td>
<td><small>{{ order.executed_at | parseDate }}</small></td>
<td :class="{ 'text-light': !order.canceled_at } ">
{{ order.canceled_at ? order.canceled_at : '–' }}
<td>{{ order.__data__.role }}</td>
<td>{{ order.__data__.type }}</td>
<td><small>{{ order.__data__.qty | trailingZeros }}</small></td>
<td><small>{{ order.__data__.price | trailingZeros }}</small></td>
<td>{{ order.__data__.status }}</td>
<td><small>{{ order.__data__.created_at | parseDate }}</small></td>
<td><small>{{ order.__data__.executed_at | parseDate }}</small></td>
<td :class="{ 'text-light': !order.__data__.canceled_at } ">
{{ order.__data__.canceled_at ? order.__data__.canceled_at : '–' }}
</td>
</tr>
</tbody>
Expand Down

0 comments on commit 63e8825

Please sign in to comment.