EarningsCall Transcripts & Calendar: Shows a company's earnings call transcripts and the daily earnings calendar from EarningsCall.biz in a single panel view.
| 1 | // What the orchestrator is told while the earnings calls view is focused: the two things it shows, |
| 2 | // how state drives each, and what output holds. |
| 3 | |
| 4 | export const CALLS_INSTRUCTIONS = [ |
| 5 | 'Earnings calls from EarningsCall.biz in one panel: a company’s call transcript, or the calendar of calls held on a day. A calendar row the user clicks opens that call in the same panel.', |
| 6 | 'state.symbol is the ticker. With a symbol the panel shows that company’s call: state.year and state.quarter pick it (the company’s fiscal year and quarter, as output.calls lists them), both or neither; neither is the latest call. To show another company set the whole state, { symbol: "MSFT" }, so the last company’s quarter does not carry over. With no symbol it shows the calendar for state.date (YYYY-MM-DD, today when left out).', |
| 7 | 'state.find highlights a word or phrase in the transcript and counts it. Set it to point the user at where something is said; output.matches and output.snippets (paragraph number and text) say what was found.', |
| 8 | 'output for a call: company, year, quarter, date, the recent calls, paragraphs, qaParagraph (where the questions start), find, matches, snippets, error. For the calendar: date, count, events, error. The transcript itself is not in output: it is the panel\'s text, read with get panels/<id>/text a part at a time, its paragraphs under the numbers the view shows. Quote it from there.', |
| 9 | 'Transcripts are plain on this plan: machine transcribed, no speaker names, paragraph breaks inferred. Name a speaker only when the text itself says who is talking. A call not yet published has no transcript.', |
| 10 | ].join('\n') |