los intercambios son una matriz de objetos de intercambio, que contienen todos los objetos de intercambio añadidos en la estrategia configuración de negociación en vivo, configuración de pruebas de retroceso, intercambios[0], que es {@var/EXCHANGE exchange}. Los objetos de intercambio agregados en la estrategia de configuración de trading en vivo o configuración de backtest corresponden a intercambios [0], intercambios [1], intercambios [2], intercambios [n]... en el orden en que se agregan.
el conjunto
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}, {@fun/Account/exchange.GetLabel exchange.GetLabel}, {@var/EXCHANGE exchange}, {@fun/Account/exchange.GetName exchange.GetName exchange.GetName}, {@fun/Account/exchange.GetLabel exchange.GetLabel}, {@fun/Account/exchange.GetLabel exchange.GetLabel}, {@fun/Account/exchange.GetLabel exchange.GetLabel}, {@fun/Account/exchange.GetName exchange.GetName exchange.GetName}, {@fun/Account/exchange.GetName exchange.GetName exchange.GetName}, {@fun/Account/exchange.GetName exchange.GetName.GetName.GetName.GetName.GetName.GetName
cambio El estado de orden