Sumber dimuat naik... memuat...

Plugin pertukaran masa hadapan mata wang digital secara keseluruhan

Penulis:Pencipta Kuantiti - Impian Kecil, Tarikh: 2022-03-18 18:54:09
Tag:


function main() {
    var posType = [false, true][type]
    var name = exchange.GetName()
    if (name == "Futures_Binance") {
        exchange.IO("cross", posType)
    } else if (name == "Futures_HuobiDM") {
        exchange.IO("cross", posType)    
    } else if (name == "Futures_Bibox") {
        exchange.IO("cross", posType)        
    } else if (name == "Futures_Bitget") {
        exchange.IO("cross", posType)        
    } else if (name == "Futures_AOFEX") {
        exchange.IO("cross", posType)      
    } else if (name == "Futures_Pionex") {
        exchange.IO("cross", posType)      
    } else {
        throw "not support!"
    }
    return name + "切换 cross :" + posType
}

Lebih lanjut