Guide
What is a multi-leg order in Nyria?
A multi-leg order is an options order with more than one contract, sent to the broker as one order. Nyria supports up to 4 legs on every broker that takes multi-leg orders. All legs share one expiration and one quantity.
Official documentation
See how a multi-leg order works
- 1
Choose an options strategy
Open or create a strategy with the Options asset type.
- 2
Set the legs
Add up to 4 legs in the strategy's leg rules.
- 3
Deploy a bot
Deploy a bot on an options-capable account.
- 4
Send an entry alert
Send one entry alert from your alert source.
- 5
Read the log
Check that the bot placed one order for all legs.
What it is
- It is an options order with more than one contract.
- The broker gets it as one order.
- Each contract in it is called a leg.
- Nyria supports up to 4 legs.
Common structures
- A vertical spread has 2 legs.
- Both legs share an expiration, with different strikes.
- An iron condor has 4 legs.
- An iron butterfly has 4 legs too.
What the legs share
- Every leg shares one expiration.
- Every leg shares one quantity.
- Structures across two expirations aren't supported.
- Check your broker takes multi-leg orders.
Where the legs come from
- Most strategies read legs from the strategy's leg rules.
- A strategy set to Provided in alert reads them from the alert.
- Those alerts send a legs array.
- TradingView options strategies use the leg rules.
Order types
- Spreads take market and limit orders only.
- A resting order on a spread is refused.
- Read the webhook reference for each account.
- Options alerts wait for the options market to open.
If something goes wrong
- Read the bot log for the row.
- Failed means processing stopped for that alert.
- A missing leg can stop an exit.
- Read the guide on exits with missing legs.
Questions
- What is a multi-leg order?
- An options order with more than one contract, sent as one order.
- How many legs can I use?
- Up to 4 legs.
- What is a leg?
- A single option contract within the order.
- Can legs have different expirations?
- No. Every leg shares one expiration and one quantity.
- Where do the legs come from?
- From the strategy's leg rules, or from the alert if it provides them.
- Does every broker take them?
- Only brokers that take multi-leg orders. Check your broker's setup page.
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
What happens when only some legs of an option spread fill?
Filled legs are tracked and exit on the next exit alert. Check your broker.
Read guideWhy was my spread exit not sent because legs are missing?
Some legs are gone, so nothing is sent. Close the rest at your broker.
Read guideHow does a trading bot pick which option contract to buy?
From leg rules or from the alert. No match means no order.
Read guideHow many legs can a Nyria options strategy have?
Up to 4 legs, one expiration and one quantity.
Read guideTry a paper bot first
No card required. Paper is free. Live trading from $15 a month.