Binance Connector JS
    Preparing search index...

    UserDataApi - object-oriented interface UserDataApi

    Implements

    Index
    • Query a single option order with its fills and an itemized fee breakdown.

      Provide at least one of orderId and clientOrderId; omitting both returns -1102. If both are provided, the order is looked up by orderId, and clientOrderId must belong to the same order, otherwise 486218 Order not found is returned.

      Only option orders are accepted: the orderId / clientOrderId of a stock order returns -2013 Order does not exist.; an unknown order ID returns 486218 Order not found.

      Example: a fully filled buy-to-open order — filledTotal = total = 1.48 × 1 × 100 = 148 (excluding fees); total fees fee = 0.65 (commission + cat + orf + occ). sec / taf are 0 for buy orders. For an order still in progress with no fills, fee and the itemized fees are not returned (platformFee is always "0"); for an order canceled or expired without any fill, each fee item is "0". canceledAt / expiredAt are returned only in the corresponding status; settlementDate is not returned for buy orders.

      Weight: 1

      Security Type: USER_DATA

      Parameters

      Returns Promise<RestApiResponse<OptionOrderDetailResponse>>

      UserDataApi