Skip to content

Commit

Permalink
debug risk management not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
TranceGeniK committed Sep 26, 2019
1 parent 3d00f2f commit 3ec0779
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/components/Home/Home.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@

<ladder-orders-form v-show="orderTypeId === 0"
@order="order = $event"
:key="$bybitApi.currentSymbol"
:key="$bybitApi.currentSymbol + 0"
:active="orderTypeId === 0"></ladder-orders-form>
<limit-order-form v-show="orderTypeId === 1"
@order="order = $event"
:key="$bybitApi.currentSymbol"
:key="$bybitApi.currentSymbol + 1"
:active="orderTypeId === 1"></limit-order-form>
<market-order-form v-show="orderTypeId === 2"
@order="order = $event"
:key="$bybitApi.currentSymbol"
:key="$bybitApi.currentSymbol + 2"
:active="orderTypeId === 2"></market-order-form>
</v-col>
<v-col v-show="$ui.showRiskManagementPane"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default {
},
{
label: 'Entry Price',
value: this.order.price.toFixed(2),
value: Number(this.order.price).toFixed(2),
},
{
label: 'Contracts to trade',
Expand Down

0 comments on commit 3ec0779

Please sign in to comment.