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
↓ 2 callers
Function
userFiles
The user's files of one kind under `root`, parsed, in path order; a missing directory has none.
src/agents/catalog.ts:146
↓ 2 callers
Method
verify
Tauric's bytes from `from` up to `to` must equal the file's.
src/engine/sync.ts:245
↓ 2 callers
Function
weight
(value: number)
src/tools/optimize.ts:18
↓ 2 callers
Function
what
(call: (typeof block.calls)[number])
src/cli/Transcript.tsx:241
↓ 2 callers
Function
windowOf
The observation window as people say it: 5 trading sessions are a week.
src/engine/memory.ts:477
↓ 2 callers
Function
windowStarts
Windows ending at the last date: the first day each starts on (calendar months, ytd from January 1).
src/compute/risk.ts:83
↓ 2 callers
Function
withMore
(preview: Preview, total: number)
src/tools/preview.ts:233
↓ 2 callers
Function
withQuestion
(entries: readonly string[], question: string)
src/config/history.ts:34
↓ 2 callers
Function
within
Whether `ranges` (sorted, inclusive) hold `point`.
src/cli/report/pdf.ts:60
↓ 2 callers
Function
writersOf
(tools: readonly Tool[])
src/tools/evidence.ts:13
↓ 1 callers
Function
about
Which instruments an item is about, when the article says.
src/tools/news.ts:261
↓ 1 callers
Method
account
The account: its tier, pools and storage.
src/data/tauric/applications.ts:38
↓ 1 callers
Function
addToHistory
(question: string, paths: Paths)
src/config/history.ts:48
↓ 1 callers
Function
adx
* The directional movement system (Wilder, 1978): +DI and -DI, the smoothed upward and downward moves * of the range as a percent of the smoothed tru
src/compute/indicators.ts:265
↓ 1 callers
Function
after
A final answer from a later provider (no data, an invalid request) after earlier ones failed.
src/data/router.ts:247
↓ 1 callers
Function
after
(fields: readonly string[])
src/cli/rows.ts:123
↓ 1 callers
Function
agentColour
(theme: Theme, name: string)
src/cli/theme.ts:188
↓ 1 callers
Function
agentEntries
* The live rows of the sub-agents running: one alone is a row of its own, its newest call under it; several * are one group under a header ("Running
src/cli/Transcript.tsx:796
↓ 1 callers
Function
agentHue
(name: string)
src/contracts/agent-hues.ts:29
↓ 1 callers
Function
agentLimitProblems
(limits: Limits, catalog: Catalog = builtinCatalog())
src/engine/factory.ts:98
↓ 1 callers
Method
agentList
The agents the main agent's prompt lists.
src/engine/delegation.ts:131
↓ 1 callers
Method
agentTool
()
src/engine/delegation.ts:148
↓ 1 callers
Function
ago
How long ago `then` was, as a list shows it: "just now", "5m ago", "2h ago", "3d ago", else the date.
src/cli/ChatApp.tsx:67
↓ 1 callers
Function
alive
(pid: number)
src/cli/self-update.ts:178
↓ 1 callers
Function
allocation
What the weights give under the estimates, annualized by `perYear`.
src/compute/optimize.ts:454
↓ 1 callers
Method
analyst
Analysts' consensus: rating, price targets, the distribution of ratings, EPS estimates.
src/data/capabilities.ts:447
↓ 1 callers
Function
answerOf
* The run's answer: what it wrote after its last research call (data, compute or an agent), in order. Text * written beside bookkeeping calls only (a
src/agents/loop.ts:354
↓ 1 callers
Function
answerQuestions
( ui: FormUI, questions: readonly Question[], )
src/cli/questions.ts:14
↓ 1 callers
Function
answeredOrThrown
( fetchImpl: typeof globalThis.fetch, timeoutMs: number = REQUEST_MS.yahoo, )
src/data/yahoo/provider.ts:189
↓ 1 callers
Method
append
* Append whole JSONL lines at `offset`, the session's current size; returns the new size. Sending * the same lines at the same offset again is safe
src/data/tauric/applications.ts:136
↓ 1 callers
Method
appendLines
( sessionId: string, offset: number, lines: string, signal: AbortSignal | undefined, )
src/data/tauric/applications.ts:145
↓ 1 callers
Method
article
One article by its id.
src/data/capabilities.ts:386
↓ 1 callers
Function
articleTool
(news: News)
src/tools/news.ts:189
↓ 1 callers
Method
articles
Articles, newest first: market-wide, about one listing, matching a query, narrowed by the filters.
src/data/capabilities.ts:370
↓ 1 callers
Function
asReference
(value: unknown)
src/tools/references.ts:44
↓ 1 callers
Method
ask
(question: string, { signal, mode = "auto" }: AskOptions = {})
src/engine/engine.ts:189
↓ 1 callers
Method
ask
(question: string, options?: AskOptions)
src/cli/session-host.ts:16
↓ 1 callers
Function
askSync
(ui: FormUI)
src/cli/setup/sync-question.ts:12
↓ 1 callers
Method
askTool
()
src/engine/delegation.ts:440
↓ 1 callers
Function
at
(point: { i: number; value: number })
src/compute/indicators.ts:330
↓ 1 callers
Function
atReturn
* The least-variance weights at a target return between the frontier's ends: lambda is bisected until * the two solutions bracketing the target hold
src/compute/optimize.ts:296
↓ 1 callers
Function
atr
* The average true range (Wilder, 1978): the true range smoothed with alpha 1 / n, seeded with the mean * of the first n true ranges (from the second
src/compute/indicators.ts:244
↓ 1 callers
Function
back
(months: number)
src/compute/risk.ts:85
↓ 1 callers
Function
backgroundIndex
The background's palette index from `COLORFGBG` ("fg;bg", or "fg;x;bg"): the last field, 0-255.
src/cli/theme.ts:57
↓ 1 callers
Function
bare
(address: string | undefined)
src/cli/setup/switching.ts:53
↓ 1 callers
Function
bars
(answer: YahooChart, { from, to }: { from: string; to: string }, now: Date)
src/data/yahoo/provider.ts:297
↓ 1 callers
Function
bars
Tauric's answer for the window asked: the bars in it and whether every session there is accounted for.
src/data/tauric/provider.ts:678
↓ 1 callers
Function
before
(day: Date)
src/engine/calendar.ts:15
↓ 1 callers
Function
before
Units in the code point before `cursor`: 0 at the start.
src/cli/line-editor.ts:152
↓ 1 callers
Function
betaTool
()
src/tools/risk.ts:91
↓ 1 callers
Function
blend
(channel: number)
src/cli/theme.ts:93
↓ 1 callers
Function
block
(token: Token, context: Context)
src/cli/markdown.ts:163
↓ 1 callers
Function
bollinger
* Bollinger bands (Bollinger, Bollinger on Bollinger Bands, 2001): the simple mean of the last n closes, * with bands k population standard deviation
src/compute/indicators.ts:203
↓ 1 callers
Function
bound
(definition: ProviderDefinition<R>, route: R)
src/models/providers.ts:143
↓ 1 callers
Function
bounded
The answer's text, refused past UPDATES.answerBytes.
src/cli/updates.ts:123
↓ 1 callers
Method
bounded
An answer read only up to `maxBytes`; a longer one is unavailable.
src/data/tauric/transport.ts:174
↓ 1 callers
Function
breakStale
* Remove the stale lock at `path` (holder `token`) while holding its breaker lock; any change and it * is left. Returns the breaker's path when a cra
src/store/lock.ts:97
↓ 1 callers
Function
briefWith
(brief: string, records: readonly string[])
src/agents/prompts.ts:89
↓ 1 callers
Function
build
One indicator's lines, crossings and definition, or why its periods do not fit it.
src/compute/indicators.ts:509
↓ 1 callers
Function
byDate
(series: readonly Series[])
src/compute/series.ts:40
↓ 1 callers
Function
byPosition
(series: readonly Series[])
src/compute/series.ts:54
↓ 1 callers
Function
calcTool
()
src/tools/calc.ts:12
↓ 1 callers
Function
calendar
* A security's calendar. With no next earnings date announced, Tauric leaves `earnings` null and marks it * temporarily unavailable (a date may come
src/data/tauric/provider.ts:510
↓ 1 callers
Method
calendar
The next stated earnings date (or the latest) with its estimates, and the latest dividend.
src/data/capabilities.ts:449
↓ 1 callers
Function
calendarContext
(now: Date)
src/engine/calendar.ts:22
↓ 1 callers
Function
call
( capability: Capability, chain: readonly Link[], method: string, args: unknown[], keyFix: KeyFix |
src/data/router.ts:108
↓ 1 callers
Method
canUsePlan
Whether the plan may be used: signed in, with plan usage approved.
src/models/chatgpt-auth.ts:92
↓ 1 callers
Function
candidatesOf
The listings an ambiguous symbol could mean, as the API names them (at most ten).
src/data/tauric/transport.ts:306
↓ 1 callers
Function
capReached
( caps: Caps, step: number, runTokens: number, turnTokens: number, elapsedMs: number, )
src/agents/loop.ts:378
↓ 1 callers
Function
capped
Each cell within `PREVIEW_CELL_CHARS`, cut between characters as people see them.
src/tools/preview.ts:159
↓ 1 callers
Method
capsFor
A sub-agent's caps: its own limits, and done in time for the main agent to write its answer.
src/engine/delegation.ts:363
↓ 1 callers
Function
carriesOut
(call: { kind?: ToolKind | undefined })
src/contracts/events.ts:26
↓ 1 callers
Function
catalogLimits
A catalog model's input and output limits.
src/models/providers.ts:45
↓ 1 callers
Function
cell
(value: unknown)
src/tools/render.ts:84
↓ 1 callers
Function
cell
(text: string, column: number, header: boolean)
src/cli/report/pdf.ts:201
↓ 1 callers
Function
cellLines
A cell's lines at `width`: its own breaks kept, each wrapped by words, a longer word cut.
src/cli/markdown.ts:377
↓ 1 callers
Function
cellText
`unit`: the kind of unit the record states its values in, when it does.
src/tools/preview.ts:252
↓ 1 callers
Function
cellText
A table cell as plain text: a table cell holds one line.
src/cli/report/layout.ts:159
↓ 1 callers
Function
cells
(row: Tokens.TableCell[])
src/cli/markdown.ts:257
↓ 1 callers
Function
chained
The capability's methods, each tried along the chain.
src/data/router.ts:99
↓ 1 callers
Function
changeOf
( row: ScreenRow, before: ScreenRow | undefined, group: string, )
src/compute/screen.ts:145
↓ 1 callers
Function
chatSessions
* `/new` and `/resume` over the session host; `moved` is told what each switched-to session runs on, and * `syncing` gives where the open session is
src/cli/interactive.tsx:276
↓ 1 callers
Function
chatgptClient
({ model, auth, fetch: fetchImpl = fetch, stallMs, reasoning, }: { model: string; auth: ChatGPTA
src/models/chatgpt.ts:28
↓ 1 callers
Function
checkCopy
A copy is whole lines that each parse, the first a session header with this id.
src/engine/restore.ts:150
↓ 1 callers
Function
checkForUpdate
({ source, current, statePath, now, signal, upgradeCommand, }: { source: UpdateSource; current
src/cli/updates.ts:138
↓ 1 callers
Function
checksumOf
(sums: string, name: string)
src/cli/self-update.ts:150
↓ 1 callers
Function
chooseFor
(resumeId?: string)
src/cli/main.tsx:309
↓ 1 callers
Function
citationsOf
( answer: string, get: (id: string) => EvidenceRecord | undefined, )
src/tools/evidence-store.ts:156
↓ 1 callers
Function
classify
(error: unknown, signal?: AbortSignal, first?: ProviderClassifier)
src/models/ai-sdk.ts:407
↓ 1 callers
Function
clip
A long field cut to a readable length, saying how much was left out.
src/tools/company.ts:461
↓ 1 callers
Function
clipboardTools
(platform: NodeJS.Platform, env: Environment)
src/cli/clipboard.ts:45
↓ 1 callers
Function
close
(line: Values, label: string)
src/compute/indicators.ts:540
↓ 1 callers
Method
close
* Wait for every sub-agent this turn started to finish (each stops soon once the turn's signal is * aborted), at most `ms`; after that nothing they
src/engine/delegation.ts:345
↓ 1 callers
Function
closeOf
* When a US session's regular trading ends, in milliseconds: 16:00 in New York, or 13:00 on the days * the exchange closes early (the day after Thank
src/engine/settlement.ts:133
↓ 1 callers
Method
closeTurn
Publish nothing more for `turn`: its outcome is being written.
src/tools/evidence-store.ts:99
↓ 1 callers
Function
closesEarly
(date: string)
src/engine/settlement.ts:145
↓ 1 callers
Function
closesFrom
Daily closes for settling decisions, a listing and its benchmark from one source; final only when it will not revise them.
src/engine/factory.ts:282
↓ 1 callers
Function
closesOf
(bars: DailyBars)
src/engine/factory.ts:286
↓ 1 callers
Function
closesRange
( effective: string, today: string, sessions = OBSERVATION_SESSIONS, )
src/engine/settlement.ts:119
↓ 1 callers
Function
collapsed
* What the scrollback keeps of a thought that ended: its first and last lines that are not blank, and how * many lines came between (the whole of it
src/cli/transcript-state.ts:466
← previous
next →
401–500 of 1,242, ranked by callers