ArchitectX Trade Connector
Features
crypto-architectxConnector Key✗
Order Status Request
✓
Cancel On Disconnect
✗
Commission
✓
Post Only
✗
Fast Cancel
✗
Fast Replace
Notes
Self-Match Prevention
You can't turn off this option. Default value is the same as CANCEL_TAKER. Note that incoming order will be rejected, while resting order cancelled.
Cancel All Orders After
cancelAllOrdersAfter settings provides "Dead Man's Switch" functionality to prevent unexpected losses from network malfunctions.
Upon connect the connector starts sending heartbeats (with interval defined in period),
if exchange detects that heartbeat request is not arrived within specified timeout - it cancel all session orders.
Config block sample:
cancelAllOrdersAfter {
period = 25s
timeout = 60s
}
Symbology
https://gateway.architect.exchange/api/instruments
Configuration
Connector settings
| Parameter | Default Value | Description |
|---|---|---|
| keyless | false | If set true use username and password in ApiKey and ApiSecret fields. |
| account | Default account sent on order requests. | |
| useAccount | false | The flag to define whether to use order account in preference of default account. |
| selfMatchPrevention | DEFAULT | Self-trade prevention mode. Supported values: DEFAULT, CANCEL_RESTING, CANCEL_TAKING, CANCEL_BOTH. |
| cancelAllOrdersAfter | Has two settings: period, timeout. This feature can work like Cancel-On-Disconnect behavior. | |
| logHeartbeat | false | Enables heartbeat logging. |
Supported order attributes
| Key | Description |
|---|---|
| 18 | Only available for limit orders. Allowed value: 6 (PostOnly). |
| 7928 | Optional setting for Self-Trade Prevention function. Allowed values: CancelResting, CancelBoth, CancelIncoming. |
Config sample
connectors {
ARCHITECTX: ${template.connector.crypto.architectx} {
settings {
restUrl = "https://gateway.architect.exchange"
websocketUrl = "wss://gateway.architect.exchange/orders/ws"
apiKeys: [
{
apiKey = "<PUBLIC_KEY>"
apiSecret = "<PRIVATE_KEY>"
}
]
}
}
}