mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-25 20:45:15 +00:00
Fix order Return type
This commit is contained in:
parent
6d5ac2fa8d
commit
785a7ebc24
|
@ -97,10 +97,10 @@
|
||||||
/>
|
/>
|
||||||
<b class="ml-1">{{ order.ft_order_side }}</b> for
|
<b class="ml-1">{{ order.ft_order_side }}</b> for
|
||||||
<b>{{ formatPrice(order.safe_price) }}</b> |
|
<b>{{ formatPrice(order.safe_price) }}</b> |
|
||||||
<span v-if="order.remaining !== 0" title="remaining"
|
<span v-if="order.remaining && order.remaining !== 0" title="remaining"
|
||||||
>{{ formatPrice(order.remaining, 8) }} /
|
>{{ formatPrice(order.remaining, 8) }} /
|
||||||
</span>
|
</span>
|
||||||
<span title="Filled">{{ formatPrice(order.filled, 8) }}</span>
|
<span title="Filled">{{ formatPrice(order.filled ?? 0, 8) }}</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</details>
|
</details>
|
||||||
|
|
|
@ -12,9 +12,9 @@ export interface Order extends BTOrder {
|
||||||
pair: string;
|
pair: string;
|
||||||
order_id: string;
|
order_id: string;
|
||||||
status: string;
|
status: string;
|
||||||
remaining: number;
|
remaining: number | null;
|
||||||
cost: number;
|
cost: number;
|
||||||
filled: number;
|
filled: number | null;
|
||||||
order_type: string;
|
order_type: string;
|
||||||
is_open: boolean;
|
is_open: boolean;
|
||||||
order_timestamp?: number;
|
order_timestamp?: number;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user