Guide
Which order types does Nyria send to OKX?
Nyria sends OKX market orders for spot pairs. The key needs Read and Trade on. Leave Withdraw off. Link Nyria's IP address to the key. Nyria sends no other order types.
Official documentation
Send an OKX order from an alert in four steps
- 1
Connect OKX
Paste the API key, secret key and passphrase, then select Connect OKX.
- 2
Set the order type
Use a market order in the alert.
- 3
Check the permissions
Read and Trade are on and Withdraw is off on the key.
- 4
Test on paper first
Run the same alert on Nyria Paper before you trade here.
What Nyria sends
- Market orders.
- Spot pairs quoted in USDT, USDC or EUR.
What the key needs
- Make the key at okx.com/account/my-api.
- Turn on Read and Trade.
- Leave Withdraw off.
- Link Nyria's IP address, 116.202.227.157, to the key.
- OKX expires a trading key with no IP address after 14 days without use.
Other order types
- Nyria sends market orders only to OKX.
- Use a market order in each alert.
Test first
- Nyria Paper runs the same alerts with no exchange.
- Send a test alert before you use a funded account.
- Check the order shows on OKX as expected.
Connecting the account
- Set a passphrase when you create the key.
- OKX can't recover a lost passphrase.
- Copy the API key, the secret key and the passphrase.
- Nyria fills in the account number from the key.
Questions
- Does Nyria send market orders to OKX?
- Yes. Market orders work for spot pairs.
- Does Nyria send limit orders to OKX?
- No. Nyria sends market orders only.
- Which key permissions does OKX need?
- Read and Trade on. Withdraw off.
- Do I link an IP address to the OKX key?
- Yes. Link Nyria's, 116.202.227.157.
- Can I test without an exchange?
- Yes, on Nyria Paper.
Next
- Paste an alert into the alert tester to see how Nyria reads it.
- Step by step for one account: how to automate TradingView to Nyria Paper.
- Step by step for one account: how to automate Webhook to Nyria Paper.
- Alert tester.
Guides
How do I send TradingView webhooks to OKX?
Paste a Nyria strategy URL into your alert. Nyria places the OKX order.
Read guideHow do I make an OKX API key for Nyria?
Turn on Read and Trade, leave Withdraw off, and set a passphrase.
Read guideWhich OKX pairs and orders does Nyria trade?
Spot pairs quoted in USDT, USDC or EUR, with market orders.
Read guideWhy does Nyria say OKX rejected this key?
Copy the OKX key and secret again and paste them in. A demo key only works for paper.
Read guideTry a paper bot first
No card required. Paper is free. Live trading from $15 a month.