import { RestApiResponse, ConfigurationRestAPI, TimeUnit, WebsocketApiResponse, WebsocketAPIBase, WebsocketSendMsgOptions, WebsocketStream, ConfigurationWebsocketAPI, WebsocketStreamsBase, ConfigurationWebsocketStreams } from '@binance/common';
export { BadRequestError, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, SPOT_REST_API_PROD_URL, SPOT_REST_API_TESTNET_URL, SPOT_WS_API_PROD_URL, SPOT_WS_API_TESTNET_URL, SPOT_WS_STREAMS_PROD_URL, SPOT_WS_STREAMS_TESTNET_URL, ServerError, TimeUnit, TooManyRequestsError, UnauthorizedError } from '@binance/common';

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AccountCommissionResponseDiscount
 */
interface AccountCommissionResponseDiscount {
    /**
     *
     * @type {boolean}
     * @memberof AccountCommissionResponseDiscount
     */
    enabledForAccount?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof AccountCommissionResponseDiscount
     */
    enabledForSymbol?: boolean;
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponseDiscount
     */
    discountAsset?: string;
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponseDiscount
     */
    discount?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AccountCommissionResponseStandardCommission
 */
interface AccountCommissionResponseStandardCommission {
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponseStandardCommission
     */
    maker?: string;
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponseStandardCommission
     */
    taker?: string;
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponseStandardCommission
     */
    buyer?: string;
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponseStandardCommission
     */
    seller?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AccountCommissionResponseTaxCommission
 */
interface AccountCommissionResponseTaxCommission {
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponseTaxCommission
     */
    maker?: string;
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponseTaxCommission
     */
    taker?: string;
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponseTaxCommission
     */
    buyer?: string;
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponseTaxCommission
     */
    seller?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface AccountCommissionResponse
 */
interface AccountCommissionResponse$1 {
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponse
     */
    symbol?: string;
    /**
     *
     * @type {AccountCommissionResponseStandardCommission}
     * @memberof AccountCommissionResponse
     */
    standardCommission?: AccountCommissionResponseStandardCommission;
    /**
     *
     * @type {AccountCommissionResponseTaxCommission}
     * @memberof AccountCommissionResponse
     */
    taxCommission?: AccountCommissionResponseTaxCommission;
    /**
     *
     * @type {AccountCommissionResponseDiscount}
     * @memberof AccountCommissionResponse
     */
    discount?: AccountCommissionResponseDiscount;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AggTradesResponseInner
 */
interface AggTradesResponseInner {
    /**
     *
     * @type {number}
     * @memberof AggTradesResponseInner
     */
    a?: number;
    /**
     *
     * @type {string}
     * @memberof AggTradesResponseInner
     */
    p?: string;
    /**
     *
     * @type {string}
     * @memberof AggTradesResponseInner
     */
    q?: string;
    /**
     *
     * @type {number}
     * @memberof AggTradesResponseInner
     */
    f?: number;
    /**
     *
     * @type {number}
     * @memberof AggTradesResponseInner
     */
    l?: number;
    /**
     *
     * @type {number}
     * @memberof AggTradesResponseInner
     */
    T?: number;
    /**
     *
     * @type {boolean}
     * @memberof AggTradesResponseInner
     */
    m?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof AggTradesResponseInner
     */
    M?: boolean;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface AggTradesResponse
 */
interface AggTradesResponse extends Array<AggTradesResponseInner> {
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AllOrderListResponseInnerOrdersInner
 */
interface AllOrderListResponseInnerOrdersInner {
    /**
     *
     * @type {string}
     * @memberof AllOrderListResponseInnerOrdersInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof AllOrderListResponseInnerOrdersInner
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof AllOrderListResponseInnerOrdersInner
     */
    clientOrderId?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface AllOrderListResponseInner
 */
interface AllOrderListResponseInner {
    /**
     *
     * @type {number}
     * @memberof AllOrderListResponseInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof AllOrderListResponseInner
     */
    contingencyType?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrderListResponseInner
     */
    listStatusType?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrderListResponseInner
     */
    listOrderStatus?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrderListResponseInner
     */
    listClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof AllOrderListResponseInner
     */
    transactionTime?: number;
    /**
     *
     * @type {string}
     * @memberof AllOrderListResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {Array<AllOrderListResponseInnerOrdersInner>}
     * @memberof AllOrderListResponseInner
     */
    orders?: Array<AllOrderListResponseInnerOrdersInner>;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface AllOrderListResponse
 */
interface AllOrderListResponse extends Array<AllOrderListResponseInner> {
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AllOrdersResponseInner
 */
interface AllOrdersResponseInner {
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof AllOrdersResponseInner
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof AllOrdersResponseInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    clientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    stopPrice?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    icebergQty?: string;
    /**
     *
     * @type {number}
     * @memberof AllOrdersResponseInner
     */
    time?: number;
    /**
     *
     * @type {number}
     * @memberof AllOrdersResponseInner
     */
    updateTime?: number;
    /**
     *
     * @type {boolean}
     * @memberof AllOrdersResponseInner
     */
    isWorking?: boolean;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {number}
     * @memberof AllOrdersResponseInner
     */
    workingTime?: number;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseInner
     */
    selfTradePreventionMode?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface AllOrdersResponse
 */
interface AllOrdersResponse$1 extends Array<AllOrdersResponseInner> {
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AvgPriceResponse
 */
interface AvgPriceResponse$2 {
    /**
     *
     * @type {number}
     * @memberof AvgPriceResponse
     */
    mins?: number;
    /**
     *
     * @type {string}
     * @memberof AvgPriceResponse
     */
    price?: string;
    /**
     *
     * @type {number}
     * @memberof AvgPriceResponse
     */
    closeTime?: number;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface DeleteOpenOrdersResponseInner
 */
interface DeleteOpenOrdersResponseInner {
    /**
     *
     * @type {string}
     * @memberof DeleteOpenOrdersResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOpenOrdersResponseInner
     */
    origClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof DeleteOpenOrdersResponseInner
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof DeleteOpenOrdersResponseInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof DeleteOpenOrdersResponseInner
     */
    clientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof DeleteOpenOrdersResponseInner
     */
    transactTime?: number;
    /**
     *
     * @type {string}
     * @memberof DeleteOpenOrdersResponseInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOpenOrdersResponseInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOpenOrdersResponseInner
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOpenOrdersResponseInner
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOpenOrdersResponseInner
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOpenOrdersResponseInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOpenOrdersResponseInner
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOpenOrdersResponseInner
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOpenOrdersResponseInner
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOpenOrdersResponseInner
     */
    selfTradePreventionMode?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface DeleteOpenOrdersResponse
 */
interface DeleteOpenOrdersResponse extends Array<DeleteOpenOrdersResponseInner> {
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface DeleteOrderListResponseOrderReportsInner
 */
interface DeleteOrderListResponseOrderReportsInner {
    /**
     *
     * @type {string}
     * @memberof DeleteOrderListResponseOrderReportsInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderListResponseOrderReportsInner
     */
    origClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof DeleteOrderListResponseOrderReportsInner
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof DeleteOrderListResponseOrderReportsInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderListResponseOrderReportsInner
     */
    clientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof DeleteOrderListResponseOrderReportsInner
     */
    transactTime?: number;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderListResponseOrderReportsInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderListResponseOrderReportsInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderListResponseOrderReportsInner
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderListResponseOrderReportsInner
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderListResponseOrderReportsInner
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderListResponseOrderReportsInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderListResponseOrderReportsInner
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderListResponseOrderReportsInner
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderListResponseOrderReportsInner
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderListResponseOrderReportsInner
     */
    stopPrice?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderListResponseOrderReportsInner
     */
    selfTradePreventionMode?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface DeleteOrderListResponseOrdersInner
 */
interface DeleteOrderListResponseOrdersInner {
    /**
     *
     * @type {string}
     * @memberof DeleteOrderListResponseOrdersInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof DeleteOrderListResponseOrdersInner
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderListResponseOrdersInner
     */
    clientOrderId?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface DeleteOrderListResponse
 */
interface DeleteOrderListResponse {
    /**
     *
     * @type {number}
     * @memberof DeleteOrderListResponse
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderListResponse
     */
    contingencyType?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderListResponse
     */
    listStatusType?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderListResponse
     */
    listOrderStatus?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderListResponse
     */
    listClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof DeleteOrderListResponse
     */
    transactionTime?: number;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderListResponse
     */
    symbol?: string;
    /**
     *
     * @type {Array<DeleteOrderListResponseOrdersInner>}
     * @memberof DeleteOrderListResponse
     */
    orders?: Array<DeleteOrderListResponseOrdersInner>;
    /**
     *
     * @type {Array<DeleteOrderListResponseOrderReportsInner>}
     * @memberof DeleteOrderListResponse
     */
    orderReports?: Array<DeleteOrderListResponseOrderReportsInner>;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface DeleteOrderResponse
 */
interface DeleteOrderResponse {
    /**
     *
     * @type {string}
     * @memberof DeleteOrderResponse
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderResponse
     */
    origClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof DeleteOrderResponse
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof DeleteOrderResponse
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderResponse
     */
    clientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof DeleteOrderResponse
     */
    transactTime?: number;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderResponse
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderResponse
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderResponse
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderResponse
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderResponse
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderResponse
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderResponse
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderResponse
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderResponse
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof DeleteOrderResponse
     */
    selfTradePreventionMode?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface DepthResponse
 */
interface DepthResponse$1 {
    /**
     *
     * @type {number}
     * @memberof DepthResponse
     */
    lastUpdateId?: number;
    /**
     *
     * @type {Array<Array<string>>}
     * @memberof DepthResponse
     */
    bids?: Array<Array<string>>;
    /**
     *
     * @type {Array<Array<string>>}
     * @memberof DepthResponse
     */
    asks?: Array<Array<string>>;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExchangeInfoResponseExchangeFiltersInner
 */
interface ExchangeInfoResponseExchangeFiltersInner {
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    filterType?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    minPrice?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    maxPrice?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    tickSize?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    multiplierUp?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    multiplierDown?: string;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    avgPriceMins?: number;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    bidMultiplierUp?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    bidMultiplierDown?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    askMultiplierUp?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    askMultiplierDown?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    minQty?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    maxQty?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    stepSize?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    minNotional?: string;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    applyToMarket?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    applyMinToMarket?: boolean;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    maxNotional?: string;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    applyMaxToMarket?: boolean;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    limit?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    maxNumOrders?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    maxNumAlgoOrders?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    maxNumIcebergOrders?: number;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    maxPosition?: string;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    minTrailingAboveDelta?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    maxTrailingAboveDelta?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    minTrailingBelowDelta?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseExchangeFiltersInner
     */
    maxTrailingBelowDelta?: number;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExchangeInfoResponseRateLimitsInner
 */
interface ExchangeInfoResponseRateLimitsInner$1 {
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseRateLimitsInner
     */
    rateLimitType?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseRateLimitsInner
     */
    interval?: string;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseRateLimitsInner
     */
    intervalNum?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseRateLimitsInner
     */
    limit?: number;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface ExchangeInfoResponseSymbolsInner
 */
interface ExchangeInfoResponseSymbolsInner {
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    baseAsset?: string;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    baseAssetPrecision?: number;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    quoteAsset?: string;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    quotePrecision?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    quoteAssetPrecision?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    baseCommissionPrecision?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    quoteCommissionPrecision?: number;
    /**
     *
     * @type {Array<string>}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    orderTypes?: Array<string>;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    icebergAllowed?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    ocoAllowed?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    otoAllowed?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    quoteOrderQtyMarketAllowed?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    allowTrailingStop?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    cancelReplaceAllowed?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    amendAllowed?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    isSpotTradingAllowed?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    isMarginTradingAllowed?: boolean;
    /**
     *
     * @type {Array<ExchangeInfoResponseExchangeFiltersInner>}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    filters?: Array<ExchangeInfoResponseExchangeFiltersInner>;
    /**
     *
     * @type {Array<string>}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    permissions?: Array<string>;
    /**
     *
     * @type {Array<Array<string>>}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    permissionSets?: Array<Array<string>>;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    defaultSelfTradePreventionMode?: string;
    /**
     *
     * @type {Array<string>}
     * @memberof ExchangeInfoResponseSymbolsInner
     */
    allowedSelfTradePreventionModes?: Array<string>;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface ExchangeInfoResponse
 */
interface ExchangeInfoResponse$1 {
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponse
     */
    timezone?: string;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponse
     */
    serverTime?: number;
    /**
     *
     * @type {Array<ExchangeInfoResponseRateLimitsInner>}
     * @memberof ExchangeInfoResponse
     */
    rateLimits?: Array<ExchangeInfoResponseRateLimitsInner$1>;
    /**
     *
     * @type {Array<ExchangeInfoResponseExchangeFiltersInner>}
     * @memberof ExchangeInfoResponse
     */
    exchangeFilters?: Array<ExchangeInfoResponseExchangeFiltersInner>;
    /**
     *
     * @type {Array<ExchangeInfoResponseSymbolsInner>}
     * @memberof ExchangeInfoResponse
     */
    symbols?: Array<ExchangeInfoResponseSymbolsInner>;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetAccountResponseBalancesInner
 */
interface GetAccountResponseBalancesInner {
    /**
     *
     * @type {string}
     * @memberof GetAccountResponseBalancesInner
     */
    asset?: string;
    /**
     *
     * @type {string}
     * @memberof GetAccountResponseBalancesInner
     */
    free?: string;
    /**
     *
     * @type {string}
     * @memberof GetAccountResponseBalancesInner
     */
    locked?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetAccountResponseCommissionRates
 */
interface GetAccountResponseCommissionRates {
    /**
     *
     * @type {string}
     * @memberof GetAccountResponseCommissionRates
     */
    maker?: string;
    /**
     *
     * @type {string}
     * @memberof GetAccountResponseCommissionRates
     */
    taker?: string;
    /**
     *
     * @type {string}
     * @memberof GetAccountResponseCommissionRates
     */
    buyer?: string;
    /**
     *
     * @type {string}
     * @memberof GetAccountResponseCommissionRates
     */
    seller?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface GetAccountResponse
 */
interface GetAccountResponse {
    /**
     *
     * @type {number}
     * @memberof GetAccountResponse
     */
    makerCommission?: number;
    /**
     *
     * @type {number}
     * @memberof GetAccountResponse
     */
    takerCommission?: number;
    /**
     *
     * @type {number}
     * @memberof GetAccountResponse
     */
    buyerCommission?: number;
    /**
     *
     * @type {number}
     * @memberof GetAccountResponse
     */
    sellerCommission?: number;
    /**
     *
     * @type {GetAccountResponseCommissionRates}
     * @memberof GetAccountResponse
     */
    commissionRates?: GetAccountResponseCommissionRates;
    /**
     *
     * @type {boolean}
     * @memberof GetAccountResponse
     */
    canTrade?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof GetAccountResponse
     */
    canWithdraw?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof GetAccountResponse
     */
    canDeposit?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof GetAccountResponse
     */
    brokered?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof GetAccountResponse
     */
    requireSelfTradePrevention?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof GetAccountResponse
     */
    preventSor?: boolean;
    /**
     *
     * @type {number}
     * @memberof GetAccountResponse
     */
    updateTime?: number;
    /**
     *
     * @type {string}
     * @memberof GetAccountResponse
     */
    accountType?: string;
    /**
     *
     * @type {Array<GetAccountResponseBalancesInner>}
     * @memberof GetAccountResponse
     */
    balances?: Array<GetAccountResponseBalancesInner>;
    /**
     *
     * @type {Array<string>}
     * @memberof GetAccountResponse
     */
    permissions?: Array<string>;
    /**
     *
     * @type {number}
     * @memberof GetAccountResponse
     */
    uid?: number;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface GetOpenOrdersResponse
 */
interface GetOpenOrdersResponse extends Array<AllOrdersResponseInner> {
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetOrderListResponseOrdersInner
 */
interface GetOrderListResponseOrdersInner {
    /**
     *
     * @type {string}
     * @memberof GetOrderListResponseOrdersInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof GetOrderListResponseOrdersInner
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof GetOrderListResponseOrdersInner
     */
    clientOrderId?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface GetOrderListResponse
 */
interface GetOrderListResponse {
    /**
     *
     * @type {number}
     * @memberof GetOrderListResponse
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof GetOrderListResponse
     */
    contingencyType?: string;
    /**
     *
     * @type {string}
     * @memberof GetOrderListResponse
     */
    listStatusType?: string;
    /**
     *
     * @type {string}
     * @memberof GetOrderListResponse
     */
    listOrderStatus?: string;
    /**
     *
     * @type {string}
     * @memberof GetOrderListResponse
     */
    listClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof GetOrderListResponse
     */
    transactionTime?: number;
    /**
     *
     * @type {string}
     * @memberof GetOrderListResponse
     */
    symbol?: string;
    /**
     *
     * @type {Array<GetOrderListResponseOrdersInner>}
     * @memberof GetOrderListResponse
     */
    orders?: Array<GetOrderListResponseOrdersInner>;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetOrderResponse
 */
interface GetOrderResponse {
    /**
     *
     * @type {string}
     * @memberof GetOrderResponse
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof GetOrderResponse
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof GetOrderResponse
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof GetOrderResponse
     */
    clientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof GetOrderResponse
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof GetOrderResponse
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof GetOrderResponse
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof GetOrderResponse
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof GetOrderResponse
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof GetOrderResponse
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof GetOrderResponse
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof GetOrderResponse
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof GetOrderResponse
     */
    stopPrice?: string;
    /**
     *
     * @type {string}
     * @memberof GetOrderResponse
     */
    icebergQty?: string;
    /**
     *
     * @type {number}
     * @memberof GetOrderResponse
     */
    time?: number;
    /**
     *
     * @type {number}
     * @memberof GetOrderResponse
     */
    updateTime?: number;
    /**
     *
     * @type {boolean}
     * @memberof GetOrderResponse
     */
    isWorking?: boolean;
    /**
     *
     * @type {number}
     * @memberof GetOrderResponse
     */
    workingTime?: number;
    /**
     *
     * @type {string}
     * @memberof GetOrderResponse
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof GetOrderResponse
     */
    selfTradePreventionMode?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface HistoricalTradesResponseInner
 */
interface HistoricalTradesResponseInner {
    /**
     *
     * @type {number}
     * @memberof HistoricalTradesResponseInner
     */
    id?: number;
    /**
     *
     * @type {string}
     * @memberof HistoricalTradesResponseInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof HistoricalTradesResponseInner
     */
    qty?: string;
    /**
     *
     * @type {string}
     * @memberof HistoricalTradesResponseInner
     */
    quoteQty?: string;
    /**
     *
     * @type {number}
     * @memberof HistoricalTradesResponseInner
     */
    time?: number;
    /**
     *
     * @type {boolean}
     * @memberof HistoricalTradesResponseInner
     */
    isBuyerMaker?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof HistoricalTradesResponseInner
     */
    isBestMatch?: boolean;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface GetTradesResponse
 */
interface GetTradesResponse extends Array<HistoricalTradesResponseInner> {
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface HistoricalTradesResponse
 */
interface HistoricalTradesResponse extends Array<HistoricalTradesResponseInner> {
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 * @type KlinesItemInner
 * @export
 */
type KlinesItemInner$1 = number | string;

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface KlinesItem
 */
interface KlinesItem$1 extends Array<KlinesItemInner$1> {
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface KlinesResponse
 */
interface KlinesResponse$1 extends Array<KlinesItem$1> {
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MyAllocationsResponseInner
 */
interface MyAllocationsResponseInner {
    /**
     *
     * @type {string}
     * @memberof MyAllocationsResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof MyAllocationsResponseInner
     */
    allocationId?: number;
    /**
     *
     * @type {string}
     * @memberof MyAllocationsResponseInner
     */
    allocationType?: string;
    /**
     *
     * @type {number}
     * @memberof MyAllocationsResponseInner
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof MyAllocationsResponseInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof MyAllocationsResponseInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof MyAllocationsResponseInner
     */
    qty?: string;
    /**
     *
     * @type {string}
     * @memberof MyAllocationsResponseInner
     */
    quoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof MyAllocationsResponseInner
     */
    commission?: string;
    /**
     *
     * @type {string}
     * @memberof MyAllocationsResponseInner
     */
    commissionAsset?: string;
    /**
     *
     * @type {number}
     * @memberof MyAllocationsResponseInner
     */
    time?: number;
    /**
     *
     * @type {boolean}
     * @memberof MyAllocationsResponseInner
     */
    isBuyer?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof MyAllocationsResponseInner
     */
    isMaker?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof MyAllocationsResponseInner
     */
    isAllocator?: boolean;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface MyAllocationsResponse
 */
interface MyAllocationsResponse$1 extends Array<MyAllocationsResponseInner> {
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MyPreventedMatchesResponseInner
 */
interface MyPreventedMatchesResponseInner {
    /**
     *
     * @type {string}
     * @memberof MyPreventedMatchesResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof MyPreventedMatchesResponseInner
     */
    preventedMatchId?: number;
    /**
     *
     * @type {number}
     * @memberof MyPreventedMatchesResponseInner
     */
    takerOrderId?: number;
    /**
     *
     * @type {string}
     * @memberof MyPreventedMatchesResponseInner
     */
    makerSymbol?: string;
    /**
     *
     * @type {number}
     * @memberof MyPreventedMatchesResponseInner
     */
    makerOrderId?: number;
    /**
     *
     * @type {number}
     * @memberof MyPreventedMatchesResponseInner
     */
    tradeGroupId?: number;
    /**
     *
     * @type {string}
     * @memberof MyPreventedMatchesResponseInner
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {string}
     * @memberof MyPreventedMatchesResponseInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof MyPreventedMatchesResponseInner
     */
    makerPreventedQuantity?: string;
    /**
     *
     * @type {number}
     * @memberof MyPreventedMatchesResponseInner
     */
    transactTime?: number;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface MyPreventedMatchesResponse
 */
interface MyPreventedMatchesResponse$1 extends Array<MyPreventedMatchesResponseInner> {
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MyTradesResponseInner
 */
interface MyTradesResponseInner {
    /**
     *
     * @type {string}
     * @memberof MyTradesResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof MyTradesResponseInner
     */
    id?: number;
    /**
     *
     * @type {number}
     * @memberof MyTradesResponseInner
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof MyTradesResponseInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof MyTradesResponseInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof MyTradesResponseInner
     */
    qty?: string;
    /**
     *
     * @type {string}
     * @memberof MyTradesResponseInner
     */
    quoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof MyTradesResponseInner
     */
    commission?: string;
    /**
     *
     * @type {string}
     * @memberof MyTradesResponseInner
     */
    commissionAsset?: string;
    /**
     *
     * @type {number}
     * @memberof MyTradesResponseInner
     */
    time?: number;
    /**
     *
     * @type {boolean}
     * @memberof MyTradesResponseInner
     */
    isBuyer?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof MyTradesResponseInner
     */
    isMaker?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof MyTradesResponseInner
     */
    isBestMatch?: boolean;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface MyTradesResponse
 */
interface MyTradesResponse$1 extends Array<MyTradesResponseInner> {
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface NewOrderResponseFillsInner
 */
interface NewOrderResponseFillsInner {
    /**
     *
     * @type {string}
     * @memberof NewOrderResponseFillsInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponseFillsInner
     */
    qty?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponseFillsInner
     */
    commission?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponseFillsInner
     */
    commissionAsset?: string;
    /**
     *
     * @type {number}
     * @memberof NewOrderResponseFillsInner
     */
    tradeId?: number;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface NewOrderResponse
 */
interface NewOrderResponse {
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof NewOrderResponse
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof NewOrderResponse
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    clientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof NewOrderResponse
     */
    transactTime?: number;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    side?: string;
    /**
     *
     * @type {number}
     * @memberof NewOrderResponse
     */
    workingTime?: number;
    /**
     *
     * @type {string}
     * @memberof NewOrderResponse
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {Array<NewOrderResponseFillsInner>}
     * @memberof NewOrderResponse
     */
    fills?: Array<NewOrderResponseFillsInner>;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface NewUserDataStreamResponse
 */
interface NewUserDataStreamResponse {
    /**
     *
     * @type {string}
     * @memberof NewUserDataStreamResponse
     */
    listenKey?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OpenOrderListResponseInnerOrdersInner
 */
interface OpenOrderListResponseInnerOrdersInner {
    /**
     *
     * @type {string}
     * @memberof OpenOrderListResponseInnerOrdersInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OpenOrderListResponseInnerOrdersInner
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof OpenOrderListResponseInnerOrdersInner
     */
    clientOrderId?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OpenOrderListResponseInner
 */
interface OpenOrderListResponseInner {
    /**
     *
     * @type {number}
     * @memberof OpenOrderListResponseInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OpenOrderListResponseInner
     */
    contingencyType?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrderListResponseInner
     */
    listStatusType?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrderListResponseInner
     */
    listOrderStatus?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrderListResponseInner
     */
    listClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OpenOrderListResponseInner
     */
    transactionTime?: number;
    /**
     *
     * @type {string}
     * @memberof OpenOrderListResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {Array<OpenOrderListResponseInnerOrdersInner>}
     * @memberof OpenOrderListResponseInner
     */
    orders?: Array<OpenOrderListResponseInnerOrdersInner>;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OpenOrderListResponse
 */
interface OpenOrderListResponse extends Array<OpenOrderListResponseInner> {
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderAmendKeepPriorityResponseAmendedOrder
 */
interface OrderAmendKeepPriorityResponseAmendedOrder {
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseAmendedOrder
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderAmendKeepPriorityResponseAmendedOrder
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof OrderAmendKeepPriorityResponseAmendedOrder
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseAmendedOrder
     */
    origClientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseAmendedOrder
     */
    clientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseAmendedOrder
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseAmendedOrder
     */
    qty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseAmendedOrder
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseAmendedOrder
     */
    preventedQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseAmendedOrder
     */
    quoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseAmendedOrder
     */
    cumulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseAmendedOrder
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseAmendedOrder
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseAmendedOrder
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseAmendedOrder
     */
    side?: string;
    /**
     *
     * @type {number}
     * @memberof OrderAmendKeepPriorityResponseAmendedOrder
     */
    workingTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseAmendedOrder
     */
    selfTradePreventionMode?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderAmendKeepPriorityResponseListStatusOrdersInner
 */
interface OrderAmendKeepPriorityResponseListStatusOrdersInner {
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseListStatusOrdersInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderAmendKeepPriorityResponseListStatusOrdersInner
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseListStatusOrdersInner
     */
    clientOrderId?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderAmendKeepPriorityResponseListStatus
 */
interface OrderAmendKeepPriorityResponseListStatus {
    /**
     *
     * @type {number}
     * @memberof OrderAmendKeepPriorityResponseListStatus
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseListStatus
     */
    contingencyType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseListStatus
     */
    listOrderStatus?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseListStatus
     */
    listClientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseListStatus
     */
    symbol?: string;
    /**
     *
     * @type {Array<OrderAmendKeepPriorityResponseListStatusOrdersInner>}
     * @memberof OrderAmendKeepPriorityResponseListStatus
     */
    orders?: Array<OrderAmendKeepPriorityResponseListStatusOrdersInner>;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderAmendKeepPriorityResponse
 */
interface OrderAmendKeepPriorityResponse$1 {
    /**
     *
     * @type {number}
     * @memberof OrderAmendKeepPriorityResponse
     */
    transactTime?: number;
    /**
     *
     * @type {number}
     * @memberof OrderAmendKeepPriorityResponse
     */
    executionId?: number;
    /**
     *
     * @type {OrderAmendKeepPriorityResponseAmendedOrder}
     * @memberof OrderAmendKeepPriorityResponse
     */
    amendedOrder?: OrderAmendKeepPriorityResponseAmendedOrder;
    /**
     *
     * @type {OrderAmendKeepPriorityResponseListStatus}
     * @memberof OrderAmendKeepPriorityResponse
     */
    listStatus?: OrderAmendKeepPriorityResponseListStatus;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderAmendmentsResponseInner
 */
interface OrderAmendmentsResponseInner {
    /**
     *
     * @type {string}
     * @memberof OrderAmendmentsResponseInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderAmendmentsResponseInner
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof OrderAmendmentsResponseInner
     */
    executionId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderAmendmentsResponseInner
     */
    origClientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendmentsResponseInner
     */
    newClientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendmentsResponseInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendmentsResponseInner
     */
    newQty?: string;
    /**
     *
     * @type {number}
     * @memberof OrderAmendmentsResponseInner
     */
    time?: number;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderAmendmentsResponse
 */
interface OrderAmendmentsResponse$1 extends Array<OrderAmendmentsResponseInner> {
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderCancelReplaceResponseDataCancelResponse
 */
interface OrderCancelReplaceResponseDataCancelResponse {
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseDataCancelResponse
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseDataCancelResponse
     */
    origClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderCancelReplaceResponseDataCancelResponse
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof OrderCancelReplaceResponseDataCancelResponse
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseDataCancelResponse
     */
    clientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderCancelReplaceResponseDataCancelResponse
     */
    transactTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseDataCancelResponse
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseDataCancelResponse
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseDataCancelResponse
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseDataCancelResponse
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseDataCancelResponse
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseDataCancelResponse
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseDataCancelResponse
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseDataCancelResponse
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseDataCancelResponse
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseDataCancelResponse
     */
    selfTradePreventionMode?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderCancelReplaceResponseDataNewOrderResponse
 */
interface OrderCancelReplaceResponseDataNewOrderResponse {
    /**
     *
     * @type {number}
     * @memberof OrderCancelReplaceResponseDataNewOrderResponse
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseDataNewOrderResponse
     */
    msg?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderCancelReplaceResponseData
 */
interface OrderCancelReplaceResponseData {
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseData
     */
    cancelResult?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseData
     */
    newOrderResult?: string;
    /**
     *
     * @type {OrderCancelReplaceResponseDataCancelResponse}
     * @memberof OrderCancelReplaceResponseData
     */
    cancelResponse?: OrderCancelReplaceResponseDataCancelResponse;
    /**
     *
     * @type {OrderCancelReplaceResponseDataNewOrderResponse}
     * @memberof OrderCancelReplaceResponseData
     */
    newOrderResponse?: OrderCancelReplaceResponseDataNewOrderResponse;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderCancelReplaceResponse
 */
interface OrderCancelReplaceResponse$1 {
    /**
     *
     * @type {number}
     * @memberof OrderCancelReplaceResponse
     */
    code?: number;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponse
     */
    msg?: string;
    /**
     *
     * @type {OrderCancelReplaceResponseData}
     * @memberof OrderCancelReplaceResponse
     */
    data?: OrderCancelReplaceResponseData;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListOcoResponseOrderReportsInner
 */
interface OrderListOcoResponseOrderReportsInner {
    /**
     *
     * @type {string}
     * @memberof OrderListOcoResponseOrderReportsInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListOcoResponseOrderReportsInner
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof OrderListOcoResponseOrderReportsInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListOcoResponseOrderReportsInner
     */
    clientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListOcoResponseOrderReportsInner
     */
    transactTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListOcoResponseOrderReportsInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOcoResponseOrderReportsInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOcoResponseOrderReportsInner
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOcoResponseOrderReportsInner
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOcoResponseOrderReportsInner
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOcoResponseOrderReportsInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOcoResponseOrderReportsInner
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOcoResponseOrderReportsInner
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOcoResponseOrderReportsInner
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOcoResponseOrderReportsInner
     */
    stopPrice?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListOcoResponseOrderReportsInner
     */
    workingTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListOcoResponseOrderReportsInner
     */
    icebergQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOcoResponseOrderReportsInner
     */
    selfTradePreventionMode?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListOcoResponseOrdersInner
 */
interface OrderListOcoResponseOrdersInner {
    /**
     *
     * @type {string}
     * @memberof OrderListOcoResponseOrdersInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListOcoResponseOrdersInner
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListOcoResponseOrdersInner
     */
    clientOrderId?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderListOcoResponse
 */
interface OrderListOcoResponse {
    /**
     *
     * @type {number}
     * @memberof OrderListOcoResponse
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListOcoResponse
     */
    contingencyType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOcoResponse
     */
    listStatusType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOcoResponse
     */
    listOrderStatus?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOcoResponse
     */
    listClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListOcoResponse
     */
    transactionTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListOcoResponse
     */
    symbol?: string;
    /**
     *
     * @type {Array<OrderListOcoResponseOrdersInner>}
     * @memberof OrderListOcoResponse
     */
    orders?: Array<OrderListOcoResponseOrdersInner>;
    /**
     *
     * @type {Array<OrderListOcoResponseOrderReportsInner>}
     * @memberof OrderListOcoResponse
     */
    orderReports?: Array<OrderListOcoResponseOrderReportsInner>;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListOtoResponseOrderReportsInner
 */
interface OrderListOtoResponseOrderReportsInner {
    /**
     *
     * @type {string}
     * @memberof OrderListOtoResponseOrderReportsInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListOtoResponseOrderReportsInner
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof OrderListOtoResponseOrderReportsInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListOtoResponseOrderReportsInner
     */
    clientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListOtoResponseOrderReportsInner
     */
    transactTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListOtoResponseOrderReportsInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOtoResponseOrderReportsInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOtoResponseOrderReportsInner
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOtoResponseOrderReportsInner
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOtoResponseOrderReportsInner
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOtoResponseOrderReportsInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOtoResponseOrderReportsInner
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOtoResponseOrderReportsInner
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOtoResponseOrderReportsInner
     */
    side?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListOtoResponseOrderReportsInner
     */
    workingTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListOtoResponseOrderReportsInner
     */
    selfTradePreventionMode?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListOtoResponseOrdersInner
 */
interface OrderListOtoResponseOrdersInner {
    /**
     *
     * @type {string}
     * @memberof OrderListOtoResponseOrdersInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListOtoResponseOrdersInner
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListOtoResponseOrdersInner
     */
    clientOrderId?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderListOtoResponse
 */
interface OrderListOtoResponse {
    /**
     *
     * @type {number}
     * @memberof OrderListOtoResponse
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListOtoResponse
     */
    contingencyType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOtoResponse
     */
    listStatusType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOtoResponse
     */
    listOrderStatus?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOtoResponse
     */
    listClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListOtoResponse
     */
    transactionTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListOtoResponse
     */
    symbol?: string;
    /**
     *
     * @type {Array<OrderListOtoResponseOrdersInner>}
     * @memberof OrderListOtoResponse
     */
    orders?: Array<OrderListOtoResponseOrdersInner>;
    /**
     *
     * @type {Array<OrderListOtoResponseOrderReportsInner>}
     * @memberof OrderListOtoResponse
     */
    orderReports?: Array<OrderListOtoResponseOrderReportsInner>;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListOtocoResponseOrderReportsInner
 */
interface OrderListOtocoResponseOrderReportsInner {
    /**
     *
     * @type {string}
     * @memberof OrderListOtocoResponseOrderReportsInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListOtocoResponseOrderReportsInner
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof OrderListOtocoResponseOrderReportsInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListOtocoResponseOrderReportsInner
     */
    clientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListOtocoResponseOrderReportsInner
     */
    transactTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListOtocoResponseOrderReportsInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOtocoResponseOrderReportsInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOtocoResponseOrderReportsInner
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOtocoResponseOrderReportsInner
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOtocoResponseOrderReportsInner
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOtocoResponseOrderReportsInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOtocoResponseOrderReportsInner
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOtocoResponseOrderReportsInner
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOtocoResponseOrderReportsInner
     */
    side?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListOtocoResponseOrderReportsInner
     */
    workingTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListOtocoResponseOrderReportsInner
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOtocoResponseOrderReportsInner
     */
    stopPrice?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListOtocoResponseOrdersInner
 */
interface OrderListOtocoResponseOrdersInner {
    /**
     *
     * @type {string}
     * @memberof OrderListOtocoResponseOrdersInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListOtocoResponseOrdersInner
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListOtocoResponseOrdersInner
     */
    clientOrderId?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderListOtocoResponse
 */
interface OrderListOtocoResponse {
    /**
     *
     * @type {number}
     * @memberof OrderListOtocoResponse
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListOtocoResponse
     */
    contingencyType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOtocoResponse
     */
    listStatusType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOtocoResponse
     */
    listOrderStatus?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListOtocoResponse
     */
    listClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListOtocoResponse
     */
    transactionTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListOtocoResponse
     */
    symbol?: string;
    /**
     *
     * @type {Array<OrderListOtocoResponseOrdersInner>}
     * @memberof OrderListOtocoResponse
     */
    orders?: Array<OrderListOtocoResponseOrdersInner>;
    /**
     *
     * @type {Array<OrderListOtocoResponseOrderReportsInner>}
     * @memberof OrderListOtocoResponse
     */
    orderReports?: Array<OrderListOtocoResponseOrderReportsInner>;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderOcoResponseOrderReportsInner
 */
interface OrderOcoResponseOrderReportsInner {
    /**
     *
     * @type {string}
     * @memberof OrderOcoResponseOrderReportsInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderOcoResponseOrderReportsInner
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof OrderOcoResponseOrderReportsInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderOcoResponseOrderReportsInner
     */
    clientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderOcoResponseOrderReportsInner
     */
    transactTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderOcoResponseOrderReportsInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof OrderOcoResponseOrderReportsInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderOcoResponseOrderReportsInner
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderOcoResponseOrderReportsInner
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderOcoResponseOrderReportsInner
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderOcoResponseOrderReportsInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof OrderOcoResponseOrderReportsInner
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof OrderOcoResponseOrderReportsInner
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof OrderOcoResponseOrderReportsInner
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof OrderOcoResponseOrderReportsInner
     */
    stopPrice?: string;
    /**
     *
     * @type {number}
     * @memberof OrderOcoResponseOrderReportsInner
     */
    workingTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderOcoResponseOrderReportsInner
     */
    selfTradePreventionMode?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderOcoResponseOrdersInner
 */
interface OrderOcoResponseOrdersInner {
    /**
     *
     * @type {string}
     * @memberof OrderOcoResponseOrdersInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderOcoResponseOrdersInner
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderOcoResponseOrdersInner
     */
    clientOrderId?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderOcoResponse
 */
interface OrderOcoResponse {
    /**
     *
     * @type {number}
     * @memberof OrderOcoResponse
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderOcoResponse
     */
    contingencyType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderOcoResponse
     */
    listStatusType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderOcoResponse
     */
    listOrderStatus?: string;
    /**
     *
     * @type {string}
     * @memberof OrderOcoResponse
     */
    listClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderOcoResponse
     */
    transactionTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderOcoResponse
     */
    symbol?: string;
    /**
     *
     * @type {Array<OrderOcoResponseOrdersInner>}
     * @memberof OrderOcoResponse
     */
    orders?: Array<OrderOcoResponseOrdersInner>;
    /**
     *
     * @type {Array<OrderOcoResponseOrderReportsInner>}
     * @memberof OrderOcoResponse
     */
    orderReports?: Array<OrderOcoResponseOrderReportsInner>;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderTestResponseDiscount
 */
interface OrderTestResponseDiscount {
    /**
     *
     * @type {boolean}
     * @memberof OrderTestResponseDiscount
     */
    enabledForAccount?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof OrderTestResponseDiscount
     */
    enabledForSymbol?: boolean;
    /**
     *
     * @type {string}
     * @memberof OrderTestResponseDiscount
     */
    discountAsset?: string;
    /**
     *
     * @type {string}
     * @memberof OrderTestResponseDiscount
     */
    discount?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderTestResponseStandardCommissionForOrder
 */
interface OrderTestResponseStandardCommissionForOrder {
    /**
     *
     * @type {string}
     * @memberof OrderTestResponseStandardCommissionForOrder
     */
    maker?: string;
    /**
     *
     * @type {string}
     * @memberof OrderTestResponseStandardCommissionForOrder
     */
    taker?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderTestResponse
 */
interface OrderTestResponse$1 {
    /**
     *
     * @type {OrderTestResponseStandardCommissionForOrder}
     * @memberof OrderTestResponse
     */
    standardCommissionForOrder?: OrderTestResponseStandardCommissionForOrder;
    /**
     *
     * @type {OrderTestResponseStandardCommissionForOrder}
     * @memberof OrderTestResponse
     */
    taxCommissionForOrder?: OrderTestResponseStandardCommissionForOrder;
    /**
     *
     * @type {OrderTestResponseDiscount}
     * @memberof OrderTestResponse
     */
    discount?: OrderTestResponseDiscount;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface RateLimitOrderResponseInner
 */
interface RateLimitOrderResponseInner {
    /**
     *
     * @type {string}
     * @memberof RateLimitOrderResponseInner
     */
    rateLimitType?: string;
    /**
     *
     * @type {string}
     * @memberof RateLimitOrderResponseInner
     */
    interval?: string;
    /**
     *
     * @type {number}
     * @memberof RateLimitOrderResponseInner
     */
    intervalNum?: number;
    /**
     *
     * @type {number}
     * @memberof RateLimitOrderResponseInner
     */
    limit?: number;
    /**
     *
     * @type {number}
     * @memberof RateLimitOrderResponseInner
     */
    count?: number;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface RateLimitOrderResponse
 */
interface RateLimitOrderResponse extends Array<RateLimitOrderResponseInner> {
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface SorOrderResponseFillsInner
 */
interface SorOrderResponseFillsInner {
    /**
     *
     * @type {string}
     * @memberof SorOrderResponseFillsInner
     */
    matchType?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderResponseFillsInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderResponseFillsInner
     */
    qty?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderResponseFillsInner
     */
    commission?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderResponseFillsInner
     */
    commissionAsset?: string;
    /**
     *
     * @type {number}
     * @memberof SorOrderResponseFillsInner
     */
    tradeId?: number;
    /**
     *
     * @type {number}
     * @memberof SorOrderResponseFillsInner
     */
    allocId?: number;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface SorOrderResponse
 */
interface SorOrderResponse {
    /**
     *
     * @type {string}
     * @memberof SorOrderResponse
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof SorOrderResponse
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof SorOrderResponse
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof SorOrderResponse
     */
    clientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof SorOrderResponse
     */
    transactTime?: number;
    /**
     *
     * @type {string}
     * @memberof SorOrderResponse
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderResponse
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderResponse
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderResponse
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderResponse
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderResponse
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderResponse
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderResponse
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderResponse
     */
    side?: string;
    /**
     *
     * @type {number}
     * @memberof SorOrderResponse
     */
    workingTime?: number;
    /**
     *
     * @type {Array<SorOrderResponseFillsInner>}
     * @memberof SorOrderResponse
     */
    fills?: Array<SorOrderResponseFillsInner>;
    /**
     *
     * @type {string}
     * @memberof SorOrderResponse
     */
    workingFloor?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderResponse
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {boolean}
     * @memberof SorOrderResponse
     */
    usedSor?: boolean;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface SorOrderTestResponse
 */
interface SorOrderTestResponse$1 {
    /**
     *
     * @type {OrderTestResponseStandardCommissionForOrder}
     * @memberof SorOrderTestResponse
     */
    standardCommissionForOrder?: OrderTestResponseStandardCommissionForOrder;
    /**
     *
     * @type {OrderTestResponseStandardCommissionForOrder}
     * @memberof SorOrderTestResponse
     */
    taxCommissionForOrder?: OrderTestResponseStandardCommissionForOrder;
    /**
     *
     * @type {OrderTestResponseDiscount}
     * @memberof SorOrderTestResponse
     */
    discount?: OrderTestResponseDiscount;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface Ticker24hrResponse1
 */
interface Ticker24hrResponse1$1 {
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1
     */
    openPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1
     */
    highPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1
     */
    lowPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1
     */
    lastPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1
     */
    volume?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1
     */
    quoteVolume?: string;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrResponse1
     */
    openTime?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrResponse1
     */
    closeTime?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrResponse1
     */
    firstId?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrResponse1
     */
    lastId?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrResponse1
     */
    count?: number;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface Ticker24hrResponse2Inner
 */
interface Ticker24hrResponse2Inner {
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2Inner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2Inner
     */
    openPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2Inner
     */
    highPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2Inner
     */
    lowPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2Inner
     */
    lastPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2Inner
     */
    volume?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2Inner
     */
    quoteVolume?: string;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrResponse2Inner
     */
    openTime?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrResponse2Inner
     */
    closeTime?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrResponse2Inner
     */
    firstId?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrResponse2Inner
     */
    lastId?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrResponse2Inner
     */
    count?: number;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface Ticker24hrResponse2
 */
interface Ticker24hrResponse2$1 extends Array<Ticker24hrResponse2Inner> {
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 * @type Ticker24hrResponse
 * @export
 */
type Ticker24hrResponse$1 = Ticker24hrResponse1$1 | Ticker24hrResponse2$1;

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerBookTickerResponse1
 */
interface TickerBookTickerResponse1 {
    /**
     *
     * @type {string}
     * @memberof TickerBookTickerResponse1
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof TickerBookTickerResponse1
     */
    bidPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerBookTickerResponse1
     */
    bidQty?: string;
    /**
     *
     * @type {string}
     * @memberof TickerBookTickerResponse1
     */
    askPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerBookTickerResponse1
     */
    askQty?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerBookTickerResponse2Inner
 */
interface TickerBookTickerResponse2Inner {
    /**
     *
     * @type {string}
     * @memberof TickerBookTickerResponse2Inner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof TickerBookTickerResponse2Inner
     */
    bidPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerBookTickerResponse2Inner
     */
    bidQty?: string;
    /**
     *
     * @type {string}
     * @memberof TickerBookTickerResponse2Inner
     */
    askPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerBookTickerResponse2Inner
     */
    askQty?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface TickerBookTickerResponse2
 */
interface TickerBookTickerResponse2 extends Array<TickerBookTickerResponse2Inner> {
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 * @type TickerBookTickerResponse
 * @export
 */
type TickerBookTickerResponse = TickerBookTickerResponse1 | TickerBookTickerResponse2;

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerPriceResponse1
 */
interface TickerPriceResponse1$1 {
    /**
     *
     * @type {string}
     * @memberof TickerPriceResponse1
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof TickerPriceResponse1
     */
    price?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerPriceResponse2Inner
 */
interface TickerPriceResponse2Inner {
    /**
     *
     * @type {string}
     * @memberof TickerPriceResponse2Inner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof TickerPriceResponse2Inner
     */
    price?: string;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface TickerPriceResponse2
 */
interface TickerPriceResponse2$1 extends Array<TickerPriceResponse2Inner> {
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 * @type TickerPriceResponse
 * @export
 */
type TickerPriceResponse$1 = TickerPriceResponse1$1 | TickerPriceResponse2$1;

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerResponse1
 */
interface TickerResponse1$1 {
    /**
     *
     * @type {string}
     * @memberof TickerResponse1
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse1
     */
    openPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse1
     */
    highPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse1
     */
    lowPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse1
     */
    lastPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse1
     */
    volume?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse1
     */
    quoteVolume?: string;
    /**
     *
     * @type {number}
     * @memberof TickerResponse1
     */
    openTime?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse1
     */
    closeTime?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse1
     */
    firstId?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse1
     */
    lastId?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse1
     */
    count?: number;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerResponse2Inner
 */
interface TickerResponse2Inner {
    /**
     *
     * @type {string}
     * @memberof TickerResponse2Inner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse2Inner
     */
    openPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse2Inner
     */
    highPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse2Inner
     */
    lowPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse2Inner
     */
    lastPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse2Inner
     */
    volume?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse2Inner
     */
    quoteVolume?: string;
    /**
     *
     * @type {number}
     * @memberof TickerResponse2Inner
     */
    openTime?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse2Inner
     */
    closeTime?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse2Inner
     */
    firstId?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse2Inner
     */
    lastId?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse2Inner
     */
    count?: number;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface TickerResponse2
 */
interface TickerResponse2$1 extends Array<TickerResponse2Inner> {
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 * @type TickerResponse
 * @export
 */
type TickerResponse$2 = TickerResponse1$1 | TickerResponse2$1;

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerTradingDayResponse1
 */
interface TickerTradingDayResponse1 {
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponse1
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponse1
     */
    openPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponse1
     */
    highPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponse1
     */
    lowPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponse1
     */
    lastPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponse1
     */
    volume?: string;
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponse1
     */
    quoteVolume?: string;
    /**
     *
     * @type {number}
     * @memberof TickerTradingDayResponse1
     */
    openTime?: number;
    /**
     *
     * @type {number}
     * @memberof TickerTradingDayResponse1
     */
    closeTime?: number;
    /**
     *
     * @type {number}
     * @memberof TickerTradingDayResponse1
     */
    firstId?: number;
    /**
     *
     * @type {number}
     * @memberof TickerTradingDayResponse1
     */
    lastId?: number;
    /**
     *
     * @type {number}
     * @memberof TickerTradingDayResponse1
     */
    count?: number;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerTradingDayResponse2Inner
 */
interface TickerTradingDayResponse2Inner {
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponse2Inner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponse2Inner
     */
    openPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponse2Inner
     */
    highPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponse2Inner
     */
    lowPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponse2Inner
     */
    lastPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponse2Inner
     */
    volume?: string;
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponse2Inner
     */
    quoteVolume?: string;
    /**
     *
     * @type {number}
     * @memberof TickerTradingDayResponse2Inner
     */
    openTime?: number;
    /**
     *
     * @type {number}
     * @memberof TickerTradingDayResponse2Inner
     */
    closeTime?: number;
    /**
     *
     * @type {number}
     * @memberof TickerTradingDayResponse2Inner
     */
    firstId?: number;
    /**
     *
     * @type {number}
     * @memberof TickerTradingDayResponse2Inner
     */
    lastId?: number;
    /**
     *
     * @type {number}
     * @memberof TickerTradingDayResponse2Inner
     */
    count?: number;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface TickerTradingDayResponse2
 */
interface TickerTradingDayResponse2 extends Array<TickerTradingDayResponse2Inner> {
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 * @type TickerTradingDayResponse
 * @export
 */
type TickerTradingDayResponse$1 = TickerTradingDayResponse1 | TickerTradingDayResponse2;

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TimeResponse
 */
interface TimeResponse$1 {
    /**
     *
     * @type {number}
     * @memberof TimeResponse
     */
    serverTime?: number;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface UiKlinesItem
 */
interface UiKlinesItem$1 extends Array<KlinesItemInner$1> {
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface UiKlinesResponse
 */
interface UiKlinesResponse$1 extends Array<UiKlinesItem$1> {
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 * AccountApi - interface
 * @interface AccountApi
 */
interface AccountApiInterface$1 {
    /**
     * Get current account commission rates.
     * Weight: 20
     *
     * @summary Query Commission Rates
     * @param {AccountCommissionRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    accountCommission(requestParameters: AccountCommissionRequest$1): Promise<RestApiResponse<AccountCommissionResponse$1>>;
    /**
     * Retrieves all order lists based on provided optional parameters.
     *
     * Note that the time between `startTime` and `endTime` can't be longer than 24 hours.
     * Weight: 20
     *
     * @summary Query all Order lists
     * @param {AllOrderListRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    allOrderList(requestParameters?: AllOrderListRequest): Promise<RestApiResponse<AllOrderListResponse>>;
    /**
     * Get all account orders; active, canceled, or filled.
     * Weight: 20
     *
     * @summary All orders
     * @param {AllOrdersRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    allOrders(requestParameters: AllOrdersRequest$1): Promise<RestApiResponse<AllOrdersResponse$1>>;
    /**
     * Get current account information.
     * Weight: 20
     *
     * @summary Account information
     * @param {GetAccountRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    getAccount(requestParameters?: GetAccountRequest): Promise<RestApiResponse<GetAccountResponse>>;
    /**
     * Get all open orders on a symbol. **Careful** when accessing this with no symbol.
     * Weight: 6 for a single symbol; **80** when the symbol parameter is omitted
     *
     * @summary Current open orders
     * @param {GetOpenOrdersRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    getOpenOrders(requestParameters?: GetOpenOrdersRequest): Promise<RestApiResponse<GetOpenOrdersResponse>>;
    /**
     * Check an order's status.
     * Weight: 4
     *
     * @summary Query order
     * @param {GetOrderRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    getOrder(requestParameters: GetOrderRequest): Promise<RestApiResponse<GetOrderResponse>>;
    /**
     * Retrieves a specific order list based on provided optional parameters.
     * Weight: 4
     *
     * @summary Query Order list
     * @param {GetOrderListRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    getOrderList(requestParameters?: GetOrderListRequest): Promise<RestApiResponse<GetOrderListResponse>>;
    /**
     * Retrieves allocations resulting from SOR order placement.
     * Weight: 20
     *
     * @summary Query Allocations
     * @param {MyAllocationsRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    myAllocations(requestParameters: MyAllocationsRequest$1): Promise<RestApiResponse<MyAllocationsResponse$1>>;
    /**
     * Displays the list of orders that were expired due to STP.
     *
     * These are the combinations supported:
     *
     * `symbol` + `preventedMatchId`
     * `symbol` + `orderId`
     * `symbol` + `orderId` + `fromPreventedMatchId` (`limit` will default to 500)
     * `symbol` + `orderId` + `fromPreventedMatchId` + `limit`
     * Weight: Case                            | Weight
     * ----                            | -----
     * If `symbol` is invalid          | 2
     * Querying by `preventedMatchId`  | 2
     * Querying by `orderId`           | 20
     *
     * @summary Query Prevented Matches
     * @param {MyPreventedMatchesRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    myPreventedMatches(requestParameters: MyPreventedMatchesRequest$1): Promise<RestApiResponse<MyPreventedMatchesResponse$1>>;
    /**
     * Get trades for a specific account and symbol.
     * Weight: Condition| Weight|
     * ---| ---
     * |Without orderId|20|
     * |With orderId|5|
     *
     * @summary Account trade list
     * @param {MyTradesRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    myTrades(requestParameters: MyTradesRequest$1): Promise<RestApiResponse<MyTradesResponse$1>>;
    /**
     *
     * Weight: 6
     *
     * @summary Query Open Order lists
     * @param {OpenOrderListRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    openOrderList(requestParameters?: OpenOrderListRequest): Promise<RestApiResponse<OpenOrderListResponse>>;
    /**
     * Queries all amendments of a single order.
     * Weight: 4
     *
     * @summary Query Order Amendments
     * @param {OrderAmendmentsRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    orderAmendments(requestParameters: OrderAmendmentsRequest$1): Promise<RestApiResponse<OrderAmendmentsResponse$1>>;
    /**
     * Displays the user's unfilled order count for all intervals.
     * Weight: 40
     *
     * @summary Query Unfilled Order Count
     * @param {RateLimitOrderRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApiInterface
     */
    rateLimitOrder(requestParameters?: RateLimitOrderRequest): Promise<RestApiResponse<RateLimitOrderResponse>>;
}
/**
 * Request parameters for accountCommission operation in AccountApi.
 * @interface AccountCommissionRequest
 */
interface AccountCommissionRequest$1 {
    /**
     *
     * @type {string}
     * @memberof AccountApiAccountCommission
     */
    readonly symbol: string;
}
/**
 * Request parameters for allOrderList operation in AccountApi.
 * @interface AllOrderListRequest
 */
interface AllOrderListRequest {
    /**
     * ID to get aggregate trades from INCLUSIVE.
     * @type {number}
     * @memberof AccountApiAllOrderList
     */
    readonly fromId?: number;
    /**
     * Timestamp in ms to get aggregate trades from INCLUSIVE.
     * @type {number}
     * @memberof AccountApiAllOrderList
     */
    readonly startTime?: number;
    /**
     * Timestamp in ms to get aggregate trades until INCLUSIVE.
     * @type {number}
     * @memberof AccountApiAllOrderList
     */
    readonly endTime?: number;
    /**
     * Default: 500; Maximum: 1000.
     * @type {number}
     * @memberof AccountApiAllOrderList
     */
    readonly limit?: number;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiAllOrderList
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for allOrders operation in AccountApi.
 * @interface AllOrdersRequest
 */
interface AllOrdersRequest$1 {
    /**
     *
     * @type {string}
     * @memberof AccountApiAllOrders
     */
    readonly symbol: string;
    /**
     *
     * @type {number}
     * @memberof AccountApiAllOrders
     */
    readonly orderId?: number;
    /**
     * Timestamp in ms to get aggregate trades from INCLUSIVE.
     * @type {number}
     * @memberof AccountApiAllOrders
     */
    readonly startTime?: number;
    /**
     * Timestamp in ms to get aggregate trades until INCLUSIVE.
     * @type {number}
     * @memberof AccountApiAllOrders
     */
    readonly endTime?: number;
    /**
     * Default: 500; Maximum: 1000.
     * @type {number}
     * @memberof AccountApiAllOrders
     */
    readonly limit?: number;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiAllOrders
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for getAccount operation in AccountApi.
 * @interface GetAccountRequest
 */
interface GetAccountRequest {
    /**
     * When set to `true`, emits only the non-zero balances of an account. <br>Default value: `false`
     * @type {boolean}
     * @memberof AccountApiGetAccount
     */
    readonly omitZeroBalances?: boolean;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiGetAccount
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for getOpenOrders operation in AccountApi.
 * @interface GetOpenOrdersRequest
 */
interface GetOpenOrdersRequest {
    /**
     * Symbol to query
     * @type {string}
     * @memberof AccountApiGetOpenOrders
     */
    readonly symbol?: string;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiGetOpenOrders
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for getOrder operation in AccountApi.
 * @interface GetOrderRequest
 */
interface GetOrderRequest {
    /**
     *
     * @type {string}
     * @memberof AccountApiGetOrder
     */
    readonly symbol: string;
    /**
     *
     * @type {number}
     * @memberof AccountApiGetOrder
     */
    readonly orderId?: number;
    /**
     *
     * @type {string}
     * @memberof AccountApiGetOrder
     */
    readonly origClientOrderId?: string;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiGetOrder
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for getOrderList operation in AccountApi.
 * @interface GetOrderListRequest
 */
interface GetOrderListRequest {
    /**
     * Either `orderListId` or `listClientOrderId` must be provided
     * @type {number}
     * @memberof AccountApiGetOrderList
     */
    readonly orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof AccountApiGetOrderList
     */
    readonly origClientOrderId?: string;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiGetOrderList
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for myAllocations operation in AccountApi.
 * @interface MyAllocationsRequest
 */
interface MyAllocationsRequest$1 {
    /**
     *
     * @type {string}
     * @memberof AccountApiMyAllocations
     */
    readonly symbol: string;
    /**
     * Timestamp in ms to get aggregate trades from INCLUSIVE.
     * @type {number}
     * @memberof AccountApiMyAllocations
     */
    readonly startTime?: number;
    /**
     * Timestamp in ms to get aggregate trades until INCLUSIVE.
     * @type {number}
     * @memberof AccountApiMyAllocations
     */
    readonly endTime?: number;
    /**
     *
     * @type {number}
     * @memberof AccountApiMyAllocations
     */
    readonly fromAllocationId?: number;
    /**
     * Default: 500; Maximum: 1000.
     * @type {number}
     * @memberof AccountApiMyAllocations
     */
    readonly limit?: number;
    /**
     *
     * @type {number}
     * @memberof AccountApiMyAllocations
     */
    readonly orderId?: number;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiMyAllocations
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for myPreventedMatches operation in AccountApi.
 * @interface MyPreventedMatchesRequest
 */
interface MyPreventedMatchesRequest$1 {
    /**
     *
     * @type {string}
     * @memberof AccountApiMyPreventedMatches
     */
    readonly symbol: string;
    /**
     *
     * @type {number}
     * @memberof AccountApiMyPreventedMatches
     */
    readonly preventedMatchId?: number;
    /**
     *
     * @type {number}
     * @memberof AccountApiMyPreventedMatches
     */
    readonly orderId?: number;
    /**
     *
     * @type {number}
     * @memberof AccountApiMyPreventedMatches
     */
    readonly fromPreventedMatchId?: number;
    /**
     * Default: 500; Maximum: 1000.
     * @type {number}
     * @memberof AccountApiMyPreventedMatches
     */
    readonly limit?: number;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiMyPreventedMatches
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for myTrades operation in AccountApi.
 * @interface MyTradesRequest
 */
interface MyTradesRequest$1 {
    /**
     *
     * @type {string}
     * @memberof AccountApiMyTrades
     */
    readonly symbol: string;
    /**
     *
     * @type {number}
     * @memberof AccountApiMyTrades
     */
    readonly orderId?: number;
    /**
     * Timestamp in ms to get aggregate trades from INCLUSIVE.
     * @type {number}
     * @memberof AccountApiMyTrades
     */
    readonly startTime?: number;
    /**
     * Timestamp in ms to get aggregate trades until INCLUSIVE.
     * @type {number}
     * @memberof AccountApiMyTrades
     */
    readonly endTime?: number;
    /**
     * ID to get aggregate trades from INCLUSIVE.
     * @type {number}
     * @memberof AccountApiMyTrades
     */
    readonly fromId?: number;
    /**
     * Default: 500; Maximum: 1000.
     * @type {number}
     * @memberof AccountApiMyTrades
     */
    readonly limit?: number;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiMyTrades
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for openOrderList operation in AccountApi.
 * @interface OpenOrderListRequest
 */
interface OpenOrderListRequest {
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiOpenOrderList
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for orderAmendments operation in AccountApi.
 * @interface OrderAmendmentsRequest
 */
interface OrderAmendmentsRequest$1 {
    /**
     *
     * @type {string}
     * @memberof AccountApiOrderAmendments
     */
    readonly symbol: string;
    /**
     *
     * @type {number}
     * @memberof AccountApiOrderAmendments
     */
    readonly orderId: number;
    /**
     *
     * @type {number}
     * @memberof AccountApiOrderAmendments
     */
    readonly fromExecutionId?: number;
    /**
     * Default:500; Maximum: 1000
     * @type {number}
     * @memberof AccountApiOrderAmendments
     */
    readonly limit?: number;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiOrderAmendments
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for rateLimitOrder operation in AccountApi.
 * @interface RateLimitOrderRequest
 */
interface RateLimitOrderRequest {
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiRateLimitOrder
     */
    readonly recvWindow?: number;
}
/**
 * AccountApi - object-oriented interface
 * @class AccountApi
 */
declare class AccountApi$1 implements AccountApiInterface$1 {
    private readonly configuration;
    private localVarAxiosParamCreator;
    constructor(configuration: ConfigurationRestAPI);
    /**
     * Get current account commission rates.
     * Weight: 20
     *
     * @summary Query Commission Rates
     * @param {AccountCommissionRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AccountCommissionResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-commission-rates-user_data Binance API Documentation}
     */
    accountCommission(requestParameters: AccountCommissionRequest$1): Promise<RestApiResponse<AccountCommissionResponse$1>>;
    /**
     * Retrieves all order lists based on provided optional parameters.
     *
     * Note that the time between `startTime` and `endTime` can't be longer than 24 hours.
     * Weight: 20
     *
     * @summary Query all Order lists
     * @param {AllOrderListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AllOrderListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-all-order-lists-user_data Binance API Documentation}
     */
    allOrderList(requestParameters?: AllOrderListRequest): Promise<RestApiResponse<AllOrderListResponse>>;
    /**
     * Get all account orders; active, canceled, or filled.
     * Weight: 20
     *
     * @summary All orders
     * @param {AllOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AllOrdersResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#all-orders-user_data Binance API Documentation}
     */
    allOrders(requestParameters: AllOrdersRequest$1): Promise<RestApiResponse<AllOrdersResponse$1>>;
    /**
     * Get current account information.
     * Weight: 20
     *
     * @summary Account information
     * @param {GetAccountRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetAccountResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#account-information-user_data Binance API Documentation}
     */
    getAccount(requestParameters?: GetAccountRequest): Promise<RestApiResponse<GetAccountResponse>>;
    /**
     * Get all open orders on a symbol. **Careful** when accessing this with no symbol.
     * Weight: 6 for a single symbol; **80** when the symbol parameter is omitted
     *
     * @summary Current open orders
     * @param {GetOpenOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetOpenOrdersResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#current-open-orders-user_data Binance API Documentation}
     */
    getOpenOrders(requestParameters?: GetOpenOrdersRequest): Promise<RestApiResponse<GetOpenOrdersResponse>>;
    /**
     * Check an order's status.
     * Weight: 4
     *
     * @summary Query order
     * @param {GetOrderRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetOrderResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-order-user_data Binance API Documentation}
     */
    getOrder(requestParameters: GetOrderRequest): Promise<RestApiResponse<GetOrderResponse>>;
    /**
     * Retrieves a specific order list based on provided optional parameters.
     * Weight: 4
     *
     * @summary Query Order list
     * @param {GetOrderListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetOrderListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-order-list-user_data Binance API Documentation}
     */
    getOrderList(requestParameters?: GetOrderListRequest): Promise<RestApiResponse<GetOrderListResponse>>;
    /**
     * Retrieves allocations resulting from SOR order placement.
     * Weight: 20
     *
     * @summary Query Allocations
     * @param {MyAllocationsRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<MyAllocationsResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-allocations-user_data Binance API Documentation}
     */
    myAllocations(requestParameters: MyAllocationsRequest$1): Promise<RestApiResponse<MyAllocationsResponse$1>>;
    /**
     * Displays the list of orders that were expired due to STP.
     *
     * These are the combinations supported:
     *
     * `symbol` + `preventedMatchId`
     * `symbol` + `orderId`
     * `symbol` + `orderId` + `fromPreventedMatchId` (`limit` will default to 500)
     * `symbol` + `orderId` + `fromPreventedMatchId` + `limit`
     * Weight: Case                            | Weight
     * ----                            | -----
     * If `symbol` is invalid          | 2
     * Querying by `preventedMatchId`  | 2
     * Querying by `orderId`           | 20
     *
     * @summary Query Prevented Matches
     * @param {MyPreventedMatchesRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<MyPreventedMatchesResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-prevented-matches-user_data Binance API Documentation}
     */
    myPreventedMatches(requestParameters: MyPreventedMatchesRequest$1): Promise<RestApiResponse<MyPreventedMatchesResponse$1>>;
    /**
     * Get trades for a specific account and symbol.
     * Weight: Condition| Weight|
     * ---| ---
     * |Without orderId|20|
     * |With orderId|5|
     *
     * @summary Account trade list
     * @param {MyTradesRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<MyTradesResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#account-trade-list-user_data Binance API Documentation}
     */
    myTrades(requestParameters: MyTradesRequest$1): Promise<RestApiResponse<MyTradesResponse$1>>;
    /**
     *
     * Weight: 6
     *
     * @summary Query Open Order lists
     * @param {OpenOrderListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OpenOrderListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-open-order-lists-user_data Binance API Documentation}
     */
    openOrderList(requestParameters?: OpenOrderListRequest): Promise<RestApiResponse<OpenOrderListResponse>>;
    /**
     * Queries all amendments of a single order.
     * Weight: 4
     *
     * @summary Query Order Amendments
     * @param {OrderAmendmentsRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OrderAmendmentsResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-order-amendments-user_data Binance API Documentation}
     */
    orderAmendments(requestParameters: OrderAmendmentsRequest$1): Promise<RestApiResponse<OrderAmendmentsResponse$1>>;
    /**
     * Displays the user's unfilled order count for all intervals.
     * Weight: 40
     *
     * @summary Query Unfilled Order Count
     * @param {RateLimitOrderRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<RateLimitOrderResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-unfilled-order-count-user_data Binance API Documentation}
     */
    rateLimitOrder(requestParameters?: RateLimitOrderRequest): Promise<RestApiResponse<RateLimitOrderResponse>>;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 * GeneralApi - interface
 * @interface GeneralApi
 */
interface GeneralApiInterface$1 {
    /**
     * Current exchange trading rules and symbol information
     * Weight: 20
     *
     * @summary Exchange information
     * @param {ExchangeInfoRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof GeneralApiInterface
     */
    exchangeInfo(requestParameters?: ExchangeInfoRequest$1): Promise<RestApiResponse<ExchangeInfoResponse$1>>;
    /**
     * Test connectivity to the Rest API.
     * Weight: 1
     *
     * @summary Test connectivity
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof GeneralApiInterface
     */
    ping(): Promise<RestApiResponse<void>>;
    /**
     * Test connectivity to the Rest API and get the current server time.
     * Weight: 1
     *
     * @summary Check server time
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof GeneralApiInterface
     */
    time(): Promise<RestApiResponse<TimeResponse$1>>;
}
/**
 * Request parameters for exchangeInfo operation in GeneralApi.
 * @interface ExchangeInfoRequest
 */
interface ExchangeInfoRequest$1 {
    /**
     * Symbol to query
     * @type {string}
     * @memberof GeneralApiExchangeInfo
     */
    readonly symbol?: string;
    /**
     * List of symbols to query
     * @type {Array<string>}
     * @memberof GeneralApiExchangeInfo
     */
    readonly symbols?: Array<string>;
    /**
     * List of permissions to query
     * @type {Array<string>}
     * @memberof GeneralApiExchangeInfo
     */
    readonly permissions?: Array<string>;
    /**
     * Controls whether the content of the `permissionSets` field is populated or not. Defaults to `true`
     * @type {boolean}
     * @memberof GeneralApiExchangeInfo
     */
    readonly showPermissionSets?: boolean;
    /**
     *
     * @type {'TRADING' | 'END_OF_DAY' | 'HALT' | 'BREAK' | 'NON_REPRESENTABLE'}
     * @memberof GeneralApiExchangeInfo
     */
    readonly symbolStatus?: ExchangeInfoSymbolStatusEnum$1;
}
/**
 * GeneralApi - object-oriented interface
 * @class GeneralApi
 */
declare class GeneralApi$1 implements GeneralApiInterface$1 {
    private readonly configuration;
    private localVarAxiosParamCreator;
    constructor(configuration: ConfigurationRestAPI);
    /**
     * Current exchange trading rules and symbol information
     * Weight: 20
     *
     * @summary Exchange information
     * @param {ExchangeInfoRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ExchangeInfoResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof GeneralApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-endpoints#exchange-information Binance API Documentation}
     */
    exchangeInfo(requestParameters?: ExchangeInfoRequest$1): Promise<RestApiResponse<ExchangeInfoResponse$1>>;
    /**
     * Test connectivity to the Rest API.
     * Weight: 1
     *
     * @summary Test connectivity
     * @returns {Promise<RestApiResponse<void>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof GeneralApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-endpoints#test-connectivity Binance API Documentation}
     */
    ping(): Promise<RestApiResponse<void>>;
    /**
     * Test connectivity to the Rest API and get the current server time.
     * Weight: 1
     *
     * @summary Check server time
     * @returns {Promise<RestApiResponse<TimeResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof GeneralApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-endpoints#check-server-time Binance API Documentation}
     */
    time(): Promise<RestApiResponse<TimeResponse$1>>;
}
declare enum ExchangeInfoSymbolStatusEnum$1 {
    TRADING = "TRADING",
    END_OF_DAY = "END_OF_DAY",
    HALT = "HALT",
    BREAK = "BREAK",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 * MarketApi - interface
 * @interface MarketApi
 */
interface MarketApiInterface$1 {
    /**
     * Get compressed, aggregate trades. Trades that fill at the time, from the same taker order, with the same price will have the quantity aggregated.
     * Weight: 4
     *
     * @summary Compressed/Aggregate trades list
     * @param {AggTradesRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApiInterface
     */
    aggTrades(requestParameters: AggTradesRequest): Promise<RestApiResponse<AggTradesResponse>>;
    /**
     * Current average price for a symbol.
     * Weight: 2
     *
     * @summary Current average price
     * @param {AvgPriceRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApiInterface
     */
    avgPrice(requestParameters: AvgPriceRequest$2): Promise<RestApiResponse<AvgPriceResponse$2>>;
    /**
     *
     * Weight: Adjusted based on the limit:
     *
     * |Limit|Request Weight
     * ------|-------
     * 1-100|  5
     * 101-500| 25
     * 501-1000| 50
     * 1001-5000| 250
     *
     * @summary Order book
     * @param {DepthRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApiInterface
     */
    depth(requestParameters: DepthRequest$1): Promise<RestApiResponse<DepthResponse$1>>;
    /**
     * Get recent trades.
     * Weight: 25
     *
     * @summary Recent trades list
     * @param {GetTradesRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApiInterface
     */
    getTrades(requestParameters: GetTradesRequest): Promise<RestApiResponse<GetTradesResponse>>;
    /**
     * Get older trades.
     * Weight: 25
     *
     * @summary Old trade lookup
     * @param {HistoricalTradesRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApiInterface
     */
    historicalTrades(requestParameters: HistoricalTradesRequest): Promise<RestApiResponse<HistoricalTradesResponse>>;
    /**
     * Kline/candlestick bars for a symbol.
     * Klines are uniquely identified by their open time.
     * Weight: 2
     *
     * @summary Kline/Candlestick data
     * @param {KlinesRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApiInterface
     */
    klines(requestParameters: KlinesRequest$1): Promise<RestApiResponse<KlinesResponse$1>>;
    /**
     *
     * Weight: 4 for each requested <tt>symbol</tt> regardless of <tt>windowSize</tt>. <br/><br/> The weight for this request will cap at 200 once the number of `symbols` in the request is more than 50.
     *
     * @summary Rolling window price change statistics
     * @param {TickerRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApiInterface
     */
    ticker(requestParameters?: TickerRequest$2): Promise<RestApiResponse<TickerResponse$2>>;
    /**
     * 24 hour rolling window price change statistics. **Careful** when accessing this with no symbol.
     * Weight: <table>
     * <thead>
     * <tr>
     * <th>Parameter</th>
     * <th>Symbols Provided</th>
     * <th>Weight</th>
     * </tr>
     * </thead>
     * <tbody>
     * <tr>
     * <td rowspan="2">symbol</td>
     * <td>1</td>
     * <td>2</td>
     * </tr>
     * <tr>
     * <td>symbol parameter is omitted</td>
     * <td>80</td>
     * </tr>
     * <tr>
     * <td rowspan="4">symbols</td>
     * <td>1-20</td>
     * <td>2</td>
     * </tr>
     * <tr>
     * <td>21-100</td>
     * <td>40</td>
     * </tr>
     * <tr>
     * <td>101 or more</td>
     * <td>80</td>
     * </tr>
     * <tr>
     * <td>symbols parameter is omitted</td>
     * <td>80</td>
     * </tr>
     * </tbody>
     * </table>
     *
     * @summary 24hr ticker price change statistics
     * @param {Ticker24hrRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApiInterface
     */
    ticker24hr(requestParameters?: Ticker24hrRequest$1): Promise<RestApiResponse<Ticker24hrResponse$1>>;
    /**
     * Best price/qty on the order book for a symbol or symbols.
     * Weight: <table>
     * <thead>
     * <tr>
     * <th>Parameter</th>
     * <th>Symbols Provided</th>
     * <th>Weight</th>
     * </tr>
     * </thead>
     * <tbody>
     * <tr>
     * <td rowspan="2">symbol</td>
     * <td>1</td>
     * <td>2</td>
     * </tr>
     * <tr>
     * <td>symbol parameter is omitted</td>
     * <td>4</td>
     * </tr>
     * <tr>
     * <td>symbols</td>
     * <td>Any</td>
     * <td>4</td>
     * </tr>
     * </tbody>
     * </table>
     *
     * @summary Symbol order book ticker
     * @param {TickerBookTickerRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApiInterface
     */
    tickerBookTicker(requestParameters?: TickerBookTickerRequest): Promise<RestApiResponse<TickerBookTickerResponse>>;
    /**
     * Latest price for a symbol or symbols.
     * Weight: <table>
     * <thead>
     * <tr>
     * <th>Parameter</th>
     * <th>Symbols Provided</th>
     * <th>Weight</th>
     * </tr>
     * </thead>
     * <tbody>
     * <tr>
     * <td rowspan="2">symbol</td>
     * <td>1</td>
     * <td>2</td>
     * </tr>
     * <tr>
     * <td>symbol parameter is omitted</td>
     * <td>4</td>
     * </tr>
     * <tr>
     * <td>symbols</td>
     * <td>Any</td>
     * <td>4</td>
     * </tr>
     * </tbody>
     * </table>
     *
     * @summary Symbol price ticker
     * @param {TickerPriceRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApiInterface
     */
    tickerPrice(requestParameters?: TickerPriceRequest$1): Promise<RestApiResponse<TickerPriceResponse$1>>;
    /**
     * Price change statistics for a trading day.
     * Weight: 4 for each requested <tt>symbol</tt>. <br/><br/> The weight for this request will cap at 200 once the number of `symbols` in the request is more than 50.
     *
     * @summary Trading Day Ticker
     * @param {TickerTradingDayRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApiInterface
     */
    tickerTradingDay(requestParameters?: TickerTradingDayRequest$1): Promise<RestApiResponse<TickerTradingDayResponse$1>>;
    /**
     * The request is similar to klines having the same parameters and response.
     *
     * `uiKlines` return modified kline data, optimized for presentation of candlestick charts.
     * Weight: 2
     *
     * @summary UIKlines
     * @param {UiKlinesRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApiInterface
     */
    uiKlines(requestParameters: UiKlinesRequest$1): Promise<RestApiResponse<UiKlinesResponse$1>>;
}
/**
 * Request parameters for aggTrades operation in MarketApi.
 * @interface AggTradesRequest
 */
interface AggTradesRequest {
    /**
     *
     * @type {string}
     * @memberof MarketApiAggTrades
     */
    readonly symbol: string;
    /**
     * ID to get aggregate trades from INCLUSIVE.
     * @type {number}
     * @memberof MarketApiAggTrades
     */
    readonly fromId?: number;
    /**
     * Timestamp in ms to get aggregate trades from INCLUSIVE.
     * @type {number}
     * @memberof MarketApiAggTrades
     */
    readonly startTime?: number;
    /**
     * Timestamp in ms to get aggregate trades until INCLUSIVE.
     * @type {number}
     * @memberof MarketApiAggTrades
     */
    readonly endTime?: number;
    /**
     * Default: 500; Maximum: 1000.
     * @type {number}
     * @memberof MarketApiAggTrades
     */
    readonly limit?: number;
}
/**
 * Request parameters for avgPrice operation in MarketApi.
 * @interface AvgPriceRequest
 */
interface AvgPriceRequest$2 {
    /**
     *
     * @type {string}
     * @memberof MarketApiAvgPrice
     */
    readonly symbol: string;
}
/**
 * Request parameters for depth operation in MarketApi.
 * @interface DepthRequest
 */
interface DepthRequest$1 {
    /**
     *
     * @type {string}
     * @memberof MarketApiDepth
     */
    readonly symbol: string;
    /**
     * Default: 500; Maximum: 1000.
     * @type {number}
     * @memberof MarketApiDepth
     */
    readonly limit?: number;
}
/**
 * Request parameters for getTrades operation in MarketApi.
 * @interface GetTradesRequest
 */
interface GetTradesRequest {
    /**
     *
     * @type {string}
     * @memberof MarketApiGetTrades
     */
    readonly symbol: string;
    /**
     * Default: 500; Maximum: 1000.
     * @type {number}
     * @memberof MarketApiGetTrades
     */
    readonly limit?: number;
}
/**
 * Request parameters for historicalTrades operation in MarketApi.
 * @interface HistoricalTradesRequest
 */
interface HistoricalTradesRequest {
    /**
     *
     * @type {string}
     * @memberof MarketApiHistoricalTrades
     */
    readonly symbol: string;
    /**
     * Default: 500; Maximum: 1000.
     * @type {number}
     * @memberof MarketApiHistoricalTrades
     */
    readonly limit?: number;
    /**
     * ID to get aggregate trades from INCLUSIVE.
     * @type {number}
     * @memberof MarketApiHistoricalTrades
     */
    readonly fromId?: number;
}
/**
 * Request parameters for klines operation in MarketApi.
 * @interface KlinesRequest
 */
interface KlinesRequest$1 {
    /**
     *
     * @type {string}
     * @memberof MarketApiKlines
     */
    readonly symbol: string;
    /**
     *
     * @type {'1s' | '1m' | '3m' | '5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '8h' | '12h' | '1d' | '3d' | '1w' | '1M'}
     * @memberof MarketApiKlines
     */
    readonly interval: KlinesIntervalEnum$1;
    /**
     * Timestamp in ms to get aggregate trades from INCLUSIVE.
     * @type {number}
     * @memberof MarketApiKlines
     */
    readonly startTime?: number;
    /**
     * Timestamp in ms to get aggregate trades until INCLUSIVE.
     * @type {number}
     * @memberof MarketApiKlines
     */
    readonly endTime?: number;
    /**
     * Default: 0 (UTC)
     * @type {string}
     * @memberof MarketApiKlines
     */
    readonly timeZone?: string;
    /**
     * Default: 500; Maximum: 1000.
     * @type {number}
     * @memberof MarketApiKlines
     */
    readonly limit?: number;
}
/**
 * Request parameters for ticker operation in MarketApi.
 * @interface TickerRequest
 */
interface TickerRequest$2 {
    /**
     * Symbol to query
     * @type {string}
     * @memberof MarketApiTicker
     */
    readonly symbol?: string;
    /**
     * List of symbols to query
     * @type {Array<string>}
     * @memberof MarketApiTicker
     */
    readonly symbols?: Array<string>;
    /**
     *
     * @type {'1m' | '2m' | '3m' | '4m' | '5m' | '6m' | '7m' | '8m' | '9m' | '10m' | '11m' | '12m' | '13m' | '14m' | '15m' | '16m' | '17m' | '18m' | '19m' | '20m' | '21m' | '22m' | '23m' | '24m' | '25m' | '26m' | '27m' | '28m' | '29m' | '30m' | '31m' | '32m' | '33m' | '34m' | '35m' | '36m' | '37m' | '38m' | '39m' | '40m' | '41m' | '42m' | '43m' | '44m' | '45m' | '46m' | '47m' | '48m' | '49m' | '50m' | '51m' | '52m' | '53m' | '54m' | '55m' | '56m' | '57m' | '58m' | '59m' | '1h' | '2h' | '3h' | '4h' | '5h' | '6h' | '7h' | '8h' | '9h' | '10h' | '11h' | '12h' | '13h' | '14h' | '15h' | '16h' | '17h' | '18h' | '19h' | '20h' | '21h' | '22h' | '23h' | '1d' | '2d' | '3d' | '4d' | '5d' | '6d'}
     * @memberof MarketApiTicker
     */
    readonly windowSize?: TickerWindowSizeEnum$1;
    /**
     *
     * @type {'FULL' | 'MINI'}
     * @memberof MarketApiTicker
     */
    readonly type?: TickerTypeEnum$1;
}
/**
 * Request parameters for ticker24hr operation in MarketApi.
 * @interface Ticker24hrRequest
 */
interface Ticker24hrRequest$1 {
    /**
     * Symbol to query
     * @type {string}
     * @memberof MarketApiTicker24hr
     */
    readonly symbol?: string;
    /**
     * List of symbols to query
     * @type {Array<string>}
     * @memberof MarketApiTicker24hr
     */
    readonly symbols?: Array<string>;
    /**
     *
     * @type {'FULL' | 'MINI'}
     * @memberof MarketApiTicker24hr
     */
    readonly type?: Ticker24hrTypeEnum$1;
}
/**
 * Request parameters for tickerBookTicker operation in MarketApi.
 * @interface TickerBookTickerRequest
 */
interface TickerBookTickerRequest {
    /**
     * Symbol to query
     * @type {string}
     * @memberof MarketApiTickerBookTicker
     */
    readonly symbol?: string;
    /**
     * List of symbols to query
     * @type {Array<string>}
     * @memberof MarketApiTickerBookTicker
     */
    readonly symbols?: Array<string>;
}
/**
 * Request parameters for tickerPrice operation in MarketApi.
 * @interface TickerPriceRequest
 */
interface TickerPriceRequest$1 {
    /**
     * Symbol to query
     * @type {string}
     * @memberof MarketApiTickerPrice
     */
    readonly symbol?: string;
    /**
     * List of symbols to query
     * @type {Array<string>}
     * @memberof MarketApiTickerPrice
     */
    readonly symbols?: Array<string>;
}
/**
 * Request parameters for tickerTradingDay operation in MarketApi.
 * @interface TickerTradingDayRequest
 */
interface TickerTradingDayRequest$1 {
    /**
     * Symbol to query
     * @type {string}
     * @memberof MarketApiTickerTradingDay
     */
    readonly symbol?: string;
    /**
     * List of symbols to query
     * @type {Array<string>}
     * @memberof MarketApiTickerTradingDay
     */
    readonly symbols?: Array<string>;
    /**
     * Default: 0 (UTC)
     * @type {string}
     * @memberof MarketApiTickerTradingDay
     */
    readonly timeZone?: string;
    /**
     *
     * @type {'FULL' | 'MINI'}
     * @memberof MarketApiTickerTradingDay
     */
    readonly type?: TickerTradingDayTypeEnum$1;
}
/**
 * Request parameters for uiKlines operation in MarketApi.
 * @interface UiKlinesRequest
 */
interface UiKlinesRequest$1 {
    /**
     *
     * @type {string}
     * @memberof MarketApiUiKlines
     */
    readonly symbol: string;
    /**
     *
     * @type {'1s' | '1m' | '3m' | '5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '8h' | '12h' | '1d' | '3d' | '1w' | '1M'}
     * @memberof MarketApiUiKlines
     */
    readonly interval: UiKlinesIntervalEnum$1;
    /**
     * Timestamp in ms to get aggregate trades from INCLUSIVE.
     * @type {number}
     * @memberof MarketApiUiKlines
     */
    readonly startTime?: number;
    /**
     * Timestamp in ms to get aggregate trades until INCLUSIVE.
     * @type {number}
     * @memberof MarketApiUiKlines
     */
    readonly endTime?: number;
    /**
     * Default: 0 (UTC)
     * @type {string}
     * @memberof MarketApiUiKlines
     */
    readonly timeZone?: string;
    /**
     * Default: 500; Maximum: 1000.
     * @type {number}
     * @memberof MarketApiUiKlines
     */
    readonly limit?: number;
}
/**
 * MarketApi - object-oriented interface
 * @class MarketApi
 */
declare class MarketApi$1 implements MarketApiInterface$1 {
    private readonly configuration;
    private localVarAxiosParamCreator;
    constructor(configuration: ConfigurationRestAPI);
    /**
     * Get compressed, aggregate trades. Trades that fill at the time, from the same taker order, with the same price will have the quantity aggregated.
     * Weight: 4
     *
     * @summary Compressed/Aggregate trades list
     * @param {AggTradesRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AggTradesResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#compressedaggregate-trades-list Binance API Documentation}
     */
    aggTrades(requestParameters: AggTradesRequest): Promise<RestApiResponse<AggTradesResponse>>;
    /**
     * Current average price for a symbol.
     * Weight: 2
     *
     * @summary Current average price
     * @param {AvgPriceRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AvgPriceResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#current-average-price Binance API Documentation}
     */
    avgPrice(requestParameters: AvgPriceRequest$2): Promise<RestApiResponse<AvgPriceResponse$2>>;
    /**
     *
     * Weight: Adjusted based on the limit:
     *
     * |Limit|Request Weight
     * ------|-------
     * 1-100|  5
     * 101-500| 25
     * 501-1000| 50
     * 1001-5000| 250
     *
     * @summary Order book
     * @param {DepthRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<DepthResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#order-book Binance API Documentation}
     */
    depth(requestParameters: DepthRequest$1): Promise<RestApiResponse<DepthResponse$1>>;
    /**
     * Get recent trades.
     * Weight: 25
     *
     * @summary Recent trades list
     * @param {GetTradesRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetTradesResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#recent-trades-list Binance API Documentation}
     */
    getTrades(requestParameters: GetTradesRequest): Promise<RestApiResponse<GetTradesResponse>>;
    /**
     * Get older trades.
     * Weight: 25
     *
     * @summary Old trade lookup
     * @param {HistoricalTradesRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<HistoricalTradesResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#old-trade-lookup Binance API Documentation}
     */
    historicalTrades(requestParameters: HistoricalTradesRequest): Promise<RestApiResponse<HistoricalTradesResponse>>;
    /**
     * Kline/candlestick bars for a symbol.
     * Klines are uniquely identified by their open time.
     * Weight: 2
     *
     * @summary Kline/Candlestick data
     * @param {KlinesRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<KlinesResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#klinecandlestick-data Binance API Documentation}
     */
    klines(requestParameters: KlinesRequest$1): Promise<RestApiResponse<KlinesResponse$1>>;
    /**
     *
     * Weight: 4 for each requested <tt>symbol</tt> regardless of <tt>windowSize</tt>. <br/><br/> The weight for this request will cap at 200 once the number of `symbols` in the request is more than 50.
     *
     * @summary Rolling window price change statistics
     * @param {TickerRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<TickerResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#rolling-window-price-change-statistics Binance API Documentation}
     */
    ticker(requestParameters?: TickerRequest$2): Promise<RestApiResponse<TickerResponse$2>>;
    /**
     * 24 hour rolling window price change statistics. **Careful** when accessing this with no symbol.
     * Weight: <table>
     * <thead>
     * <tr>
     * <th>Parameter</th>
     * <th>Symbols Provided</th>
     * <th>Weight</th>
     * </tr>
     * </thead>
     * <tbody>
     * <tr>
     * <td rowspan="2">symbol</td>
     * <td>1</td>
     * <td>2</td>
     * </tr>
     * <tr>
     * <td>symbol parameter is omitted</td>
     * <td>80</td>
     * </tr>
     * <tr>
     * <td rowspan="4">symbols</td>
     * <td>1-20</td>
     * <td>2</td>
     * </tr>
     * <tr>
     * <td>21-100</td>
     * <td>40</td>
     * </tr>
     * <tr>
     * <td>101 or more</td>
     * <td>80</td>
     * </tr>
     * <tr>
     * <td>symbols parameter is omitted</td>
     * <td>80</td>
     * </tr>
     * </tbody>
     * </table>
     *
     * @summary 24hr ticker price change statistics
     * @param {Ticker24hrRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<Ticker24hrResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#24hr-ticker-price-change-statistics Binance API Documentation}
     */
    ticker24hr(requestParameters?: Ticker24hrRequest$1): Promise<RestApiResponse<Ticker24hrResponse$1>>;
    /**
     * Best price/qty on the order book for a symbol or symbols.
     * Weight: <table>
     * <thead>
     * <tr>
     * <th>Parameter</th>
     * <th>Symbols Provided</th>
     * <th>Weight</th>
     * </tr>
     * </thead>
     * <tbody>
     * <tr>
     * <td rowspan="2">symbol</td>
     * <td>1</td>
     * <td>2</td>
     * </tr>
     * <tr>
     * <td>symbol parameter is omitted</td>
     * <td>4</td>
     * </tr>
     * <tr>
     * <td>symbols</td>
     * <td>Any</td>
     * <td>4</td>
     * </tr>
     * </tbody>
     * </table>
     *
     * @summary Symbol order book ticker
     * @param {TickerBookTickerRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<TickerBookTickerResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#symbol-order-book-ticker Binance API Documentation}
     */
    tickerBookTicker(requestParameters?: TickerBookTickerRequest): Promise<RestApiResponse<TickerBookTickerResponse>>;
    /**
     * Latest price for a symbol or symbols.
     * Weight: <table>
     * <thead>
     * <tr>
     * <th>Parameter</th>
     * <th>Symbols Provided</th>
     * <th>Weight</th>
     * </tr>
     * </thead>
     * <tbody>
     * <tr>
     * <td rowspan="2">symbol</td>
     * <td>1</td>
     * <td>2</td>
     * </tr>
     * <tr>
     * <td>symbol parameter is omitted</td>
     * <td>4</td>
     * </tr>
     * <tr>
     * <td>symbols</td>
     * <td>Any</td>
     * <td>4</td>
     * </tr>
     * </tbody>
     * </table>
     *
     * @summary Symbol price ticker
     * @param {TickerPriceRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<TickerPriceResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#symbol-price-ticker Binance API Documentation}
     */
    tickerPrice(requestParameters?: TickerPriceRequest$1): Promise<RestApiResponse<TickerPriceResponse$1>>;
    /**
     * Price change statistics for a trading day.
     * Weight: 4 for each requested <tt>symbol</tt>. <br/><br/> The weight for this request will cap at 200 once the number of `symbols` in the request is more than 50.
     *
     * @summary Trading Day Ticker
     * @param {TickerTradingDayRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<TickerTradingDayResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#trading-day-ticker Binance API Documentation}
     */
    tickerTradingDay(requestParameters?: TickerTradingDayRequest$1): Promise<RestApiResponse<TickerTradingDayResponse$1>>;
    /**
     * The request is similar to klines having the same parameters and response.
     *
     * `uiKlines` return modified kline data, optimized for presentation of candlestick charts.
     * Weight: 2
     *
     * @summary UIKlines
     * @param {UiKlinesRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<UiKlinesResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#uiklines Binance API Documentation}
     */
    uiKlines(requestParameters: UiKlinesRequest$1): Promise<RestApiResponse<UiKlinesResponse$1>>;
}
declare enum KlinesIntervalEnum$1 {
    INTERVAL_1s = "1s",
    INTERVAL_1m = "1m",
    INTERVAL_3m = "3m",
    INTERVAL_5m = "5m",
    INTERVAL_15m = "15m",
    INTERVAL_30m = "30m",
    INTERVAL_1h = "1h",
    INTERVAL_2h = "2h",
    INTERVAL_4h = "4h",
    INTERVAL_6h = "6h",
    INTERVAL_8h = "8h",
    INTERVAL_12h = "12h",
    INTERVAL_1d = "1d",
    INTERVAL_3d = "3d",
    INTERVAL_1w = "1w",
    INTERVAL_1M = "1M"
}
declare enum TickerWindowSizeEnum$1 {
    WINDOW_SIZE_1m = "1m",
    WINDOW_SIZE_2m = "2m",
    WINDOW_SIZE_3m = "3m",
    WINDOW_SIZE_4m = "4m",
    WINDOW_SIZE_5m = "5m",
    WINDOW_SIZE_6m = "6m",
    WINDOW_SIZE_7m = "7m",
    WINDOW_SIZE_8m = "8m",
    WINDOW_SIZE_9m = "9m",
    WINDOW_SIZE_10m = "10m",
    WINDOW_SIZE_11m = "11m",
    WINDOW_SIZE_12m = "12m",
    WINDOW_SIZE_13m = "13m",
    WINDOW_SIZE_14m = "14m",
    WINDOW_SIZE_15m = "15m",
    WINDOW_SIZE_16m = "16m",
    WINDOW_SIZE_17m = "17m",
    WINDOW_SIZE_18m = "18m",
    WINDOW_SIZE_19m = "19m",
    WINDOW_SIZE_20m = "20m",
    WINDOW_SIZE_21m = "21m",
    WINDOW_SIZE_22m = "22m",
    WINDOW_SIZE_23m = "23m",
    WINDOW_SIZE_24m = "24m",
    WINDOW_SIZE_25m = "25m",
    WINDOW_SIZE_26m = "26m",
    WINDOW_SIZE_27m = "27m",
    WINDOW_SIZE_28m = "28m",
    WINDOW_SIZE_29m = "29m",
    WINDOW_SIZE_30m = "30m",
    WINDOW_SIZE_31m = "31m",
    WINDOW_SIZE_32m = "32m",
    WINDOW_SIZE_33m = "33m",
    WINDOW_SIZE_34m = "34m",
    WINDOW_SIZE_35m = "35m",
    WINDOW_SIZE_36m = "36m",
    WINDOW_SIZE_37m = "37m",
    WINDOW_SIZE_38m = "38m",
    WINDOW_SIZE_39m = "39m",
    WINDOW_SIZE_40m = "40m",
    WINDOW_SIZE_41m = "41m",
    WINDOW_SIZE_42m = "42m",
    WINDOW_SIZE_43m = "43m",
    WINDOW_SIZE_44m = "44m",
    WINDOW_SIZE_45m = "45m",
    WINDOW_SIZE_46m = "46m",
    WINDOW_SIZE_47m = "47m",
    WINDOW_SIZE_48m = "48m",
    WINDOW_SIZE_49m = "49m",
    WINDOW_SIZE_50m = "50m",
    WINDOW_SIZE_51m = "51m",
    WINDOW_SIZE_52m = "52m",
    WINDOW_SIZE_53m = "53m",
    WINDOW_SIZE_54m = "54m",
    WINDOW_SIZE_55m = "55m",
    WINDOW_SIZE_56m = "56m",
    WINDOW_SIZE_57m = "57m",
    WINDOW_SIZE_58m = "58m",
    WINDOW_SIZE_59m = "59m",
    WINDOW_SIZE_1h = "1h",
    WINDOW_SIZE_2h = "2h",
    WINDOW_SIZE_3h = "3h",
    WINDOW_SIZE_4h = "4h",
    WINDOW_SIZE_5h = "5h",
    WINDOW_SIZE_6h = "6h",
    WINDOW_SIZE_7h = "7h",
    WINDOW_SIZE_8h = "8h",
    WINDOW_SIZE_9h = "9h",
    WINDOW_SIZE_10h = "10h",
    WINDOW_SIZE_11h = "11h",
    WINDOW_SIZE_12h = "12h",
    WINDOW_SIZE_13h = "13h",
    WINDOW_SIZE_14h = "14h",
    WINDOW_SIZE_15h = "15h",
    WINDOW_SIZE_16h = "16h",
    WINDOW_SIZE_17h = "17h",
    WINDOW_SIZE_18h = "18h",
    WINDOW_SIZE_19h = "19h",
    WINDOW_SIZE_20h = "20h",
    WINDOW_SIZE_21h = "21h",
    WINDOW_SIZE_22h = "22h",
    WINDOW_SIZE_23h = "23h",
    WINDOW_SIZE_1d = "1d",
    WINDOW_SIZE_2d = "2d",
    WINDOW_SIZE_3d = "3d",
    WINDOW_SIZE_4d = "4d",
    WINDOW_SIZE_5d = "5d",
    WINDOW_SIZE_6d = "6d"
}
declare enum TickerTypeEnum$1 {
    FULL = "FULL",
    MINI = "MINI"
}
declare enum Ticker24hrTypeEnum$1 {
    FULL = "FULL",
    MINI = "MINI"
}
declare enum TickerTradingDayTypeEnum$1 {
    FULL = "FULL",
    MINI = "MINI"
}
declare enum UiKlinesIntervalEnum$1 {
    INTERVAL_1s = "1s",
    INTERVAL_1m = "1m",
    INTERVAL_3m = "3m",
    INTERVAL_5m = "5m",
    INTERVAL_15m = "15m",
    INTERVAL_30m = "30m",
    INTERVAL_1h = "1h",
    INTERVAL_2h = "2h",
    INTERVAL_4h = "4h",
    INTERVAL_6h = "6h",
    INTERVAL_8h = "8h",
    INTERVAL_12h = "12h",
    INTERVAL_1d = "1d",
    INTERVAL_3d = "3d",
    INTERVAL_1w = "1w",
    INTERVAL_1M = "1M"
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 * TradeApi - interface
 * @interface TradeApi
 */
interface TradeApiInterface$1 {
    /**
     * Cancels all active orders on a symbol.
     * This includes orders that are part of an order list.
     * Weight: 1
     *
     * @summary Cancel All Open Orders on a Symbol
     * @param {DeleteOpenOrdersRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    deleteOpenOrders(requestParameters: DeleteOpenOrdersRequest): Promise<RestApiResponse<DeleteOpenOrdersResponse>>;
    /**
     * Cancel an active order.
     * Weight: 1
     *
     * @summary Cancel order
     * @param {DeleteOrderRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    deleteOrder(requestParameters: DeleteOrderRequest): Promise<RestApiResponse<DeleteOrderResponse>>;
    /**
     * Cancel an entire Order list
     * Weight: 1
     *
     * @summary Cancel Order list
     * @param {DeleteOrderListRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    deleteOrderList(requestParameters: DeleteOrderListRequest): Promise<RestApiResponse<DeleteOrderListResponse>>;
    /**
     * Send in a new order.
     *
     * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * @summary New order
     * @param {NewOrderRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    newOrder(requestParameters: NewOrderRequest): Promise<RestApiResponse<NewOrderResponse>>;
    /**
     * Reduce the quantity of an existing open order.
     *
     * This adds 0 orders to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     *
     * Read [Order Amend Keep Priority FAQ](faqs/order_amend_keep_priority.md) to learn more.
     * Weight: 4
     *
     * @summary Order Amend Keep Priority
     * @param {OrderAmendKeepPriorityRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    orderAmendKeepPriority(requestParameters: OrderAmendKeepPriorityRequest$1): Promise<RestApiResponse<OrderAmendKeepPriorityResponse$1>>;
    /**
     * Cancels an existing order and places a new order on the same symbol.
     *
     * Filters and Order Count are evaluated before the processing of the cancellation and order placement occurs.
     *
     * A new order that was not attempted (i.e. when `newOrderResult: NOT_ATTEMPTED`), will still increase the unfilled order count by 1.
     * Weight: 1
     *
     * @summary Cancel an Existing Order and Send a New Order
     * @param {OrderCancelReplaceRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    orderCancelReplace(requestParameters: OrderCancelReplaceRequest$1): Promise<RestApiResponse<OrderCancelReplaceResponse$1>>;
    /**
     * Send in an one-cancels-the-other (OCO) pair, where activation of one order immediately cancels the other.
     *
     * An OCO has 2 orders called the **above order** and **below order**.
     * One of the orders must be a `LIMIT_MAKER/TAKE_PROFIT/TAKE_PROFIT_LIMIT` order and the other must be `STOP_LOSS` or `STOP_LOSS_LIMIT` order.
     * Price restrictions
     * If the OCO is on the `SELL` side:
     * `LIMIT_MAKER/TAKE_PROFIT_LIMIT` `price` > Last Traded Price >  `STOP_LOSS/STOP_LOSS_LIMIT` `stopPrice`
     * `TAKE_PROFIT stopPrice` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
     * If the OCO is on the `BUY` side:
     * `LIMIT_MAKER/TAKE_PROFIT_LIMIT price` < Last Traded Price < `stopPrice`
     * `TAKE_PROFIT stopPrice` < Last Traded Price < `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
     * OCOs add **2 orders** to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * Unfilled Order Count: 2
     *
     * @summary New Order list - OCO
     * @param {OrderListOcoRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    orderListOco(requestParameters: OrderListOcoRequest): Promise<RestApiResponse<OrderListOcoResponse>>;
    /**
     * Place an OTO.
     *
     * An OTO (One-Triggers-the-Other) is an order list comprised of 2 orders.
     * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
     * The second order is called the **pending order**. It can be any order type except for `MARKET` orders using parameter `quoteOrderQty`. The pending order is only placed on the order book when the working order gets **fully filled**.
     * If either the working order or the pending order is cancelled individually, the other order in the order list will also be canceled or expired.
     * When the order list is placed, if the working order gets **immediately fully filled**, the placement response will show the working order as `FILLED` but the pending order will still appear as `PENDING_NEW`. You need to query the status of the pending order again to see its updated status.
     * OTOs add **2 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * Unfilled Order Count: 2
     *
     * @summary New Order list - OTO
     * @param {OrderListOtoRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    orderListOto(requestParameters: OrderListOtoRequest): Promise<RestApiResponse<OrderListOtoResponse>>;
    /**
     * Place an OTOCO.
     *
     * An OTOCO (One-Triggers-One-Cancels-the-Other) is an order list comprised of 3 orders.
     * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
     * The behavior of the working order is the same as the [OTO](#new-order-list---oto-trade).
     * OTOCO has 2 pending orders (pending above and pending below), forming an OCO pair. The pending orders are only placed on the order book when the working order gets **fully filled**.
     * The rules of the pending above and pending below follow the same rules as the [Order list OCO](#new-order-list---oco-trade).
     * OTOCOs add **3 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * Unfilled Order Count: 3
     *
     * @summary New Order list - OTOCO
     * @param {OrderListOtocoRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    orderListOtoco(requestParameters: OrderListOtocoRequest): Promise<RestApiResponse<OrderListOtocoResponse>>;
    /**
     * Send in a new OCO.
     *
     * Price Restrictions:
     * `SELL`: Limit Price > Last Price > Stop Price
     * `BUY`: Limit Price < Last Price < Stop Price
     * Quantity Restrictions:
     * Both legs must have the same quantity.
     * `ICEBERG` quantities however do not have to be the same
     * `OCO` adds **2 orders** to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * Unfilled Order Count: 2
     *
     * @summary New OCO - Deprecated
     * @param {OrderOcoRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    orderOco(requestParameters: OrderOcoRequest): Promise<RestApiResponse<OrderOcoResponse>>;
    /**
     * Test new order creation and signature/recvWindow long.
     * Creates and validates a new order but does not send it into the matching engine.
     * Weight: |Condition| Request Weight|
     * |------------           | ------------ |
     * |Without `computeCommissionRates`| 1|
     * |With `computeCommissionRates`|20|
     *
     * @summary Test new order
     * @param {OrderTestRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    orderTest(requestParameters?: OrderTestRequest$1): Promise<RestApiResponse<OrderTestResponse$1>>;
    /**
     * Places an order using smart order routing (SOR).
     *
     * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     *
     * Read [SOR FAQ](faqs/sor_faq.md) to learn more.
     * Weight: 1
     *
     * Unfilled Order Count: 1
     *
     * @summary New order using SOR
     * @param {SorOrderRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    sorOrder(requestParameters: SorOrderRequest): Promise<RestApiResponse<SorOrderResponse>>;
    /**
     * Test new order creation and signature/recvWindow using smart order routing (SOR).
     * Creates and validates a new order but does not send it into the matching engine.
     * Weight: | Condition | Request Weight |
     * | --------- | -------------- |
     * | Without `computeCommissionRates`  |  1 |
     * | With `computeCommissionRates`     | 20 |
     *
     * @summary Test new order using SOR
     * @param {SorOrderTestRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApiInterface
     */
    sorOrderTest(requestParameters?: SorOrderTestRequest$1): Promise<RestApiResponse<SorOrderTestResponse$1>>;
}
/**
 * Request parameters for deleteOpenOrders operation in TradeApi.
 * @interface DeleteOpenOrdersRequest
 */
interface DeleteOpenOrdersRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiDeleteOpenOrders
     */
    readonly symbol: string;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof TradeApiDeleteOpenOrders
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for deleteOrder operation in TradeApi.
 * @interface DeleteOrderRequest
 */
interface DeleteOrderRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiDeleteOrder
     */
    readonly symbol: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiDeleteOrder
     */
    readonly orderId?: number;
    /**
     *
     * @type {string}
     * @memberof TradeApiDeleteOrder
     */
    readonly origClientOrderId?: string;
    /**
     * A unique id among open orders. Automatically generated if not sent.<br/> Orders with the same `newClientOrderID` can be accepted only when the previous one is filled, otherwise the order will be rejected.
     * @type {string}
     * @memberof TradeApiDeleteOrder
     */
    readonly newClientOrderId?: string;
    /**
     *
     * @type {'ONLY_NEW' | 'NEW' | 'ONLY_PARTIALLY_FILLED' | 'PARTIALLY_FILLED'}
     * @memberof TradeApiDeleteOrder
     */
    readonly cancelRestrictions?: DeleteOrderCancelRestrictionsEnum;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof TradeApiDeleteOrder
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for deleteOrderList operation in TradeApi.
 * @interface DeleteOrderListRequest
 */
interface DeleteOrderListRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiDeleteOrderList
     */
    readonly symbol: string;
    /**
     * Either `orderListId` or `listClientOrderId` must be provided
     * @type {number}
     * @memberof TradeApiDeleteOrderList
     */
    readonly orderListId?: number;
    /**
     * A unique Id for the entire orderList
     * @type {string}
     * @memberof TradeApiDeleteOrderList
     */
    readonly listClientOrderId?: string;
    /**
     * A unique id among open orders. Automatically generated if not sent.<br/> Orders with the same `newClientOrderID` can be accepted only when the previous one is filled, otherwise the order will be rejected.
     * @type {string}
     * @memberof TradeApiDeleteOrderList
     */
    readonly newClientOrderId?: string;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof TradeApiDeleteOrderList
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for newOrder operation in TradeApi.
 * @interface NewOrderRequest
 */
interface NewOrderRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiNewOrder
     */
    readonly symbol: string;
    /**
     *
     * @type {'BUY' | 'SELL'}
     * @memberof TradeApiNewOrder
     */
    readonly side: NewOrderSideEnum;
    /**
     *
     * @type {'MARKET' | 'LIMIT' | 'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT' | 'LIMIT_MAKER' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiNewOrder
     */
    readonly type: NewOrderTypeEnum;
    /**
     *
     * @type {'GTC' | 'IOC' | 'FOK' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiNewOrder
     */
    readonly timeInForce?: NewOrderTimeInForceEnum;
    /**
     *
     * @type {number}
     * @memberof TradeApiNewOrder
     */
    readonly quantity?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiNewOrder
     */
    readonly quoteOrderQty?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiNewOrder
     */
    readonly price?: number;
    /**
     * A unique id among open orders. Automatically generated if not sent.<br/> Orders with the same `newClientOrderID` can be accepted only when the previous one is filled, otherwise the order will be rejected.
     * @type {string}
     * @memberof TradeApiNewOrder
     */
    readonly newClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiNewOrder
     */
    readonly strategyId?: number;
    /**
     * The value cannot be less than `1000000`.
     * @type {number}
     * @memberof TradeApiNewOrder
     */
    readonly strategyType?: number;
    /**
     * Used with `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT`, and `TAKE_PROFIT_LIMIT` orders.
     * @type {number}
     * @memberof TradeApiNewOrder
     */
    readonly stopPrice?: number;
    /**
     * See [Trailing Stop order FAQ](faqs/trailing-stop-faq.md).
     * @type {number}
     * @memberof TradeApiNewOrder
     */
    readonly trailingDelta?: number;
    /**
     * Used with `LIMIT`, `STOP_LOSS_LIMIT`, and `TAKE_PROFIT_LIMIT` to create an iceberg order.
     * @type {number}
     * @memberof TradeApiNewOrder
     */
    readonly icebergQty?: number;
    /**
     *
     * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
     * @memberof TradeApiNewOrder
     */
    readonly newOrderRespType?: NewOrderNewOrderRespTypeEnum;
    /**
     *
     * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiNewOrder
     */
    readonly selfTradePreventionMode?: NewOrderSelfTradePreventionModeEnum;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof TradeApiNewOrder
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for orderAmendKeepPriority operation in TradeApi.
 * @interface OrderAmendKeepPriorityRequest
 */
interface OrderAmendKeepPriorityRequest$1 {
    /**
     *
     * @type {string}
     * @memberof TradeApiOrderAmendKeepPriority
     */
    readonly symbol: string;
    /**
     * `newQty` must be greater than 0 and less than the order's quantity.
     * @type {number}
     * @memberof TradeApiOrderAmendKeepPriority
     */
    readonly newQty: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderAmendKeepPriority
     */
    readonly orderId?: number;
    /**
     *
     * @type {string}
     * @memberof TradeApiOrderAmendKeepPriority
     */
    readonly origClientOrderId?: string;
    /**
     * A unique id among open orders. Automatically generated if not sent.<br/> Orders with the same `newClientOrderID` can be accepted only when the previous one is filled, otherwise the order will be rejected.
     * @type {string}
     * @memberof TradeApiOrderAmendKeepPriority
     */
    readonly newClientOrderId?: string;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof TradeApiOrderAmendKeepPriority
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for orderCancelReplace operation in TradeApi.
 * @interface OrderCancelReplaceRequest
 */
interface OrderCancelReplaceRequest$1 {
    /**
     *
     * @type {string}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly symbol: string;
    /**
     *
     * @type {'BUY' | 'SELL'}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly side: OrderCancelReplaceSideEnum$1;
    /**
     *
     * @type {'MARKET' | 'LIMIT' | 'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT' | 'LIMIT_MAKER' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly type: OrderCancelReplaceTypeEnum$1;
    /**
     *
     * @type {'STOP_ON_FAILURE' | 'ALLOW_FAILURE'}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly cancelReplaceMode: OrderCancelReplaceCancelReplaceModeEnum$1;
    /**
     *
     * @type {'GTC' | 'IOC' | 'FOK' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly timeInForce?: OrderCancelReplaceTimeInForceEnum$1;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly quantity?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly quoteOrderQty?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly price?: number;
    /**
     * Used to uniquely identify this cancel. Automatically generated by default.
     * @type {string}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly cancelNewClientOrderId?: string;
    /**
     * Either `cancelOrderId` or `cancelOrigClientOrderId` must be sent. <br></br> If both `cancelOrderId` and `cancelOrigClientOrderId` parameters are provided, the `cancelOrderId` is searched first, then the `cancelOrigClientOrderId` from that result is checked against that order. <br></br> If both conditions are not met the request will be rejected.
     * @type {string}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly cancelOrigClientOrderId?: string;
    /**
     * Either `cancelOrderId` or `cancelOrigClientOrderId` must be sent. <br></br>If both `cancelOrderId` and `cancelOrigClientOrderId` parameters are provided, the `cancelOrderId` is searched first, then the `cancelOrigClientOrderId` from that result is checked against that order. <br></br>If both conditions are not met the request will be rejected.
     * @type {number}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly cancelOrderId?: number;
    /**
     * A unique id among open orders. Automatically generated if not sent.<br/> Orders with the same `newClientOrderID` can be accepted only when the previous one is filled, otherwise the order will be rejected.
     * @type {string}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly newClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly strategyId?: number;
    /**
     * The value cannot be less than `1000000`.
     * @type {number}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly strategyType?: number;
    /**
     * Used with `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT`, and `TAKE_PROFIT_LIMIT` orders.
     * @type {number}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly stopPrice?: number;
    /**
     * See [Trailing Stop order FAQ](faqs/trailing-stop-faq.md).
     * @type {number}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly trailingDelta?: number;
    /**
     * Used with `LIMIT`, `STOP_LOSS_LIMIT`, and `TAKE_PROFIT_LIMIT` to create an iceberg order.
     * @type {number}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly icebergQty?: number;
    /**
     *
     * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly newOrderRespType?: OrderCancelReplaceNewOrderRespTypeEnum$1;
    /**
     *
     * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly selfTradePreventionMode?: OrderCancelReplaceSelfTradePreventionModeEnum$1;
    /**
     *
     * @type {'ONLY_NEW' | 'NEW' | 'ONLY_PARTIALLY_FILLED' | 'PARTIALLY_FILLED'}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly cancelRestrictions?: OrderCancelReplaceCancelRestrictionsEnum$1;
    /**
     *
     * @type {'DO_NOTHING' | 'CANCEL_ONLY'}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly orderRateLimitExceededMode?: OrderCancelReplaceOrderRateLimitExceededModeEnum$1;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for orderListOco operation in TradeApi.
 * @interface OrderListOcoRequest
 */
interface OrderListOcoRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiOrderListOco
     */
    readonly symbol: string;
    /**
     *
     * @type {'BUY' | 'SELL'}
     * @memberof TradeApiOrderListOco
     */
    readonly side: OrderListOcoSideEnum;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderListOco
     */
    readonly quantity: number;
    /**
     *
     * @type {'STOP_LOSS_LIMIT' | 'STOP_LOSS' | 'LIMIT_MAKER' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT'}
     * @memberof TradeApiOrderListOco
     */
    readonly aboveType: OrderListOcoAboveTypeEnum;
    /**
     *
     * @type {'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT'}
     * @memberof TradeApiOrderListOco
     */
    readonly belowType: OrderListOcoBelowTypeEnum;
    /**
     * A unique Id for the entire orderList
     * @type {string}
     * @memberof TradeApiOrderListOco
     */
    readonly listClientOrderId?: string;
    /**
     * Arbitrary unique ID among open orders for the above order. Automatically generated if not sent
     * @type {string}
     * @memberof TradeApiOrderListOco
     */
    readonly aboveClientOrderId?: string;
    /**
     * Note that this can only be used if `aboveTimeInForce` is `GTC`.
     * @type {number}
     * @memberof TradeApiOrderListOco
     */
    readonly aboveIcebergQty?: number;
    /**
     * Can be used if `aboveType` is `STOP_LOSS_LIMIT` , `LIMIT_MAKER`, or `TAKE_PROFIT_LIMIT` to specify the limit price.
     * @type {number}
     * @memberof TradeApiOrderListOco
     */
    readonly abovePrice?: number;
    /**
     * Can be used if `aboveType` is `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT`, `TAKE_PROFIT_LIMIT`. <br>Either `aboveStopPrice` or `aboveTrailingDelta` or both, must be specified.
     * @type {number}
     * @memberof TradeApiOrderListOco
     */
    readonly aboveStopPrice?: number;
    /**
     * See [Trailing Stop order FAQ](faqs/trailing-stop-faq.md).
     * @type {number}
     * @memberof TradeApiOrderListOco
     */
    readonly aboveTrailingDelta?: number;
    /**
     * Required if `aboveType` is `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT`
     * @type {number}
     * @memberof TradeApiOrderListOco
     */
    readonly aboveTimeInForce?: number;
    /**
     * Arbitrary numeric value identifying the above order within an order strategy.
     * @type {number}
     * @memberof TradeApiOrderListOco
     */
    readonly aboveStrategyId?: number;
    /**
     * Arbitrary numeric value identifying the above order strategy. <br>Values smaller than 1000000 are reserved and cannot be used.
     * @type {number}
     * @memberof TradeApiOrderListOco
     */
    readonly aboveStrategyType?: number;
    /**
     * Arbitrary unique ID among open orders for the below order. Automatically generated if not sent
     * @type {string}
     * @memberof TradeApiOrderListOco
     */
    readonly belowClientOrderId?: string;
    /**
     * Note that this can only be used if `belowTimeInForce` is `GTC`.
     * @type {number}
     * @memberof TradeApiOrderListOco
     */
    readonly belowIcebergQty?: number;
    /**
     * Can be used if `belowType` is `STOP_LOSS_LIMIT`, `LIMIT_MAKER`, or `TAKE_PROFIT_LIMIT` to specify the limit price.
     * @type {number}
     * @memberof TradeApiOrderListOco
     */
    readonly belowPrice?: number;
    /**
     * Can be used if `belowType` is `STOP_LOSS`, `STOP_LOSS_LIMIT, TAKE_PROFIT` or `TAKE_PROFIT_LIMIT` <br>Either belowStopPrice or belowTrailingDelta or both, must be specified.
     * @type {number}
     * @memberof TradeApiOrderListOco
     */
    readonly belowStopPrice?: number;
    /**
     * See [Trailing Stop order FAQ](faqs/trailing-stop-faq.md).
     * @type {number}
     * @memberof TradeApiOrderListOco
     */
    readonly belowTrailingDelta?: number;
    /**
     *
     * @type {'belowType' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT_LIMIT'}
     * @memberof TradeApiOrderListOco
     */
    readonly belowTimeInForce?: OrderListOcoBelowTimeInForceEnum;
    /**
     * Arbitrary numeric value identifying the below order within an order strategy.
     * @type {number}
     * @memberof TradeApiOrderListOco
     */
    readonly belowStrategyId?: number;
    /**
     * Arbitrary numeric value identifying the below order strategy. <br>Values smaller than 1000000 are reserved and cannot be used.
     * @type {number}
     * @memberof TradeApiOrderListOco
     */
    readonly belowStrategyType?: number;
    /**
     *
     * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
     * @memberof TradeApiOrderListOco
     */
    readonly newOrderRespType?: OrderListOcoNewOrderRespTypeEnum;
    /**
     *
     * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiOrderListOco
     */
    readonly selfTradePreventionMode?: OrderListOcoSelfTradePreventionModeEnum;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof TradeApiOrderListOco
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for orderListOto operation in TradeApi.
 * @interface OrderListOtoRequest
 */
interface OrderListOtoRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiOrderListOto
     */
    readonly symbol: string;
    /**
     *
     * @type {'LIMIT' | 'LIMIT_MAKER'}
     * @memberof TradeApiOrderListOto
     */
    readonly workingType: OrderListOtoWorkingTypeEnum;
    /**
     *
     * @type {'BUY' | 'SELL'}
     * @memberof TradeApiOrderListOto
     */
    readonly workingSide: OrderListOtoWorkingSideEnum;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderListOto
     */
    readonly workingPrice: number;
    /**
     * Sets the quantity for the working order.
     * @type {number}
     * @memberof TradeApiOrderListOto
     */
    readonly workingQuantity: number;
    /**
     *
     * @type {'LIMIT' | 'MARKET' | 'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT' | 'LIMIT_MAKER'}
     * @memberof TradeApiOrderListOto
     */
    readonly pendingType: OrderListOtoPendingTypeEnum;
    /**
     *
     * @type {'BUY' | 'SELL'}
     * @memberof TradeApiOrderListOto
     */
    readonly pendingSide: OrderListOtoPendingSideEnum;
    /**
     * Sets the quantity for the pending order.
     * @type {number}
     * @memberof TradeApiOrderListOto
     */
    readonly pendingQuantity: number;
    /**
     * A unique Id for the entire orderList
     * @type {string}
     * @memberof TradeApiOrderListOto
     */
    readonly listClientOrderId?: string;
    /**
     *
     * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
     * @memberof TradeApiOrderListOto
     */
    readonly newOrderRespType?: OrderListOtoNewOrderRespTypeEnum;
    /**
     *
     * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiOrderListOto
     */
    readonly selfTradePreventionMode?: OrderListOtoSelfTradePreventionModeEnum;
    /**
     * Arbitrary unique ID among open orders for the working order.<br> Automatically generated if not sent.
     * @type {string}
     * @memberof TradeApiOrderListOto
     */
    readonly workingClientOrderId?: string;
    /**
     * This can only be used if `workingTimeInForce` is `GTC`, or if `workingType` is `LIMIT_MAKER`.
     * @type {number}
     * @memberof TradeApiOrderListOto
     */
    readonly workingIcebergQty?: number;
    /**
     *
     * @type {'GTC' | 'IOC' | 'FOK'}
     * @memberof TradeApiOrderListOto
     */
    readonly workingTimeInForce?: OrderListOtoWorkingTimeInForceEnum;
    /**
     * Arbitrary numeric value identifying the working order within an order strategy.
     * @type {number}
     * @memberof TradeApiOrderListOto
     */
    readonly workingStrategyId?: number;
    /**
     * Arbitrary numeric value identifying the working order strategy. <br> Values smaller than 1000000 are reserved and cannot be used.
     * @type {number}
     * @memberof TradeApiOrderListOto
     */
    readonly workingStrategyType?: number;
    /**
     * Arbitrary unique ID among open orders for the pending order.<br> Automatically generated if not sent.
     * @type {string}
     * @memberof TradeApiOrderListOto
     */
    readonly pendingClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderListOto
     */
    readonly pendingPrice?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderListOto
     */
    readonly pendingStopPrice?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderListOto
     */
    readonly pendingTrailingDelta?: number;
    /**
     * This can only be used if `pendingTimeInForce` is `GTC` or if `pendingType` is `LIMIT_MAKER`.
     * @type {number}
     * @memberof TradeApiOrderListOto
     */
    readonly pendingIcebergQty?: number;
    /**
     *
     * @type {'GTC' | 'IOC' | 'FOK'}
     * @memberof TradeApiOrderListOto
     */
    readonly pendingTimeInForce?: OrderListOtoPendingTimeInForceEnum;
    /**
     * Arbitrary numeric value identifying the pending order within an order strategy.
     * @type {number}
     * @memberof TradeApiOrderListOto
     */
    readonly pendingStrategyId?: number;
    /**
     * Arbitrary numeric value identifying the pending order strategy. <br> Values smaller than 1000000 are reserved and cannot be used.
     * @type {number}
     * @memberof TradeApiOrderListOto
     */
    readonly pendingStrategyType?: number;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof TradeApiOrderListOto
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for orderListOtoco operation in TradeApi.
 * @interface OrderListOtocoRequest
 */
interface OrderListOtocoRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiOrderListOtoco
     */
    readonly symbol: string;
    /**
     *
     * @type {'LIMIT' | 'LIMIT_MAKER'}
     * @memberof TradeApiOrderListOtoco
     */
    readonly workingType: OrderListOtocoWorkingTypeEnum;
    /**
     *
     * @type {'BUY' | 'SELL'}
     * @memberof TradeApiOrderListOtoco
     */
    readonly workingSide: OrderListOtocoWorkingSideEnum;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderListOtoco
     */
    readonly workingPrice: number;
    /**
     * Sets the quantity for the working order.
     * @type {number}
     * @memberof TradeApiOrderListOtoco
     */
    readonly workingQuantity: number;
    /**
     *
     * @type {'BUY' | 'SELL'}
     * @memberof TradeApiOrderListOtoco
     */
    readonly pendingSide: OrderListOtocoPendingSideEnum;
    /**
     * Sets the quantity for the pending order.
     * @type {number}
     * @memberof TradeApiOrderListOtoco
     */
    readonly pendingQuantity: number;
    /**
     *
     * @type {'STOP_LOSS_LIMIT' | 'STOP_LOSS' | 'LIMIT_MAKER' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT'}
     * @memberof TradeApiOrderListOtoco
     */
    readonly pendingAboveType: OrderListOtocoPendingAboveTypeEnum;
    /**
     * A unique Id for the entire orderList
     * @type {string}
     * @memberof TradeApiOrderListOtoco
     */
    readonly listClientOrderId?: string;
    /**
     *
     * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
     * @memberof TradeApiOrderListOtoco
     */
    readonly newOrderRespType?: OrderListOtocoNewOrderRespTypeEnum;
    /**
     *
     * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiOrderListOtoco
     */
    readonly selfTradePreventionMode?: OrderListOtocoSelfTradePreventionModeEnum;
    /**
     * Arbitrary unique ID among open orders for the working order.<br> Automatically generated if not sent.
     * @type {string}
     * @memberof TradeApiOrderListOtoco
     */
    readonly workingClientOrderId?: string;
    /**
     * This can only be used if `workingTimeInForce` is `GTC`, or if `workingType` is `LIMIT_MAKER`.
     * @type {number}
     * @memberof TradeApiOrderListOtoco
     */
    readonly workingIcebergQty?: number;
    /**
     *
     * @type {'GTC' | 'IOC' | 'FOK'}
     * @memberof TradeApiOrderListOtoco
     */
    readonly workingTimeInForce?: OrderListOtocoWorkingTimeInForceEnum;
    /**
     * Arbitrary numeric value identifying the working order within an order strategy.
     * @type {number}
     * @memberof TradeApiOrderListOtoco
     */
    readonly workingStrategyId?: number;
    /**
     * Arbitrary numeric value identifying the working order strategy. <br> Values smaller than 1000000 are reserved and cannot be used.
     * @type {number}
     * @memberof TradeApiOrderListOtoco
     */
    readonly workingStrategyType?: number;
    /**
     * Arbitrary unique ID among open orders for the pending above order.<br> Automatically generated if not sent.
     * @type {string}
     * @memberof TradeApiOrderListOtoco
     */
    readonly pendingAboveClientOrderId?: string;
    /**
     * Can be used if `pendingAboveType` is `STOP_LOSS_LIMIT` , `LIMIT_MAKER`, or `TAKE_PROFIT_LIMIT` to specify the limit price.
     * @type {number}
     * @memberof TradeApiOrderListOtoco
     */
    readonly pendingAbovePrice?: number;
    /**
     * Can be used if `pendingAboveType` is `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT`, `TAKE_PROFIT_LIMIT`
     * @type {number}
     * @memberof TradeApiOrderListOtoco
     */
    readonly pendingAboveStopPrice?: number;
    /**
     * See [Trailing Stop FAQ](faqs/trailing-stop-faq.md)
     * @type {number}
     * @memberof TradeApiOrderListOtoco
     */
    readonly pendingAboveTrailingDelta?: number;
    /**
     * This can only be used if `pendingAboveTimeInForce` is `GTC` or if `pendingAboveType` is `LIMIT_MAKER`.
     * @type {number}
     * @memberof TradeApiOrderListOtoco
     */
    readonly pendingAboveIcebergQty?: number;
    /**
     *
     * @type {'GTC' | 'IOC' | 'FOK'}
     * @memberof TradeApiOrderListOtoco
     */
    readonly pendingAboveTimeInForce?: OrderListOtocoPendingAboveTimeInForceEnum;
    /**
     * Arbitrary numeric value identifying the pending above order within an order strategy.
     * @type {number}
     * @memberof TradeApiOrderListOtoco
     */
    readonly pendingAboveStrategyId?: number;
    /**
     * Arbitrary numeric value identifying the pending above order strategy. <br> Values smaller than 1000000 are reserved and cannot be used.
     * @type {number}
     * @memberof TradeApiOrderListOtoco
     */
    readonly pendingAboveStrategyType?: number;
    /**
     *
     * @type {'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT'}
     * @memberof TradeApiOrderListOtoco
     */
    readonly pendingBelowType?: OrderListOtocoPendingBelowTypeEnum;
    /**
     * Arbitrary unique ID among open orders for the pending below order.<br> Automatically generated if not sent.
     * @type {string}
     * @memberof TradeApiOrderListOtoco
     */
    readonly pendingBelowClientOrderId?: string;
    /**
     * Can be used if `pendingBelowType` is `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` to specify limit price
     * @type {number}
     * @memberof TradeApiOrderListOtoco
     */
    readonly pendingBelowPrice?: number;
    /**
     * Can be used if `pendingBelowType` is `STOP_LOSS`, `STOP_LOSS_LIMIT, TAKE_PROFIT or TAKE_PROFIT_LIMIT`. <br>Either `pendingBelowStopPrice` or `pendingBelowTrailingDelta` or both, must be specified.
     * @type {number}
     * @memberof TradeApiOrderListOtoco
     */
    readonly pendingBelowStopPrice?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderListOtoco
     */
    readonly pendingBelowTrailingDelta?: number;
    /**
     * This can only be used if `pendingBelowTimeInForce` is `GTC`, or if `pendingBelowType` is `LIMIT_MAKER`.
     * @type {number}
     * @memberof TradeApiOrderListOtoco
     */
    readonly pendingBelowIcebergQty?: number;
    /**
     *
     * @type {'GTC' | 'IOC' | 'FOK'}
     * @memberof TradeApiOrderListOtoco
     */
    readonly pendingBelowTimeInForce?: OrderListOtocoPendingBelowTimeInForceEnum;
    /**
     * Arbitrary numeric value identifying the pending below order within an order strategy.
     * @type {number}
     * @memberof TradeApiOrderListOtoco
     */
    readonly pendingBelowStrategyId?: number;
    /**
     * Arbitrary numeric value identifying the pending below order strategy. <br> Values smaller than 1000000 are reserved and cannot be used.
     * @type {number}
     * @memberof TradeApiOrderListOtoco
     */
    readonly pendingBelowStrategyType?: number;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof TradeApiOrderListOtoco
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for orderOco operation in TradeApi.
 * @interface OrderOcoRequest
 */
interface OrderOcoRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiOrderOco
     */
    readonly symbol: string;
    /**
     *
     * @type {'BUY' | 'SELL'}
     * @memberof TradeApiOrderOco
     */
    readonly side: OrderOcoSideEnum;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderOco
     */
    readonly quantity: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderOco
     */
    readonly price: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderOco
     */
    readonly stopPrice: number;
    /**
     * A unique Id for the entire orderList
     * @type {string}
     * @memberof TradeApiOrderOco
     */
    readonly listClientOrderId?: string;
    /**
     * A unique Id for the limit order
     * @type {string}
     * @memberof TradeApiOrderOco
     */
    readonly limitClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderOco
     */
    readonly limitStrategyId?: number;
    /**
     * The value cannot be less than `1000000`.
     * @type {number}
     * @memberof TradeApiOrderOco
     */
    readonly limitStrategyType?: number;
    /**
     * Used to make the `LIMIT_MAKER` leg an iceberg order.
     * @type {number}
     * @memberof TradeApiOrderOco
     */
    readonly limitIcebergQty?: number;
    /**
     * See [Trailing Stop order FAQ](faqs/trailing-stop-faq.md).
     * @type {number}
     * @memberof TradeApiOrderOco
     */
    readonly trailingDelta?: number;
    /**
     * A unique Id for the stop loss/stop loss limit leg
     * @type {string}
     * @memberof TradeApiOrderOco
     */
    readonly stopClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderOco
     */
    readonly stopStrategyId?: number;
    /**
     * The value cannot be less than `1000000`.
     * @type {number}
     * @memberof TradeApiOrderOco
     */
    readonly stopStrategyType?: number;
    /**
     * If provided, `stopLimitTimeInForce` is required.
     * @type {number}
     * @memberof TradeApiOrderOco
     */
    readonly stopLimitPrice?: number;
    /**
     * Used with `STOP_LOSS_LIMIT` leg to make an iceberg order.
     * @type {number}
     * @memberof TradeApiOrderOco
     */
    readonly stopIcebergQty?: number;
    /**
     *
     * @type {'GTC' | 'FOK' | 'IOC'}
     * @memberof TradeApiOrderOco
     */
    readonly stopLimitTimeInForce?: OrderOcoStopLimitTimeInForceEnum;
    /**
     *
     * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
     * @memberof TradeApiOrderOco
     */
    readonly newOrderRespType?: OrderOcoNewOrderRespTypeEnum;
    /**
     *
     * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiOrderOco
     */
    readonly selfTradePreventionMode?: OrderOcoSelfTradePreventionModeEnum;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof TradeApiOrderOco
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for orderTest operation in TradeApi.
 * @interface OrderTestRequest
 */
interface OrderTestRequest$1 {
    /**
     * Default: `false`
     * @type {boolean}
     * @memberof TradeApiOrderTest
     */
    readonly computeCommissionRates?: boolean;
}
/**
 * Request parameters for sorOrder operation in TradeApi.
 * @interface SorOrderRequest
 */
interface SorOrderRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiSorOrder
     */
    readonly symbol: string;
    /**
     *
     * @type {'BUY' | 'SELL'}
     * @memberof TradeApiSorOrder
     */
    readonly side: SorOrderSideEnum;
    /**
     *
     * @type {'MARKET' | 'LIMIT' | 'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT' | 'LIMIT_MAKER' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiSorOrder
     */
    readonly type: SorOrderTypeEnum;
    /**
     *
     * @type {number}
     * @memberof TradeApiSorOrder
     */
    readonly quantity: number;
    /**
     *
     * @type {'GTC' | 'IOC' | 'FOK' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiSorOrder
     */
    readonly timeInForce?: SorOrderTimeInForceEnum;
    /**
     *
     * @type {number}
     * @memberof TradeApiSorOrder
     */
    readonly price?: number;
    /**
     * A unique id among open orders. Automatically generated if not sent.<br/> Orders with the same `newClientOrderID` can be accepted only when the previous one is filled, otherwise the order will be rejected.
     * @type {string}
     * @memberof TradeApiSorOrder
     */
    readonly newClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiSorOrder
     */
    readonly strategyId?: number;
    /**
     * The value cannot be less than `1000000`.
     * @type {number}
     * @memberof TradeApiSorOrder
     */
    readonly strategyType?: number;
    /**
     * Used with `LIMIT`, `STOP_LOSS_LIMIT`, and `TAKE_PROFIT_LIMIT` to create an iceberg order.
     * @type {number}
     * @memberof TradeApiSorOrder
     */
    readonly icebergQty?: number;
    /**
     *
     * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
     * @memberof TradeApiSorOrder
     */
    readonly newOrderRespType?: SorOrderNewOrderRespTypeEnum;
    /**
     *
     * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiSorOrder
     */
    readonly selfTradePreventionMode?: SorOrderSelfTradePreventionModeEnum;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof TradeApiSorOrder
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for sorOrderTest operation in TradeApi.
 * @interface SorOrderTestRequest
 */
interface SorOrderTestRequest$1 {
    /**
     * Default: `false`
     * @type {boolean}
     * @memberof TradeApiSorOrderTest
     */
    readonly computeCommissionRates?: boolean;
}
/**
 * TradeApi - object-oriented interface
 * @class TradeApi
 */
declare class TradeApi$1 implements TradeApiInterface$1 {
    private readonly configuration;
    private localVarAxiosParamCreator;
    constructor(configuration: ConfigurationRestAPI);
    /**
     * Cancels all active orders on a symbol.
     * This includes orders that are part of an order list.
     * Weight: 1
     *
     * @summary Cancel All Open Orders on a Symbol
     * @param {DeleteOpenOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<DeleteOpenOrdersResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#cancel-all-open-orders-on-a-symbol-trade Binance API Documentation}
     */
    deleteOpenOrders(requestParameters: DeleteOpenOrdersRequest): Promise<RestApiResponse<DeleteOpenOrdersResponse>>;
    /**
     * Cancel an active order.
     * Weight: 1
     *
     * @summary Cancel order
     * @param {DeleteOrderRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<DeleteOrderResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#cancel-order-trade Binance API Documentation}
     */
    deleteOrder(requestParameters: DeleteOrderRequest): Promise<RestApiResponse<DeleteOrderResponse>>;
    /**
     * Cancel an entire Order list
     * Weight: 1
     *
     * @summary Cancel Order list
     * @param {DeleteOrderListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<DeleteOrderListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#cancel-order-list-trade Binance API Documentation}
     */
    deleteOrderList(requestParameters: DeleteOrderListRequest): Promise<RestApiResponse<DeleteOrderListResponse>>;
    /**
     * Send in a new order.
     *
     * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * @summary New order
     * @param {NewOrderRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<NewOrderResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-trade Binance API Documentation}
     */
    newOrder(requestParameters: NewOrderRequest): Promise<RestApiResponse<NewOrderResponse>>;
    /**
     * Reduce the quantity of an existing open order.
     *
     * This adds 0 orders to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     *
     * Read [Order Amend Keep Priority FAQ](faqs/order_amend_keep_priority.md) to learn more.
     * Weight: 4
     *
     * @summary Order Amend Keep Priority
     * @param {OrderAmendKeepPriorityRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OrderAmendKeepPriorityResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#order-amend-keep-priority-trade Binance API Documentation}
     */
    orderAmendKeepPriority(requestParameters: OrderAmendKeepPriorityRequest$1): Promise<RestApiResponse<OrderAmendKeepPriorityResponse$1>>;
    /**
     * Cancels an existing order and places a new order on the same symbol.
     *
     * Filters and Order Count are evaluated before the processing of the cancellation and order placement occurs.
     *
     * A new order that was not attempted (i.e. when `newOrderResult: NOT_ATTEMPTED`), will still increase the unfilled order count by 1.
     * Weight: 1
     *
     * @summary Cancel an Existing Order and Send a New Order
     * @param {OrderCancelReplaceRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OrderCancelReplaceResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#cancel-an-existing-order-and-send-a-new-order-trade Binance API Documentation}
     */
    orderCancelReplace(requestParameters: OrderCancelReplaceRequest$1): Promise<RestApiResponse<OrderCancelReplaceResponse$1>>;
    /**
     * Send in an one-cancels-the-other (OCO) pair, where activation of one order immediately cancels the other.
     *
     * An OCO has 2 orders called the **above order** and **below order**.
     * One of the orders must be a `LIMIT_MAKER/TAKE_PROFIT/TAKE_PROFIT_LIMIT` order and the other must be `STOP_LOSS` or `STOP_LOSS_LIMIT` order.
     * Price restrictions
     * If the OCO is on the `SELL` side:
     * `LIMIT_MAKER/TAKE_PROFIT_LIMIT` `price` > Last Traded Price >  `STOP_LOSS/STOP_LOSS_LIMIT` `stopPrice`
     * `TAKE_PROFIT stopPrice` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
     * If the OCO is on the `BUY` side:
     * `LIMIT_MAKER/TAKE_PROFIT_LIMIT price` < Last Traded Price < `stopPrice`
     * `TAKE_PROFIT stopPrice` < Last Traded Price < `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
     * OCOs add **2 orders** to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * Unfilled Order Count: 2
     *
     * @summary New Order list - OCO
     * @param {OrderListOcoRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OrderListOcoResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-list---oco-trade Binance API Documentation}
     */
    orderListOco(requestParameters: OrderListOcoRequest): Promise<RestApiResponse<OrderListOcoResponse>>;
    /**
     * Place an OTO.
     *
     * An OTO (One-Triggers-the-Other) is an order list comprised of 2 orders.
     * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
     * The second order is called the **pending order**. It can be any order type except for `MARKET` orders using parameter `quoteOrderQty`. The pending order is only placed on the order book when the working order gets **fully filled**.
     * If either the working order or the pending order is cancelled individually, the other order in the order list will also be canceled or expired.
     * When the order list is placed, if the working order gets **immediately fully filled**, the placement response will show the working order as `FILLED` but the pending order will still appear as `PENDING_NEW`. You need to query the status of the pending order again to see its updated status.
     * OTOs add **2 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * Unfilled Order Count: 2
     *
     * @summary New Order list - OTO
     * @param {OrderListOtoRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OrderListOtoResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-list---oto-trade Binance API Documentation}
     */
    orderListOto(requestParameters: OrderListOtoRequest): Promise<RestApiResponse<OrderListOtoResponse>>;
    /**
     * Place an OTOCO.
     *
     * An OTOCO (One-Triggers-One-Cancels-the-Other) is an order list comprised of 3 orders.
     * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
     * The behavior of the working order is the same as the [OTO](#new-order-list---oto-trade).
     * OTOCO has 2 pending orders (pending above and pending below), forming an OCO pair. The pending orders are only placed on the order book when the working order gets **fully filled**.
     * The rules of the pending above and pending below follow the same rules as the [Order list OCO](#new-order-list---oco-trade).
     * OTOCOs add **3 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * Unfilled Order Count: 3
     *
     * @summary New Order list - OTOCO
     * @param {OrderListOtocoRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OrderListOtocoResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-list---otoco-trade Binance API Documentation}
     */
    orderListOtoco(requestParameters: OrderListOtocoRequest): Promise<RestApiResponse<OrderListOtocoResponse>>;
    /**
     * Send in a new OCO.
     *
     * Price Restrictions:
     * `SELL`: Limit Price > Last Price > Stop Price
     * `BUY`: Limit Price < Last Price < Stop Price
     * Quantity Restrictions:
     * Both legs must have the same quantity.
     * `ICEBERG` quantities however do not have to be the same
     * `OCO` adds **2 orders** to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * Unfilled Order Count: 2
     *
     * @summary New OCO - Deprecated
     * @param {OrderOcoRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OrderOcoResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-oco---deprecated-trade Binance API Documentation}
     */
    orderOco(requestParameters: OrderOcoRequest): Promise<RestApiResponse<OrderOcoResponse>>;
    /**
     * Test new order creation and signature/recvWindow long.
     * Creates and validates a new order but does not send it into the matching engine.
     * Weight: |Condition| Request Weight|
     * |------------           | ------------ |
     * |Without `computeCommissionRates`| 1|
     * |With `computeCommissionRates`|20|
     *
     * @summary Test new order
     * @param {OrderTestRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OrderTestResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#test-new-order-trade Binance API Documentation}
     */
    orderTest(requestParameters?: OrderTestRequest$1): Promise<RestApiResponse<OrderTestResponse$1>>;
    /**
     * Places an order using smart order routing (SOR).
     *
     * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     *
     * Read [SOR FAQ](faqs/sor_faq.md) to learn more.
     * Weight: 1
     *
     * Unfilled Order Count: 1
     *
     * @summary New order using SOR
     * @param {SorOrderRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<SorOrderResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-using-sor-trade Binance API Documentation}
     */
    sorOrder(requestParameters: SorOrderRequest): Promise<RestApiResponse<SorOrderResponse>>;
    /**
     * Test new order creation and signature/recvWindow using smart order routing (SOR).
     * Creates and validates a new order but does not send it into the matching engine.
     * Weight: | Condition | Request Weight |
     * | --------- | -------------- |
     * | Without `computeCommissionRates`  |  1 |
     * | With `computeCommissionRates`     | 20 |
     *
     * @summary Test new order using SOR
     * @param {SorOrderTestRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<SorOrderTestResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#test-new-order-using-sor-trade Binance API Documentation}
     */
    sorOrderTest(requestParameters?: SorOrderTestRequest$1): Promise<RestApiResponse<SorOrderTestResponse$1>>;
}
declare enum DeleteOrderCancelRestrictionsEnum {
    ONLY_NEW = "ONLY_NEW",
    NEW = "NEW",
    ONLY_PARTIALLY_FILLED = "ONLY_PARTIALLY_FILLED",
    PARTIALLY_FILLED = "PARTIALLY_FILLED"
}
declare enum NewOrderSideEnum {
    BUY = "BUY",
    SELL = "SELL"
}
declare enum NewOrderTypeEnum {
    MARKET = "MARKET",
    LIMIT = "LIMIT",
    STOP_LOSS = "STOP_LOSS",
    STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
    TAKE_PROFIT = "TAKE_PROFIT",
    TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
    LIMIT_MAKER = "LIMIT_MAKER",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum NewOrderTimeInForceEnum {
    GTC = "GTC",
    IOC = "IOC",
    FOK = "FOK",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum NewOrderNewOrderRespTypeEnum {
    ACK = "ACK",
    RESULT = "RESULT",
    FULL = "FULL",
    MARKET = "MARKET",
    LIMIT = "LIMIT"
}
declare enum NewOrderSelfTradePreventionModeEnum {
    NONE = "NONE",
    EXPIRE_TAKER = "EXPIRE_TAKER",
    EXPIRE_MAKER = "EXPIRE_MAKER",
    EXPIRE_BOTH = "EXPIRE_BOTH",
    DECREMENT = "DECREMENT",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum OrderCancelReplaceSideEnum$1 {
    BUY = "BUY",
    SELL = "SELL"
}
declare enum OrderCancelReplaceTypeEnum$1 {
    MARKET = "MARKET",
    LIMIT = "LIMIT",
    STOP_LOSS = "STOP_LOSS",
    STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
    TAKE_PROFIT = "TAKE_PROFIT",
    TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
    LIMIT_MAKER = "LIMIT_MAKER",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum OrderCancelReplaceCancelReplaceModeEnum$1 {
    STOP_ON_FAILURE = "STOP_ON_FAILURE",
    ALLOW_FAILURE = "ALLOW_FAILURE"
}
declare enum OrderCancelReplaceTimeInForceEnum$1 {
    GTC = "GTC",
    IOC = "IOC",
    FOK = "FOK",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum OrderCancelReplaceNewOrderRespTypeEnum$1 {
    ACK = "ACK",
    RESULT = "RESULT",
    FULL = "FULL",
    MARKET = "MARKET",
    LIMIT = "LIMIT"
}
declare enum OrderCancelReplaceSelfTradePreventionModeEnum$1 {
    NONE = "NONE",
    EXPIRE_TAKER = "EXPIRE_TAKER",
    EXPIRE_MAKER = "EXPIRE_MAKER",
    EXPIRE_BOTH = "EXPIRE_BOTH",
    DECREMENT = "DECREMENT",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum OrderCancelReplaceCancelRestrictionsEnum$1 {
    ONLY_NEW = "ONLY_NEW",
    NEW = "NEW",
    ONLY_PARTIALLY_FILLED = "ONLY_PARTIALLY_FILLED",
    PARTIALLY_FILLED = "PARTIALLY_FILLED"
}
declare enum OrderCancelReplaceOrderRateLimitExceededModeEnum$1 {
    DO_NOTHING = "DO_NOTHING",
    CANCEL_ONLY = "CANCEL_ONLY"
}
declare enum OrderListOcoSideEnum {
    BUY = "BUY",
    SELL = "SELL"
}
declare enum OrderListOcoAboveTypeEnum {
    STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
    STOP_LOSS = "STOP_LOSS",
    LIMIT_MAKER = "LIMIT_MAKER",
    TAKE_PROFIT = "TAKE_PROFIT",
    TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT"
}
declare enum OrderListOcoBelowTypeEnum {
    STOP_LOSS = "STOP_LOSS",
    STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
    TAKE_PROFIT = "TAKE_PROFIT",
    TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT"
}
declare enum OrderListOcoBelowTimeInForceEnum {
    belowType = "belowType",
    STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
    TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT"
}
declare enum OrderListOcoNewOrderRespTypeEnum {
    ACK = "ACK",
    RESULT = "RESULT",
    FULL = "FULL",
    MARKET = "MARKET",
    LIMIT = "LIMIT"
}
declare enum OrderListOcoSelfTradePreventionModeEnum {
    NONE = "NONE",
    EXPIRE_TAKER = "EXPIRE_TAKER",
    EXPIRE_MAKER = "EXPIRE_MAKER",
    EXPIRE_BOTH = "EXPIRE_BOTH",
    DECREMENT = "DECREMENT",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum OrderListOtoWorkingTypeEnum {
    LIMIT = "LIMIT",
    LIMIT_MAKER = "LIMIT_MAKER"
}
declare enum OrderListOtoWorkingSideEnum {
    BUY = "BUY",
    SELL = "SELL"
}
declare enum OrderListOtoPendingTypeEnum {
    LIMIT = "LIMIT",
    MARKET = "MARKET",
    STOP_LOSS = "STOP_LOSS",
    STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
    TAKE_PROFIT = "TAKE_PROFIT",
    TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
    LIMIT_MAKER = "LIMIT_MAKER"
}
declare enum OrderListOtoPendingSideEnum {
    BUY = "BUY",
    SELL = "SELL"
}
declare enum OrderListOtoNewOrderRespTypeEnum {
    ACK = "ACK",
    RESULT = "RESULT",
    FULL = "FULL",
    MARKET = "MARKET",
    LIMIT = "LIMIT"
}
declare enum OrderListOtoSelfTradePreventionModeEnum {
    NONE = "NONE",
    EXPIRE_TAKER = "EXPIRE_TAKER",
    EXPIRE_MAKER = "EXPIRE_MAKER",
    EXPIRE_BOTH = "EXPIRE_BOTH",
    DECREMENT = "DECREMENT",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum OrderListOtoWorkingTimeInForceEnum {
    GTC = "GTC",
    IOC = "IOC",
    FOK = "FOK"
}
declare enum OrderListOtoPendingTimeInForceEnum {
    GTC = "GTC",
    IOC = "IOC",
    FOK = "FOK"
}
declare enum OrderListOtocoWorkingTypeEnum {
    LIMIT = "LIMIT",
    LIMIT_MAKER = "LIMIT_MAKER"
}
declare enum OrderListOtocoWorkingSideEnum {
    BUY = "BUY",
    SELL = "SELL"
}
declare enum OrderListOtocoPendingSideEnum {
    BUY = "BUY",
    SELL = "SELL"
}
declare enum OrderListOtocoPendingAboveTypeEnum {
    STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
    STOP_LOSS = "STOP_LOSS",
    LIMIT_MAKER = "LIMIT_MAKER",
    TAKE_PROFIT = "TAKE_PROFIT",
    TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT"
}
declare enum OrderListOtocoNewOrderRespTypeEnum {
    ACK = "ACK",
    RESULT = "RESULT",
    FULL = "FULL",
    MARKET = "MARKET",
    LIMIT = "LIMIT"
}
declare enum OrderListOtocoSelfTradePreventionModeEnum {
    NONE = "NONE",
    EXPIRE_TAKER = "EXPIRE_TAKER",
    EXPIRE_MAKER = "EXPIRE_MAKER",
    EXPIRE_BOTH = "EXPIRE_BOTH",
    DECREMENT = "DECREMENT",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum OrderListOtocoWorkingTimeInForceEnum {
    GTC = "GTC",
    IOC = "IOC",
    FOK = "FOK"
}
declare enum OrderListOtocoPendingAboveTimeInForceEnum {
    GTC = "GTC",
    IOC = "IOC",
    FOK = "FOK"
}
declare enum OrderListOtocoPendingBelowTypeEnum {
    STOP_LOSS = "STOP_LOSS",
    STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
    TAKE_PROFIT = "TAKE_PROFIT",
    TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT"
}
declare enum OrderListOtocoPendingBelowTimeInForceEnum {
    GTC = "GTC",
    IOC = "IOC",
    FOK = "FOK"
}
declare enum OrderOcoSideEnum {
    BUY = "BUY",
    SELL = "SELL"
}
declare enum OrderOcoStopLimitTimeInForceEnum {
    GTC = "GTC",
    FOK = "FOK",
    IOC = "IOC"
}
declare enum OrderOcoNewOrderRespTypeEnum {
    ACK = "ACK",
    RESULT = "RESULT",
    FULL = "FULL",
    MARKET = "MARKET",
    LIMIT = "LIMIT"
}
declare enum OrderOcoSelfTradePreventionModeEnum {
    NONE = "NONE",
    EXPIRE_TAKER = "EXPIRE_TAKER",
    EXPIRE_MAKER = "EXPIRE_MAKER",
    EXPIRE_BOTH = "EXPIRE_BOTH",
    DECREMENT = "DECREMENT",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum SorOrderSideEnum {
    BUY = "BUY",
    SELL = "SELL"
}
declare enum SorOrderTypeEnum {
    MARKET = "MARKET",
    LIMIT = "LIMIT",
    STOP_LOSS = "STOP_LOSS",
    STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
    TAKE_PROFIT = "TAKE_PROFIT",
    TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
    LIMIT_MAKER = "LIMIT_MAKER",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum SorOrderTimeInForceEnum {
    GTC = "GTC",
    IOC = "IOC",
    FOK = "FOK",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum SorOrderNewOrderRespTypeEnum {
    ACK = "ACK",
    RESULT = "RESULT",
    FULL = "FULL",
    MARKET = "MARKET",
    LIMIT = "LIMIT"
}
declare enum SorOrderSelfTradePreventionModeEnum {
    NONE = "NONE",
    EXPIRE_TAKER = "EXPIRE_TAKER",
    EXPIRE_MAKER = "EXPIRE_MAKER",
    EXPIRE_BOTH = "EXPIRE_BOTH",
    DECREMENT = "DECREMENT",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 * UserDataStreamApi - interface
 * @interface UserDataStreamApi
 */
interface UserDataStreamApiInterface$1 {
    /**
     * Close out a user data stream.
     * Weight: 2
     *
     * @summary Close user data stream
     * @param {DeleteUserDataStreamRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof UserDataStreamApiInterface
     */
    deleteUserDataStream(requestParameters: DeleteUserDataStreamRequest): Promise<RestApiResponse<void>>;
    /**
     * Start a new user data stream. The stream will close after 60 minutes unless a keepalive is sent.
     * Weight: 2
     *
     * @summary Start user data stream
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof UserDataStreamApiInterface
     */
    newUserDataStream(): Promise<RestApiResponse<NewUserDataStreamResponse>>;
    /**
     * Keepalive a user data stream to prevent a time out. User data streams will close after 60 minutes. It's recommended to send a ping about every 30 minutes.
     * Weight: 2
     *
     * @summary Keepalive user data stream
     * @param {PutUserDataStreamRequest} requestParameters Request parameters.
     *
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof UserDataStreamApiInterface
     */
    putUserDataStream(requestParameters: PutUserDataStreamRequest): Promise<RestApiResponse<void>>;
}
/**
 * Request parameters for deleteUserDataStream operation in UserDataStreamApi.
 * @interface DeleteUserDataStreamRequest
 */
interface DeleteUserDataStreamRequest {
    /**
     *
     * @type {string}
     * @memberof UserDataStreamApiDeleteUserDataStream
     */
    readonly listenKey: string;
}
/**
 * Request parameters for putUserDataStream operation in UserDataStreamApi.
 * @interface PutUserDataStreamRequest
 */
interface PutUserDataStreamRequest {
    /**
     *
     * @type {string}
     * @memberof UserDataStreamApiPutUserDataStream
     */
    readonly listenKey: string;
}
/**
 * UserDataStreamApi - object-oriented interface
 * @class UserDataStreamApi
 */
declare class UserDataStreamApi$1 implements UserDataStreamApiInterface$1 {
    private readonly configuration;
    private localVarAxiosParamCreator;
    constructor(configuration: ConfigurationRestAPI);
    /**
     * Close out a user data stream.
     * Weight: 2
     *
     * @summary Close user data stream
     * @param {DeleteUserDataStreamRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<void>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof UserDataStreamApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/user-data-stream-endpoints---deprecated#close-user-data-stream-user_stream Binance API Documentation}
     */
    deleteUserDataStream(requestParameters: DeleteUserDataStreamRequest): Promise<RestApiResponse<void>>;
    /**
     * Start a new user data stream. The stream will close after 60 minutes unless a keepalive is sent.
     * Weight: 2
     *
     * @summary Start user data stream
     * @returns {Promise<RestApiResponse<NewUserDataStreamResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof UserDataStreamApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/user-data-stream-endpoints---deprecated#start-user-data-stream-user_stream Binance API Documentation}
     */
    newUserDataStream(): Promise<RestApiResponse<NewUserDataStreamResponse>>;
    /**
     * Keepalive a user data stream to prevent a time out. User data streams will close after 60 minutes. It's recommended to send a ping about every 30 minutes.
     * Weight: 2
     *
     * @summary Keepalive user data stream
     * @param {PutUserDataStreamRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<void>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @memberof UserDataStreamApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/user-data-stream-endpoints---deprecated#keepalive-user-data-stream-user_stream Binance API Documentation}
     */
    putUserDataStream(requestParameters: PutUserDataStreamRequest): Promise<RestApiResponse<void>>;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

declare class RestAPI {
    private configuration;
    private accountApi;
    private generalApi;
    private marketApi;
    private tradeApi;
    private userDataStreamApi;
    constructor(configuration: ConfigurationRestAPI);
    /**
     * Generic function to send a request.
     * @param endpoint - The API endpoint to call.
     * @param method - HTTP method to use (GET, POST, DELETE, etc.).
     * @param params - Query parameters for the request.
     * @param timeUnit - The time unit for the request.
     * @returns A promise resolving to the response data object.
     */
    sendRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>, timeUnit?: TimeUnit): Promise<RestApiResponse<T>>;
    /**
     * Generic function to send a signed request.
     * @param endpoint - The API endpoint to call.
     * @param method - HTTP method to use (GET, POST, DELETE, etc.).
     * @param params - Query parameters for the request.
     * @param timeUnit - The time unit for the request.
     * @returns A promise resolving to the response data object.
     */
    sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>, timeUnit?: TimeUnit): Promise<RestApiResponse<T>>;
    /**
     * Get current account commission rates.
     * Weight: 20
     *
     * @summary Query Commission Rates
     * @param {AccountCommissionRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AccountCommissionResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-commission-rates-user_data Binance API Documentation}
     */
    accountCommission(requestParameters: AccountCommissionRequest$1): Promise<RestApiResponse<AccountCommissionResponse$1>>;
    /**
     * Retrieves all order lists based on provided optional parameters.
     *
     * Note that the time between `startTime` and `endTime` can't be longer than 24 hours.
     * Weight: 20
     *
     * @summary Query all Order lists
     * @param {AllOrderListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AllOrderListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-all-order-lists-user_data Binance API Documentation}
     */
    allOrderList(requestParameters?: AllOrderListRequest): Promise<RestApiResponse<AllOrderListResponse>>;
    /**
     * Get all account orders; active, canceled, or filled.
     * Weight: 20
     *
     * @summary All orders
     * @param {AllOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AllOrdersResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#all-orders-user_data Binance API Documentation}
     */
    allOrders(requestParameters: AllOrdersRequest$1): Promise<RestApiResponse<AllOrdersResponse$1>>;
    /**
     * Get current account information.
     * Weight: 20
     *
     * @summary Account information
     * @param {GetAccountRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetAccountResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#account-information-user_data Binance API Documentation}
     */
    getAccount(requestParameters?: GetAccountRequest): Promise<RestApiResponse<GetAccountResponse>>;
    /**
     * Get all open orders on a symbol. **Careful** when accessing this with no symbol.
     * Weight: 6 for a single symbol; **80** when the symbol parameter is omitted
     *
     * @summary Current open orders
     * @param {GetOpenOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetOpenOrdersResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#current-open-orders-user_data Binance API Documentation}
     */
    getOpenOrders(requestParameters?: GetOpenOrdersRequest): Promise<RestApiResponse<GetOpenOrdersResponse>>;
    /**
     * Check an order's status.
     * Weight: 4
     *
     * @summary Query order
     * @param {GetOrderRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetOrderResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-order-user_data Binance API Documentation}
     */
    getOrder(requestParameters: GetOrderRequest): Promise<RestApiResponse<GetOrderResponse>>;
    /**
     * Retrieves a specific order list based on provided optional parameters.
     * Weight: 4
     *
     * @summary Query Order list
     * @param {GetOrderListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetOrderListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-order-list-user_data Binance API Documentation}
     */
    getOrderList(requestParameters?: GetOrderListRequest): Promise<RestApiResponse<GetOrderListResponse>>;
    /**
     * Retrieves allocations resulting from SOR order placement.
     * Weight: 20
     *
     * @summary Query Allocations
     * @param {MyAllocationsRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<MyAllocationsResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-allocations-user_data Binance API Documentation}
     */
    myAllocations(requestParameters: MyAllocationsRequest$1): Promise<RestApiResponse<MyAllocationsResponse$1>>;
    /**
     * Displays the list of orders that were expired due to STP.
     *
     * These are the combinations supported:
     *
     * `symbol` + `preventedMatchId`
     * `symbol` + `orderId`
     * `symbol` + `orderId` + `fromPreventedMatchId` (`limit` will default to 500)
     * `symbol` + `orderId` + `fromPreventedMatchId` + `limit`
     * Weight: Case                            | Weight
     * ----                            | -----
     * If `symbol` is invalid          | 2
     * Querying by `preventedMatchId`  | 2
     * Querying by `orderId`           | 20
     *
     * @summary Query Prevented Matches
     * @param {MyPreventedMatchesRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<MyPreventedMatchesResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-prevented-matches-user_data Binance API Documentation}
     */
    myPreventedMatches(requestParameters: MyPreventedMatchesRequest$1): Promise<RestApiResponse<MyPreventedMatchesResponse$1>>;
    /**
     * Get trades for a specific account and symbol.
     * Weight: Condition| Weight|
     * ---| ---
     * |Without orderId|20|
     * |With orderId|5|
     *
     * @summary Account trade list
     * @param {MyTradesRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<MyTradesResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#account-trade-list-user_data Binance API Documentation}
     */
    myTrades(requestParameters: MyTradesRequest$1): Promise<RestApiResponse<MyTradesResponse$1>>;
    /**
     *
     * Weight: 6
     *
     * @summary Query Open Order lists
     * @param {OpenOrderListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OpenOrderListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-open-order-lists-user_data Binance API Documentation}
     */
    openOrderList(requestParameters?: OpenOrderListRequest): Promise<RestApiResponse<OpenOrderListResponse>>;
    /**
     * Queries all amendments of a single order.
     * Weight: 4
     *
     * @summary Query Order Amendments
     * @param {OrderAmendmentsRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OrderAmendmentsResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-order-amendments-user_data Binance API Documentation}
     */
    orderAmendments(requestParameters: OrderAmendmentsRequest$1): Promise<RestApiResponse<OrderAmendmentsResponse$1>>;
    /**
     * Displays the user's unfilled order count for all intervals.
     * Weight: 40
     *
     * @summary Query Unfilled Order Count
     * @param {RateLimitOrderRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<RateLimitOrderResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#query-unfilled-order-count-user_data Binance API Documentation}
     */
    rateLimitOrder(requestParameters?: RateLimitOrderRequest): Promise<RestApiResponse<RateLimitOrderResponse>>;
    /**
     * Current exchange trading rules and symbol information
     * Weight: 20
     *
     * @summary Exchange information
     * @param {ExchangeInfoRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<ExchangeInfoResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-endpoints#exchange-information Binance API Documentation}
     */
    exchangeInfo(requestParameters?: ExchangeInfoRequest$1): Promise<RestApiResponse<ExchangeInfoResponse$1>>;
    /**
     * Test connectivity to the Rest API.
     * Weight: 1
     *
     * @summary Test connectivity
     * @returns {Promise<RestApiResponse<void>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-endpoints#test-connectivity Binance API Documentation}
     */
    ping(): Promise<RestApiResponse<void>>;
    /**
     * Test connectivity to the Rest API and get the current server time.
     * Weight: 1
     *
     * @summary Check server time
     * @returns {Promise<RestApiResponse<TimeResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-endpoints#check-server-time Binance API Documentation}
     */
    time(): Promise<RestApiResponse<TimeResponse$1>>;
    /**
     * Get compressed, aggregate trades. Trades that fill at the time, from the same taker order, with the same price will have the quantity aggregated.
     * Weight: 4
     *
     * @summary Compressed/Aggregate trades list
     * @param {AggTradesRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AggTradesResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#compressedaggregate-trades-list Binance API Documentation}
     */
    aggTrades(requestParameters: AggTradesRequest): Promise<RestApiResponse<AggTradesResponse>>;
    /**
     * Current average price for a symbol.
     * Weight: 2
     *
     * @summary Current average price
     * @param {AvgPriceRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<AvgPriceResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#current-average-price Binance API Documentation}
     */
    avgPrice(requestParameters: AvgPriceRequest$2): Promise<RestApiResponse<AvgPriceResponse$2>>;
    /**
     *
     * Weight: Adjusted based on the limit:
     *
     * |Limit|Request Weight
     * ------|-------
     * 1-100|  5
     * 101-500| 25
     * 501-1000| 50
     * 1001-5000| 250
     *
     * @summary Order book
     * @param {DepthRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<DepthResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#order-book Binance API Documentation}
     */
    depth(requestParameters: DepthRequest$1): Promise<RestApiResponse<DepthResponse$1>>;
    /**
     * Get recent trades.
     * Weight: 25
     *
     * @summary Recent trades list
     * @param {GetTradesRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<GetTradesResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#recent-trades-list Binance API Documentation}
     */
    getTrades(requestParameters: GetTradesRequest): Promise<RestApiResponse<GetTradesResponse>>;
    /**
     * Get older trades.
     * Weight: 25
     *
     * @summary Old trade lookup
     * @param {HistoricalTradesRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<HistoricalTradesResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#old-trade-lookup Binance API Documentation}
     */
    historicalTrades(requestParameters: HistoricalTradesRequest): Promise<RestApiResponse<HistoricalTradesResponse>>;
    /**
     * Kline/candlestick bars for a symbol.
     * Klines are uniquely identified by their open time.
     * Weight: 2
     *
     * @summary Kline/Candlestick data
     * @param {KlinesRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<KlinesResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#klinecandlestick-data Binance API Documentation}
     */
    klines(requestParameters: KlinesRequest$1): Promise<RestApiResponse<KlinesResponse$1>>;
    /**
     *
     * Weight: 4 for each requested <tt>symbol</tt> regardless of <tt>windowSize</tt>. <br/><br/> The weight for this request will cap at 200 once the number of `symbols` in the request is more than 50.
     *
     * @summary Rolling window price change statistics
     * @param {TickerRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<TickerResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#rolling-window-price-change-statistics Binance API Documentation}
     */
    ticker(requestParameters?: TickerRequest$2): Promise<RestApiResponse<TickerResponse$2>>;
    /**
     * 24 hour rolling window price change statistics. **Careful** when accessing this with no symbol.
     * Weight: <table>
     * <thead>
     * <tr>
     * <th>Parameter</th>
     * <th>Symbols Provided</th>
     * <th>Weight</th>
     * </tr>
     * </thead>
     * <tbody>
     * <tr>
     * <td rowspan="2">symbol</td>
     * <td>1</td>
     * <td>2</td>
     * </tr>
     * <tr>
     * <td>symbol parameter is omitted</td>
     * <td>80</td>
     * </tr>
     * <tr>
     * <td rowspan="4">symbols</td>
     * <td>1-20</td>
     * <td>2</td>
     * </tr>
     * <tr>
     * <td>21-100</td>
     * <td>40</td>
     * </tr>
     * <tr>
     * <td>101 or more</td>
     * <td>80</td>
     * </tr>
     * <tr>
     * <td>symbols parameter is omitted</td>
     * <td>80</td>
     * </tr>
     * </tbody>
     * </table>
     *
     * @summary 24hr ticker price change statistics
     * @param {Ticker24hrRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<Ticker24hrResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#24hr-ticker-price-change-statistics Binance API Documentation}
     */
    ticker24hr(requestParameters?: Ticker24hrRequest$1): Promise<RestApiResponse<Ticker24hrResponse$1>>;
    /**
     * Best price/qty on the order book for a symbol or symbols.
     * Weight: <table>
     * <thead>
     * <tr>
     * <th>Parameter</th>
     * <th>Symbols Provided</th>
     * <th>Weight</th>
     * </tr>
     * </thead>
     * <tbody>
     * <tr>
     * <td rowspan="2">symbol</td>
     * <td>1</td>
     * <td>2</td>
     * </tr>
     * <tr>
     * <td>symbol parameter is omitted</td>
     * <td>4</td>
     * </tr>
     * <tr>
     * <td>symbols</td>
     * <td>Any</td>
     * <td>4</td>
     * </tr>
     * </tbody>
     * </table>
     *
     * @summary Symbol order book ticker
     * @param {TickerBookTickerRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<TickerBookTickerResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#symbol-order-book-ticker Binance API Documentation}
     */
    tickerBookTicker(requestParameters?: TickerBookTickerRequest): Promise<RestApiResponse<TickerBookTickerResponse>>;
    /**
     * Latest price for a symbol or symbols.
     * Weight: <table>
     * <thead>
     * <tr>
     * <th>Parameter</th>
     * <th>Symbols Provided</th>
     * <th>Weight</th>
     * </tr>
     * </thead>
     * <tbody>
     * <tr>
     * <td rowspan="2">symbol</td>
     * <td>1</td>
     * <td>2</td>
     * </tr>
     * <tr>
     * <td>symbol parameter is omitted</td>
     * <td>4</td>
     * </tr>
     * <tr>
     * <td>symbols</td>
     * <td>Any</td>
     * <td>4</td>
     * </tr>
     * </tbody>
     * </table>
     *
     * @summary Symbol price ticker
     * @param {TickerPriceRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<TickerPriceResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#symbol-price-ticker Binance API Documentation}
     */
    tickerPrice(requestParameters?: TickerPriceRequest$1): Promise<RestApiResponse<TickerPriceResponse$1>>;
    /**
     * Price change statistics for a trading day.
     * Weight: 4 for each requested <tt>symbol</tt>. <br/><br/> The weight for this request will cap at 200 once the number of `symbols` in the request is more than 50.
     *
     * @summary Trading Day Ticker
     * @param {TickerTradingDayRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<TickerTradingDayResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#trading-day-ticker Binance API Documentation}
     */
    tickerTradingDay(requestParameters?: TickerTradingDayRequest$1): Promise<RestApiResponse<TickerTradingDayResponse$1>>;
    /**
     * The request is similar to klines having the same parameters and response.
     *
     * `uiKlines` return modified kline data, optimized for presentation of candlestick charts.
     * Weight: 2
     *
     * @summary UIKlines
     * @param {UiKlinesRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<UiKlinesResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#uiklines Binance API Documentation}
     */
    uiKlines(requestParameters: UiKlinesRequest$1): Promise<RestApiResponse<UiKlinesResponse$1>>;
    /**
     * Cancels all active orders on a symbol.
     * This includes orders that are part of an order list.
     * Weight: 1
     *
     * @summary Cancel All Open Orders on a Symbol
     * @param {DeleteOpenOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<DeleteOpenOrdersResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#cancel-all-open-orders-on-a-symbol-trade Binance API Documentation}
     */
    deleteOpenOrders(requestParameters: DeleteOpenOrdersRequest): Promise<RestApiResponse<DeleteOpenOrdersResponse>>;
    /**
     * Cancel an active order.
     * Weight: 1
     *
     * @summary Cancel order
     * @param {DeleteOrderRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<DeleteOrderResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#cancel-order-trade Binance API Documentation}
     */
    deleteOrder(requestParameters: DeleteOrderRequest): Promise<RestApiResponse<DeleteOrderResponse>>;
    /**
     * Cancel an entire Order list
     * Weight: 1
     *
     * @summary Cancel Order list
     * @param {DeleteOrderListRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<DeleteOrderListResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#cancel-order-list-trade Binance API Documentation}
     */
    deleteOrderList(requestParameters: DeleteOrderListRequest): Promise<RestApiResponse<DeleteOrderListResponse>>;
    /**
     * Send in a new order.
     *
     * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * @summary New order
     * @param {NewOrderRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<NewOrderResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-trade Binance API Documentation}
     */
    newOrder(requestParameters: NewOrderRequest): Promise<RestApiResponse<NewOrderResponse>>;
    /**
     * Reduce the quantity of an existing open order.
     *
     * This adds 0 orders to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     *
     * Read [Order Amend Keep Priority FAQ](faqs/order_amend_keep_priority.md) to learn more.
     * Weight: 4
     *
     * @summary Order Amend Keep Priority
     * @param {OrderAmendKeepPriorityRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OrderAmendKeepPriorityResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#order-amend-keep-priority-trade Binance API Documentation}
     */
    orderAmendKeepPriority(requestParameters: OrderAmendKeepPriorityRequest$1): Promise<RestApiResponse<OrderAmendKeepPriorityResponse$1>>;
    /**
     * Cancels an existing order and places a new order on the same symbol.
     *
     * Filters and Order Count are evaluated before the processing of the cancellation and order placement occurs.
     *
     * A new order that was not attempted (i.e. when `newOrderResult: NOT_ATTEMPTED`), will still increase the unfilled order count by 1.
     * Weight: 1
     *
     * @summary Cancel an Existing Order and Send a New Order
     * @param {OrderCancelReplaceRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OrderCancelReplaceResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#cancel-an-existing-order-and-send-a-new-order-trade Binance API Documentation}
     */
    orderCancelReplace(requestParameters: OrderCancelReplaceRequest$1): Promise<RestApiResponse<OrderCancelReplaceResponse$1>>;
    /**
     * Send in an one-cancels-the-other (OCO) pair, where activation of one order immediately cancels the other.
     *
     * An OCO has 2 orders called the **above order** and **below order**.
     * One of the orders must be a `LIMIT_MAKER/TAKE_PROFIT/TAKE_PROFIT_LIMIT` order and the other must be `STOP_LOSS` or `STOP_LOSS_LIMIT` order.
     * Price restrictions
     * If the OCO is on the `SELL` side:
     * `LIMIT_MAKER/TAKE_PROFIT_LIMIT` `price` > Last Traded Price >  `STOP_LOSS/STOP_LOSS_LIMIT` `stopPrice`
     * `TAKE_PROFIT stopPrice` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
     * If the OCO is on the `BUY` side:
     * `LIMIT_MAKER/TAKE_PROFIT_LIMIT price` < Last Traded Price < `stopPrice`
     * `TAKE_PROFIT stopPrice` < Last Traded Price < `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
     * OCOs add **2 orders** to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * Unfilled Order Count: 2
     *
     * @summary New Order list - OCO
     * @param {OrderListOcoRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OrderListOcoResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-list---oco-trade Binance API Documentation}
     */
    orderListOco(requestParameters: OrderListOcoRequest): Promise<RestApiResponse<OrderListOcoResponse>>;
    /**
     * Place an OTO.
     *
     * An OTO (One-Triggers-the-Other) is an order list comprised of 2 orders.
     * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
     * The second order is called the **pending order**. It can be any order type except for `MARKET` orders using parameter `quoteOrderQty`. The pending order is only placed on the order book when the working order gets **fully filled**.
     * If either the working order or the pending order is cancelled individually, the other order in the order list will also be canceled or expired.
     * When the order list is placed, if the working order gets **immediately fully filled**, the placement response will show the working order as `FILLED` but the pending order will still appear as `PENDING_NEW`. You need to query the status of the pending order again to see its updated status.
     * OTOs add **2 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * Unfilled Order Count: 2
     *
     * @summary New Order list - OTO
     * @param {OrderListOtoRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OrderListOtoResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-list---oto-trade Binance API Documentation}
     */
    orderListOto(requestParameters: OrderListOtoRequest): Promise<RestApiResponse<OrderListOtoResponse>>;
    /**
     * Place an OTOCO.
     *
     * An OTOCO (One-Triggers-One-Cancels-the-Other) is an order list comprised of 3 orders.
     * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
     * The behavior of the working order is the same as the [OTO](#new-order-list---oto-trade).
     * OTOCO has 2 pending orders (pending above and pending below), forming an OCO pair. The pending orders are only placed on the order book when the working order gets **fully filled**.
     * The rules of the pending above and pending below follow the same rules as the [Order list OCO](#new-order-list---oco-trade).
     * OTOCOs add **3 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * Unfilled Order Count: 3
     *
     * @summary New Order list - OTOCO
     * @param {OrderListOtocoRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OrderListOtocoResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-list---otoco-trade Binance API Documentation}
     */
    orderListOtoco(requestParameters: OrderListOtocoRequest): Promise<RestApiResponse<OrderListOtocoResponse>>;
    /**
     * Send in a new OCO.
     *
     * Price Restrictions:
     * `SELL`: Limit Price > Last Price > Stop Price
     * `BUY`: Limit Price < Last Price < Stop Price
     * Quantity Restrictions:
     * Both legs must have the same quantity.
     * `ICEBERG` quantities however do not have to be the same
     * `OCO` adds **2 orders** to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * Unfilled Order Count: 2
     *
     * @summary New OCO - Deprecated
     * @param {OrderOcoRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OrderOcoResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-oco---deprecated-trade Binance API Documentation}
     */
    orderOco(requestParameters: OrderOcoRequest): Promise<RestApiResponse<OrderOcoResponse>>;
    /**
     * Test new order creation and signature/recvWindow long.
     * Creates and validates a new order but does not send it into the matching engine.
     * Weight: |Condition| Request Weight|
     * |------------           | ------------ |
     * |Without `computeCommissionRates`| 1|
     * |With `computeCommissionRates`|20|
     *
     * @summary Test new order
     * @param {OrderTestRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<OrderTestResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#test-new-order-trade Binance API Documentation}
     */
    orderTest(requestParameters?: OrderTestRequest$1): Promise<RestApiResponse<OrderTestResponse$1>>;
    /**
     * Places an order using smart order routing (SOR).
     *
     * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     *
     * Read [SOR FAQ](faqs/sor_faq.md) to learn more.
     * Weight: 1
     *
     * Unfilled Order Count: 1
     *
     * @summary New order using SOR
     * @param {SorOrderRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<SorOrderResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-using-sor-trade Binance API Documentation}
     */
    sorOrder(requestParameters: SorOrderRequest): Promise<RestApiResponse<SorOrderResponse>>;
    /**
     * Test new order creation and signature/recvWindow using smart order routing (SOR).
     * Creates and validates a new order but does not send it into the matching engine.
     * Weight: | Condition | Request Weight |
     * | --------- | -------------- |
     * | Without `computeCommissionRates`  |  1 |
     * | With `computeCommissionRates`     | 20 |
     *
     * @summary Test new order using SOR
     * @param {SorOrderTestRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<SorOrderTestResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#test-new-order-using-sor-trade Binance API Documentation}
     */
    sorOrderTest(requestParameters?: SorOrderTestRequest$1): Promise<RestApiResponse<SorOrderTestResponse$1>>;
    /**
     * Close out a user data stream.
     * Weight: 2
     *
     * @summary Close user data stream
     * @param {DeleteUserDataStreamRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<void>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/user-data-stream-endpoints---deprecated#close-user-data-stream-user_stream Binance API Documentation}
     */
    deleteUserDataStream(requestParameters: DeleteUserDataStreamRequest): Promise<RestApiResponse<void>>;
    /**
     * Start a new user data stream. The stream will close after 60 minutes unless a keepalive is sent.
     * Weight: 2
     *
     * @summary Start user data stream
     * @returns {Promise<RestApiResponse<NewUserDataStreamResponse>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/user-data-stream-endpoints---deprecated#start-user-data-stream-user_stream Binance API Documentation}
     */
    newUserDataStream(): Promise<RestApiResponse<NewUserDataStreamResponse>>;
    /**
     * Keepalive a user data stream to prevent a time out. User data streams will close after 60 minutes. It's recommended to send a ping about every 30 minutes.
     * Weight: 2
     *
     * @summary Keepalive user data stream
     * @param {PutUserDataStreamRequest} requestParameters Request parameters.
     * @returns {Promise<RestApiResponse<void>>}
     * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/rest-api/user-data-stream-endpoints---deprecated#keepalive-user-data-stream-user_stream Binance API Documentation}
     */
    putUserDataStream(requestParameters: PutUserDataStreamRequest): Promise<RestApiResponse<void>>;
}

/**
 * Binance Spot REST API
 *
 * OpenAPI Specifications for the Binance Spot REST API
 *
 * API documents:
 * - [Github rest-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md)
 * - [General API information for rest-api on website](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

type index$2_AccountCommissionResponseDiscount = AccountCommissionResponseDiscount;
type index$2_AccountCommissionResponseStandardCommission = AccountCommissionResponseStandardCommission;
type index$2_AccountCommissionResponseTaxCommission = AccountCommissionResponseTaxCommission;
type index$2_AggTradesRequest = AggTradesRequest;
type index$2_AggTradesResponse = AggTradesResponse;
type index$2_AggTradesResponseInner = AggTradesResponseInner;
type index$2_AllOrderListRequest = AllOrderListRequest;
type index$2_AllOrderListResponse = AllOrderListResponse;
type index$2_AllOrderListResponseInner = AllOrderListResponseInner;
type index$2_AllOrderListResponseInnerOrdersInner = AllOrderListResponseInnerOrdersInner;
type index$2_AllOrdersResponseInner = AllOrdersResponseInner;
type index$2_DeleteOpenOrdersRequest = DeleteOpenOrdersRequest;
type index$2_DeleteOpenOrdersResponse = DeleteOpenOrdersResponse;
type index$2_DeleteOpenOrdersResponseInner = DeleteOpenOrdersResponseInner;
type index$2_DeleteOrderCancelRestrictionsEnum = DeleteOrderCancelRestrictionsEnum;
declare const index$2_DeleteOrderCancelRestrictionsEnum: typeof DeleteOrderCancelRestrictionsEnum;
type index$2_DeleteOrderListRequest = DeleteOrderListRequest;
type index$2_DeleteOrderListResponse = DeleteOrderListResponse;
type index$2_DeleteOrderListResponseOrderReportsInner = DeleteOrderListResponseOrderReportsInner;
type index$2_DeleteOrderListResponseOrdersInner = DeleteOrderListResponseOrdersInner;
type index$2_DeleteOrderRequest = DeleteOrderRequest;
type index$2_DeleteOrderResponse = DeleteOrderResponse;
type index$2_DeleteUserDataStreamRequest = DeleteUserDataStreamRequest;
type index$2_ExchangeInfoResponseExchangeFiltersInner = ExchangeInfoResponseExchangeFiltersInner;
type index$2_ExchangeInfoResponseSymbolsInner = ExchangeInfoResponseSymbolsInner;
type index$2_GetAccountRequest = GetAccountRequest;
type index$2_GetAccountResponse = GetAccountResponse;
type index$2_GetAccountResponseBalancesInner = GetAccountResponseBalancesInner;
type index$2_GetAccountResponseCommissionRates = GetAccountResponseCommissionRates;
type index$2_GetOpenOrdersRequest = GetOpenOrdersRequest;
type index$2_GetOpenOrdersResponse = GetOpenOrdersResponse;
type index$2_GetOrderListRequest = GetOrderListRequest;
type index$2_GetOrderListResponse = GetOrderListResponse;
type index$2_GetOrderListResponseOrdersInner = GetOrderListResponseOrdersInner;
type index$2_GetOrderRequest = GetOrderRequest;
type index$2_GetOrderResponse = GetOrderResponse;
type index$2_GetTradesRequest = GetTradesRequest;
type index$2_GetTradesResponse = GetTradesResponse;
type index$2_HistoricalTradesRequest = HistoricalTradesRequest;
type index$2_HistoricalTradesResponse = HistoricalTradesResponse;
type index$2_HistoricalTradesResponseInner = HistoricalTradesResponseInner;
type index$2_MyAllocationsResponseInner = MyAllocationsResponseInner;
type index$2_MyPreventedMatchesResponseInner = MyPreventedMatchesResponseInner;
type index$2_MyTradesResponseInner = MyTradesResponseInner;
type index$2_NewOrderNewOrderRespTypeEnum = NewOrderNewOrderRespTypeEnum;
declare const index$2_NewOrderNewOrderRespTypeEnum: typeof NewOrderNewOrderRespTypeEnum;
type index$2_NewOrderRequest = NewOrderRequest;
type index$2_NewOrderResponse = NewOrderResponse;
type index$2_NewOrderResponseFillsInner = NewOrderResponseFillsInner;
type index$2_NewOrderSelfTradePreventionModeEnum = NewOrderSelfTradePreventionModeEnum;
declare const index$2_NewOrderSelfTradePreventionModeEnum: typeof NewOrderSelfTradePreventionModeEnum;
type index$2_NewOrderSideEnum = NewOrderSideEnum;
declare const index$2_NewOrderSideEnum: typeof NewOrderSideEnum;
type index$2_NewOrderTimeInForceEnum = NewOrderTimeInForceEnum;
declare const index$2_NewOrderTimeInForceEnum: typeof NewOrderTimeInForceEnum;
type index$2_NewOrderTypeEnum = NewOrderTypeEnum;
declare const index$2_NewOrderTypeEnum: typeof NewOrderTypeEnum;
type index$2_NewUserDataStreamResponse = NewUserDataStreamResponse;
type index$2_OpenOrderListRequest = OpenOrderListRequest;
type index$2_OpenOrderListResponse = OpenOrderListResponse;
type index$2_OpenOrderListResponseInner = OpenOrderListResponseInner;
type index$2_OpenOrderListResponseInnerOrdersInner = OpenOrderListResponseInnerOrdersInner;
type index$2_OrderAmendKeepPriorityResponseAmendedOrder = OrderAmendKeepPriorityResponseAmendedOrder;
type index$2_OrderAmendKeepPriorityResponseListStatus = OrderAmendKeepPriorityResponseListStatus;
type index$2_OrderAmendKeepPriorityResponseListStatusOrdersInner = OrderAmendKeepPriorityResponseListStatusOrdersInner;
type index$2_OrderAmendmentsResponseInner = OrderAmendmentsResponseInner;
type index$2_OrderCancelReplaceResponseData = OrderCancelReplaceResponseData;
type index$2_OrderCancelReplaceResponseDataCancelResponse = OrderCancelReplaceResponseDataCancelResponse;
type index$2_OrderCancelReplaceResponseDataNewOrderResponse = OrderCancelReplaceResponseDataNewOrderResponse;
type index$2_OrderListOcoAboveTypeEnum = OrderListOcoAboveTypeEnum;
declare const index$2_OrderListOcoAboveTypeEnum: typeof OrderListOcoAboveTypeEnum;
type index$2_OrderListOcoBelowTimeInForceEnum = OrderListOcoBelowTimeInForceEnum;
declare const index$2_OrderListOcoBelowTimeInForceEnum: typeof OrderListOcoBelowTimeInForceEnum;
type index$2_OrderListOcoBelowTypeEnum = OrderListOcoBelowTypeEnum;
declare const index$2_OrderListOcoBelowTypeEnum: typeof OrderListOcoBelowTypeEnum;
type index$2_OrderListOcoNewOrderRespTypeEnum = OrderListOcoNewOrderRespTypeEnum;
declare const index$2_OrderListOcoNewOrderRespTypeEnum: typeof OrderListOcoNewOrderRespTypeEnum;
type index$2_OrderListOcoRequest = OrderListOcoRequest;
type index$2_OrderListOcoResponse = OrderListOcoResponse;
type index$2_OrderListOcoResponseOrderReportsInner = OrderListOcoResponseOrderReportsInner;
type index$2_OrderListOcoResponseOrdersInner = OrderListOcoResponseOrdersInner;
type index$2_OrderListOcoSelfTradePreventionModeEnum = OrderListOcoSelfTradePreventionModeEnum;
declare const index$2_OrderListOcoSelfTradePreventionModeEnum: typeof OrderListOcoSelfTradePreventionModeEnum;
type index$2_OrderListOcoSideEnum = OrderListOcoSideEnum;
declare const index$2_OrderListOcoSideEnum: typeof OrderListOcoSideEnum;
type index$2_OrderListOtoNewOrderRespTypeEnum = OrderListOtoNewOrderRespTypeEnum;
declare const index$2_OrderListOtoNewOrderRespTypeEnum: typeof OrderListOtoNewOrderRespTypeEnum;
type index$2_OrderListOtoPendingSideEnum = OrderListOtoPendingSideEnum;
declare const index$2_OrderListOtoPendingSideEnum: typeof OrderListOtoPendingSideEnum;
type index$2_OrderListOtoPendingTimeInForceEnum = OrderListOtoPendingTimeInForceEnum;
declare const index$2_OrderListOtoPendingTimeInForceEnum: typeof OrderListOtoPendingTimeInForceEnum;
type index$2_OrderListOtoPendingTypeEnum = OrderListOtoPendingTypeEnum;
declare const index$2_OrderListOtoPendingTypeEnum: typeof OrderListOtoPendingTypeEnum;
type index$2_OrderListOtoRequest = OrderListOtoRequest;
type index$2_OrderListOtoResponse = OrderListOtoResponse;
type index$2_OrderListOtoResponseOrderReportsInner = OrderListOtoResponseOrderReportsInner;
type index$2_OrderListOtoResponseOrdersInner = OrderListOtoResponseOrdersInner;
type index$2_OrderListOtoSelfTradePreventionModeEnum = OrderListOtoSelfTradePreventionModeEnum;
declare const index$2_OrderListOtoSelfTradePreventionModeEnum: typeof OrderListOtoSelfTradePreventionModeEnum;
type index$2_OrderListOtoWorkingSideEnum = OrderListOtoWorkingSideEnum;
declare const index$2_OrderListOtoWorkingSideEnum: typeof OrderListOtoWorkingSideEnum;
type index$2_OrderListOtoWorkingTimeInForceEnum = OrderListOtoWorkingTimeInForceEnum;
declare const index$2_OrderListOtoWorkingTimeInForceEnum: typeof OrderListOtoWorkingTimeInForceEnum;
type index$2_OrderListOtoWorkingTypeEnum = OrderListOtoWorkingTypeEnum;
declare const index$2_OrderListOtoWorkingTypeEnum: typeof OrderListOtoWorkingTypeEnum;
type index$2_OrderListOtocoNewOrderRespTypeEnum = OrderListOtocoNewOrderRespTypeEnum;
declare const index$2_OrderListOtocoNewOrderRespTypeEnum: typeof OrderListOtocoNewOrderRespTypeEnum;
type index$2_OrderListOtocoPendingAboveTimeInForceEnum = OrderListOtocoPendingAboveTimeInForceEnum;
declare const index$2_OrderListOtocoPendingAboveTimeInForceEnum: typeof OrderListOtocoPendingAboveTimeInForceEnum;
type index$2_OrderListOtocoPendingAboveTypeEnum = OrderListOtocoPendingAboveTypeEnum;
declare const index$2_OrderListOtocoPendingAboveTypeEnum: typeof OrderListOtocoPendingAboveTypeEnum;
type index$2_OrderListOtocoPendingBelowTimeInForceEnum = OrderListOtocoPendingBelowTimeInForceEnum;
declare const index$2_OrderListOtocoPendingBelowTimeInForceEnum: typeof OrderListOtocoPendingBelowTimeInForceEnum;
type index$2_OrderListOtocoPendingBelowTypeEnum = OrderListOtocoPendingBelowTypeEnum;
declare const index$2_OrderListOtocoPendingBelowTypeEnum: typeof OrderListOtocoPendingBelowTypeEnum;
type index$2_OrderListOtocoPendingSideEnum = OrderListOtocoPendingSideEnum;
declare const index$2_OrderListOtocoPendingSideEnum: typeof OrderListOtocoPendingSideEnum;
type index$2_OrderListOtocoRequest = OrderListOtocoRequest;
type index$2_OrderListOtocoResponse = OrderListOtocoResponse;
type index$2_OrderListOtocoResponseOrderReportsInner = OrderListOtocoResponseOrderReportsInner;
type index$2_OrderListOtocoResponseOrdersInner = OrderListOtocoResponseOrdersInner;
type index$2_OrderListOtocoSelfTradePreventionModeEnum = OrderListOtocoSelfTradePreventionModeEnum;
declare const index$2_OrderListOtocoSelfTradePreventionModeEnum: typeof OrderListOtocoSelfTradePreventionModeEnum;
type index$2_OrderListOtocoWorkingSideEnum = OrderListOtocoWorkingSideEnum;
declare const index$2_OrderListOtocoWorkingSideEnum: typeof OrderListOtocoWorkingSideEnum;
type index$2_OrderListOtocoWorkingTimeInForceEnum = OrderListOtocoWorkingTimeInForceEnum;
declare const index$2_OrderListOtocoWorkingTimeInForceEnum: typeof OrderListOtocoWorkingTimeInForceEnum;
type index$2_OrderListOtocoWorkingTypeEnum = OrderListOtocoWorkingTypeEnum;
declare const index$2_OrderListOtocoWorkingTypeEnum: typeof OrderListOtocoWorkingTypeEnum;
type index$2_OrderOcoNewOrderRespTypeEnum = OrderOcoNewOrderRespTypeEnum;
declare const index$2_OrderOcoNewOrderRespTypeEnum: typeof OrderOcoNewOrderRespTypeEnum;
type index$2_OrderOcoRequest = OrderOcoRequest;
type index$2_OrderOcoResponse = OrderOcoResponse;
type index$2_OrderOcoResponseOrderReportsInner = OrderOcoResponseOrderReportsInner;
type index$2_OrderOcoResponseOrdersInner = OrderOcoResponseOrdersInner;
type index$2_OrderOcoSelfTradePreventionModeEnum = OrderOcoSelfTradePreventionModeEnum;
declare const index$2_OrderOcoSelfTradePreventionModeEnum: typeof OrderOcoSelfTradePreventionModeEnum;
type index$2_OrderOcoSideEnum = OrderOcoSideEnum;
declare const index$2_OrderOcoSideEnum: typeof OrderOcoSideEnum;
type index$2_OrderOcoStopLimitTimeInForceEnum = OrderOcoStopLimitTimeInForceEnum;
declare const index$2_OrderOcoStopLimitTimeInForceEnum: typeof OrderOcoStopLimitTimeInForceEnum;
type index$2_OrderTestResponseDiscount = OrderTestResponseDiscount;
type index$2_OrderTestResponseStandardCommissionForOrder = OrderTestResponseStandardCommissionForOrder;
type index$2_PutUserDataStreamRequest = PutUserDataStreamRequest;
type index$2_RateLimitOrderRequest = RateLimitOrderRequest;
type index$2_RateLimitOrderResponse = RateLimitOrderResponse;
type index$2_RateLimitOrderResponseInner = RateLimitOrderResponseInner;
type index$2_RestAPI = RestAPI;
declare const index$2_RestAPI: typeof RestAPI;
type index$2_SorOrderNewOrderRespTypeEnum = SorOrderNewOrderRespTypeEnum;
declare const index$2_SorOrderNewOrderRespTypeEnum: typeof SorOrderNewOrderRespTypeEnum;
type index$2_SorOrderRequest = SorOrderRequest;
type index$2_SorOrderResponse = SorOrderResponse;
type index$2_SorOrderResponseFillsInner = SorOrderResponseFillsInner;
type index$2_SorOrderSelfTradePreventionModeEnum = SorOrderSelfTradePreventionModeEnum;
declare const index$2_SorOrderSelfTradePreventionModeEnum: typeof SorOrderSelfTradePreventionModeEnum;
type index$2_SorOrderSideEnum = SorOrderSideEnum;
declare const index$2_SorOrderSideEnum: typeof SorOrderSideEnum;
type index$2_SorOrderTimeInForceEnum = SorOrderTimeInForceEnum;
declare const index$2_SorOrderTimeInForceEnum: typeof SorOrderTimeInForceEnum;
type index$2_SorOrderTypeEnum = SorOrderTypeEnum;
declare const index$2_SorOrderTypeEnum: typeof SorOrderTypeEnum;
type index$2_Ticker24hrResponse2Inner = Ticker24hrResponse2Inner;
type index$2_TickerBookTickerRequest = TickerBookTickerRequest;
type index$2_TickerBookTickerResponse = TickerBookTickerResponse;
type index$2_TickerBookTickerResponse1 = TickerBookTickerResponse1;
type index$2_TickerBookTickerResponse2 = TickerBookTickerResponse2;
type index$2_TickerBookTickerResponse2Inner = TickerBookTickerResponse2Inner;
type index$2_TickerPriceResponse2Inner = TickerPriceResponse2Inner;
type index$2_TickerResponse2Inner = TickerResponse2Inner;
type index$2_TickerTradingDayResponse1 = TickerTradingDayResponse1;
type index$2_TickerTradingDayResponse2 = TickerTradingDayResponse2;
type index$2_TickerTradingDayResponse2Inner = TickerTradingDayResponse2Inner;
declare namespace index$2 {
  export { AccountApi$1 as AccountApi, type AccountApiInterface$1 as AccountApiInterface, type AccountCommissionRequest$1 as AccountCommissionRequest, type AccountCommissionResponse$1 as AccountCommissionResponse, type index$2_AccountCommissionResponseDiscount as AccountCommissionResponseDiscount, type index$2_AccountCommissionResponseStandardCommission as AccountCommissionResponseStandardCommission, type index$2_AccountCommissionResponseTaxCommission as AccountCommissionResponseTaxCommission, type index$2_AggTradesRequest as AggTradesRequest, type index$2_AggTradesResponse as AggTradesResponse, type index$2_AggTradesResponseInner as AggTradesResponseInner, type index$2_AllOrderListRequest as AllOrderListRequest, type index$2_AllOrderListResponse as AllOrderListResponse, type index$2_AllOrderListResponseInner as AllOrderListResponseInner, type index$2_AllOrderListResponseInnerOrdersInner as AllOrderListResponseInnerOrdersInner, type AllOrdersRequest$1 as AllOrdersRequest, type AllOrdersResponse$1 as AllOrdersResponse, type index$2_AllOrdersResponseInner as AllOrdersResponseInner, type AvgPriceRequest$2 as AvgPriceRequest, type AvgPriceResponse$2 as AvgPriceResponse, type index$2_DeleteOpenOrdersRequest as DeleteOpenOrdersRequest, type index$2_DeleteOpenOrdersResponse as DeleteOpenOrdersResponse, type index$2_DeleteOpenOrdersResponseInner as DeleteOpenOrdersResponseInner, index$2_DeleteOrderCancelRestrictionsEnum as DeleteOrderCancelRestrictionsEnum, type index$2_DeleteOrderListRequest as DeleteOrderListRequest, type index$2_DeleteOrderListResponse as DeleteOrderListResponse, type index$2_DeleteOrderListResponseOrderReportsInner as DeleteOrderListResponseOrderReportsInner, type index$2_DeleteOrderListResponseOrdersInner as DeleteOrderListResponseOrdersInner, type index$2_DeleteOrderRequest as DeleteOrderRequest, type index$2_DeleteOrderResponse as DeleteOrderResponse, type index$2_DeleteUserDataStreamRequest as DeleteUserDataStreamRequest, type DepthRequest$1 as DepthRequest, type DepthResponse$1 as DepthResponse, type ExchangeInfoRequest$1 as ExchangeInfoRequest, type ExchangeInfoResponse$1 as ExchangeInfoResponse, type index$2_ExchangeInfoResponseExchangeFiltersInner as ExchangeInfoResponseExchangeFiltersInner, type ExchangeInfoResponseRateLimitsInner$1 as ExchangeInfoResponseRateLimitsInner, type index$2_ExchangeInfoResponseSymbolsInner as ExchangeInfoResponseSymbolsInner, ExchangeInfoSymbolStatusEnum$1 as ExchangeInfoSymbolStatusEnum, GeneralApi$1 as GeneralApi, type GeneralApiInterface$1 as GeneralApiInterface, type index$2_GetAccountRequest as GetAccountRequest, type index$2_GetAccountResponse as GetAccountResponse, type index$2_GetAccountResponseBalancesInner as GetAccountResponseBalancesInner, type index$2_GetAccountResponseCommissionRates as GetAccountResponseCommissionRates, type index$2_GetOpenOrdersRequest as GetOpenOrdersRequest, type index$2_GetOpenOrdersResponse as GetOpenOrdersResponse, type index$2_GetOrderListRequest as GetOrderListRequest, type index$2_GetOrderListResponse as GetOrderListResponse, type index$2_GetOrderListResponseOrdersInner as GetOrderListResponseOrdersInner, type index$2_GetOrderRequest as GetOrderRequest, type index$2_GetOrderResponse as GetOrderResponse, type index$2_GetTradesRequest as GetTradesRequest, type index$2_GetTradesResponse as GetTradesResponse, type index$2_HistoricalTradesRequest as HistoricalTradesRequest, type index$2_HistoricalTradesResponse as HistoricalTradesResponse, type index$2_HistoricalTradesResponseInner as HistoricalTradesResponseInner, KlinesIntervalEnum$1 as KlinesIntervalEnum, type KlinesItem$1 as KlinesItem, type KlinesItemInner$1 as KlinesItemInner, type KlinesRequest$1 as KlinesRequest, type KlinesResponse$1 as KlinesResponse, MarketApi$1 as MarketApi, type MarketApiInterface$1 as MarketApiInterface, type MyAllocationsRequest$1 as MyAllocationsRequest, type MyAllocationsResponse$1 as MyAllocationsResponse, type index$2_MyAllocationsResponseInner as MyAllocationsResponseInner, type MyPreventedMatchesRequest$1 as MyPreventedMatchesRequest, type MyPreventedMatchesResponse$1 as MyPreventedMatchesResponse, type index$2_MyPreventedMatchesResponseInner as MyPreventedMatchesResponseInner, type MyTradesRequest$1 as MyTradesRequest, type MyTradesResponse$1 as MyTradesResponse, type index$2_MyTradesResponseInner as MyTradesResponseInner, index$2_NewOrderNewOrderRespTypeEnum as NewOrderNewOrderRespTypeEnum, type index$2_NewOrderRequest as NewOrderRequest, type index$2_NewOrderResponse as NewOrderResponse, type index$2_NewOrderResponseFillsInner as NewOrderResponseFillsInner, index$2_NewOrderSelfTradePreventionModeEnum as NewOrderSelfTradePreventionModeEnum, index$2_NewOrderSideEnum as NewOrderSideEnum, index$2_NewOrderTimeInForceEnum as NewOrderTimeInForceEnum, index$2_NewOrderTypeEnum as NewOrderTypeEnum, type index$2_NewUserDataStreamResponse as NewUserDataStreamResponse, type index$2_OpenOrderListRequest as OpenOrderListRequest, type index$2_OpenOrderListResponse as OpenOrderListResponse, type index$2_OpenOrderListResponseInner as OpenOrderListResponseInner, type index$2_OpenOrderListResponseInnerOrdersInner as OpenOrderListResponseInnerOrdersInner, type OrderAmendKeepPriorityRequest$1 as OrderAmendKeepPriorityRequest, type OrderAmendKeepPriorityResponse$1 as OrderAmendKeepPriorityResponse, type index$2_OrderAmendKeepPriorityResponseAmendedOrder as OrderAmendKeepPriorityResponseAmendedOrder, type index$2_OrderAmendKeepPriorityResponseListStatus as OrderAmendKeepPriorityResponseListStatus, type index$2_OrderAmendKeepPriorityResponseListStatusOrdersInner as OrderAmendKeepPriorityResponseListStatusOrdersInner, type OrderAmendmentsRequest$1 as OrderAmendmentsRequest, type OrderAmendmentsResponse$1 as OrderAmendmentsResponse, type index$2_OrderAmendmentsResponseInner as OrderAmendmentsResponseInner, OrderCancelReplaceCancelReplaceModeEnum$1 as OrderCancelReplaceCancelReplaceModeEnum, OrderCancelReplaceCancelRestrictionsEnum$1 as OrderCancelReplaceCancelRestrictionsEnum, OrderCancelReplaceNewOrderRespTypeEnum$1 as OrderCancelReplaceNewOrderRespTypeEnum, OrderCancelReplaceOrderRateLimitExceededModeEnum$1 as OrderCancelReplaceOrderRateLimitExceededModeEnum, type OrderCancelReplaceRequest$1 as OrderCancelReplaceRequest, type OrderCancelReplaceResponse$1 as OrderCancelReplaceResponse, type index$2_OrderCancelReplaceResponseData as OrderCancelReplaceResponseData, type index$2_OrderCancelReplaceResponseDataCancelResponse as OrderCancelReplaceResponseDataCancelResponse, type index$2_OrderCancelReplaceResponseDataNewOrderResponse as OrderCancelReplaceResponseDataNewOrderResponse, OrderCancelReplaceSelfTradePreventionModeEnum$1 as OrderCancelReplaceSelfTradePreventionModeEnum, OrderCancelReplaceSideEnum$1 as OrderCancelReplaceSideEnum, OrderCancelReplaceTimeInForceEnum$1 as OrderCancelReplaceTimeInForceEnum, OrderCancelReplaceTypeEnum$1 as OrderCancelReplaceTypeEnum, index$2_OrderListOcoAboveTypeEnum as OrderListOcoAboveTypeEnum, index$2_OrderListOcoBelowTimeInForceEnum as OrderListOcoBelowTimeInForceEnum, index$2_OrderListOcoBelowTypeEnum as OrderListOcoBelowTypeEnum, index$2_OrderListOcoNewOrderRespTypeEnum as OrderListOcoNewOrderRespTypeEnum, type index$2_OrderListOcoRequest as OrderListOcoRequest, type index$2_OrderListOcoResponse as OrderListOcoResponse, type index$2_OrderListOcoResponseOrderReportsInner as OrderListOcoResponseOrderReportsInner, type index$2_OrderListOcoResponseOrdersInner as OrderListOcoResponseOrdersInner, index$2_OrderListOcoSelfTradePreventionModeEnum as OrderListOcoSelfTradePreventionModeEnum, index$2_OrderListOcoSideEnum as OrderListOcoSideEnum, index$2_OrderListOtoNewOrderRespTypeEnum as OrderListOtoNewOrderRespTypeEnum, index$2_OrderListOtoPendingSideEnum as OrderListOtoPendingSideEnum, index$2_OrderListOtoPendingTimeInForceEnum as OrderListOtoPendingTimeInForceEnum, index$2_OrderListOtoPendingTypeEnum as OrderListOtoPendingTypeEnum, type index$2_OrderListOtoRequest as OrderListOtoRequest, type index$2_OrderListOtoResponse as OrderListOtoResponse, type index$2_OrderListOtoResponseOrderReportsInner as OrderListOtoResponseOrderReportsInner, type index$2_OrderListOtoResponseOrdersInner as OrderListOtoResponseOrdersInner, index$2_OrderListOtoSelfTradePreventionModeEnum as OrderListOtoSelfTradePreventionModeEnum, index$2_OrderListOtoWorkingSideEnum as OrderListOtoWorkingSideEnum, index$2_OrderListOtoWorkingTimeInForceEnum as OrderListOtoWorkingTimeInForceEnum, index$2_OrderListOtoWorkingTypeEnum as OrderListOtoWorkingTypeEnum, index$2_OrderListOtocoNewOrderRespTypeEnum as OrderListOtocoNewOrderRespTypeEnum, index$2_OrderListOtocoPendingAboveTimeInForceEnum as OrderListOtocoPendingAboveTimeInForceEnum, index$2_OrderListOtocoPendingAboveTypeEnum as OrderListOtocoPendingAboveTypeEnum, index$2_OrderListOtocoPendingBelowTimeInForceEnum as OrderListOtocoPendingBelowTimeInForceEnum, index$2_OrderListOtocoPendingBelowTypeEnum as OrderListOtocoPendingBelowTypeEnum, index$2_OrderListOtocoPendingSideEnum as OrderListOtocoPendingSideEnum, type index$2_OrderListOtocoRequest as OrderListOtocoRequest, type index$2_OrderListOtocoResponse as OrderListOtocoResponse, type index$2_OrderListOtocoResponseOrderReportsInner as OrderListOtocoResponseOrderReportsInner, type index$2_OrderListOtocoResponseOrdersInner as OrderListOtocoResponseOrdersInner, index$2_OrderListOtocoSelfTradePreventionModeEnum as OrderListOtocoSelfTradePreventionModeEnum, index$2_OrderListOtocoWorkingSideEnum as OrderListOtocoWorkingSideEnum, index$2_OrderListOtocoWorkingTimeInForceEnum as OrderListOtocoWorkingTimeInForceEnum, index$2_OrderListOtocoWorkingTypeEnum as OrderListOtocoWorkingTypeEnum, index$2_OrderOcoNewOrderRespTypeEnum as OrderOcoNewOrderRespTypeEnum, type index$2_OrderOcoRequest as OrderOcoRequest, type index$2_OrderOcoResponse as OrderOcoResponse, type index$2_OrderOcoResponseOrderReportsInner as OrderOcoResponseOrderReportsInner, type index$2_OrderOcoResponseOrdersInner as OrderOcoResponseOrdersInner, index$2_OrderOcoSelfTradePreventionModeEnum as OrderOcoSelfTradePreventionModeEnum, index$2_OrderOcoSideEnum as OrderOcoSideEnum, index$2_OrderOcoStopLimitTimeInForceEnum as OrderOcoStopLimitTimeInForceEnum, type OrderTestRequest$1 as OrderTestRequest, type OrderTestResponse$1 as OrderTestResponse, type index$2_OrderTestResponseDiscount as OrderTestResponseDiscount, type index$2_OrderTestResponseStandardCommissionForOrder as OrderTestResponseStandardCommissionForOrder, type index$2_PutUserDataStreamRequest as PutUserDataStreamRequest, type index$2_RateLimitOrderRequest as RateLimitOrderRequest, type index$2_RateLimitOrderResponse as RateLimitOrderResponse, type index$2_RateLimitOrderResponseInner as RateLimitOrderResponseInner, index$2_RestAPI as RestAPI, index$2_SorOrderNewOrderRespTypeEnum as SorOrderNewOrderRespTypeEnum, type index$2_SorOrderRequest as SorOrderRequest, type index$2_SorOrderResponse as SorOrderResponse, type index$2_SorOrderResponseFillsInner as SorOrderResponseFillsInner, index$2_SorOrderSelfTradePreventionModeEnum as SorOrderSelfTradePreventionModeEnum, index$2_SorOrderSideEnum as SorOrderSideEnum, type SorOrderTestRequest$1 as SorOrderTestRequest, type SorOrderTestResponse$1 as SorOrderTestResponse, index$2_SorOrderTimeInForceEnum as SorOrderTimeInForceEnum, index$2_SorOrderTypeEnum as SorOrderTypeEnum, type Ticker24hrRequest$1 as Ticker24hrRequest, type Ticker24hrResponse$1 as Ticker24hrResponse, type Ticker24hrResponse1$1 as Ticker24hrResponse1, type Ticker24hrResponse2$1 as Ticker24hrResponse2, type index$2_Ticker24hrResponse2Inner as Ticker24hrResponse2Inner, Ticker24hrTypeEnum$1 as Ticker24hrTypeEnum, type index$2_TickerBookTickerRequest as TickerBookTickerRequest, type index$2_TickerBookTickerResponse as TickerBookTickerResponse, type index$2_TickerBookTickerResponse1 as TickerBookTickerResponse1, type index$2_TickerBookTickerResponse2 as TickerBookTickerResponse2, type index$2_TickerBookTickerResponse2Inner as TickerBookTickerResponse2Inner, type TickerPriceRequest$1 as TickerPriceRequest, type TickerPriceResponse$1 as TickerPriceResponse, type TickerPriceResponse1$1 as TickerPriceResponse1, type TickerPriceResponse2$1 as TickerPriceResponse2, type index$2_TickerPriceResponse2Inner as TickerPriceResponse2Inner, type TickerRequest$2 as TickerRequest, type TickerResponse$2 as TickerResponse, type TickerResponse1$1 as TickerResponse1, type TickerResponse2$1 as TickerResponse2, type index$2_TickerResponse2Inner as TickerResponse2Inner, type TickerTradingDayRequest$1 as TickerTradingDayRequest, type TickerTradingDayResponse$1 as TickerTradingDayResponse, type index$2_TickerTradingDayResponse1 as TickerTradingDayResponse1, type index$2_TickerTradingDayResponse2 as TickerTradingDayResponse2, type index$2_TickerTradingDayResponse2Inner as TickerTradingDayResponse2Inner, TickerTradingDayTypeEnum$1 as TickerTradingDayTypeEnum, TickerTypeEnum$1 as TickerTypeEnum, TickerWindowSizeEnum$1 as TickerWindowSizeEnum, type TimeResponse$1 as TimeResponse, TradeApi$1 as TradeApi, type TradeApiInterface$1 as TradeApiInterface, UiKlinesIntervalEnum$1 as UiKlinesIntervalEnum, type UiKlinesItem$1 as UiKlinesItem, type UiKlinesRequest$1 as UiKlinesRequest, type UiKlinesResponse$1 as UiKlinesResponse, UserDataStreamApi$1 as UserDataStreamApi, type UserDataStreamApiInterface$1 as UserDataStreamApiInterface };
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AccountCommissionResponseRateLimitsInner
 */
interface AccountCommissionResponseRateLimitsInner {
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponseRateLimitsInner
     */
    rateLimitType?: string;
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponseRateLimitsInner
     */
    interval?: string;
    /**
     *
     * @type {number}
     * @memberof AccountCommissionResponseRateLimitsInner
     */
    intervalNum?: number;
    /**
     *
     * @type {number}
     * @memberof AccountCommissionResponseRateLimitsInner
     */
    limit?: number;
    /**
     *
     * @type {number}
     * @memberof AccountCommissionResponseRateLimitsInner
     */
    count?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AccountCommissionResponseResultDiscount
 */
interface AccountCommissionResponseResultDiscount {
    /**
     *
     * @type {boolean}
     * @memberof AccountCommissionResponseResultDiscount
     */
    enabledForAccount?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof AccountCommissionResponseResultDiscount
     */
    enabledForSymbol?: boolean;
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponseResultDiscount
     */
    discountAsset?: string;
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponseResultDiscount
     */
    discount?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AccountCommissionResponseResultStandardCommission
 */
interface AccountCommissionResponseResultStandardCommission {
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponseResultStandardCommission
     */
    maker?: string;
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponseResultStandardCommission
     */
    taker?: string;
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponseResultStandardCommission
     */
    buyer?: string;
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponseResultStandardCommission
     */
    seller?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AccountCommissionResponseResultTaxCommission
 */
interface AccountCommissionResponseResultTaxCommission {
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponseResultTaxCommission
     */
    maker?: string;
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponseResultTaxCommission
     */
    taker?: string;
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponseResultTaxCommission
     */
    buyer?: string;
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponseResultTaxCommission
     */
    seller?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface AccountCommissionResponseResult
 */
interface AccountCommissionResponseResult {
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponseResult
     */
    symbol?: string;
    /**
     *
     * @type {AccountCommissionResponseResultStandardCommission}
     * @memberof AccountCommissionResponseResult
     */
    standardCommission?: AccountCommissionResponseResultStandardCommission;
    /**
     *
     * @type {AccountCommissionResponseResultTaxCommission}
     * @memberof AccountCommissionResponseResult
     */
    taxCommission?: AccountCommissionResponseResultTaxCommission;
    /**
     *
     * @type {AccountCommissionResponseResultDiscount}
     * @memberof AccountCommissionResponseResult
     */
    discount?: AccountCommissionResponseResultDiscount;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface AccountCommissionResponse
 */
interface AccountCommissionResponse {
    /**
     *
     * @type {string}
     * @memberof AccountCommissionResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof AccountCommissionResponse
     */
    status?: number;
    /**
     *
     * @type {AccountCommissionResponseResult}
     * @memberof AccountCommissionResponse
     */
    result?: AccountCommissionResponseResult;
    /**
     *
     * @type {Array<AccountCommissionResponseRateLimitsInner>}
     * @memberof AccountCommissionResponse
     */
    rateLimits?: Array<AccountCommissionResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AccountRateLimitsOrdersResponseRateLimitsInner
 */
interface AccountRateLimitsOrdersResponseRateLimitsInner {
    /**
     *
     * @type {string}
     * @memberof AccountRateLimitsOrdersResponseRateLimitsInner
     */
    rateLimitType?: string;
    /**
     *
     * @type {string}
     * @memberof AccountRateLimitsOrdersResponseRateLimitsInner
     */
    interval?: string;
    /**
     *
     * @type {number}
     * @memberof AccountRateLimitsOrdersResponseRateLimitsInner
     */
    intervalNum?: number;
    /**
     *
     * @type {number}
     * @memberof AccountRateLimitsOrdersResponseRateLimitsInner
     */
    limit?: number;
    /**
     *
     * @type {number}
     * @memberof AccountRateLimitsOrdersResponseRateLimitsInner
     */
    count?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AccountRateLimitsOrdersResponseResultInner
 */
interface AccountRateLimitsOrdersResponseResultInner {
    /**
     *
     * @type {string}
     * @memberof AccountRateLimitsOrdersResponseResultInner
     */
    rateLimitType?: string;
    /**
     *
     * @type {string}
     * @memberof AccountRateLimitsOrdersResponseResultInner
     */
    interval?: string;
    /**
     *
     * @type {number}
     * @memberof AccountRateLimitsOrdersResponseResultInner
     */
    intervalNum?: number;
    /**
     *
     * @type {number}
     * @memberof AccountRateLimitsOrdersResponseResultInner
     */
    limit?: number;
    /**
     *
     * @type {number}
     * @memberof AccountRateLimitsOrdersResponseResultInner
     */
    count?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface AccountRateLimitsOrdersResponse
 */
interface AccountRateLimitsOrdersResponse {
    /**
     *
     * @type {string}
     * @memberof AccountRateLimitsOrdersResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof AccountRateLimitsOrdersResponse
     */
    status?: number;
    /**
     *
     * @type {Array<AccountRateLimitsOrdersResponseResultInner>}
     * @memberof AccountRateLimitsOrdersResponse
     */
    result?: Array<AccountRateLimitsOrdersResponseResultInner>;
    /**
     *
     * @type {Array<AccountRateLimitsOrdersResponseRateLimitsInner>}
     * @memberof AccountRateLimitsOrdersResponse
     */
    rateLimits?: Array<AccountRateLimitsOrdersResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AccountStatusResponseResultBalancesInner
 */
interface AccountStatusResponseResultBalancesInner {
    /**
     *
     * @type {string}
     * @memberof AccountStatusResponseResultBalancesInner
     */
    asset?: string;
    /**
     *
     * @type {string}
     * @memberof AccountStatusResponseResultBalancesInner
     */
    free?: string;
    /**
     *
     * @type {string}
     * @memberof AccountStatusResponseResultBalancesInner
     */
    locked?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AccountStatusResponseResultCommissionRates
 */
interface AccountStatusResponseResultCommissionRates {
    /**
     *
     * @type {string}
     * @memberof AccountStatusResponseResultCommissionRates
     */
    maker?: string;
    /**
     *
     * @type {string}
     * @memberof AccountStatusResponseResultCommissionRates
     */
    taker?: string;
    /**
     *
     * @type {string}
     * @memberof AccountStatusResponseResultCommissionRates
     */
    buyer?: string;
    /**
     *
     * @type {string}
     * @memberof AccountStatusResponseResultCommissionRates
     */
    seller?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface AccountStatusResponseResult
 */
interface AccountStatusResponseResult {
    /**
     *
     * @type {number}
     * @memberof AccountStatusResponseResult
     */
    makerCommission?: number;
    /**
     *
     * @type {number}
     * @memberof AccountStatusResponseResult
     */
    takerCommission?: number;
    /**
     *
     * @type {number}
     * @memberof AccountStatusResponseResult
     */
    buyerCommission?: number;
    /**
     *
     * @type {number}
     * @memberof AccountStatusResponseResult
     */
    sellerCommission?: number;
    /**
     *
     * @type {boolean}
     * @memberof AccountStatusResponseResult
     */
    canTrade?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof AccountStatusResponseResult
     */
    canWithdraw?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof AccountStatusResponseResult
     */
    canDeposit?: boolean;
    /**
     *
     * @type {AccountStatusResponseResultCommissionRates}
     * @memberof AccountStatusResponseResult
     */
    commissionRates?: AccountStatusResponseResultCommissionRates;
    /**
     *
     * @type {boolean}
     * @memberof AccountStatusResponseResult
     */
    brokered?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof AccountStatusResponseResult
     */
    requireSelfTradePrevention?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof AccountStatusResponseResult
     */
    preventSor?: boolean;
    /**
     *
     * @type {number}
     * @memberof AccountStatusResponseResult
     */
    updateTime?: number;
    /**
     *
     * @type {string}
     * @memberof AccountStatusResponseResult
     */
    accountType?: string;
    /**
     *
     * @type {Array<AccountStatusResponseResultBalancesInner>}
     * @memberof AccountStatusResponseResult
     */
    balances?: Array<AccountStatusResponseResultBalancesInner>;
    /**
     *
     * @type {Array<string>}
     * @memberof AccountStatusResponseResult
     */
    permissions?: Array<string>;
    /**
     *
     * @type {number}
     * @memberof AccountStatusResponseResult
     */
    uid?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface AccountStatusResponse
 */
interface AccountStatusResponse {
    /**
     *
     * @type {string}
     * @memberof AccountStatusResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof AccountStatusResponse
     */
    status?: number;
    /**
     *
     * @type {AccountStatusResponseResult}
     * @memberof AccountStatusResponse
     */
    result?: AccountStatusResponseResult;
    /**
     *
     * @type {Array<AccountCommissionResponseRateLimitsInner>}
     * @memberof AccountStatusResponse
     */
    rateLimits?: Array<AccountCommissionResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListCancelResponseResultOrdersInner
 */
interface OrderListCancelResponseResultOrdersInner {
    /**
     *
     * @type {string}
     * @memberof OrderListCancelResponseResultOrdersInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListCancelResponseResultOrdersInner
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListCancelResponseResultOrdersInner
     */
    clientOrderId?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface AllOrderListsResponseResultInner
 */
interface AllOrderListsResponseResultInner {
    /**
     *
     * @type {number}
     * @memberof AllOrderListsResponseResultInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof AllOrderListsResponseResultInner
     */
    contingencyType?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrderListsResponseResultInner
     */
    listStatusType?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrderListsResponseResultInner
     */
    listOrderStatus?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrderListsResponseResultInner
     */
    listClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof AllOrderListsResponseResultInner
     */
    transactionTime?: number;
    /**
     *
     * @type {string}
     * @memberof AllOrderListsResponseResultInner
     */
    symbol?: string;
    /**
     *
     * @type {Array<OrderListCancelResponseResultOrdersInner>}
     * @memberof AllOrderListsResponseResultInner
     */
    orders?: Array<OrderListCancelResponseResultOrdersInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface AllOrderListsResponse
 */
interface AllOrderListsResponse {
    /**
     *
     * @type {string}
     * @memberof AllOrderListsResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof AllOrderListsResponse
     */
    status?: number;
    /**
     *
     * @type {Array<AllOrderListsResponseResultInner>}
     * @memberof AllOrderListsResponse
     */
    result?: Array<AllOrderListsResponseResultInner>;
    /**
     *
     * @type {Array<AccountCommissionResponseRateLimitsInner>}
     * @memberof AllOrderListsResponse
     */
    rateLimits?: Array<AccountCommissionResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AllOrdersResponseResultInner
 */
interface AllOrdersResponseResultInner {
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseResultInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof AllOrdersResponseResultInner
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof AllOrdersResponseResultInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseResultInner
     */
    clientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseResultInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseResultInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseResultInner
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseResultInner
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseResultInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseResultInner
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseResultInner
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseResultInner
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseResultInner
     */
    stopPrice?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseResultInner
     */
    icebergQty?: string;
    /**
     *
     * @type {number}
     * @memberof AllOrdersResponseResultInner
     */
    time?: number;
    /**
     *
     * @type {number}
     * @memberof AllOrdersResponseResultInner
     */
    updateTime?: number;
    /**
     *
     * @type {boolean}
     * @memberof AllOrdersResponseResultInner
     */
    isWorking?: boolean;
    /**
     *
     * @type {number}
     * @memberof AllOrdersResponseResultInner
     */
    workingTime?: number;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseResultInner
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseResultInner
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {number}
     * @memberof AllOrdersResponseResultInner
     */
    preventedMatchId?: number;
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponseResultInner
     */
    preventedQuantity?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface AllOrdersResponse
 */
interface AllOrdersResponse {
    /**
     *
     * @type {string}
     * @memberof AllOrdersResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof AllOrdersResponse
     */
    status?: number;
    /**
     *
     * @type {Array<AllOrdersResponseResultInner>}
     * @memberof AllOrdersResponse
     */
    result?: Array<AllOrdersResponseResultInner>;
    /**
     *
     * @type {Array<AccountCommissionResponseRateLimitsInner>}
     * @memberof AllOrdersResponse
     */
    rateLimits?: Array<AccountCommissionResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AvgPriceResponseRateLimitsInner
 */
interface AvgPriceResponseRateLimitsInner {
    /**
     *
     * @type {string}
     * @memberof AvgPriceResponseRateLimitsInner
     */
    rateLimitType?: string;
    /**
     *
     * @type {string}
     * @memberof AvgPriceResponseRateLimitsInner
     */
    interval?: string;
    /**
     *
     * @type {number}
     * @memberof AvgPriceResponseRateLimitsInner
     */
    intervalNum?: number;
    /**
     *
     * @type {number}
     * @memberof AvgPriceResponseRateLimitsInner
     */
    limit?: number;
    /**
     *
     * @type {number}
     * @memberof AvgPriceResponseRateLimitsInner
     */
    count?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AvgPriceResponseResult
 */
interface AvgPriceResponseResult {
    /**
     *
     * @type {number}
     * @memberof AvgPriceResponseResult
     */
    mins?: number;
    /**
     *
     * @type {string}
     * @memberof AvgPriceResponseResult
     */
    price?: string;
    /**
     *
     * @type {number}
     * @memberof AvgPriceResponseResult
     */
    closeTime?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface AvgPriceResponse
 */
interface AvgPriceResponse$1 {
    /**
     *
     * @type {string}
     * @memberof AvgPriceResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof AvgPriceResponse
     */
    status?: number;
    /**
     *
     * @type {AvgPriceResponseResult}
     * @memberof AvgPriceResponse
     */
    result?: AvgPriceResponseResult;
    /**
     *
     * @type {Array<AvgPriceResponseRateLimitsInner>}
     * @memberof AvgPriceResponse
     */
    rateLimits?: Array<AvgPriceResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface DepthResponseResult
 */
interface DepthResponseResult {
    /**
     *
     * @type {number}
     * @memberof DepthResponseResult
     */
    lastUpdateId?: number;
    /**
     *
     * @type {Array<Array<string>>}
     * @memberof DepthResponseResult
     */
    bids?: Array<Array<string>>;
    /**
     *
     * @type {Array<Array<string>>}
     * @memberof DepthResponseResult
     */
    asks?: Array<Array<string>>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface DepthResponse
 */
interface DepthResponse {
    /**
     *
     * @type {string}
     * @memberof DepthResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof DepthResponse
     */
    status?: number;
    /**
     *
     * @type {DepthResponseResult}
     * @memberof DepthResponse
     */
    result?: DepthResponseResult;
    /**
     *
     * @type {Array<AvgPriceResponseRateLimitsInner>}
     * @memberof DepthResponse
     */
    rateLimits?: Array<AvgPriceResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExchangeInfoResponseRateLimitsInner
 */
interface ExchangeInfoResponseRateLimitsInner {
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseRateLimitsInner
     */
    rateLimitType?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseRateLimitsInner
     */
    interval?: string;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseRateLimitsInner
     */
    intervalNum?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseRateLimitsInner
     */
    limit?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExchangeInfoResponseResultExchangeFiltersInner
 */
interface ExchangeInfoResponseResultExchangeFiltersInner {
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    filterType?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    minPrice?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    maxPrice?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    tickSize?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    multiplierUp?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    multiplierDown?: string;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    avgPriceMins?: number;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    bidMultiplierUp?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    bidMultiplierDown?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    askMultiplierUp?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    askMultiplierDown?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    minQty?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    maxQty?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    stepSize?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    minNotional?: string;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    applyToMarket?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    applyMinToMarket?: boolean;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    maxNotional?: string;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    applyMaxToMarket?: boolean;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    limit?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    maxNumOrders?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    maxNumAlgoOrders?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    maxNumIcebergOrders?: number;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    maxPosition?: string;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    minTrailingAboveDelta?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    maxTrailingAboveDelta?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    minTrailingBelowDelta?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseResultExchangeFiltersInner
     */
    maxTrailingBelowDelta?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExchangeInfoResponseResultRateLimitsInner
 */
interface ExchangeInfoResponseResultRateLimitsInner {
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultRateLimitsInner
     */
    rateLimitType?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultRateLimitsInner
     */
    interval?: string;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseResultRateLimitsInner
     */
    intervalNum?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseResultRateLimitsInner
     */
    limit?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ExchangeInfoResponseResultSorsInner
 */
interface ExchangeInfoResponseResultSorsInner {
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultSorsInner
     */
    baseAsset?: string;
    /**
     *
     * @type {Array<string>}
     * @memberof ExchangeInfoResponseResultSorsInner
     */
    symbols?: Array<string>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface ExchangeInfoResponseResultSymbolsInner
 */
interface ExchangeInfoResponseResultSymbolsInner {
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    baseAsset?: string;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    baseAssetPrecision?: number;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    quoteAsset?: string;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    quotePrecision?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    quoteAssetPrecision?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    baseCommissionPrecision?: number;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    quoteCommissionPrecision?: number;
    /**
     *
     * @type {Array<string>}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    orderTypes?: Array<string>;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    icebergAllowed?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    ocoAllowed?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    otoAllowed?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    quoteOrderQtyMarketAllowed?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    allowTrailingStop?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    cancelReplaceAllowed?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    amendAllowed?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    isSpotTradingAllowed?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    isMarginTradingAllowed?: boolean;
    /**
     *
     * @type {Array<ExchangeInfoResponseResultExchangeFiltersInner>}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    filters?: Array<ExchangeInfoResponseResultExchangeFiltersInner>;
    /**
     *
     * @type {Array<string>}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    permissions?: Array<string>;
    /**
     *
     * @type {Array<Array<string>>}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    permissionSets?: Array<Array<string>>;
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    defaultSelfTradePreventionMode?: string;
    /**
     *
     * @type {Array<string>}
     * @memberof ExchangeInfoResponseResultSymbolsInner
     */
    allowedSelfTradePreventionModes?: Array<string>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface ExchangeInfoResponseResult
 */
interface ExchangeInfoResponseResult {
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponseResult
     */
    timezone?: string;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponseResult
     */
    serverTime?: number;
    /**
     *
     * @type {Array<ExchangeInfoResponseResultRateLimitsInner>}
     * @memberof ExchangeInfoResponseResult
     */
    rateLimits?: Array<ExchangeInfoResponseResultRateLimitsInner>;
    /**
     *
     * @type {Array<ExchangeInfoResponseResultExchangeFiltersInner>}
     * @memberof ExchangeInfoResponseResult
     */
    exchangeFilters?: Array<ExchangeInfoResponseResultExchangeFiltersInner>;
    /**
     *
     * @type {Array<ExchangeInfoResponseResultSymbolsInner>}
     * @memberof ExchangeInfoResponseResult
     */
    symbols?: Array<ExchangeInfoResponseResultSymbolsInner>;
    /**
     *
     * @type {Array<ExchangeInfoResponseResultSorsInner>}
     * @memberof ExchangeInfoResponseResult
     */
    sors?: Array<ExchangeInfoResponseResultSorsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface ExchangeInfoResponse
 */
interface ExchangeInfoResponse {
    /**
     *
     * @type {string}
     * @memberof ExchangeInfoResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof ExchangeInfoResponse
     */
    status?: number;
    /**
     *
     * @type {ExchangeInfoResponseResult}
     * @memberof ExchangeInfoResponse
     */
    result?: ExchangeInfoResponseResult;
    /**
     *
     * @type {Array<ExchangeInfoResponseRateLimitsInner>}
     * @memberof ExchangeInfoResponse
     */
    rateLimits?: Array<ExchangeInfoResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 * @type KlinesItemInner
 * @export
 */
type KlinesItemInner = number | string;

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface KlinesItem
 */
interface KlinesItem extends Array<KlinesItemInner> {
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface KlinesResponse
 */
interface KlinesResponse {
    /**
     *
     * @type {string}
     * @memberof KlinesResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof KlinesResponse
     */
    status?: number;
    /**
     *
     * @type {Array<KlinesItem>}
     * @memberof KlinesResponse
     */
    result?: Array<KlinesItem>;
    /**
     *
     * @type {Array<AvgPriceResponseRateLimitsInner>}
     * @memberof KlinesResponse
     */
    rateLimits?: Array<AvgPriceResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MyAllocationsResponseResultInner
 */
interface MyAllocationsResponseResultInner {
    /**
     *
     * @type {string}
     * @memberof MyAllocationsResponseResultInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof MyAllocationsResponseResultInner
     */
    allocationId?: number;
    /**
     *
     * @type {string}
     * @memberof MyAllocationsResponseResultInner
     */
    allocationType?: string;
    /**
     *
     * @type {number}
     * @memberof MyAllocationsResponseResultInner
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof MyAllocationsResponseResultInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof MyAllocationsResponseResultInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof MyAllocationsResponseResultInner
     */
    qty?: string;
    /**
     *
     * @type {string}
     * @memberof MyAllocationsResponseResultInner
     */
    quoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof MyAllocationsResponseResultInner
     */
    commission?: string;
    /**
     *
     * @type {string}
     * @memberof MyAllocationsResponseResultInner
     */
    commissionAsset?: string;
    /**
     *
     * @type {number}
     * @memberof MyAllocationsResponseResultInner
     */
    time?: number;
    /**
     *
     * @type {boolean}
     * @memberof MyAllocationsResponseResultInner
     */
    isBuyer?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof MyAllocationsResponseResultInner
     */
    isMaker?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof MyAllocationsResponseResultInner
     */
    isAllocator?: boolean;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface MyAllocationsResponse
 */
interface MyAllocationsResponse {
    /**
     *
     * @type {string}
     * @memberof MyAllocationsResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof MyAllocationsResponse
     */
    status?: number;
    /**
     *
     * @type {Array<MyAllocationsResponseResultInner>}
     * @memberof MyAllocationsResponse
     */
    result?: Array<MyAllocationsResponseResultInner>;
    /**
     *
     * @type {Array<AccountCommissionResponseRateLimitsInner>}
     * @memberof MyAllocationsResponse
     */
    rateLimits?: Array<AccountCommissionResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MyPreventedMatchesResponseResultInner
 */
interface MyPreventedMatchesResponseResultInner {
    /**
     *
     * @type {string}
     * @memberof MyPreventedMatchesResponseResultInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof MyPreventedMatchesResponseResultInner
     */
    preventedMatchId?: number;
    /**
     *
     * @type {number}
     * @memberof MyPreventedMatchesResponseResultInner
     */
    takerOrderId?: number;
    /**
     *
     * @type {string}
     * @memberof MyPreventedMatchesResponseResultInner
     */
    makerSymbol?: string;
    /**
     *
     * @type {number}
     * @memberof MyPreventedMatchesResponseResultInner
     */
    makerOrderId?: number;
    /**
     *
     * @type {number}
     * @memberof MyPreventedMatchesResponseResultInner
     */
    tradeGroupId?: number;
    /**
     *
     * @type {string}
     * @memberof MyPreventedMatchesResponseResultInner
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {string}
     * @memberof MyPreventedMatchesResponseResultInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof MyPreventedMatchesResponseResultInner
     */
    makerPreventedQuantity?: string;
    /**
     *
     * @type {number}
     * @memberof MyPreventedMatchesResponseResultInner
     */
    transactTime?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface MyPreventedMatchesResponse
 */
interface MyPreventedMatchesResponse {
    /**
     *
     * @type {string}
     * @memberof MyPreventedMatchesResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof MyPreventedMatchesResponse
     */
    status?: number;
    /**
     *
     * @type {Array<MyPreventedMatchesResponseResultInner>}
     * @memberof MyPreventedMatchesResponse
     */
    result?: Array<MyPreventedMatchesResponseResultInner>;
    /**
     *
     * @type {Array<AccountCommissionResponseRateLimitsInner>}
     * @memberof MyPreventedMatchesResponse
     */
    rateLimits?: Array<AccountCommissionResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MyTradesResponseResultInner
 */
interface MyTradesResponseResultInner {
    /**
     *
     * @type {string}
     * @memberof MyTradesResponseResultInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof MyTradesResponseResultInner
     */
    id?: number;
    /**
     *
     * @type {number}
     * @memberof MyTradesResponseResultInner
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof MyTradesResponseResultInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof MyTradesResponseResultInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof MyTradesResponseResultInner
     */
    qty?: string;
    /**
     *
     * @type {string}
     * @memberof MyTradesResponseResultInner
     */
    quoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof MyTradesResponseResultInner
     */
    commission?: string;
    /**
     *
     * @type {string}
     * @memberof MyTradesResponseResultInner
     */
    commissionAsset?: string;
    /**
     *
     * @type {number}
     * @memberof MyTradesResponseResultInner
     */
    time?: number;
    /**
     *
     * @type {boolean}
     * @memberof MyTradesResponseResultInner
     */
    isBuyer?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof MyTradesResponseResultInner
     */
    isMaker?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof MyTradesResponseResultInner
     */
    isBestMatch?: boolean;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface MyTradesResponse
 */
interface MyTradesResponse {
    /**
     *
     * @type {string}
     * @memberof MyTradesResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof MyTradesResponse
     */
    status?: number;
    /**
     *
     * @type {Array<MyTradesResponseResultInner>}
     * @memberof MyTradesResponse
     */
    result?: Array<MyTradesResponseResultInner>;
    /**
     *
     * @type {Array<AccountCommissionResponseRateLimitsInner>}
     * @memberof MyTradesResponse
     */
    rateLimits?: Array<AccountCommissionResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OpenOrderListsStatusResponseRateLimitsInner
 */
interface OpenOrderListsStatusResponseRateLimitsInner {
    /**
     *
     * @type {string}
     * @memberof OpenOrderListsStatusResponseRateLimitsInner
     */
    rateLimitType?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrderListsStatusResponseRateLimitsInner
     */
    interval?: string;
    /**
     *
     * @type {number}
     * @memberof OpenOrderListsStatusResponseRateLimitsInner
     */
    intervalNum?: number;
    /**
     *
     * @type {number}
     * @memberof OpenOrderListsStatusResponseRateLimitsInner
     */
    limit?: number;
    /**
     *
     * @type {number}
     * @memberof OpenOrderListsStatusResponseRateLimitsInner
     */
    count?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OpenOrderListsStatusResponseResultInnerOrdersInner
 */
interface OpenOrderListsStatusResponseResultInnerOrdersInner {
    /**
     *
     * @type {string}
     * @memberof OpenOrderListsStatusResponseResultInnerOrdersInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OpenOrderListsStatusResponseResultInnerOrdersInner
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof OpenOrderListsStatusResponseResultInnerOrdersInner
     */
    clientOrderId?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OpenOrderListsStatusResponseResultInner
 */
interface OpenOrderListsStatusResponseResultInner {
    /**
     *
     * @type {number}
     * @memberof OpenOrderListsStatusResponseResultInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OpenOrderListsStatusResponseResultInner
     */
    contingencyType?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrderListsStatusResponseResultInner
     */
    listStatusType?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrderListsStatusResponseResultInner
     */
    listOrderStatus?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrderListsStatusResponseResultInner
     */
    listClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OpenOrderListsStatusResponseResultInner
     */
    transactionTime?: number;
    /**
     *
     * @type {string}
     * @memberof OpenOrderListsStatusResponseResultInner
     */
    symbol?: string;
    /**
     *
     * @type {Array<OpenOrderListsStatusResponseResultInnerOrdersInner>}
     * @memberof OpenOrderListsStatusResponseResultInner
     */
    orders?: Array<OpenOrderListsStatusResponseResultInnerOrdersInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OpenOrderListsStatusResponse
 */
interface OpenOrderListsStatusResponse {
    /**
     *
     * @type {string}
     * @memberof OpenOrderListsStatusResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof OpenOrderListsStatusResponse
     */
    status?: number;
    /**
     *
     * @type {Array<OpenOrderListsStatusResponseResultInner>}
     * @memberof OpenOrderListsStatusResponse
     */
    result?: Array<OpenOrderListsStatusResponseResultInner>;
    /**
     *
     * @type {Array<OpenOrderListsStatusResponseRateLimitsInner>}
     * @memberof OpenOrderListsStatusResponse
     */
    rateLimits?: Array<OpenOrderListsStatusResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OpenOrdersCancelAllResponseResultInnerOrderReportsInner
 */
interface OpenOrdersCancelAllResponseResultInnerOrderReportsInner {
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
     */
    origClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
     */
    clientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
     */
    transactTime?: number;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
     */
    stopPrice?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInnerOrderReportsInner
     */
    selfTradePreventionMode?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OpenOrdersCancelAllResponseResultInnerOrdersInner
 */
interface OpenOrdersCancelAllResponseResultInnerOrdersInner {
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInnerOrdersInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OpenOrdersCancelAllResponseResultInnerOrdersInner
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInnerOrdersInner
     */
    clientOrderId?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OpenOrdersCancelAllResponseResultInner
 */
interface OpenOrdersCancelAllResponseResultInner {
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    origClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    clientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    transactTime?: number;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    stopPrice?: string;
    /**
     *
     * @type {number}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    trailingDelta?: number;
    /**
     *
     * @type {number}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    trailingTime?: number;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    icebergQty?: string;
    /**
     *
     * @type {number}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    strategyId?: number;
    /**
     *
     * @type {number}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    strategyType?: number;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    contingencyType?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    listStatusType?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    listOrderStatus?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    listClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    transactionTime?: number;
    /**
     *
     * @type {Array<OpenOrdersCancelAllResponseResultInnerOrdersInner>}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    orders?: Array<OpenOrdersCancelAllResponseResultInnerOrdersInner>;
    /**
     *
     * @type {Array<OpenOrdersCancelAllResponseResultInnerOrderReportsInner>}
     * @memberof OpenOrdersCancelAllResponseResultInner
     */
    orderReports?: Array<OpenOrdersCancelAllResponseResultInnerOrderReportsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface PingResponseRateLimitsInner
 */
interface PingResponseRateLimitsInner {
    /**
     *
     * @type {string}
     * @memberof PingResponseRateLimitsInner
     */
    rateLimitType?: string;
    /**
     *
     * @type {string}
     * @memberof PingResponseRateLimitsInner
     */
    interval?: string;
    /**
     *
     * @type {number}
     * @memberof PingResponseRateLimitsInner
     */
    intervalNum?: number;
    /**
     *
     * @type {number}
     * @memberof PingResponseRateLimitsInner
     */
    limit?: number;
    /**
     *
     * @type {number}
     * @memberof PingResponseRateLimitsInner
     */
    count?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OpenOrdersCancelAllResponse
 */
interface OpenOrdersCancelAllResponse {
    /**
     *
     * @type {string}
     * @memberof OpenOrdersCancelAllResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof OpenOrdersCancelAllResponse
     */
    status?: number;
    /**
     *
     * @type {Array<OpenOrdersCancelAllResponseResultInner>}
     * @memberof OpenOrdersCancelAllResponse
     */
    result?: Array<OpenOrdersCancelAllResponseResultInner>;
    /**
     *
     * @type {Array<PingResponseRateLimitsInner>}
     * @memberof OpenOrdersCancelAllResponse
     */
    rateLimits?: Array<PingResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OpenOrdersStatusResponseResultInner
 */
interface OpenOrdersStatusResponseResultInner {
    /**
     *
     * @type {string}
     * @memberof OpenOrdersStatusResponseResultInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OpenOrdersStatusResponseResultInner
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof OpenOrdersStatusResponseResultInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersStatusResponseResultInner
     */
    clientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersStatusResponseResultInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersStatusResponseResultInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersStatusResponseResultInner
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersStatusResponseResultInner
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersStatusResponseResultInner
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersStatusResponseResultInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersStatusResponseResultInner
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersStatusResponseResultInner
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersStatusResponseResultInner
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersStatusResponseResultInner
     */
    stopPrice?: string;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersStatusResponseResultInner
     */
    icebergQty?: string;
    /**
     *
     * @type {number}
     * @memberof OpenOrdersStatusResponseResultInner
     */
    time?: number;
    /**
     *
     * @type {number}
     * @memberof OpenOrdersStatusResponseResultInner
     */
    updateTime?: number;
    /**
     *
     * @type {boolean}
     * @memberof OpenOrdersStatusResponseResultInner
     */
    isWorking?: boolean;
    /**
     *
     * @type {number}
     * @memberof OpenOrdersStatusResponseResultInner
     */
    workingTime?: number;
    /**
     *
     * @type {string}
     * @memberof OpenOrdersStatusResponseResultInner
     */
    selfTradePreventionMode?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OpenOrdersStatusResponse
 */
interface OpenOrdersStatusResponse {
    /**
     *
     * @type {string}
     * @memberof OpenOrdersStatusResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof OpenOrdersStatusResponse
     */
    status?: number;
    /**
     *
     * @type {Array<OpenOrdersStatusResponseResultInner>}
     * @memberof OpenOrdersStatusResponse
     */
    result?: Array<OpenOrdersStatusResponseResultInner>;
    /**
     *
     * @type {Array<OpenOrderListsStatusResponseRateLimitsInner>}
     * @memberof OpenOrdersStatusResponse
     */
    rateLimits?: Array<OpenOrderListsStatusResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderAmendKeepPriorityResponseResultAmendedOrder
 */
interface OrderAmendKeepPriorityResponseResultAmendedOrder {
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
     */
    origClientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
     */
    clientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
     */
    qty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
     */
    preventedQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
     */
    quoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
     */
    cumulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
     */
    side?: string;
    /**
     *
     * @type {number}
     * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
     */
    workingTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseResultAmendedOrder
     */
    selfTradePreventionMode?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderAmendKeepPriorityResponseResultListStatusOrdersInner
 */
interface OrderAmendKeepPriorityResponseResultListStatusOrdersInner {
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseResultListStatusOrdersInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderAmendKeepPriorityResponseResultListStatusOrdersInner
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseResultListStatusOrdersInner
     */
    clientOrderId?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderAmendKeepPriorityResponseResultListStatus
 */
interface OrderAmendKeepPriorityResponseResultListStatus {
    /**
     *
     * @type {number}
     * @memberof OrderAmendKeepPriorityResponseResultListStatus
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseResultListStatus
     */
    contingencyType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseResultListStatus
     */
    listOrderStatus?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseResultListStatus
     */
    listClientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponseResultListStatus
     */
    symbol?: string;
    /**
     *
     * @type {Array<OrderAmendKeepPriorityResponseResultListStatusOrdersInner>}
     * @memberof OrderAmendKeepPriorityResponseResultListStatus
     */
    orders?: Array<OrderAmendKeepPriorityResponseResultListStatusOrdersInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderAmendKeepPriorityResponseResult
 */
interface OrderAmendKeepPriorityResponseResult {
    /**
     *
     * @type {number}
     * @memberof OrderAmendKeepPriorityResponseResult
     */
    transactTime?: number;
    /**
     *
     * @type {number}
     * @memberof OrderAmendKeepPriorityResponseResult
     */
    executionId?: number;
    /**
     *
     * @type {OrderAmendKeepPriorityResponseResultAmendedOrder}
     * @memberof OrderAmendKeepPriorityResponseResult
     */
    amendedOrder?: OrderAmendKeepPriorityResponseResultAmendedOrder;
    /**
     *
     * @type {OrderAmendKeepPriorityResponseResultListStatus}
     * @memberof OrderAmendKeepPriorityResponseResult
     */
    listStatus?: OrderAmendKeepPriorityResponseResultListStatus;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderAmendKeepPriorityResponse
 */
interface OrderAmendKeepPriorityResponse {
    /**
     *
     * @type {string}
     * @memberof OrderAmendKeepPriorityResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof OrderAmendKeepPriorityResponse
     */
    status?: number;
    /**
     *
     * @type {OrderAmendKeepPriorityResponseResult}
     * @memberof OrderAmendKeepPriorityResponse
     */
    result?: OrderAmendKeepPriorityResponseResult;
    /**
     *
     * @type {Array<PingResponseRateLimitsInner>}
     * @memberof OrderAmendKeepPriorityResponse
     */
    rateLimits?: Array<PingResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderAmendmentsResponseResultInner
 */
interface OrderAmendmentsResponseResultInner {
    /**
     *
     * @type {string}
     * @memberof OrderAmendmentsResponseResultInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderAmendmentsResponseResultInner
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof OrderAmendmentsResponseResultInner
     */
    executionId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderAmendmentsResponseResultInner
     */
    origClientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendmentsResponseResultInner
     */
    newClientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendmentsResponseResultInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderAmendmentsResponseResultInner
     */
    newQty?: string;
    /**
     *
     * @type {number}
     * @memberof OrderAmendmentsResponseResultInner
     */
    time?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerResponse1RateLimitsInner
 */
interface TickerResponse1RateLimitsInner {
    /**
     *
     * @type {string}
     * @memberof TickerResponse1RateLimitsInner
     */
    rateLimitType?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse1RateLimitsInner
     */
    interval?: string;
    /**
     *
     * @type {number}
     * @memberof TickerResponse1RateLimitsInner
     */
    intervalNum?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse1RateLimitsInner
     */
    limit?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse1RateLimitsInner
     */
    count?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderAmendmentsResponse
 */
interface OrderAmendmentsResponse {
    /**
     *
     * @type {string}
     * @memberof OrderAmendmentsResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof OrderAmendmentsResponse
     */
    status?: number;
    /**
     *
     * @type {Array<OrderAmendmentsResponseResultInner>}
     * @memberof OrderAmendmentsResponse
     */
    result?: Array<OrderAmendmentsResponseResultInner>;
    /**
     *
     * @type {Array<TickerResponse1RateLimitsInner>}
     * @memberof OrderAmendmentsResponse
     */
    rateLimits?: Array<TickerResponse1RateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderCancelReplaceResponseResultCancelResponse
 */
interface OrderCancelReplaceResponseResultCancelResponse {
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultCancelResponse
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultCancelResponse
     */
    origClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderCancelReplaceResponseResultCancelResponse
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof OrderCancelReplaceResponseResultCancelResponse
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultCancelResponse
     */
    clientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderCancelReplaceResponseResultCancelResponse
     */
    transactTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultCancelResponse
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultCancelResponse
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultCancelResponse
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultCancelResponse
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultCancelResponse
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultCancelResponse
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultCancelResponse
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultCancelResponse
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultCancelResponse
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultCancelResponse
     */
    selfTradePreventionMode?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderCancelReplaceResponseResultNewOrderResponse
 */
interface OrderCancelReplaceResponseResultNewOrderResponse {
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultNewOrderResponse
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderCancelReplaceResponseResultNewOrderResponse
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof OrderCancelReplaceResponseResultNewOrderResponse
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultNewOrderResponse
     */
    clientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderCancelReplaceResponseResultNewOrderResponse
     */
    transactTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultNewOrderResponse
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultNewOrderResponse
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultNewOrderResponse
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultNewOrderResponse
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultNewOrderResponse
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultNewOrderResponse
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultNewOrderResponse
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultNewOrderResponse
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultNewOrderResponse
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResultNewOrderResponse
     */
    selfTradePreventionMode?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderCancelReplaceResponseResult
 */
interface OrderCancelReplaceResponseResult {
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResult
     */
    cancelResult?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponseResult
     */
    newOrderResult?: string;
    /**
     *
     * @type {OrderCancelReplaceResponseResultCancelResponse}
     * @memberof OrderCancelReplaceResponseResult
     */
    cancelResponse?: OrderCancelReplaceResponseResultCancelResponse;
    /**
     *
     * @type {OrderCancelReplaceResponseResultNewOrderResponse}
     * @memberof OrderCancelReplaceResponseResult
     */
    newOrderResponse?: OrderCancelReplaceResponseResultNewOrderResponse;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderCancelReplaceResponse
 */
interface OrderCancelReplaceResponse {
    /**
     *
     * @type {string}
     * @memberof OrderCancelReplaceResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof OrderCancelReplaceResponse
     */
    status?: number;
    /**
     *
     * @type {OrderCancelReplaceResponseResult}
     * @memberof OrderCancelReplaceResponse
     */
    result?: OrderCancelReplaceResponseResult;
    /**
     *
     * @type {Array<PingResponseRateLimitsInner>}
     * @memberof OrderCancelReplaceResponse
     */
    rateLimits?: Array<PingResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderCancelResponseResult
 */
interface OrderCancelResponseResult {
    /**
     *
     * @type {string}
     * @memberof OrderCancelResponseResult
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelResponseResult
     */
    origClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderCancelResponseResult
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof OrderCancelResponseResult
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderCancelResponseResult
     */
    clientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderCancelResponseResult
     */
    transactTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderCancelResponseResult
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelResponseResult
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelResponseResult
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelResponseResult
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelResponseResult
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelResponseResult
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelResponseResult
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelResponseResult
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelResponseResult
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelResponseResult
     */
    stopPrice?: string;
    /**
     *
     * @type {number}
     * @memberof OrderCancelResponseResult
     */
    trailingDelta?: number;
    /**
     *
     * @type {string}
     * @memberof OrderCancelResponseResult
     */
    icebergQty?: string;
    /**
     *
     * @type {number}
     * @memberof OrderCancelResponseResult
     */
    strategyId?: number;
    /**
     *
     * @type {number}
     * @memberof OrderCancelResponseResult
     */
    strategyType?: number;
    /**
     *
     * @type {string}
     * @memberof OrderCancelResponseResult
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelResponseResult
     */
    contingencyType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelResponseResult
     */
    listStatusType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelResponseResult
     */
    listOrderStatus?: string;
    /**
     *
     * @type {string}
     * @memberof OrderCancelResponseResult
     */
    listClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderCancelResponseResult
     */
    transactionTime?: number;
    /**
     *
     * @type {Array<OpenOrdersCancelAllResponseResultInnerOrdersInner>}
     * @memberof OrderCancelResponseResult
     */
    orders?: Array<OpenOrdersCancelAllResponseResultInnerOrdersInner>;
    /**
     *
     * @type {Array<OpenOrdersCancelAllResponseResultInnerOrderReportsInner>}
     * @memberof OrderCancelResponseResult
     */
    orderReports?: Array<OpenOrdersCancelAllResponseResultInnerOrderReportsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderCancelResponse
 */
interface OrderCancelResponse {
    /**
     *
     * @type {string}
     * @memberof OrderCancelResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof OrderCancelResponse
     */
    status?: number;
    /**
     *
     * @type {OrderCancelResponseResult}
     * @memberof OrderCancelResponse
     */
    result?: OrderCancelResponseResult;
    /**
     *
     * @type {Array<PingResponseRateLimitsInner>}
     * @memberof OrderCancelResponse
     */
    rateLimits?: Array<PingResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListCancelResponseResultOrderReportsInner
 */
interface OrderListCancelResponseResultOrderReportsInner {
    /**
     *
     * @type {string}
     * @memberof OrderListCancelResponseResultOrderReportsInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListCancelResponseResultOrderReportsInner
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof OrderListCancelResponseResultOrderReportsInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListCancelResponseResultOrderReportsInner
     */
    clientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListCancelResponseResultOrderReportsInner
     */
    transactTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListCancelResponseResultOrderReportsInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListCancelResponseResultOrderReportsInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListCancelResponseResultOrderReportsInner
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListCancelResponseResultOrderReportsInner
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListCancelResponseResultOrderReportsInner
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListCancelResponseResultOrderReportsInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListCancelResponseResultOrderReportsInner
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListCancelResponseResultOrderReportsInner
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListCancelResponseResultOrderReportsInner
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListCancelResponseResultOrderReportsInner
     */
    stopPrice?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListCancelResponseResultOrderReportsInner
     */
    selfTradePreventionMode?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderListCancelResponseResult
 */
interface OrderListCancelResponseResult {
    /**
     *
     * @type {number}
     * @memberof OrderListCancelResponseResult
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListCancelResponseResult
     */
    contingencyType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListCancelResponseResult
     */
    listStatusType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListCancelResponseResult
     */
    listOrderStatus?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListCancelResponseResult
     */
    listClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListCancelResponseResult
     */
    transactionTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListCancelResponseResult
     */
    symbol?: string;
    /**
     *
     * @type {Array<OrderListCancelResponseResultOrdersInner>}
     * @memberof OrderListCancelResponseResult
     */
    orders?: Array<OrderListCancelResponseResultOrdersInner>;
    /**
     *
     * @type {Array<OrderListCancelResponseResultOrderReportsInner>}
     * @memberof OrderListCancelResponseResult
     */
    orderReports?: Array<OrderListCancelResponseResultOrderReportsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderListCancelResponse
 */
interface OrderListCancelResponse {
    /**
     *
     * @type {string}
     * @memberof OrderListCancelResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListCancelResponse
     */
    status?: number;
    /**
     *
     * @type {OrderListCancelResponseResult}
     * @memberof OrderListCancelResponse
     */
    result?: OrderListCancelResponseResult;
    /**
     *
     * @type {Array<PingResponseRateLimitsInner>}
     * @memberof OrderListCancelResponse
     */
    rateLimits?: Array<PingResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListPlaceOcoResponseResultOrderReportsInner
 */
interface OrderListPlaceOcoResponseResultOrderReportsInner {
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
     */
    clientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
     */
    transactTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
     */
    stopPrice?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
     */
    workingTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOcoResponseResultOrderReportsInner
     */
    selfTradePreventionMode?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListPlaceOcoResponseResultOrdersInner
 */
interface OrderListPlaceOcoResponseResultOrdersInner {
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOcoResponseResultOrdersInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOcoResponseResultOrdersInner
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOcoResponseResultOrdersInner
     */
    clientOrderId?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderListPlaceOcoResponseResult
 */
interface OrderListPlaceOcoResponseResult {
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOcoResponseResult
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOcoResponseResult
     */
    contingencyType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOcoResponseResult
     */
    listStatusType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOcoResponseResult
     */
    listOrderStatus?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOcoResponseResult
     */
    listClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOcoResponseResult
     */
    transactionTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOcoResponseResult
     */
    symbol?: string;
    /**
     *
     * @type {Array<OrderListPlaceOcoResponseResultOrdersInner>}
     * @memberof OrderListPlaceOcoResponseResult
     */
    orders?: Array<OrderListPlaceOcoResponseResultOrdersInner>;
    /**
     *
     * @type {Array<OrderListPlaceOcoResponseResultOrderReportsInner>}
     * @memberof OrderListPlaceOcoResponseResult
     */
    orderReports?: Array<OrderListPlaceOcoResponseResultOrderReportsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderListPlaceOcoResponse
 */
interface OrderListPlaceOcoResponse {
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOcoResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOcoResponse
     */
    status?: number;
    /**
     *
     * @type {OrderListPlaceOcoResponseResult}
     * @memberof OrderListPlaceOcoResponse
     */
    result?: OrderListPlaceOcoResponseResult;
    /**
     *
     * @type {Array<PingResponseRateLimitsInner>}
     * @memberof OrderListPlaceOcoResponse
     */
    rateLimits?: Array<PingResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListPlaceOtoResponseRateLimitsInner
 */
interface OrderListPlaceOtoResponseRateLimitsInner {
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtoResponseRateLimitsInner
     */
    rateLimitType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtoResponseRateLimitsInner
     */
    interval?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOtoResponseRateLimitsInner
     */
    intervalNum?: number;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOtoResponseRateLimitsInner
     */
    limit?: number;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOtoResponseRateLimitsInner
     */
    count?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListPlaceOtoResponseResultOrderReportsInner
 */
interface OrderListPlaceOtoResponseResultOrderReportsInner {
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
     */
    clientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
     */
    transactTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
     */
    side?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
     */
    workingTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtoResponseResultOrderReportsInner
     */
    selfTradePreventionMode?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListPlaceOtoResponseResultOrdersInner
 */
interface OrderListPlaceOtoResponseResultOrdersInner {
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtoResponseResultOrdersInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOtoResponseResultOrdersInner
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtoResponseResultOrdersInner
     */
    clientOrderId?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderListPlaceOtoResponseResult
 */
interface OrderListPlaceOtoResponseResult {
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOtoResponseResult
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtoResponseResult
     */
    contingencyType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtoResponseResult
     */
    listStatusType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtoResponseResult
     */
    listOrderStatus?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtoResponseResult
     */
    listClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOtoResponseResult
     */
    transactionTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtoResponseResult
     */
    symbol?: string;
    /**
     *
     * @type {Array<OrderListPlaceOtoResponseResultOrdersInner>}
     * @memberof OrderListPlaceOtoResponseResult
     */
    orders?: Array<OrderListPlaceOtoResponseResultOrdersInner>;
    /**
     *
     * @type {Array<OrderListPlaceOtoResponseResultOrderReportsInner>}
     * @memberof OrderListPlaceOtoResponseResult
     */
    orderReports?: Array<OrderListPlaceOtoResponseResultOrderReportsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderListPlaceOtoResponse
 */
interface OrderListPlaceOtoResponse {
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtoResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOtoResponse
     */
    status?: number;
    /**
     *
     * @type {OrderListPlaceOtoResponseResult}
     * @memberof OrderListPlaceOtoResponse
     */
    result?: OrderListPlaceOtoResponseResult;
    /**
     *
     * @type {Array<OrderListPlaceOtoResponseRateLimitsInner>}
     * @memberof OrderListPlaceOtoResponse
     */
    rateLimits?: Array<OrderListPlaceOtoResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListPlaceOtocoResponseRateLimitsInner
 */
interface OrderListPlaceOtocoResponseRateLimitsInner {
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtocoResponseRateLimitsInner
     */
    rateLimitType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtocoResponseRateLimitsInner
     */
    interval?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOtocoResponseRateLimitsInner
     */
    intervalNum?: number;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOtocoResponseRateLimitsInner
     */
    limit?: number;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOtocoResponseRateLimitsInner
     */
    count?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListPlaceOtocoResponseResultOrderReportsInner
 */
interface OrderListPlaceOtocoResponseResultOrderReportsInner {
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
     */
    clientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
     */
    transactTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
     */
    side?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
     */
    workingTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtocoResponseResultOrderReportsInner
     */
    stopPrice?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListPlaceOtocoResponseResultOrdersInner
 */
interface OrderListPlaceOtocoResponseResultOrdersInner {
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtocoResponseResultOrdersInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOtocoResponseResultOrdersInner
     */
    orderId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtocoResponseResultOrdersInner
     */
    clientOrderId?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderListPlaceOtocoResponseResult
 */
interface OrderListPlaceOtocoResponseResult {
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOtocoResponseResult
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtocoResponseResult
     */
    contingencyType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtocoResponseResult
     */
    listStatusType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtocoResponseResult
     */
    listOrderStatus?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtocoResponseResult
     */
    listClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOtocoResponseResult
     */
    transactionTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtocoResponseResult
     */
    symbol?: string;
    /**
     *
     * @type {Array<OrderListPlaceOtocoResponseResultOrdersInner>}
     * @memberof OrderListPlaceOtocoResponseResult
     */
    orders?: Array<OrderListPlaceOtocoResponseResultOrdersInner>;
    /**
     *
     * @type {Array<OrderListPlaceOtocoResponseResultOrderReportsInner>}
     * @memberof OrderListPlaceOtocoResponseResult
     */
    orderReports?: Array<OrderListPlaceOtocoResponseResultOrderReportsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderListPlaceOtocoResponse
 */
interface OrderListPlaceOtocoResponse {
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceOtocoResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceOtocoResponse
     */
    status?: number;
    /**
     *
     * @type {OrderListPlaceOtocoResponseResult}
     * @memberof OrderListPlaceOtocoResponse
     */
    result?: OrderListPlaceOtocoResponseResult;
    /**
     *
     * @type {Array<OrderListPlaceOtocoResponseRateLimitsInner>}
     * @memberof OrderListPlaceOtocoResponse
     */
    rateLimits?: Array<OrderListPlaceOtocoResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderListPlaceResponseResultOrderReportsInner
 */
interface OrderListPlaceResponseResultOrderReportsInner {
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceResponseResultOrderReportsInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceResponseResultOrderReportsInner
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceResponseResultOrderReportsInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceResponseResultOrderReportsInner
     */
    clientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceResponseResultOrderReportsInner
     */
    transactTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceResponseResultOrderReportsInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceResponseResultOrderReportsInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceResponseResultOrderReportsInner
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceResponseResultOrderReportsInner
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceResponseResultOrderReportsInner
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceResponseResultOrderReportsInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceResponseResultOrderReportsInner
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceResponseResultOrderReportsInner
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceResponseResultOrderReportsInner
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceResponseResultOrderReportsInner
     */
    stopPrice?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceResponseResultOrderReportsInner
     */
    workingTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceResponseResultOrderReportsInner
     */
    selfTradePreventionMode?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderListPlaceResponseResult
 */
interface OrderListPlaceResponseResult {
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceResponseResult
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceResponseResult
     */
    contingencyType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceResponseResult
     */
    listStatusType?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceResponseResult
     */
    listOrderStatus?: string;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceResponseResult
     */
    listClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceResponseResult
     */
    transactionTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceResponseResult
     */
    symbol?: string;
    /**
     *
     * @type {Array<OrderListCancelResponseResultOrdersInner>}
     * @memberof OrderListPlaceResponseResult
     */
    orders?: Array<OrderListCancelResponseResultOrdersInner>;
    /**
     *
     * @type {Array<OrderListPlaceResponseResultOrderReportsInner>}
     * @memberof OrderListPlaceResponseResult
     */
    orderReports?: Array<OrderListPlaceResponseResultOrderReportsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderListPlaceResponse
 */
interface OrderListPlaceResponse {
    /**
     *
     * @type {string}
     * @memberof OrderListPlaceResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListPlaceResponse
     */
    status?: number;
    /**
     *
     * @type {OrderListPlaceResponseResult}
     * @memberof OrderListPlaceResponse
     */
    result?: OrderListPlaceResponseResult;
    /**
     *
     * @type {Array<PingResponseRateLimitsInner>}
     * @memberof OrderListPlaceResponse
     */
    rateLimits?: Array<PingResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderListStatusResponse
 */
interface OrderListStatusResponse {
    /**
     *
     * @type {string}
     * @memberof OrderListStatusResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof OrderListStatusResponse
     */
    status?: number;
    /**
     *
     * @type {AllOrderListsResponseResultInner}
     * @memberof OrderListStatusResponse
     */
    result?: AllOrderListsResponseResultInner;
    /**
     *
     * @type {Array<TickerResponse1RateLimitsInner>}
     * @memberof OrderListStatusResponse
     */
    rateLimits?: Array<TickerResponse1RateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderPlaceResponseResultFillsInner
 */
interface OrderPlaceResponseResultFillsInner {
    /**
     *
     * @type {string}
     * @memberof OrderPlaceResponseResultFillsInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof OrderPlaceResponseResultFillsInner
     */
    qty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderPlaceResponseResultFillsInner
     */
    commission?: string;
    /**
     *
     * @type {string}
     * @memberof OrderPlaceResponseResultFillsInner
     */
    commissionAsset?: string;
    /**
     *
     * @type {number}
     * @memberof OrderPlaceResponseResultFillsInner
     */
    tradeId?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderPlaceResponseResult
 */
interface OrderPlaceResponseResult {
    /**
     *
     * @type {string}
     * @memberof OrderPlaceResponseResult
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderPlaceResponseResult
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof OrderPlaceResponseResult
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderPlaceResponseResult
     */
    clientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof OrderPlaceResponseResult
     */
    transactTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderPlaceResponseResult
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof OrderPlaceResponseResult
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderPlaceResponseResult
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderPlaceResponseResult
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderPlaceResponseResult
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderPlaceResponseResult
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof OrderPlaceResponseResult
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof OrderPlaceResponseResult
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof OrderPlaceResponseResult
     */
    side?: string;
    /**
     *
     * @type {number}
     * @memberof OrderPlaceResponseResult
     */
    workingTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderPlaceResponseResult
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {Array<OrderPlaceResponseResultFillsInner>}
     * @memberof OrderPlaceResponseResult
     */
    fills?: Array<OrderPlaceResponseResultFillsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderPlaceResponse
 */
interface OrderPlaceResponse {
    /**
     *
     * @type {string}
     * @memberof OrderPlaceResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof OrderPlaceResponse
     */
    status?: number;
    /**
     *
     * @type {OrderPlaceResponseResult}
     * @memberof OrderPlaceResponse
     */
    result?: OrderPlaceResponseResult;
    /**
     *
     * @type {Array<PingResponseRateLimitsInner>}
     * @memberof OrderPlaceResponse
     */
    rateLimits?: Array<PingResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderStatusResponseResult
 */
interface OrderStatusResponseResult {
    /**
     *
     * @type {string}
     * @memberof OrderStatusResponseResult
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof OrderStatusResponseResult
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof OrderStatusResponseResult
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderStatusResponseResult
     */
    clientOrderId?: string;
    /**
     *
     * @type {string}
     * @memberof OrderStatusResponseResult
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof OrderStatusResponseResult
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderStatusResponseResult
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderStatusResponseResult
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof OrderStatusResponseResult
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof OrderStatusResponseResult
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof OrderStatusResponseResult
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof OrderStatusResponseResult
     */
    side?: string;
    /**
     *
     * @type {string}
     * @memberof OrderStatusResponseResult
     */
    stopPrice?: string;
    /**
     *
     * @type {number}
     * @memberof OrderStatusResponseResult
     */
    trailingDelta?: number;
    /**
     *
     * @type {number}
     * @memberof OrderStatusResponseResult
     */
    trailingTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderStatusResponseResult
     */
    icebergQty?: string;
    /**
     *
     * @type {number}
     * @memberof OrderStatusResponseResult
     */
    time?: number;
    /**
     *
     * @type {number}
     * @memberof OrderStatusResponseResult
     */
    updateTime?: number;
    /**
     *
     * @type {boolean}
     * @memberof OrderStatusResponseResult
     */
    isWorking?: boolean;
    /**
     *
     * @type {number}
     * @memberof OrderStatusResponseResult
     */
    workingTime?: number;
    /**
     *
     * @type {string}
     * @memberof OrderStatusResponseResult
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {number}
     * @memberof OrderStatusResponseResult
     */
    strategyId?: number;
    /**
     *
     * @type {number}
     * @memberof OrderStatusResponseResult
     */
    strategyType?: number;
    /**
     *
     * @type {string}
     * @memberof OrderStatusResponseResult
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {number}
     * @memberof OrderStatusResponseResult
     */
    preventedMatchId?: number;
    /**
     *
     * @type {string}
     * @memberof OrderStatusResponseResult
     */
    preventedQuantity?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderStatusResponse
 */
interface OrderStatusResponse {
    /**
     *
     * @type {string}
     * @memberof OrderStatusResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof OrderStatusResponse
     */
    status?: number;
    /**
     *
     * @type {OrderStatusResponseResult}
     * @memberof OrderStatusResponse
     */
    result?: OrderStatusResponseResult;
    /**
     *
     * @type {Array<TickerResponse1RateLimitsInner>}
     * @memberof OrderStatusResponse
     */
    rateLimits?: Array<TickerResponse1RateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderTestResponseResultDiscount
 */
interface OrderTestResponseResultDiscount {
    /**
     *
     * @type {boolean}
     * @memberof OrderTestResponseResultDiscount
     */
    enabledForAccount?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof OrderTestResponseResultDiscount
     */
    enabledForSymbol?: boolean;
    /**
     *
     * @type {string}
     * @memberof OrderTestResponseResultDiscount
     */
    discountAsset?: string;
    /**
     *
     * @type {string}
     * @memberof OrderTestResponseResultDiscount
     */
    discount?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OrderTestResponseResultStandardCommissionForOrder
 */
interface OrderTestResponseResultStandardCommissionForOrder {
    /**
     *
     * @type {string}
     * @memberof OrderTestResponseResultStandardCommissionForOrder
     */
    maker?: string;
    /**
     *
     * @type {string}
     * @memberof OrderTestResponseResultStandardCommissionForOrder
     */
    taker?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderTestResponseResult
 */
interface OrderTestResponseResult {
    /**
     *
     * @type {OrderTestResponseResultStandardCommissionForOrder}
     * @memberof OrderTestResponseResult
     */
    standardCommissionForOrder?: OrderTestResponseResultStandardCommissionForOrder;
    /**
     *
     * @type {OrderTestResponseResultStandardCommissionForOrder}
     * @memberof OrderTestResponseResult
     */
    taxCommissionForOrder?: OrderTestResponseResultStandardCommissionForOrder;
    /**
     *
     * @type {OrderTestResponseResultDiscount}
     * @memberof OrderTestResponseResult
     */
    discount?: OrderTestResponseResultDiscount;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface OrderTestResponse
 */
interface OrderTestResponse {
    /**
     *
     * @type {string}
     * @memberof OrderTestResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof OrderTestResponse
     */
    status?: number;
    /**
     *
     * @type {OrderTestResponseResult}
     * @memberof OrderTestResponse
     */
    result?: OrderTestResponseResult;
    /**
     *
     * @type {Array<PingResponseRateLimitsInner>}
     * @memberof OrderTestResponse
     */
    rateLimits?: Array<PingResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface PingResponse
 */
interface PingResponse {
    /**
     *
     * @type {string}
     * @memberof PingResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof PingResponse
     */
    status?: number;
    /**
     *
     * @type {object}
     * @memberof PingResponse
     */
    result?: object;
    /**
     *
     * @type {Array<PingResponseRateLimitsInner>}
     * @memberof PingResponse
     */
    rateLimits?: Array<PingResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface SessionLogonResponseResult
 */
interface SessionLogonResponseResult {
    /**
     *
     * @type {string}
     * @memberof SessionLogonResponseResult
     */
    apiKey?: string;
    /**
     *
     * @type {number}
     * @memberof SessionLogonResponseResult
     */
    authorizedSince?: number;
    /**
     *
     * @type {number}
     * @memberof SessionLogonResponseResult
     */
    connectedSince?: number;
    /**
     *
     * @type {boolean}
     * @memberof SessionLogonResponseResult
     */
    returnRateLimits?: boolean;
    /**
     *
     * @type {number}
     * @memberof SessionLogonResponseResult
     */
    serverTime?: number;
    /**
     *
     * @type {boolean}
     * @memberof SessionLogonResponseResult
     */
    userDataStream?: boolean;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface SessionLogonResponse
 */
interface SessionLogonResponse {
    /**
     *
     * @type {string}
     * @memberof SessionLogonResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof SessionLogonResponse
     */
    status?: number;
    /**
     *
     * @type {SessionLogonResponseResult}
     * @memberof SessionLogonResponse
     */
    result?: SessionLogonResponseResult;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface SessionLogoutResponseResult
 */
interface SessionLogoutResponseResult {
    /**
     *
     * @type {string}
     * @memberof SessionLogoutResponseResult
     */
    apiKey?: string;
    /**
     *
     * @type {number}
     * @memberof SessionLogoutResponseResult
     */
    authorizedSince?: number;
    /**
     *
     * @type {number}
     * @memberof SessionLogoutResponseResult
     */
    connectedSince?: number;
    /**
     *
     * @type {boolean}
     * @memberof SessionLogoutResponseResult
     */
    returnRateLimits?: boolean;
    /**
     *
     * @type {number}
     * @memberof SessionLogoutResponseResult
     */
    serverTime?: number;
    /**
     *
     * @type {boolean}
     * @memberof SessionLogoutResponseResult
     */
    userDataStream?: boolean;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface SessionLogoutResponse
 */
interface SessionLogoutResponse {
    /**
     *
     * @type {string}
     * @memberof SessionLogoutResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof SessionLogoutResponse
     */
    status?: number;
    /**
     *
     * @type {SessionLogoutResponseResult}
     * @memberof SessionLogoutResponse
     */
    result?: SessionLogoutResponseResult;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface SessionStatusResponseResult
 */
interface SessionStatusResponseResult {
    /**
     *
     * @type {string}
     * @memberof SessionStatusResponseResult
     */
    apiKey?: string;
    /**
     *
     * @type {number}
     * @memberof SessionStatusResponseResult
     */
    authorizedSince?: number;
    /**
     *
     * @type {number}
     * @memberof SessionStatusResponseResult
     */
    connectedSince?: number;
    /**
     *
     * @type {boolean}
     * @memberof SessionStatusResponseResult
     */
    returnRateLimits?: boolean;
    /**
     *
     * @type {number}
     * @memberof SessionStatusResponseResult
     */
    serverTime?: number;
    /**
     *
     * @type {boolean}
     * @memberof SessionStatusResponseResult
     */
    userDataStream?: boolean;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface SessionStatusResponse
 */
interface SessionStatusResponse {
    /**
     *
     * @type {string}
     * @memberof SessionStatusResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof SessionStatusResponse
     */
    status?: number;
    /**
     *
     * @type {SessionStatusResponseResult}
     * @memberof SessionStatusResponse
     */
    result?: SessionStatusResponseResult;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface SorOrderPlaceResponseResultInnerFillsInner
 */
interface SorOrderPlaceResponseResultInnerFillsInner {
    /**
     *
     * @type {string}
     * @memberof SorOrderPlaceResponseResultInnerFillsInner
     */
    matchType?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderPlaceResponseResultInnerFillsInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderPlaceResponseResultInnerFillsInner
     */
    qty?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderPlaceResponseResultInnerFillsInner
     */
    commission?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderPlaceResponseResultInnerFillsInner
     */
    commissionAsset?: string;
    /**
     *
     * @type {number}
     * @memberof SorOrderPlaceResponseResultInnerFillsInner
     */
    tradeId?: number;
    /**
     *
     * @type {number}
     * @memberof SorOrderPlaceResponseResultInnerFillsInner
     */
    allocId?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface SorOrderPlaceResponseResultInner
 */
interface SorOrderPlaceResponseResultInner {
    /**
     *
     * @type {string}
     * @memberof SorOrderPlaceResponseResultInner
     */
    symbol?: string;
    /**
     *
     * @type {number}
     * @memberof SorOrderPlaceResponseResultInner
     */
    orderId?: number;
    /**
     *
     * @type {number}
     * @memberof SorOrderPlaceResponseResultInner
     */
    orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof SorOrderPlaceResponseResultInner
     */
    clientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof SorOrderPlaceResponseResultInner
     */
    transactTime?: number;
    /**
     *
     * @type {string}
     * @memberof SorOrderPlaceResponseResultInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderPlaceResponseResultInner
     */
    origQty?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderPlaceResponseResultInner
     */
    executedQty?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderPlaceResponseResultInner
     */
    origQuoteOrderQty?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderPlaceResponseResultInner
     */
    cummulativeQuoteQty?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderPlaceResponseResultInner
     */
    status?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderPlaceResponseResultInner
     */
    timeInForce?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderPlaceResponseResultInner
     */
    type?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderPlaceResponseResultInner
     */
    side?: string;
    /**
     *
     * @type {number}
     * @memberof SorOrderPlaceResponseResultInner
     */
    workingTime?: number;
    /**
     *
     * @type {Array<SorOrderPlaceResponseResultInnerFillsInner>}
     * @memberof SorOrderPlaceResponseResultInner
     */
    fills?: Array<SorOrderPlaceResponseResultInnerFillsInner>;
    /**
     *
     * @type {string}
     * @memberof SorOrderPlaceResponseResultInner
     */
    workingFloor?: string;
    /**
     *
     * @type {string}
     * @memberof SorOrderPlaceResponseResultInner
     */
    selfTradePreventionMode?: string;
    /**
     *
     * @type {boolean}
     * @memberof SorOrderPlaceResponseResultInner
     */
    usedSor?: boolean;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface SorOrderPlaceResponse
 */
interface SorOrderPlaceResponse {
    /**
     *
     * @type {string}
     * @memberof SorOrderPlaceResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof SorOrderPlaceResponse
     */
    status?: number;
    /**
     *
     * @type {Array<SorOrderPlaceResponseResultInner>}
     * @memberof SorOrderPlaceResponse
     */
    result?: Array<SorOrderPlaceResponseResultInner>;
    /**
     *
     * @type {Array<PingResponseRateLimitsInner>}
     * @memberof SorOrderPlaceResponse
     */
    rateLimits?: Array<PingResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface SorOrderTestResponse
 */
interface SorOrderTestResponse {
    /**
     *
     * @type {string}
     * @memberof SorOrderTestResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof SorOrderTestResponse
     */
    status?: number;
    /**
     *
     * @type {OrderTestResponseResult}
     * @memberof SorOrderTestResponse
     */
    result?: OrderTestResponseResult;
    /**
     *
     * @type {Array<PingResponseRateLimitsInner>}
     * @memberof SorOrderTestResponse
     */
    rateLimits?: Array<PingResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface Ticker24hrResponse1Result
 */
interface Ticker24hrResponse1Result {
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1Result
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1Result
     */
    priceChange?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1Result
     */
    priceChangePercent?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1Result
     */
    weightedAvgPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1Result
     */
    prevClosePrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1Result
     */
    lastPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1Result
     */
    lastQty?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1Result
     */
    bidPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1Result
     */
    bidQty?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1Result
     */
    askPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1Result
     */
    askQty?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1Result
     */
    openPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1Result
     */
    highPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1Result
     */
    lowPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1Result
     */
    volume?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1Result
     */
    quoteVolume?: string;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrResponse1Result
     */
    openTime?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrResponse1Result
     */
    closeTime?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrResponse1Result
     */
    firstId?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrResponse1Result
     */
    lastId?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrResponse1Result
     */
    count?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface Ticker24hrResponse1
 */
interface Ticker24hrResponse1 {
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse1
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrResponse1
     */
    status?: number;
    /**
     *
     * @type {Ticker24hrResponse1Result}
     * @memberof Ticker24hrResponse1
     */
    result?: Ticker24hrResponse1Result;
    /**
     *
     * @type {Array<AvgPriceResponseRateLimitsInner>}
     * @memberof Ticker24hrResponse1
     */
    rateLimits?: Array<AvgPriceResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface Ticker24hrResponse2ResultInner
 */
interface Ticker24hrResponse2ResultInner {
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2ResultInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2ResultInner
     */
    priceChange?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2ResultInner
     */
    priceChangePercent?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2ResultInner
     */
    weightedAvgPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2ResultInner
     */
    prevClosePrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2ResultInner
     */
    lastPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2ResultInner
     */
    lastQty?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2ResultInner
     */
    bidPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2ResultInner
     */
    bidQty?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2ResultInner
     */
    askPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2ResultInner
     */
    askQty?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2ResultInner
     */
    openPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2ResultInner
     */
    highPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2ResultInner
     */
    lowPrice?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2ResultInner
     */
    volume?: string;
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2ResultInner
     */
    quoteVolume?: string;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrResponse2ResultInner
     */
    openTime?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrResponse2ResultInner
     */
    closeTime?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrResponse2ResultInner
     */
    firstId?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrResponse2ResultInner
     */
    lastId?: number;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrResponse2ResultInner
     */
    count?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface Ticker24hrResponse2
 */
interface Ticker24hrResponse2 {
    /**
     *
     * @type {string}
     * @memberof Ticker24hrResponse2
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof Ticker24hrResponse2
     */
    status?: number;
    /**
     *
     * @type {Array<Ticker24hrResponse2ResultInner>}
     * @memberof Ticker24hrResponse2
     */
    result?: Array<Ticker24hrResponse2ResultInner>;
    /**
     *
     * @type {Array<AvgPriceResponseRateLimitsInner>}
     * @memberof Ticker24hrResponse2
     */
    rateLimits?: Array<AvgPriceResponseRateLimitsInner>;
}

/**
 * @type Ticker24hrResponse
 * @export
 */
type Ticker24hrResponse = Ticker24hrResponse1 | Ticker24hrResponse2;

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerBookResponse1Result
 */
interface TickerBookResponse1Result {
    /**
     *
     * @type {string}
     * @memberof TickerBookResponse1Result
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof TickerBookResponse1Result
     */
    bidPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerBookResponse1Result
     */
    bidQty?: string;
    /**
     *
     * @type {string}
     * @memberof TickerBookResponse1Result
     */
    askPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerBookResponse1Result
     */
    askQty?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface TickerBookResponse1
 */
interface TickerBookResponse1 {
    /**
     *
     * @type {string}
     * @memberof TickerBookResponse1
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof TickerBookResponse1
     */
    status?: number;
    /**
     *
     * @type {TickerBookResponse1Result}
     * @memberof TickerBookResponse1
     */
    result?: TickerBookResponse1Result;
    /**
     *
     * @type {Array<AvgPriceResponseRateLimitsInner>}
     * @memberof TickerBookResponse1
     */
    rateLimits?: Array<AvgPriceResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerBookResponse2ResultInner
 */
interface TickerBookResponse2ResultInner {
    /**
     *
     * @type {string}
     * @memberof TickerBookResponse2ResultInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof TickerBookResponse2ResultInner
     */
    bidPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerBookResponse2ResultInner
     */
    bidQty?: string;
    /**
     *
     * @type {string}
     * @memberof TickerBookResponse2ResultInner
     */
    askPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerBookResponse2ResultInner
     */
    askQty?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface TickerBookResponse2
 */
interface TickerBookResponse2 {
    /**
     *
     * @type {string}
     * @memberof TickerBookResponse2
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof TickerBookResponse2
     */
    status?: number;
    /**
     *
     * @type {Array<TickerBookResponse2ResultInner>}
     * @memberof TickerBookResponse2
     */
    result?: Array<TickerBookResponse2ResultInner>;
    /**
     *
     * @type {Array<TickerResponse1RateLimitsInner>}
     * @memberof TickerBookResponse2
     */
    rateLimits?: Array<TickerResponse1RateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 * @type TickerBookResponse
 * @export
 */
type TickerBookResponse = TickerBookResponse1 | TickerBookResponse2;

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerPriceResponse1Result
 */
interface TickerPriceResponse1Result {
    /**
     *
     * @type {string}
     * @memberof TickerPriceResponse1Result
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof TickerPriceResponse1Result
     */
    price?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface TickerPriceResponse1
 */
interface TickerPriceResponse1 {
    /**
     *
     * @type {string}
     * @memberof TickerPriceResponse1
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof TickerPriceResponse1
     */
    status?: number;
    /**
     *
     * @type {TickerPriceResponse1Result}
     * @memberof TickerPriceResponse1
     */
    result?: TickerPriceResponse1Result;
    /**
     *
     * @type {Array<AvgPriceResponseRateLimitsInner>}
     * @memberof TickerPriceResponse1
     */
    rateLimits?: Array<AvgPriceResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerPriceResponse2ResultInner
 */
interface TickerPriceResponse2ResultInner {
    /**
     *
     * @type {string}
     * @memberof TickerPriceResponse2ResultInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof TickerPriceResponse2ResultInner
     */
    price?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface TickerPriceResponse2
 */
interface TickerPriceResponse2 {
    /**
     *
     * @type {string}
     * @memberof TickerPriceResponse2
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof TickerPriceResponse2
     */
    status?: number;
    /**
     *
     * @type {Array<TickerPriceResponse2ResultInner>}
     * @memberof TickerPriceResponse2
     */
    result?: Array<TickerPriceResponse2ResultInner>;
    /**
     *
     * @type {Array<TickerResponse1RateLimitsInner>}
     * @memberof TickerPriceResponse2
     */
    rateLimits?: Array<TickerResponse1RateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 * @type TickerPriceResponse
 * @export
 */
type TickerPriceResponse = TickerPriceResponse1 | TickerPriceResponse2;

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerResponse1Result
 */
interface TickerResponse1Result {
    /**
     *
     * @type {string}
     * @memberof TickerResponse1Result
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse1Result
     */
    priceChange?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse1Result
     */
    priceChangePercent?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse1Result
     */
    weightedAvgPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse1Result
     */
    openPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse1Result
     */
    highPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse1Result
     */
    lowPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse1Result
     */
    lastPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse1Result
     */
    volume?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse1Result
     */
    quoteVolume?: string;
    /**
     *
     * @type {number}
     * @memberof TickerResponse1Result
     */
    openTime?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse1Result
     */
    closeTime?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse1Result
     */
    firstId?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse1Result
     */
    lastId?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse1Result
     */
    count?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface TickerResponse1
 */
interface TickerResponse1 {
    /**
     *
     * @type {string}
     * @memberof TickerResponse1
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof TickerResponse1
     */
    status?: number;
    /**
     *
     * @type {TickerResponse1Result}
     * @memberof TickerResponse1
     */
    result?: TickerResponse1Result;
    /**
     *
     * @type {Array<TickerResponse1RateLimitsInner>}
     * @memberof TickerResponse1
     */
    rateLimits?: Array<TickerResponse1RateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerResponse2RateLimitsInner
 */
interface TickerResponse2RateLimitsInner {
    /**
     *
     * @type {string}
     * @memberof TickerResponse2RateLimitsInner
     */
    rateLimitType?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse2RateLimitsInner
     */
    interval?: string;
    /**
     *
     * @type {number}
     * @memberof TickerResponse2RateLimitsInner
     */
    intervalNum?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse2RateLimitsInner
     */
    limit?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse2RateLimitsInner
     */
    count?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerResponse2ResultInner
 */
interface TickerResponse2ResultInner {
    /**
     *
     * @type {string}
     * @memberof TickerResponse2ResultInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse2ResultInner
     */
    priceChange?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse2ResultInner
     */
    priceChangePercent?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse2ResultInner
     */
    weightedAvgPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse2ResultInner
     */
    openPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse2ResultInner
     */
    highPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse2ResultInner
     */
    lowPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse2ResultInner
     */
    lastPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse2ResultInner
     */
    volume?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse2ResultInner
     */
    quoteVolume?: string;
    /**
     *
     * @type {number}
     * @memberof TickerResponse2ResultInner
     */
    openTime?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse2ResultInner
     */
    closeTime?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse2ResultInner
     */
    firstId?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse2ResultInner
     */
    lastId?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse2ResultInner
     */
    count?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface TickerResponse2
 */
interface TickerResponse2 {
    /**
     *
     * @type {string}
     * @memberof TickerResponse2
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof TickerResponse2
     */
    status?: number;
    /**
     *
     * @type {Array<TickerResponse2ResultInner>}
     * @memberof TickerResponse2
     */
    result?: Array<TickerResponse2ResultInner>;
    /**
     *
     * @type {Array<TickerResponse2RateLimitsInner>}
     * @memberof TickerResponse2
     */
    rateLimits?: Array<TickerResponse2RateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 * @type TickerResponse
 * @export
 */
type TickerResponse$1 = TickerResponse1 | TickerResponse2;

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerTradingDayResponseResultInner
 */
interface TickerTradingDayResponseResultInner {
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponseResultInner
     */
    symbol?: string;
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponseResultInner
     */
    priceChange?: string;
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponseResultInner
     */
    priceChangePercent?: string;
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponseResultInner
     */
    weightedAvgPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponseResultInner
     */
    openPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponseResultInner
     */
    highPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponseResultInner
     */
    lowPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponseResultInner
     */
    lastPrice?: string;
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponseResultInner
     */
    volume?: string;
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponseResultInner
     */
    quoteVolume?: string;
    /**
     *
     * @type {number}
     * @memberof TickerTradingDayResponseResultInner
     */
    openTime?: number;
    /**
     *
     * @type {number}
     * @memberof TickerTradingDayResponseResultInner
     */
    closeTime?: number;
    /**
     *
     * @type {number}
     * @memberof TickerTradingDayResponseResultInner
     */
    firstId?: number;
    /**
     *
     * @type {number}
     * @memberof TickerTradingDayResponseResultInner
     */
    lastId?: number;
    /**
     *
     * @type {number}
     * @memberof TickerTradingDayResponseResultInner
     */
    count?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface TickerTradingDayResponse
 */
interface TickerTradingDayResponse {
    /**
     *
     * @type {string}
     * @memberof TickerTradingDayResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof TickerTradingDayResponse
     */
    status?: number;
    /**
     *
     * @type {Array<TickerTradingDayResponseResultInner>}
     * @memberof TickerTradingDayResponse
     */
    result?: Array<TickerTradingDayResponseResultInner>;
    /**
     *
     * @type {Array<TickerResponse2RateLimitsInner>}
     * @memberof TickerTradingDayResponse
     */
    rateLimits?: Array<TickerResponse2RateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TimeResponseResult
 */
interface TimeResponseResult {
    /**
     *
     * @type {number}
     * @memberof TimeResponseResult
     */
    serverTime?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface TimeResponse
 */
interface TimeResponse {
    /**
     *
     * @type {string}
     * @memberof TimeResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof TimeResponse
     */
    status?: number;
    /**
     *
     * @type {TimeResponseResult}
     * @memberof TimeResponse
     */
    result?: TimeResponseResult;
    /**
     *
     * @type {Array<PingResponseRateLimitsInner>}
     * @memberof TimeResponse
     */
    rateLimits?: Array<PingResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TradesAggregateResponseResultInner
 */
interface TradesAggregateResponseResultInner {
    /**
     *
     * @type {number}
     * @memberof TradesAggregateResponseResultInner
     */
    a?: number;
    /**
     *
     * @type {string}
     * @memberof TradesAggregateResponseResultInner
     */
    p?: string;
    /**
     *
     * @type {string}
     * @memberof TradesAggregateResponseResultInner
     */
    q?: string;
    /**
     *
     * @type {number}
     * @memberof TradesAggregateResponseResultInner
     */
    f?: number;
    /**
     *
     * @type {number}
     * @memberof TradesAggregateResponseResultInner
     */
    l?: number;
    /**
     *
     * @type {number}
     * @memberof TradesAggregateResponseResultInner
     */
    T?: number;
    /**
     *
     * @type {boolean}
     * @memberof TradesAggregateResponseResultInner
     */
    m?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof TradesAggregateResponseResultInner
     */
    M?: boolean;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface TradesAggregateResponse
 */
interface TradesAggregateResponse {
    /**
     *
     * @type {string}
     * @memberof TradesAggregateResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof TradesAggregateResponse
     */
    status?: number;
    /**
     *
     * @type {Array<TradesAggregateResponseResultInner>}
     * @memberof TradesAggregateResponse
     */
    result?: Array<TradesAggregateResponseResultInner>;
    /**
     *
     * @type {Array<AvgPriceResponseRateLimitsInner>}
     * @memberof TradesAggregateResponse
     */
    rateLimits?: Array<AvgPriceResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TradesHistoricalResponseRateLimitsInner
 */
interface TradesHistoricalResponseRateLimitsInner {
    /**
     *
     * @type {string}
     * @memberof TradesHistoricalResponseRateLimitsInner
     */
    rateLimitType?: string;
    /**
     *
     * @type {string}
     * @memberof TradesHistoricalResponseRateLimitsInner
     */
    interval?: string;
    /**
     *
     * @type {number}
     * @memberof TradesHistoricalResponseRateLimitsInner
     */
    intervalNum?: number;
    /**
     *
     * @type {number}
     * @memberof TradesHistoricalResponseRateLimitsInner
     */
    limit?: number;
    /**
     *
     * @type {number}
     * @memberof TradesHistoricalResponseRateLimitsInner
     */
    count?: number;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TradesHistoricalResponseResultInner
 */
interface TradesHistoricalResponseResultInner {
    /**
     *
     * @type {number}
     * @memberof TradesHistoricalResponseResultInner
     */
    id?: number;
    /**
     *
     * @type {string}
     * @memberof TradesHistoricalResponseResultInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof TradesHistoricalResponseResultInner
     */
    qty?: string;
    /**
     *
     * @type {string}
     * @memberof TradesHistoricalResponseResultInner
     */
    quoteQty?: string;
    /**
     *
     * @type {number}
     * @memberof TradesHistoricalResponseResultInner
     */
    time?: number;
    /**
     *
     * @type {boolean}
     * @memberof TradesHistoricalResponseResultInner
     */
    isBuyerMaker?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof TradesHistoricalResponseResultInner
     */
    isBestMatch?: boolean;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface TradesHistoricalResponse
 */
interface TradesHistoricalResponse {
    /**
     *
     * @type {string}
     * @memberof TradesHistoricalResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof TradesHistoricalResponse
     */
    status?: number;
    /**
     *
     * @type {Array<TradesHistoricalResponseResultInner>}
     * @memberof TradesHistoricalResponse
     */
    result?: Array<TradesHistoricalResponseResultInner>;
    /**
     *
     * @type {Array<TradesHistoricalResponseRateLimitsInner>}
     * @memberof TradesHistoricalResponse
     */
    rateLimits?: Array<TradesHistoricalResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TradesRecentResponseResultInner
 */
interface TradesRecentResponseResultInner {
    /**
     *
     * @type {number}
     * @memberof TradesRecentResponseResultInner
     */
    id?: number;
    /**
     *
     * @type {string}
     * @memberof TradesRecentResponseResultInner
     */
    price?: string;
    /**
     *
     * @type {string}
     * @memberof TradesRecentResponseResultInner
     */
    qty?: string;
    /**
     *
     * @type {string}
     * @memberof TradesRecentResponseResultInner
     */
    quoteQty?: string;
    /**
     *
     * @type {number}
     * @memberof TradesRecentResponseResultInner
     */
    time?: number;
    /**
     *
     * @type {boolean}
     * @memberof TradesRecentResponseResultInner
     */
    isBuyerMaker?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof TradesRecentResponseResultInner
     */
    isBestMatch?: boolean;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface TradesRecentResponse
 */
interface TradesRecentResponse {
    /**
     *
     * @type {string}
     * @memberof TradesRecentResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof TradesRecentResponse
     */
    status?: number;
    /**
     *
     * @type {Array<TradesRecentResponseResultInner>}
     * @memberof TradesRecentResponse
     */
    result?: Array<TradesRecentResponseResultInner>;
    /**
     *
     * @type {Array<AvgPriceResponseRateLimitsInner>}
     * @memberof TradesRecentResponse
     */
    rateLimits?: Array<AvgPriceResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface UiKlinesItem
 */
interface UiKlinesItem extends Array<KlinesItemInner> {
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface UiKlinesResponse
 */
interface UiKlinesResponse {
    /**
     *
     * @type {string}
     * @memberof UiKlinesResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof UiKlinesResponse
     */
    status?: number;
    /**
     *
     * @type {Array<UiKlinesItem>}
     * @memberof UiKlinesResponse
     */
    result?: Array<UiKlinesItem>;
    /**
     *
     * @type {Array<AvgPriceResponseRateLimitsInner>}
     * @memberof UiKlinesResponse
     */
    rateLimits?: Array<AvgPriceResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface UserDataStreamPingResponse
 */
interface UserDataStreamPingResponse {
    /**
     *
     * @type {string}
     * @memberof UserDataStreamPingResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof UserDataStreamPingResponse
     */
    status?: number;
    /**
     *
     * @type {object}
     * @memberof UserDataStreamPingResponse
     */
    response?: object;
    /**
     *
     * @type {Array<AvgPriceResponseRateLimitsInner>}
     * @memberof UserDataStreamPingResponse
     */
    rateLimits?: Array<AvgPriceResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface UserDataStreamStartResponseResult
 */
interface UserDataStreamStartResponseResult {
    /**
     *
     * @type {string}
     * @memberof UserDataStreamStartResponseResult
     */
    listenKey?: string;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface UserDataStreamStartResponse
 */
interface UserDataStreamStartResponse {
    /**
     *
     * @type {string}
     * @memberof UserDataStreamStartResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof UserDataStreamStartResponse
     */
    status?: number;
    /**
     *
     * @type {UserDataStreamStartResponseResult}
     * @memberof UserDataStreamStartResponse
     */
    result?: UserDataStreamStartResponseResult;
    /**
     *
     * @type {Array<AvgPriceResponseRateLimitsInner>}
     * @memberof UserDataStreamStartResponse
     */
    rateLimits?: Array<AvgPriceResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface UserDataStreamStopResponse
 */
interface UserDataStreamStopResponse {
    /**
     *
     * @type {string}
     * @memberof UserDataStreamStopResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof UserDataStreamStopResponse
     */
    status?: number;
    /**
     *
     * @type {object}
     * @memberof UserDataStreamStopResponse
     */
    response?: object;
    /**
     *
     * @type {Array<AvgPriceResponseRateLimitsInner>}
     * @memberof UserDataStreamStopResponse
     */
    rateLimits?: Array<AvgPriceResponseRateLimitsInner>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface UserDataStreamSubscribeResponse
 */
interface UserDataStreamSubscribeResponse {
    /**
     *
     * @type {string}
     * @memberof UserDataStreamSubscribeResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof UserDataStreamSubscribeResponse
     */
    status?: number;
    /**
     *
     * @type {object}
     * @memberof UserDataStreamSubscribeResponse
     */
    result?: object;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface UserDataStreamUnsubscribeResponse
 */
interface UserDataStreamUnsubscribeResponse {
    /**
     *
     * @type {string}
     * @memberof UserDataStreamUnsubscribeResponse
     */
    id?: string;
    /**
     *
     * @type {number}
     * @memberof UserDataStreamUnsubscribeResponse
     */
    status?: number;
    /**
     *
     * @type {object}
     * @memberof UserDataStreamUnsubscribeResponse
     */
    result?: object;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 * AccountApi - interface
 *
 * @interface AccountApi
 */
interface AccountApiInterface {
    /**
     * Get current account commission rates.
     * Weight: 20
     *
     * @summary WebSocket Account Commission Rates
     * @param {AccountCommissionRequest} requestParameters Request parameters.
     *
     * @returns {Promise<AccountCommissionResponse>}
     * @memberof AccountApiInterface
     */
    accountCommission(requestParameters: AccountCommissionRequest): Promise<WebsocketApiResponse<AccountCommissionResponse>>;
    /**
     * Query your current unfilled order count for all intervals.
     * Weight: 40
     *
     * @summary WebSocket Unfilled Order Count
     * @param {AccountRateLimitsOrdersRequest} requestParameters Request parameters.
     *
     * @returns {Promise<AccountRateLimitsOrdersResponse>}
     * @memberof AccountApiInterface
     */
    accountRateLimitsOrders(requestParameters?: AccountRateLimitsOrdersRequest): Promise<WebsocketApiResponse<AccountRateLimitsOrdersResponse>>;
    /**
     * Query information about your account.
     * Weight: 20
     *
     * @summary WebSocket Account information
     * @param {AccountStatusRequest} requestParameters Request parameters.
     *
     * @returns {Promise<AccountStatusResponse>}
     * @memberof AccountApiInterface
     */
    accountStatus(requestParameters?: AccountStatusRequest): Promise<WebsocketApiResponse<AccountStatusResponse>>;
    /**
     * Query information about all your order lists, filtered by time range.
     * Weight: 20
     *
     * @summary WebSocket Account order list history
     * @param {AllOrderListsRequest} requestParameters Request parameters.
     *
     * @returns {Promise<AllOrderListsResponse>}
     * @memberof AccountApiInterface
     */
    allOrderLists(requestParameters?: AllOrderListsRequest): Promise<WebsocketApiResponse<AllOrderListsResponse>>;
    /**
     * Query information about all your orders – active, canceled, filled – filtered by time range.
     * Weight: 20
     *
     * @summary WebSocket Account order history
     * @param {AllOrdersRequest} requestParameters Request parameters.
     *
     * @returns {Promise<AllOrdersResponse>}
     * @memberof AccountApiInterface
     */
    allOrders(requestParameters: AllOrdersRequest): Promise<WebsocketApiResponse<AllOrdersResponse>>;
    /**
     * Retrieves allocations resulting from SOR order placement.
     * Weight: 20
     *
     * @summary WebSocket Account allocations
     * @param {MyAllocationsRequest} requestParameters Request parameters.
     *
     * @returns {Promise<MyAllocationsResponse>}
     * @memberof AccountApiInterface
     */
    myAllocations(requestParameters: MyAllocationsRequest): Promise<WebsocketApiResponse<MyAllocationsResponse>>;
    /**
     * Displays the list of orders that were expired due to STP.
     *
     * These are the combinations supported:
     *
     * `symbol` + `preventedMatchId`
     * `symbol` + `orderId`
     * `symbol` + `orderId` + `fromPreventedMatchId` (`limit` will default to 500)
     * `symbol` + `orderId` + `fromPreventedMatchId` + `limit`
     * Weight: Case                            | Weight
     * ----                            | -----
     * If `symbol` is invalid          | 2
     * Querying by `preventedMatchId`  | 2
     * Querying by `orderId`           | 20
     *
     * @summary WebSocket Account prevented matches
     * @param {MyPreventedMatchesRequest} requestParameters Request parameters.
     *
     * @returns {Promise<MyPreventedMatchesResponse>}
     * @memberof AccountApiInterface
     */
    myPreventedMatches(requestParameters: MyPreventedMatchesRequest): Promise<WebsocketApiResponse<MyPreventedMatchesResponse>>;
    /**
     * Query information about all your trades, filtered by time range.
     * Weight: Condition| Weight|
     * ---| ---
     * |Without orderId|20|
     * |With orderId|5|
     *
     * @summary WebSocket Account trade history
     * @param {MyTradesRequest} requestParameters Request parameters.
     *
     * @returns {Promise<MyTradesResponse>}
     * @memberof AccountApiInterface
     */
    myTrades(requestParameters: MyTradesRequest): Promise<WebsocketApiResponse<MyTradesResponse>>;
    /**
     * Query execution status of all open order lists.
     *
     * If you need to continuously monitor order status updates, please consider using WebSocket Streams:
     *
     * `userDataStream.start` request
     * `executionReport` user data stream event
     * Weight: 6
     *
     * @summary WebSocket Current open Order lists
     * @param {OpenOrderListsStatusRequest} requestParameters Request parameters.
     *
     * @returns {Promise<OpenOrderListsStatusResponse>}
     * @memberof AccountApiInterface
     */
    openOrderListsStatus(requestParameters?: OpenOrderListsStatusRequest): Promise<WebsocketApiResponse<OpenOrderListsStatusResponse>>;
    /**
     * Query execution status of all open orders.
     *
     * If you need to continuously monitor order status updates, please consider using WebSocket Streams:
     *
     * `userDataStream.start` request
     * `executionReport` user data stream event
     * Weight: Adjusted based on the number of requested symbols:
     *
     * | Parameter | Weight |
     * | --------- | ------ |
     * | `symbol`  |      6 |
     * | none      |     80 |
     *
     * @summary WebSocket Current open orders
     * @param {OpenOrdersStatusRequest} requestParameters Request parameters.
     *
     * @returns {Promise<OpenOrdersStatusResponse>}
     * @memberof AccountApiInterface
     */
    openOrdersStatus(requestParameters?: OpenOrdersStatusRequest): Promise<WebsocketApiResponse<OpenOrdersStatusResponse>>;
    /**
     * Queries all amendments of a single order.
     * Weight: 4
     *
     * @summary WebSocket Query Order Amendments
     * @param {OrderAmendmentsRequest} requestParameters Request parameters.
     *
     * @returns {Promise<OrderAmendmentsResponse>}
     * @memberof AccountApiInterface
     */
    orderAmendments(requestParameters: OrderAmendmentsRequest): Promise<WebsocketApiResponse<OrderAmendmentsResponse>>;
    /**
     * Check execution status of an Order list.
     *
     * For execution status of individual orders, use `order.status`.
     * Weight: 4
     *
     * @summary WebSocket Query Order list
     * @param {OrderListStatusRequest} requestParameters Request parameters.
     *
     * @returns {Promise<OrderListStatusResponse>}
     * @memberof AccountApiInterface
     */
    orderListStatus(requestParameters?: OrderListStatusRequest): Promise<WebsocketApiResponse<OrderListStatusResponse>>;
    /**
     * Check execution status of an order.
     * Weight: 4
     *
     * @summary WebSocket Query order
     * @param {OrderStatusRequest} requestParameters Request parameters.
     *
     * @returns {Promise<OrderStatusResponse>}
     * @memberof AccountApiInterface
     */
    orderStatus(requestParameters: OrderStatusRequest): Promise<WebsocketApiResponse<OrderStatusResponse>>;
}
/**
 * Request parameters for accountCommission operation in AccountApi.
 * @interface AccountCommissionRequest
 */
interface AccountCommissionRequest {
    /**
     *
     * @type {string}
     * @memberof AccountApiAccountCommission
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof AccountApiAccountCommission
     */
    readonly id?: string;
}
/**
 * Request parameters for accountRateLimitsOrders operation in AccountApi.
 * @interface AccountRateLimitsOrdersRequest
 */
interface AccountRateLimitsOrdersRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof AccountApiAccountRateLimitsOrders
     */
    readonly id?: string;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiAccountRateLimitsOrders
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for accountStatus operation in AccountApi.
 * @interface AccountStatusRequest
 */
interface AccountStatusRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof AccountApiAccountStatus
     */
    readonly id?: string;
    /**
     * When set to `true`, emits only the non-zero balances of an account. <br>Default value: false
     * @type {boolean}
     * @memberof AccountApiAccountStatus
     */
    readonly omitZeroBalances?: boolean;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiAccountStatus
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for allOrderLists operation in AccountApi.
 * @interface AllOrderListsRequest
 */
interface AllOrderListsRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof AccountApiAllOrderLists
     */
    readonly id?: string;
    /**
     * Aggregate trade ID to begin at
     * @type {number}
     * @memberof AccountApiAllOrderLists
     */
    readonly fromId?: number;
    /**
     *
     * @type {number}
     * @memberof AccountApiAllOrderLists
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof AccountApiAllOrderLists
     */
    readonly endTime?: number;
    /**
     * Default: 100; Maximum: 5000
     * @type {number}
     * @memberof AccountApiAllOrderLists
     */
    readonly limit?: number;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiAllOrderLists
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for allOrders operation in AccountApi.
 * @interface AllOrdersRequest
 */
interface AllOrdersRequest {
    /**
     *
     * @type {string}
     * @memberof AccountApiAllOrders
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof AccountApiAllOrders
     */
    readonly id?: string;
    /**
     * Cancel order by orderId
     * @type {number}
     * @memberof AccountApiAllOrders
     */
    readonly orderId?: number;
    /**
     *
     * @type {number}
     * @memberof AccountApiAllOrders
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof AccountApiAllOrders
     */
    readonly endTime?: number;
    /**
     * Default: 100; Maximum: 5000
     * @type {number}
     * @memberof AccountApiAllOrders
     */
    readonly limit?: number;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiAllOrders
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for myAllocations operation in AccountApi.
 * @interface MyAllocationsRequest
 */
interface MyAllocationsRequest {
    /**
     *
     * @type {string}
     * @memberof AccountApiMyAllocations
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof AccountApiMyAllocations
     */
    readonly id?: string;
    /**
     *
     * @type {number}
     * @memberof AccountApiMyAllocations
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof AccountApiMyAllocations
     */
    readonly endTime?: number;
    /**
     *
     * @type {number}
     * @memberof AccountApiMyAllocations
     */
    readonly fromAllocationId?: number;
    /**
     * Default: 100; Maximum: 5000
     * @type {number}
     * @memberof AccountApiMyAllocations
     */
    readonly limit?: number;
    /**
     * `orderId`or`origClientOrderId`mustbesent
     * @type {number}
     * @memberof AccountApiMyAllocations
     */
    readonly orderId?: number;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiMyAllocations
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for myPreventedMatches operation in AccountApi.
 * @interface MyPreventedMatchesRequest
 */
interface MyPreventedMatchesRequest {
    /**
     *
     * @type {string}
     * @memberof AccountApiMyPreventedMatches
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof AccountApiMyPreventedMatches
     */
    readonly id?: string;
    /**
     *
     * @type {number}
     * @memberof AccountApiMyPreventedMatches
     */
    readonly preventedMatchId?: number;
    /**
     * `orderId`or`origClientOrderId`mustbesent
     * @type {number}
     * @memberof AccountApiMyPreventedMatches
     */
    readonly orderId?: number;
    /**
     *
     * @type {number}
     * @memberof AccountApiMyPreventedMatches
     */
    readonly fromPreventedMatchId?: number;
    /**
     * Default: 100; Maximum: 5000
     * @type {number}
     * @memberof AccountApiMyPreventedMatches
     */
    readonly limit?: number;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiMyPreventedMatches
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for myTrades operation in AccountApi.
 * @interface MyTradesRequest
 */
interface MyTradesRequest {
    /**
     *
     * @type {string}
     * @memberof AccountApiMyTrades
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof AccountApiMyTrades
     */
    readonly id?: string;
    /**
     * Cancel order by orderId
     * @type {number}
     * @memberof AccountApiMyTrades
     */
    readonly orderId?: number;
    /**
     *
     * @type {number}
     * @memberof AccountApiMyTrades
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof AccountApiMyTrades
     */
    readonly endTime?: number;
    /**
     * Aggregate trade ID to begin at
     * @type {number}
     * @memberof AccountApiMyTrades
     */
    readonly fromId?: number;
    /**
     * Default: 100; Maximum: 5000
     * @type {number}
     * @memberof AccountApiMyTrades
     */
    readonly limit?: number;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiMyTrades
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for openOrderListsStatus operation in AccountApi.
 * @interface OpenOrderListsStatusRequest
 */
interface OpenOrderListsStatusRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof AccountApiOpenOrderListsStatus
     */
    readonly id?: string;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiOpenOrderListsStatus
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for openOrdersStatus operation in AccountApi.
 * @interface OpenOrdersStatusRequest
 */
interface OpenOrdersStatusRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof AccountApiOpenOrdersStatus
     */
    readonly id?: string;
    /**
     * Describe a single symbol
     * @type {string}
     * @memberof AccountApiOpenOrdersStatus
     */
    readonly symbol?: string;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiOpenOrdersStatus
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for orderAmendments operation in AccountApi.
 * @interface OrderAmendmentsRequest
 */
interface OrderAmendmentsRequest {
    /**
     *
     * @type {string}
     * @memberof AccountApiOrderAmendments
     */
    readonly symbol: string;
    /**
     *
     * @type {number}
     * @memberof AccountApiOrderAmendments
     */
    readonly orderId: number;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof AccountApiOrderAmendments
     */
    readonly id?: string;
    /**
     *
     * @type {number}
     * @memberof AccountApiOrderAmendments
     */
    readonly fromExecutionId?: number;
    /**
     * Default: 100; Maximum: 5000
     * @type {number}
     * @memberof AccountApiOrderAmendments
     */
    readonly limit?: number;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiOrderAmendments
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for orderListStatus operation in AccountApi.
 * @interface OrderListStatusRequest
 */
interface OrderListStatusRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof AccountApiOrderListStatus
     */
    readonly id?: string;
    /**
     * `orderId`or`origClientOrderId`mustbesent
     * @type {string}
     * @memberof AccountApiOrderListStatus
     */
    readonly origClientOrderId?: string;
    /**
     * Cancel order list by orderListId
     * @type {number}
     * @memberof AccountApiOrderListStatus
     */
    readonly orderListId?: number;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiOrderListStatus
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for orderStatus operation in AccountApi.
 * @interface OrderStatusRequest
 */
interface OrderStatusRequest {
    /**
     *
     * @type {string}
     * @memberof AccountApiOrderStatus
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof AccountApiOrderStatus
     */
    readonly id?: string;
    /**
     * Cancel order by orderId
     * @type {number}
     * @memberof AccountApiOrderStatus
     */
    readonly orderId?: number;
    /**
     * `orderId`or`origClientOrderId`mustbesent
     * @type {string}
     * @memberof AccountApiOrderStatus
     */
    readonly origClientOrderId?: string;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AccountApiOrderStatus
     */
    readonly recvWindow?: number;
}
/**
 * AccountApi - object-oriented interface
 * @class AccountApi
 * @extends {WebsocketAPIBase}
 */
declare class AccountApi implements AccountApiInterface {
    private readonly websocketBase;
    constructor(websocketBase: WebsocketAPIBase);
    /**
     * Get current account commission rates.
     * Weight: 20
     *
     * @summary WebSocket Account Commission Rates
     * @param {AccountCommissionRequest} requestParameters Request parameters.
     * @returns {Promise<AccountCommissionResponse>}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-commission-rates-user_data Binance API Documentation}
     */
    accountCommission(requestParameters: AccountCommissionRequest): Promise<WebsocketApiResponse<AccountCommissionResponse>>;
    /**
     * Query your current unfilled order count for all intervals.
     * Weight: 40
     *
     * @summary WebSocket Unfilled Order Count
     * @param {AccountRateLimitsOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<AccountRateLimitsOrdersResponse>}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#unfilled-order-count-user_data Binance API Documentation}
     */
    accountRateLimitsOrders(requestParameters?: AccountRateLimitsOrdersRequest): Promise<WebsocketApiResponse<AccountRateLimitsOrdersResponse>>;
    /**
     * Query information about your account.
     * Weight: 20
     *
     * @summary WebSocket Account information
     * @param {AccountStatusRequest} requestParameters Request parameters.
     * @returns {Promise<AccountStatusResponse>}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-information-user_data Binance API Documentation}
     */
    accountStatus(requestParameters?: AccountStatusRequest): Promise<WebsocketApiResponse<AccountStatusResponse>>;
    /**
     * Query information about all your order lists, filtered by time range.
     * Weight: 20
     *
     * @summary WebSocket Account order list history
     * @param {AllOrderListsRequest} requestParameters Request parameters.
     * @returns {Promise<AllOrderListsResponse>}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-order-list-history-user_data Binance API Documentation}
     */
    allOrderLists(requestParameters?: AllOrderListsRequest): Promise<WebsocketApiResponse<AllOrderListsResponse>>;
    /**
     * Query information about all your orders – active, canceled, filled – filtered by time range.
     * Weight: 20
     *
     * @summary WebSocket Account order history
     * @param {AllOrdersRequest} requestParameters Request parameters.
     * @returns {Promise<AllOrdersResponse>}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-order-history-user_data Binance API Documentation}
     */
    allOrders(requestParameters: AllOrdersRequest): Promise<WebsocketApiResponse<AllOrdersResponse>>;
    /**
     * Retrieves allocations resulting from SOR order placement.
     * Weight: 20
     *
     * @summary WebSocket Account allocations
     * @param {MyAllocationsRequest} requestParameters Request parameters.
     * @returns {Promise<MyAllocationsResponse>}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-allocations-user_data Binance API Documentation}
     */
    myAllocations(requestParameters: MyAllocationsRequest): Promise<WebsocketApiResponse<MyAllocationsResponse>>;
    /**
     * Displays the list of orders that were expired due to STP.
     *
     * These are the combinations supported:
     *
     * `symbol` + `preventedMatchId`
     * `symbol` + `orderId`
     * `symbol` + `orderId` + `fromPreventedMatchId` (`limit` will default to 500)
     * `symbol` + `orderId` + `fromPreventedMatchId` + `limit`
     * Weight: Case                            | Weight
     * ----                            | -----
     * If `symbol` is invalid          | 2
     * Querying by `preventedMatchId`  | 2
     * Querying by `orderId`           | 20
     *
     * @summary WebSocket Account prevented matches
     * @param {MyPreventedMatchesRequest} requestParameters Request parameters.
     * @returns {Promise<MyPreventedMatchesResponse>}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-prevented-matches-user_data Binance API Documentation}
     */
    myPreventedMatches(requestParameters: MyPreventedMatchesRequest): Promise<WebsocketApiResponse<MyPreventedMatchesResponse>>;
    /**
     * Query information about all your trades, filtered by time range.
     * Weight: Condition| Weight|
     * ---| ---
     * |Without orderId|20|
     * |With orderId|5|
     *
     * @summary WebSocket Account trade history
     * @param {MyTradesRequest} requestParameters Request parameters.
     * @returns {Promise<MyTradesResponse>}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-trade-history-user_data Binance API Documentation}
     */
    myTrades(requestParameters: MyTradesRequest): Promise<WebsocketApiResponse<MyTradesResponse>>;
    /**
     * Query execution status of all open order lists.
     *
     * If you need to continuously monitor order status updates, please consider using WebSocket Streams:
     *
     * `userDataStream.start` request
     * `executionReport` user data stream event
     * Weight: 6
     *
     * @summary WebSocket Current open Order lists
     * @param {OpenOrderListsStatusRequest} requestParameters Request parameters.
     * @returns {Promise<OpenOrderListsStatusResponse>}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#current-open-order-lists-user_data Binance API Documentation}
     */
    openOrderListsStatus(requestParameters?: OpenOrderListsStatusRequest): Promise<WebsocketApiResponse<OpenOrderListsStatusResponse>>;
    /**
     * Query execution status of all open orders.
     *
     * If you need to continuously monitor order status updates, please consider using WebSocket Streams:
     *
     * `userDataStream.start` request
     * `executionReport` user data stream event
     * Weight: Adjusted based on the number of requested symbols:
     *
     * | Parameter | Weight |
     * | --------- | ------ |
     * | `symbol`  |      6 |
     * | none      |     80 |
     *
     * @summary WebSocket Current open orders
     * @param {OpenOrdersStatusRequest} requestParameters Request parameters.
     * @returns {Promise<OpenOrdersStatusResponse>}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#current-open-orders-user_data Binance API Documentation}
     */
    openOrdersStatus(requestParameters?: OpenOrdersStatusRequest): Promise<WebsocketApiResponse<OpenOrdersStatusResponse>>;
    /**
     * Queries all amendments of a single order.
     * Weight: 4
     *
     * @summary WebSocket Query Order Amendments
     * @param {OrderAmendmentsRequest} requestParameters Request parameters.
     * @returns {Promise<OrderAmendmentsResponse>}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#query-order-amendments-user_data Binance API Documentation}
     */
    orderAmendments(requestParameters: OrderAmendmentsRequest): Promise<WebsocketApiResponse<OrderAmendmentsResponse>>;
    /**
     * Check execution status of an Order list.
     *
     * For execution status of individual orders, use `order.status`.
     * Weight: 4
     *
     * @summary WebSocket Query Order list
     * @param {OrderListStatusRequest} requestParameters Request parameters.
     * @returns {Promise<OrderListStatusResponse>}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#query-order-list-user_data Binance API Documentation}
     */
    orderListStatus(requestParameters?: OrderListStatusRequest): Promise<WebsocketApiResponse<OrderListStatusResponse>>;
    /**
     * Check execution status of an order.
     * Weight: 4
     *
     * @summary WebSocket Query order
     * @param {OrderStatusRequest} requestParameters Request parameters.
     * @returns {Promise<OrderStatusResponse>}
     * @memberof AccountApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#query-order-user_data Binance API Documentation}
     */
    orderStatus(requestParameters: OrderStatusRequest): Promise<WebsocketApiResponse<OrderStatusResponse>>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 * AuthApi - interface
 *
 * @interface AuthApi
 */
interface AuthApiInterface {
    /**
     * Authenticate WebSocket connection using the provided API key.
     *
     * After calling `session.logon`, you can omit `apiKey` and `signature` parameters for future requests that require them.
     *
     * Note that only one API key can be authenticated.
     * Calling `session.logon` multiple times changes the current authenticated API key.
     * Weight: 2
     *
     * @summary WebSocket Log in with API key
     * @param {SessionLogonRequest} requestParameters Request parameters.
     *
     * @returns {Promise<SessionLogonResponse>}
     * @memberof AuthApiInterface
     */
    sessionLogon(requestParameters?: SessionLogonRequest): Promise<WebsocketApiResponse<SessionLogonResponse>>;
    /**
     * Forget the API key previously authenticated.
     * If the connection is not authenticated, this request does nothing.
     *
     * Note that the WebSocket connection stays open after `session.logout` request.
     * You can continue using the connection,
     * but now you will have to explicitly provide the `apiKey` and `signature` parameters where needed.
     * Weight: 2
     *
     * @summary WebSocket Log out of the session
     * @param {SessionLogoutRequest} requestParameters Request parameters.
     *
     * @returns {Promise<SessionLogoutResponse>}
     * @memberof AuthApiInterface
     */
    sessionLogout(requestParameters?: SessionLogoutRequest): Promise<WebsocketApiResponse<SessionLogoutResponse>>;
    /**
     * Query the status of the WebSocket connection,
     * inspecting which API key (if any) is used to authorize requests.
     * Weight: 2
     *
     * @summary WebSocket Query session status
     * @param {SessionStatusRequest} requestParameters Request parameters.
     *
     * @returns {Promise<SessionStatusResponse>}
     * @memberof AuthApiInterface
     */
    sessionStatus(requestParameters?: SessionStatusRequest): Promise<WebsocketApiResponse<SessionStatusResponse>>;
}
/**
 * Request parameters for sessionLogon operation in AuthApi.
 * @interface SessionLogonRequest
 */
interface SessionLogonRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof AuthApiSessionLogon
     */
    readonly id?: string;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof AuthApiSessionLogon
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for sessionLogout operation in AuthApi.
 * @interface SessionLogoutRequest
 */
interface SessionLogoutRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof AuthApiSessionLogout
     */
    readonly id?: string;
}
/**
 * Request parameters for sessionStatus operation in AuthApi.
 * @interface SessionStatusRequest
 */
interface SessionStatusRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof AuthApiSessionStatus
     */
    readonly id?: string;
}
/**
 * AuthApi - object-oriented interface
 * @class AuthApi
 * @extends {WebsocketAPIBase}
 */
declare class AuthApi implements AuthApiInterface {
    private readonly websocketBase;
    constructor(websocketBase: WebsocketAPIBase);
    /**
     * Authenticate WebSocket connection using the provided API key.
     *
     * After calling `session.logon`, you can omit `apiKey` and `signature` parameters for future requests that require them.
     *
     * Note that only one API key can be authenticated.
     * Calling `session.logon` multiple times changes the current authenticated API key.
     * Weight: 2
     *
     * @summary WebSocket Log in with API key
     * @param {SessionLogonRequest} requestParameters Request parameters.
     * @returns {Promise<SessionLogonResponse>}
     * @memberof AuthApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/authentication-requests#log-in-with-api-key-signed Binance API Documentation}
     */
    sessionLogon(requestParameters?: SessionLogonRequest): Promise<WebsocketApiResponse<SessionLogonResponse>>;
    /**
     * Forget the API key previously authenticated.
     * If the connection is not authenticated, this request does nothing.
     *
     * Note that the WebSocket connection stays open after `session.logout` request.
     * You can continue using the connection,
     * but now you will have to explicitly provide the `apiKey` and `signature` parameters where needed.
     * Weight: 2
     *
     * @summary WebSocket Log out of the session
     * @param {SessionLogoutRequest} requestParameters Request parameters.
     * @returns {Promise<SessionLogoutResponse>}
     * @memberof AuthApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/authentication-requests#log-out-of-the-session Binance API Documentation}
     */
    sessionLogout(requestParameters?: SessionLogoutRequest): Promise<WebsocketApiResponse<SessionLogoutResponse>>;
    /**
     * Query the status of the WebSocket connection,
     * inspecting which API key (if any) is used to authorize requests.
     * Weight: 2
     *
     * @summary WebSocket Query session status
     * @param {SessionStatusRequest} requestParameters Request parameters.
     * @returns {Promise<SessionStatusResponse>}
     * @memberof AuthApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/authentication-requests#query-session-status Binance API Documentation}
     */
    sessionStatus(requestParameters?: SessionStatusRequest): Promise<WebsocketApiResponse<SessionStatusResponse>>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 * GeneralApi - interface
 *
 * @interface GeneralApi
 */
interface GeneralApiInterface {
    /**
     * Query current exchange trading rules, rate limits, and symbol information.
     * Weight: 20
     *
     * @summary WebSocket Exchange information
     * @param {ExchangeInfoRequest} requestParameters Request parameters.
     *
     * @returns {Promise<ExchangeInfoResponse>}
     * @memberof GeneralApiInterface
     */
    exchangeInfo(requestParameters?: ExchangeInfoRequest): Promise<WebsocketApiResponse<ExchangeInfoResponse>>;
    /**
     * Test connectivity to the WebSocket API.
     * Weight: 1
     *
     * @summary WebSocket Test connectivity
     * @param {PingRequest} requestParameters Request parameters.
     *
     * @returns {Promise<PingResponse>}
     * @memberof GeneralApiInterface
     */
    ping(requestParameters?: PingRequest): Promise<WebsocketApiResponse<PingResponse>>;
    /**
     * Test connectivity to the WebSocket API and get the current server time.
     * Weight: 1
     *
     * @summary WebSocket Check server time
     * @param {TimeRequest} requestParameters Request parameters.
     *
     * @returns {Promise<TimeResponse>}
     * @memberof GeneralApiInterface
     */
    time(requestParameters?: TimeRequest): Promise<WebsocketApiResponse<TimeResponse>>;
}
/**
 * Request parameters for exchangeInfo operation in GeneralApi.
 * @interface ExchangeInfoRequest
 */
interface ExchangeInfoRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof GeneralApiExchangeInfo
     */
    readonly id?: string;
    /**
     * Describe a single symbol
     * @type {string}
     * @memberof GeneralApiExchangeInfo
     */
    readonly symbol?: string;
    /**
     * List of symbols to query
     * @type {Array<string>}
     * @memberof GeneralApiExchangeInfo
     */
    readonly symbols?: Array<string>;
    /**
     *
     * @type {Array<string>}
     * @memberof GeneralApiExchangeInfo
     */
    readonly permissions?: Array<string>;
    /**
     *
     * @type {boolean}
     * @memberof GeneralApiExchangeInfo
     */
    readonly showPermissionSets?: boolean;
    /**
     *
     * @type {'TRADING' | 'END_OF_DAY' | 'HALT' | 'BREAK' | 'NON_REPRESENTABLE'}
     * @memberof GeneralApiExchangeInfo
     */
    readonly symbolStatus?: ExchangeInfoSymbolStatusEnum;
}
/**
 * Request parameters for ping operation in GeneralApi.
 * @interface PingRequest
 */
interface PingRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof GeneralApiPing
     */
    readonly id?: string;
}
/**
 * Request parameters for time operation in GeneralApi.
 * @interface TimeRequest
 */
interface TimeRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof GeneralApiTime
     */
    readonly id?: string;
}
/**
 * GeneralApi - object-oriented interface
 * @class GeneralApi
 * @extends {WebsocketAPIBase}
 */
declare class GeneralApi implements GeneralApiInterface {
    private readonly websocketBase;
    constructor(websocketBase: WebsocketAPIBase);
    /**
     * Query current exchange trading rules, rate limits, and symbol information.
     * Weight: 20
     *
     * @summary WebSocket Exchange information
     * @param {ExchangeInfoRequest} requestParameters Request parameters.
     * @returns {Promise<ExchangeInfoResponse>}
     * @memberof GeneralApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/general-requests#exchange-information Binance API Documentation}
     */
    exchangeInfo(requestParameters?: ExchangeInfoRequest): Promise<WebsocketApiResponse<ExchangeInfoResponse>>;
    /**
     * Test connectivity to the WebSocket API.
     * Weight: 1
     *
     * @summary WebSocket Test connectivity
     * @param {PingRequest} requestParameters Request parameters.
     * @returns {Promise<PingResponse>}
     * @memberof GeneralApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/general-requests#test-connectivity Binance API Documentation}
     */
    ping(requestParameters?: PingRequest): Promise<WebsocketApiResponse<PingResponse>>;
    /**
     * Test connectivity to the WebSocket API and get the current server time.
     * Weight: 1
     *
     * @summary WebSocket Check server time
     * @param {TimeRequest} requestParameters Request parameters.
     * @returns {Promise<TimeResponse>}
     * @memberof GeneralApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/general-requests#check-server-time Binance API Documentation}
     */
    time(requestParameters?: TimeRequest): Promise<WebsocketApiResponse<TimeResponse>>;
}
declare enum ExchangeInfoSymbolStatusEnum {
    TRADING = "TRADING",
    END_OF_DAY = "END_OF_DAY",
    HALT = "HALT",
    BREAK = "BREAK",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 * MarketApi - interface
 *
 * @interface MarketApi
 */
interface MarketApiInterface {
    /**
     * Get current average price for a symbol.
     * Weight: 2
     *
     * @summary WebSocket Current average price
     * @param {AvgPriceRequest} requestParameters Request parameters.
     *
     * @returns {Promise<AvgPriceResponse>}
     * @memberof MarketApiInterface
     */
    avgPrice(requestParameters: AvgPriceRequest$1): Promise<WebsocketApiResponse<AvgPriceResponse$1>>;
    /**
     * Get current order book.
     *
     * Note that this request returns limited market depth.
     *
     * If you need to continuously monitor order book updates, please consider using WebSocket Streams:
     *
     * `<symbol>@depth<levels>`
     * `<symbol>@depth`
     *
     * You can use `depth` request together with `<symbol>@depth` streams to [maintain a local order book](web-socket-streams.md#how-to-manage-a-local-order-book-correctly).
     * Weight: Adjusted based on the limit:
     *
     * |  Limit    | Weight |
     * |:---------:|:------:|
     * |     1–100 |      5 |
     * |   101–500 |      25|
     * |  501–1000 |     50 |
     * | 1001–5000 |     250 |
     *
     * @summary WebSocket Order book
     * @param {DepthRequest} requestParameters Request parameters.
     *
     * @returns {Promise<DepthResponse>}
     * @memberof MarketApiInterface
     */
    depth(requestParameters: DepthRequest): Promise<WebsocketApiResponse<DepthResponse>>;
    /**
     * Get klines (candlestick bars).
     *
     * Klines are uniquely identified by their open & close time.
     *
     * If you need access to real-time kline updates, please consider using WebSocket Streams:
     *
     * `<symbol>@kline_<interval>`
     *
     * If you need historical kline data,
     * please consider using [data.binance.vision](https://github.com/binance/binance-public-data/#klines).
     * Weight: 2
     *
     * @summary WebSocket Klines
     * @param {KlinesRequest} requestParameters Request parameters.
     *
     * @returns {Promise<KlinesResponse>}
     * @memberof MarketApiInterface
     */
    klines(requestParameters: KlinesRequest): Promise<WebsocketApiResponse<KlinesResponse>>;
    /**
     * Get rolling window price change statistics with a custom window.
     *
     * This request is similar to `ticker.24hr`,
     * but statistics are computed on demand using the arbitrary window you specify.
     * Weight: Adjusted based on the number of requested symbols:
     *
     * | Symbols | Weight |
     * |:-------:|:------:|
     * |    1–50 | 4 per symbol |
     * |  51–100 |    200 |
     *
     * @summary WebSocket Rolling window price change statistics
     * @param {TickerRequest} requestParameters Request parameters.
     *
     * @returns {Promise<TickerResponse>}
     * @memberof MarketApiInterface
     */
    ticker(requestParameters?: TickerRequest$1): Promise<WebsocketApiResponse<TickerResponse$1>>;
    /**
     * Get 24-hour rolling window price change statistics.
     *
     * If you need to continuously monitor trading statistics, please consider using WebSocket Streams:
     *
     * `<symbol>@ticker` or `!ticker@arr`
     * `<symbol>@miniTicker` or `!miniTicker@arr`
     *
     * If you need different window sizes,
     * use the `ticker` request.
     * Weight: Adjusted based on the number of requested symbols:
     *
     * | Symbols     | Weight |
     * |:-----------:|:------:|
     * |        1–20 |      2 |
     * |      21–100 |     40 |
     * | 101 or more |     80 |
     * | all symbols |     80 |
     *
     * @summary WebSocket 24hr ticker price change statistics
     * @param {Ticker24hrRequest} requestParameters Request parameters.
     *
     * @returns {Promise<Ticker24hrResponse>}
     * @memberof MarketApiInterface
     */
    ticker24hr(requestParameters?: Ticker24hrRequest): Promise<WebsocketApiResponse<Ticker24hrResponse>>;
    /**
     * Get the current best price and quantity on the order book.
     *
     * If you need access to real-time order book ticker updates, please consider using WebSocket Streams:
     *
     * `<symbol>@bookTicker`
     * Weight: Adjusted based on the number of requested symbols:
     *
     * | Parameter | Weight |
     * | --------- |:------:|
     * | `symbol`  |      2 |
     * | `symbols` |      4 |
     * | none      |      4 |
     *
     * @summary WebSocket Symbol order book ticker
     * @param {TickerBookRequest} requestParameters Request parameters.
     *
     * @returns {Promise<TickerBookResponse>}
     * @memberof MarketApiInterface
     */
    tickerBook(requestParameters?: TickerBookRequest): Promise<WebsocketApiResponse<TickerBookResponse>>;
    /**
     * Get the latest market price for a symbol.
     *
     * If you need access to real-time price updates, please consider using WebSocket Streams:
     *
     * `<symbol>@aggTrade`
     * `<symbol>@trade`
     * Weight: Adjusted based on the number of requested symbols:
     *
     * | Parameter | Weight |
     * | --------- |:------:|
     * | `symbol`  |      2 |
     * | `symbols` |      4 |
     * | none      |      4 |
     *
     * @summary WebSocket Symbol price ticker
     * @param {TickerPriceRequest} requestParameters Request parameters.
     *
     * @returns {Promise<TickerPriceResponse>}
     * @memberof MarketApiInterface
     */
    tickerPrice(requestParameters?: TickerPriceRequest): Promise<WebsocketApiResponse<TickerPriceResponse>>;
    /**
     * Price change statistics for a trading day.
     * Weight: 4 for each requested <tt>symbol</tt>. <br/><br/> The weight for this request will cap at 200 once the number of `symbols` in the request is more than 50.
     *
     * @summary WebSocket Trading Day Ticker
     * @param {TickerTradingDayRequest} requestParameters Request parameters.
     *
     * @returns {Promise<TickerTradingDayResponse>}
     * @memberof MarketApiInterface
     */
    tickerTradingDay(requestParameters?: TickerTradingDayRequest): Promise<WebsocketApiResponse<TickerTradingDayResponse>>;
    /**
     * Get aggregate trades.
     *
     * An *aggregate trade* (aggtrade) represents one or more individual trades.
     * Trades that fill at the same time, from the same taker order, with the same price –
     * those trades are collected into an aggregate trade with total quantity of the individual trades.
     *
     * If you need access to real-time trading activity, please consider using WebSocket Streams:
     *
     * `<symbol>@aggTrade`
     *
     * If you need historical aggregate trade data,
     * please consider using [data.binance.vision](https://github.com/binance/binance-public-data/#aggtrades).
     * Weight: 4
     *
     * @summary WebSocket Aggregate trades
     * @param {TradesAggregateRequest} requestParameters Request parameters.
     *
     * @returns {Promise<TradesAggregateResponse>}
     * @memberof MarketApiInterface
     */
    tradesAggregate(requestParameters: TradesAggregateRequest): Promise<WebsocketApiResponse<TradesAggregateResponse>>;
    /**
     * Get historical trades.
     * Weight: 25
     *
     * @summary WebSocket Historical trades
     * @param {TradesHistoricalRequest} requestParameters Request parameters.
     *
     * @returns {Promise<TradesHistoricalResponse>}
     * @memberof MarketApiInterface
     */
    tradesHistorical(requestParameters: TradesHistoricalRequest): Promise<WebsocketApiResponse<TradesHistoricalResponse>>;
    /**
     * Get recent trades.
     *
     * If you need access to real-time trading activity, please consider using WebSocket Streams:
     *
     * `<symbol>@trade`
     * Weight: 25
     *
     * @summary WebSocket Recent trades
     * @param {TradesRecentRequest} requestParameters Request parameters.
     *
     * @returns {Promise<TradesRecentResponse>}
     * @memberof MarketApiInterface
     */
    tradesRecent(requestParameters: TradesRecentRequest): Promise<WebsocketApiResponse<TradesRecentResponse>>;
    /**
     * Get klines (candlestick bars) optimized for presentation.
     *
     * This request is similar to `klines`, having the same parameters and response.
     * `uiKlines` return modified kline data, optimized for presentation of candlestick charts.
     * Weight: 2
     *
     * @summary WebSocket UI Klines
     * @param {UiKlinesRequest} requestParameters Request parameters.
     *
     * @returns {Promise<UiKlinesResponse>}
     * @memberof MarketApiInterface
     */
    uiKlines(requestParameters: UiKlinesRequest): Promise<WebsocketApiResponse<UiKlinesResponse>>;
}
/**
 * Request parameters for avgPrice operation in MarketApi.
 * @interface AvgPriceRequest
 */
interface AvgPriceRequest$1 {
    /**
     *
     * @type {string}
     * @memberof MarketApiAvgPrice
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof MarketApiAvgPrice
     */
    readonly id?: string;
}
/**
 * Request parameters for depth operation in MarketApi.
 * @interface DepthRequest
 */
interface DepthRequest {
    /**
     *
     * @type {string}
     * @memberof MarketApiDepth
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof MarketApiDepth
     */
    readonly id?: string;
    /**
     * Default: 100; Maximum: 5000
     * @type {number}
     * @memberof MarketApiDepth
     */
    readonly limit?: number;
}
/**
 * Request parameters for klines operation in MarketApi.
 * @interface KlinesRequest
 */
interface KlinesRequest {
    /**
     *
     * @type {string}
     * @memberof MarketApiKlines
     */
    readonly symbol: string;
    /**
     *
     * @type {'1s' | '1m' | '3m' | '5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '8h' | '12h' | '1d' | '3d' | '1w' | '1M'}
     * @memberof MarketApiKlines
     */
    readonly interval: KlinesIntervalEnum;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof MarketApiKlines
     */
    readonly id?: string;
    /**
     *
     * @type {number}
     * @memberof MarketApiKlines
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof MarketApiKlines
     */
    readonly endTime?: number;
    /**
     * Default: 0 (UTC)
     * @type {string}
     * @memberof MarketApiKlines
     */
    readonly timeZone?: string;
    /**
     * Default: 100; Maximum: 5000
     * @type {number}
     * @memberof MarketApiKlines
     */
    readonly limit?: number;
}
/**
 * Request parameters for ticker operation in MarketApi.
 * @interface TickerRequest
 */
interface TickerRequest$1 {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof MarketApiTicker
     */
    readonly id?: string;
    /**
     * Describe a single symbol
     * @type {string}
     * @memberof MarketApiTicker
     */
    readonly symbol?: string;
    /**
     * List of symbols to query
     * @type {Array<string>}
     * @memberof MarketApiTicker
     */
    readonly symbols?: Array<string>;
    /**
     *
     * @type {'FULL' | 'MINI'}
     * @memberof MarketApiTicker
     */
    readonly type?: TickerTypeEnum;
    /**
     *
     * @type {'1m' | '2m' | '3m' | '4m' | '5m' | '6m' | '7m' | '8m' | '9m' | '10m' | '11m' | '12m' | '13m' | '14m' | '15m' | '16m' | '17m' | '18m' | '19m' | '20m' | '21m' | '22m' | '23m' | '24m' | '25m' | '26m' | '27m' | '28m' | '29m' | '30m' | '31m' | '32m' | '33m' | '34m' | '35m' | '36m' | '37m' | '38m' | '39m' | '40m' | '41m' | '42m' | '43m' | '44m' | '45m' | '46m' | '47m' | '48m' | '49m' | '50m' | '51m' | '52m' | '53m' | '54m' | '55m' | '56m' | '57m' | '58m' | '59m' | '1h' | '2h' | '3h' | '4h' | '5h' | '6h' | '7h' | '8h' | '9h' | '10h' | '11h' | '12h' | '13h' | '14h' | '15h' | '16h' | '17h' | '18h' | '19h' | '20h' | '21h' | '22h' | '23h' | '1d' | '2d' | '3d' | '4d' | '5d' | '6d'}
     * @memberof MarketApiTicker
     */
    readonly windowSize?: TickerWindowSizeEnum;
}
/**
 * Request parameters for ticker24hr operation in MarketApi.
 * @interface Ticker24hrRequest
 */
interface Ticker24hrRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof MarketApiTicker24hr
     */
    readonly id?: string;
    /**
     * Describe a single symbol
     * @type {string}
     * @memberof MarketApiTicker24hr
     */
    readonly symbol?: string;
    /**
     * List of symbols to query
     * @type {Array<string>}
     * @memberof MarketApiTicker24hr
     */
    readonly symbols?: Array<string>;
    /**
     *
     * @type {'FULL' | 'MINI'}
     * @memberof MarketApiTicker24hr
     */
    readonly type?: Ticker24hrTypeEnum;
}
/**
 * Request parameters for tickerBook operation in MarketApi.
 * @interface TickerBookRequest
 */
interface TickerBookRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof MarketApiTickerBook
     */
    readonly id?: string;
    /**
     * Describe a single symbol
     * @type {string}
     * @memberof MarketApiTickerBook
     */
    readonly symbol?: string;
    /**
     * List of symbols to query
     * @type {Array<string>}
     * @memberof MarketApiTickerBook
     */
    readonly symbols?: Array<string>;
}
/**
 * Request parameters for tickerPrice operation in MarketApi.
 * @interface TickerPriceRequest
 */
interface TickerPriceRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof MarketApiTickerPrice
     */
    readonly id?: string;
    /**
     * Describe a single symbol
     * @type {string}
     * @memberof MarketApiTickerPrice
     */
    readonly symbol?: string;
    /**
     * List of symbols to query
     * @type {Array<string>}
     * @memberof MarketApiTickerPrice
     */
    readonly symbols?: Array<string>;
}
/**
 * Request parameters for tickerTradingDay operation in MarketApi.
 * @interface TickerTradingDayRequest
 */
interface TickerTradingDayRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof MarketApiTickerTradingDay
     */
    readonly id?: string;
    /**
     * Describe a single symbol
     * @type {string}
     * @memberof MarketApiTickerTradingDay
     */
    readonly symbol?: string;
    /**
     * List of symbols to query
     * @type {Array<string>}
     * @memberof MarketApiTickerTradingDay
     */
    readonly symbols?: Array<string>;
    /**
     * Default: 0 (UTC)
     * @type {string}
     * @memberof MarketApiTickerTradingDay
     */
    readonly timeZone?: string;
    /**
     *
     * @type {'FULL' | 'MINI'}
     * @memberof MarketApiTickerTradingDay
     */
    readonly type?: TickerTradingDayTypeEnum;
}
/**
 * Request parameters for tradesAggregate operation in MarketApi.
 * @interface TradesAggregateRequest
 */
interface TradesAggregateRequest {
    /**
     *
     * @type {string}
     * @memberof MarketApiTradesAggregate
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof MarketApiTradesAggregate
     */
    readonly id?: string;
    /**
     * Aggregate trade ID to begin at
     * @type {number}
     * @memberof MarketApiTradesAggregate
     */
    readonly fromId?: number;
    /**
     *
     * @type {number}
     * @memberof MarketApiTradesAggregate
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof MarketApiTradesAggregate
     */
    readonly endTime?: number;
    /**
     * Default: 100; Maximum: 5000
     * @type {number}
     * @memberof MarketApiTradesAggregate
     */
    readonly limit?: number;
}
/**
 * Request parameters for tradesHistorical operation in MarketApi.
 * @interface TradesHistoricalRequest
 */
interface TradesHistoricalRequest {
    /**
     *
     * @type {string}
     * @memberof MarketApiTradesHistorical
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof MarketApiTradesHistorical
     */
    readonly id?: string;
    /**
     * Aggregate trade ID to begin at
     * @type {number}
     * @memberof MarketApiTradesHistorical
     */
    readonly fromId?: number;
    /**
     * Default: 100; Maximum: 5000
     * @type {number}
     * @memberof MarketApiTradesHistorical
     */
    readonly limit?: number;
}
/**
 * Request parameters for tradesRecent operation in MarketApi.
 * @interface TradesRecentRequest
 */
interface TradesRecentRequest {
    /**
     *
     * @type {string}
     * @memberof MarketApiTradesRecent
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof MarketApiTradesRecent
     */
    readonly id?: string;
    /**
     * Default: 100; Maximum: 5000
     * @type {number}
     * @memberof MarketApiTradesRecent
     */
    readonly limit?: number;
}
/**
 * Request parameters for uiKlines operation in MarketApi.
 * @interface UiKlinesRequest
 */
interface UiKlinesRequest {
    /**
     *
     * @type {string}
     * @memberof MarketApiUiKlines
     */
    readonly symbol: string;
    /**
     *
     * @type {'1s' | '1m' | '3m' | '5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '8h' | '12h' | '1d' | '3d' | '1w' | '1M'}
     * @memberof MarketApiUiKlines
     */
    readonly interval: UiKlinesIntervalEnum;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof MarketApiUiKlines
     */
    readonly id?: string;
    /**
     *
     * @type {number}
     * @memberof MarketApiUiKlines
     */
    readonly startTime?: number;
    /**
     *
     * @type {number}
     * @memberof MarketApiUiKlines
     */
    readonly endTime?: number;
    /**
     * Default: 0 (UTC)
     * @type {string}
     * @memberof MarketApiUiKlines
     */
    readonly timeZone?: string;
    /**
     * Default: 100; Maximum: 5000
     * @type {number}
     * @memberof MarketApiUiKlines
     */
    readonly limit?: number;
}
/**
 * MarketApi - object-oriented interface
 * @class MarketApi
 * @extends {WebsocketAPIBase}
 */
declare class MarketApi implements MarketApiInterface {
    private readonly websocketBase;
    constructor(websocketBase: WebsocketAPIBase);
    /**
     * Get current average price for a symbol.
     * Weight: 2
     *
     * @summary WebSocket Current average price
     * @param {AvgPriceRequest} requestParameters Request parameters.
     * @returns {Promise<AvgPriceResponse>}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#current-average-price Binance API Documentation}
     */
    avgPrice(requestParameters: AvgPriceRequest$1): Promise<WebsocketApiResponse<AvgPriceResponse$1>>;
    /**
     * Get current order book.
     *
     * Note that this request returns limited market depth.
     *
     * If you need to continuously monitor order book updates, please consider using WebSocket Streams:
     *
     * `<symbol>@depth<levels>`
     * `<symbol>@depth`
     *
     * You can use `depth` request together with `<symbol>@depth` streams to [maintain a local order book](web-socket-streams.md#how-to-manage-a-local-order-book-correctly).
     * Weight: Adjusted based on the limit:
     *
     * |  Limit    | Weight |
     * |:---------:|:------:|
     * |     1–100 |      5 |
     * |   101–500 |      25|
     * |  501–1000 |     50 |
     * | 1001–5000 |     250 |
     *
     * @summary WebSocket Order book
     * @param {DepthRequest} requestParameters Request parameters.
     * @returns {Promise<DepthResponse>}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#order-book Binance API Documentation}
     */
    depth(requestParameters: DepthRequest): Promise<WebsocketApiResponse<DepthResponse>>;
    /**
     * Get klines (candlestick bars).
     *
     * Klines are uniquely identified by their open & close time.
     *
     * If you need access to real-time kline updates, please consider using WebSocket Streams:
     *
     * `<symbol>@kline_<interval>`
     *
     * If you need historical kline data,
     * please consider using [data.binance.vision](https://github.com/binance/binance-public-data/#klines).
     * Weight: 2
     *
     * @summary WebSocket Klines
     * @param {KlinesRequest} requestParameters Request parameters.
     * @returns {Promise<KlinesResponse>}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#klines Binance API Documentation}
     */
    klines(requestParameters: KlinesRequest): Promise<WebsocketApiResponse<KlinesResponse>>;
    /**
     * Get rolling window price change statistics with a custom window.
     *
     * This request is similar to `ticker.24hr`,
     * but statistics are computed on demand using the arbitrary window you specify.
     * Weight: Adjusted based on the number of requested symbols:
     *
     * | Symbols | Weight |
     * |:-------:|:------:|
     * |    1–50 | 4 per symbol |
     * |  51–100 |    200 |
     *
     * @summary WebSocket Rolling window price change statistics
     * @param {TickerRequest} requestParameters Request parameters.
     * @returns {Promise<TickerResponse>}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#rolling-window-price-change-statistics Binance API Documentation}
     */
    ticker(requestParameters?: TickerRequest$1): Promise<WebsocketApiResponse<TickerResponse$1>>;
    /**
     * Get 24-hour rolling window price change statistics.
     *
     * If you need to continuously monitor trading statistics, please consider using WebSocket Streams:
     *
     * `<symbol>@ticker` or `!ticker@arr`
     * `<symbol>@miniTicker` or `!miniTicker@arr`
     *
     * If you need different window sizes,
     * use the `ticker` request.
     * Weight: Adjusted based on the number of requested symbols:
     *
     * | Symbols     | Weight |
     * |:-----------:|:------:|
     * |        1–20 |      2 |
     * |      21–100 |     40 |
     * | 101 or more |     80 |
     * | all symbols |     80 |
     *
     * @summary WebSocket 24hr ticker price change statistics
     * @param {Ticker24hrRequest} requestParameters Request parameters.
     * @returns {Promise<Ticker24hrResponse>}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#24hr-ticker-price-change-statistics Binance API Documentation}
     */
    ticker24hr(requestParameters?: Ticker24hrRequest): Promise<WebsocketApiResponse<Ticker24hrResponse>>;
    /**
     * Get the current best price and quantity on the order book.
     *
     * If you need access to real-time order book ticker updates, please consider using WebSocket Streams:
     *
     * `<symbol>@bookTicker`
     * Weight: Adjusted based on the number of requested symbols:
     *
     * | Parameter | Weight |
     * | --------- |:------:|
     * | `symbol`  |      2 |
     * | `symbols` |      4 |
     * | none      |      4 |
     *
     * @summary WebSocket Symbol order book ticker
     * @param {TickerBookRequest} requestParameters Request parameters.
     * @returns {Promise<TickerBookResponse>}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#symbol-order-book-ticker Binance API Documentation}
     */
    tickerBook(requestParameters?: TickerBookRequest): Promise<WebsocketApiResponse<TickerBookResponse>>;
    /**
     * Get the latest market price for a symbol.
     *
     * If you need access to real-time price updates, please consider using WebSocket Streams:
     *
     * `<symbol>@aggTrade`
     * `<symbol>@trade`
     * Weight: Adjusted based on the number of requested symbols:
     *
     * | Parameter | Weight |
     * | --------- |:------:|
     * | `symbol`  |      2 |
     * | `symbols` |      4 |
     * | none      |      4 |
     *
     * @summary WebSocket Symbol price ticker
     * @param {TickerPriceRequest} requestParameters Request parameters.
     * @returns {Promise<TickerPriceResponse>}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#symbol-price-ticker Binance API Documentation}
     */
    tickerPrice(requestParameters?: TickerPriceRequest): Promise<WebsocketApiResponse<TickerPriceResponse>>;
    /**
     * Price change statistics for a trading day.
     * Weight: 4 for each requested <tt>symbol</tt>. <br/><br/> The weight for this request will cap at 200 once the number of `symbols` in the request is more than 50.
     *
     * @summary WebSocket Trading Day Ticker
     * @param {TickerTradingDayRequest} requestParameters Request parameters.
     * @returns {Promise<TickerTradingDayResponse>}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#trading-day-ticker Binance API Documentation}
     */
    tickerTradingDay(requestParameters?: TickerTradingDayRequest): Promise<WebsocketApiResponse<TickerTradingDayResponse>>;
    /**
     * Get aggregate trades.
     *
     * An *aggregate trade* (aggtrade) represents one or more individual trades.
     * Trades that fill at the same time, from the same taker order, with the same price –
     * those trades are collected into an aggregate trade with total quantity of the individual trades.
     *
     * If you need access to real-time trading activity, please consider using WebSocket Streams:
     *
     * `<symbol>@aggTrade`
     *
     * If you need historical aggregate trade data,
     * please consider using [data.binance.vision](https://github.com/binance/binance-public-data/#aggtrades).
     * Weight: 4
     *
     * @summary WebSocket Aggregate trades
     * @param {TradesAggregateRequest} requestParameters Request parameters.
     * @returns {Promise<TradesAggregateResponse>}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#aggregate-trades Binance API Documentation}
     */
    tradesAggregate(requestParameters: TradesAggregateRequest): Promise<WebsocketApiResponse<TradesAggregateResponse>>;
    /**
     * Get historical trades.
     * Weight: 25
     *
     * @summary WebSocket Historical trades
     * @param {TradesHistoricalRequest} requestParameters Request parameters.
     * @returns {Promise<TradesHistoricalResponse>}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#historical-trades Binance API Documentation}
     */
    tradesHistorical(requestParameters: TradesHistoricalRequest): Promise<WebsocketApiResponse<TradesHistoricalResponse>>;
    /**
     * Get recent trades.
     *
     * If you need access to real-time trading activity, please consider using WebSocket Streams:
     *
     * `<symbol>@trade`
     * Weight: 25
     *
     * @summary WebSocket Recent trades
     * @param {TradesRecentRequest} requestParameters Request parameters.
     * @returns {Promise<TradesRecentResponse>}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#recent-trades Binance API Documentation}
     */
    tradesRecent(requestParameters: TradesRecentRequest): Promise<WebsocketApiResponse<TradesRecentResponse>>;
    /**
     * Get klines (candlestick bars) optimized for presentation.
     *
     * This request is similar to `klines`, having the same parameters and response.
     * `uiKlines` return modified kline data, optimized for presentation of candlestick charts.
     * Weight: 2
     *
     * @summary WebSocket UI Klines
     * @param {UiKlinesRequest} requestParameters Request parameters.
     * @returns {Promise<UiKlinesResponse>}
     * @memberof MarketApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#ui-klines Binance API Documentation}
     */
    uiKlines(requestParameters: UiKlinesRequest): Promise<WebsocketApiResponse<UiKlinesResponse>>;
}
declare enum KlinesIntervalEnum {
    INTERVAL_1s = "1s",
    INTERVAL_1m = "1m",
    INTERVAL_3m = "3m",
    INTERVAL_5m = "5m",
    INTERVAL_15m = "15m",
    INTERVAL_30m = "30m",
    INTERVAL_1h = "1h",
    INTERVAL_2h = "2h",
    INTERVAL_4h = "4h",
    INTERVAL_6h = "6h",
    INTERVAL_8h = "8h",
    INTERVAL_12h = "12h",
    INTERVAL_1d = "1d",
    INTERVAL_3d = "3d",
    INTERVAL_1w = "1w",
    INTERVAL_1M = "1M"
}
declare enum TickerTypeEnum {
    FULL = "FULL",
    MINI = "MINI"
}
declare enum TickerWindowSizeEnum {
    WINDOW_SIZE_1m = "1m",
    WINDOW_SIZE_2m = "2m",
    WINDOW_SIZE_3m = "3m",
    WINDOW_SIZE_4m = "4m",
    WINDOW_SIZE_5m = "5m",
    WINDOW_SIZE_6m = "6m",
    WINDOW_SIZE_7m = "7m",
    WINDOW_SIZE_8m = "8m",
    WINDOW_SIZE_9m = "9m",
    WINDOW_SIZE_10m = "10m",
    WINDOW_SIZE_11m = "11m",
    WINDOW_SIZE_12m = "12m",
    WINDOW_SIZE_13m = "13m",
    WINDOW_SIZE_14m = "14m",
    WINDOW_SIZE_15m = "15m",
    WINDOW_SIZE_16m = "16m",
    WINDOW_SIZE_17m = "17m",
    WINDOW_SIZE_18m = "18m",
    WINDOW_SIZE_19m = "19m",
    WINDOW_SIZE_20m = "20m",
    WINDOW_SIZE_21m = "21m",
    WINDOW_SIZE_22m = "22m",
    WINDOW_SIZE_23m = "23m",
    WINDOW_SIZE_24m = "24m",
    WINDOW_SIZE_25m = "25m",
    WINDOW_SIZE_26m = "26m",
    WINDOW_SIZE_27m = "27m",
    WINDOW_SIZE_28m = "28m",
    WINDOW_SIZE_29m = "29m",
    WINDOW_SIZE_30m = "30m",
    WINDOW_SIZE_31m = "31m",
    WINDOW_SIZE_32m = "32m",
    WINDOW_SIZE_33m = "33m",
    WINDOW_SIZE_34m = "34m",
    WINDOW_SIZE_35m = "35m",
    WINDOW_SIZE_36m = "36m",
    WINDOW_SIZE_37m = "37m",
    WINDOW_SIZE_38m = "38m",
    WINDOW_SIZE_39m = "39m",
    WINDOW_SIZE_40m = "40m",
    WINDOW_SIZE_41m = "41m",
    WINDOW_SIZE_42m = "42m",
    WINDOW_SIZE_43m = "43m",
    WINDOW_SIZE_44m = "44m",
    WINDOW_SIZE_45m = "45m",
    WINDOW_SIZE_46m = "46m",
    WINDOW_SIZE_47m = "47m",
    WINDOW_SIZE_48m = "48m",
    WINDOW_SIZE_49m = "49m",
    WINDOW_SIZE_50m = "50m",
    WINDOW_SIZE_51m = "51m",
    WINDOW_SIZE_52m = "52m",
    WINDOW_SIZE_53m = "53m",
    WINDOW_SIZE_54m = "54m",
    WINDOW_SIZE_55m = "55m",
    WINDOW_SIZE_56m = "56m",
    WINDOW_SIZE_57m = "57m",
    WINDOW_SIZE_58m = "58m",
    WINDOW_SIZE_59m = "59m",
    WINDOW_SIZE_1h = "1h",
    WINDOW_SIZE_2h = "2h",
    WINDOW_SIZE_3h = "3h",
    WINDOW_SIZE_4h = "4h",
    WINDOW_SIZE_5h = "5h",
    WINDOW_SIZE_6h = "6h",
    WINDOW_SIZE_7h = "7h",
    WINDOW_SIZE_8h = "8h",
    WINDOW_SIZE_9h = "9h",
    WINDOW_SIZE_10h = "10h",
    WINDOW_SIZE_11h = "11h",
    WINDOW_SIZE_12h = "12h",
    WINDOW_SIZE_13h = "13h",
    WINDOW_SIZE_14h = "14h",
    WINDOW_SIZE_15h = "15h",
    WINDOW_SIZE_16h = "16h",
    WINDOW_SIZE_17h = "17h",
    WINDOW_SIZE_18h = "18h",
    WINDOW_SIZE_19h = "19h",
    WINDOW_SIZE_20h = "20h",
    WINDOW_SIZE_21h = "21h",
    WINDOW_SIZE_22h = "22h",
    WINDOW_SIZE_23h = "23h",
    WINDOW_SIZE_1d = "1d",
    WINDOW_SIZE_2d = "2d",
    WINDOW_SIZE_3d = "3d",
    WINDOW_SIZE_4d = "4d",
    WINDOW_SIZE_5d = "5d",
    WINDOW_SIZE_6d = "6d"
}
declare enum Ticker24hrTypeEnum {
    FULL = "FULL",
    MINI = "MINI"
}
declare enum TickerTradingDayTypeEnum {
    FULL = "FULL",
    MINI = "MINI"
}
declare enum UiKlinesIntervalEnum {
    INTERVAL_1s = "1s",
    INTERVAL_1m = "1m",
    INTERVAL_3m = "3m",
    INTERVAL_5m = "5m",
    INTERVAL_15m = "15m",
    INTERVAL_30m = "30m",
    INTERVAL_1h = "1h",
    INTERVAL_2h = "2h",
    INTERVAL_4h = "4h",
    INTERVAL_6h = "6h",
    INTERVAL_8h = "8h",
    INTERVAL_12h = "12h",
    INTERVAL_1d = "1d",
    INTERVAL_3d = "3d",
    INTERVAL_1w = "1w",
    INTERVAL_1M = "1M"
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 * TradeApi - interface
 *
 * @interface TradeApi
 */
interface TradeApiInterface {
    /**
     * Cancel all open orders on a symbol.
     * This includes orders that are part of an order list.
     * Weight: 1
     *
     * @summary WebSocket Cancel open orders
     * @param {OpenOrdersCancelAllRequest} requestParameters Request parameters.
     *
     * @returns {Promise<OpenOrdersCancelAllResponse>}
     * @memberof TradeApiInterface
     */
    openOrdersCancelAll(requestParameters: OpenOrdersCancelAllRequest): Promise<WebsocketApiResponse<OpenOrdersCancelAllResponse>>;
    /**
     * Reduce the quantity of an existing open order.
     *
     * This adds 0 orders to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     *
     * Read [Order Amend Keep Priority FAQ](faqs/order_amend_keep_priority.md) to learn more.
     * Weight: 4
     *
     * @summary WebSocket Order Amend Keep Priority
     * @param {OrderAmendKeepPriorityRequest} requestParameters Request parameters.
     *
     * @returns {Promise<OrderAmendKeepPriorityResponse>}
     * @memberof TradeApiInterface
     */
    orderAmendKeepPriority(requestParameters: OrderAmendKeepPriorityRequest): Promise<WebsocketApiResponse<OrderAmendKeepPriorityResponse>>;
    /**
     * Cancel an active order.
     * Weight: 1
     *
     * @summary WebSocket Cancel order
     * @param {OrderCancelRequest} requestParameters Request parameters.
     *
     * @returns {Promise<OrderCancelResponse>}
     * @memberof TradeApiInterface
     */
    orderCancel(requestParameters: OrderCancelRequest): Promise<WebsocketApiResponse<OrderCancelResponse>>;
    /**
     * Cancel an existing order and immediately place a new order instead of the canceled one.
     *
     * A new order that was not attempted (i.e. when `newOrderResult: NOT_ATTEMPTED`), will still increase the unfilled order count by 1.
     * Weight: 1
     *
     * @summary WebSocket Cancel and replace order
     * @param {OrderCancelReplaceRequest} requestParameters Request parameters.
     *
     * @returns {Promise<OrderCancelReplaceResponse>}
     * @memberof TradeApiInterface
     */
    orderCancelReplace(requestParameters: OrderCancelReplaceRequest): Promise<WebsocketApiResponse<OrderCancelReplaceResponse>>;
    /**
     * Cancel an active order list.
     * Weight: 1
     *
     * @summary WebSocket Cancel Order list
     * @param {OrderListCancelRequest} requestParameters Request parameters.
     *
     * @returns {Promise<OrderListCancelResponse>}
     * @memberof TradeApiInterface
     */
    orderListCancel(requestParameters: OrderListCancelRequest): Promise<WebsocketApiResponse<OrderListCancelResponse>>;
    /**
     * Send in a new one-cancels-the-other (OCO) pair:
     * `LIMIT_MAKER` + `STOP_LOSS`/`STOP_LOSS_LIMIT` orders (called *legs*),
     * where activation of one order immediately cancels the other.
     *
     * This adds 1 order to `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter
     * Weight: 1
     *
     * Unfilled Order Count: 1
     *
     * @summary WebSocket Place new OCO - Deprecated
     * @param {OrderListPlaceRequest} requestParameters Request parameters.
     *
     * @returns {Promise<OrderListPlaceResponse>}
     * @memberof TradeApiInterface
     */
    orderListPlace(requestParameters: OrderListPlaceRequest): Promise<WebsocketApiResponse<OrderListPlaceResponse>>;
    /**
     * Send in an one-cancels-the-other (OCO) pair, where activation of one order immediately cancels the other.
     *
     * An OCO has 2 orders called the **above order** and **below order**.
     * One of the orders must be a `LIMIT_MAKER/TAKE_PROFIT/TAKE_PROFIT_LIMIT` order and the other must be `STOP_LOSS` or `STOP_LOSS_LIMIT` order.
     * Price restrictions:
     * If the OCO is on the `SELL` side:
     * `LIMIT_MAKER/TAKE_PROFIT_LIMIT` `price` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT` `stopPrice`
     * `TAKE_PROFIT stopPrice` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
     * If the OCO is on the `BUY` side:
     * `LIMIT_MAKER` `price` < Last Traded Price < `STOP_LOSS/STOP_LOSS_LIMIT` `stopPrice`
     * `TAKE_PROFIT stopPrice` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
     * OCOs add **2 orders** to the `EXCHANGE_MAX_ORDERS` filter and `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * Unfilled Order Count: 2
     *
     * @summary WebSocket Place new Order list - OCO
     * @param {OrderListPlaceOcoRequest} requestParameters Request parameters.
     *
     * @returns {Promise<OrderListPlaceOcoResponse>}
     * @memberof TradeApiInterface
     */
    orderListPlaceOco(requestParameters: OrderListPlaceOcoRequest): Promise<WebsocketApiResponse<OrderListPlaceOcoResponse>>;
    /**
     * Places an OTO.
     *
     * An OTO (One-Triggers-the-Other) is an order list comprised of 2 orders.
     * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
     * The second order is called the **pending order**. It can be any order type except for `MARKET` orders using parameter `quoteOrderQty`. The pending order is only placed on the order book when the working order gets **fully filled**.
     * If either the working order or the pending order is cancelled individually, the other order in the order list will also be canceled or expired.
     * When the order list is placed, if the working order gets **immediately fully filled**, the placement response will show the working order as `FILLED` but the pending order will still appear as `PENDING_NEW`. You need to query the status of the pending order again to see its updated status.
     * OTOs add **2 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * Unfilled Order Count: 2
     *
     * @summary WebSocket Place new Order list - OTO
     * @param {OrderListPlaceOtoRequest} requestParameters Request parameters.
     *
     * @returns {Promise<OrderListPlaceOtoResponse>}
     * @memberof TradeApiInterface
     */
    orderListPlaceOto(requestParameters: OrderListPlaceOtoRequest): Promise<WebsocketApiResponse<OrderListPlaceOtoResponse>>;
    /**
     * Place an OTOCO.
     *
     * An OTOCO (One-Triggers-One-Cancels-the-Other) is an order list comprised of 3 orders.
     * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
     * The behavior of the working order is the same as the [OTO](#place-new-order-list---oto-trade).
     * OTOCO has 2 pending orders (pending above and pending below), forming an OCO pair. The pending orders are only placed on the order book when the working order gets **fully filled**.
     * The rules of the pending above and pending below follow the same rules as the [Order list OCO](#new-order-list---oco-trade).
     * OTOCOs add **3 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * Unfilled Order Count: 3
     *
     * @summary WebSocket Place new Order list - OTOCO
     * @param {OrderListPlaceOtocoRequest} requestParameters Request parameters.
     *
     * @returns {Promise<OrderListPlaceOtocoResponse>}
     * @memberof TradeApiInterface
     */
    orderListPlaceOtoco(requestParameters: OrderListPlaceOtocoRequest): Promise<WebsocketApiResponse<OrderListPlaceOtocoResponse>>;
    /**
     * Send in a new order.
     *
     * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * @summary WebSocket Place new order
     * @param {OrderPlaceRequest} requestParameters Request parameters.
     *
     * @returns {Promise<OrderPlaceResponse>}
     * @memberof TradeApiInterface
     */
    orderPlace(requestParameters: OrderPlaceRequest): Promise<WebsocketApiResponse<OrderPlaceResponse>>;
    /**
     * Test order placement.
     *
     * Validates new order parameters and verifies your signature
     * but does not send the order into the matching engine.
     * Weight: |Condition| Request Weight|
     * |------------           | ------------ |
     * |Without `computeCommissionRates`| 1|
     * |With `computeCommissionRates`|20|
     *
     * @summary WebSocket Test new order
     * @param {OrderTestRequest} requestParameters Request parameters.
     *
     * @returns {Promise<OrderTestResponse>}
     * @memberof TradeApiInterface
     */
    orderTest(requestParameters?: OrderTestRequest): Promise<WebsocketApiResponse<OrderTestResponse>>;
    /**
     * Places an order using smart order routing (SOR).
     *
     * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     *
     * Read [SOR FAQ](../faqs/sor_faq.md) to learn more.
     * Weight: 1
     *
     * Unfilled Order Count: 1
     *
     * @summary WebSocket Place new order using SOR
     * @param {SorOrderPlaceRequest} requestParameters Request parameters.
     *
     * @returns {Promise<SorOrderPlaceResponse>}
     * @memberof TradeApiInterface
     */
    sorOrderPlace(requestParameters: SorOrderPlaceRequest): Promise<WebsocketApiResponse<SorOrderPlaceResponse>>;
    /**
     * Test new order creation and signature/recvWindow using smart order routing (SOR).
     * Creates and validates a new order but does not send it into the matching engine.
     * Weight: |Condition                       | Request Weight|
     * |------------                    | ------------ |
     * |Without `computeCommissionRates`| 1            |
     * |With `computeCommissionRates`   |20            |
     *
     * @summary WebSocket Test new order using SOR
     * @param {SorOrderTestRequest} requestParameters Request parameters.
     *
     * @returns {Promise<SorOrderTestResponse>}
     * @memberof TradeApiInterface
     */
    sorOrderTest(requestParameters?: SorOrderTestRequest): Promise<WebsocketApiResponse<SorOrderTestResponse>>;
}
/**
 * Request parameters for openOrdersCancelAll operation in TradeApi.
 * @interface OpenOrdersCancelAllRequest
 */
interface OpenOrdersCancelAllRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiOpenOrdersCancelAll
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof TradeApiOpenOrdersCancelAll
     */
    readonly id?: string;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof TradeApiOpenOrdersCancelAll
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for orderAmendKeepPriority operation in TradeApi.
 * @interface OrderAmendKeepPriorityRequest
 */
interface OrderAmendKeepPriorityRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiOrderAmendKeepPriority
     */
    readonly symbol: string;
    /**
     * `newQty` must be greater than 0 and less than the order's quantity.
     * @type {number}
     * @memberof TradeApiOrderAmendKeepPriority
     */
    readonly newQty: number;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof TradeApiOrderAmendKeepPriority
     */
    readonly id?: string;
    /**
     * `orderId`or`origClientOrderId`mustbesent
     * @type {number}
     * @memberof TradeApiOrderAmendKeepPriority
     */
    readonly orderId?: number;
    /**
     * `orderId`or`origClientOrderId`mustbesent
     * @type {string}
     * @memberof TradeApiOrderAmendKeepPriority
     */
    readonly origClientOrderId?: string;
    /**
     * The new client order ID for the order after being amended. <br> If not sent, one will be randomly generated. <br> It is possible to reuse the current clientOrderId by sending it as the `newClientOrderId`.
     * @type {string}
     * @memberof TradeApiOrderAmendKeepPriority
     */
    readonly newClientOrderId?: string;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof TradeApiOrderAmendKeepPriority
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for orderCancel operation in TradeApi.
 * @interface OrderCancelRequest
 */
interface OrderCancelRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiOrderCancel
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof TradeApiOrderCancel
     */
    readonly id?: string;
    /**
     * Cancel order by orderId
     * @type {number}
     * @memberof TradeApiOrderCancel
     */
    readonly orderId?: number;
    /**
     * `orderId`or`origClientOrderId`mustbesent
     * @type {string}
     * @memberof TradeApiOrderCancel
     */
    readonly origClientOrderId?: string;
    /**
     * The new client order ID for the order after being amended. <br> If not sent, one will be randomly generated. <br> It is possible to reuse the current clientOrderId by sending it as the `newClientOrderId`.
     * @type {string}
     * @memberof TradeApiOrderCancel
     */
    readonly newClientOrderId?: string;
    /**
     *
     * @type {'ONLY_NEW' | 'NEW' | 'ONLY_PARTIALLY_FILLED' | 'PARTIALLY_FILLED'}
     * @memberof TradeApiOrderCancel
     */
    readonly cancelRestrictions?: OrderCancelCancelRestrictionsEnum;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof TradeApiOrderCancel
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for orderCancelReplace operation in TradeApi.
 * @interface OrderCancelReplaceRequest
 */
interface OrderCancelReplaceRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly symbol: string;
    /**
     *
     * @type {'STOP_ON_FAILURE' | 'ALLOW_FAILURE'}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly cancelReplaceMode: OrderCancelReplaceCancelReplaceModeEnum;
    /**
     *
     * @type {'BUY' | 'SELL'}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly side: OrderCancelReplaceSideEnum;
    /**
     *
     * @type {'MARKET' | 'LIMIT' | 'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT' | 'LIMIT_MAKER' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly type: OrderCancelReplaceTypeEnum;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly id?: string;
    /**
     * Cancel order by orderId
     * @type {number}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly cancelOrderId?: number;
    /**
     *
     * @type {string}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly cancelOrigClientOrderId?: string;
    /**
     * New ID for the canceled order. Automatically generated if not sent
     * @type {string}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly cancelNewClientOrderId?: string;
    /**
     *
     * @type {'GTC' | 'IOC' | 'FOK' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly timeInForce?: OrderCancelReplaceTimeInForceEnum;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly price?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly quantity?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly quoteOrderQty?: number;
    /**
     * The new client order ID for the order after being amended. <br> If not sent, one will be randomly generated. <br> It is possible to reuse the current clientOrderId by sending it as the `newClientOrderId`.
     * @type {string}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly newClientOrderId?: string;
    /**
     *
     * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly newOrderRespType?: OrderCancelReplaceNewOrderRespTypeEnum;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly stopPrice?: number;
    /**
     * See Trailing Stop order FAQ
     * @type {number}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly trailingDelta?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly icebergQty?: number;
    /**
     * Arbitrary numeric value identifying the order within an order strategy.
     * @type {number}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly strategyId?: number;
    /**
     * Arbitrary numeric value identifying the order strategy.
     * Values smaller than 1000000 are reserved and cannot be used.
     * @type {number}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly strategyType?: number;
    /**
     *
     * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly selfTradePreventionMode?: OrderCancelReplaceSelfTradePreventionModeEnum;
    /**
     *
     * @type {'ONLY_NEW' | 'NEW' | 'ONLY_PARTIALLY_FILLED' | 'PARTIALLY_FILLED'}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly cancelRestrictions?: OrderCancelReplaceCancelRestrictionsEnum;
    /**
     *
     * @type {'DO_NOTHING' | 'CANCEL_ONLY'}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly orderRateLimitExceededMode?: OrderCancelReplaceOrderRateLimitExceededModeEnum;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof TradeApiOrderCancelReplace
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for orderListCancel operation in TradeApi.
 * @interface OrderListCancelRequest
 */
interface OrderListCancelRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiOrderListCancel
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof TradeApiOrderListCancel
     */
    readonly id?: string;
    /**
     * Cancel order list by orderListId
     * @type {number}
     * @memberof TradeApiOrderListCancel
     */
    readonly orderListId?: number;
    /**
     *
     * @type {string}
     * @memberof TradeApiOrderListCancel
     */
    readonly listClientOrderId?: string;
    /**
     * The new client order ID for the order after being amended. <br> If not sent, one will be randomly generated. <br> It is possible to reuse the current clientOrderId by sending it as the `newClientOrderId`.
     * @type {string}
     * @memberof TradeApiOrderListCancel
     */
    readonly newClientOrderId?: string;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof TradeApiOrderListCancel
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for orderListPlace operation in TradeApi.
 * @interface OrderListPlaceRequest
 */
interface OrderListPlaceRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiOrderListPlace
     */
    readonly symbol: string;
    /**
     *
     * @type {'BUY' | 'SELL'}
     * @memberof TradeApiOrderListPlace
     */
    readonly side: OrderListPlaceSideEnum;
    /**
     * Price for the limit order
     * @type {number}
     * @memberof TradeApiOrderListPlace
     */
    readonly price: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderListPlace
     */
    readonly quantity: number;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof TradeApiOrderListPlace
     */
    readonly id?: string;
    /**
     *
     * @type {string}
     * @memberof TradeApiOrderListPlace
     */
    readonly listClientOrderId?: string;
    /**
     * Arbitrary unique ID among open orders for the limit order. Automatically generated if not sent
     * @type {string}
     * @memberof TradeApiOrderListPlace
     */
    readonly limitClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderListPlace
     */
    readonly limitIcebergQty?: number;
    /**
     * Arbitrary numeric value identifying the limit order within an order strategy.
     * @type {number}
     * @memberof TradeApiOrderListPlace
     */
    readonly limitStrategyId?: number;
    /**
     * <p>Arbitrary numeric value identifying the limit order strategy.</p><p>Values smaller than `1000000` are reserved and cannot be used.</p>
     * @type {number}
     * @memberof TradeApiOrderListPlace
     */
    readonly limitStrategyType?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderListPlace
     */
    readonly stopPrice?: number;
    /**
     * See [Trailing Stop order FAQ](faqs/trailing-stop-faq.md)
     * @type {number}
     * @memberof TradeApiOrderListPlace
     */
    readonly trailingDelta?: number;
    /**
     * Arbitrary unique ID among open orders for the stop order. Automatically generated if not sent
     * @type {string}
     * @memberof TradeApiOrderListPlace
     */
    readonly stopClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderListPlace
     */
    readonly stopLimitPrice?: number;
    /**
     *
     * @type {'GTC' | 'FOK' | 'IOC'}
     * @memberof TradeApiOrderListPlace
     */
    readonly stopLimitTimeInForce?: OrderListPlaceStopLimitTimeInForceEnum;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderListPlace
     */
    readonly stopIcebergQty?: number;
    /**
     * Arbitrary numeric value identifying the stop order within an order strategy.
     * @type {number}
     * @memberof TradeApiOrderListPlace
     */
    readonly stopStrategyId?: number;
    /**
     * <p>Arbitrary numeric value identifying the stop order strategy.</p><p>Values smaller than `1000000` are reserved and cannot be used.</p>
     * @type {number}
     * @memberof TradeApiOrderListPlace
     */
    readonly stopStrategyType?: number;
    /**
     *
     * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
     * @memberof TradeApiOrderListPlace
     */
    readonly newOrderRespType?: OrderListPlaceNewOrderRespTypeEnum;
    /**
     *
     * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiOrderListPlace
     */
    readonly selfTradePreventionMode?: OrderListPlaceSelfTradePreventionModeEnum;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof TradeApiOrderListPlace
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for orderListPlaceOco operation in TradeApi.
 * @interface OrderListPlaceOcoRequest
 */
interface OrderListPlaceOcoRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly symbol: string;
    /**
     *
     * @type {'BUY' | 'SELL'}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly side: OrderListPlaceOcoSideEnum;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly quantity: number;
    /**
     *
     * @type {'STOP_LOSS_LIMIT' | 'STOP_LOSS' | 'LIMIT_MAKER' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT'}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly aboveType: OrderListPlaceOcoAboveTypeEnum;
    /**
     *
     * @type {'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT'}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly belowType: OrderListPlaceOcoBelowTypeEnum;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly id?: string;
    /**
     *
     * @type {string}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly listClientOrderId?: string;
    /**
     * Arbitrary unique ID among open orders for the above order. Automatically generated if not sent
     * @type {string}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly aboveClientOrderId?: string;
    /**
     * Note that this can only be used if `aboveTimeInForce` is `GTC`.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly aboveIcebergQty?: number;
    /**
     * Can be used if `aboveType` is `STOP_LOSS_LIMIT` , `LIMIT_MAKER`, or `TAKE_PROFIT_LIMIT` to specify the limit price.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly abovePrice?: number;
    /**
     * Can be used if `aboveType` is `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT`, `TAKE_PROFIT_LIMIT`. <br>Either `aboveStopPrice` or `aboveTrailingDelta` or both, must be specified.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly aboveStopPrice?: number;
    /**
     * See [Trailing Stop order FAQ](faqs/trailing-stop-faq.md).
     * @type {number}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly aboveTrailingDelta?: number;
    /**
     * Required if `aboveType` is `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT`.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly aboveTimeInForce?: number;
    /**
     * Arbitrary numeric value identifying the above order within an order strategy.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly aboveStrategyId?: number;
    /**
     * Arbitrary numeric value identifying the above order strategy. <br>Values smaller than 1000000 are reserved and cannot be used.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly aboveStrategyType?: number;
    /**
     *
     * @type {string}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly belowClientOrderId?: string;
    /**
     * Note that this can only be used if `belowTimeInForce` is `GTC`.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly belowIcebergQty?: number;
    /**
     * Can be used if `belowType` is `STOP_LOSS_LIMIT` , `LIMIT_MAKER`, or `TAKE_PROFIT_LIMIT` to specify the limit price.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly belowPrice?: number;
    /**
     * Can be used if `belowType` is `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT` or `TAKE_PROFIT_LIMIT`. <br>Either `belowStopPrice` or `belowTrailingDelta` or both, must be specified.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly belowStopPrice?: number;
    /**
     * See [Trailing Stop order FAQ](faqs/trailing-stop-faq.md).
     * @type {number}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly belowTrailingDelta?: number;
    /**
     *
     * @type {'belowType' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT_LIMIT'}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly belowTimeInForce?: OrderListPlaceOcoBelowTimeInForceEnum;
    /**
     * Arbitrary numeric value identifying the below order within an order strategy.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly belowStrategyId?: number;
    /**
     * Arbitrary numeric value identifying the below order strategy. <br>Values smaller than 1000000 are reserved and cannot be used.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly belowStrategyType?: number;
    /**
     *
     * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly newOrderRespType?: OrderListPlaceOcoNewOrderRespTypeEnum;
    /**
     *
     * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly selfTradePreventionMode?: OrderListPlaceOcoSelfTradePreventionModeEnum;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof TradeApiOrderListPlaceOco
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for orderListPlaceOto operation in TradeApi.
 * @interface OrderListPlaceOtoRequest
 */
interface OrderListPlaceOtoRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly symbol: string;
    /**
     *
     * @type {'LIMIT' | 'LIMIT_MAKER'}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly workingType: OrderListPlaceOtoWorkingTypeEnum;
    /**
     *
     * @type {'BUY' | 'SELL'}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly workingSide: OrderListPlaceOtoWorkingSideEnum;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly workingPrice: number;
    /**
     * Sets the quantity for the working order.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly workingQuantity: number;
    /**
     *
     * @type {'LIMIT' | 'MARKET' | 'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT' | 'LIMIT_MAKER'}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly pendingType: OrderListPlaceOtoPendingTypeEnum;
    /**
     *
     * @type {'BUY' | 'SELL'}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly pendingSide: OrderListPlaceOtoPendingSideEnum;
    /**
     * Sets the quantity for the pending order.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly pendingQuantity: number;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly id?: string;
    /**
     *
     * @type {string}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly listClientOrderId?: string;
    /**
     *
     * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly newOrderRespType?: OrderListPlaceOtoNewOrderRespTypeEnum;
    /**
     *
     * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly selfTradePreventionMode?: OrderListPlaceOtoSelfTradePreventionModeEnum;
    /**
     * Arbitrary unique ID among open orders for the working order.<br> Automatically generated if not sent.
     * @type {string}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly workingClientOrderId?: string;
    /**
     * This can only be used if `workingTimeInForce` is `GTC`, or if `workingType` is `LIMIT_MAKER`.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly workingIcebergQty?: number;
    /**
     *
     * @type {'GTC' | 'IOC' | 'FOK'}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly workingTimeInForce?: OrderListPlaceOtoWorkingTimeInForceEnum;
    /**
     * Arbitrary numeric value identifying the working order within an order strategy.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly workingStrategyId?: number;
    /**
     * Arbitrary numeric value identifying the working order strategy. <br> Values smaller than 1000000 are reserved and cannot be used.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly workingStrategyType?: number;
    /**
     * Arbitrary unique ID among open orders for the pending order.<br> Automatically generated if not sent.
     * @type {string}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly pendingClientOrderId?: string;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly pendingPrice?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly pendingStopPrice?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly pendingTrailingDelta?: number;
    /**
     * This can only be used if `pendingTimeInForce` is `GTC`, or if `pendingType` is `LIMIT_MAKER`.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly pendingIcebergQty?: number;
    /**
     *
     * @type {'GTC' | 'IOC' | 'FOK'}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly pendingTimeInForce?: OrderListPlaceOtoPendingTimeInForceEnum;
    /**
     * Arbitrary numeric value identifying the pending order within an order strategy.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly pendingStrategyId?: number;
    /**
     * Arbitrary numeric value identifying the pending order strategy. <br> Values smaller than 1000000 are reserved and cannot be used.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly pendingStrategyType?: number;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof TradeApiOrderListPlaceOto
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for orderListPlaceOtoco operation in TradeApi.
 * @interface OrderListPlaceOtocoRequest
 */
interface OrderListPlaceOtocoRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly symbol: string;
    /**
     *
     * @type {'LIMIT' | 'LIMIT_MAKER'}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly workingType: OrderListPlaceOtocoWorkingTypeEnum;
    /**
     *
     * @type {'BUY' | 'SELL'}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly workingSide: OrderListPlaceOtocoWorkingSideEnum;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly workingPrice: number;
    /**
     * Sets the quantity for the working order.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly workingQuantity: number;
    /**
     *
     * @type {'BUY' | 'SELL'}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly pendingSide: OrderListPlaceOtocoPendingSideEnum;
    /**
     * Sets the quantity for the pending order.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly pendingQuantity: number;
    /**
     *
     * @type {'STOP_LOSS_LIMIT' | 'STOP_LOSS' | 'LIMIT_MAKER' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT'}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly pendingAboveType: OrderListPlaceOtocoPendingAboveTypeEnum;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly id?: string;
    /**
     *
     * @type {string}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly listClientOrderId?: string;
    /**
     *
     * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly newOrderRespType?: OrderListPlaceOtocoNewOrderRespTypeEnum;
    /**
     *
     * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly selfTradePreventionMode?: OrderListPlaceOtocoSelfTradePreventionModeEnum;
    /**
     * Arbitrary unique ID among open orders for the working order.<br> Automatically generated if not sent.
     * @type {string}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly workingClientOrderId?: string;
    /**
     * This can only be used if `workingTimeInForce` is `GTC`, or if `workingType` is `LIMIT_MAKER`.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly workingIcebergQty?: number;
    /**
     *
     * @type {'GTC' | 'IOC' | 'FOK'}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly workingTimeInForce?: OrderListPlaceOtocoWorkingTimeInForceEnum;
    /**
     * Arbitrary numeric value identifying the working order within an order strategy.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly workingStrategyId?: number;
    /**
     * Arbitrary numeric value identifying the working order strategy. <br> Values smaller than 1000000 are reserved and cannot be used.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly workingStrategyType?: number;
    /**
     * Arbitrary unique ID among open orders for the pending above order.<br> Automatically generated if not sent.
     * @type {string}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly pendingAboveClientOrderId?: string;
    /**
     * Can be used if `pendingAboveType` is `STOP_LOSS_LIMIT` , `LIMIT_MAKER`, or `TAKE_PROFIT_LIMIT` to specify the limit price.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly pendingAbovePrice?: number;
    /**
     * Can be used if `pendingAboveType` is `STOP_LOSS`, `STOP_LOSS_LIMIT`, `TAKE_PROFIT`, `TAKE_PROFIT_LIMIT`
     * @type {number}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly pendingAboveStopPrice?: number;
    /**
     * See [Trailing Stop FAQ](faqs/trailing-stop-faq.md)
     * @type {number}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly pendingAboveTrailingDelta?: number;
    /**
     * This can only be used if `pendingAboveTimeInForce` is `GTC` or if `pendingAboveType` is `LIMIT_MAKER`.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly pendingAboveIcebergQty?: number;
    /**
     *
     * @type {'GTC' | 'IOC' | 'FOK'}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly pendingAboveTimeInForce?: OrderListPlaceOtocoPendingAboveTimeInForceEnum;
    /**
     * Arbitrary numeric value identifying the pending above order within an order strategy.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly pendingAboveStrategyId?: number;
    /**
     * Arbitrary numeric value identifying the pending above order strategy. <br> Values smaller than 1000000 are reserved and cannot be used.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly pendingAboveStrategyType?: number;
    /**
     *
     * @type {'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT'}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly pendingBelowType?: OrderListPlaceOtocoPendingBelowTypeEnum;
    /**
     * Arbitrary unique ID among open orders for the pending below order.<br> Automatically generated if not sent.
     * @type {string}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly pendingBelowClientOrderId?: string;
    /**
     * Can be used if `pendingBelowType` is `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` to specify the limit price.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly pendingBelowPrice?: number;
    /**
     * Can be used if `pendingBelowType` is `STOP_LOSS`, `STOP_LOSS_LIMIT, TAKE_PROFIT or TAKE_PROFIT_LIMIT`. <br>Either `pendingBelowStopPrice` or `pendingBelowTrailingDelta` or both, must be specified.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly pendingBelowStopPrice?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly pendingBelowTrailingDelta?: number;
    /**
     * This can only be used if `pendingBelowTimeInForce` is `GTC`, or if `pendingBelowType` is `LIMIT_MAKER`.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly pendingBelowIcebergQty?: number;
    /**
     *
     * @type {'GTC' | 'IOC' | 'FOK'}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly pendingBelowTimeInForce?: OrderListPlaceOtocoPendingBelowTimeInForceEnum;
    /**
     * Arbitrary numeric value identifying the pending below order within an order strategy.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly pendingBelowStrategyId?: number;
    /**
     * Arbitrary numeric value identifying the pending below order strategy. <br> Values smaller than 1000000 are reserved and cannot be used.
     * @type {number}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly pendingBelowStrategyType?: number;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof TradeApiOrderListPlaceOtoco
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for orderPlace operation in TradeApi.
 * @interface OrderPlaceRequest
 */
interface OrderPlaceRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiOrderPlace
     */
    readonly symbol: string;
    /**
     *
     * @type {'BUY' | 'SELL'}
     * @memberof TradeApiOrderPlace
     */
    readonly side: OrderPlaceSideEnum;
    /**
     *
     * @type {'MARKET' | 'LIMIT' | 'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT' | 'LIMIT_MAKER' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiOrderPlace
     */
    readonly type: OrderPlaceTypeEnum;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof TradeApiOrderPlace
     */
    readonly id?: string;
    /**
     *
     * @type {'GTC' | 'IOC' | 'FOK' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiOrderPlace
     */
    readonly timeInForce?: OrderPlaceTimeInForceEnum;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderPlace
     */
    readonly price?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderPlace
     */
    readonly quantity?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderPlace
     */
    readonly quoteOrderQty?: number;
    /**
     * The new client order ID for the order after being amended. <br> If not sent, one will be randomly generated. <br> It is possible to reuse the current clientOrderId by sending it as the `newClientOrderId`.
     * @type {string}
     * @memberof TradeApiOrderPlace
     */
    readonly newClientOrderId?: string;
    /**
     *
     * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
     * @memberof TradeApiOrderPlace
     */
    readonly newOrderRespType?: OrderPlaceNewOrderRespTypeEnum;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderPlace
     */
    readonly stopPrice?: number;
    /**
     * See [Trailing Stop order FAQ](faqs/trailing-stop-faq.md)
     * @type {number}
     * @memberof TradeApiOrderPlace
     */
    readonly trailingDelta?: number;
    /**
     *
     * @type {number}
     * @memberof TradeApiOrderPlace
     */
    readonly icebergQty?: number;
    /**
     * Arbitrary numeric value identifying the order within an order strategy.
     * @type {number}
     * @memberof TradeApiOrderPlace
     */
    readonly strategyId?: number;
    /**
     * Arbitrary numeric value identifying the order strategy.
     * Values smaller than 1000000 are reserved and cannot be used.
     * @type {number}
     * @memberof TradeApiOrderPlace
     */
    readonly strategyType?: number;
    /**
     *
     * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiOrderPlace
     */
    readonly selfTradePreventionMode?: OrderPlaceSelfTradePreventionModeEnum;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof TradeApiOrderPlace
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for orderTest operation in TradeApi.
 * @interface OrderTestRequest
 */
interface OrderTestRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof TradeApiOrderTest
     */
    readonly id?: string;
    /**
     * Default: `false`
     * @type {boolean}
     * @memberof TradeApiOrderTest
     */
    readonly computeCommissionRates?: boolean;
}
/**
 * Request parameters for sorOrderPlace operation in TradeApi.
 * @interface SorOrderPlaceRequest
 */
interface SorOrderPlaceRequest {
    /**
     *
     * @type {string}
     * @memberof TradeApiSorOrderPlace
     */
    readonly symbol: string;
    /**
     *
     * @type {'BUY' | 'SELL'}
     * @memberof TradeApiSorOrderPlace
     */
    readonly side: SorOrderPlaceSideEnum;
    /**
     *
     * @type {'MARKET' | 'LIMIT' | 'STOP_LOSS' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT' | 'TAKE_PROFIT_LIMIT' | 'LIMIT_MAKER' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiSorOrderPlace
     */
    readonly type: SorOrderPlaceTypeEnum;
    /**
     *
     * @type {number}
     * @memberof TradeApiSorOrderPlace
     */
    readonly quantity: number;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof TradeApiSorOrderPlace
     */
    readonly id?: string;
    /**
     *
     * @type {'GTC' | 'IOC' | 'FOK' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiSorOrderPlace
     */
    readonly timeInForce?: SorOrderPlaceTimeInForceEnum;
    /**
     *
     * @type {number}
     * @memberof TradeApiSorOrderPlace
     */
    readonly price?: number;
    /**
     * The new client order ID for the order after being amended. <br> If not sent, one will be randomly generated. <br> It is possible to reuse the current clientOrderId by sending it as the `newClientOrderId`.
     * @type {string}
     * @memberof TradeApiSorOrderPlace
     */
    readonly newClientOrderId?: string;
    /**
     *
     * @type {'ACK' | 'RESULT' | 'FULL' | 'MARKET' | 'LIMIT'}
     * @memberof TradeApiSorOrderPlace
     */
    readonly newOrderRespType?: SorOrderPlaceNewOrderRespTypeEnum;
    /**
     *
     * @type {number}
     * @memberof TradeApiSorOrderPlace
     */
    readonly icebergQty?: number;
    /**
     * Arbitrary numeric value identifying the order within an order strategy.
     * @type {number}
     * @memberof TradeApiSorOrderPlace
     */
    readonly strategyId?: number;
    /**
     * Arbitrary numeric value identifying the order strategy.
     * Values smaller than 1000000 are reserved and cannot be used.
     * @type {number}
     * @memberof TradeApiSorOrderPlace
     */
    readonly strategyType?: number;
    /**
     *
     * @type {'NONE' | 'EXPIRE_TAKER' | 'EXPIRE_MAKER' | 'EXPIRE_BOTH' | 'DECREMENT' | 'NON_REPRESENTABLE'}
     * @memberof TradeApiSorOrderPlace
     */
    readonly selfTradePreventionMode?: SorOrderPlaceSelfTradePreventionModeEnum;
    /**
     * The value cannot be greater than `60000`
     * @type {number}
     * @memberof TradeApiSorOrderPlace
     */
    readonly recvWindow?: number;
}
/**
 * Request parameters for sorOrderTest operation in TradeApi.
 * @interface SorOrderTestRequest
 */
interface SorOrderTestRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof TradeApiSorOrderTest
     */
    readonly id?: string;
    /**
     * Default: `false`
     * @type {boolean}
     * @memberof TradeApiSorOrderTest
     */
    readonly computeCommissionRates?: boolean;
}
/**
 * TradeApi - object-oriented interface
 * @class TradeApi
 * @extends {WebsocketAPIBase}
 */
declare class TradeApi implements TradeApiInterface {
    private readonly websocketBase;
    constructor(websocketBase: WebsocketAPIBase);
    /**
     * Cancel all open orders on a symbol.
     * This includes orders that are part of an order list.
     * Weight: 1
     *
     * @summary WebSocket Cancel open orders
     * @param {OpenOrdersCancelAllRequest} requestParameters Request parameters.
     * @returns {Promise<OpenOrdersCancelAllResponse>}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#cancel-open-orders-trade Binance API Documentation}
     */
    openOrdersCancelAll(requestParameters: OpenOrdersCancelAllRequest): Promise<WebsocketApiResponse<OpenOrdersCancelAllResponse>>;
    /**
     * Reduce the quantity of an existing open order.
     *
     * This adds 0 orders to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     *
     * Read [Order Amend Keep Priority FAQ](faqs/order_amend_keep_priority.md) to learn more.
     * Weight: 4
     *
     * @summary WebSocket Order Amend Keep Priority
     * @param {OrderAmendKeepPriorityRequest} requestParameters Request parameters.
     * @returns {Promise<OrderAmendKeepPriorityResponse>}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#order-amend-keep-priority-trade Binance API Documentation}
     */
    orderAmendKeepPriority(requestParameters: OrderAmendKeepPriorityRequest): Promise<WebsocketApiResponse<OrderAmendKeepPriorityResponse>>;
    /**
     * Cancel an active order.
     * Weight: 1
     *
     * @summary WebSocket Cancel order
     * @param {OrderCancelRequest} requestParameters Request parameters.
     * @returns {Promise<OrderCancelResponse>}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#cancel-order-trade Binance API Documentation}
     */
    orderCancel(requestParameters: OrderCancelRequest): Promise<WebsocketApiResponse<OrderCancelResponse>>;
    /**
     * Cancel an existing order and immediately place a new order instead of the canceled one.
     *
     * A new order that was not attempted (i.e. when `newOrderResult: NOT_ATTEMPTED`), will still increase the unfilled order count by 1.
     * Weight: 1
     *
     * @summary WebSocket Cancel and replace order
     * @param {OrderCancelReplaceRequest} requestParameters Request parameters.
     * @returns {Promise<OrderCancelReplaceResponse>}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#cancel-and-replace-order-trade Binance API Documentation}
     */
    orderCancelReplace(requestParameters: OrderCancelReplaceRequest): Promise<WebsocketApiResponse<OrderCancelReplaceResponse>>;
    /**
     * Cancel an active order list.
     * Weight: 1
     *
     * @summary WebSocket Cancel Order list
     * @param {OrderListCancelRequest} requestParameters Request parameters.
     * @returns {Promise<OrderListCancelResponse>}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#cancel-order-list-trade Binance API Documentation}
     */
    orderListCancel(requestParameters: OrderListCancelRequest): Promise<WebsocketApiResponse<OrderListCancelResponse>>;
    /**
     * Send in a new one-cancels-the-other (OCO) pair:
     * `LIMIT_MAKER` + `STOP_LOSS`/`STOP_LOSS_LIMIT` orders (called *legs*),
     * where activation of one order immediately cancels the other.
     *
     * This adds 1 order to `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter
     * Weight: 1
     *
     * Unfilled Order Count: 1
     *
     * @summary WebSocket Place new OCO - Deprecated
     * @param {OrderListPlaceRequest} requestParameters Request parameters.
     * @returns {Promise<OrderListPlaceResponse>}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-oco---deprecated-trade Binance API Documentation}
     */
    orderListPlace(requestParameters: OrderListPlaceRequest): Promise<WebsocketApiResponse<OrderListPlaceResponse>>;
    /**
     * Send in an one-cancels-the-other (OCO) pair, where activation of one order immediately cancels the other.
     *
     * An OCO has 2 orders called the **above order** and **below order**.
     * One of the orders must be a `LIMIT_MAKER/TAKE_PROFIT/TAKE_PROFIT_LIMIT` order and the other must be `STOP_LOSS` or `STOP_LOSS_LIMIT` order.
     * Price restrictions:
     * If the OCO is on the `SELL` side:
     * `LIMIT_MAKER/TAKE_PROFIT_LIMIT` `price` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT` `stopPrice`
     * `TAKE_PROFIT stopPrice` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
     * If the OCO is on the `BUY` side:
     * `LIMIT_MAKER` `price` < Last Traded Price < `STOP_LOSS/STOP_LOSS_LIMIT` `stopPrice`
     * `TAKE_PROFIT stopPrice` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
     * OCOs add **2 orders** to the `EXCHANGE_MAX_ORDERS` filter and `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * Unfilled Order Count: 2
     *
     * @summary WebSocket Place new Order list - OCO
     * @param {OrderListPlaceOcoRequest} requestParameters Request parameters.
     * @returns {Promise<OrderListPlaceOcoResponse>}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-order-list---oco-trade Binance API Documentation}
     */
    orderListPlaceOco(requestParameters: OrderListPlaceOcoRequest): Promise<WebsocketApiResponse<OrderListPlaceOcoResponse>>;
    /**
     * Places an OTO.
     *
     * An OTO (One-Triggers-the-Other) is an order list comprised of 2 orders.
     * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
     * The second order is called the **pending order**. It can be any order type except for `MARKET` orders using parameter `quoteOrderQty`. The pending order is only placed on the order book when the working order gets **fully filled**.
     * If either the working order or the pending order is cancelled individually, the other order in the order list will also be canceled or expired.
     * When the order list is placed, if the working order gets **immediately fully filled**, the placement response will show the working order as `FILLED` but the pending order will still appear as `PENDING_NEW`. You need to query the status of the pending order again to see its updated status.
     * OTOs add **2 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * Unfilled Order Count: 2
     *
     * @summary WebSocket Place new Order list - OTO
     * @param {OrderListPlaceOtoRequest} requestParameters Request parameters.
     * @returns {Promise<OrderListPlaceOtoResponse>}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-order-list---oto-trade Binance API Documentation}
     */
    orderListPlaceOto(requestParameters: OrderListPlaceOtoRequest): Promise<WebsocketApiResponse<OrderListPlaceOtoResponse>>;
    /**
     * Place an OTOCO.
     *
     * An OTOCO (One-Triggers-One-Cancels-the-Other) is an order list comprised of 3 orders.
     * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
     * The behavior of the working order is the same as the [OTO](#place-new-order-list---oto-trade).
     * OTOCO has 2 pending orders (pending above and pending below), forming an OCO pair. The pending orders are only placed on the order book when the working order gets **fully filled**.
     * The rules of the pending above and pending below follow the same rules as the [Order list OCO](#new-order-list---oco-trade).
     * OTOCOs add **3 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * Unfilled Order Count: 3
     *
     * @summary WebSocket Place new Order list - OTOCO
     * @param {OrderListPlaceOtocoRequest} requestParameters Request parameters.
     * @returns {Promise<OrderListPlaceOtocoResponse>}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-order-list---otoco-trade Binance API Documentation}
     */
    orderListPlaceOtoco(requestParameters: OrderListPlaceOtocoRequest): Promise<WebsocketApiResponse<OrderListPlaceOtocoResponse>>;
    /**
     * Send in a new order.
     *
     * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * @summary WebSocket Place new order
     * @param {OrderPlaceRequest} requestParameters Request parameters.
     * @returns {Promise<OrderPlaceResponse>}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-order-trade Binance API Documentation}
     */
    orderPlace(requestParameters: OrderPlaceRequest): Promise<WebsocketApiResponse<OrderPlaceResponse>>;
    /**
     * Test order placement.
     *
     * Validates new order parameters and verifies your signature
     * but does not send the order into the matching engine.
     * Weight: |Condition| Request Weight|
     * |------------           | ------------ |
     * |Without `computeCommissionRates`| 1|
     * |With `computeCommissionRates`|20|
     *
     * @summary WebSocket Test new order
     * @param {OrderTestRequest} requestParameters Request parameters.
     * @returns {Promise<OrderTestResponse>}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#test-new-order-trade Binance API Documentation}
     */
    orderTest(requestParameters?: OrderTestRequest): Promise<WebsocketApiResponse<OrderTestResponse>>;
    /**
     * Places an order using smart order routing (SOR).
     *
     * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     *
     * Read [SOR FAQ](../faqs/sor_faq.md) to learn more.
     * Weight: 1
     *
     * Unfilled Order Count: 1
     *
     * @summary WebSocket Place new order using SOR
     * @param {SorOrderPlaceRequest} requestParameters Request parameters.
     * @returns {Promise<SorOrderPlaceResponse>}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-order-using-sor-trade Binance API Documentation}
     */
    sorOrderPlace(requestParameters: SorOrderPlaceRequest): Promise<WebsocketApiResponse<SorOrderPlaceResponse>>;
    /**
     * Test new order creation and signature/recvWindow using smart order routing (SOR).
     * Creates and validates a new order but does not send it into the matching engine.
     * Weight: |Condition                       | Request Weight|
     * |------------                    | ------------ |
     * |Without `computeCommissionRates`| 1            |
     * |With `computeCommissionRates`   |20            |
     *
     * @summary WebSocket Test new order using SOR
     * @param {SorOrderTestRequest} requestParameters Request parameters.
     * @returns {Promise<SorOrderTestResponse>}
     * @memberof TradeApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#test-new-order-using-sor-trade Binance API Documentation}
     */
    sorOrderTest(requestParameters?: SorOrderTestRequest): Promise<WebsocketApiResponse<SorOrderTestResponse>>;
}
declare enum OrderCancelCancelRestrictionsEnum {
    ONLY_NEW = "ONLY_NEW",
    NEW = "NEW",
    ONLY_PARTIALLY_FILLED = "ONLY_PARTIALLY_FILLED",
    PARTIALLY_FILLED = "PARTIALLY_FILLED"
}
declare enum OrderCancelReplaceCancelReplaceModeEnum {
    STOP_ON_FAILURE = "STOP_ON_FAILURE",
    ALLOW_FAILURE = "ALLOW_FAILURE"
}
declare enum OrderCancelReplaceSideEnum {
    BUY = "BUY",
    SELL = "SELL"
}
declare enum OrderCancelReplaceTypeEnum {
    MARKET = "MARKET",
    LIMIT = "LIMIT",
    STOP_LOSS = "STOP_LOSS",
    STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
    TAKE_PROFIT = "TAKE_PROFIT",
    TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
    LIMIT_MAKER = "LIMIT_MAKER",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum OrderCancelReplaceTimeInForceEnum {
    GTC = "GTC",
    IOC = "IOC",
    FOK = "FOK",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum OrderCancelReplaceNewOrderRespTypeEnum {
    ACK = "ACK",
    RESULT = "RESULT",
    FULL = "FULL",
    MARKET = "MARKET",
    LIMIT = "LIMIT"
}
declare enum OrderCancelReplaceSelfTradePreventionModeEnum {
    NONE = "NONE",
    EXPIRE_TAKER = "EXPIRE_TAKER",
    EXPIRE_MAKER = "EXPIRE_MAKER",
    EXPIRE_BOTH = "EXPIRE_BOTH",
    DECREMENT = "DECREMENT",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum OrderCancelReplaceCancelRestrictionsEnum {
    ONLY_NEW = "ONLY_NEW",
    NEW = "NEW",
    ONLY_PARTIALLY_FILLED = "ONLY_PARTIALLY_FILLED",
    PARTIALLY_FILLED = "PARTIALLY_FILLED"
}
declare enum OrderCancelReplaceOrderRateLimitExceededModeEnum {
    DO_NOTHING = "DO_NOTHING",
    CANCEL_ONLY = "CANCEL_ONLY"
}
declare enum OrderListPlaceSideEnum {
    BUY = "BUY",
    SELL = "SELL"
}
declare enum OrderListPlaceStopLimitTimeInForceEnum {
    GTC = "GTC",
    FOK = "FOK",
    IOC = "IOC"
}
declare enum OrderListPlaceNewOrderRespTypeEnum {
    ACK = "ACK",
    RESULT = "RESULT",
    FULL = "FULL",
    MARKET = "MARKET",
    LIMIT = "LIMIT"
}
declare enum OrderListPlaceSelfTradePreventionModeEnum {
    NONE = "NONE",
    EXPIRE_TAKER = "EXPIRE_TAKER",
    EXPIRE_MAKER = "EXPIRE_MAKER",
    EXPIRE_BOTH = "EXPIRE_BOTH",
    DECREMENT = "DECREMENT",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum OrderListPlaceOcoSideEnum {
    BUY = "BUY",
    SELL = "SELL"
}
declare enum OrderListPlaceOcoAboveTypeEnum {
    STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
    STOP_LOSS = "STOP_LOSS",
    LIMIT_MAKER = "LIMIT_MAKER",
    TAKE_PROFIT = "TAKE_PROFIT",
    TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT"
}
declare enum OrderListPlaceOcoBelowTypeEnum {
    STOP_LOSS = "STOP_LOSS",
    STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
    TAKE_PROFIT = "TAKE_PROFIT",
    TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT"
}
declare enum OrderListPlaceOcoBelowTimeInForceEnum {
    belowType = "belowType",
    STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
    TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT"
}
declare enum OrderListPlaceOcoNewOrderRespTypeEnum {
    ACK = "ACK",
    RESULT = "RESULT",
    FULL = "FULL",
    MARKET = "MARKET",
    LIMIT = "LIMIT"
}
declare enum OrderListPlaceOcoSelfTradePreventionModeEnum {
    NONE = "NONE",
    EXPIRE_TAKER = "EXPIRE_TAKER",
    EXPIRE_MAKER = "EXPIRE_MAKER",
    EXPIRE_BOTH = "EXPIRE_BOTH",
    DECREMENT = "DECREMENT",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum OrderListPlaceOtoWorkingTypeEnum {
    LIMIT = "LIMIT",
    LIMIT_MAKER = "LIMIT_MAKER"
}
declare enum OrderListPlaceOtoWorkingSideEnum {
    BUY = "BUY",
    SELL = "SELL"
}
declare enum OrderListPlaceOtoPendingTypeEnum {
    LIMIT = "LIMIT",
    MARKET = "MARKET",
    STOP_LOSS = "STOP_LOSS",
    STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
    TAKE_PROFIT = "TAKE_PROFIT",
    TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
    LIMIT_MAKER = "LIMIT_MAKER"
}
declare enum OrderListPlaceOtoPendingSideEnum {
    BUY = "BUY",
    SELL = "SELL"
}
declare enum OrderListPlaceOtoNewOrderRespTypeEnum {
    ACK = "ACK",
    RESULT = "RESULT",
    FULL = "FULL",
    MARKET = "MARKET",
    LIMIT = "LIMIT"
}
declare enum OrderListPlaceOtoSelfTradePreventionModeEnum {
    NONE = "NONE",
    EXPIRE_TAKER = "EXPIRE_TAKER",
    EXPIRE_MAKER = "EXPIRE_MAKER",
    EXPIRE_BOTH = "EXPIRE_BOTH",
    DECREMENT = "DECREMENT",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum OrderListPlaceOtoWorkingTimeInForceEnum {
    GTC = "GTC",
    IOC = "IOC",
    FOK = "FOK"
}
declare enum OrderListPlaceOtoPendingTimeInForceEnum {
    GTC = "GTC",
    IOC = "IOC",
    FOK = "FOK"
}
declare enum OrderListPlaceOtocoWorkingTypeEnum {
    LIMIT = "LIMIT",
    LIMIT_MAKER = "LIMIT_MAKER"
}
declare enum OrderListPlaceOtocoWorkingSideEnum {
    BUY = "BUY",
    SELL = "SELL"
}
declare enum OrderListPlaceOtocoPendingSideEnum {
    BUY = "BUY",
    SELL = "SELL"
}
declare enum OrderListPlaceOtocoPendingAboveTypeEnum {
    STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
    STOP_LOSS = "STOP_LOSS",
    LIMIT_MAKER = "LIMIT_MAKER",
    TAKE_PROFIT = "TAKE_PROFIT",
    TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT"
}
declare enum OrderListPlaceOtocoNewOrderRespTypeEnum {
    ACK = "ACK",
    RESULT = "RESULT",
    FULL = "FULL",
    MARKET = "MARKET",
    LIMIT = "LIMIT"
}
declare enum OrderListPlaceOtocoSelfTradePreventionModeEnum {
    NONE = "NONE",
    EXPIRE_TAKER = "EXPIRE_TAKER",
    EXPIRE_MAKER = "EXPIRE_MAKER",
    EXPIRE_BOTH = "EXPIRE_BOTH",
    DECREMENT = "DECREMENT",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum OrderListPlaceOtocoWorkingTimeInForceEnum {
    GTC = "GTC",
    IOC = "IOC",
    FOK = "FOK"
}
declare enum OrderListPlaceOtocoPendingAboveTimeInForceEnum {
    GTC = "GTC",
    IOC = "IOC",
    FOK = "FOK"
}
declare enum OrderListPlaceOtocoPendingBelowTypeEnum {
    STOP_LOSS = "STOP_LOSS",
    STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
    TAKE_PROFIT = "TAKE_PROFIT",
    TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT"
}
declare enum OrderListPlaceOtocoPendingBelowTimeInForceEnum {
    GTC = "GTC",
    IOC = "IOC",
    FOK = "FOK"
}
declare enum OrderPlaceSideEnum {
    BUY = "BUY",
    SELL = "SELL"
}
declare enum OrderPlaceTypeEnum {
    MARKET = "MARKET",
    LIMIT = "LIMIT",
    STOP_LOSS = "STOP_LOSS",
    STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
    TAKE_PROFIT = "TAKE_PROFIT",
    TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
    LIMIT_MAKER = "LIMIT_MAKER",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum OrderPlaceTimeInForceEnum {
    GTC = "GTC",
    IOC = "IOC",
    FOK = "FOK",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum OrderPlaceNewOrderRespTypeEnum {
    ACK = "ACK",
    RESULT = "RESULT",
    FULL = "FULL",
    MARKET = "MARKET",
    LIMIT = "LIMIT"
}
declare enum OrderPlaceSelfTradePreventionModeEnum {
    NONE = "NONE",
    EXPIRE_TAKER = "EXPIRE_TAKER",
    EXPIRE_MAKER = "EXPIRE_MAKER",
    EXPIRE_BOTH = "EXPIRE_BOTH",
    DECREMENT = "DECREMENT",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum SorOrderPlaceSideEnum {
    BUY = "BUY",
    SELL = "SELL"
}
declare enum SorOrderPlaceTypeEnum {
    MARKET = "MARKET",
    LIMIT = "LIMIT",
    STOP_LOSS = "STOP_LOSS",
    STOP_LOSS_LIMIT = "STOP_LOSS_LIMIT",
    TAKE_PROFIT = "TAKE_PROFIT",
    TAKE_PROFIT_LIMIT = "TAKE_PROFIT_LIMIT",
    LIMIT_MAKER = "LIMIT_MAKER",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum SorOrderPlaceTimeInForceEnum {
    GTC = "GTC",
    IOC = "IOC",
    FOK = "FOK",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}
declare enum SorOrderPlaceNewOrderRespTypeEnum {
    ACK = "ACK",
    RESULT = "RESULT",
    FULL = "FULL",
    MARKET = "MARKET",
    LIMIT = "LIMIT"
}
declare enum SorOrderPlaceSelfTradePreventionModeEnum {
    NONE = "NONE",
    EXPIRE_TAKER = "EXPIRE_TAKER",
    EXPIRE_MAKER = "EXPIRE_MAKER",
    EXPIRE_BOTH = "EXPIRE_BOTH",
    DECREMENT = "DECREMENT",
    NON_REPRESENTABLE = "NON_REPRESENTABLE"
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 * UserDataStreamApi - interface
 *
 * @interface UserDataStreamApi
 */
interface UserDataStreamApiInterface {
    /**
     * Ping a user data stream to keep it alive.
     *
     * User data streams close automatically after 60 minutes,
     * even if you're listening to them on WebSocket Streams.
     * In order to keep the stream open, you have to regularly send pings using the `userDataStream.ping` request.
     *
     * It is recommended to send a ping once every 30 minutes.
     * Weight: 2
     *
     * @summary WebSocket Ping user data stream
     * @param {UserDataStreamPingRequest} requestParameters Request parameters.
     *
     * @returns {Promise<UserDataStreamPingResponse>}
     * @memberof UserDataStreamApiInterface
     */
    userDataStreamPing(requestParameters: UserDataStreamPingRequest): Promise<WebsocketApiResponse<UserDataStreamPingResponse>>;
    /**
     * Start a new user data stream.
     * Weight: 2
     *
     * @summary WebSocket Start user data stream
     * @param {UserDataStreamStartRequest} requestParameters Request parameters.
     *
     * @returns {Promise<UserDataStreamStartResponse>}
     * @memberof UserDataStreamApiInterface
     */
    userDataStreamStart(requestParameters?: UserDataStreamStartRequest): Promise<WebsocketApiResponse<UserDataStreamStartResponse>>;
    /**
     * Explicitly stop and close the user data stream.
     * Weight: 2
     *
     * @summary WebSocket Stop user data stream
     * @param {UserDataStreamStopRequest} requestParameters Request parameters.
     *
     * @returns {Promise<UserDataStreamStopResponse>}
     * @memberof UserDataStreamApiInterface
     */
    userDataStreamStop(requestParameters: UserDataStreamStopRequest): Promise<WebsocketApiResponse<UserDataStreamStopResponse>>;
    /**
     * Subscribe to the User Data Stream in the current WebSocket connection.
     * Weight: 2
     *
     * @summary WebSocket Subscribe to User Data Stream
     * @param {UserDataStreamSubscribeRequest} requestParameters Request parameters.
     *
     * @returns {Promise<UserDataStreamSubscribeResponse>}
     * @memberof UserDataStreamApiInterface
     */
    userDataStreamSubscribe(requestParameters?: UserDataStreamSubscribeRequest): Promise<WebsocketApiResponse<UserDataStreamSubscribeResponse>>;
    /**
     * Stop listening to the User Data Stream in the current WebSocket connection.
     * Weight: 2
     *
     * @summary WebSocket Unsubscribe from User Data Stream
     * @param {UserDataStreamUnsubscribeRequest} requestParameters Request parameters.
     *
     * @returns {Promise<UserDataStreamUnsubscribeResponse>}
     * @memberof UserDataStreamApiInterface
     */
    userDataStreamUnsubscribe(requestParameters?: UserDataStreamUnsubscribeRequest): Promise<WebsocketApiResponse<UserDataStreamUnsubscribeResponse>>;
}
/**
 * Request parameters for userDataStreamPing operation in UserDataStreamApi.
 * @interface UserDataStreamPingRequest
 */
interface UserDataStreamPingRequest {
    /**
     *
     * @type {string}
     * @memberof UserDataStreamApiUserDataStreamPing
     */
    readonly listenKey: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof UserDataStreamApiUserDataStreamPing
     */
    readonly id?: string;
}
/**
 * Request parameters for userDataStreamStart operation in UserDataStreamApi.
 * @interface UserDataStreamStartRequest
 */
interface UserDataStreamStartRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof UserDataStreamApiUserDataStreamStart
     */
    readonly id?: string;
}
/**
 * Request parameters for userDataStreamStop operation in UserDataStreamApi.
 * @interface UserDataStreamStopRequest
 */
interface UserDataStreamStopRequest {
    /**
     *
     * @type {string}
     * @memberof UserDataStreamApiUserDataStreamStop
     */
    readonly listenKey: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof UserDataStreamApiUserDataStreamStop
     */
    readonly id?: string;
}
/**
 * Request parameters for userDataStreamSubscribe operation in UserDataStreamApi.
 * @interface UserDataStreamSubscribeRequest
 */
interface UserDataStreamSubscribeRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof UserDataStreamApiUserDataStreamSubscribe
     */
    readonly id?: string;
}
/**
 * Request parameters for userDataStreamUnsubscribe operation in UserDataStreamApi.
 * @interface UserDataStreamUnsubscribeRequest
 */
interface UserDataStreamUnsubscribeRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof UserDataStreamApiUserDataStreamUnsubscribe
     */
    readonly id?: string;
}
/**
 * UserDataStreamApi - object-oriented interface
 * @class UserDataStreamApi
 * @extends {WebsocketAPIBase}
 */
declare class UserDataStreamApi implements UserDataStreamApiInterface {
    private readonly websocketBase;
    constructor(websocketBase: WebsocketAPIBase);
    /**
     * Ping a user data stream to keep it alive.
     *
     * User data streams close automatically after 60 minutes,
     * even if you're listening to them on WebSocket Streams.
     * In order to keep the stream open, you have to regularly send pings using the `userDataStream.ping` request.
     *
     * It is recommended to send a ping once every 30 minutes.
     * Weight: 2
     *
     * @summary WebSocket Ping user data stream
     * @param {UserDataStreamPingRequest} requestParameters Request parameters.
     * @returns {Promise<UserDataStreamPingResponse>}
     * @memberof UserDataStreamApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/user-Data-Stream-requests#ping-user-data-stream-user_stream Binance API Documentation}
     */
    userDataStreamPing(requestParameters: UserDataStreamPingRequest): Promise<WebsocketApiResponse<UserDataStreamPingResponse>>;
    /**
     * Start a new user data stream.
     * Weight: 2
     *
     * @summary WebSocket Start user data stream
     * @param {UserDataStreamStartRequest} requestParameters Request parameters.
     * @returns {Promise<UserDataStreamStartResponse>}
     * @memberof UserDataStreamApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/user-Data-Stream-requests#start-user-data-stream-user_stream Binance API Documentation}
     */
    userDataStreamStart(requestParameters?: UserDataStreamStartRequest): Promise<WebsocketApiResponse<UserDataStreamStartResponse>>;
    /**
     * Explicitly stop and close the user data stream.
     * Weight: 2
     *
     * @summary WebSocket Stop user data stream
     * @param {UserDataStreamStopRequest} requestParameters Request parameters.
     * @returns {Promise<UserDataStreamStopResponse>}
     * @memberof UserDataStreamApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/user-Data-Stream-requests#stop-user-data-stream-user_stream Binance API Documentation}
     */
    userDataStreamStop(requestParameters: UserDataStreamStopRequest): Promise<WebsocketApiResponse<UserDataStreamStopResponse>>;
    /**
     * Subscribe to the User Data Stream in the current WebSocket connection.
     * Weight: 2
     *
     * @summary WebSocket Subscribe to User Data Stream
     * @param {UserDataStreamSubscribeRequest} requestParameters Request parameters.
     * @returns {Promise<UserDataStreamSubscribeResponse>}
     * @memberof UserDataStreamApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/user-Data-Stream-requests#subscribe-to-user-data-stream-user_stream Binance API Documentation}
     */
    userDataStreamSubscribe(requestParameters?: UserDataStreamSubscribeRequest): Promise<WebsocketApiResponse<UserDataStreamSubscribeResponse>>;
    /**
     * Stop listening to the User Data Stream in the current WebSocket connection.
     * Weight: 2
     *
     * @summary WebSocket Unsubscribe from User Data Stream
     * @param {UserDataStreamUnsubscribeRequest} requestParameters Request parameters.
     * @returns {Promise<UserDataStreamUnsubscribeResponse>}
     * @memberof UserDataStreamApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/user-Data-Stream-requests#unsubscribe-from-user-data-stream-user_stream Binance API Documentation}
     */
    userDataStreamUnsubscribe(requestParameters?: UserDataStreamUnsubscribeRequest): Promise<WebsocketApiResponse<UserDataStreamUnsubscribeResponse>>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

declare class WebsocketAPIConnection {
    private websocketBase;
    private accountApi;
    private authApi;
    private generalApi;
    private marketApi;
    private tradeApi;
    private userDataStreamApi;
    constructor(websocketBase: WebsocketAPIBase);
    on(event: 'open' | 'message' | 'error' | 'close' | 'ping' | 'pong', listener: (...args: any[]) => void): void;
    off(event: 'open' | 'message' | 'error' | 'close' | 'ping' | 'pong', listener: (...args: any[]) => void): void;
    /**
     * Disconnects from the WebSocket server.
     * If there is no active connection, a warning is logged.
     * Otherwise, all connections in the connection pool are closed gracefully,
     * and a message is logged indicating that the connection has been disconnected.
     * @returns A Promise that resolves when all connections have been closed.
     * @throws Error if the WebSocket client is not set.
     */
    disconnect(): Promise<void>;
    /**
     * Checks if the WebSocket connection is currently open.
     * @returns `true` if the connection is open, `false` otherwise.
     */
    isConnected(): boolean;
    /**
     * Sends a ping message to all connected Websocket servers in the pool.
     * If no connections are ready, a warning is logged.
     * For each active connection, the ping message is sent, and debug logs provide details.
     * @throws Error if a Websocket client is not set for a connection.
     */
    pingServer(): void;
    /**
     * Sends an unsigned message to the WebSocket server
     * @param method The API method to call
     * @param payload Message parameters and options
     * @returns Promise that resolves with the server response
     * @throws Error if not connected
     */
    sendMessage(method: string, payload?: WebsocketSendMsgOptions): Promise<WebsocketApiResponse<unknown>>;
    /**
     * Sends a signed message to the WebSocket server with authentication
     * @param method The API method to call
     * @param payload Message parameters and options
     * @returns Promise that resolves with the server response
     * @throws Error if not connected
     */
    sendSignedMessage(method: string, payload?: WebsocketSendMsgOptions): Promise<WebsocketApiResponse<unknown>>;
    /**
     * Get current account commission rates.
     * Weight: 20
     *
     * @summary WebSocket Account Commission Rates
     * @param {AccountCommissionRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<AccountCommissionResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-commission-rates-user_data Binance API Documentation}
     */
    accountCommission(requestParameters: AccountCommissionRequest): Promise<WebsocketApiResponse<AccountCommissionResponse>>;
    /**
     * Query your current unfilled order count for all intervals.
     * Weight: 40
     *
     * @summary WebSocket Unfilled Order Count
     * @param {AccountRateLimitsOrdersRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<AccountRateLimitsOrdersResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#unfilled-order-count-user_data Binance API Documentation}
     */
    accountRateLimitsOrders(requestParameters?: AccountRateLimitsOrdersRequest): Promise<WebsocketApiResponse<AccountRateLimitsOrdersResponse>>;
    /**
     * Query information about your account.
     * Weight: 20
     *
     * @summary WebSocket Account information
     * @param {AccountStatusRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<AccountStatusResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-information-user_data Binance API Documentation}
     */
    accountStatus(requestParameters?: AccountStatusRequest): Promise<WebsocketApiResponse<AccountStatusResponse>>;
    /**
     * Query information about all your order lists, filtered by time range.
     * Weight: 20
     *
     * @summary WebSocket Account order list history
     * @param {AllOrderListsRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<AllOrderListsResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-order-list-history-user_data Binance API Documentation}
     */
    allOrderLists(requestParameters?: AllOrderListsRequest): Promise<WebsocketApiResponse<AllOrderListsResponse>>;
    /**
     * Query information about all your orders – active, canceled, filled – filtered by time range.
     * Weight: 20
     *
     * @summary WebSocket Account order history
     * @param {AllOrdersRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<AllOrdersResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-order-history-user_data Binance API Documentation}
     */
    allOrders(requestParameters: AllOrdersRequest): Promise<WebsocketApiResponse<AllOrdersResponse>>;
    /**
     * Retrieves allocations resulting from SOR order placement.
     * Weight: 20
     *
     * @summary WebSocket Account allocations
     * @param {MyAllocationsRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<MyAllocationsResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-allocations-user_data Binance API Documentation}
     */
    myAllocations(requestParameters: MyAllocationsRequest): Promise<WebsocketApiResponse<MyAllocationsResponse>>;
    /**
     * Displays the list of orders that were expired due to STP.
     *
     * These are the combinations supported:
     *
     * `symbol` + `preventedMatchId`
     * `symbol` + `orderId`
     * `symbol` + `orderId` + `fromPreventedMatchId` (`limit` will default to 500)
     * `symbol` + `orderId` + `fromPreventedMatchId` + `limit`
     * Weight: Case                            | Weight
     * ----                            | -----
     * If `symbol` is invalid          | 2
     * Querying by `preventedMatchId`  | 2
     * Querying by `orderId`           | 20
     *
     * @summary WebSocket Account prevented matches
     * @param {MyPreventedMatchesRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<MyPreventedMatchesResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-prevented-matches-user_data Binance API Documentation}
     */
    myPreventedMatches(requestParameters: MyPreventedMatchesRequest): Promise<WebsocketApiResponse<MyPreventedMatchesResponse>>;
    /**
     * Query information about all your trades, filtered by time range.
     * Weight: Condition| Weight|
     * ---| ---
     * |Without orderId|20|
     * |With orderId|5|
     *
     * @summary WebSocket Account trade history
     * @param {MyTradesRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<MyTradesResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#account-trade-history-user_data Binance API Documentation}
     */
    myTrades(requestParameters: MyTradesRequest): Promise<WebsocketApiResponse<MyTradesResponse>>;
    /**
     * Query execution status of all open order lists.
     *
     * If you need to continuously monitor order status updates, please consider using WebSocket Streams:
     *
     * `userDataStream.start` request
     * `executionReport` user data stream event
     * Weight: 6
     *
     * @summary WebSocket Current open Order lists
     * @param {OpenOrderListsStatusRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<OpenOrderListsStatusResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#current-open-order-lists-user_data Binance API Documentation}
     */
    openOrderListsStatus(requestParameters?: OpenOrderListsStatusRequest): Promise<WebsocketApiResponse<OpenOrderListsStatusResponse>>;
    /**
     * Query execution status of all open orders.
     *
     * If you need to continuously monitor order status updates, please consider using WebSocket Streams:
     *
     * `userDataStream.start` request
     * `executionReport` user data stream event
     * Weight: Adjusted based on the number of requested symbols:
     *
     * | Parameter | Weight |
     * | --------- | ------ |
     * | `symbol`  |      6 |
     * | none      |     80 |
     *
     * @summary WebSocket Current open orders
     * @param {OpenOrdersStatusRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<OpenOrdersStatusResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#current-open-orders-user_data Binance API Documentation}
     */
    openOrdersStatus(requestParameters?: OpenOrdersStatusRequest): Promise<WebsocketApiResponse<OpenOrdersStatusResponse>>;
    /**
     * Queries all amendments of a single order.
     * Weight: 4
     *
     * @summary WebSocket Query Order Amendments
     * @param {OrderAmendmentsRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<OrderAmendmentsResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#query-order-amendments-user_data Binance API Documentation}
     */
    orderAmendments(requestParameters: OrderAmendmentsRequest): Promise<WebsocketApiResponse<OrderAmendmentsResponse>>;
    /**
     * Check execution status of an Order list.
     *
     * For execution status of individual orders, use `order.status`.
     * Weight: 4
     *
     * @summary WebSocket Query Order list
     * @param {OrderListStatusRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<OrderListStatusResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#query-order-list-user_data Binance API Documentation}
     */
    orderListStatus(requestParameters?: OrderListStatusRequest): Promise<WebsocketApiResponse<OrderListStatusResponse>>;
    /**
     * Check execution status of an order.
     * Weight: 4
     *
     * @summary WebSocket Query order
     * @param {OrderStatusRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<OrderStatusResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/account-requests#query-order-user_data Binance API Documentation}
     */
    orderStatus(requestParameters: OrderStatusRequest): Promise<WebsocketApiResponse<OrderStatusResponse>>;
    /**
     * Authenticate WebSocket connection using the provided API key.
     *
     * After calling `session.logon`, you can omit `apiKey` and `signature` parameters for future requests that require them.
     *
     * Note that only one API key can be authenticated.
     * Calling `session.logon` multiple times changes the current authenticated API key.
     * Weight: 2
     *
     * @summary WebSocket Log in with API key
     * @param {SessionLogonRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<SessionLogonResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/authentication-requests#log-in-with-api-key-signed Binance API Documentation}
     */
    sessionLogon(requestParameters?: SessionLogonRequest): Promise<WebsocketApiResponse<SessionLogonResponse>>;
    /**
     * Forget the API key previously authenticated.
     * If the connection is not authenticated, this request does nothing.
     *
     * Note that the WebSocket connection stays open after `session.logout` request.
     * You can continue using the connection,
     * but now you will have to explicitly provide the `apiKey` and `signature` parameters where needed.
     * Weight: 2
     *
     * @summary WebSocket Log out of the session
     * @param {SessionLogoutRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<SessionLogoutResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/authentication-requests#log-out-of-the-session Binance API Documentation}
     */
    sessionLogout(requestParameters?: SessionLogoutRequest): Promise<WebsocketApiResponse<SessionLogoutResponse>>;
    /**
     * Query the status of the WebSocket connection,
     * inspecting which API key (if any) is used to authorize requests.
     * Weight: 2
     *
     * @summary WebSocket Query session status
     * @param {SessionStatusRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<SessionStatusResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/authentication-requests#query-session-status Binance API Documentation}
     */
    sessionStatus(requestParameters?: SessionStatusRequest): Promise<WebsocketApiResponse<SessionStatusResponse>>;
    /**
     * Query current exchange trading rules, rate limits, and symbol information.
     * Weight: 20
     *
     * @summary WebSocket Exchange information
     * @param {ExchangeInfoRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<ExchangeInfoResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/general-requests#exchange-information Binance API Documentation}
     */
    exchangeInfo(requestParameters?: ExchangeInfoRequest): Promise<WebsocketApiResponse<ExchangeInfoResponse>>;
    /**
     * Test connectivity to the WebSocket API.
     * Weight: 1
     *
     * @summary WebSocket Test connectivity
     * @param {PingRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<PingResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/general-requests#test-connectivity Binance API Documentation}
     */
    ping(requestParameters?: PingRequest): Promise<WebsocketApiResponse<PingResponse>>;
    /**
     * Test connectivity to the WebSocket API and get the current server time.
     * Weight: 1
     *
     * @summary WebSocket Check server time
     * @param {TimeRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<TimeResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/general-requests#check-server-time Binance API Documentation}
     */
    time(requestParameters?: TimeRequest): Promise<WebsocketApiResponse<TimeResponse>>;
    /**
     * Get current average price for a symbol.
     * Weight: 2
     *
     * @summary WebSocket Current average price
     * @param {AvgPriceRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<AvgPriceResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#current-average-price Binance API Documentation}
     */
    avgPrice(requestParameters: AvgPriceRequest$1): Promise<WebsocketApiResponse<AvgPriceResponse$1>>;
    /**
     * Get current order book.
     *
     * Note that this request returns limited market depth.
     *
     * If you need to continuously monitor order book updates, please consider using WebSocket Streams:
     *
     * `<symbol>@depth<levels>`
     * `<symbol>@depth`
     *
     * You can use `depth` request together with `<symbol>@depth` streams to [maintain a local order book](web-socket-streams.md#how-to-manage-a-local-order-book-correctly).
     * Weight: Adjusted based on the limit:
     *
     * |  Limit    | Weight |
     * |:---------:|:------:|
     * |     1–100 |      5 |
     * |   101–500 |      25|
     * |  501–1000 |     50 |
     * | 1001–5000 |     250 |
     *
     * @summary WebSocket Order book
     * @param {DepthRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<DepthResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#order-book Binance API Documentation}
     */
    depth(requestParameters: DepthRequest): Promise<WebsocketApiResponse<DepthResponse>>;
    /**
     * Get klines (candlestick bars).
     *
     * Klines are uniquely identified by their open & close time.
     *
     * If you need access to real-time kline updates, please consider using WebSocket Streams:
     *
     * `<symbol>@kline_<interval>`
     *
     * If you need historical kline data,
     * please consider using [data.binance.vision](https://github.com/binance/binance-public-data/#klines).
     * Weight: 2
     *
     * @summary WebSocket Klines
     * @param {KlinesRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<KlinesResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#klines Binance API Documentation}
     */
    klines(requestParameters: KlinesRequest): Promise<WebsocketApiResponse<KlinesResponse>>;
    /**
     * Get rolling window price change statistics with a custom window.
     *
     * This request is similar to `ticker.24hr`,
     * but statistics are computed on demand using the arbitrary window you specify.
     * Weight: Adjusted based on the number of requested symbols:
     *
     * | Symbols | Weight |
     * |:-------:|:------:|
     * |    1–50 | 4 per symbol |
     * |  51–100 |    200 |
     *
     * @summary WebSocket Rolling window price change statistics
     * @param {TickerRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<TickerResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#rolling-window-price-change-statistics Binance API Documentation}
     */
    ticker(requestParameters?: TickerRequest$1): Promise<WebsocketApiResponse<TickerResponse$1>>;
    /**
     * Get 24-hour rolling window price change statistics.
     *
     * If you need to continuously monitor trading statistics, please consider using WebSocket Streams:
     *
     * `<symbol>@ticker` or `!ticker@arr`
     * `<symbol>@miniTicker` or `!miniTicker@arr`
     *
     * If you need different window sizes,
     * use the `ticker` request.
     * Weight: Adjusted based on the number of requested symbols:
     *
     * | Symbols     | Weight |
     * |:-----------:|:------:|
     * |        1–20 |      2 |
     * |      21–100 |     40 |
     * | 101 or more |     80 |
     * | all symbols |     80 |
     *
     * @summary WebSocket 24hr ticker price change statistics
     * @param {Ticker24hrRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<Ticker24hrResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#24hr-ticker-price-change-statistics Binance API Documentation}
     */
    ticker24hr(requestParameters?: Ticker24hrRequest): Promise<WebsocketApiResponse<Ticker24hrResponse>>;
    /**
     * Get the current best price and quantity on the order book.
     *
     * If you need access to real-time order book ticker updates, please consider using WebSocket Streams:
     *
     * `<symbol>@bookTicker`
     * Weight: Adjusted based on the number of requested symbols:
     *
     * | Parameter | Weight |
     * | --------- |:------:|
     * | `symbol`  |      2 |
     * | `symbols` |      4 |
     * | none      |      4 |
     *
     * @summary WebSocket Symbol order book ticker
     * @param {TickerBookRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<TickerBookResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#symbol-order-book-ticker Binance API Documentation}
     */
    tickerBook(requestParameters?: TickerBookRequest): Promise<WebsocketApiResponse<TickerBookResponse>>;
    /**
     * Get the latest market price for a symbol.
     *
     * If you need access to real-time price updates, please consider using WebSocket Streams:
     *
     * `<symbol>@aggTrade`
     * `<symbol>@trade`
     * Weight: Adjusted based on the number of requested symbols:
     *
     * | Parameter | Weight |
     * | --------- |:------:|
     * | `symbol`  |      2 |
     * | `symbols` |      4 |
     * | none      |      4 |
     *
     * @summary WebSocket Symbol price ticker
     * @param {TickerPriceRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<TickerPriceResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#symbol-price-ticker Binance API Documentation}
     */
    tickerPrice(requestParameters?: TickerPriceRequest): Promise<WebsocketApiResponse<TickerPriceResponse>>;
    /**
     * Price change statistics for a trading day.
     * Weight: 4 for each requested <tt>symbol</tt>. <br/><br/> The weight for this request will cap at 200 once the number of `symbols` in the request is more than 50.
     *
     * @summary WebSocket Trading Day Ticker
     * @param {TickerTradingDayRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<TickerTradingDayResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#trading-day-ticker Binance API Documentation}
     */
    tickerTradingDay(requestParameters?: TickerTradingDayRequest): Promise<WebsocketApiResponse<TickerTradingDayResponse>>;
    /**
     * Get aggregate trades.
     *
     * An *aggregate trade* (aggtrade) represents one or more individual trades.
     * Trades that fill at the same time, from the same taker order, with the same price –
     * those trades are collected into an aggregate trade with total quantity of the individual trades.
     *
     * If you need access to real-time trading activity, please consider using WebSocket Streams:
     *
     * `<symbol>@aggTrade`
     *
     * If you need historical aggregate trade data,
     * please consider using [data.binance.vision](https://github.com/binance/binance-public-data/#aggtrades).
     * Weight: 4
     *
     * @summary WebSocket Aggregate trades
     * @param {TradesAggregateRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<TradesAggregateResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#aggregate-trades Binance API Documentation}
     */
    tradesAggregate(requestParameters: TradesAggregateRequest): Promise<WebsocketApiResponse<TradesAggregateResponse>>;
    /**
     * Get historical trades.
     * Weight: 25
     *
     * @summary WebSocket Historical trades
     * @param {TradesHistoricalRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<TradesHistoricalResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#historical-trades Binance API Documentation}
     */
    tradesHistorical(requestParameters: TradesHistoricalRequest): Promise<WebsocketApiResponse<TradesHistoricalResponse>>;
    /**
     * Get recent trades.
     *
     * If you need access to real-time trading activity, please consider using WebSocket Streams:
     *
     * `<symbol>@trade`
     * Weight: 25
     *
     * @summary WebSocket Recent trades
     * @param {TradesRecentRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<TradesRecentResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#recent-trades Binance API Documentation}
     */
    tradesRecent(requestParameters: TradesRecentRequest): Promise<WebsocketApiResponse<TradesRecentResponse>>;
    /**
     * Get klines (candlestick bars) optimized for presentation.
     *
     * This request is similar to `klines`, having the same parameters and response.
     * `uiKlines` return modified kline data, optimized for presentation of candlestick charts.
     * Weight: 2
     *
     * @summary WebSocket UI Klines
     * @param {UiKlinesRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<UiKlinesResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/market-data-requests#ui-klines Binance API Documentation}
     */
    uiKlines(requestParameters: UiKlinesRequest): Promise<WebsocketApiResponse<UiKlinesResponse>>;
    /**
     * Cancel all open orders on a symbol.
     * This includes orders that are part of an order list.
     * Weight: 1
     *
     * @summary WebSocket Cancel open orders
     * @param {OpenOrdersCancelAllRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<OpenOrdersCancelAllResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#cancel-open-orders-trade Binance API Documentation}
     */
    openOrdersCancelAll(requestParameters: OpenOrdersCancelAllRequest): Promise<WebsocketApiResponse<OpenOrdersCancelAllResponse>>;
    /**
     * Reduce the quantity of an existing open order.
     *
     * This adds 0 orders to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     *
     * Read [Order Amend Keep Priority FAQ](faqs/order_amend_keep_priority.md) to learn more.
     * Weight: 4
     *
     * @summary WebSocket Order Amend Keep Priority
     * @param {OrderAmendKeepPriorityRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<OrderAmendKeepPriorityResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#order-amend-keep-priority-trade Binance API Documentation}
     */
    orderAmendKeepPriority(requestParameters: OrderAmendKeepPriorityRequest): Promise<WebsocketApiResponse<OrderAmendKeepPriorityResponse>>;
    /**
     * Cancel an active order.
     * Weight: 1
     *
     * @summary WebSocket Cancel order
     * @param {OrderCancelRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<OrderCancelResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#cancel-order-trade Binance API Documentation}
     */
    orderCancel(requestParameters: OrderCancelRequest): Promise<WebsocketApiResponse<OrderCancelResponse>>;
    /**
     * Cancel an existing order and immediately place a new order instead of the canceled one.
     *
     * A new order that was not attempted (i.e. when `newOrderResult: NOT_ATTEMPTED`), will still increase the unfilled order count by 1.
     * Weight: 1
     *
     * @summary WebSocket Cancel and replace order
     * @param {OrderCancelReplaceRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<OrderCancelReplaceResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#cancel-and-replace-order-trade Binance API Documentation}
     */
    orderCancelReplace(requestParameters: OrderCancelReplaceRequest): Promise<WebsocketApiResponse<OrderCancelReplaceResponse>>;
    /**
     * Cancel an active order list.
     * Weight: 1
     *
     * @summary WebSocket Cancel Order list
     * @param {OrderListCancelRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<OrderListCancelResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#cancel-order-list-trade Binance API Documentation}
     */
    orderListCancel(requestParameters: OrderListCancelRequest): Promise<WebsocketApiResponse<OrderListCancelResponse>>;
    /**
     * Send in a new one-cancels-the-other (OCO) pair:
     * `LIMIT_MAKER` + `STOP_LOSS`/`STOP_LOSS_LIMIT` orders (called *legs*),
     * where activation of one order immediately cancels the other.
     *
     * This adds 1 order to `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter
     * Weight: 1
     *
     * Unfilled Order Count: 1
     *
     * @summary WebSocket Place new OCO - Deprecated
     * @param {OrderListPlaceRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<OrderListPlaceResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-oco---deprecated-trade Binance API Documentation}
     */
    orderListPlace(requestParameters: OrderListPlaceRequest): Promise<WebsocketApiResponse<OrderListPlaceResponse>>;
    /**
     * Send in an one-cancels-the-other (OCO) pair, where activation of one order immediately cancels the other.
     *
     * An OCO has 2 orders called the **above order** and **below order**.
     * One of the orders must be a `LIMIT_MAKER/TAKE_PROFIT/TAKE_PROFIT_LIMIT` order and the other must be `STOP_LOSS` or `STOP_LOSS_LIMIT` order.
     * Price restrictions:
     * If the OCO is on the `SELL` side:
     * `LIMIT_MAKER/TAKE_PROFIT_LIMIT` `price` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT` `stopPrice`
     * `TAKE_PROFIT stopPrice` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
     * If the OCO is on the `BUY` side:
     * `LIMIT_MAKER` `price` < Last Traded Price < `STOP_LOSS/STOP_LOSS_LIMIT` `stopPrice`
     * `TAKE_PROFIT stopPrice` > Last Traded Price > `STOP_LOSS/STOP_LOSS_LIMIT stopPrice`
     * OCOs add **2 orders** to the `EXCHANGE_MAX_ORDERS` filter and `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * Unfilled Order Count: 2
     *
     * @summary WebSocket Place new Order list - OCO
     * @param {OrderListPlaceOcoRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<OrderListPlaceOcoResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-order-list---oco-trade Binance API Documentation}
     */
    orderListPlaceOco(requestParameters: OrderListPlaceOcoRequest): Promise<WebsocketApiResponse<OrderListPlaceOcoResponse>>;
    /**
     * Places an OTO.
     *
     * An OTO (One-Triggers-the-Other) is an order list comprised of 2 orders.
     * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
     * The second order is called the **pending order**. It can be any order type except for `MARKET` orders using parameter `quoteOrderQty`. The pending order is only placed on the order book when the working order gets **fully filled**.
     * If either the working order or the pending order is cancelled individually, the other order in the order list will also be canceled or expired.
     * When the order list is placed, if the working order gets **immediately fully filled**, the placement response will show the working order as `FILLED` but the pending order will still appear as `PENDING_NEW`. You need to query the status of the pending order again to see its updated status.
     * OTOs add **2 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * Unfilled Order Count: 2
     *
     * @summary WebSocket Place new Order list - OTO
     * @param {OrderListPlaceOtoRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<OrderListPlaceOtoResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-order-list---oto-trade Binance API Documentation}
     */
    orderListPlaceOto(requestParameters: OrderListPlaceOtoRequest): Promise<WebsocketApiResponse<OrderListPlaceOtoResponse>>;
    /**
     * Place an OTOCO.
     *
     * An OTOCO (One-Triggers-One-Cancels-the-Other) is an order list comprised of 3 orders.
     * The first order is called the **working order** and must be `LIMIT` or `LIMIT_MAKER`. Initially, only the working order goes on the order book.
     * The behavior of the working order is the same as the [OTO](#place-new-order-list---oto-trade).
     * OTOCO has 2 pending orders (pending above and pending below), forming an OCO pair. The pending orders are only placed on the order book when the working order gets **fully filled**.
     * The rules of the pending above and pending below follow the same rules as the [Order list OCO](#new-order-list---oco-trade).
     * OTOCOs add **3 orders** to the `EXCHANGE_MAX_NUM_ORDERS` filter and `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * Unfilled Order Count: 3
     *
     * @summary WebSocket Place new Order list - OTOCO
     * @param {OrderListPlaceOtocoRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<OrderListPlaceOtocoResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-order-list---otoco-trade Binance API Documentation}
     */
    orderListPlaceOtoco(requestParameters: OrderListPlaceOtocoRequest): Promise<WebsocketApiResponse<OrderListPlaceOtocoResponse>>;
    /**
     * Send in a new order.
     *
     * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     * Weight: 1
     *
     * @summary WebSocket Place new order
     * @param {OrderPlaceRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<OrderPlaceResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-order-trade Binance API Documentation}
     */
    orderPlace(requestParameters: OrderPlaceRequest): Promise<WebsocketApiResponse<OrderPlaceResponse>>;
    /**
     * Test order placement.
     *
     * Validates new order parameters and verifies your signature
     * but does not send the order into the matching engine.
     * Weight: |Condition| Request Weight|
     * |------------           | ------------ |
     * |Without `computeCommissionRates`| 1|
     * |With `computeCommissionRates`|20|
     *
     * @summary WebSocket Test new order
     * @param {OrderTestRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<OrderTestResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#test-new-order-trade Binance API Documentation}
     */
    orderTest(requestParameters?: OrderTestRequest): Promise<WebsocketApiResponse<OrderTestResponse>>;
    /**
     * Places an order using smart order routing (SOR).
     *
     * This adds 1 order to the `EXCHANGE_MAX_ORDERS` filter and the `MAX_NUM_ORDERS` filter.
     *
     * Read [SOR FAQ](../faqs/sor_faq.md) to learn more.
     * Weight: 1
     *
     * Unfilled Order Count: 1
     *
     * @summary WebSocket Place new order using SOR
     * @param {SorOrderPlaceRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<SorOrderPlaceResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#place-new-order-using-sor-trade Binance API Documentation}
     */
    sorOrderPlace(requestParameters: SorOrderPlaceRequest): Promise<WebsocketApiResponse<SorOrderPlaceResponse>>;
    /**
     * Test new order creation and signature/recvWindow using smart order routing (SOR).
     * Creates and validates a new order but does not send it into the matching engine.
     * Weight: |Condition                       | Request Weight|
     * |------------                    | ------------ |
     * |Without `computeCommissionRates`| 1            |
     * |With `computeCommissionRates`   |20            |
     *
     * @summary WebSocket Test new order using SOR
     * @param {SorOrderTestRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<SorOrderTestResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/trading-requests#test-new-order-using-sor-trade Binance API Documentation}
     */
    sorOrderTest(requestParameters?: SorOrderTestRequest): Promise<WebsocketApiResponse<SorOrderTestResponse>>;
    /**
     * Ping a user data stream to keep it alive.
     *
     * User data streams close automatically after 60 minutes,
     * even if you're listening to them on WebSocket Streams.
     * In order to keep the stream open, you have to regularly send pings using the `userDataStream.ping` request.
     *
     * It is recommended to send a ping once every 30 minutes.
     * Weight: 2
     *
     * @summary WebSocket Ping user data stream
     * @param {UserDataStreamPingRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<UserDataStreamPingResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/user-Data-Stream-requests#ping-user-data-stream-user_stream Binance API Documentation}
     */
    userDataStreamPing(requestParameters: UserDataStreamPingRequest): Promise<WebsocketApiResponse<UserDataStreamPingResponse>>;
    /**
     * Start a new user data stream.
     * Weight: 2
     *
     * @summary WebSocket Start user data stream
     * @param {UserDataStreamStartRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<UserDataStreamStartResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/user-Data-Stream-requests#start-user-data-stream-user_stream Binance API Documentation}
     */
    userDataStreamStart(requestParameters?: UserDataStreamStartRequest): Promise<WebsocketApiResponse<UserDataStreamStartResponse>>;
    /**
     * Explicitly stop and close the user data stream.
     * Weight: 2
     *
     * @summary WebSocket Stop user data stream
     * @param {UserDataStreamStopRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<UserDataStreamStopResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/user-Data-Stream-requests#stop-user-data-stream-user_stream Binance API Documentation}
     */
    userDataStreamStop(requestParameters: UserDataStreamStopRequest): Promise<WebsocketApiResponse<UserDataStreamStopResponse>>;
    /**
     * Subscribe to the User Data Stream in the current WebSocket connection.
     * Weight: 2
     *
     * @summary WebSocket Subscribe to User Data Stream
     * @param {UserDataStreamSubscribeRequest} requestParameters Request parameters.
     * @param {string} [id] Optional custom stream identifier.
     * @returns Promise<{response: WebsocketApiResponse<UserDataStreamSubscribeResponse>, stream: WebsocketStream<object>}>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/user-Data-Stream-requests#subscribe-to-user-data-stream-user_stream Binance API Documentation}
     */
    userDataStreamSubscribe(requestParameters?: UserDataStreamSubscribeRequest, id?: string): Promise<{
        response: WebsocketApiResponse<UserDataStreamSubscribeResponse>;
        stream: WebsocketStream<object>;
    }>;
    /**
     * Stop listening to the User Data Stream in the current WebSocket connection.
     * Weight: 2
     *
     * @summary WebSocket Unsubscribe from User Data Stream
     * @param {UserDataStreamUnsubscribeRequest} requestParameters Request parameters.
     * @returns Promise<WebsocketApiResponse<UserDataStreamUnsubscribeResponse>>
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/user-Data-Stream-requests#unsubscribe-from-user-data-stream-user_stream Binance API Documentation}
     */
    userDataStreamUnsubscribe(requestParameters?: UserDataStreamUnsubscribeRequest): Promise<WebsocketApiResponse<UserDataStreamUnsubscribeResponse>>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

declare class WebsocketAPI {
    private configuration;
    constructor(configuration: ConfigurationWebsocketAPI);
    /**
     * Connects to the Binance WebSocket API and returns a `WebsocketAPIConnection` instance.
     *
     * @param {object} [options] - Optional connection options.
     * @param {string} [options.mode='single'] - The connection mode, either 'single' or 'pool'. Overrides the `mode` property in the configuration.
     * @param {number} [options.poolSize=1] - The number of connections to use in pool mode. Overrides the `poolSize` property in the configuration.
     * @returns {Promise<WebsocketAPIConnection>} - A promise that resolves to a `WebsocketAPIConnection` instance.
     */
    connect({ mode, poolSize, }?: {
        mode?: 'single' | 'pool';
        poolSize?: number;
    }): Promise<WebsocketAPIConnection>;
}

/**
 * Binance Spot WebSocket API
 *
 * OpenAPI Specifications for the Binance Spot WebSocket API
 *
 * API documents:
 * - [Github web-socket-api documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-api.md)
 * - [General API information for web-socket-api on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/general-api-information)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

type index$1_AccountApi = AccountApi;
declare const index$1_AccountApi: typeof AccountApi;
type index$1_AccountApiInterface = AccountApiInterface;
type index$1_AccountCommissionRequest = AccountCommissionRequest;
type index$1_AccountCommissionResponse = AccountCommissionResponse;
type index$1_AccountCommissionResponseRateLimitsInner = AccountCommissionResponseRateLimitsInner;
type index$1_AccountCommissionResponseResult = AccountCommissionResponseResult;
type index$1_AccountCommissionResponseResultDiscount = AccountCommissionResponseResultDiscount;
type index$1_AccountCommissionResponseResultStandardCommission = AccountCommissionResponseResultStandardCommission;
type index$1_AccountCommissionResponseResultTaxCommission = AccountCommissionResponseResultTaxCommission;
type index$1_AccountRateLimitsOrdersRequest = AccountRateLimitsOrdersRequest;
type index$1_AccountRateLimitsOrdersResponse = AccountRateLimitsOrdersResponse;
type index$1_AccountRateLimitsOrdersResponseRateLimitsInner = AccountRateLimitsOrdersResponseRateLimitsInner;
type index$1_AccountRateLimitsOrdersResponseResultInner = AccountRateLimitsOrdersResponseResultInner;
type index$1_AccountStatusRequest = AccountStatusRequest;
type index$1_AccountStatusResponse = AccountStatusResponse;
type index$1_AccountStatusResponseResult = AccountStatusResponseResult;
type index$1_AccountStatusResponseResultBalancesInner = AccountStatusResponseResultBalancesInner;
type index$1_AccountStatusResponseResultCommissionRates = AccountStatusResponseResultCommissionRates;
type index$1_AllOrderListsRequest = AllOrderListsRequest;
type index$1_AllOrderListsResponse = AllOrderListsResponse;
type index$1_AllOrderListsResponseResultInner = AllOrderListsResponseResultInner;
type index$1_AllOrdersRequest = AllOrdersRequest;
type index$1_AllOrdersResponse = AllOrdersResponse;
type index$1_AllOrdersResponseResultInner = AllOrdersResponseResultInner;
type index$1_AuthApi = AuthApi;
declare const index$1_AuthApi: typeof AuthApi;
type index$1_AuthApiInterface = AuthApiInterface;
type index$1_AvgPriceResponseRateLimitsInner = AvgPriceResponseRateLimitsInner;
type index$1_AvgPriceResponseResult = AvgPriceResponseResult;
type index$1_DepthRequest = DepthRequest;
type index$1_DepthResponse = DepthResponse;
type index$1_DepthResponseResult = DepthResponseResult;
type index$1_ExchangeInfoRequest = ExchangeInfoRequest;
type index$1_ExchangeInfoResponse = ExchangeInfoResponse;
type index$1_ExchangeInfoResponseRateLimitsInner = ExchangeInfoResponseRateLimitsInner;
type index$1_ExchangeInfoResponseResult = ExchangeInfoResponseResult;
type index$1_ExchangeInfoResponseResultExchangeFiltersInner = ExchangeInfoResponseResultExchangeFiltersInner;
type index$1_ExchangeInfoResponseResultRateLimitsInner = ExchangeInfoResponseResultRateLimitsInner;
type index$1_ExchangeInfoResponseResultSorsInner = ExchangeInfoResponseResultSorsInner;
type index$1_ExchangeInfoResponseResultSymbolsInner = ExchangeInfoResponseResultSymbolsInner;
type index$1_ExchangeInfoSymbolStatusEnum = ExchangeInfoSymbolStatusEnum;
declare const index$1_ExchangeInfoSymbolStatusEnum: typeof ExchangeInfoSymbolStatusEnum;
type index$1_GeneralApi = GeneralApi;
declare const index$1_GeneralApi: typeof GeneralApi;
type index$1_GeneralApiInterface = GeneralApiInterface;
type index$1_KlinesIntervalEnum = KlinesIntervalEnum;
declare const index$1_KlinesIntervalEnum: typeof KlinesIntervalEnum;
type index$1_KlinesItem = KlinesItem;
type index$1_KlinesItemInner = KlinesItemInner;
type index$1_KlinesRequest = KlinesRequest;
type index$1_KlinesResponse = KlinesResponse;
type index$1_MarketApi = MarketApi;
declare const index$1_MarketApi: typeof MarketApi;
type index$1_MarketApiInterface = MarketApiInterface;
type index$1_MyAllocationsRequest = MyAllocationsRequest;
type index$1_MyAllocationsResponse = MyAllocationsResponse;
type index$1_MyAllocationsResponseResultInner = MyAllocationsResponseResultInner;
type index$1_MyPreventedMatchesRequest = MyPreventedMatchesRequest;
type index$1_MyPreventedMatchesResponse = MyPreventedMatchesResponse;
type index$1_MyPreventedMatchesResponseResultInner = MyPreventedMatchesResponseResultInner;
type index$1_MyTradesRequest = MyTradesRequest;
type index$1_MyTradesResponse = MyTradesResponse;
type index$1_MyTradesResponseResultInner = MyTradesResponseResultInner;
type index$1_OpenOrderListsStatusRequest = OpenOrderListsStatusRequest;
type index$1_OpenOrderListsStatusResponse = OpenOrderListsStatusResponse;
type index$1_OpenOrderListsStatusResponseRateLimitsInner = OpenOrderListsStatusResponseRateLimitsInner;
type index$1_OpenOrderListsStatusResponseResultInner = OpenOrderListsStatusResponseResultInner;
type index$1_OpenOrderListsStatusResponseResultInnerOrdersInner = OpenOrderListsStatusResponseResultInnerOrdersInner;
type index$1_OpenOrdersCancelAllRequest = OpenOrdersCancelAllRequest;
type index$1_OpenOrdersCancelAllResponse = OpenOrdersCancelAllResponse;
type index$1_OpenOrdersCancelAllResponseResultInner = OpenOrdersCancelAllResponseResultInner;
type index$1_OpenOrdersCancelAllResponseResultInnerOrderReportsInner = OpenOrdersCancelAllResponseResultInnerOrderReportsInner;
type index$1_OpenOrdersCancelAllResponseResultInnerOrdersInner = OpenOrdersCancelAllResponseResultInnerOrdersInner;
type index$1_OpenOrdersStatusRequest = OpenOrdersStatusRequest;
type index$1_OpenOrdersStatusResponse = OpenOrdersStatusResponse;
type index$1_OpenOrdersStatusResponseResultInner = OpenOrdersStatusResponseResultInner;
type index$1_OrderAmendKeepPriorityRequest = OrderAmendKeepPriorityRequest;
type index$1_OrderAmendKeepPriorityResponse = OrderAmendKeepPriorityResponse;
type index$1_OrderAmendKeepPriorityResponseResult = OrderAmendKeepPriorityResponseResult;
type index$1_OrderAmendKeepPriorityResponseResultAmendedOrder = OrderAmendKeepPriorityResponseResultAmendedOrder;
type index$1_OrderAmendKeepPriorityResponseResultListStatus = OrderAmendKeepPriorityResponseResultListStatus;
type index$1_OrderAmendKeepPriorityResponseResultListStatusOrdersInner = OrderAmendKeepPriorityResponseResultListStatusOrdersInner;
type index$1_OrderAmendmentsRequest = OrderAmendmentsRequest;
type index$1_OrderAmendmentsResponse = OrderAmendmentsResponse;
type index$1_OrderAmendmentsResponseResultInner = OrderAmendmentsResponseResultInner;
type index$1_OrderCancelCancelRestrictionsEnum = OrderCancelCancelRestrictionsEnum;
declare const index$1_OrderCancelCancelRestrictionsEnum: typeof OrderCancelCancelRestrictionsEnum;
type index$1_OrderCancelReplaceCancelReplaceModeEnum = OrderCancelReplaceCancelReplaceModeEnum;
declare const index$1_OrderCancelReplaceCancelReplaceModeEnum: typeof OrderCancelReplaceCancelReplaceModeEnum;
type index$1_OrderCancelReplaceCancelRestrictionsEnum = OrderCancelReplaceCancelRestrictionsEnum;
declare const index$1_OrderCancelReplaceCancelRestrictionsEnum: typeof OrderCancelReplaceCancelRestrictionsEnum;
type index$1_OrderCancelReplaceNewOrderRespTypeEnum = OrderCancelReplaceNewOrderRespTypeEnum;
declare const index$1_OrderCancelReplaceNewOrderRespTypeEnum: typeof OrderCancelReplaceNewOrderRespTypeEnum;
type index$1_OrderCancelReplaceOrderRateLimitExceededModeEnum = OrderCancelReplaceOrderRateLimitExceededModeEnum;
declare const index$1_OrderCancelReplaceOrderRateLimitExceededModeEnum: typeof OrderCancelReplaceOrderRateLimitExceededModeEnum;
type index$1_OrderCancelReplaceRequest = OrderCancelReplaceRequest;
type index$1_OrderCancelReplaceResponse = OrderCancelReplaceResponse;
type index$1_OrderCancelReplaceResponseResult = OrderCancelReplaceResponseResult;
type index$1_OrderCancelReplaceResponseResultCancelResponse = OrderCancelReplaceResponseResultCancelResponse;
type index$1_OrderCancelReplaceResponseResultNewOrderResponse = OrderCancelReplaceResponseResultNewOrderResponse;
type index$1_OrderCancelReplaceSelfTradePreventionModeEnum = OrderCancelReplaceSelfTradePreventionModeEnum;
declare const index$1_OrderCancelReplaceSelfTradePreventionModeEnum: typeof OrderCancelReplaceSelfTradePreventionModeEnum;
type index$1_OrderCancelReplaceSideEnum = OrderCancelReplaceSideEnum;
declare const index$1_OrderCancelReplaceSideEnum: typeof OrderCancelReplaceSideEnum;
type index$1_OrderCancelReplaceTimeInForceEnum = OrderCancelReplaceTimeInForceEnum;
declare const index$1_OrderCancelReplaceTimeInForceEnum: typeof OrderCancelReplaceTimeInForceEnum;
type index$1_OrderCancelReplaceTypeEnum = OrderCancelReplaceTypeEnum;
declare const index$1_OrderCancelReplaceTypeEnum: typeof OrderCancelReplaceTypeEnum;
type index$1_OrderCancelRequest = OrderCancelRequest;
type index$1_OrderCancelResponse = OrderCancelResponse;
type index$1_OrderCancelResponseResult = OrderCancelResponseResult;
type index$1_OrderListCancelRequest = OrderListCancelRequest;
type index$1_OrderListCancelResponse = OrderListCancelResponse;
type index$1_OrderListCancelResponseResult = OrderListCancelResponseResult;
type index$1_OrderListCancelResponseResultOrderReportsInner = OrderListCancelResponseResultOrderReportsInner;
type index$1_OrderListCancelResponseResultOrdersInner = OrderListCancelResponseResultOrdersInner;
type index$1_OrderListPlaceNewOrderRespTypeEnum = OrderListPlaceNewOrderRespTypeEnum;
declare const index$1_OrderListPlaceNewOrderRespTypeEnum: typeof OrderListPlaceNewOrderRespTypeEnum;
type index$1_OrderListPlaceOcoAboveTypeEnum = OrderListPlaceOcoAboveTypeEnum;
declare const index$1_OrderListPlaceOcoAboveTypeEnum: typeof OrderListPlaceOcoAboveTypeEnum;
type index$1_OrderListPlaceOcoBelowTimeInForceEnum = OrderListPlaceOcoBelowTimeInForceEnum;
declare const index$1_OrderListPlaceOcoBelowTimeInForceEnum: typeof OrderListPlaceOcoBelowTimeInForceEnum;
type index$1_OrderListPlaceOcoBelowTypeEnum = OrderListPlaceOcoBelowTypeEnum;
declare const index$1_OrderListPlaceOcoBelowTypeEnum: typeof OrderListPlaceOcoBelowTypeEnum;
type index$1_OrderListPlaceOcoNewOrderRespTypeEnum = OrderListPlaceOcoNewOrderRespTypeEnum;
declare const index$1_OrderListPlaceOcoNewOrderRespTypeEnum: typeof OrderListPlaceOcoNewOrderRespTypeEnum;
type index$1_OrderListPlaceOcoRequest = OrderListPlaceOcoRequest;
type index$1_OrderListPlaceOcoResponse = OrderListPlaceOcoResponse;
type index$1_OrderListPlaceOcoResponseResult = OrderListPlaceOcoResponseResult;
type index$1_OrderListPlaceOcoResponseResultOrderReportsInner = OrderListPlaceOcoResponseResultOrderReportsInner;
type index$1_OrderListPlaceOcoResponseResultOrdersInner = OrderListPlaceOcoResponseResultOrdersInner;
type index$1_OrderListPlaceOcoSelfTradePreventionModeEnum = OrderListPlaceOcoSelfTradePreventionModeEnum;
declare const index$1_OrderListPlaceOcoSelfTradePreventionModeEnum: typeof OrderListPlaceOcoSelfTradePreventionModeEnum;
type index$1_OrderListPlaceOcoSideEnum = OrderListPlaceOcoSideEnum;
declare const index$1_OrderListPlaceOcoSideEnum: typeof OrderListPlaceOcoSideEnum;
type index$1_OrderListPlaceOtoNewOrderRespTypeEnum = OrderListPlaceOtoNewOrderRespTypeEnum;
declare const index$1_OrderListPlaceOtoNewOrderRespTypeEnum: typeof OrderListPlaceOtoNewOrderRespTypeEnum;
type index$1_OrderListPlaceOtoPendingSideEnum = OrderListPlaceOtoPendingSideEnum;
declare const index$1_OrderListPlaceOtoPendingSideEnum: typeof OrderListPlaceOtoPendingSideEnum;
type index$1_OrderListPlaceOtoPendingTimeInForceEnum = OrderListPlaceOtoPendingTimeInForceEnum;
declare const index$1_OrderListPlaceOtoPendingTimeInForceEnum: typeof OrderListPlaceOtoPendingTimeInForceEnum;
type index$1_OrderListPlaceOtoPendingTypeEnum = OrderListPlaceOtoPendingTypeEnum;
declare const index$1_OrderListPlaceOtoPendingTypeEnum: typeof OrderListPlaceOtoPendingTypeEnum;
type index$1_OrderListPlaceOtoRequest = OrderListPlaceOtoRequest;
type index$1_OrderListPlaceOtoResponse = OrderListPlaceOtoResponse;
type index$1_OrderListPlaceOtoResponseRateLimitsInner = OrderListPlaceOtoResponseRateLimitsInner;
type index$1_OrderListPlaceOtoResponseResult = OrderListPlaceOtoResponseResult;
type index$1_OrderListPlaceOtoResponseResultOrderReportsInner = OrderListPlaceOtoResponseResultOrderReportsInner;
type index$1_OrderListPlaceOtoResponseResultOrdersInner = OrderListPlaceOtoResponseResultOrdersInner;
type index$1_OrderListPlaceOtoSelfTradePreventionModeEnum = OrderListPlaceOtoSelfTradePreventionModeEnum;
declare const index$1_OrderListPlaceOtoSelfTradePreventionModeEnum: typeof OrderListPlaceOtoSelfTradePreventionModeEnum;
type index$1_OrderListPlaceOtoWorkingSideEnum = OrderListPlaceOtoWorkingSideEnum;
declare const index$1_OrderListPlaceOtoWorkingSideEnum: typeof OrderListPlaceOtoWorkingSideEnum;
type index$1_OrderListPlaceOtoWorkingTimeInForceEnum = OrderListPlaceOtoWorkingTimeInForceEnum;
declare const index$1_OrderListPlaceOtoWorkingTimeInForceEnum: typeof OrderListPlaceOtoWorkingTimeInForceEnum;
type index$1_OrderListPlaceOtoWorkingTypeEnum = OrderListPlaceOtoWorkingTypeEnum;
declare const index$1_OrderListPlaceOtoWorkingTypeEnum: typeof OrderListPlaceOtoWorkingTypeEnum;
type index$1_OrderListPlaceOtocoNewOrderRespTypeEnum = OrderListPlaceOtocoNewOrderRespTypeEnum;
declare const index$1_OrderListPlaceOtocoNewOrderRespTypeEnum: typeof OrderListPlaceOtocoNewOrderRespTypeEnum;
type index$1_OrderListPlaceOtocoPendingAboveTimeInForceEnum = OrderListPlaceOtocoPendingAboveTimeInForceEnum;
declare const index$1_OrderListPlaceOtocoPendingAboveTimeInForceEnum: typeof OrderListPlaceOtocoPendingAboveTimeInForceEnum;
type index$1_OrderListPlaceOtocoPendingAboveTypeEnum = OrderListPlaceOtocoPendingAboveTypeEnum;
declare const index$1_OrderListPlaceOtocoPendingAboveTypeEnum: typeof OrderListPlaceOtocoPendingAboveTypeEnum;
type index$1_OrderListPlaceOtocoPendingBelowTimeInForceEnum = OrderListPlaceOtocoPendingBelowTimeInForceEnum;
declare const index$1_OrderListPlaceOtocoPendingBelowTimeInForceEnum: typeof OrderListPlaceOtocoPendingBelowTimeInForceEnum;
type index$1_OrderListPlaceOtocoPendingBelowTypeEnum = OrderListPlaceOtocoPendingBelowTypeEnum;
declare const index$1_OrderListPlaceOtocoPendingBelowTypeEnum: typeof OrderListPlaceOtocoPendingBelowTypeEnum;
type index$1_OrderListPlaceOtocoPendingSideEnum = OrderListPlaceOtocoPendingSideEnum;
declare const index$1_OrderListPlaceOtocoPendingSideEnum: typeof OrderListPlaceOtocoPendingSideEnum;
type index$1_OrderListPlaceOtocoRequest = OrderListPlaceOtocoRequest;
type index$1_OrderListPlaceOtocoResponse = OrderListPlaceOtocoResponse;
type index$1_OrderListPlaceOtocoResponseRateLimitsInner = OrderListPlaceOtocoResponseRateLimitsInner;
type index$1_OrderListPlaceOtocoResponseResult = OrderListPlaceOtocoResponseResult;
type index$1_OrderListPlaceOtocoResponseResultOrderReportsInner = OrderListPlaceOtocoResponseResultOrderReportsInner;
type index$1_OrderListPlaceOtocoResponseResultOrdersInner = OrderListPlaceOtocoResponseResultOrdersInner;
type index$1_OrderListPlaceOtocoSelfTradePreventionModeEnum = OrderListPlaceOtocoSelfTradePreventionModeEnum;
declare const index$1_OrderListPlaceOtocoSelfTradePreventionModeEnum: typeof OrderListPlaceOtocoSelfTradePreventionModeEnum;
type index$1_OrderListPlaceOtocoWorkingSideEnum = OrderListPlaceOtocoWorkingSideEnum;
declare const index$1_OrderListPlaceOtocoWorkingSideEnum: typeof OrderListPlaceOtocoWorkingSideEnum;
type index$1_OrderListPlaceOtocoWorkingTimeInForceEnum = OrderListPlaceOtocoWorkingTimeInForceEnum;
declare const index$1_OrderListPlaceOtocoWorkingTimeInForceEnum: typeof OrderListPlaceOtocoWorkingTimeInForceEnum;
type index$1_OrderListPlaceOtocoWorkingTypeEnum = OrderListPlaceOtocoWorkingTypeEnum;
declare const index$1_OrderListPlaceOtocoWorkingTypeEnum: typeof OrderListPlaceOtocoWorkingTypeEnum;
type index$1_OrderListPlaceRequest = OrderListPlaceRequest;
type index$1_OrderListPlaceResponse = OrderListPlaceResponse;
type index$1_OrderListPlaceResponseResult = OrderListPlaceResponseResult;
type index$1_OrderListPlaceResponseResultOrderReportsInner = OrderListPlaceResponseResultOrderReportsInner;
type index$1_OrderListPlaceSelfTradePreventionModeEnum = OrderListPlaceSelfTradePreventionModeEnum;
declare const index$1_OrderListPlaceSelfTradePreventionModeEnum: typeof OrderListPlaceSelfTradePreventionModeEnum;
type index$1_OrderListPlaceSideEnum = OrderListPlaceSideEnum;
declare const index$1_OrderListPlaceSideEnum: typeof OrderListPlaceSideEnum;
type index$1_OrderListPlaceStopLimitTimeInForceEnum = OrderListPlaceStopLimitTimeInForceEnum;
declare const index$1_OrderListPlaceStopLimitTimeInForceEnum: typeof OrderListPlaceStopLimitTimeInForceEnum;
type index$1_OrderListStatusRequest = OrderListStatusRequest;
type index$1_OrderListStatusResponse = OrderListStatusResponse;
type index$1_OrderPlaceNewOrderRespTypeEnum = OrderPlaceNewOrderRespTypeEnum;
declare const index$1_OrderPlaceNewOrderRespTypeEnum: typeof OrderPlaceNewOrderRespTypeEnum;
type index$1_OrderPlaceRequest = OrderPlaceRequest;
type index$1_OrderPlaceResponse = OrderPlaceResponse;
type index$1_OrderPlaceResponseResult = OrderPlaceResponseResult;
type index$1_OrderPlaceResponseResultFillsInner = OrderPlaceResponseResultFillsInner;
type index$1_OrderPlaceSelfTradePreventionModeEnum = OrderPlaceSelfTradePreventionModeEnum;
declare const index$1_OrderPlaceSelfTradePreventionModeEnum: typeof OrderPlaceSelfTradePreventionModeEnum;
type index$1_OrderPlaceSideEnum = OrderPlaceSideEnum;
declare const index$1_OrderPlaceSideEnum: typeof OrderPlaceSideEnum;
type index$1_OrderPlaceTimeInForceEnum = OrderPlaceTimeInForceEnum;
declare const index$1_OrderPlaceTimeInForceEnum: typeof OrderPlaceTimeInForceEnum;
type index$1_OrderPlaceTypeEnum = OrderPlaceTypeEnum;
declare const index$1_OrderPlaceTypeEnum: typeof OrderPlaceTypeEnum;
type index$1_OrderStatusRequest = OrderStatusRequest;
type index$1_OrderStatusResponse = OrderStatusResponse;
type index$1_OrderStatusResponseResult = OrderStatusResponseResult;
type index$1_OrderTestRequest = OrderTestRequest;
type index$1_OrderTestResponse = OrderTestResponse;
type index$1_OrderTestResponseResult = OrderTestResponseResult;
type index$1_OrderTestResponseResultDiscount = OrderTestResponseResultDiscount;
type index$1_OrderTestResponseResultStandardCommissionForOrder = OrderTestResponseResultStandardCommissionForOrder;
type index$1_PingRequest = PingRequest;
type index$1_PingResponse = PingResponse;
type index$1_PingResponseRateLimitsInner = PingResponseRateLimitsInner;
type index$1_SessionLogonRequest = SessionLogonRequest;
type index$1_SessionLogonResponse = SessionLogonResponse;
type index$1_SessionLogonResponseResult = SessionLogonResponseResult;
type index$1_SessionLogoutRequest = SessionLogoutRequest;
type index$1_SessionLogoutResponse = SessionLogoutResponse;
type index$1_SessionLogoutResponseResult = SessionLogoutResponseResult;
type index$1_SessionStatusRequest = SessionStatusRequest;
type index$1_SessionStatusResponse = SessionStatusResponse;
type index$1_SessionStatusResponseResult = SessionStatusResponseResult;
type index$1_SorOrderPlaceNewOrderRespTypeEnum = SorOrderPlaceNewOrderRespTypeEnum;
declare const index$1_SorOrderPlaceNewOrderRespTypeEnum: typeof SorOrderPlaceNewOrderRespTypeEnum;
type index$1_SorOrderPlaceRequest = SorOrderPlaceRequest;
type index$1_SorOrderPlaceResponse = SorOrderPlaceResponse;
type index$1_SorOrderPlaceResponseResultInner = SorOrderPlaceResponseResultInner;
type index$1_SorOrderPlaceResponseResultInnerFillsInner = SorOrderPlaceResponseResultInnerFillsInner;
type index$1_SorOrderPlaceSelfTradePreventionModeEnum = SorOrderPlaceSelfTradePreventionModeEnum;
declare const index$1_SorOrderPlaceSelfTradePreventionModeEnum: typeof SorOrderPlaceSelfTradePreventionModeEnum;
type index$1_SorOrderPlaceSideEnum = SorOrderPlaceSideEnum;
declare const index$1_SorOrderPlaceSideEnum: typeof SorOrderPlaceSideEnum;
type index$1_SorOrderPlaceTimeInForceEnum = SorOrderPlaceTimeInForceEnum;
declare const index$1_SorOrderPlaceTimeInForceEnum: typeof SorOrderPlaceTimeInForceEnum;
type index$1_SorOrderPlaceTypeEnum = SorOrderPlaceTypeEnum;
declare const index$1_SorOrderPlaceTypeEnum: typeof SorOrderPlaceTypeEnum;
type index$1_SorOrderTestRequest = SorOrderTestRequest;
type index$1_SorOrderTestResponse = SorOrderTestResponse;
type index$1_Ticker24hrRequest = Ticker24hrRequest;
type index$1_Ticker24hrResponse = Ticker24hrResponse;
type index$1_Ticker24hrResponse1 = Ticker24hrResponse1;
type index$1_Ticker24hrResponse1Result = Ticker24hrResponse1Result;
type index$1_Ticker24hrResponse2 = Ticker24hrResponse2;
type index$1_Ticker24hrResponse2ResultInner = Ticker24hrResponse2ResultInner;
type index$1_Ticker24hrTypeEnum = Ticker24hrTypeEnum;
declare const index$1_Ticker24hrTypeEnum: typeof Ticker24hrTypeEnum;
type index$1_TickerBookRequest = TickerBookRequest;
type index$1_TickerBookResponse = TickerBookResponse;
type index$1_TickerBookResponse1 = TickerBookResponse1;
type index$1_TickerBookResponse1Result = TickerBookResponse1Result;
type index$1_TickerBookResponse2 = TickerBookResponse2;
type index$1_TickerBookResponse2ResultInner = TickerBookResponse2ResultInner;
type index$1_TickerPriceRequest = TickerPriceRequest;
type index$1_TickerPriceResponse = TickerPriceResponse;
type index$1_TickerPriceResponse1 = TickerPriceResponse1;
type index$1_TickerPriceResponse1Result = TickerPriceResponse1Result;
type index$1_TickerPriceResponse2 = TickerPriceResponse2;
type index$1_TickerPriceResponse2ResultInner = TickerPriceResponse2ResultInner;
type index$1_TickerResponse1 = TickerResponse1;
type index$1_TickerResponse1RateLimitsInner = TickerResponse1RateLimitsInner;
type index$1_TickerResponse1Result = TickerResponse1Result;
type index$1_TickerResponse2 = TickerResponse2;
type index$1_TickerResponse2RateLimitsInner = TickerResponse2RateLimitsInner;
type index$1_TickerResponse2ResultInner = TickerResponse2ResultInner;
type index$1_TickerTradingDayRequest = TickerTradingDayRequest;
type index$1_TickerTradingDayResponse = TickerTradingDayResponse;
type index$1_TickerTradingDayResponseResultInner = TickerTradingDayResponseResultInner;
type index$1_TickerTradingDayTypeEnum = TickerTradingDayTypeEnum;
declare const index$1_TickerTradingDayTypeEnum: typeof TickerTradingDayTypeEnum;
type index$1_TickerTypeEnum = TickerTypeEnum;
declare const index$1_TickerTypeEnum: typeof TickerTypeEnum;
type index$1_TickerWindowSizeEnum = TickerWindowSizeEnum;
declare const index$1_TickerWindowSizeEnum: typeof TickerWindowSizeEnum;
type index$1_TimeRequest = TimeRequest;
type index$1_TimeResponse = TimeResponse;
type index$1_TimeResponseResult = TimeResponseResult;
type index$1_TradeApi = TradeApi;
declare const index$1_TradeApi: typeof TradeApi;
type index$1_TradeApiInterface = TradeApiInterface;
type index$1_TradesAggregateRequest = TradesAggregateRequest;
type index$1_TradesAggregateResponse = TradesAggregateResponse;
type index$1_TradesAggregateResponseResultInner = TradesAggregateResponseResultInner;
type index$1_TradesHistoricalRequest = TradesHistoricalRequest;
type index$1_TradesHistoricalResponse = TradesHistoricalResponse;
type index$1_TradesHistoricalResponseRateLimitsInner = TradesHistoricalResponseRateLimitsInner;
type index$1_TradesHistoricalResponseResultInner = TradesHistoricalResponseResultInner;
type index$1_TradesRecentRequest = TradesRecentRequest;
type index$1_TradesRecentResponse = TradesRecentResponse;
type index$1_TradesRecentResponseResultInner = TradesRecentResponseResultInner;
type index$1_UiKlinesIntervalEnum = UiKlinesIntervalEnum;
declare const index$1_UiKlinesIntervalEnum: typeof UiKlinesIntervalEnum;
type index$1_UiKlinesItem = UiKlinesItem;
type index$1_UiKlinesRequest = UiKlinesRequest;
type index$1_UiKlinesResponse = UiKlinesResponse;
type index$1_UserDataStreamApi = UserDataStreamApi;
declare const index$1_UserDataStreamApi: typeof UserDataStreamApi;
type index$1_UserDataStreamApiInterface = UserDataStreamApiInterface;
type index$1_UserDataStreamPingRequest = UserDataStreamPingRequest;
type index$1_UserDataStreamPingResponse = UserDataStreamPingResponse;
type index$1_UserDataStreamStartRequest = UserDataStreamStartRequest;
type index$1_UserDataStreamStartResponse = UserDataStreamStartResponse;
type index$1_UserDataStreamStartResponseResult = UserDataStreamStartResponseResult;
type index$1_UserDataStreamStopRequest = UserDataStreamStopRequest;
type index$1_UserDataStreamStopResponse = UserDataStreamStopResponse;
type index$1_UserDataStreamSubscribeRequest = UserDataStreamSubscribeRequest;
type index$1_UserDataStreamSubscribeResponse = UserDataStreamSubscribeResponse;
type index$1_UserDataStreamUnsubscribeRequest = UserDataStreamUnsubscribeRequest;
type index$1_UserDataStreamUnsubscribeResponse = UserDataStreamUnsubscribeResponse;
type index$1_WebsocketAPI = WebsocketAPI;
declare const index$1_WebsocketAPI: typeof WebsocketAPI;
type index$1_WebsocketAPIConnection = WebsocketAPIConnection;
declare const index$1_WebsocketAPIConnection: typeof WebsocketAPIConnection;
declare namespace index$1 {
  export { index$1_AccountApi as AccountApi, type index$1_AccountApiInterface as AccountApiInterface, type index$1_AccountCommissionRequest as AccountCommissionRequest, type index$1_AccountCommissionResponse as AccountCommissionResponse, type index$1_AccountCommissionResponseRateLimitsInner as AccountCommissionResponseRateLimitsInner, type index$1_AccountCommissionResponseResult as AccountCommissionResponseResult, type index$1_AccountCommissionResponseResultDiscount as AccountCommissionResponseResultDiscount, type index$1_AccountCommissionResponseResultStandardCommission as AccountCommissionResponseResultStandardCommission, type index$1_AccountCommissionResponseResultTaxCommission as AccountCommissionResponseResultTaxCommission, type index$1_AccountRateLimitsOrdersRequest as AccountRateLimitsOrdersRequest, type index$1_AccountRateLimitsOrdersResponse as AccountRateLimitsOrdersResponse, type index$1_AccountRateLimitsOrdersResponseRateLimitsInner as AccountRateLimitsOrdersResponseRateLimitsInner, type index$1_AccountRateLimitsOrdersResponseResultInner as AccountRateLimitsOrdersResponseResultInner, type index$1_AccountStatusRequest as AccountStatusRequest, type index$1_AccountStatusResponse as AccountStatusResponse, type index$1_AccountStatusResponseResult as AccountStatusResponseResult, type index$1_AccountStatusResponseResultBalancesInner as AccountStatusResponseResultBalancesInner, type index$1_AccountStatusResponseResultCommissionRates as AccountStatusResponseResultCommissionRates, type index$1_AllOrderListsRequest as AllOrderListsRequest, type index$1_AllOrderListsResponse as AllOrderListsResponse, type index$1_AllOrderListsResponseResultInner as AllOrderListsResponseResultInner, type index$1_AllOrdersRequest as AllOrdersRequest, type index$1_AllOrdersResponse as AllOrdersResponse, type index$1_AllOrdersResponseResultInner as AllOrdersResponseResultInner, index$1_AuthApi as AuthApi, type index$1_AuthApiInterface as AuthApiInterface, type AvgPriceRequest$1 as AvgPriceRequest, type AvgPriceResponse$1 as AvgPriceResponse, type index$1_AvgPriceResponseRateLimitsInner as AvgPriceResponseRateLimitsInner, type index$1_AvgPriceResponseResult as AvgPriceResponseResult, type index$1_DepthRequest as DepthRequest, type index$1_DepthResponse as DepthResponse, type index$1_DepthResponseResult as DepthResponseResult, type index$1_ExchangeInfoRequest as ExchangeInfoRequest, type index$1_ExchangeInfoResponse as ExchangeInfoResponse, type index$1_ExchangeInfoResponseRateLimitsInner as ExchangeInfoResponseRateLimitsInner, type index$1_ExchangeInfoResponseResult as ExchangeInfoResponseResult, type index$1_ExchangeInfoResponseResultExchangeFiltersInner as ExchangeInfoResponseResultExchangeFiltersInner, type index$1_ExchangeInfoResponseResultRateLimitsInner as ExchangeInfoResponseResultRateLimitsInner, type index$1_ExchangeInfoResponseResultSorsInner as ExchangeInfoResponseResultSorsInner, type index$1_ExchangeInfoResponseResultSymbolsInner as ExchangeInfoResponseResultSymbolsInner, index$1_ExchangeInfoSymbolStatusEnum as ExchangeInfoSymbolStatusEnum, index$1_GeneralApi as GeneralApi, type index$1_GeneralApiInterface as GeneralApiInterface, index$1_KlinesIntervalEnum as KlinesIntervalEnum, type index$1_KlinesItem as KlinesItem, type index$1_KlinesItemInner as KlinesItemInner, type index$1_KlinesRequest as KlinesRequest, type index$1_KlinesResponse as KlinesResponse, index$1_MarketApi as MarketApi, type index$1_MarketApiInterface as MarketApiInterface, type index$1_MyAllocationsRequest as MyAllocationsRequest, type index$1_MyAllocationsResponse as MyAllocationsResponse, type index$1_MyAllocationsResponseResultInner as MyAllocationsResponseResultInner, type index$1_MyPreventedMatchesRequest as MyPreventedMatchesRequest, type index$1_MyPreventedMatchesResponse as MyPreventedMatchesResponse, type index$1_MyPreventedMatchesResponseResultInner as MyPreventedMatchesResponseResultInner, type index$1_MyTradesRequest as MyTradesRequest, type index$1_MyTradesResponse as MyTradesResponse, type index$1_MyTradesResponseResultInner as MyTradesResponseResultInner, type index$1_OpenOrderListsStatusRequest as OpenOrderListsStatusRequest, type index$1_OpenOrderListsStatusResponse as OpenOrderListsStatusResponse, type index$1_OpenOrderListsStatusResponseRateLimitsInner as OpenOrderListsStatusResponseRateLimitsInner, type index$1_OpenOrderListsStatusResponseResultInner as OpenOrderListsStatusResponseResultInner, type index$1_OpenOrderListsStatusResponseResultInnerOrdersInner as OpenOrderListsStatusResponseResultInnerOrdersInner, type index$1_OpenOrdersCancelAllRequest as OpenOrdersCancelAllRequest, type index$1_OpenOrdersCancelAllResponse as OpenOrdersCancelAllResponse, type index$1_OpenOrdersCancelAllResponseResultInner as OpenOrdersCancelAllResponseResultInner, type index$1_OpenOrdersCancelAllResponseResultInnerOrderReportsInner as OpenOrdersCancelAllResponseResultInnerOrderReportsInner, type index$1_OpenOrdersCancelAllResponseResultInnerOrdersInner as OpenOrdersCancelAllResponseResultInnerOrdersInner, type index$1_OpenOrdersStatusRequest as OpenOrdersStatusRequest, type index$1_OpenOrdersStatusResponse as OpenOrdersStatusResponse, type index$1_OpenOrdersStatusResponseResultInner as OpenOrdersStatusResponseResultInner, type index$1_OrderAmendKeepPriorityRequest as OrderAmendKeepPriorityRequest, type index$1_OrderAmendKeepPriorityResponse as OrderAmendKeepPriorityResponse, type index$1_OrderAmendKeepPriorityResponseResult as OrderAmendKeepPriorityResponseResult, type index$1_OrderAmendKeepPriorityResponseResultAmendedOrder as OrderAmendKeepPriorityResponseResultAmendedOrder, type index$1_OrderAmendKeepPriorityResponseResultListStatus as OrderAmendKeepPriorityResponseResultListStatus, type index$1_OrderAmendKeepPriorityResponseResultListStatusOrdersInner as OrderAmendKeepPriorityResponseResultListStatusOrdersInner, type index$1_OrderAmendmentsRequest as OrderAmendmentsRequest, type index$1_OrderAmendmentsResponse as OrderAmendmentsResponse, type index$1_OrderAmendmentsResponseResultInner as OrderAmendmentsResponseResultInner, index$1_OrderCancelCancelRestrictionsEnum as OrderCancelCancelRestrictionsEnum, index$1_OrderCancelReplaceCancelReplaceModeEnum as OrderCancelReplaceCancelReplaceModeEnum, index$1_OrderCancelReplaceCancelRestrictionsEnum as OrderCancelReplaceCancelRestrictionsEnum, index$1_OrderCancelReplaceNewOrderRespTypeEnum as OrderCancelReplaceNewOrderRespTypeEnum, index$1_OrderCancelReplaceOrderRateLimitExceededModeEnum as OrderCancelReplaceOrderRateLimitExceededModeEnum, type index$1_OrderCancelReplaceRequest as OrderCancelReplaceRequest, type index$1_OrderCancelReplaceResponse as OrderCancelReplaceResponse, type index$1_OrderCancelReplaceResponseResult as OrderCancelReplaceResponseResult, type index$1_OrderCancelReplaceResponseResultCancelResponse as OrderCancelReplaceResponseResultCancelResponse, type index$1_OrderCancelReplaceResponseResultNewOrderResponse as OrderCancelReplaceResponseResultNewOrderResponse, index$1_OrderCancelReplaceSelfTradePreventionModeEnum as OrderCancelReplaceSelfTradePreventionModeEnum, index$1_OrderCancelReplaceSideEnum as OrderCancelReplaceSideEnum, index$1_OrderCancelReplaceTimeInForceEnum as OrderCancelReplaceTimeInForceEnum, index$1_OrderCancelReplaceTypeEnum as OrderCancelReplaceTypeEnum, type index$1_OrderCancelRequest as OrderCancelRequest, type index$1_OrderCancelResponse as OrderCancelResponse, type index$1_OrderCancelResponseResult as OrderCancelResponseResult, type index$1_OrderListCancelRequest as OrderListCancelRequest, type index$1_OrderListCancelResponse as OrderListCancelResponse, type index$1_OrderListCancelResponseResult as OrderListCancelResponseResult, type index$1_OrderListCancelResponseResultOrderReportsInner as OrderListCancelResponseResultOrderReportsInner, type index$1_OrderListCancelResponseResultOrdersInner as OrderListCancelResponseResultOrdersInner, index$1_OrderListPlaceNewOrderRespTypeEnum as OrderListPlaceNewOrderRespTypeEnum, index$1_OrderListPlaceOcoAboveTypeEnum as OrderListPlaceOcoAboveTypeEnum, index$1_OrderListPlaceOcoBelowTimeInForceEnum as OrderListPlaceOcoBelowTimeInForceEnum, index$1_OrderListPlaceOcoBelowTypeEnum as OrderListPlaceOcoBelowTypeEnum, index$1_OrderListPlaceOcoNewOrderRespTypeEnum as OrderListPlaceOcoNewOrderRespTypeEnum, type index$1_OrderListPlaceOcoRequest as OrderListPlaceOcoRequest, type index$1_OrderListPlaceOcoResponse as OrderListPlaceOcoResponse, type index$1_OrderListPlaceOcoResponseResult as OrderListPlaceOcoResponseResult, type index$1_OrderListPlaceOcoResponseResultOrderReportsInner as OrderListPlaceOcoResponseResultOrderReportsInner, type index$1_OrderListPlaceOcoResponseResultOrdersInner as OrderListPlaceOcoResponseResultOrdersInner, index$1_OrderListPlaceOcoSelfTradePreventionModeEnum as OrderListPlaceOcoSelfTradePreventionModeEnum, index$1_OrderListPlaceOcoSideEnum as OrderListPlaceOcoSideEnum, index$1_OrderListPlaceOtoNewOrderRespTypeEnum as OrderListPlaceOtoNewOrderRespTypeEnum, index$1_OrderListPlaceOtoPendingSideEnum as OrderListPlaceOtoPendingSideEnum, index$1_OrderListPlaceOtoPendingTimeInForceEnum as OrderListPlaceOtoPendingTimeInForceEnum, index$1_OrderListPlaceOtoPendingTypeEnum as OrderListPlaceOtoPendingTypeEnum, type index$1_OrderListPlaceOtoRequest as OrderListPlaceOtoRequest, type index$1_OrderListPlaceOtoResponse as OrderListPlaceOtoResponse, type index$1_OrderListPlaceOtoResponseRateLimitsInner as OrderListPlaceOtoResponseRateLimitsInner, type index$1_OrderListPlaceOtoResponseResult as OrderListPlaceOtoResponseResult, type index$1_OrderListPlaceOtoResponseResultOrderReportsInner as OrderListPlaceOtoResponseResultOrderReportsInner, type index$1_OrderListPlaceOtoResponseResultOrdersInner as OrderListPlaceOtoResponseResultOrdersInner, index$1_OrderListPlaceOtoSelfTradePreventionModeEnum as OrderListPlaceOtoSelfTradePreventionModeEnum, index$1_OrderListPlaceOtoWorkingSideEnum as OrderListPlaceOtoWorkingSideEnum, index$1_OrderListPlaceOtoWorkingTimeInForceEnum as OrderListPlaceOtoWorkingTimeInForceEnum, index$1_OrderListPlaceOtoWorkingTypeEnum as OrderListPlaceOtoWorkingTypeEnum, index$1_OrderListPlaceOtocoNewOrderRespTypeEnum as OrderListPlaceOtocoNewOrderRespTypeEnum, index$1_OrderListPlaceOtocoPendingAboveTimeInForceEnum as OrderListPlaceOtocoPendingAboveTimeInForceEnum, index$1_OrderListPlaceOtocoPendingAboveTypeEnum as OrderListPlaceOtocoPendingAboveTypeEnum, index$1_OrderListPlaceOtocoPendingBelowTimeInForceEnum as OrderListPlaceOtocoPendingBelowTimeInForceEnum, index$1_OrderListPlaceOtocoPendingBelowTypeEnum as OrderListPlaceOtocoPendingBelowTypeEnum, index$1_OrderListPlaceOtocoPendingSideEnum as OrderListPlaceOtocoPendingSideEnum, type index$1_OrderListPlaceOtocoRequest as OrderListPlaceOtocoRequest, type index$1_OrderListPlaceOtocoResponse as OrderListPlaceOtocoResponse, type index$1_OrderListPlaceOtocoResponseRateLimitsInner as OrderListPlaceOtocoResponseRateLimitsInner, type index$1_OrderListPlaceOtocoResponseResult as OrderListPlaceOtocoResponseResult, type index$1_OrderListPlaceOtocoResponseResultOrderReportsInner as OrderListPlaceOtocoResponseResultOrderReportsInner, type index$1_OrderListPlaceOtocoResponseResultOrdersInner as OrderListPlaceOtocoResponseResultOrdersInner, index$1_OrderListPlaceOtocoSelfTradePreventionModeEnum as OrderListPlaceOtocoSelfTradePreventionModeEnum, index$1_OrderListPlaceOtocoWorkingSideEnum as OrderListPlaceOtocoWorkingSideEnum, index$1_OrderListPlaceOtocoWorkingTimeInForceEnum as OrderListPlaceOtocoWorkingTimeInForceEnum, index$1_OrderListPlaceOtocoWorkingTypeEnum as OrderListPlaceOtocoWorkingTypeEnum, type index$1_OrderListPlaceRequest as OrderListPlaceRequest, type index$1_OrderListPlaceResponse as OrderListPlaceResponse, type index$1_OrderListPlaceResponseResult as OrderListPlaceResponseResult, type index$1_OrderListPlaceResponseResultOrderReportsInner as OrderListPlaceResponseResultOrderReportsInner, index$1_OrderListPlaceSelfTradePreventionModeEnum as OrderListPlaceSelfTradePreventionModeEnum, index$1_OrderListPlaceSideEnum as OrderListPlaceSideEnum, index$1_OrderListPlaceStopLimitTimeInForceEnum as OrderListPlaceStopLimitTimeInForceEnum, type index$1_OrderListStatusRequest as OrderListStatusRequest, type index$1_OrderListStatusResponse as OrderListStatusResponse, index$1_OrderPlaceNewOrderRespTypeEnum as OrderPlaceNewOrderRespTypeEnum, type index$1_OrderPlaceRequest as OrderPlaceRequest, type index$1_OrderPlaceResponse as OrderPlaceResponse, type index$1_OrderPlaceResponseResult as OrderPlaceResponseResult, type index$1_OrderPlaceResponseResultFillsInner as OrderPlaceResponseResultFillsInner, index$1_OrderPlaceSelfTradePreventionModeEnum as OrderPlaceSelfTradePreventionModeEnum, index$1_OrderPlaceSideEnum as OrderPlaceSideEnum, index$1_OrderPlaceTimeInForceEnum as OrderPlaceTimeInForceEnum, index$1_OrderPlaceTypeEnum as OrderPlaceTypeEnum, type index$1_OrderStatusRequest as OrderStatusRequest, type index$1_OrderStatusResponse as OrderStatusResponse, type index$1_OrderStatusResponseResult as OrderStatusResponseResult, type index$1_OrderTestRequest as OrderTestRequest, type index$1_OrderTestResponse as OrderTestResponse, type index$1_OrderTestResponseResult as OrderTestResponseResult, type index$1_OrderTestResponseResultDiscount as OrderTestResponseResultDiscount, type index$1_OrderTestResponseResultStandardCommissionForOrder as OrderTestResponseResultStandardCommissionForOrder, type index$1_PingRequest as PingRequest, type index$1_PingResponse as PingResponse, type index$1_PingResponseRateLimitsInner as PingResponseRateLimitsInner, type index$1_SessionLogonRequest as SessionLogonRequest, type index$1_SessionLogonResponse as SessionLogonResponse, type index$1_SessionLogonResponseResult as SessionLogonResponseResult, type index$1_SessionLogoutRequest as SessionLogoutRequest, type index$1_SessionLogoutResponse as SessionLogoutResponse, type index$1_SessionLogoutResponseResult as SessionLogoutResponseResult, type index$1_SessionStatusRequest as SessionStatusRequest, type index$1_SessionStatusResponse as SessionStatusResponse, type index$1_SessionStatusResponseResult as SessionStatusResponseResult, index$1_SorOrderPlaceNewOrderRespTypeEnum as SorOrderPlaceNewOrderRespTypeEnum, type index$1_SorOrderPlaceRequest as SorOrderPlaceRequest, type index$1_SorOrderPlaceResponse as SorOrderPlaceResponse, type index$1_SorOrderPlaceResponseResultInner as SorOrderPlaceResponseResultInner, type index$1_SorOrderPlaceResponseResultInnerFillsInner as SorOrderPlaceResponseResultInnerFillsInner, index$1_SorOrderPlaceSelfTradePreventionModeEnum as SorOrderPlaceSelfTradePreventionModeEnum, index$1_SorOrderPlaceSideEnum as SorOrderPlaceSideEnum, index$1_SorOrderPlaceTimeInForceEnum as SorOrderPlaceTimeInForceEnum, index$1_SorOrderPlaceTypeEnum as SorOrderPlaceTypeEnum, type index$1_SorOrderTestRequest as SorOrderTestRequest, type index$1_SorOrderTestResponse as SorOrderTestResponse, type index$1_Ticker24hrRequest as Ticker24hrRequest, type index$1_Ticker24hrResponse as Ticker24hrResponse, type index$1_Ticker24hrResponse1 as Ticker24hrResponse1, type index$1_Ticker24hrResponse1Result as Ticker24hrResponse1Result, type index$1_Ticker24hrResponse2 as Ticker24hrResponse2, type index$1_Ticker24hrResponse2ResultInner as Ticker24hrResponse2ResultInner, index$1_Ticker24hrTypeEnum as Ticker24hrTypeEnum, type index$1_TickerBookRequest as TickerBookRequest, type index$1_TickerBookResponse as TickerBookResponse, type index$1_TickerBookResponse1 as TickerBookResponse1, type index$1_TickerBookResponse1Result as TickerBookResponse1Result, type index$1_TickerBookResponse2 as TickerBookResponse2, type index$1_TickerBookResponse2ResultInner as TickerBookResponse2ResultInner, type index$1_TickerPriceRequest as TickerPriceRequest, type index$1_TickerPriceResponse as TickerPriceResponse, type index$1_TickerPriceResponse1 as TickerPriceResponse1, type index$1_TickerPriceResponse1Result as TickerPriceResponse1Result, type index$1_TickerPriceResponse2 as TickerPriceResponse2, type index$1_TickerPriceResponse2ResultInner as TickerPriceResponse2ResultInner, type TickerRequest$1 as TickerRequest, type TickerResponse$1 as TickerResponse, type index$1_TickerResponse1 as TickerResponse1, type index$1_TickerResponse1RateLimitsInner as TickerResponse1RateLimitsInner, type index$1_TickerResponse1Result as TickerResponse1Result, type index$1_TickerResponse2 as TickerResponse2, type index$1_TickerResponse2RateLimitsInner as TickerResponse2RateLimitsInner, type index$1_TickerResponse2ResultInner as TickerResponse2ResultInner, type index$1_TickerTradingDayRequest as TickerTradingDayRequest, type index$1_TickerTradingDayResponse as TickerTradingDayResponse, type index$1_TickerTradingDayResponseResultInner as TickerTradingDayResponseResultInner, index$1_TickerTradingDayTypeEnum as TickerTradingDayTypeEnum, index$1_TickerTypeEnum as TickerTypeEnum, index$1_TickerWindowSizeEnum as TickerWindowSizeEnum, type index$1_TimeRequest as TimeRequest, type index$1_TimeResponse as TimeResponse, type index$1_TimeResponseResult as TimeResponseResult, index$1_TradeApi as TradeApi, type index$1_TradeApiInterface as TradeApiInterface, type index$1_TradesAggregateRequest as TradesAggregateRequest, type index$1_TradesAggregateResponse as TradesAggregateResponse, type index$1_TradesAggregateResponseResultInner as TradesAggregateResponseResultInner, type index$1_TradesHistoricalRequest as TradesHistoricalRequest, type index$1_TradesHistoricalResponse as TradesHistoricalResponse, type index$1_TradesHistoricalResponseRateLimitsInner as TradesHistoricalResponseRateLimitsInner, type index$1_TradesHistoricalResponseResultInner as TradesHistoricalResponseResultInner, type index$1_TradesRecentRequest as TradesRecentRequest, type index$1_TradesRecentResponse as TradesRecentResponse, type index$1_TradesRecentResponseResultInner as TradesRecentResponseResultInner, index$1_UiKlinesIntervalEnum as UiKlinesIntervalEnum, type index$1_UiKlinesItem as UiKlinesItem, type index$1_UiKlinesRequest as UiKlinesRequest, type index$1_UiKlinesResponse as UiKlinesResponse, index$1_UserDataStreamApi as UserDataStreamApi, type index$1_UserDataStreamApiInterface as UserDataStreamApiInterface, type index$1_UserDataStreamPingRequest as UserDataStreamPingRequest, type index$1_UserDataStreamPingResponse as UserDataStreamPingResponse, type index$1_UserDataStreamStartRequest as UserDataStreamStartRequest, type index$1_UserDataStreamStartResponse as UserDataStreamStartResponse, type index$1_UserDataStreamStartResponseResult as UserDataStreamStartResponseResult, type index$1_UserDataStreamStopRequest as UserDataStreamStopRequest, type index$1_UserDataStreamStopResponse as UserDataStreamStopResponse, type index$1_UserDataStreamSubscribeRequest as UserDataStreamSubscribeRequest, type index$1_UserDataStreamSubscribeResponse as UserDataStreamSubscribeResponse, type index$1_UserDataStreamUnsubscribeRequest as UserDataStreamUnsubscribeRequest, type index$1_UserDataStreamUnsubscribeResponse as UserDataStreamUnsubscribeResponse, index$1_WebsocketAPI as WebsocketAPI, index$1_WebsocketAPIConnection as WebsocketAPIConnection };
}

/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AggTradeResponse
 */
interface AggTradeResponse {
    /**
     *
     * @type {string}
     * @memberof AggTradeResponse
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof AggTradeResponse
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof AggTradeResponse
     */
    s?: string;
    /**
     *
     * @type {number}
     * @memberof AggTradeResponse
     */
    a?: number;
    /**
     *
     * @type {string}
     * @memberof AggTradeResponse
     */
    p?: string;
    /**
     *
     * @type {string}
     * @memberof AggTradeResponse
     */
    q?: string;
    /**
     *
     * @type {number}
     * @memberof AggTradeResponse
     */
    f?: number;
    /**
     *
     * @type {number}
     * @memberof AggTradeResponse
     */
    l?: number;
    /**
     *
     * @type {number}
     * @memberof AggTradeResponse
     */
    T?: number;
    /**
     *
     * @type {boolean}
     * @memberof AggTradeResponse
     */
    m?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof AggTradeResponse
     */
    M?: boolean;
}

/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AllMarketRollingWindowTickerResponseInner
 */
interface AllMarketRollingWindowTickerResponseInner {
    /**
     *
     * @type {string}
     * @memberof AllMarketRollingWindowTickerResponseInner
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof AllMarketRollingWindowTickerResponseInner
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof AllMarketRollingWindowTickerResponseInner
     */
    s?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketRollingWindowTickerResponseInner
     */
    p?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketRollingWindowTickerResponseInner
     */
    P?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketRollingWindowTickerResponseInner
     */
    o?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketRollingWindowTickerResponseInner
     */
    h?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketRollingWindowTickerResponseInner
     */
    l?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketRollingWindowTickerResponseInner
     */
    c?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketRollingWindowTickerResponseInner
     */
    w?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketRollingWindowTickerResponseInner
     */
    v?: string;
    /**
     *
     * @type {string}
     * @memberof AllMarketRollingWindowTickerResponseInner
     */
    q?: string;
    /**
     *
     * @type {number}
     * @memberof AllMarketRollingWindowTickerResponseInner
     */
    O?: number;
    /**
     *
     * @type {number}
     * @memberof AllMarketRollingWindowTickerResponseInner
     */
    C?: number;
    /**
     *
     * @type {number}
     * @memberof AllMarketRollingWindowTickerResponseInner
     */
    F?: number;
    /**
     *
     * @type {number}
     * @memberof AllMarketRollingWindowTickerResponseInner
     */
    L?: number;
    /**
     *
     * @type {number}
     * @memberof AllMarketRollingWindowTickerResponseInner
     */
    n?: number;
}

/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface AllMarketRollingWindowTickerResponse
 */
interface AllMarketRollingWindowTickerResponse extends Array<AllMarketRollingWindowTickerResponseInner> {
}

/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AllMiniTickerResponseInner
 */
interface AllMiniTickerResponseInner {
    /**
     *
     * @type {string}
     * @memberof AllMiniTickerResponseInner
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof AllMiniTickerResponseInner
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof AllMiniTickerResponseInner
     */
    s?: string;
    /**
     *
     * @type {string}
     * @memberof AllMiniTickerResponseInner
     */
    c?: string;
    /**
     *
     * @type {string}
     * @memberof AllMiniTickerResponseInner
     */
    o?: string;
    /**
     *
     * @type {string}
     * @memberof AllMiniTickerResponseInner
     */
    h?: string;
    /**
     *
     * @type {string}
     * @memberof AllMiniTickerResponseInner
     */
    l?: string;
    /**
     *
     * @type {string}
     * @memberof AllMiniTickerResponseInner
     */
    v?: string;
    /**
     *
     * @type {string}
     * @memberof AllMiniTickerResponseInner
     */
    q?: string;
}

/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface AllMiniTickerResponse
 */
interface AllMiniTickerResponse extends Array<AllMiniTickerResponseInner> {
}

/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AllTickerResponseInner
 */
interface AllTickerResponseInner {
    /**
     *
     * @type {string}
     * @memberof AllTickerResponseInner
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof AllTickerResponseInner
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof AllTickerResponseInner
     */
    s?: string;
    /**
     *
     * @type {string}
     * @memberof AllTickerResponseInner
     */
    p?: string;
    /**
     *
     * @type {string}
     * @memberof AllTickerResponseInner
     */
    P?: string;
    /**
     *
     * @type {string}
     * @memberof AllTickerResponseInner
     */
    w?: string;
    /**
     *
     * @type {string}
     * @memberof AllTickerResponseInner
     */
    x?: string;
    /**
     *
     * @type {string}
     * @memberof AllTickerResponseInner
     */
    c?: string;
    /**
     *
     * @type {string}
     * @memberof AllTickerResponseInner
     */
    Q?: string;
    /**
     *
     * @type {string}
     * @memberof AllTickerResponseInner
     */
    b?: string;
    /**
     *
     * @type {string}
     * @memberof AllTickerResponseInner
     */
    B?: string;
    /**
     *
     * @type {string}
     * @memberof AllTickerResponseInner
     */
    a?: string;
    /**
     *
     * @type {string}
     * @memberof AllTickerResponseInner
     */
    A?: string;
    /**
     *
     * @type {string}
     * @memberof AllTickerResponseInner
     */
    o?: string;
    /**
     *
     * @type {string}
     * @memberof AllTickerResponseInner
     */
    h?: string;
    /**
     *
     * @type {string}
     * @memberof AllTickerResponseInner
     */
    l?: string;
    /**
     *
     * @type {string}
     * @memberof AllTickerResponseInner
     */
    v?: string;
    /**
     *
     * @type {string}
     * @memberof AllTickerResponseInner
     */
    q?: string;
    /**
     *
     * @type {number}
     * @memberof AllTickerResponseInner
     */
    O?: number;
    /**
     *
     * @type {number}
     * @memberof AllTickerResponseInner
     */
    C?: number;
    /**
     *
     * @type {number}
     * @memberof AllTickerResponseInner
     */
    F?: number;
    /**
     *
     * @type {number}
     * @memberof AllTickerResponseInner
     */
    L?: number;
    /**
     *
     * @type {number}
     * @memberof AllTickerResponseInner
     */
    n?: number;
}

/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface AllTickerResponse
 */
interface AllTickerResponse extends Array<AllTickerResponseInner> {
}

/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface AvgPriceResponse
 */
interface AvgPriceResponse {
    /**
     *
     * @type {string}
     * @memberof AvgPriceResponse
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof AvgPriceResponse
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof AvgPriceResponse
     */
    s?: string;
    /**
     *
     * @type {string}
     * @memberof AvgPriceResponse
     */
    i?: string;
    /**
     *
     * @type {string}
     * @memberof AvgPriceResponse
     */
    w?: string;
    /**
     *
     * @type {number}
     * @memberof AvgPriceResponse
     */
    T?: number;
}

/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface BookTickerResponse
 */
interface BookTickerResponse {
    /**
     *
     * @type {number}
     * @memberof BookTickerResponse
     */
    u?: number;
    /**
     *
     * @type {string}
     * @memberof BookTickerResponse
     */
    s?: string;
    /**
     *
     * @type {string}
     * @memberof BookTickerResponse
     */
    b?: string;
    /**
     *
     * @type {string}
     * @memberof BookTickerResponse
     */
    B?: string;
    /**
     *
     * @type {string}
     * @memberof BookTickerResponse
     */
    a?: string;
    /**
     *
     * @type {string}
     * @memberof BookTickerResponse
     */
    A?: string;
}

/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface DiffBookDepthResponse
 */
interface DiffBookDepthResponse {
    /**
     *
     * @type {string}
     * @memberof DiffBookDepthResponse
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof DiffBookDepthResponse
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof DiffBookDepthResponse
     */
    s?: string;
    /**
     *
     * @type {number}
     * @memberof DiffBookDepthResponse
     */
    U?: number;
    /**
     *
     * @type {number}
     * @memberof DiffBookDepthResponse
     */
    u?: number;
    /**
     *
     * @type {Array<Array<string>>}
     * @memberof DiffBookDepthResponse
     */
    b?: Array<Array<string>>;
    /**
     *
     * @type {Array<Array<string>>}
     * @memberof DiffBookDepthResponse
     */
    a?: Array<Array<string>>;
}

/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface KlineResponseK
 */
interface KlineResponseK {
    /**
     *
     * @type {number}
     * @memberof KlineResponseK
     */
    t?: number;
    /**
     *
     * @type {number}
     * @memberof KlineResponseK
     */
    T?: number;
    /**
     *
     * @type {string}
     * @memberof KlineResponseK
     */
    s?: string;
    /**
     *
     * @type {string}
     * @memberof KlineResponseK
     */
    i?: string;
    /**
     *
     * @type {number}
     * @memberof KlineResponseK
     */
    f?: number;
    /**
     *
     * @type {number}
     * @memberof KlineResponseK
     */
    L?: number;
    /**
     *
     * @type {string}
     * @memberof KlineResponseK
     */
    o?: string;
    /**
     *
     * @type {string}
     * @memberof KlineResponseK
     */
    c?: string;
    /**
     *
     * @type {string}
     * @memberof KlineResponseK
     */
    h?: string;
    /**
     *
     * @type {string}
     * @memberof KlineResponseK
     */
    l?: string;
    /**
     *
     * @type {string}
     * @memberof KlineResponseK
     */
    v?: string;
    /**
     *
     * @type {number}
     * @memberof KlineResponseK
     */
    n?: number;
    /**
     *
     * @type {boolean}
     * @memberof KlineResponseK
     */
    x?: boolean;
    /**
     *
     * @type {string}
     * @memberof KlineResponseK
     */
    q?: string;
    /**
     *
     * @type {string}
     * @memberof KlineResponseK
     */
    V?: string;
    /**
     *
     * @type {string}
     * @memberof KlineResponseK
     */
    Q?: string;
    /**
     *
     * @type {string}
     * @memberof KlineResponseK
     */
    B?: string;
}

/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface KlineOffsetResponse
 */
interface KlineOffsetResponse {
    /**
     *
     * @type {string}
     * @memberof KlineOffsetResponse
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof KlineOffsetResponse
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof KlineOffsetResponse
     */
    s?: string;
    /**
     *
     * @type {KlineResponseK}
     * @memberof KlineOffsetResponse
     */
    k?: KlineResponseK;
}

/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 *
 * @export
 * @interface KlineResponse
 */
interface KlineResponse {
    /**
     *
     * @type {string}
     * @memberof KlineResponse
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof KlineResponse
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof KlineResponse
     */
    s?: string;
    /**
     *
     * @type {KlineResponseK}
     * @memberof KlineResponse
     */
    k?: KlineResponseK;
}

/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface MiniTickerResponse
 */
interface MiniTickerResponse {
    /**
     *
     * @type {string}
     * @memberof MiniTickerResponse
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof MiniTickerResponse
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof MiniTickerResponse
     */
    s?: string;
    /**
     *
     * @type {string}
     * @memberof MiniTickerResponse
     */
    c?: string;
    /**
     *
     * @type {string}
     * @memberof MiniTickerResponse
     */
    o?: string;
    /**
     *
     * @type {string}
     * @memberof MiniTickerResponse
     */
    h?: string;
    /**
     *
     * @type {string}
     * @memberof MiniTickerResponse
     */
    l?: string;
    /**
     *
     * @type {string}
     * @memberof MiniTickerResponse
     */
    v?: string;
    /**
     *
     * @type {string}
     * @memberof MiniTickerResponse
     */
    q?: string;
}

/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface PartialBookDepthResponse
 */
interface PartialBookDepthResponse {
    /**
     *
     * @type {number}
     * @memberof PartialBookDepthResponse
     */
    lastUpdateId?: number;
    /**
     *
     * @type {Array<Array<string>>}
     * @memberof PartialBookDepthResponse
     */
    bids?: Array<Array<string>>;
    /**
     *
     * @type {Array<Array<string>>}
     * @memberof PartialBookDepthResponse
     */
    asks?: Array<Array<string>>;
}

/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface RollingWindowTickerResponse
 */
interface RollingWindowTickerResponse {
    /**
     *
     * @type {string}
     * @memberof RollingWindowTickerResponse
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof RollingWindowTickerResponse
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof RollingWindowTickerResponse
     */
    s?: string;
    /**
     *
     * @type {string}
     * @memberof RollingWindowTickerResponse
     */
    p?: string;
    /**
     *
     * @type {string}
     * @memberof RollingWindowTickerResponse
     */
    P?: string;
    /**
     *
     * @type {string}
     * @memberof RollingWindowTickerResponse
     */
    o?: string;
    /**
     *
     * @type {string}
     * @memberof RollingWindowTickerResponse
     */
    h?: string;
    /**
     *
     * @type {string}
     * @memberof RollingWindowTickerResponse
     */
    l?: string;
    /**
     *
     * @type {string}
     * @memberof RollingWindowTickerResponse
     */
    c?: string;
    /**
     *
     * @type {string}
     * @memberof RollingWindowTickerResponse
     */
    w?: string;
    /**
     *
     * @type {string}
     * @memberof RollingWindowTickerResponse
     */
    v?: string;
    /**
     *
     * @type {string}
     * @memberof RollingWindowTickerResponse
     */
    q?: string;
    /**
     *
     * @type {number}
     * @memberof RollingWindowTickerResponse
     */
    O?: number;
    /**
     *
     * @type {number}
     * @memberof RollingWindowTickerResponse
     */
    C?: number;
    /**
     *
     * @type {number}
     * @memberof RollingWindowTickerResponse
     */
    F?: number;
    /**
     *
     * @type {number}
     * @memberof RollingWindowTickerResponse
     */
    L?: number;
    /**
     *
     * @type {number}
     * @memberof RollingWindowTickerResponse
     */
    n?: number;
}

/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TickerResponse
 */
interface TickerResponse {
    /**
     *
     * @type {string}
     * @memberof TickerResponse
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof TickerResponse
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof TickerResponse
     */
    s?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse
     */
    p?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse
     */
    P?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse
     */
    w?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse
     */
    x?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse
     */
    c?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse
     */
    Q?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse
     */
    b?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse
     */
    B?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse
     */
    a?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse
     */
    A?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse
     */
    o?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse
     */
    h?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse
     */
    l?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse
     */
    v?: string;
    /**
     *
     * @type {string}
     * @memberof TickerResponse
     */
    q?: string;
    /**
     *
     * @type {number}
     * @memberof TickerResponse
     */
    O?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse
     */
    C?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse
     */
    F?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse
     */
    L?: number;
    /**
     *
     * @type {number}
     * @memberof TickerResponse
     */
    n?: number;
}

/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface TradeResponse
 */
interface TradeResponse {
    /**
     *
     * @type {string}
     * @memberof TradeResponse
     */
    e?: string;
    /**
     *
     * @type {number}
     * @memberof TradeResponse
     */
    E?: number;
    /**
     *
     * @type {string}
     * @memberof TradeResponse
     */
    s?: string;
    /**
     *
     * @type {number}
     * @memberof TradeResponse
     */
    t?: number;
    /**
     *
     * @type {string}
     * @memberof TradeResponse
     */
    p?: string;
    /**
     *
     * @type {string}
     * @memberof TradeResponse
     */
    q?: string;
    /**
     *
     * @type {number}
     * @memberof TradeResponse
     */
    T?: number;
    /**
     *
     * @type {boolean}
     * @memberof TradeResponse
     */
    m?: boolean;
    /**
     *
     * @type {boolean}
     * @memberof TradeResponse
     */
    M?: boolean;
}

/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/**
 * WebSocketStreamsApi - interface
 * @interface WebSocketStreamsApi
 */
interface WebSocketStreamsApiInterface {
    /**
     * The Aggregate Trade Streams push trade information that is aggregated for a single taker order.
     *
     * @summary WebSocket Aggregate Trade Streams
     * @param {AggTradeRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<AggTradeResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApiInterface
     */
    aggTrade(requestParameters: AggTradeRequest): WebsocketStream<AggTradeResponse>;
    /**
     * Rolling window ticker statistics for all market symbols, computed over multiple windows.
     * Note that only tickers that have changed will be present in the array.
     *
     * @summary WebSocket All Market Rolling Window Statistics Streams
     * @param {AllMarketRollingWindowTickerRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<AllMarketRollingWindowTickerResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApiInterface
     */
    allMarketRollingWindowTicker(requestParameters: AllMarketRollingWindowTickerRequest): WebsocketStream<AllMarketRollingWindowTickerResponse>;
    /**
     * 24hr rolling window mini-ticker statistics for all symbols that changed in an array. These are NOT the statistics of the UTC day, but a 24hr rolling window for the previous 24hrs. Note that only tickers that have changed will be present in the array.
     *
     * @summary WebSocket All Market Mini Tickers Stream
     * @param {AllMiniTickerRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<AllMiniTickerResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApiInterface
     */
    allMiniTicker(requestParameters?: AllMiniTickerRequest): WebsocketStream<AllMiniTickerResponse>;
    /**
     * 24hr rolling window ticker statistics for all symbols that changed in an array. These are NOT the statistics of the UTC day, but a 24hr rolling window for the previous 24hrs. Note that only tickers that have changed will be present in the array.
     *
     * @summary WebSocket All Market Tickers Stream
     * @param {AllTickerRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<AllTickerResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApiInterface
     */
    allTicker(requestParameters?: AllTickerRequest): WebsocketStream<AllTickerResponse>;
    /**
     * Average price streams push changes in the average price over a fixed time interval.
     *
     * @summary WebSocket Average Price
     * @param {AvgPriceRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<AvgPriceResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApiInterface
     */
    avgPrice(requestParameters: AvgPriceRequest): WebsocketStream<AvgPriceResponse>;
    /**
     * Pushes any update to the best bid or ask's price or quantity in real-time for a specified symbol.
     * Multiple `<symbol>@bookTicker` streams can be subscribed to over one connection.
     *
     * @summary WebSocket Individual Symbol Book Ticker Streams
     * @param {BookTickerRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<BookTickerResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApiInterface
     */
    bookTicker(requestParameters: BookTickerRequest): WebsocketStream<BookTickerResponse>;
    /**
     * Order book price and quantity depth updates used to locally manage an order book.
     *
     * @summary WebSocket Diff. Depth Stream
     * @param {DiffBookDepthRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<DiffBookDepthResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApiInterface
     */
    diffBookDepth(requestParameters: DiffBookDepthRequest): WebsocketStream<DiffBookDepthResponse>;
    /**
     * The Kline/Candlestick Stream push updates to the current klines/candlestick every second in `UTC+0` timezone
     *
     * <a id="kline-intervals"></a>
     *
     * @summary WebSocket Kline/Candlestick Streams for UTC
     * @param {KlineRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<KlineResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApiInterface
     */
    kline(requestParameters: KlineRequest): WebsocketStream<KlineResponse>;
    /**
     * The Kline/Candlestick Stream push updates to the current klines/candlestick every second in `UTC+8` timezone
     *
     * @summary WebSocket Kline/Candlestick Streams with timezone offset
     * @param {KlineOffsetRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<KlineOffsetResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApiInterface
     */
    klineOffset(requestParameters: KlineOffsetRequest): WebsocketStream<KlineOffsetResponse>;
    /**
     * 24hr rolling window mini-ticker statistics. These are NOT the statistics of the UTC day, but a 24hr rolling window for the previous 24hrs.
     *
     * @summary WebSocket Individual Symbol Mini Ticker Stream
     * @param {MiniTickerRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<MiniTickerResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApiInterface
     */
    miniTicker(requestParameters: MiniTickerRequest): WebsocketStream<MiniTickerResponse>;
    /**
     * Top **\<levels\>** bids and asks, pushed every second. Valid **\<levels\>** are 5, 10, or 20.
     *
     * @summary WebSocket Partial Book Depth Streams
     * @param {PartialBookDepthRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<PartialBookDepthResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApiInterface
     */
    partialBookDepth(requestParameters: PartialBookDepthRequest): WebsocketStream<PartialBookDepthResponse>;
    /**
     * Rolling window ticker statistics for a single symbol, computed over multiple windows.
     *
     * @summary WebSocket Individual Symbol Rolling Window Statistics Streams
     * @param {RollingWindowTickerRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<RollingWindowTickerResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApiInterface
     */
    rollingWindowTicker(requestParameters: RollingWindowTickerRequest): WebsocketStream<RollingWindowTickerResponse>;
    /**
     * 24hr rolling window ticker statistics for a single symbol. These are NOT the statistics of the UTC day, but a 24hr rolling window for the previous 24hrs.
     *
     * @summary WebSocket Individual Symbol Ticker Streams
     * @param {TickerRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<TickerResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApiInterface
     */
    ticker(requestParameters: TickerRequest): WebsocketStream<TickerResponse>;
    /**
     * The Trade Streams push raw trade information; each trade has a unique buyer and seller.
     *
     * @summary WebSocket Trade Streams
     * @param {TradeRequest} requestParameters Request parameters.
     *
     * @returns {WebsocketStream<TradeResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApiInterface
     */
    trade(requestParameters: TradeRequest): WebsocketStream<TradeResponse>;
}
/**
 * Request parameters for aggTrade operation in WebSocketStreamsApi.
 * @interface AggTradeRequest
 */
interface AggTradeRequest {
    /**
     * Symbol to query
     * @type {string}
     * @memberof WebSocketStreamsApiAggTrade
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebSocketStreamsApiAggTrade
     */
    readonly id?: string;
}
/**
 * Request parameters for allMarketRollingWindowTicker operation in WebSocketStreamsApi.
 * @interface AllMarketRollingWindowTickerRequest
 */
interface AllMarketRollingWindowTickerRequest {
    /**
     *
     * @type {'1h' | '4h' | '1d'}
     * @memberof WebSocketStreamsApiAllMarketRollingWindowTicker
     */
    readonly windowSize: AllMarketRollingWindowTickerWindowSizeEnum;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebSocketStreamsApiAllMarketRollingWindowTicker
     */
    readonly id?: string;
}
/**
 * Request parameters for allMiniTicker operation in WebSocketStreamsApi.
 * @interface AllMiniTickerRequest
 */
interface AllMiniTickerRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebSocketStreamsApiAllMiniTicker
     */
    readonly id?: string;
}
/**
 * Request parameters for allTicker operation in WebSocketStreamsApi.
 * @interface AllTickerRequest
 */
interface AllTickerRequest {
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebSocketStreamsApiAllTicker
     */
    readonly id?: string;
}
/**
 * Request parameters for avgPrice operation in WebSocketStreamsApi.
 * @interface AvgPriceRequest
 */
interface AvgPriceRequest {
    /**
     * Symbol to query
     * @type {string}
     * @memberof WebSocketStreamsApiAvgPrice
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebSocketStreamsApiAvgPrice
     */
    readonly id?: string;
}
/**
 * Request parameters for bookTicker operation in WebSocketStreamsApi.
 * @interface BookTickerRequest
 */
interface BookTickerRequest {
    /**
     * Symbol to query
     * @type {string}
     * @memberof WebSocketStreamsApiBookTicker
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebSocketStreamsApiBookTicker
     */
    readonly id?: string;
}
/**
 * Request parameters for diffBookDepth operation in WebSocketStreamsApi.
 * @interface DiffBookDepthRequest
 */
interface DiffBookDepthRequest {
    /**
     * Symbol to query
     * @type {string}
     * @memberof WebSocketStreamsApiDiffBookDepth
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebSocketStreamsApiDiffBookDepth
     */
    readonly id?: string;
    /**
     * 1000ms or 100ms
     * @type {string}
     * @memberof WebSocketStreamsApiDiffBookDepth
     */
    readonly updateSpeed?: string;
}
/**
 * Request parameters for kline operation in WebSocketStreamsApi.
 * @interface KlineRequest
 */
interface KlineRequest {
    /**
     * Symbol to query
     * @type {string}
     * @memberof WebSocketStreamsApiKline
     */
    readonly symbol: string;
    /**
     *
     * @type {'1s' | '1m' | '3m' | '5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '8h' | '12h' | '1d' | '3d' | '1w' | '1M'}
     * @memberof WebSocketStreamsApiKline
     */
    readonly interval: KlineIntervalEnum;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebSocketStreamsApiKline
     */
    readonly id?: string;
}
/**
 * Request parameters for klineOffset operation in WebSocketStreamsApi.
 * @interface KlineOffsetRequest
 */
interface KlineOffsetRequest {
    /**
     * Symbol to query
     * @type {string}
     * @memberof WebSocketStreamsApiKlineOffset
     */
    readonly symbol: string;
    /**
     *
     * @type {'1s' | '1m' | '3m' | '5m' | '15m' | '30m' | '1h' | '2h' | '4h' | '6h' | '8h' | '12h' | '1d' | '3d' | '1w' | '1M'}
     * @memberof WebSocketStreamsApiKlineOffset
     */
    readonly interval: KlineOffsetIntervalEnum;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebSocketStreamsApiKlineOffset
     */
    readonly id?: string;
}
/**
 * Request parameters for miniTicker operation in WebSocketStreamsApi.
 * @interface MiniTickerRequest
 */
interface MiniTickerRequest {
    /**
     * Symbol to query
     * @type {string}
     * @memberof WebSocketStreamsApiMiniTicker
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebSocketStreamsApiMiniTicker
     */
    readonly id?: string;
}
/**
 * Request parameters for partialBookDepth operation in WebSocketStreamsApi.
 * @interface PartialBookDepthRequest
 */
interface PartialBookDepthRequest {
    /**
     * Symbol to query
     * @type {string}
     * @memberof WebSocketStreamsApiPartialBookDepth
     */
    readonly symbol: string;
    /**
     *
     * @type {'5' | '10' | '20'}
     * @memberof WebSocketStreamsApiPartialBookDepth
     */
    readonly levels: PartialBookDepthLevelsEnum;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebSocketStreamsApiPartialBookDepth
     */
    readonly id?: string;
    /**
     * 1000ms or 100ms
     * @type {string}
     * @memberof WebSocketStreamsApiPartialBookDepth
     */
    readonly updateSpeed?: string;
}
/**
 * Request parameters for rollingWindowTicker operation in WebSocketStreamsApi.
 * @interface RollingWindowTickerRequest
 */
interface RollingWindowTickerRequest {
    /**
     * Symbol to query
     * @type {string}
     * @memberof WebSocketStreamsApiRollingWindowTicker
     */
    readonly symbol: string;
    /**
     *
     * @type {'1h' | '4h' | '1d'}
     * @memberof WebSocketStreamsApiRollingWindowTicker
     */
    readonly windowSize: RollingWindowTickerWindowSizeEnum;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebSocketStreamsApiRollingWindowTicker
     */
    readonly id?: string;
}
/**
 * Request parameters for ticker operation in WebSocketStreamsApi.
 * @interface TickerRequest
 */
interface TickerRequest {
    /**
     * Symbol to query
     * @type {string}
     * @memberof WebSocketStreamsApiTicker
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebSocketStreamsApiTicker
     */
    readonly id?: string;
}
/**
 * Request parameters for trade operation in WebSocketStreamsApi.
 * @interface TradeRequest
 */
interface TradeRequest {
    /**
     * Symbol to query
     * @type {string}
     * @memberof WebSocketStreamsApiTrade
     */
    readonly symbol: string;
    /**
     * Unique WebSocket request ID.
     * @type {string}
     * @memberof WebSocketStreamsApiTrade
     */
    readonly id?: string;
}
/**
 * WebSocketStreamsApi - interface
 * @class WebSocketStreamsApi
 * @extends {WebsocketStreamsBase}
 */
declare class WebSocketStreamsApi implements WebSocketStreamsApiInterface {
    private readonly websocketBase;
    private localVarParamCreator;
    constructor(websocketBase: WebsocketStreamsBase);
    /**
     * The Aggregate Trade Streams push trade information that is aggregated for a single taker order.
     *
     * @summary WebSocket Aggregate Trade Streams
     * @param {AggTradeRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<AggTradeResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#aggregate-trade-streams Binance API Documentation}
     */
    aggTrade(requestParameters: AggTradeRequest): WebsocketStream<AggTradeResponse>;
    /**
     * Rolling window ticker statistics for all market symbols, computed over multiple windows.
     * Note that only tickers that have changed will be present in the array.
     *
     * @summary WebSocket All Market Rolling Window Statistics Streams
     * @param {AllMarketRollingWindowTickerRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<AllMarketRollingWindowTickerResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#all-market-rolling-window-statistics-streams Binance API Documentation}
     */
    allMarketRollingWindowTicker(requestParameters: AllMarketRollingWindowTickerRequest): WebsocketStream<AllMarketRollingWindowTickerResponse>;
    /**
     * 24hr rolling window mini-ticker statistics for all symbols that changed in an array. These are NOT the statistics of the UTC day, but a 24hr rolling window for the previous 24hrs. Note that only tickers that have changed will be present in the array.
     *
     * @summary WebSocket All Market Mini Tickers Stream
     * @param {AllMiniTickerRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<AllMiniTickerResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#all-market-mini-tickers-stream Binance API Documentation}
     */
    allMiniTicker(requestParameters?: AllMiniTickerRequest): WebsocketStream<AllMiniTickerResponse>;
    /**
     * 24hr rolling window ticker statistics for all symbols that changed in an array. These are NOT the statistics of the UTC day, but a 24hr rolling window for the previous 24hrs. Note that only tickers that have changed will be present in the array.
     *
     * @summary WebSocket All Market Tickers Stream
     * @param {AllTickerRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<AllTickerResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#all-market-tickers-stream Binance API Documentation}
     */
    allTicker(requestParameters?: AllTickerRequest): WebsocketStream<AllTickerResponse>;
    /**
     * Average price streams push changes in the average price over a fixed time interval.
     *
     * @summary WebSocket Average Price
     * @param {AvgPriceRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<AvgPriceResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#average-price Binance API Documentation}
     */
    avgPrice(requestParameters: AvgPriceRequest): WebsocketStream<AvgPriceResponse>;
    /**
     * Pushes any update to the best bid or ask's price or quantity in real-time for a specified symbol.
     * Multiple `<symbol>@bookTicker` streams can be subscribed to over one connection.
     *
     * @summary WebSocket Individual Symbol Book Ticker Streams
     * @param {BookTickerRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<BookTickerResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-book-ticker-streams Binance API Documentation}
     */
    bookTicker(requestParameters: BookTickerRequest): WebsocketStream<BookTickerResponse>;
    /**
     * Order book price and quantity depth updates used to locally manage an order book.
     *
     * @summary WebSocket Diff. Depth Stream
     * @param {DiffBookDepthRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<DiffBookDepthResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#diff-depth-stream Binance API Documentation}
     */
    diffBookDepth(requestParameters: DiffBookDepthRequest): WebsocketStream<DiffBookDepthResponse>;
    /**
     * The Kline/Candlestick Stream push updates to the current klines/candlestick every second in `UTC+0` timezone
     *
     * <a id="kline-intervals"></a>
     *
     * @summary WebSocket Kline/Candlestick Streams for UTC
     * @param {KlineRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<KlineResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#klinecandlestick-streams-for-utc Binance API Documentation}
     */
    kline(requestParameters: KlineRequest): WebsocketStream<KlineResponse>;
    /**
     * The Kline/Candlestick Stream push updates to the current klines/candlestick every second in `UTC+8` timezone
     *
     * @summary WebSocket Kline/Candlestick Streams with timezone offset
     * @param {KlineOffsetRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<KlineOffsetResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#klinecandlestick-streams-with-timezone-offset Binance API Documentation}
     */
    klineOffset(requestParameters: KlineOffsetRequest): WebsocketStream<KlineOffsetResponse>;
    /**
     * 24hr rolling window mini-ticker statistics. These are NOT the statistics of the UTC day, but a 24hr rolling window for the previous 24hrs.
     *
     * @summary WebSocket Individual Symbol Mini Ticker Stream
     * @param {MiniTickerRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<MiniTickerResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-mini-ticker-stream Binance API Documentation}
     */
    miniTicker(requestParameters: MiniTickerRequest): WebsocketStream<MiniTickerResponse>;
    /**
     * Top **\<levels\>** bids and asks, pushed every second. Valid **\<levels\>** are 5, 10, or 20.
     *
     * @summary WebSocket Partial Book Depth Streams
     * @param {PartialBookDepthRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<PartialBookDepthResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#partial-book-depth-streams Binance API Documentation}
     */
    partialBookDepth(requestParameters: PartialBookDepthRequest): WebsocketStream<PartialBookDepthResponse>;
    /**
     * Rolling window ticker statistics for a single symbol, computed over multiple windows.
     *
     * @summary WebSocket Individual Symbol Rolling Window Statistics Streams
     * @param {RollingWindowTickerRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<RollingWindowTickerResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-rolling-window-statistics-streams Binance API Documentation}
     */
    rollingWindowTicker(requestParameters: RollingWindowTickerRequest): WebsocketStream<RollingWindowTickerResponse>;
    /**
     * 24hr rolling window ticker statistics for a single symbol. These are NOT the statistics of the UTC day, but a 24hr rolling window for the previous 24hrs.
     *
     * @summary WebSocket Individual Symbol Ticker Streams
     * @param {TickerRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<TickerResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-ticker-streams Binance API Documentation}
     */
    ticker(requestParameters: TickerRequest): WebsocketStream<TickerResponse>;
    /**
     * The Trade Streams push raw trade information; each trade has a unique buyer and seller.
     *
     * @summary WebSocket Trade Streams
     * @param {TradeRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<TradeResponse>}
     * @throws {RequiredError}
     * @memberof WebSocketStreamsApi
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#trade-streams Binance API Documentation}
     */
    trade(requestParameters: TradeRequest): WebsocketStream<TradeResponse>;
}
declare enum AllMarketRollingWindowTickerWindowSizeEnum {
    WINDOW_SIZE_1h = "1h",
    WINDOW_SIZE_4h = "4h",
    WINDOW_SIZE_1d = "1d"
}
declare enum KlineIntervalEnum {
    INTERVAL_1s = "1s",
    INTERVAL_1m = "1m",
    INTERVAL_3m = "3m",
    INTERVAL_5m = "5m",
    INTERVAL_15m = "15m",
    INTERVAL_30m = "30m",
    INTERVAL_1h = "1h",
    INTERVAL_2h = "2h",
    INTERVAL_4h = "4h",
    INTERVAL_6h = "6h",
    INTERVAL_8h = "8h",
    INTERVAL_12h = "12h",
    INTERVAL_1d = "1d",
    INTERVAL_3d = "3d",
    INTERVAL_1w = "1w",
    INTERVAL_1M = "1M"
}
declare enum KlineOffsetIntervalEnum {
    INTERVAL_1s = "1s",
    INTERVAL_1m = "1m",
    INTERVAL_3m = "3m",
    INTERVAL_5m = "5m",
    INTERVAL_15m = "15m",
    INTERVAL_30m = "30m",
    INTERVAL_1h = "1h",
    INTERVAL_2h = "2h",
    INTERVAL_4h = "4h",
    INTERVAL_6h = "6h",
    INTERVAL_8h = "8h",
    INTERVAL_12h = "12h",
    INTERVAL_1d = "1d",
    INTERVAL_3d = "3d",
    INTERVAL_1w = "1w",
    INTERVAL_1M = "1M"
}
declare enum PartialBookDepthLevelsEnum {
    LEVELS_5 = "5",
    LEVELS_10 = "10",
    LEVELS_20 = "20"
}
declare enum RollingWindowTickerWindowSizeEnum {
    WINDOW_SIZE_1h = "1h",
    WINDOW_SIZE_4h = "4h",
    WINDOW_SIZE_1d = "1d"
}

/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

declare class WebsocketStreamsConnection {
    private websocketBase;
    private webSocketStreamsApi;
    constructor(websocketBase: WebsocketStreamsBase);
    /**
     * Adds an event listener for the specified WebSocket event.
     * @param event - The WebSocket event to listen for, such as 'open', 'message', 'error', 'close', 'ping', or 'pong'.
     * @param listener - The callback function to be executed when the event is triggered. The function can accept any number of arguments.
     */
    on(event: 'open' | 'message' | 'error' | 'close' | 'ping' | 'pong', listener: (...args: any[]) => void): void;
    /**
     * Removes an event listener for the specified WebSocket event.
     * @param event - The WebSocket event to stop listening for, such as 'open', 'message', 'error', 'close', 'ping', or 'pong'.
     * @param listener - The callback function that was previously added as the event listener.
     */
    off(event: 'open' | 'message' | 'error' | 'close' | 'ping' | 'pong', listener: (...args: any[]) => void): void;
    /**
     * Disconnects from the WebSocket server.
     * If there is no active connection, a warning is logged.
     * Otherwise, all connections in the connection pool are closed gracefully,
     * and a message is logged indicating that the connection has been disconnected.
     * @returns A Promise that resolves when all connections have been closed.
     * @throws Error if the WebSocket client is not set.
     */
    disconnect(): Promise<void>;
    /**
     * Checks if the WebSocket connection is currently open.
     * @returns `true` if the connection is open, `false` otherwise.
     */
    isConnected(): boolean;
    /**
     * Sends a ping message to all connected Websocket servers in the pool.
     * If no connections are ready, a warning is logged.
     * For each active connection, the ping message is sent, and debug logs provide details.
     * @throws Error if a Websocket client is not set for a connection.
     */
    pingServer(): void;
    /**
     * Subscribes to one or multiple WebSocket streams
     * Handles both single and pool modes
     * @param stream Single stream name or array of stream names to subscribe to
     * @param id Optional subscription ID
     * @returns void
     */
    subscribe(stream: string | string[], id?: string): void;
    /**
     * Unsubscribes from one or multiple WebSocket streams
     * Handles both single and pool modes
     * @param stream Single stream name or array of stream names to unsubscribe from
     * @param id Optional unsubscription ID
     * @returns void
     */
    unsubscribe(stream: string | string[], id?: string): void;
    /**
     * Checks if the WebSocket connection is subscribed to the specified stream.
     * @param stream The name of the WebSocket stream to check.
     * @returns `true` if the connection is subscribed to the stream, `false` otherwise.
     */
    isSubscribed(stream: string): boolean;
    /**
     * Subscribes to the user data WebSocket stream using the provided listen key.
     * @param listenKey - The listen key for the user data WebSocket stream.
     * @param id - Optional user data stream ID
     * @returns A WebSocket stream handler for the user data stream.
     */
    userData(listenKey: string, id?: string): WebsocketStream<object>;
    /**
     * The Aggregate Trade Streams push trade information that is aggregated for a single taker order.
     *
     * @summary WebSocket Aggregate Trade Streams
     * @param {AggTradeRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<AggTradeResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#aggregate-trade-streams Binance API Documentation}
     */
    aggTrade(requestParameters: AggTradeRequest): WebsocketStream<AggTradeResponse>;
    /**
     * Rolling window ticker statistics for all market symbols, computed over multiple windows.
     * Note that only tickers that have changed will be present in the array.
     *
     * @summary WebSocket All Market Rolling Window Statistics Streams
     * @param {AllMarketRollingWindowTickerRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<AllMarketRollingWindowTickerResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#all-market-rolling-window-statistics-streams Binance API Documentation}
     */
    allMarketRollingWindowTicker(requestParameters: AllMarketRollingWindowTickerRequest): WebsocketStream<AllMarketRollingWindowTickerResponse>;
    /**
     * 24hr rolling window mini-ticker statistics for all symbols that changed in an array. These are NOT the statistics of the UTC day, but a 24hr rolling window for the previous 24hrs. Note that only tickers that have changed will be present in the array.
     *
     * @summary WebSocket All Market Mini Tickers Stream
     * @param {AllMiniTickerRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<AllMiniTickerResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#all-market-mini-tickers-stream Binance API Documentation}
     */
    allMiniTicker(requestParameters?: AllMiniTickerRequest): WebsocketStream<AllMiniTickerResponse>;
    /**
     * 24hr rolling window ticker statistics for all symbols that changed in an array. These are NOT the statistics of the UTC day, but a 24hr rolling window for the previous 24hrs. Note that only tickers that have changed will be present in the array.
     *
     * @summary WebSocket All Market Tickers Stream
     * @param {AllTickerRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<AllTickerResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#all-market-tickers-stream Binance API Documentation}
     */
    allTicker(requestParameters?: AllTickerRequest): WebsocketStream<AllTickerResponse>;
    /**
     * Average price streams push changes in the average price over a fixed time interval.
     *
     * @summary WebSocket Average Price
     * @param {AvgPriceRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<AvgPriceResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#average-price Binance API Documentation}
     */
    avgPrice(requestParameters: AvgPriceRequest): WebsocketStream<AvgPriceResponse>;
    /**
     * Pushes any update to the best bid or ask's price or quantity in real-time for a specified symbol.
     * Multiple `<symbol>@bookTicker` streams can be subscribed to over one connection.
     *
     * @summary WebSocket Individual Symbol Book Ticker Streams
     * @param {BookTickerRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<BookTickerResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-book-ticker-streams Binance API Documentation}
     */
    bookTicker(requestParameters: BookTickerRequest): WebsocketStream<BookTickerResponse>;
    /**
     * Order book price and quantity depth updates used to locally manage an order book.
     *
     * @summary WebSocket Diff. Depth Stream
     * @param {DiffBookDepthRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<DiffBookDepthResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#diff-depth-stream Binance API Documentation}
     */
    diffBookDepth(requestParameters: DiffBookDepthRequest): WebsocketStream<DiffBookDepthResponse>;
    /**
     * The Kline/Candlestick Stream push updates to the current klines/candlestick every second in `UTC+0` timezone
     *
     * <a id="kline-intervals"></a>
     *
     * @summary WebSocket Kline/Candlestick Streams for UTC
     * @param {KlineRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<KlineResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#klinecandlestick-streams-for-utc Binance API Documentation}
     */
    kline(requestParameters: KlineRequest): WebsocketStream<KlineResponse>;
    /**
     * The Kline/Candlestick Stream push updates to the current klines/candlestick every second in `UTC+8` timezone
     *
     * @summary WebSocket Kline/Candlestick Streams with timezone offset
     * @param {KlineOffsetRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<KlineOffsetResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#klinecandlestick-streams-with-timezone-offset Binance API Documentation}
     */
    klineOffset(requestParameters: KlineOffsetRequest): WebsocketStream<KlineOffsetResponse>;
    /**
     * 24hr rolling window mini-ticker statistics. These are NOT the statistics of the UTC day, but a 24hr rolling window for the previous 24hrs.
     *
     * @summary WebSocket Individual Symbol Mini Ticker Stream
     * @param {MiniTickerRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<MiniTickerResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-mini-ticker-stream Binance API Documentation}
     */
    miniTicker(requestParameters: MiniTickerRequest): WebsocketStream<MiniTickerResponse>;
    /**
     * Top **\<levels\>** bids and asks, pushed every second. Valid **\<levels\>** are 5, 10, or 20.
     *
     * @summary WebSocket Partial Book Depth Streams
     * @param {PartialBookDepthRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<PartialBookDepthResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#partial-book-depth-streams Binance API Documentation}
     */
    partialBookDepth(requestParameters: PartialBookDepthRequest): WebsocketStream<PartialBookDepthResponse>;
    /**
     * Rolling window ticker statistics for a single symbol, computed over multiple windows.
     *
     * @summary WebSocket Individual Symbol Rolling Window Statistics Streams
     * @param {RollingWindowTickerRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<RollingWindowTickerResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-rolling-window-statistics-streams Binance API Documentation}
     */
    rollingWindowTicker(requestParameters: RollingWindowTickerRequest): WebsocketStream<RollingWindowTickerResponse>;
    /**
     * 24hr rolling window ticker statistics for a single symbol. These are NOT the statistics of the UTC day, but a 24hr rolling window for the previous 24hrs.
     *
     * @summary WebSocket Individual Symbol Ticker Streams
     * @param {TickerRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<TickerResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-ticker-streams Binance API Documentation}
     */
    ticker(requestParameters: TickerRequest): WebsocketStream<TickerResponse>;
    /**
     * The Trade Streams push raw trade information; each trade has a unique buyer and seller.
     *
     * @summary WebSocket Trade Streams
     * @param {TradeRequest} requestParameters Request parameters.
     * @returns {WebsocketStream<TradeResponse>}
     * @throws {RequiredError}
     * @see {@link https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#trade-streams Binance API Documentation}
     */
    trade(requestParameters: TradeRequest): WebsocketStream<TradeResponse>;
}

/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

declare class WebsocketStreams {
    private configuration;
    constructor(configuration: ConfigurationWebsocketStreams);
    /**
     * Connects to the Binance WebSocket streams and returns a `WebsocketStreamsConnection` instance.
     *
     * @param {object} [options] - Optional connection options.
     * @param {string|string[]} [options.stream] - The stream(s) to connect to.
     * @param {'single'|'pool'} [options.mode] - The connection mode, either 'single' or 'pool'. Overwrite the `mode` option in the configuration.
     * @param {number} [options.poolSize] - The number of connections to use in pool mode. Overwrite the `poolSize` option in the configuration.
     * @returns {Promise<WebsocketStreamsConnection>} - A promise that resolves to a `WebsocketStreamsConnection` instance.
     */
    connect({ stream, mode, poolSize, }?: {
        stream?: string | string[];
        mode?: 'single' | 'pool';
        poolSize?: number;
    }): Promise<WebsocketStreamsConnection>;
}

/**
 * Binance Spot WebSocket Streams
 *
 * OpenAPI Specifications for the Binance Spot WebSocket Streams
 *
 * API documents:
 * - [Github web-socket-streams documentation file](https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md)
 * - [General API information for web-socket-streams on website](https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams)
 *
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

type index_AggTradeRequest = AggTradeRequest;
type index_AggTradeResponse = AggTradeResponse;
type index_AllMarketRollingWindowTickerRequest = AllMarketRollingWindowTickerRequest;
type index_AllMarketRollingWindowTickerResponse = AllMarketRollingWindowTickerResponse;
type index_AllMarketRollingWindowTickerResponseInner = AllMarketRollingWindowTickerResponseInner;
type index_AllMarketRollingWindowTickerWindowSizeEnum = AllMarketRollingWindowTickerWindowSizeEnum;
declare const index_AllMarketRollingWindowTickerWindowSizeEnum: typeof AllMarketRollingWindowTickerWindowSizeEnum;
type index_AllMiniTickerRequest = AllMiniTickerRequest;
type index_AllMiniTickerResponse = AllMiniTickerResponse;
type index_AllMiniTickerResponseInner = AllMiniTickerResponseInner;
type index_AllTickerRequest = AllTickerRequest;
type index_AllTickerResponse = AllTickerResponse;
type index_AllTickerResponseInner = AllTickerResponseInner;
type index_AvgPriceRequest = AvgPriceRequest;
type index_AvgPriceResponse = AvgPriceResponse;
type index_BookTickerRequest = BookTickerRequest;
type index_BookTickerResponse = BookTickerResponse;
type index_DiffBookDepthRequest = DiffBookDepthRequest;
type index_DiffBookDepthResponse = DiffBookDepthResponse;
type index_KlineIntervalEnum = KlineIntervalEnum;
declare const index_KlineIntervalEnum: typeof KlineIntervalEnum;
type index_KlineOffsetIntervalEnum = KlineOffsetIntervalEnum;
declare const index_KlineOffsetIntervalEnum: typeof KlineOffsetIntervalEnum;
type index_KlineOffsetRequest = KlineOffsetRequest;
type index_KlineOffsetResponse = KlineOffsetResponse;
type index_KlineRequest = KlineRequest;
type index_KlineResponse = KlineResponse;
type index_KlineResponseK = KlineResponseK;
type index_MiniTickerRequest = MiniTickerRequest;
type index_MiniTickerResponse = MiniTickerResponse;
type index_PartialBookDepthLevelsEnum = PartialBookDepthLevelsEnum;
declare const index_PartialBookDepthLevelsEnum: typeof PartialBookDepthLevelsEnum;
type index_PartialBookDepthRequest = PartialBookDepthRequest;
type index_PartialBookDepthResponse = PartialBookDepthResponse;
type index_RollingWindowTickerRequest = RollingWindowTickerRequest;
type index_RollingWindowTickerResponse = RollingWindowTickerResponse;
type index_RollingWindowTickerWindowSizeEnum = RollingWindowTickerWindowSizeEnum;
declare const index_RollingWindowTickerWindowSizeEnum: typeof RollingWindowTickerWindowSizeEnum;
type index_TickerRequest = TickerRequest;
type index_TickerResponse = TickerResponse;
type index_TradeRequest = TradeRequest;
type index_TradeResponse = TradeResponse;
type index_WebSocketStreamsApi = WebSocketStreamsApi;
declare const index_WebSocketStreamsApi: typeof WebSocketStreamsApi;
type index_WebSocketStreamsApiInterface = WebSocketStreamsApiInterface;
type index_WebsocketStreams = WebsocketStreams;
declare const index_WebsocketStreams: typeof WebsocketStreams;
type index_WebsocketStreamsConnection = WebsocketStreamsConnection;
declare const index_WebsocketStreamsConnection: typeof WebsocketStreamsConnection;
declare namespace index {
  export { type index_AggTradeRequest as AggTradeRequest, type index_AggTradeResponse as AggTradeResponse, type index_AllMarketRollingWindowTickerRequest as AllMarketRollingWindowTickerRequest, type index_AllMarketRollingWindowTickerResponse as AllMarketRollingWindowTickerResponse, type index_AllMarketRollingWindowTickerResponseInner as AllMarketRollingWindowTickerResponseInner, index_AllMarketRollingWindowTickerWindowSizeEnum as AllMarketRollingWindowTickerWindowSizeEnum, type index_AllMiniTickerRequest as AllMiniTickerRequest, type index_AllMiniTickerResponse as AllMiniTickerResponse, type index_AllMiniTickerResponseInner as AllMiniTickerResponseInner, type index_AllTickerRequest as AllTickerRequest, type index_AllTickerResponse as AllTickerResponse, type index_AllTickerResponseInner as AllTickerResponseInner, type index_AvgPriceRequest as AvgPriceRequest, type index_AvgPriceResponse as AvgPriceResponse, type index_BookTickerRequest as BookTickerRequest, type index_BookTickerResponse as BookTickerResponse, type index_DiffBookDepthRequest as DiffBookDepthRequest, type index_DiffBookDepthResponse as DiffBookDepthResponse, index_KlineIntervalEnum as KlineIntervalEnum, index_KlineOffsetIntervalEnum as KlineOffsetIntervalEnum, type index_KlineOffsetRequest as KlineOffsetRequest, type index_KlineOffsetResponse as KlineOffsetResponse, type index_KlineRequest as KlineRequest, type index_KlineResponse as KlineResponse, type index_KlineResponseK as KlineResponseK, type index_MiniTickerRequest as MiniTickerRequest, type index_MiniTickerResponse as MiniTickerResponse, index_PartialBookDepthLevelsEnum as PartialBookDepthLevelsEnum, type index_PartialBookDepthRequest as PartialBookDepthRequest, type index_PartialBookDepthResponse as PartialBookDepthResponse, type index_RollingWindowTickerRequest as RollingWindowTickerRequest, type index_RollingWindowTickerResponse as RollingWindowTickerResponse, index_RollingWindowTickerWindowSizeEnum as RollingWindowTickerWindowSizeEnum, type index_TickerRequest as TickerRequest, type index_TickerResponse as TickerResponse, type index_TradeRequest as TradeRequest, type index_TradeResponse as TradeResponse, index_WebSocketStreamsApi as WebSocketStreamsApi, type index_WebSocketStreamsApiInterface as WebSocketStreamsApiInterface, index_WebsocketStreams as WebsocketStreams, index_WebsocketStreamsConnection as WebsocketStreamsConnection };
}

interface ConfigurationSpot {
    configurationRestAPI?: ConfigurationRestAPI;
    configurationWebsocketAPI?: ConfigurationWebsocketAPI;
    configurationWebsocketStreams?: ConfigurationWebsocketStreams;
}
declare class Spot {
    restAPI: RestAPI;
    websocketAPI: WebsocketAPI;
    websocketStreams: WebsocketStreams;
    constructor(config: ConfigurationSpot);
}

export { type ConfigurationSpot, Spot, index$2 as SpotRestAPI, index$1 as SpotWebsocketAPI, index as SpotWebsocketStreams };
