Loading ...

火币期货币币账户间资金划转范例

Author: 小小梦, Date: 2019-05-20 17:00:48
Tags:


function main() {
    // API 接口描述:
    // https://api.huobi.pro
    // POST /v1/futures/transfer
    // params    currency e.g. btc
    //           amount
    //           type futures-to-pro
    
    Log(exchange.GetAccount())
    var ret = exchange.IO("api", "POST", "/v1/futures/transfer", "currency=ltc&amount=0.1&type=pro-to-futures")   // 测试的是LTC , 币币转期货
    Log("ret", ret)
    
    /* ret
    ret {"status":"ok","data":25669845}
    */
}

More