Tradier
App · 20 actions
Read Tradier accounts, watchlists, stock quotes and option chains.
Actions
| Action | What it does |
|---|---|
| Get a watchlist | Get a watchlist. |
| Get account balances | Get account balances. |
| Get an account order | Get an account order. |
| Get an option chain | Get an option chain. |
| Get historical prices | Get historical prices. |
| Get market quotes | Get market quotes. |
| Get the market calendar | Get the market calendar. |
| Get the market clock | Get the market clock. |
| Get time and sales | Get time and sales. |
| Get your Tradier profile | Get your Tradier profile. |
| List account history | List account history. |
| List account orders | List account orders. |
| List account positions | List account positions. |
| List closed-position gains and losses | List closed-position gains and losses. |
| List option expirations | List option expirations. |
| List option strike prices | List option strike prices. |
| List watchlists | List watchlists. |
| Look up a market symbol | Look up a market symbol. |
| Look up listed option symbols | Look up listed option symbols. |
| Search market symbols | Search market symbols. |
Get a watchlist
Get a watchlist.
Inputs
- Watchlist ID
watchlist_idtextRequired - Watchlist id.
Outputs
dataobject- The response from Tradier.
Example output
{
"data": {
"watchlist": {}
}
}Get account balances
Get account balances.
Inputs
- Account
account_idtextRequired - Account id.
Outputs
dataobject- The response from Tradier.
Example output
{
"data": {
"balances": {}
}
}Get an account order
Get an account order.
Inputs
- Account
account_idtextRequired - Account id.
- Order ID
order_idtextRequired - Order id.
Outputs
dataobject- The response from Tradier.
Example output
{
"data": {
"order": {}
}
}Get an option chain
Get an option chain.
Inputs
- Symbol
symboltextRequired - Symbol.
- Expiration
expirationdateRequired - Expiration.
- Greeks
greekstrue/false - Greeks.
Outputs
dataobject- The response from Tradier.
Example output
{
"data": {
"options": {
"option": [
{}
]
}
}
}Get historical prices
Get historical prices.
Inputs
- Symbol
symboltextRequired - Symbol.
- Interval
intervaltext - Interval.One of:
daily,weekly,monthly. - Start
startdate - Start.
- End
enddate - End.
Outputs
dataobject- The response from Tradier.
Example output
{
"data": {
"history": {
"day": [
{}
]
}
}
}Get market quotes
Get market quotes.
Inputs
- Symbols
symbolslistRequired - Symbols.
- Greeks
greekstrue/false - Greeks.
Outputs
dataobject- The response from Tradier.
Example output
{
"data": {
"quotes": {
"quote": {}
}
}
}Get the market calendar
Get the market calendar.
Inputs
- Month
monthnumber - Month.From 1 to 12.
- Year
yearnumber - 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
- Symbol
symboltextRequired - Symbol.
- Interval
intervaltext - Interval.One of:
tick,1min,5min,15min. - Start
startdate and time - Start.
- End
enddate and time - End.
- Session filter
session_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
- Account
account_idtextRequired - Account id.
- Start
startdate - Start.
- End
enddate - End.
- Type
typetext - Type.One of:
trade,option,dividend,ach,wire,fee,tax,journal,check,transfer,adjustment,interest. - Page
pagenumber - Page.At least 1.
- Limit
limitnumber - Limit.At least 1.
Outputs
dataobject- The response from Tradier.
Example output
{
"data": {
"history": {}
}
}List account orders
List account orders.
Inputs
- Account
account_idtextRequired - Account id.
- Include tags
include_tagstrue/false - Include tags.
- Page
pagenumber - Page.At least 1.
- Limit
limitnumber - Limit.At least 1.
Outputs
dataobject- The response from Tradier.
Example output
{
"data": {
"orders": {}
}
}List account positions
List account positions.
Inputs
- Account
account_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
- Account
account_idtextRequired - Account id.
- Start
startdate - Start.
- End
enddate - End.
- Page
pagenumber - Page.At least 1.
- Limit
limitnumber - Limit.At least 1.
- Sort by
sort_bytext - Sort by.One of:
openDate,closeDate. - Sort
sorttext - Sort.One of:
asc,desc.
Outputs
dataobject- The response from Tradier.
Example output
{
"data": {
"gainloss": {}
}
}List option expirations
List option expirations.
Inputs
- Symbol
symboltextRequired - Symbol.
- Include all roots
include_all_rootstrue/false - Include all roots.
- Strikes
strikestrue/false - Strikes.
Outputs
dataobject- The response from Tradier.
Example output
{
"data": {
"expirations": {
"date": [
"example"
]
}
}
}List option strike prices
List option strike prices.
Inputs
- Symbol
symboltextRequired - Symbol.
- Expiration
expirationdateRequired - 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
- Q
qtextRequired - Enter a ticker symbol.
- Exchanges
exchangestext - Exchanges.
- Types
typestext - Types.
Outputs
dataobject- The response from Tradier.
Example output
{
"data": {
"securities": {}
}
}Look up listed option symbols
Look up listed option symbols.
Inputs
- Underlying
underlyingtextRequired - Underlying.
Outputs
dataobject- The response from Tradier.
Example output
{
"data": {
"symbols": [
{}
]
}
}Search market symbols
Search market symbols.
Inputs
- Q
qtextRequired - Enter a name or symbol to search.
- Indexes
indexestrue/false - Indexes.
Outputs
dataobject- The response from Tradier.
Example output
{
"data": {
"securities": {}
}
}