# HTX

To create a connection to the HTX Spot and HTX Futures market, select the appropriate menu item:

<figure><img src="https://1047460659-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdykpXQOHZEIjOXOCDnHw%2Fuploads%2FnQf0pg5GiFi98hMOkra6%2Fimage.png?alt=media&#x26;token=8f372c89-2388-4c98-8e23-a1e2d623c5eb" alt="" width="407"><figcaption></figcaption></figure>

<table><thead><tr><th width="233">Field </th><th>Description</th></tr></thead><tbody><tr><td>API key</td><td>API key created by you in your personal cabinet of the exchange</td></tr><tr><td>API secret</td><td>API secret key created by you in your personal account of the exchange</td></tr><tr><td>Proxy</td><td>Selecting a proxy server and defining the data going through the proxy (orders and market date). Detailed information on proxy settings can be found on the related page.</td></tr><tr><td>Save password</td><td>Saving API secret key after restarting the terminal. We recommend to use this function only on trusted devices.</td></tr><tr><td>View only</td><td>Allows to use connection in READ ONLY mode without adding personal APIs.</td></tr><tr><td>Autoconnect</td><td>Automatic connection to this API when the terminal is started.</td></tr><tr><td>Settings</td><td>Opens the settings of order books for the selected connection. The settings set in this window will be automatically applied to all first-time opened instruments for this connection. Detailed description of these settings can be found in the "Connection settings" section.</td></tr></tbody></table>

### Creating API in the personal cabinet of the HTX exchange

For correct operation of the terminal when creating API keys it is necessary to select the configuration shown in the screenshot:<br>

<figure><img src="https://content.gitbook.com/content/dykpXQOHZEIjOXOCDnHw/blobs/nIi2coVqIeyHuC3qq7ae/image.png" alt=""><figcaption></figcaption></figure>
