- Quadrado
- Plug-in de troca de futuros de moeda digital
Plug-in de troca de futuros de moeda digital
Autora:
Inventor quantificado - sonho pequeno, Data: 2022-03-18 18:54:09
Tags:
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
}
Mais.