mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-22 11:05:17 +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>{{ 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) }} /
|
||||
</span>
|
||||
<span title="Filled">{{ formatPrice(order.filled, 8) }}</span>
|
||||
<span title="Filled">{{ formatPrice(order.filled ?? 0, 8) }}</span>
|
||||
</span>
|
||||
</div>
|
||||
</details>
|
||||
|
|
|
@ -12,9 +12,9 @@ export interface Order extends BTOrder {
|
|||
pair: string;
|
||||
order_id: string;
|
||||
status: string;
|
||||
remaining: number;
|
||||
remaining: number | null;
|
||||
cost: number;
|
||||
filled: number;
|
||||
filled: number | null;
|
||||
order_type: string;
|
||||
is_open: boolean;
|
||||
order_timestamp?: number;
|
||||
|
|
Loading…
Reference in New Issue
Block a user