Ally Invest · Schema
AllyInvestQuote
JSON Schema for an Ally Invest market quote object returned by the Quotes, Top Lists, and Options endpoints.
BrokerageInvestingTradingFinanceStocksOptionsMarket DataSelf-Directed
Properties
| Name | Type | Description |
|---|---|---|
| adp_100 | string | Average daily price, 100-day |
| adp_200 | string | Average daily price, 200-day |
| adp_50 | string | Average daily price, 50-day |
| adv_21 | string | Average daily volume, 21-day |
| adv_30 | string | Average daily volume, 30-day |
| adv_90 | string | Average daily volume, 90-day |
| ask | string | Ask price |
| ask_time | string | Time of ask price |
| asksz | string | Ask size (number of shares) |
| basis | string | Reported basis |
| beta | string | Beta coefficient |
| bid | string | Bid price |
| bid_time | string | Time of bid price |
| bidsz | string | Bid size (number of shares) |
| bidtick | string | Bid tick indicator |
| chg | string | Change from previous close |
| chg_sign | string | Sign of change (u=up, d=down, e=even) |
| chg_t | string | Change from previous close (text format) |
| cl | string | Previous close price |
| contract_size | string | Contract size (for options) |
| cusip | string | CUSIP identifier |
| date | string | Trade date |
| datetime | string | Date and time of last quote |
| days_to_expiration | string | Days until option expiration |
| div | string | Cash dividend amount |
| divexdate | string | Dividend ex-date |
| divfreq | string | Dividend frequency |
| divpaydt | string | Dividend pay date |
| dollar_value | string | Dollar value of trade |
| eps | string | Earnings per share |
| exch | string | Exchange code |
| exch_desc | string | Exchange description |
| hi | string | High price for the day |
| iad | string | Indicated annual dividend |
| idelta | string | Option delta |
| igamma | string | Option gamma |
| imp_volatility | string | Implied volatility |
| incr_vl | string | Incremental volume (volume of last trade) |
| irho | string | Option rho |
| issue_desc | string | Issue description |
| itheta | string | Option theta |
| ivega | string | Option vega |
| last | string | Last trade price |
| lo | string | Low price for the day |
| name | string | Company name |
| op_delivery | string | Option delivery type |
| op_flag | string | Options flag (1=optionable) |
| op_style | string | Option style (A=American, E=European) |
| op_subclass | string | Option subclass |
| openinterest | string | Open interest (options) |
| opn | string | Open price |
| opt_val | string | Option value |
| pchg | string | Percent change from previous close |
| pchg_sign | string | Sign of percent change |
| pcls | string | Previous close |
| pe | string | Price-to-earnings ratio |
| phi | string | Previous high |
| plo | string | Previous low |
| popn | string | Previous open |
| pr_adp_100 | string | Prior period 100-day average daily price |
| pr_adp_200 | string | Prior period 200-day average daily price |
| pr_adp_50 | string | Prior period 50-day average daily price |
| pr_date | string | Prior trade date |
| pr_openinterest | string | Prior open interest |
| prbook | string | Book value per share |
| prchg | string | Prior change |
| prem_mult | string | Premium multiplier |
| put_call | string | Put/Call indicator (P=put, C=call) |
| pvol | string | Previous volume |
| qcond | string | Quote condition code |
| rootsymbol | string | Root symbol (for options) |
| secclass | string | Security class |
| sesn | string | Trading session |
| sho | string | Shares outstanding |
| strikeprice | string | Strike price (for options) |
| symbol | string | Ticker symbol |
| tcond | string | Trade condition code |
| timestamp | string | Unix timestamp of last trade |
| tr_num | string | Trade number |
| tradetick | string | Trade tick (U=up, D=down, E=even) |
| trend | string | Price trend indicator |
| under_cusip | string | Underlying security CUSIP |
| undersymbol | string | Underlying security symbol (for options) |
| vl | string | Volume |
| volatility12 | string | 52-week price volatility |
| vwap | string | Volume weighted average price |
| wk52hi | string | 52-week high price |
| wk52hidate | string | Date of 52-week high |
| wk52lo | string | 52-week low price |
| wk52lodate | string | Date of 52-week low |
| xdate | string | Option expiration date (YYYYMMDD) |
| xday | string | Option expiration day |
| xmonth | string | Option expiration month |
| xyear | string | Option expiration year |
| yield | string | Dividend yield |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/ally-invest/main/json-schema/ally-invest-quote-schema.json",
"title": "AllyInvestQuote",
"description": "JSON Schema for an Ally Invest market quote object returned by the Quotes, Top Lists, and Options endpoints.",
"type": "object",
"properties": {
"adp_100": { "type": "string", "description": "Average daily price, 100-day" },
"adp_200": { "type": "string", "description": "Average daily price, 200-day" },
"adp_50": { "type": "string", "description": "Average daily price, 50-day" },
"adv_21": { "type": "string", "description": "Average daily volume, 21-day" },
"adv_30": { "type": "string", "description": "Average daily volume, 30-day" },
"adv_90": { "type": "string", "description": "Average daily volume, 90-day" },
"ask": { "type": "string", "description": "Ask price" },
"ask_time":{ "type": "string", "description": "Time of ask price" },
"asksz": { "type": "string", "description": "Ask size (number of shares)" },
"basis": { "type": "string", "description": "Reported basis" },
"beta": { "type": "string", "description": "Beta coefficient" },
"bid": { "type": "string", "description": "Bid price" },
"bid_time":{ "type": "string", "description": "Time of bid price" },
"bidsz": { "type": "string", "description": "Bid size (number of shares)" },
"bidtick": { "type": "string", "description": "Bid tick indicator" },
"chg": { "type": "string", "description": "Change from previous close" },
"chg_sign":{ "type": "string", "description": "Sign of change (u=up, d=down, e=even)" },
"chg_t": { "type": "string", "description": "Change from previous close (text format)" },
"cl": { "type": "string", "description": "Previous close price" },
"contract_size": { "type": "string", "description": "Contract size (for options)" },
"cusip": { "type": "string", "description": "CUSIP identifier" },
"date": { "type": "string", "description": "Trade date" },
"datetime":{ "type": "string", "description": "Date and time of last quote" },
"days_to_expiration": { "type": "string", "description": "Days until option expiration" },
"div": { "type": "string", "description": "Cash dividend amount" },
"divexdate": { "type": "string", "description": "Dividend ex-date" },
"divfreq": { "type": "string", "description": "Dividend frequency" },
"divpaydt": { "type": "string", "description": "Dividend pay date" },
"dollar_value": { "type": "string", "description": "Dollar value of trade" },
"eps": { "type": "string", "description": "Earnings per share" },
"exch": { "type": "string", "description": "Exchange code" },
"exch_desc": { "type": "string", "description": "Exchange description" },
"hi": { "type": "string", "description": "High price for the day" },
"iad": { "type": "string", "description": "Indicated annual dividend" },
"idelta": { "type": "string", "description": "Option delta" },
"igamma": { "type": "string", "description": "Option gamma" },
"imp_volatility": { "type": "string", "description": "Implied volatility" },
"incr_vl": { "type": "string", "description": "Incremental volume (volume of last trade)" },
"irho": { "type": "string", "description": "Option rho" },
"issue_desc": { "type": "string", "description": "Issue description" },
"itheta": { "type": "string", "description": "Option theta" },
"ivega": { "type": "string", "description": "Option vega" },
"last": { "type": "string", "description": "Last trade price" },
"lo": { "type": "string", "description": "Low price for the day" },
"name": { "type": "string", "description": "Company name" },
"op_delivery": { "type": "string", "description": "Option delivery type" },
"op_flag": { "type": "string", "description": "Options flag (1=optionable)" },
"op_style":{ "type": "string", "description": "Option style (A=American, E=European)" },
"op_subclass": { "type": "string", "description": "Option subclass" },
"openinterest": { "type": "string", "description": "Open interest (options)" },
"opn": { "type": "string", "description": "Open price" },
"opt_val": { "type": "string", "description": "Option value" },
"pchg": { "type": "string", "description": "Percent change from previous close" },
"pchg_sign": { "type": "string", "description": "Sign of percent change" },
"pcls": { "type": "string", "description": "Previous close" },
"pe": { "type": "string", "description": "Price-to-earnings ratio" },
"phi": { "type": "string", "description": "Previous high" },
"plo": { "type": "string", "description": "Previous low" },
"popn": { "type": "string", "description": "Previous open" },
"pr_adp_100": { "type": "string", "description": "Prior period 100-day average daily price" },
"pr_adp_200": { "type": "string", "description": "Prior period 200-day average daily price" },
"pr_adp_50": { "type": "string", "description": "Prior period 50-day average daily price" },
"pr_date": { "type": "string", "description": "Prior trade date" },
"pr_openinterest": { "type": "string", "description": "Prior open interest" },
"prbook": { "type": "string", "description": "Book value per share" },
"prchg": { "type": "string", "description": "Prior change" },
"prem_mult": { "type": "string", "description": "Premium multiplier" },
"put_call": { "type": "string", "description": "Put/Call indicator (P=put, C=call)", "enum": ["P", "C"] },
"pvol": { "type": "string", "description": "Previous volume" },
"qcond": { "type": "string", "description": "Quote condition code" },
"rootsymbol": { "type": "string", "description": "Root symbol (for options)" },
"secclass": { "type": "string", "description": "Security class" },
"sesn": { "type": "string", "description": "Trading session" },
"sho": { "type": "string", "description": "Shares outstanding" },
"strikeprice": { "type": "string", "description": "Strike price (for options)" },
"symbol": { "type": "string", "description": "Ticker symbol" },
"tcond": { "type": "string", "description": "Trade condition code" },
"timestamp": { "type": "string", "description": "Unix timestamp of last trade" },
"tr_num": { "type": "string", "description": "Trade number" },
"tradetick": { "type": "string", "description": "Trade tick (U=up, D=down, E=even)", "enum": ["U", "D", "E"] },
"trend": { "type": "string", "description": "Price trend indicator" },
"under_cusip": { "type": "string", "description": "Underlying security CUSIP" },
"undersymbol": { "type": "string", "description": "Underlying security symbol (for options)" },
"vl": { "type": "string", "description": "Volume" },
"volatility12": { "type": "string", "description": "52-week price volatility" },
"vwap": { "type": "string", "description": "Volume weighted average price" },
"wk52hi": { "type": "string", "description": "52-week high price" },
"wk52hidate": { "type": "string", "description": "Date of 52-week high" },
"wk52lo": { "type": "string", "description": "52-week low price" },
"wk52lodate": { "type": "string", "description": "Date of 52-week low" },
"xdate": { "type": "string", "description": "Option expiration date (YYYYMMDD)" },
"xday": { "type": "string", "description": "Option expiration day" },
"xmonth": { "type": "string", "description": "Option expiration month" },
"xyear": { "type": "string", "description": "Option expiration year" },
"yield": { "type": "string", "description": "Dividend yield" }
},
"additionalProperties": true
}