kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
76 lines (75 loc) • 1.66 kB
TypeScript
import { Serializable } from '../../../internal/interfaces/serializable';
export declare class BatchAddOrdersSyncData implements Serializable {
/**
* The unique order ID generated by the trading system, which can be used later for further actions such as canceling the order.
*/
orderId?: string;
/**
* The user self-defined order ID.
*/
clientOid?: string;
/**
*
*/
orderTime?: number;
/**
* Original order size
*/
originSize?: string;
/**
* Deal size
*/
dealSize?: string;
/**
* Remain size
*/
remainSize?: string;
/**
* Cumulative canceled size
*/
canceledSize?: string;
/**
* Order Status. open: order is active; done: order has been completed
*/
status?: BatchAddOrdersSyncData.StatusEnum;
/**
*
*/
matchTime?: number;
/**
* Add order success/failure
*/
success: boolean;
/**
* Error message
*/
failMsg?: string;
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
private constructor();
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): BatchAddOrdersSyncData;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): BatchAddOrdersSyncData;
}
export declare namespace BatchAddOrdersSyncData {
enum StatusEnum {
/**
*
*/
OPEN,
/**
*
*/
DONE
}
}