Type/to search
Built-in Functions
Global
Log
Market
Trade
Account
Futures
Exchange
exchange.GetName
exchange.GetLabel
exchange.GetCurrency
exchange.SetCurrency
exchange.GetQuoteCurrency
exchange.GetPeriod
exchange.SetMaxBarLen
exchange.SetPrecision
exchange.GetRate
exchange.SetRate
exchange.SetBase
exchange.GetBase
exchange.SetProxy
exchange.SetTimeout
exchange.Encode
IO
Network
Storage
Threads
TA
Talib
OS
Structures
Built-in Variables and Constants
Conventions
Exchanges

Properties and settings of an exchange object (exchange, exchanges[n]): name and label, current trading pair and quote currency, K-line period, order precision, exchange rate, API base address, proxy and timeout, and signing data the way the exchange requires.

In this sectionRead the whole section

NameDescription
exchange.GetNameGets the name of the exchange bound to the current exchange object.
exchange.GetLabelObtains the custom label set when configuring the exchange object.
exchange.GetCurrencyGets the currently set trading pair.
exchange.SetCurrencySwitches the current trading pair of the exchange object exchange.
exchange.GetQuoteCurrencyGets the name of the quote currency of the current trading pair, i.e.
exchange.GetPeriodRetrieves the K-line period configured on the FMZ Quant Trading platform website page when running a strategy in backtesting or live trading, i.e., the default…
exchange.SetMaxBarLenSet the maximum length of the K-line (candlestick chart).
exchange.SetPrecisionSets the precision of the price and order amount for the exchange object.
exchange.GetRateGet the exchange rate currently set for the exchange object.
exchange.SetRateSet the current exchange rate of the exchange object.
exchange.SetBaseSets the base URL of the exchange API interface used by the exchange object.
exchange.GetBaseGets the base address of the current exchange API interface.
exchange.SetProxySets the proxy configuration of the exchange object.
exchange.SetTimeoutSets the timeout for rest requests of the exchange object.
exchange.EncodePerforms signature and encryption computations.