Skip to content

Guide

Does Tradier have an API?

Yes. Tradier has a brokerage API. Its developer account is free and includes a sandbox. Nyria connects Tradier for live accounts by sign-in, with no key to paste. The sandbox connects with an access token. A TradingView alert can't call the API itself. It posts to Nyria's webhook, and the bot places the order.

Official documentation

Connect Tradier in five steps

  1. 1

    Get sandbox credentials

    Sign in at developer.tradier.com. The developer account is free. Copy the sandbox access token.

  2. 2

    Connect the sandbox

    Select Integrations, then the Tradier card. Select Connect paper account and paste the access token.

  3. 3

    Connect a live account

    Select the live account option and sign in at tradier.com. Choose Authorize. Your password stays at Tradier.

  4. 4

    Point TradingView at Nyria

    Create a strategy with TradingView as the source. Paste its URL into the alert's Webhook URL box, then select Apply. Webhooks need a paid TradingView plan.

  5. 5

    Sandbox first, then live

    Deploy a bot on the sandbox account and watch its Logs tab. Deploy a second bot on the live account when the orders read right.

What the API does

  • Tradier is a brokerage with an API for stocks and options.
  • The free developer account includes a sandbox.
  • The sandbox uses simulated cash. Live uses real money.
  • Sandbox and live are separate environments with their own account numbers.

Why an alert can't call it

  • A TradingView alert can't call the Tradier API itself.
  • It sends a webhook. Something has to place the order.
  • Nyria is that receiver, and it never places an order by itself.
  • Webhooks need a paid TradingView plan.

How Nyria connects Tradier

  • A live account connects by sign-in at Tradier. No key to paste.
  • The sandbox connects with an access token.
  • You can connect both. Each gets its own entry in Nyria.
  • Nyria trades stocks and options up to 4 legs at Tradier.
  • A budget per entry sets the order size.

What it can't do

  • Fill market orders outside 9:30 AM to 4 PM ET.
  • Trade fractional shares, futures or crypto. Tradier doesn't offer them.
  • Let an alert set the order size.
  • Move money.

Questions

Can a TradingView alert call the Tradier API?
No. An alert sends a webhook. Nyria receives it and places the order.
Do I need a Tradier API key?
Not for live. You sign in at Tradier. The sandbox takes an access token.
Where do I find the sandbox token?
Sign in at developer.tradier.com. The developer account is free and includes a sandbox.
Are the sandbox and live the same account?
No. They are separate Tradier environments with their own account numbers.
Can I test before using real money?
Yes. Connect the sandbox as a paper account, or use Nyria Paper. Both are free.

Next

More TradingView to Tradier guides

Try a paper bot first

No card required. Paper is free. Live trading from $15 a month.