Paradex Trade Connector
Features
crypto-paradexConnector KeyNotes
Documentation
Server Location
Paradex servers are located in the AWS AP-NORTHEAST-1 region (Tokyo).
The best way to synchronize your clock with Paradex servers is via the Amazon time service.
Rate Limits
API Subkeys
Subkeys are private keys for an account with scoped down permissions. These keys provide a secure way to delegate trading permissions while maintaining control over account security.
The actual address of the account (main account) should be always configured as first item in API Key list.
No need to define private key for main account if you do not plan use it for trading (to submit or cancel orders).
The second API Key is considered as Subkey for trading.
If there is only one item in list - the main account will be used to sign trade request.
Connector is supporting only one Subkey in configuration.
apiKeys: [
{
apiKey = "0xbb24cbb4f4b723f216567391a670f874bf67c753"
apiSecret = "DUMMY" # pass any value here if you do not plan to use main account for trading
},
{
apiKey = "0xbABCDEF1234567890F05C1e06D2ED495A980F8f5" # subkey public key
apiSecret = "0xabcdefe03fc01ef6858f415ab3050ab6bf0e5d1ae32c97b909c0b0b972a345d9" # subkey private key
}
]
Symbology
Configuration
Connector settings
| Parameter | Default Value | Description |
|---|---|---|
| restUrl | https://api.prod.paradex.trade | REST API URL. |
| websocketUrl | wss://ws.api.prod.paradex.trade/v1 | WebSocket URL. |
| apiKeys.apiKey | Paradex account address. | |
| apiKeys.apiSecret | Paradex private key. | |
| chainId | PRIVATE_SN_PARACLEAR_MAINNET | Chain Id. |
Supported order attributes
| Key | Description |
|---|---|
| 18 | 6 value used for post only orders submission |
Config sample
connectors {
PARADEX: ${template.connector.crypto.paradex} {
settings {
restUrl = "https://api.prod.paradex.trade"
websocketUrl = "wss://ws.api.prod.paradex.trade/v1"
apiKeys: [
{
apiKey = "<MAIN_PUBLIC_KEY>"
apiSecret = "DUMMY"
},
{
apiKey = "<SUBKEY_PUBLIC_KEY>"
apiSecret = "<SUBKEY_PRIVATE_KEY>"
}
]
}
}
}