Tradier

App · 20 actions

Read Tradier accounts, watchlists, stock quotes and option chains.

Actions

ActionWhat it does
Get a watchlistGet a watchlist.
Get account balancesGet account balances.
Get an account orderGet an account order.
Get an option chainGet an option chain.
Get historical pricesGet historical prices.
Get market quotesGet market quotes.
Get the market calendarGet the market calendar.
Get the market clockGet the market clock.
Get time and salesGet time and sales.
Get your Tradier profileGet your Tradier profile.
List account historyList account history.
List account ordersList account orders.
List account positionsList account positions.
List closed-position gains and lossesList closed-position gains and losses.
List option expirationsList option expirations.
List option strike pricesList option strike prices.
List watchlistsList watchlists.
Look up a market symbolLook up a market symbol.
Look up listed option symbolsLook up listed option symbols.
Search market symbolsSearch market symbols.

Get a watchlist

Get a watchlist.

Inputs

Watchlist IDwatchlist_idtextRequired
Watchlist id.

Outputs

dataobject
The response from Tradier.
Example output
{
  "data": {
    "watchlist": {}
  }
}

Get account balances

Get account balances.

Inputs

Accountaccount_idtextRequired
Account id.

Outputs

dataobject
The response from Tradier.
Example output
{
  "data": {
    "balances": {}
  }
}

Get an account order

Get an account order.

Inputs

Accountaccount_idtextRequired
Account id.
Order IDorder_idtextRequired
Order id.

Outputs

dataobject
The response from Tradier.
Example output
{
  "data": {
    "order": {}
  }
}

Get an option chain

Get an option chain.

Inputs

SymbolsymboltextRequired
Symbol.
ExpirationexpirationdateRequired
Expiration.
Greeksgreekstrue/false
Greeks.

Outputs

dataobject
The response from Tradier.
Example output
{
  "data": {
    "options": {
      "option": [
        {}
      ]
    }
  }
}

Get historical prices

Get historical prices.

Inputs

SymbolsymboltextRequired
Symbol.
Intervalintervaltext
Interval.One of: daily, weekly, monthly.
Startstartdate
Start.
Endenddate
End.

Outputs

dataobject
The response from Tradier.
Example output
{
  "data": {
    "history": {
      "day": [
        {}
      ]
    }
  }
}

Get market quotes

Get market quotes.

Inputs

SymbolssymbolslistRequired
Symbols.
Greeksgreekstrue/false
Greeks.

Outputs

dataobject
The response from Tradier.
Example output
{
  "data": {
    "quotes": {
      "quote": {}
    }
  }
}

Get the market calendar

Get the market calendar.

Inputs

Monthmonthnumber
Month.From 1 to 12.
Yearyearnumber
Year.At least 1.

Outputs

dataobject
The response from Tradier.
Example output
{
  "data": {
    "calendar": {}
  }
}

Get the market clock

Get the market clock.

Inputs

None.

Outputs

dataobject
The response from Tradier.
Example output
{
  "data": {
    "clock": {
      "state": "example",
      "timestamp": 1
    }
  }
}

Get time and sales

Get time and sales.

Inputs

SymbolsymboltextRequired
Symbol.
Intervalintervaltext
Interval.One of: tick, 1min, 5min, 15min.
Startstartdate and time
Start.
Endenddate and time
End.
Session filtersession_filtertext
Session filter.One of: all, open.

Outputs

dataobject
The response from Tradier.
Example output
{
  "data": {
    "series": {
      "data": [
        {}
      ]
    }
  }
}

Get your Tradier profile

Get your Tradier profile.

Inputs

None.

Outputs

dataobject
The response from Tradier.
Example output
{
  "data": {
    "profile": {
      "account": [
        {
          "account_number": "example",
          "classification": "example"
        }
      ]
    }
  }
}

List account history

List account history.

Inputs

Accountaccount_idtextRequired
Account id.
Startstartdate
Start.
Endenddate
End.
Typetypetext
Type.One of: trade, option, dividend, ach, wire, fee, tax, journal, check, transfer, adjustment, interest.
Pagepagenumber
Page.At least 1.
Limitlimitnumber
Limit.At least 1.

Outputs

dataobject
The response from Tradier.
Example output
{
  "data": {
    "history": {}
  }
}

List account orders

List account orders.

Inputs

Accountaccount_idtextRequired
Account id.
Include tagsinclude_tagstrue/false
Include tags.
Pagepagenumber
Page.At least 1.
Limitlimitnumber
Limit.At least 1.

Outputs

dataobject
The response from Tradier.
Example output
{
  "data": {
    "orders": {}
  }
}

List account positions

List account positions.

Inputs

Accountaccount_idtextRequired
Account id.

Outputs

dataobject
The response from Tradier.
Example output
{
  "data": {
    "positions": {}
  }
}

List closed-position gains and losses

List closed-position gains and losses.

Inputs

Accountaccount_idtextRequired
Account id.
Startstartdate
Start.
Endenddate
End.
Pagepagenumber
Page.At least 1.
Limitlimitnumber
Limit.At least 1.
Sort bysort_bytext
Sort by.One of: openDate, closeDate.
Sortsorttext
Sort.One of: asc, desc.

Outputs

dataobject
The response from Tradier.
Example output
{
  "data": {
    "gainloss": {}
  }
}

List option expirations

List option expirations.

Inputs

SymbolsymboltextRequired
Symbol.
Include all rootsinclude_all_rootstrue/false
Include all roots.
Strikesstrikestrue/false
Strikes.

Outputs

dataobject
The response from Tradier.
Example output
{
  "data": {
    "expirations": {
      "date": [
        "example"
      ]
    }
  }
}

List option strike prices

List option strike prices.

Inputs

SymbolsymboltextRequired
Symbol.
ExpirationexpirationdateRequired
Expiration.

Outputs

dataobject
The response from Tradier.
Example output
{
  "data": {
    "strikes": {
      "strike": [
        1
      ]
    }
  }
}

List watchlists

List watchlists.

Inputs

None.

Outputs

dataobject
The response from Tradier.
Example output
{
  "data": {
    "watchlists": {}
  }
}

Look up a market symbol

Look up a market symbol.

Inputs

QqtextRequired
Enter a ticker symbol.
Exchangesexchangestext
Exchanges.
Typestypestext
Types.

Outputs

dataobject
The response from Tradier.
Example output
{
  "data": {
    "securities": {}
  }
}

Look up listed option symbols

Look up listed option symbols.

Inputs

UnderlyingunderlyingtextRequired
Underlying.

Outputs

dataobject
The response from Tradier.
Example output
{
  "data": {
    "symbols": [
      {}
    ]
  }
}

Search market symbols

Search market symbols.

Inputs

QqtextRequired
Enter a name or symbol to search.
Indexesindexestrue/false
Indexes.

Outputs

dataobject
The response from Tradier.
Example output
{
  "data": {
    "securities": {}
  }
}

On this page