संसाधन लोड हो रहा है... लोड करना...

विनिमय

विनिमय

एक्सचेंज एक एक्सचेंज ऑब्जेक्ट है, जो रणनीति में जोड़ा गया पहला एक्सचेंज ऑब्जेक्ट है।

वस्तु

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.GetLabel}, {@fun/Account/exchange.GetLabel exchanges.GetName exchange.GetName}, {@fun/Account/exchange.GetLabel exchange.GetLabel}

विनिमय

एक्सचेंज एक्सचेंज ऑब्जेक्ट्स का एक सरणी है, जिसमें रणनीति लाइव ट्रेडिंग सेटिंग्स, बैकटेस्ट सेटिंग्स, एक्सचेंज[0] में जोड़े गए सभी एक्सचेंज ऑब्जेक्ट्स हैं, जो {@var/EXCHANGE exchange} है। रणनीति लाइव ट्रेडिंग सेटिंग्स या बैकटेस्ट सेटिंग्स में जोड़े गए एक्सचेंज ऑब्जेक्ट्स एक्सचेंजों[0], एक्सचेंजों[1], एक्सचेंजों[2], एक्सचेंजों[n]... के अनुरूप हैं।

सरणी

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}, {@var/EXCHANGE exchange}, {@fun/Account/exchange.GetLabel exchange.GetName exchange.GetName}, {@fun/Account/exchange.GetLabel exchange.GetLabel}

संरचनाएं ORDER_STATE