Sumber dimuat naik... memuat...

exchange.GetContractType

Peraturanexchange.GetContractType()fungsi digunakan untuk mendapatkan kod kontrak untuk tetapan semasa objek pertukaran {@var/EXCHANGE exchange}.

Peraturanexchange.GetContractType()fungsi mengembalikan kod kontrak yang ditakrifkan oleh platform FMZ, contohnya:this_week, swap, dan lain-lain senar

pertukaran.GetContractType()

function main () {
    Log(exchange.SetContractType("this_week")) 
    Log(exchange.GetContractType())
}
def main():
    Log(exchange.SetContractType("this_week"))
    Log(exchange.GetContractType())
void main() {
    Log(exchange.SetContractType("this_week"));
    Log(exchange.GetContractType());
}

{@fun/Futures/exchange.SetContractType pertukaran.SetContractType}

exchange.SetContractType exchange.GetFundings