kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
170 lines (169 loc) • 3.41 kB
TypeScript
import { RestResponse } from '../../../model/common';
import { Response } from '../../../internal/interfaces/serializable';
export declare class AddIsolatedMarginResp implements Response<RestResponse> {
/**
* Position ID
*/
id: string;
/**
* Symbol of the contract, Please refer to [Get Symbol endpoint: symbol](https://www.kucoin.com/docs-new/api-3470220)
*/
symbol: string;
/**
* Auto deposit margin or not
*/
autoDeposit: boolean;
/**
* Maintenance margin requirement
*/
maintMarginReq: string;
/**
* Risk limit
*/
riskLimit: number;
/**
* Leverage o the order
*/
realLeverage: string;
/**
* Cross mode or not
*/
crossMode: boolean;
/**
* ADL ranking percentile
*/
delevPercentage: number;
/**
* Open time
*/
openingTimestamp: number;
/**
* Current timestamp
*/
currentTimestamp: number;
/**
* Current postion quantity
*/
currentQty: number;
/**
* Current postion value
*/
currentCost: string;
/**
* Current commission
*/
currentComm: string;
/**
* Unrealised value
*/
unrealisedCost: string;
/**
* Accumulated realised gross profit value
*/
realisedGrossCost: string;
/**
* Current realised position value
*/
realisedCost: string;
/**
* Opened position or not
*/
isOpen: boolean;
/**
* Mark price
*/
markPrice: string;
/**
* Mark value
*/
markValue: string;
/**
* Position value
*/
posCost: string;
/**
* added margin
*/
posCross: string;
/**
* Leverage margin
*/
posInit: string;
/**
* Bankruptcy cost
*/
posComm: string;
/**
* Funding fees paid out
*/
posLoss: string;
/**
* Position margin
*/
posMargin: string;
/**
* Maintenance margin
*/
posMaint: string;
/**
* Position margin
*/
maintMargin: string;
/**
* Accumulated realised gross profit value
*/
realisedGrossPnl: string;
/**
* Realised profit and loss
*/
realisedPnl: string;
/**
* Unrealised profit and loss
*/
unrealisedPnl: string;
/**
* Profit-loss ratio of the position
*/
unrealisedPnlPcnt: string;
/**
* Rate of return on investment
*/
unrealisedRoePcnt: string;
/**
* Average entry price
*/
avgEntryPrice: string;
/**
* Liquidation price
*/
liquidationPrice: string;
/**
* Bankruptcy price
*/
bankruptPrice: string;
/**
* Currency used to clear and settle the trades
*/
settleCurrency: string;
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
private constructor();
/**
* common response
*/
commonResponse?: RestResponse;
setCommonResponse(response: RestResponse): void;
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): AddIsolatedMarginResp;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): AddIsolatedMarginResp;
}