Split orders type ...

This commit is contained in:
Matthias 2022-05-30 06:37:57 +02:00
parent 47c48c9011
commit 0947f73441

View File

@ -1,19 +1,23 @@
import { TradingMode } from './types';
export interface Order {
export interface BTOrder {
amount: number;
safe_price: number;
ft_order_side: string;
order_filled_timestamp?: number;
ft_is_entry: boolean;
}
export interface Order extends BTOrder {
pair: string;
order_id: string;
status: string;
remaining: number;
amount: number;
safe_price: number;
cost: number;
filled: number;
ft_order_side: string;
order_type: string;
is_open: boolean;
order_timestamp?: number;
order_filled_timestamp?: number;
}
export interface Trade {