* 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,
)
| 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 |
no test coverage detected