exchangesは,戦略実盘設定,リセット設定に追加されたすべての取引所オブジェクトを含む取引所オブジェクトの配列である. exchanges[0]は{@var/EXCHANGE exchange}である. 戦略実盤設定またはリセット設定で追加された取引所オブジェクトは,追加された先の順序に応じて,順番に exchanges[0]、exchanges[1]、exchanges[2]、... exchanges[n]に対応する.
配列
function main() {
for(var i = 0; i < exchanges.length; i++) {
Log("添加的交易所对象索引(第一个为0以此类推):", i, "名称:", exchanges[i].GetName(), "标签:", exchanges[i].GetLabel())
}
}
def main():
for i in range(len(exchanges)):
Log("添加的交易所对象索引(第一个为0以此类推):", i, "名称:", exchanges[i].GetName(), "标签:", exchanges[i].GetLabel())
void main() {
for(int i = 0; i < exchanges.size(); i++) {
Log("添加的交易所对象索引(第一个为0以此类推):", i, "名称:", exchanges[i].GetName(), "标签:", exchanges[i].GetLabel());
}
}
{@var/EXCHANGE exchange}, {@fun/Account/exchange.GetName exchange.GetName}, {@fun/Account/exchange.GetLabel exchange.GetLabel}, {@var/EXCHANGE exchange}, {@fun/Account/exchange.GetName exchange.GetName exchange.GetName}, {@fun/Account/exchange.GetLabel exchange.GetLabel}, {@var/EXCHANGE exchange.GetName exchange.GetName exchange.GetName}, {@fun/Account/exchange.GetLabel exchange.GetLabel}, {@fun/Account/exchange.GetLabel exchange.GetLabel}, {@var/EXCHANGE exchange.
交換 ORDER_STATE について