Sumber daya yang dimuat... Pemuatan...

pertukaran

Bursa adalah array objek pertukaran, yang berisi semua objek pertukaran yang ditambahkan ke dalam pengaturan strategi perdagangan langsung, pengaturan backtest, bursa[0], yaitu {@var/EXCHANGE exchange}. Objek pertukaran yang ditambahkan dalam pengaturan perdagangan langsung strategi atau pengaturan backtest sesuai dengan pertukaran[0], pertukaran[1], pertukaran[2], pertukaran[n]... dalam urutan mereka ditambahkan.

Array

function main() {
    for(var i = 0; i < exchanges.length; i++) {
        Log("Index of the added exchange object (the first one is 0 and so on):", i, "Name:", exchanges[i].GetName(), "Label:", exchanges[i].GetLabel())
    }
}
def main():
    for i in range(len(exchanges)):
        Log("Index of the added exchange object (the first one is 0 and so on):", i, "Name:", exchanges[i].GetName(), "Label:", exchanges[i].GetLabel())
void main() {
    for(int i = 0; i < exchanges.size(); i++) {
        Log("Index of the added exchange object (the first one is 0 and so on):", i, "Name:", exchanges[i].GetName(), "Label:", exchanges[i].GetLabel());
    }
}

{@var/EXCHANGE exchange}, {@fun/Account/exchange.GetName exchange.GetName}, {@fun/Account/exchange.GetLabel exchange.GetLabel}

pertukaran ORDER_STATE