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

exchange.GetName


```exchange.GetName()```函数返回FMZ量化交易平台定义的交易所名称。
string

exchange.GetName()

```javascript
function main() {
    Log("判断交易所对象exchange为币安现货,判断结果为:", exchange.GetName() == "Binance")
}
def main():
    Log("判断交易所对象exchange为币安现货,判断结果为:", exchange.GetName() == "Binance")
void main() {
    Log("判断交易所对象exchange为币安现货,判断结果为:", exchange.GetName() == "Binance");
}

exchange.GetName()函数一般用来识别策略代码中的exchange或者exchanges[1]exchanges[2]这些交易所对象。 加密货币期货合约交易所的名称有固定前缀Futures_

{@fun/Account/exchange.GetLabel exchange.GetLabel}

exchange.GetAssets exchange.GetLabel