Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TauricResearch/TradingAgents
/ functions
Functions
1,242 in github.com/TauricResearch/TradingAgents
⨍
Functions
1,242
◇
Types & classes
88
↓ 1 callers
Function
colourLevel
(env: NodeJS.ProcessEnv)
src/cli/theme.ts:48
↓ 1 callers
Function
commitOnce
(state: TranscriptState, id: string)
src/cli/transcript-state.ts:528
↓ 1 callers
Function
commitStable
* Write the final head of the text streamed so far into the scrollback, where it stays as it is: * the live region keeps only what may still change,
src/cli/transcript-state.ts:522
↓ 1 callers
Function
compact
The fields worth the model's attention, without nulls; field_states says what is withheld and why.
src/tools/quote.ts:124
↓ 1 callers
Function
compact
( plan: { summarize: Message[]; keep: Message[] }, window: number, client: ModelClient, sampling: Samp
src/engine/compaction.ts:157
↓ 1 callers
Method
compactIfNeeded
* The history summarized when it and the question would take more than half the context window; * undefined when nothing was summarized. A summary
src/engine/engine.ts:529
↓ 1 callers
Function
compactionPlan
( history: readonly Message[], question: string, window: number, measured?: number, )
src/engine/compaction.ts:45
↓ 1 callers
Function
compactionPrompt
(transcript: string)
src/agents/prompts.ts:118
↓ 1 callers
Function
compatibleReplayKey
(server: { baseURL: string; model: string })
src/models/openai-compatible.ts:31
↓ 1 callers
Function
completed
* A batch with the instruments its source could not answer for asked of the sources after it. What * they answer joins the batch, named by its source
src/data/router.ts:173
↓ 1 callers
Function
composerHeight
(line: LineState, columns: number, rows: number)
src/cli/Composer.tsx:18
↓ 1 callers
Function
compsTool
(profiles: Profiles)
src/tools/valuation.ts:289
↓ 1 callers
Function
computeTools
()
src/tools/catalog.ts:90
↓ 1 callers
Function
connect
(provider: ProviderId)
src/cli/setup/setup-flows.ts:432
↓ 1 callers
Function
continueFrom
(after: string | undefined, skip: number)
src/tools/filings.ts:158
↓ 1 callers
Function
control
(char: string)
src/cli/line-editor.ts:40
↓ 1 callers
Function
copyText
( text: string, { env = process.env, platform = process.platform, write, run = ran, }: {
src/cli/clipboard.ts:68
↓ 1 callers
Method
corporateActions
(symbol: string, call: Call = {})
src/data/tauric/client.ts:183
↓ 1 callers
Function
corporateActionsTool
(actions: CorporateActions)
src/tools/corporate-actions.ts:29
↓ 1 callers
Function
correlate
( series: readonly Series[], of: "returns" | "levels", )
src/compute/correlation.ts:24
↓ 1 callers
Function
correlationTool
()
src/tools/correlation.ts:40
↓ 1 callers
Function
createEngine
(settings: EngineSettings)
src/engine/factory.ts:134
↓ 1 callers
Function
credentials
(provider: ProviderId)
src/cli/setup/setup-flows.ts:330
↓ 1 callers
Function
crossingsOf
( dates: readonly string[], a: Values | readonly number[], b: Values | readonly number[] | number, fro
src/compute/indicators.ts:367
↓ 1 callers
Method
cryptoHistory
(pair: string, query: Query<"get_crypto_history">, call: Call = {})
src/data/tauric/client.ts:118
↓ 1 callers
Method
cryptoQuote
(pair: string, call: Call = {})
src/data/tauric/client.ts:114
↓ 1 callers
Function
cut
`text` within `width` cells, cut between characters as people see them, "…" where it was cut.
src/cli/preview-rows.ts:76
↓ 1 callers
Function
cutTornTail
Cut everything after the last newline; returns how many bytes were cut.
src/store/log.ts:136
↓ 1 callers
Function
daily
(symbol: string, window: { from: string; to: string }, signal?: AbortSignal)
src/data/yahoo/provider.ts:108
↓ 1 callers
Function
daily
(key: string, window: { from: string; to: string }, signal?: AbortSignal)
src/data/tauric/provider.ts:50
↓ 1 callers
Method
daily
Daily bars of completed sessions from `from` to `to`, both inclusive, of any instrument with bars.
src/data/capabilities.ts:148
↓ 1 callers
Method
dailyPair
Two listings' bars over one window from one provider, for comparisons that must not mix sources.
src/data/capabilities.ts:165
↓ 1 callers
Function
dataFailure
What the model should understand from a data failure: never an outage passed off as "no data".
src/tools/registry.ts:318
↓ 1 callers
Function
dataProviders
( settings: Pick<EngineSettings, "tauricKey" | "fetch">, clock: Clock = () => new Date(), )
src/engine/factory.ts:261
↓ 1 callers
Function
dataToolNames
()
src/tools/catalog.ts:80
↓ 1 callers
Function
dataTools
(data: Capabilities, clock: Clock)
src/tools/catalog.ts:85
↓ 1 callers
Function
dateOf
The day a quote is of: its session's, or for one quoted around the clock (FX, crypto), its time's.
src/tools/quote.ts:107
↓ 1 callers
Function
dates
(list: readonly string[])
src/tools/technicals.ts:17
↓ 1 callers
Function
datesAsPeopleSayThem
* A label's dates as the transcript writes them everywhere (preview.ts): "Nov 23", with the year when it is not * `year`'s; two side by side (a call'
src/tools/registry.ts:402
↓ 1 callers
Function
days
(from: string, to: string)
src/compute/risk.ts:337
↓ 1 callers
Function
dcfOf
(inputs: DcfInputs)
src/compute/valuation.ts:81
↓ 1 callers
Function
dcfTool
()
src/tools/valuation.ts:43
↓ 1 callers
Function
defaultClient
(fetchImpl: typeof globalThis.fetch = fetch)
src/data/yahoo/provider.ts:175
↓ 1 callers
Function
defaultModel
(usable: readonly ProviderId[])
src/models/model-default.ts:28
↓ 1 callers
Function
deleteCommand
(id: string | undefined, yes: boolean, paths: Paths)
src/cli/subcommands.ts:107
↓ 1 callers
Function
describe
(meta: Meta)
src/tools/macro.ts:31
↓ 1 callers
Function
describe
(decision: Decision, outcome: Outcome | undefined)
src/engine/memory.ts:486
↓ 1 callers
Function
doing
(agent: (typeof agents)[number])
src/cli/Transcript.tsx:806
↓ 1 callers
Function
downloadTo
Write the download to a new file at `path` (executable) and give its SHA-256.
src/cli/self-update.ts:215
↓ 1 callers
Method
drain
(target: number)
src/engine/sync.ts:115
↓ 1 callers
Function
draw
(list: readonly Part[], x: number, w: number, color: string)
src/cli/report/pdf.ts:227
↓ 1 callers
Function
drawdown
The deepest fall from a running peak (a negative fraction), and the first close back at or above that peak.
src/compute/risk.ts:306
↓ 1 callers
Function
drift
(where: string, validate: ValidateFunction)
src/data/tauric/transport.ts:293
↓ 1 callers
Function
dropped
Whether an error or one of its causes is the connection dropping (fetch's "terminated", a reset socket).
src/models/ai-sdk.ts:450
↓ 1 callers
Function
due
Whether to renew: under five minutes left and OpenAI accepts a renewal by now, or already expired.
src/models/chatgpt-auth.ts:603
↓ 1 callers
Function
duration
A length of time as people read it: "41s", "8m 41s", "1h 2m".
src/contracts/messages.ts:845
↓ 1 callers
Function
earlierDate
(a: string | undefined, b: string | undefined)
src/contracts/dates.ts:49
↓ 1 callers
Function
editorRows
(prompt: string, state: LineState, columns: number, maxRows: number)
src/cli/line-editor.ts:172
↓ 1 callers
Function
encoded
(value: number)
src/cli/theme.ts:200
↓ 1 callers
Function
end
( status: AgentOutcome["status"], answer: string, error?: { kind: ErrorKind; message: string },
src/agents/loop.ts:138
↓ 1 callers
Function
endTurn
(state: TranscriptState, id: string, ts: string, end?: BlockBody)
src/cli/transcript-state.ts:627
↓ 1 callers
Method
ended
A turn has ended: a model switched to while it ran takes over now.
src/engine/session.ts:328
↓ 1 callers
Function
envName
(name: string)
src/config/env.ts:10
↓ 1 callers
Function
envWins
(name: HostedProvider)
src/cli/setup/setup-flows.ts:375
↓ 1 callers
Method
equityFinancials
( query: Query<"list_equity_financials">, call: Call = {}, )
src/data/tauric/client.ts:176
↓ 1 callers
Function
estimateTokens
(chars: number, maxOutputTokens: number, last?: Measured)
src/agents/budget.ts:32
↓ 1 callers
Function
estimatesTool
(profiles: Profiles)
src/tools/company.ts:142
↓ 1 callers
Function
evaluate
( expression: string, values: Readonly<Record<string, Value>>, )
src/compute/expression.ts:89
↓ 1 callers
Function
evidenceRows
A record as session rows: one, with its payload, when it fits a line; else its payload split across lines.
src/tools/evidence-store.ts:183
↓ 1 callers
Function
evidenceTool
(tools: readonly Tool[] = [])
src/tools/evidence.ts:27
↓ 1 callers
Method
execute
* Run one call of a tool from `allowed` (the tools the model was offered). Never throws: every * failure becomes an outcome the model can read. A c
src/tools/registry.ts:117
↓ 1 callers
Function
exportFlow
* Bare `/export`: what to save (the report, the transcript, or both), then where, the working directory's * file offered; Esc on the path goes back t
src/cli/commands.ts:298
↓ 1 callers
Function
faceFor
The face a whole string can be set in: the mono face when the text face lacks any of it.
src/cli/report/pdf.ts:131
↓ 1 callers
Function
faced
`text` in `face`, split where the text face lacks a character: those stretches are set in the mono face.
src/cli/report/pdf.ts:118
↓ 1 callers
Function
fact
A fact as the profile states it: a fraction as a percent with the fraction its data holds beside it.
src/tools/company.ts:55
↓ 1 callers
Function
fact
(name: string)
src/tools/valuation.ts:101
↓ 1 callers
Function
factsOf
(dates: readonly string[], values: Values, from: number)
src/compute/indicators.ts:321
↓ 1 callers
Function
factsText
(facts: Facts)
src/tools/indicators.ts:206
↓ 1 callers
Function
fail
(text)
scripts/npm/launcher.js:14
↓ 1 callers
Function
failureFields
* The status, code and type an SDK error carries: its own fields, else its body, where the error may be * at the top, under `error`, or in a failed r
src/models/ai-sdk.ts:300
↓ 1 callers
Function
failureOf
The `failure` an error or one of its causes carries, if any.
src/models/ai-sdk.ts:464
↓ 1 callers
Function
fellBack
(failed: readonly { source: string; error: DataError }[], source: string)
src/data/router.ts:242
↓ 1 callers
Function
fetching
(fetch: typeof globalThis.fetch | undefined)
src/models/hosted.ts:160
↓ 1 callers
Function
field
(key: string)
src/agents/skill-file.ts:54
↓ 1 callers
Function
fieldShown
(state: FieldState)
src/cli/form/field-state.ts:41
↓ 1 callers
Function
figures
(point: Point)
src/tools/optimize.ts:87
↓ 1 callers
Method
filingSection
( path: { symbol: string; accession: string; section: string }, query: Query<"get_security_filing_sect
src/data/tauric/client.ts:234
↓ 1 callers
Function
filingSectionTool
(filings: Filings)
src/tools/filings.ts:167
↓ 1 callers
Method
filings
( symbol: string, query: Query<"list_security_filings"> = {}, call: Call = {}, )
src/data/tauric/client.ts:214
↓ 1 callers
Function
filingsTool
(filings: Filings)
src/tools/filings.ts:48
↓ 1 callers
Method
financials
* Every company of a sector with its value of one statement line for one fiscal year, read page by * page up to `maxPages`, all as of one instant;
src/data/capabilities.ts:615
↓ 1 callers
Function
findInstrumentTool
(instruments: Instruments)
src/tools/instruments.ts:35
↓ 1 callers
Function
finishReason
(reason: string)
src/models/ai-sdk.ts:390
↓ 1 callers
Function
firstLine
(text: string)
src/engine/delegation.ts:522
↓ 1 callers
Function
firstRun
(ui: FormUI, facts: SetupFacts, actions: SetupActions)
src/cli/setup/setup-flows.ts:321
↓ 1 callers
Function
firstRunSetup
The first run's setup, step by step on this terminal; false when it was left before the end.
src/cli/main.tsx:433
↓ 1 callers
Function
fiscalLabel
(periodEnd: string, years: readonly FiscalYear[])
src/tools/fiscal.ts:60
↓ 1 callers
Function
fiscalQuarter
( periodEnd: string, years: readonly FiscalYear[], )
src/tools/fiscal.ts:39
↓ 1 callers
Function
fitFields
(fields: readonly Field[], width: number)
src/cli/rows.ts:53
↓ 1 callers
Function
fitReasoning
(provider: string, id: string, level: ReasoningLevel)
src/models/catalog.ts:132
← previous
next →
501–600 of 1,242, ranked by callers