Ticker Info
The Ticker Info gRPC service provides basic fundamental data for specified tickers. This API requires that the customer have an active ticker info subscription and a JWT to be included with the request.
tip
For an introduction to gRPC, visit: https://grpc.io/docs/what-is-grpc/introduction/
🔗URLs​
ticker-info.quodd.com
🔒Authentication​
Obtain a JWT token and add it to MetaData as follows:
{
"Authorization": "Bearer YOUR_TOKEN_HERE"
}
💻Proto File​
Download proto file with code examples 👨‍💻.
📄Info.proto​
TickerInfoService​
Method Name | Request Type | Response Type |
---|---|---|
GetTickerInfo | TickerInfoRequest | TickerInfoResponse |
TickerInfoRequest​
Field | Type | Label | Description |
---|---|---|---|
tickers | string | repeated | list of tickers |
fields | string | repeated | list of fields that should be returned |
TickerInfoResponse​
Field | Type |
---|---|
data | TickerInfoMessage |
errors | ErrorInfoMessage |
TickerInfoMessage​
Field | Type | Description |
---|---|---|
ticker | string | The ticker symbol. |
name | string | Name of the security |
market_cap | uint64 | Total dollar market value of a company's outstanding shares. |
price_to_earnings | double | Ratio for valuing a company that measures its current share price relative to its per-share earnings. |
average_thirty_day_volume | uint64 | Average number of shares traded over 30 day period. |
beta | double | Measure of the volatility of a security compared to a market index. |
eps_adj | double | Amount of a company's profit or loss for a reporting period that is available to the shares of its common stock that are outstanding during the reporting period. Adjusted for stock splits. |
shares_outstanding_weighted_adj | uint64 | Company's outstanding shares quantity, that incorporates any changes in the amount of outstanding shares over a reporting period. Adjusted for stock splits. |
dividend | double | The dividend paid on a given trading day, adjusted historically for stock splits. |
dividend_yield | double | Financial ratio that indicates how much a company pays out in dividends each year relative to its share price. |
dividend_ex_date | string | The trading date on (and after) which the dividend is not owed to a new buyer of the stock. |
description | string | Description details. |
sector | string | Sector details. |
ErrorInfoMessage​
Field | Type | Description |
---|---|---|
ticker | string | The ticker symbol |
error | string | Error |
message | string | Details of the error |
🚀Quick start​
gRPCurl​
Command-line tool for interacting with gRPC servers
Example Request:
grpcurl -H 'authorization: Bearer TOKEN' -proto 'info.proto' -d '{ "tickers": [ "MSFT","TSLA","ROKU" ], "fields":["name","average_thirty_day_volume","market_cap","price_to_earnings"] }' ticker-info.quodd.com:443 info.TickerInfoService/GetTickerInfo