资源加载中... loading...

okex币币最小交易量

Author: leviyuan, Date: 2018-04-25 13:37:44
Tags: ToolOKEX


// 数据来源 https://github.com/okcoin-okex/API-docs-OKEx.com/blob/master/%E5%B8%81%E5%B8%81%E6%9C%80%E5%B0%8F%E4%BA%A4%E6%98%93%E9%87%8F(min_trade_size%20for%20spot).mda_btc
// 更新时间 2018-4-25 13:37
function main() {
    Log(exchange.GetCurrency(), $.GetMinTradeSize(0))
}

var min_trade_size = {}

min_trade_size.bch_btc = 0.001
min_trade_size.ltc_btc = 0.001
min_trade_size.eth_btc = 0.001
min_trade_size.etc_btc = 0.01
min_trade_size.eth_usdt = 0.001
min_trade_size.btc_usdt = 0.001
min_trade_size.bt2_btc = 0.01
min_trade_size.etc_eth = 0.01
min_trade_size.btg_btc = 0.01
min_trade_size.ltc_usdt = 0.001
min_trade_size.etc_usdt = 0.01
min_trade_size.bch_usdt = 0.001
min_trade_size.qtum_btc = 0.01
min_trade_size.qtum_usdt = 0.01
min_trade_size.qtum_eth = 0.01
min_trade_size.neo_btc = 0.01
min_trade_size.gas_btc = 0.01
min_trade_size.hsr_btc = 0.1
min_trade_size.neo_eth = 0.01
min_trade_size.gas_eth = 0.01
min_trade_size.hsr_eth = 0.1
min_trade_size.neo_usdt = 0.01
min_trade_size.gas_usdt = 0.01
min_trade_size.hsr_usdt = 0.1
min_trade_size.dash_btc = 0.001
min_trade_size.xrp_btc = 1
min_trade_size.zec_btc = 0.001
min_trade_size.dash_eth = 0.001
min_trade_size.xrp_eth = 1
min_trade_size.zec_eth = 0.001
min_trade_size.dash_usdt = 0.001
min_trade_size.xrp_usdt = 1
min_trade_size.zec_usdt = 0.001
min_trade_size.iota_btc = 1
min_trade_size.xuc_btc = 0.1
min_trade_size.iota_eth = 1
min_trade_size.xuc_eth = 0.1
min_trade_size.iota_usdt = 1
min_trade_size.xuc_usdt = 0.1
min_trade_size.eos_btc = 0.1
min_trade_size.omg_btc = 0.1
min_trade_size.eos_eth = 0.1
min_trade_size.omg_eth = 0.1
min_trade_size.eos_usdt = 0.1
min_trade_size.omg_usdt = 0.1
min_trade_size.act_btc = 1
min_trade_size.btm_btc = 1
min_trade_size.act_eth = 1
min_trade_size.btm_eth = 1
min_trade_size.act_usdt = 1
min_trade_size.btm_usdt = 1
min_trade_size.bcd_btc = 0.1
min_trade_size.bcd_usdt = 0.1
min_trade_size.storj_btc = 1
min_trade_size.snt_btc = 10
min_trade_size.storj_eth = 1
min_trade_size.snt_eth = 10
min_trade_size.storj_usdt = 1
min_trade_size.snt_usdt = 10
min_trade_size.pay_btc = 1
min_trade_size.dgd_btc = 0.001
min_trade_size.gnt_btc = 1
min_trade_size.pay_eth = 1
min_trade_size.dgd_eth = 0.001
min_trade_size.gnt_eth = 1
min_trade_size.pay_usdt = 1
min_trade_size.dgd_usdt = 0.001
min_trade_size.gnt_usdt = 1
min_trade_size.lrc_btc = 1
min_trade_size.nuls_btc = 0.1
min_trade_size.mco_btc = 0.1
min_trade_size.lrc_eth = 1
min_trade_size.nuls_eth = 0.1
min_trade_size.mco_eth = 0.1
min_trade_size.lrc_usdt = 1
min_trade_size.nuls_usdt = 0.1
min_trade_size.mco_usdt = 0.1
min_trade_size.btg_usdt = 0.01
min_trade_size.cmt_btc = 10
min_trade_size.itc_btc = 1
min_trade_size.cmt_eth = 10
min_trade_size.itc_eth = 1
min_trade_size.cmt_usdt = 10
min_trade_size.itc_usdt = 1
min_trade_size.sbtc_btc = 0.1
min_trade_size.pra_btc = 1
min_trade_size.san_btc = 1
min_trade_size.edo_btc = 0.1
min_trade_size.avt_btc = 1
min_trade_size.pra_eth = 1
min_trade_size.san_eth = 1
min_trade_size.edo_eth = 0.1
min_trade_size.avt_eth = 1
min_trade_size.pra_usdt = 1
min_trade_size.san_usdt = 1
min_trade_size.edo_usdt = 1
min_trade_size.avt_usdt = 1
min_trade_size.ltc_bch = 0.001
min_trade_size.ltc_eth = 0.001
min_trade_size.etc_bch = 0.01
min_trade_size.btg_bch = 0.01
min_trade_size.avt_bch = 1
min_trade_size.act_bch = 1
min_trade_size.cmt_bch = 10
min_trade_size.dgd_bch = 0.001
min_trade_size.dash_bch = 0.001
min_trade_size.eos_bch = 0.1
min_trade_size.edo_bch = 0.1
min_trade_size.ctr_btc = 1
min_trade_size.link_btc = 1
min_trade_size.salt_btc = 0.1
min_trade_size['1st_btc'] = 1
min_trade_size.wtc_btc = 0.1
min_trade_size.sngls_btc = 10
min_trade_size.snm_btc = 10
min_trade_size.zrx_btc = 1
min_trade_size.bnt_btc = 0.1
min_trade_size.cvc_btc = 1
min_trade_size.ctr_eth = 1
min_trade_size.link_eth = 1
min_trade_size.salt_eth = 0.1
min_trade_size['1st_eth'] = 1
min_trade_size.wtc_eth = 0.1
min_trade_size.sngls_eth = 10
min_trade_size.snm_eth = 10
min_trade_size.zrx_eth = 1
min_trade_size.bnt_eth = 0.1
min_trade_size.cvc_eth = 1
min_trade_size.ctr_usdt = 1
min_trade_size.link_usdt = 1
min_trade_size.salt_usdt = 0.1
min_trade_size['1st_usdt'] = 1
min_trade_size.wtc_usdt = 0.1
min_trade_size.sngls_usdt = 10
min_trade_size.snm_usdt = 10
min_trade_size.zrx_usdt = 1
min_trade_size.bnt_usdt = 0.1
min_trade_size.cvc_usdt = 1
min_trade_size.bcd_bch = 0.1
min_trade_size.sbtc_bch = 0.1
min_trade_size.bcx_btc = 10
min_trade_size.bcx_bch = 10
min_trade_size.mana_btc = 10
min_trade_size.rcn_btc = 10
min_trade_size.mana_eth = 10
min_trade_size.mana_usdt = 10
min_trade_size.vee_btc = 10
min_trade_size.vee_eth = 10
min_trade_size.vee_usdt = 10
min_trade_size.tnb_btc = 10
min_trade_size.tnb_eth = 10
min_trade_size.tnb_usdt = 10
min_trade_size.amm_btc = 1
min_trade_size.amm_eth = 1
min_trade_size.amm_usdt = 1
min_trade_size.knc_btc = 1
min_trade_size.knc_eth = 1
min_trade_size.knc_usdt = 1
min_trade_size.dat_eth = 10
min_trade_size.dat_btc = 10
min_trade_size.dat_usdt = 10
min_trade_size.gnx_btc = 1
min_trade_size.gnx_eth = 1
min_trade_size.gnx_usdt = 1
min_trade_size.icx_btc = 0.1
min_trade_size.icx_eth = 0.1
min_trade_size.icx_usdt = 0.1
min_trade_size.ark_btc = 0.1
min_trade_size.ark_eth = 0.1
min_trade_size.ark_usdt = 0.1
min_trade_size.yoyo_btc = 10
min_trade_size.yoyo_eth = 10
min_trade_size.yoyo_usdt = 10
min_trade_size.qvt_btc = 1
min_trade_size.qvt_eth = 1
min_trade_size.qvt_usdt = 1
min_trade_size.elf_eth = 1
min_trade_size.elf_btc = 1
min_trade_size.elf_usdt = 1
min_trade_size.ast_btc = 1
min_trade_size.ast_eth = 1
min_trade_size.ast_usdt = 1
min_trade_size.sub_btc = 1
min_trade_size.sub_eth = 1
min_trade_size.sub_usdt = 1
min_trade_size.dnt_btc = 10
min_trade_size.dnt_eth = 10
min_trade_size.dnt_usdt = 10
min_trade_size.fun_btc = 10
min_trade_size.fun_eth = 10
min_trade_size.fun_usdt = 10
min_trade_size.ace_btc = 10
min_trade_size.ace_eth = 10
min_trade_size.ace_usdt = 10
min_trade_size.trx_btc = 10
min_trade_size.trx_eth = 10
min_trade_size.trx_usdt = 10
min_trade_size.evx_btc = 1
min_trade_size.evx_eth = 0.1
min_trade_size.evx_usdt = 1
min_trade_size.mda_btc = 1
min_trade_size.mda_eth = 1
min_trade_size.mda_usdt = 1
min_trade_size.mth_btc = 10
min_trade_size.mth_eth = 10
min_trade_size.mth_usdt = 10
min_trade_size.mtl_btc = 0.1
min_trade_size.mtl_eth = 0.1
min_trade_size.mtl_usdt = 0.1
min_trade_size.xem_btc = 1
min_trade_size.xem_eth = 1
min_trade_size.xem_usdt = 1
min_trade_size.icn_btc = 1
min_trade_size.icn_eth = 1
min_trade_size.icn_usdt = 1
min_trade_size.eng_btc = 0.1
min_trade_size.req_btc = 1
min_trade_size.oax_btc = 1
min_trade_size.dgb_btc = 10
min_trade_size.ppt_btc = 0.01
min_trade_size.dgb_eth = 10
min_trade_size.dgb_usdt = 10
min_trade_size.ppt_eth = 0.01
min_trade_size.ppt_usdt = 0.01
min_trade_size.oax_eth = 1
min_trade_size.oax_usdt = 1
min_trade_size.req_eth = 1
min_trade_size.req_usdt = 1
min_trade_size.eng_eth = 0.1
min_trade_size.eng_usdt = 0.1
min_trade_size.rcn_eth = 10
min_trade_size.rcn_usdt = 10
min_trade_size.swftc_btc = 10
min_trade_size.swftc_eth = 10
min_trade_size.swftc_usdt = 10
min_trade_size.rdn_btc = 0.1
min_trade_size.rdn_eth = 0.1
min_trade_size.rdn_usdt = 0.1
min_trade_size.xmr_btc = 0.001
min_trade_size.xmr_eth = 0.001
min_trade_size.xmr_usdt = 0.001
min_trade_size.xlm_btc = 1
min_trade_size.xlm_eth = 1
min_trade_size.xlm_usdt = 1
min_trade_size.kcash_btc = 10
min_trade_size.kcash_eth = 10
min_trade_size.kcash_usdt = 10
min_trade_size.mdt_btc = 10
min_trade_size.mdt_eth = 10
min_trade_size.mdt_usdt = 10
min_trade_size.nas_btc = 0.1
min_trade_size.nas_eth = 0.1
min_trade_size.nas_usdt = 0.1
min_trade_size.rnt_btc = 10
min_trade_size.rnt_eth = 10
min_trade_size.rnt_usdt = 10
min_trade_size.wrc_btc = 10
min_trade_size.wrc_eth = 10
min_trade_size.wrc_usdt = 10
min_trade_size.ukg_btc = 1
min_trade_size.ukg_eth = 1
min_trade_size.ukg_usdt = 1
min_trade_size.ugc_btc = 10
min_trade_size.ugc_eth = 10
min_trade_size.ugc_usdt = 10
min_trade_size.dpy_btc = 1
min_trade_size.dpy_eth = 1
min_trade_size.dpy_usdt = 1
min_trade_size.read_btc = 10
min_trade_size.read_eth = 10
min_trade_size.read_usdt = 10
min_trade_size.ssc_btc = 10
min_trade_size.ssc_eth = 10
min_trade_size.ssc_usdt = 10
min_trade_size.aac_btc = 10
min_trade_size.smt_btc = 10
min_trade_size.fair_btc = 10
min_trade_size.aac_eth = 10
min_trade_size.smt_eth = 10
min_trade_size.aac_usdt = 10
min_trade_size.smt_usdt = 10
min_trade_size.fair_eth = 10
min_trade_size.fair_usdt = 10
min_trade_size.ubtc_btc = 0.1
min_trade_size.ubtc_eth = 0.1
min_trade_size.ubtc_usdt = 0.1
min_trade_size.cag_btc = 1
min_trade_size.cag_eth = 1
min_trade_size.cag_usdt = 1
min_trade_size.dna_btc = 1
min_trade_size.lend_btc = 10
min_trade_size.lend_eth = 10
min_trade_size.dna_eth = 1
min_trade_size.lend_usdt = 10
min_trade_size.dna_usdt = 1
min_trade_size.rct_btc = 10
min_trade_size.rct_eth = 10
min_trade_size.rct_usdt = 10
min_trade_size.bch_eth = 0.001
min_trade_size.show_btc = 10
min_trade_size.show_eth = 10
min_trade_size.show_usdt = 10
min_trade_size.vib_btc = 1
min_trade_size.vib_eth = 1
min_trade_size.vib_usdt = 1
min_trade_size.mot_btc = 1
min_trade_size.mot_eth = 1
min_trade_size.mot_usdt = 1
min_trade_size.utk_btc = 10
min_trade_size.utk_eth = 10
min_trade_size.utk_usdt = 1
min_trade_size.mag_btc = 10
min_trade_size.mag_eth = 10
min_trade_size.mag_usdt = 10
min_trade_size.topc_btc = 10
min_trade_size.topc_eth = 10
min_trade_size.brd_btc = 1
min_trade_size.topc_usdt = 10
min_trade_size.qun_btc = 10
min_trade_size.brd_eth = 1
min_trade_size.qun_eth = 10
min_trade_size.qun_usdt = 10
min_trade_size.brd_usdt = 1
min_trade_size.viu_btc = 10
min_trade_size.viu_eth = 10
min_trade_size.ost_btc = 1
min_trade_size.viu_usdt = 10
min_trade_size.ost_eth = 1
min_trade_size.ost_usdt = 1
min_trade_size.aidoc_btc = 10
min_trade_size.aidoc_eth = 10
min_trade_size.aidoc_usdt = 10
min_trade_size.int_btc = 10
min_trade_size.la_btc = 1
min_trade_size.la_eth = 1
min_trade_size.la_usdt = 1
min_trade_size.int_eth = 10
min_trade_size.int_usdt = 10
min_trade_size.ipc_btc = 1
min_trade_size.ipc_eth = 1
min_trade_size.ipc_usdt = 1
min_trade_size.ngc_btc = 1
min_trade_size.ngc_eth = 1
min_trade_size.ngc_usdt = 1
min_trade_size.tio_btc = 1
min_trade_size.tio_eth = 1
min_trade_size.tio_usdt = 1
min_trade_size.iost_btc = 10
min_trade_size.iost_eth = 10
min_trade_size.iost_usdt = 10
min_trade_size.poe_btc = 10
min_trade_size.poe_eth = 10
min_trade_size.poe_usdt = 10
min_trade_size.mof_btc = 1
min_trade_size.yee_btc = 10
min_trade_size.mof_eth = 1
min_trade_size.yee_eth = 10
min_trade_size.yee_usdt = 10
min_trade_size.mof_usdt = 1
min_trade_size.ins_btc = 1
min_trade_size.ins_eth = 1
min_trade_size.ins_usdt = 0.1
min_trade_size.tct_btc = 10
min_trade_size.tct_eth = 10
min_trade_size.tct_usdt = 10
min_trade_size.atl_btc = 1
min_trade_size.atl_eth = 1
min_trade_size.atl_usdt = 1
min_trade_size.theta_btc = 10
min_trade_size.theta_eth = 10
min_trade_size.lev_btc = 10
min_trade_size.theta_usdt = 10
min_trade_size.lev_eth = 10
min_trade_size.lev_usdt = 10
min_trade_size.stc_btc = 10
min_trade_size.spf_btc = 1
min_trade_size.stc_eth = 10
min_trade_size.spf_eth = 1
min_trade_size.spf_usdt = 1
min_trade_size.stc_usdt = 10
min_trade_size.ref_btc = 0.01
min_trade_size.ref_eth = 0.01
min_trade_size.ref_usdt = 0.01
min_trade_size.snc_btc = 1
min_trade_size.snc_eth = 1
min_trade_size.snc_usdt = 1
min_trade_size.pst_btc = 1
min_trade_size.pst_eth = 1
min_trade_size.pst_usdt = 1
min_trade_size.can_btc = 10
min_trade_size.can_eth = 10
min_trade_size.can_usdt = 10
min_trade_size.hot_btc = 10
min_trade_size.mkr_btc = 0.001
min_trade_size.mkr_eth = 0.001
min_trade_size.mkr_usdt = 0.001
min_trade_size.hot_eth = 10
min_trade_size.key_btc = 10
min_trade_size.hot_usdt = 10
min_trade_size.key_eth = 10
min_trade_size.key_usdt = 10
min_trade_size.light_btc = 10
min_trade_size.light_eth = 10
min_trade_size.light_usdt = 10
min_trade_size.true_btc = 1
min_trade_size.true_eth = 1
min_trade_size.true_usdt = 1
min_trade_size.of_btc = 10
min_trade_size.of_eth = 10
min_trade_size.of_usdt = 10
min_trade_size.soc_btc = 10
min_trade_size.soc_eth = 10
min_trade_size.soc_usdt = 10
min_trade_size.wbtc_btc = 10
min_trade_size.dent_btc = 10
min_trade_size.dent_eth = 10
min_trade_size.dent_usdt = 10
min_trade_size.zen_btc = 0.01
min_trade_size.zen_eth = 0.01
min_trade_size.zen_usdt = 0.01
min_trade_size.hmc_btc = 10
min_trade_size.hmc_eth = 10
min_trade_size.hmc_usdt = 10
min_trade_size.zip_btc = 10
min_trade_size.zip_eth = 10
min_trade_size.zip_usdt = 10
min_trade_size.nano_btc = 0.1
min_trade_size.nano_eth = 0.1
min_trade_size.nano_usdt = 0.1
min_trade_size.cic_btc = 10
min_trade_size.cic_eth = 10
min_trade_size.cic_usdt = 10
min_trade_size.gto_btc = 1
min_trade_size.gto_eth = 1
min_trade_size.gto_usdt = 1
min_trade_size.chat_btc = 10
min_trade_size.chat_eth = 10
min_trade_size.chat_usdt = 10
min_trade_size.insur_btc = 10
min_trade_size.insur_eth = 10
min_trade_size.insur_usdt = 10
min_trade_size.cbt_btc = 10
min_trade_size.cbt_eth = 10
min_trade_size.cbt_usdt = 10
min_trade_size.r_btc = 1
min_trade_size.r_eth = 1
min_trade_size.r_usdt = 1
min_trade_size.uct_btc = 10
min_trade_size.uct_eth = 1
min_trade_size.uct_usdt = 1
min_trade_size.bec_btc = 1
min_trade_size.bec_eth = 1
min_trade_size.bec_usdt = 1
min_trade_size.mith_btc = 1
min_trade_size.mith_eth = 1
min_trade_size.mith_usdt = 1
min_trade_size.abt_btc = 1
min_trade_size.abt_eth = 1
min_trade_size.abt_usdt = 1
min_trade_size.bkx_btc = 1
min_trade_size.bkx_eth = 1
min_trade_size.bkx_usdt = 1
min_trade_size.gtc_btc = 10
min_trade_size.gtc_eth = 10
min_trade_size.gtc_usdt = 10
min_trade_size.auto_btc = 10
min_trade_size.auto_eth = 10
min_trade_size.auto_usdt = 10
min_trade_size.gsc_btc = 10
min_trade_size.gsc_eth = 10
min_trade_size.gsc_usdt = 10
min_trade_size.rfr_btc = 10
min_trade_size.rfr_eth = 10
min_trade_size.rfr_usdt = 10
min_trade_size.trio_btc = 10
min_trade_size.trio_eth = 10
min_trade_size.trio_usdt = 10
min_trade_size.tra_btc = 10
min_trade_size.tra_eth = 10
min_trade_size.tra_usdt = 10
min_trade_size.ren_btc = 10
min_trade_size.ren_eth = 10
min_trade_size.ren_usdt = 10
min_trade_size.wfee_btc = 10
min_trade_size.wfee_eth = 10
min_trade_size.wfee_usdt = 10
min_trade_size.dadi_btc = 1
min_trade_size.dadi_eth = 1
min_trade_size.dadi_usdt = 1
min_trade_size.enj_btc = 10
min_trade_size.enj_eth = 10
min_trade_size.enj_usdt = 10
min_trade_size.ont_btc = 1
min_trade_size.ont_eth = 1
min_trade_size.ont_usdt = 1

$.GetMinTradeSize = function(exchIndex) {
    var currency = exchanges[exchIndex].GetCurrency().toLowerCase()
    if (min_trade_size[currency] == null)
        return 0
    return min_trade_size[currency]
}
template: strategy.tpl:40:21: executing "strategy.tpl" at <.api.GetStrategyListByName>: wrong number of args for GetStrategyListByName: want 7 got 6