Exchange
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
| Name | Description |
| exchange.GetName | Gets the name of the exchange bound to the current exchange object. |
| exchange.GetLabel | Obtains the custom label set when configuring the exchange object. |
| exchange.GetCurrency | Gets the currently set trading pair. |
| exchange.SetCurrency | Switches the current trading pair of the exchange object exchange. |
| exchange.GetQuoteCurrency | Gets the name of the quote currency of the current trading pair, i.e. |
| exchange.GetPeriod | Retrieves 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.SetMaxBarLen | Set the maximum length of the K-line (candlestick chart). |
| exchange.SetPrecision | Sets the precision of the price and order amount for the exchange object. |
| exchange.GetRate | Get the exchange rate currently set for the exchange object. |
| exchange.SetRate | Set the current exchange rate of the exchange object. |
| exchange.SetBase | Sets the base URL of the exchange API interface used by the exchange object. |
| exchange.GetBase | Gets the base address of the current exchange API interface. |
| exchange.SetProxy | Sets the proxy configuration of the exchange object. |
| exchange.SetTimeout | Sets the timeout for rest requests of the exchange object. |
| exchange.Encode | Performs signature and encryption computations. |