el intercambio es un objeto de intercambio, que es el primer objeto de intercambio añadido a la estrategia.
objetos
function main() {
Log("On the live trading page or backtest page, the first exchange object name added: ", exchange.GetName(), ", label:", exchange.GetLabel())
}
def main():
Log("On the live trading page or backtest page, the first exchange object name added: ", exchange.GetName(), ", label:", exchange.GetLabel())
void main() {
Log("On the live trading page or backtest page, the first exchange object name added: ", exchange.GetName(), ", label:", exchange.GetLabel());
}
{@var/EXCHANGE/exchanges exchanges}, {@fun/Account/exchange.GetName exchange.GetName}, {@fun/Account/exchange.GetLabel exchange.GetLabel}, {@var/EXCHANGE/exchanges exchanges}, {@fun/Account/exchange.GetLabel 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.GetLabel exchange.GetName exchange.GetName}, {@fun/Account/exchange.GetLabel exchange.GetLabel}, {@fun/Account/exchange.GetName exchange.GetName}, {@fun/Account/exchange.GetName.GetName.GetName.GetName.GetName.GetName.Get
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
Las estructuras El estado de orden