MCPcopy Create free account
hub / github.com/ccxt/node-binance-api / transferBetweenMainAndFutures

Method transferBetweenMainAndFutures

src/node-binance-api.ts:3161–3175  ·  view source on GitHub ↗

* Transfer between main account and futures/delivery accounts * @param {string} asset - the asset * @param {number} amount - the asset * @param {object} options - additional options * @return {undefined}

(
        asset: string,
        amount: number,
        type: any,
    )

Source from the content-addressed store, hash-verified

3159 * @return {undefined}
3160 */
3161 async transferBetweenMainAndFutures(
3162 asset: string,
3163 amount: number,
3164 type: any,
3165 ) {
3166 const parameters = Object.assign({
3167 asset,
3168 amount,
3169 type,
3170 });
3171 return await this.privateSpotRequest("v1/futures/transfer",
3172 parameters,
3173 "POST"
3174 );
3175 }
3176
3177 /**
3178 * Converts the previous day stream into friendly object

Callers 4

transferMainToFuturesMethod · 0.95
transferFuturesToMainMethod · 0.95

Calls 1

privateSpotRequestMethod · 0.95

Tested by

no test coverage detected