mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-26 13:05:15 +00:00
Split orders type ...
This commit is contained in:
parent
47c48c9011
commit
0947f73441
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user