资源加载中... loading...

exchange.GetLabel

The exchange.GetLabel() function is used to get the custom label that was set when the exchange object was configured.

The exchange.GetLabel() function returns the custom label that was set when the exchange object was configured. string

exchange.GetLabel()

function main() {
    Log("exchange label:", exchange.GetLabel())
}
def main():
    Log("exchange label:", exchange.GetLabel())
void main() {
    Log("exchange label:", exchange.GetLabel());
}

Exchange objects such as exchange or exchanges[1], exchanges[2] in the strategy code are identified by the set tag.

{@var/EXCHANGE exchange}

exchange.GetName exchange.GetCurrency