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
polymarketProvider
(client: PolymarketClient)
src/data/polymarket/provider.ts:7
↓ 1 callers
Function
portfolioRiskOf
( holdings: readonly Holding[], options: { benchmark?: PriceSeries; riskFreePct?: number } = {}, )
src/compute/portfolio.ts:90
↓ 1 callers
Function
portfolioRiskTool
()
src/tools/portfolio.ts:12
↓ 1 callers
Function
position
(from: string | undefined)
src/tools/filings.ts:162
↓ 1 callers
Method
postfix
()
src/compute/expression.ts:182
↓ 1 callers
Method
power
()
src/compute/expression.ts:175
↓ 1 callers
Function
predictionMarketsTool
(markets: PredictionMarkets, now: Clock = systemClock)
src/tools/prediction-markets.ts:42
↓ 1 callers
Function
previewOf
( payload: unknown, { specs = [], text = "", summary = "", year, }: { specs?: readonly P
src/tools/preview.ts:139
↓ 1 callers
Function
previewed
A call's preview under its item, every row of it, in columns as the transcript sets them.
src/cli/transcript-export.ts:35
↓ 1 callers
Function
priceHistoryTool
(history: PriceHistory, clock: Clock)
src/tools/price-history.ts:76
↓ 1 callers
Function
priced
(bar: Close | undefined)
src/engine/settlement.ts:84
↓ 1 callers
Method
primary
()
src/compute/expression.ts:205
↓ 1 callers
Function
printableText
Text with no control character in it (a key such as Tab or Delete is not text to filter by).
src/cli/form/picker-state.ts:146
↓ 1 callers
Function
profileTool
(profiles: Profiles)
src/tools/company.ts:61
↓ 1 callers
Function
projectCapped
(v: readonly number[], cap: number)
src/compute/optimize.ts:79
↓ 1 callers
Function
projected
(inputs: DcfInputs)
src/compute/valuation.ts:142
↓ 1 callers
Function
providerOptions
* Every provider, in the order offered: those ready to use marked, and for `/model` the current one and * those to connect ("Connect"); a first setup
src/cli/setup/setup-flows.ts:100
↓ 1 callers
Function
quantile
* The q-quantile (q from 0 to 1) by linear interpolation between the sorted values: at position * q * (n - 1), counting from 0. This is numpy's defau
src/compute/expression.ts:356
↓ 1 callers
Function
questionKey
( state: QuestionState, { input, key }: { input: string; key: QuestionKey }, )
src/cli/form/question-state.ts:44
↓ 1 callers
Function
questionPaste
(state: QuestionState, text: string)
src/cli/form/question-state.ts:78
↓ 1 callers
Function
questionResult
(ended: Ended)
src/cli/form/form-step.ts:115
↓ 1 callers
Function
queueLines
The queue's rows above the input, at most `rows`: a pause line first, then the questions, then a count.
src/cli/ChatApp.tsx:104
↓ 1 callers
Function
quote
(raw: YahooQuote)
src/data/yahoo/provider.ts:273
↓ 1 callers
Function
quote
(answer: Answer<"quote">)
src/data/tauric/provider.ts:570
↓ 1 callers
Function
quoteColons
(frontmatter: string)
src/agents/skill-file.ts:126
↓ 1 callers
Function
quoteTool
(quotes: Quotes)
src/tools/quote.ts:40
↓ 1 callers
Method
quotes
Up to 50 instruments' quotes in one request, each key's quote or why it has none, in the order sent.
src/data/tauric/client.ts:53
↓ 1 callers
Function
range
(from: number, length: number)
src/cli/match.ts:17
↓ 1 callers
Function
rangeBytes
The length a closed byte range asks for, which bounds its answer; undefined for anything else.
src/data/tauric/transport.ts:36
↓ 1 callers
Function
rates
Why a discount and terminal growth rate pair cannot be used, or nothing when it can.
src/compute/valuation.ts:135
↓ 1 callers
Function
reachCap
(reached: Cap)
src/agents/loop.ts:168
↓ 1 callers
Method
readContent
( sessionId: string, start: number, end: number | undefined, signal: AbortSignal | undefined,
src/data/tauric/applications.ts:78
↓ 1 callers
Function
readCredentials
( path: string, problems: string[], )
src/config/credentials.ts:30
↓ 1 callers
Function
readKept
* The payloads kept on this computer for the restored records that stay here, read into them; one that * cannot be read leaves its record with its pr
src/engine/session.ts:657
↓ 1 callers
Function
readPiped
(input: NodeJS.ReadStream)
src/cli/secret.ts:108
↓ 1 callers
Function
readWhole
The account's `size` bytes of session `id`, in ranges of at most `SYNC.chunkBytes`, each as long as asked.
src/engine/restore.ts:130
↓ 1 callers
Function
readYaml
* The frontmatter as a mapping. Frontmatter that YAML refuses only because a value holds an unquoted * colon (`description: Use it: when ...`), as ha
src/agents/skill-file.ts:109
↓ 1 callers
Function
reasoning
(model: string)
src/cli/setup/setup-flows.ts:220
↓ 1 callers
Function
reasoningOptions
The levels to choose from: the provider's default first, then those the model offers.
src/cli/setup/setup-flows.ts:158
↓ 1 callers
Function
reasons
(said: string)
src/data/router.ts:182
↓ 1 callers
Method
recallText
The recall answer for `symbol` at `cutoff`, filtered before the newest entries are chosen.
src/engine/memory.ts:226
↓ 1 callers
Function
reconnect
()
src/cli/setup/switching.ts:28
↓ 1 callers
Method
recorded
* A tool's answer as an outcome: its payload checked against the tool's output schema, recorded * (data and compute tools, when the run records), a
src/tools/registry.ts:205
↓ 1 callers
Function
records
Each row as `header: value` lines (a long value wrapped under itself), a dim rule between rows.
src/cli/markdown.ts:389
↓ 1 callers
Function
recover
(attempt: Attempt, tried: Tried, allowed: Allowed)
src/agents/recovery.ts:44
↓ 1 callers
Function
reduceTranscript
( state: TranscriptState, action: EventEnvelope | LocalAction, )
src/cli/transcript-state.ts:650
↓ 1 callers
Function
referenceRates
A currency pair's reference rates: values a central bank sets each day, not market prices.
src/tools/price-history.ts:236
↓ 1 callers
Function
referenceRates
(answer: Answer<"fxReferenceRates">)
src/data/tauric/provider.ts:524
↓ 1 callers
Method
referenceRates
A currency pair's daily reference rates from `from` to `to`, both inclusive.
src/data/capabilities.ts:150
↓ 1 callers
Function
refused
(reason: string)
src/cli/self-update.ts:103
↓ 1 callers
Function
releaseAsset
( platform: NodeJS.Platform = process.platform, arch: string = process.arch, )
src/cli/updates.ts:34
↓ 1 callers
Function
releaseNotes
(text: string, version: string)
scripts/changelog-source.ts:39
↓ 1 callers
Function
releaseOf
(release: unknown, asset: string)
src/cli/updates.ts:79
↓ 1 callers
Function
remember
Written whole, in one step.
src/cli/whats-new.ts:74
↓ 1 callers
Method
remoteStart
* Where uploading starts in this run: a session Tauric does not have is created at 0; one it * has is read, never changed, and must hold this file'
src/engine/sync.ts:220
↓ 1 callers
Function
renamed
Field states with some fields renamed.
src/data/tauric/provider.ts:621
↓ 1 callers
Function
render
One JSON line per message part: what each says is quoted, so no text can pose as another role.
src/engine/compaction.ts:128
↓ 1 callers
Function
renderMarkdown
( source: string, style: ChalkInstance = chalk, { width = Number.POSITIVE_INFINITY, unicode = true }: Ma
src/cli/markdown.ts:31
↓ 1 callers
Method
renew
(rejected: string | undefined)
src/models/chatgpt-auth.ts:131
↓ 1 callers
Function
reopen
(head: string)
src/cli/stream-split.ts:116
↓ 1 callers
Method
replaceWith
The session `open` gives, in place of this one, which is closed once the next is up.
src/cli/session-host.ts:21
↓ 1 callers
Method
replayKey
Who the replay data this engine's model attaches may be sent back to, if anyone after the turn.
src/engine/engine.ts:185
↓ 1 callers
Function
replayOf
(metadata: ProviderMetadata | undefined)
src/models/ai-sdk.ts:481
↓ 1 callers
Function
reportParts
(source: string)
src/cli/report/layout.ts:31
↓ 1 callers
Function
reportPdf
(report: Report)
src/cli/report/pdf.ts:136
↓ 1 callers
Function
researches
(name: string)
src/cli/transcript-state.ts:197
↓ 1 callers
Function
resetTime
When a spent pool resets, from the error's `resets_at`, as "2026-11-24 00:00 UTC".
src/models/hosted.ts:122
↓ 1 callers
Function
resolveContextWindow
( model: ModelRoute, deps: ProviderDeps = {}, )
src/engine/factory.ts:77
↓ 1 callers
Function
responseValidator
( document: Document, method: string, path: string, status: number, )
src/data/tauric/transport.ts:269
↓ 1 callers
Function
restoreEvidence
( rows: readonly EvidenceRow[], committed: ReadonlySet<string>, )
src/tools/evidence-store.ts:210
↓ 1 callers
Function
restored
* The conversation and counters the commits add up to, and the events of the last turns. Data a * provider attached for itself is kept only in what w
src/engine/session.ts:693
↓ 1 callers
Function
resumed
The state once `run` has gone on after a retry: what said it was being asked for again is gone.
src/cli/transcript-state.ts:200
↓ 1 callers
Function
returnsRiskTool
()
src/tools/risk.ts:29
↓ 1 callers
Function
rightColumns
The columns written as numbers in every record that has them: right-aligned.
src/tools/preview.ts:238
↓ 1 callers
Function
riskParity
(sigma: readonly (readonly number[])[])
src/compute/optimize.ts:430
↓ 1 callers
Function
roc
* The rate of change: the percent change of the close over n sessions, 100 (close / close n sessions * earlier - 1), as TA-Lib's ROC.
src/compute/indicators.ts:159
↓ 1 callers
Function
rolesOf
(theme: Theme)
src/cli/theme.ts:136
↓ 1 callers
Function
route
(providers: Providers, { keyFix }: { keyFix?: KeyFix } = {})
src/data/router.ts:75
↓ 1 callers
Function
row
(cellsLines: string[][])
src/cli/markdown.ts:340
↓ 1 callers
Function
rowsOf
`text` in rows at most `width` wide: broken between words, and inside a word only one wider than a row.
src/cli/output.ts:32
↓ 1 callers
Function
rsi
* The relative strength index (Wilder, New Concepts in Technical Trading Systems, 1978): 100 times the * average gain over the average gain plus the
src/compute/indicators.ts:97
↓ 1 callers
Function
rule
(corners: string, horizontal = glyph.h)
src/cli/markdown.ts:334
↓ 1 callers
Function
run
({ expression, values })
src/tools/calc.ts:39
↓ 1 callers
Function
run
( path: string, value: unknown, target: { steps?: number; tokens?: number; timeMs?: number }, )
src/config/limits.ts:52
↓ 1 callers
Function
runCalls
* Run a step's calls and return their results in the order asked: all parallel-safe calls a few at * a time, otherwise one after another. Calls beyon
src/agents/loop.ts:512
↓ 1 callers
Function
runHeadless
( engine: { ask(question: string, options?: AskOptions): Turn }, question: string, { out, err, format, s
src/headless/run.ts:27
↓ 1 callers
Function
runOne
(call: ToolCall, index: number)
src/agents/loop.ts:538
↓ 1 callers
Function
runningDuration
(ms: number)
src/cli/rows.ts:23
↓ 1 callers
Function
runningLine
* A running row: its moving mark in the gutter (`indent` cells in), its name (and its label after it, when * `labelled`), its other fields, and `meta
src/cli/Transcript.tsx:414
↓ 1 callers
Function
said
(line: string)
src/cli/setup/SetupSteps.tsx:110
↓ 1 callers
Function
sameRoute
(a: RouteName | undefined, b: RouteName)
src/cli/main.tsx:428
↓ 1 callers
Function
saveHistory
(entries: readonly string[], paths: Paths)
src/config/history.ts:39
↓ 1 callers
Function
saveModel
(choice)
src/cli/setup/switching.ts:32
↓ 1 callers
Function
scalar
(value: unknown)
src/tools/render.ts:76
↓ 1 callers
Function
scaled
(value: number | null | undefined)
src/data/yahoo/provider.ts:316
↓ 1 callers
Function
screenOf
(input: { current: readonly ScreenRow[]; prior?: readonly ScreenRow[]; rankBy: "value" | "change"; ord
src/compute/screen.ts:64
↓ 1 callers
Function
screenTool
(sections: CrossSections, clock: Clock = systemClock)
src/tools/screen.ts:26
↓ 1 callers
Function
scrub
(text: string)
src/models/scrub.ts:15
↓ 1 callers
Method
scrub
(text: string)
src/data/tauric/transport.ts:200
↓ 1 callers
Method
searchNews
(query: Query<"search_news">, call: Call = {})
src/data/tauric/client.ts:258
← previous
next →
801–900 of 1,242, ranked by callers