StockDetail
This table contains a ticker level summary of some earnings related information. This information is also available in other records but is collected here for convenience.
METADATA
| Attribute | Value |
|---|---|
| Topic | 3225-market-statistics |
| MLink Token | GlobalEarnings |
| Product | SRAnalytics |
| accessType | SELECT |
| MLink Endpoint | MLink-Live |
Table Definition
| Field | Type | Key | Default Value | Comment |
|---|---|---|---|---|
| ticker_at | enum - AssetType | PRI | 'None' | |
| ticker_ts | enum - TickerSrc | PRI | 'None' | |
| ticker_tk | VARCHAR(12) | PRI | '' | |
| iEMove | FLOAT | 0 | implied earnings move from LiveSurfaceTermeMove | |
| hEMove | FLOAT | 0 | average historical trail 8 quarter earnings move from LiveSurfaceTermeMoveHist | |
| nextEarnDays | INT | 0 | estimated days to next earnings event resets to next event immediately after earnings passes | |
| nearEarnDays | INT | 0 | estimated days to next earnings event resets to next event 2 days after the most recent event has passed | |
| nextEarnTime | VARCHAR(6) | '' | estimated time of day of next earnings event | |
| nextEarnDate | DATE | '1900-01-01' | estimated next earnings date note that implied adjustements to this day are available in LiveSurfaceTerm | |
| isNextEarnDateConfirmed | enum - YesNo | 'None' | next date has been confirmed usually by the company | |
| nextDDivAmt | FLOAT | 0 | next dividend payment amount | |
| nextDDivDays | INT | 0 | next dividend payment date | |
| numOptions | INT | 0 | number of listed options on this underlier if any | |
| timestamp | DATETIME(6) | '1900-01-01 00:00:00.000000' |
PRIMARY KEY DEFINITION (Unique)
| Field | Sequence |
|---|---|
| ticker_tk | 1 |
| ticker_at | 2 |
| ticker_ts | 3 |
SELECT TABLE EXAMPLE QUERY
SELECT *
FROM `SRAnalytics`.`MsgStockDetail`
WHERE
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY','RATE') */
`ticker_at` = 'None'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','SCE','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFEC','ICEFEF','CEQT','TSX','TMX') */
`ticker_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`ticker_tk` = 'Example_ticker_tk';
Doc Columns Query
SELECT * FROM SRAnalytics.doccolumns WHERE TABLE_NAME='StockDetail' ORDER BY ordinal_position ASC;