Skip to main content

Paradex Trade Connector

Features​

crypto-paradexConnector Key
Instruments
FXFUTURE
Request Types
SUBMITCANCEL
Order Types
MARKETLIMIT
Time In Force
GTCIOC
Order ID Mapper
SEQUENCE
✗
Order Status Request
✗
Cancel On Disconnect
✓
Commission
✓
Post Only
✗
Fast Cancel
✗
Fast Replace

Notes​

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​

ParameterDefault ValueDescription
restUrlhttps://api.prod.paradex.tradeREST API URL.
websocketUrlwss://ws.api.prod.paradex.trade/v1WebSocket URL.
apiKeys.apiKeyParadex account address.
apiKeys.apiSecretParadex private key.
chainIdPRIVATE_SN_PARACLEAR_MAINNETChain Id.

Supported order attributes​

KeyDescription
186 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>"
}
]
}
}
}