Skip to content

Connector

Connector displays the configured taker and give-up integrations together with their routing keys. Connector has the following attributes and can be accessed via pending config or real-time config:

attributes required default settings attribute type description
id Y – INT The ID of the Connector.
name Y – VARCHAR The name of the Connector.
type Y – VARCHAR The Connector’s adapter type, such as MT4, MT5 or a FIX API.
rkey1 N n/a VARCHAR Each routing key (rkey1, rkey2, rkey3) specifies a set of active fields in ConnectorRoute. Matching is evaluated by priority — rkey1 → rkey2 → rkey3 — meaning trades are checked against each key’s full field set in that order; if more than one key matches, the highest-priority matching key determines the route.

A key is a comma-separated list of the selectors sec, sym, acc, subid1, subid2, subid3 and subid4, written without spaces (for example acc,subid2). A key cannot contain both sec and sym or repeat a selector, and active keys must use different selector combinations. Use n/a (or leave the field empty) to disable a key.
rkey2 N n/a VARCHAR see rkey1 above.
rkey3 N n/a VARCHAR see rkey1 above.
description N n/a VARCHAR Free text.
values N n/a VARCHAR Legacy field; leave as n/a.
enable Y – INT Specifies if the connector is enabled or disabled. For ordinary taker connectors, pricing or trading is active only when the connector is enabled and the corresponding ConnectorConfig (0 for pricing, 1 for trading) is active. Other connector types use adapter-specific configuration slots. Disabling requests a disconnection and removes stream subscriptions; enabling starts the connection but does not by itself confirm that the session is connected. Toggling this flag can be used to refresh the connection of the connector.